Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in BabyKodi._taxedTransfer(address,address,uint256,bool,bool) (#780-816):
External calls:
- _swapContractToken() (#802)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#898-905)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#886-892)
- (tmpSuccess) = address(TeamWallet).call{gas: 30000,value: distributeBNB}() (#876)
External calls sending eth:
- _swapContractToken() (#802)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#898-905)
- (tmpSuccess) = address(TeamWallet).call{gas: 30000,value: distributeBNB}() (#876)
State variables written after the call(s):
- _removeToken(sender,amount) (#807)
- _balances[addr] = newAmount (#841)
- _balances[address(this)] += contractToken (#809)
- _addToken(recipient,taxedAmount) (#812)
- _balances[addr] = newAmount (#835)
Apply the check-effects-interactions pattern.
Additional information: link
BabyKodi._liquidityUnlockTime (#1013) is never initialized. It is used in:
- BabyKodi.getLiquidityReleaseTimeInSeconds() (#909-914)
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
BabyKodi._swapContractToken().tmpSuccess (#876) is written in both
(tmpSuccess) = address(TeamWallet).call{gas: 30000,value: distributeBNB}() (#876)
tmpSuccess = false (#877)
Fix or remove the writes.
Additional information: link
BabyKodi._swapContractToken() (#853-878) performs a multiplication on the result of a division:
-tokenToSwap = sellLimit / 5 (#856)
-tokenForLiquidity = (tokenToSwap * _liquidityTax) / totalTax (#862)
Consider ordering multiplication before division.
Additional information: link
BabyKodi.burnLiq() (#1017-1032) ignores return value by _pancakeRouter.removeLiquidityETHSupportingFeeOnTransferTokens(address(this),amount,0,0,address(this),block.timestamp) (#1022-1029)
Ensure that all the return values of the function calls are used.
Additional information: link
BabyKodi._approve(address,address,uint256).owner (#1079) shadows:
- Ownable.owner() (#198-200) (function)
Rename the local variables that shadow another component.
Additional information: link
BabyKodi.TeamUpdateLimits(uint256,uint256,uint256) (#985-993) should emit an event for:
- balanceLimit = newBalanceLimit (#990)
- sellLimit = newSellLimit (#991)
- buyLimit = newBuyLimit (#992)
Emit an event for critical parameter changes.
Additional information: link
BabyKodi.SetupLiquidityTokenAddress(address).liquidityTokenAddress (#1008) lacks a zero-check on :
- _liquidityTokenAddress = liquidityTokenAddress (#1009)
Check that the address is not zero.
Additional information: link
Reentrancy in BabyKodi.transferFrom(address,address,uint256) (#1087-1095):
External calls:
- _transfer(sender,recipient,amount) (#1088)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#898-905)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#886-892)
- (tmpSuccess) = address(TeamWallet).call{gas: 30000,value: distributeBNB}() (#876)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1088)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#898-905)
- (tmpSuccess) = address(TeamWallet).call{gas: 30000,value: distributeBNB}() (#876)
State variables written after the call(s):
- _approve(sender,msg.sender,currentAllowance - amount) (#1093)
- _allowances[owner][spender] = amount (#1083)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BabyKodi.transferFrom(address,address,uint256) (#1087-1095):
External calls:
- _transfer(sender,recipient,amount) (#1088)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#898-905)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#886-892)
- (tmpSuccess) = address(TeamWallet).call{gas: 30000,value: distributeBNB}() (#876)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1088)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#898-905)
- (tmpSuccess) = address(TeamWallet).call{gas: 30000,value: distributeBNB}() (#876)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1084)
- _approve(sender,msg.sender,currentAllowance - amount) (#1093)
Apply the check-effects-interactions pattern.
Additional information: link
BabyKodi.getAddressSellLockTimeInSeconds(address) (#929-936) uses timestamp for comparisons
Dangerous comparisons:
- lockTime <= block.timestamp (#931)
Avoid relying on block.timestamp.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#368-385) uses assembly
- INLINE ASM (#377-380)
Do not use evm assembly.
Additional information: link
EnumerableSet.remove(EnumerableSet.UintSet,uint256) (#648-650) is never used and should be removed
Remove unused functions.
Additional information: link
solc-0.8.7 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in BabyKodi.sendBNB() (#1034-1037):
- (sent) = TeamWallet.call{value: (address(this).balance)}() (#1035)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Constant BabyKodi.PancakeRouter (#702) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Variable IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#57) is too similar to IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#58)
Prevent variables from having similar names.
Additional information: link
BabyKodi.slitherConstructorConstantVariables() (#681-1112) uses literals with too many digits:
- InitialSupply = 100000000000 * 10 ** _decimals (#696)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BabyKodi.DefaultLiquidityLockTime (#699) is never used in BabyKodi (#681-1112)
Remove unused state variables.
Additional information: link
BabyKodi.sellLockTime (#949) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
sendBNB() should be declared external:
- BabyKodi.sendBNB() (#1034-1037)
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