Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in BabyDraco._transfer(address,address,uint256) (#992-1036):
External calls:
- swapAndLiquify(contractTokenBalance) (#1023)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1084-1091)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1070-1076)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1023)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1084-1091)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1035)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#948)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1117)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1126)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1137)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#864)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1118)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1128)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1138)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#866)
- _tokenTransfer(from,to,amount,takeFee) (#1035)
- _rTotal = _rTotal.sub(rFee) (#903)
- _tokenTransfer(from,to,amount,takeFee) (#1035)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#950)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#863)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1136)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1127)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#865)
Apply the check-effects-interactions pattern.
Additional information: link
BabyDraco.addLiquidity(uint256,uint256) (#1079-1092) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1084-1091)
Ensure that all the return values of the function calls are used.
Additional information: link
BabyDraco._approve(address,address,uint256).owner (#984) shadows:
- Ownable.owner() (#414-416) (function)
Rename the local variables that shadow another component.
Additional information: link
BabyDraco.setMaxTxPercent(uint256) (#888-892) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#889-891)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in BabyDraco.transferFrom(address,address,uint256) (#789-793):
External calls:
- _transfer(sender,recipient,amount) (#790)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1084-1091)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1070-1076)
External calls sending eth:
- _transfer(sender,recipient,amount) (#790)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1084-1091)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#791)
- _allowances[owner][spender] = amount (#988)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BabyDraco.transferFrom(address,address,uint256) (#789-793):
External calls:
- _transfer(sender,recipient,amount) (#790)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1084-1091)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1070-1076)
External calls sending eth:
- _transfer(sender,recipient,amount) (#790)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1084-1091)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#989)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#791)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#461-466) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#463)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#359-380) uses assembly
- INLINE ASM (#372-375)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#227-230) is never used and should be removed
Remove unused functions.
Additional information: link
BabyDraco._previousLiquidityFee (#711) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#359-380):
- (success,returndata) = target.call{value: weiValue}(data) (#363)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable BabyDraco._maxTxAmount (#719) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#239)" inContext (#233-242)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable BabyDraco._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#924) is too similar to BabyDraco._transferFromExcluded(address,address,uint256).tTransferAmount (#1135)
Prevent variables from having similar names.
Additional information: link
BabyDraco.slitherConstructorVariables() (#683-1153) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 500000 * 10 ** 6 * 10 ** 9 (#720)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BabyDraco.numTokensSellToAddToLiquidity (#720) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
mint(address,uint256) should be declared external:
- BabyDraco.mint(address,uint256) (#1146-1151)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts