CakeZilla Token Logo

CakeZilla Token

About CakeZilla

Listings

Token 2 years

Description

Not Found

Social

Laser Scorebeta Last Audit: 30 November 2021

report
Token has too many issues. Scam probability is high.

Anti-Scam

Links


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

CakeZilla.addLiquidity(uint256,uint256) (#1267-1282) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1273-1280)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in CakeZilla._transfer(address,address,uint256) (#1125-1196):
External calls:
- swapAndSendToFee(marketingTokens) (#1152)
- IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (#1204)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndLiquify(swapTokens) (#1155)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1273-1280)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1239-1245)
- swapAndSendDividends(sellTokens) (#1158)
- success = IERC20(CAKE).transfer(address(dividendTracker),dividends) (#1287)
- dividendTracker.distributeCAKEDividends(dividends) (#1290)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1155)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1273-1280)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1178)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#642)
- _balances[recipient] = _balances[recipient].add(amount) (#643)
- super._transfer(from,to,amount) (#1181)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#642)
- _balances[recipient] = _balances[recipient].add(amount) (#643)
- swapping = false (#1160)
Apply the check-effects-interactions pattern.

Additional information: link

CakeZilla.swapAndSendToFee(uint256) (#1198-1205) ignores return value by IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (#1204)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.


Combination 2: Unchecked transfer + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.


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.

Reentrancy in CakeZilla.updateDividendTracker(address) (#961-976):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#968)
- newDividendTracker.excludeFromDividends(address(this)) (#969)
- newDividendTracker.excludeFromDividends(owner()) (#970)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#971)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#975)
Apply the check-effects-interactions pattern.

Additional information: link

CakeZilla._transfer(address,address,uint256).lastProcessedIndex (#1189) is a local variable never initialized
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

CakeZilla.addLiquidity(uint256,uint256) (#1267-1282) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1273-1280)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.accumulativeDividendOf(address)._owner (#812) shadows:
- Ownable._owner (#297) (state variable)
Rename the local variables that shadow another component.

Additional information: link

CakeZilla.setMarketingFee(uint256) (#1016-1020) should emit an event for:
- marketingFee = value (#1017)
- totalFees = CAKERewardsFee.add(liquidityFee).add(marketingFee) (#1018)
Emit an event for critical parameter changes.

Additional information: link

CakeZilla.setMarketingWallet(address).wallet (#1002) lacks a zero-check on :
- _marketingWalletAddress = wallet (#1003)
Check that the address is not zero.

Additional information: link

Variable 'CakeZilla._transfer(address,address,uint256).iterations (#1189)' in CakeZilla._transfer(address,address,uint256) (#1125-1196) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1190)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.

Additional information: link

Reentrancy in CakeZilla.updateUniswapV2Router(address) (#978-985):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#982-983)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#984)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in CakeZilla.updateDividendTracker(address) (#961-976):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#968)
- newDividendTracker.excludeFromDividends(address(this)) (#969)
- newDividendTracker.excludeFromDividends(owner()) (#970)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#971)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#973)
Apply the check-effects-interactions pattern.

Additional information: link

CakeZillaDividendTracker.canAutoClaim(uint256) (#1420-1426) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1421)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1425)
Avoid relying on block.timestamp.

Additional information: link

SafeMathInt.mul(int256,int256) (#430-437) is never used and should be removed
Remove unused functions.

Additional information: link

CakeZilla.totalFees (#878) is set pre-construction with a non-constant function or state variable:
- CAKERewardsFee.add(liquidityFee).add(marketingFee)
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

Pragma version^0.6.2 (#855) allows old versions
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

Parameter CakeZillaDividendTracker.getAccount(address)._account (#1356) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#79)" inContext (#73-82)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#777) is too similar to CakeZillaDividendTracker.getAccount(address).withdrawableDividends (#1361)
Prevent variables from having similar names.

Additional information: link

CakeZillaDividendTracker.getAccountAtIndex(uint256) (#1401-1418) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1412)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (#425) is never used in SafeMathInt (#423-472)
Remove unused state variables.

Additional information: link

DividendPayingToken.CAKE (#738) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

process(uint256) should be declared external:
- CakeZillaDividendTracker.process(uint256) (#1445-1490)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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.


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


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap

Additional information: link


Unable to find token/project description on the website or on BscScan, CoinMarketCap


Unable to find token contract audit


Unable to find audit link on the website


Unable to find whitepaper link on the website


Unable to find Telegram link on the website


Unable to find Twitter link on the website


Unable to find token on CoinHunt

Additional information: link


Unable to find token/project description on the website or on BscScan, CoinHunt, CoinGecko, CoinMarketCap


Unable to find code repository for the project


Young tokens have high risks of price dump / death


Young tokens have high risks of scam / price dump / death


Young tokens have high risks of scam / price dump / death


Token has no active CoinMarketCap listing / rank


Token has relatively low CoinGecko rank

Price for CakeZilla