KittyCake is an advanced hyper-deflationary auto-rewards token on the Binance Smart Chain. KittyCake rewards holders with his favorite food, $CAKE, every hour! We also have a dashboard to track your $CAKE rewards
KITTYCAKE.addLiquidity(uint256,uint256) (KITTYCAKE.sol#457-472) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (KITTYCAKE.sol#463-470)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in KITTYCAKE._transfer(address,address,uint256) (KITTYCAKE.sol#297-382):
External calls:
- swapAndSendToFee(marketingTokens) (KITTYCAKE.sol#330)
- IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (KITTYCAKE.sol#390)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (KITTYCAKE.sol#448-454)
- swapAndLiquify(swapTokens) (KITTYCAKE.sol#333)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (KITTYCAKE.sol#463-470)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (KITTYCAKE.sol#428-434)
- swapAndSendDividends(sellTokens) (KITTYCAKE.sol#336)
- success = IERC20(CAKE).transfer(address(dividendTracker),dividends) (KITTYCAKE.sol#477)
- dividendTracker.distributeCAKEDividends(dividends) (KITTYCAKE.sol#480)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (KITTYCAKE.sol#448-454)
External calls sending eth:
- swapAndLiquify(swapTokens) (KITTYCAKE.sol#333)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (KITTYCAKE.sol#463-470)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (KITTYCAKE.sol#364)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- super._transfer(from,to,amount) (KITTYCAKE.sol#367)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- swapping = false (KITTYCAKE.sol#338)
Apply the check-effects-interactions pattern.
Additional information: link
KITTYCAKE.swapAndSendToFee(uint256) (KITTYCAKE.sol#384-391) ignores return value by IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (KITTYCAKE.sol#390)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
KITTYCAKE._transfer(address,address,uint256) (KITTYCAKE.sol#297-382) uses a dangerous strict equality:
- launchedAt == 0 && from == owner() && automatedMarketMakerPairs[to] (KITTYCAKE.sol#306)
Don't use strict equality to determine if an account has enough Ether or tokens.
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 KITTYCAKE.updateDividendTracker(address) (KITTYCAKE.sol#136-151):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (KITTYCAKE.sol#143)
- newDividendTracker.excludeFromDividends(address(this)) (KITTYCAKE.sol#144)
- newDividendTracker.excludeFromDividends(owner()) (KITTYCAKE.sol#145)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (KITTYCAKE.sol#146)
State variables written after the call(s):
- dividendTracker = newDividendTracker (KITTYCAKE.sol#150)
Apply the check-effects-interactions pattern.
Additional information: link
KITTYCAKE._transfer(address,address,uint256).lastProcessedIndex (KITTYCAKE.sol#375) 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
KITTYCAKE.addLiquidity(uint256,uint256) (KITTYCAKE.sol#457-472) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (KITTYCAKE.sol#463-470)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#122) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.
Additional information: link
KITTYCAKE.setMarketingFee(uint256) (KITTYCAKE.sol#191-193) should emit an event for:
- marketingFee = value (KITTYCAKE.sol#192)
Emit an event for critical parameter changes.
Additional information: link
KITTYCAKE.updateUniswapV2Router(address)._uniswapV2Pair (KITTYCAKE.sol#157-158) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (KITTYCAKE.sol#159)
Check that the address is not zero.
Additional information: link
Variable 'KITTYCAKE._transfer(address,address,uint256).iterations (KITTYCAKE.sol#375)' in KITTYCAKE._transfer(address,address,uint256) (KITTYCAKE.sol#297-382) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (KITTYCAKE.sol#376)
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 KITTYCAKE.updateUniswapV2Router(address) (KITTYCAKE.sol#153-160):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (KITTYCAKE.sol#157-158)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (KITTYCAKE.sol#159)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in KITTYCAKE.updateDividendTracker(address) (KITTYCAKE.sol#136-151):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (KITTYCAKE.sol#143)
- newDividendTracker.excludeFromDividends(address(this)) (KITTYCAKE.sol#144)
- newDividendTracker.excludeFromDividends(owner()) (KITTYCAKE.sol#145)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (KITTYCAKE.sol#146)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (KITTYCAKE.sol#148)
Apply the check-effects-interactions pattern.
Additional information: link
KITTYCAKEDividendTracker.canAutoClaim(uint256) (KITTYCAKE.sol#610-616) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (KITTYCAKE.sol#611)
- block.timestamp.sub(lastClaimTime) >= claimWait (KITTYCAKE.sol#615)
Avoid relying on block.timestamp.
Additional information: link
SafeMathInt.mul(int256,int256) (SafeMathInt.sol#41-48) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.6.2 (SafeMathUint.sol#3) 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 KITTYCAKEDividendTracker.getAccount(address)._account (KITTYCAKE.sol#546) 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#77) is too similar to KITTYCAKEDividendTracker.getAccount(address).withdrawableDividends (KITTYCAKE.sol#551)
Prevent variables from having similar names.
Additional information: link
KITTYCAKEDividendTracker.getAccountAtIndex(uint256) (KITTYCAKE.sol#591-608) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (KITTYCAKE.sol#602)
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-92)
Remove unused state variables.
Additional information: link
KITTYCAKE.swapTokensAtAmount (KITTYCAKE.sol#42) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#52-56)
Use the external attribute for functions never called from the contract.
Additional information: link
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has a considerable age, but social accounts / website are missing or have few users
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
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