Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in Cakenomics.claimBTC(address) (#1101-1135):
External calls:
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,addr,block.timestamp) (#1127-1131)
State variables written after the call(s):
- _isWithdrawing = false (#1134)
Apply the check-effects-interactions pattern.
Additional information: link
Cakenomics.TeamReduceRewards() (#1421-1431) ignores return value by liquidityToken.transfer(Marketing,amount) (#1429)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Cakenomics.claimBTC(address) (#1101-1135) uses a dangerous strict equality:
- amount == 0 (#1118)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Cakenomics.TeamApproveReduction(bool) (#1433-1462) ignores return value by _pancakeRouter.removeLiquidityETHSupportingFeeOnTransferTokens(address(this),amount,0,0,address(this),block.timestamp) (#1446-1453)
Ensure that all the return values of the function calls are used.
Additional information: link
Cakenomics._approve(address,address,uint256).owner (#1515) shadows:
- Ownable.owner() (#234-236) (function)
Rename the local variables that shadow another component.
Additional information: link
Cakenomics.TeamUpdateLimits(uint256,uint256) (#1374-1391) should emit an event for:
- balanceLimit = newBalanceLimit (#1389)
- sellLimit = newSellLimit (#1390)
Emit an event for critical parameter changes.
Additional information: link
Cakenomics.SetupLiquidityTokenAddress(address).liquidityTokenAddress (#1403) lacks a zero-check on :
- _liquidityTokenAddress = liquidityTokenAddress (#1404)
Check that the address is not zero.
Additional information: link
Reentrancy in Cakenomics.transferFrom(address,address,uint256) (#1523-1531):
External calls:
- _transfer(sender,recipient,amount) (#1524)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#1201-1208)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#1189-1195)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,addr,block.timestamp) (#1127-1131)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1524)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#1201-1208)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,addr,block.timestamp) (#1127-1131)
State variables written after the call(s):
- _approve(sender,msg.sender,currentAllowance - amount) (#1529)
- _allowances[owner][spender] = amount (#1519)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Cakenomics.transferFrom(address,address,uint256) (#1523-1531):
External calls:
- _transfer(sender,recipient,amount) (#1524)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#1201-1208)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (#1189-1195)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,addr,block.timestamp) (#1127-1131)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1524)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (#1201-1208)
- _pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,addr,block.timestamp) (#1127-1131)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1520)
- _approve(sender,msg.sender,currentAllowance - amount) (#1529)
Apply the check-effects-interactions pattern.
Additional information: link
Cakenomics.TeamRemoveRemainingBNB() (#1464-1469) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp >= _liquidityUnlockTime,Not yet unlocked) (#1465)
Avoid relying on block.timestamp.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#435-452) uses assembly
- INLINE ASM (#444-447)
Do not use evm assembly.
Additional information: link
EnumerableSet.remove(EnumerableSet.UintSet,uint256) (#715-717) is never used and should be removed
Remove unused functions.
Additional information: link
Cakenomics.sellLimit (#793) is set pre-construction with a non-constant function or state variable:
- _circulatingSupply
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
solc-0.8.4 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 Cakenomics.TeamRemoveRemainingBNB() (#1464-1469):
- (sent) = Marketing.call{value: (address(this).balance)}() (#1467)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Cakenomics.StakingShare (#999) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#74) is too similar to IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#75)
Prevent variables from having similar names.
Additional information: link
Cakenomics.slitherConstructorConstantVariables() (#750-1549) uses literals with too many digits:
- InitialSupply = 1000000000 * 10 ** _decimals (#768)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
TeamRemoveRemainingBNB() should be declared external:
- Cakenomics.TeamRemoveRemainingBNB() (#1464-1469)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Number of Binance Smart Chain (BSC) token holders is low.
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 account
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account