ZombieCake will be one of the most fearless and fast-spreading reflection-based projects on the Binance Smart Chain. $ZC holders will receive $Cake on an hourly basis and will also have access to our unique manual lottery system whereby holders who purchase a certain number of tokens in a fixed period will be added to the next scheduled lottery draw. Nothing will stop our endeavor to conquer and dominate the network. With a pure desire to spread the contagion, our zombie horde will relentlessly infect non-$ZC holders. And, as our horde grows in size and strength, so will our dominance of the Crypto world.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
ZOMBIECAKE.addLiquidity(uint256,uint256) (ZOMBIECAKE.sol#630-643) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ZOMBIECAKE.sol#635-642)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
ZOMBIECAKE.getWinners() (ZOMBIECAKE.sol#140-157) uses a weak PRNG: "index = uint256(hash) % players.length (ZOMBIECAKE.sol#154)"
Do not use block.timestamp, now or blockhash as a source of randomness
Additional information: link
Reentrancy in ZOMBIECAKE._transfer(address,address,uint256) (ZOMBIECAKE.sol#454-559):
External calls:
- swapAndSendCAKE(marketingTokens,_marketingWalletAddress) (ZOMBIECAKE.sol#505)
- IERC20(CAKE).transfer(addr,newBalance) (ZOMBIECAKE.sol#568)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ZOMBIECAKE.sol#621-627)
- swapAndLiquify(liquitidyTokens) (ZOMBIECAKE.sol#510)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ZOMBIECAKE.sol#635-642)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ZOMBIECAKE.sol#603-609)
- swapAndSendDividends(rewardsTokens) (ZOMBIECAKE.sol#515)
- success = IERC20(CAKE).transfer(address(dividendTracker),dividends) (ZOMBIECAKE.sol#648-651)
- dividendTracker.distributeCAKEDividends(dividends) (ZOMBIECAKE.sol#654)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ZOMBIECAKE.sol#621-627)
External calls sending eth:
- swapAndLiquify(liquitidyTokens) (ZOMBIECAKE.sol#510)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ZOMBIECAKE.sol#635-642)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (ZOMBIECAKE.sol#523)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#269-272)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#273)
- super._transfer(from,to,amount) (ZOMBIECAKE.sol#534)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#269-272)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#273)
- lotteryPoolCapacity = lotteryPoolCapacity.add(lottery) (ZOMBIECAKE.sol#528)
- swapping = false (ZOMBIECAKE.sol#517)
- swapping = true (ZOMBIECAKE.sol#525)
- swapping = false (ZOMBIECAKE.sol#530)
Apply the check-effects-interactions pattern.
Additional information: link
ZOMBIECAKE.emergencyWithdrawToken(address) (ZOMBIECAKE.sol#659-663) ignores return value by IERC20(token).transfer(owner(),balance) (ZOMBIECAKE.sol#662)
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.
ZOMBIECAKE._transfer(address,address,uint256) (ZOMBIECAKE.sol#454-559) performs a multiplication on the result of a division:
-fees = amount.mul(totalFees).div(100) (ZOMBIECAKE.sol#521)
-lottery = fees.mul(lotteryFee).div(totalFees) (ZOMBIECAKE.sol#527)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in ZOMBIECAKE.updateDividendTracker(address) (ZOMBIECAKE.sol#246-269):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (ZOMBIECAKE.sol#261)
- newDividendTracker.excludeFromDividends(address(this)) (ZOMBIECAKE.sol#262)
- newDividendTracker.excludeFromDividends(owner()) (ZOMBIECAKE.sol#263)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (ZOMBIECAKE.sol#264)
State variables written after the call(s):
- dividendTracker = newDividendTracker (ZOMBIECAKE.sol#268)
Apply the check-effects-interactions pattern.
Additional information: link
ZOMBIECAKE._transfer(address,address,uint256).iterations (ZOMBIECAKE.sol#545) 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
ZOMBIECAKE.addLiquidity(uint256,uint256) (ZOMBIECAKE.sol#630-643) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ZOMBIECAKE.sol#635-642)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#127) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.
Additional information: link
ZOMBIECAKE.setStage(uint256) (ZOMBIECAKE.sol#228-230) should emit an event for:
- stage = val (ZOMBIECAKE.sol#229)
Emit an event for critical parameter changes.
Additional information: link
ZOMBIECAKE.setMarketingWallet(address).wallet (ZOMBIECAKE.sol#304) lacks a zero-check on :
- _marketingWalletAddress = wallet (ZOMBIECAKE.sol#305)
Check that the address is not zero.
Additional information: link
Variable 'ZOMBIECAKE._transfer(address,address,uint256).lastProcessedIndex (ZOMBIECAKE.sol#547)' in ZOMBIECAKE._transfer(address,address,uint256) (ZOMBIECAKE.sol#454-559) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (ZOMBIECAKE.sol#549-556)
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 ZOMBIECAKE.updateUniswapV2Router(address) (ZOMBIECAKE.sol#271-281):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (ZOMBIECAKE.sol#278-279)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (ZOMBIECAKE.sol#280)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ZOMBIECAKE.updateDividendTracker(address) (ZOMBIECAKE.sol#246-269):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (ZOMBIECAKE.sol#261)
- newDividendTracker.excludeFromDividends(address(this)) (ZOMBIECAKE.sol#262)
- newDividendTracker.excludeFromDividends(owner()) (ZOMBIECAKE.sol#263)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (ZOMBIECAKE.sol#264)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (ZOMBIECAKE.sol#266)
Apply the check-effects-interactions pattern.
Additional information: link
ZOMBIECAKEDividendTracker.canAutoClaim(uint256) (ZOMBIECAKE.sol#840-846) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (ZOMBIECAKE.sol#841)
- block.timestamp.sub(lastClaimTime) >= claimWait (ZOMBIECAKE.sol#845)
Avoid relying on block.timestamp.
Additional information: link
ZOMBIECAKE.isContractaddr(address) (ZOMBIECAKE.sol#238-244) uses assembly
- INLINE ASM (ZOMBIECAKE.sol#240-242)
Do not use evm assembly.
Additional information: link
SafeMathInt.mul(int256,int256) (SafeMathInt.sol#41-48) is never used and should be removed
Remove unused functions.
Additional information: link
ZOMBIECAKE.totalFees (ZOMBIECAKE.sol#35-36) is set pre-construction with a non-constant function or state variable:
- rewardsFee.add(liquidityFee).add(lotteryFee).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
Parameter ZOMBIECAKEDividendTracker.getAccount(address)._account (ZOMBIECAKE.sol#759) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-24)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#76) is too similar to ZOMBIECAKEDividendTracker.getAccount(address).withdrawableDividends (ZOMBIECAKE.sol#766)
Prevent variables from having similar names.
Additional information: link
ZOMBIECAKEDividendTracker.getAccountAtIndex(uint256) (ZOMBIECAKE.sol#808-838) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (ZOMBIECAKE.sol#823-832)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (SafeMathInt.sol#36) is never used in SafeMathInt (SafeMathInt.sol#34-91)
Remove unused state variables.
Additional information: link
ZOMBIECAKE.deadWallet (ZOMBIECAKE.sol#45) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
process(uint256) should be declared external:
- ZOMBIECAKEDividendTracker.process(uint256) (ZOMBIECAKE.sol#867-919)
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.
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 token on CoinHunt
Additional information: link
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
Twitter account link seems to be invalid
Unable to find Youtube account
Unable to find Discord account