Cake Girl Token Logo

CakeGirl [Cake Girl] Token

About CakeGirl

Listings

Token 2 years
white paper

CAKEGIRL is the newest game-changing moonshot token on Binance Smart Chain. Made by CATGIRL fans and fans of $CAKE token, Cakegirl aims to be the sweetest and most lucrative girl to follow 🚀💰

🍰It was birthed from the an avid development team & community who love CAKE & CATGIRL and decided to share it with the world.

Social

Laser Scorebeta Last Audit: 11 January 2022

report
Token is either risky or in presale. For presale 30+ is a fine score.

Anti-Scam

Links


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

CakeGirl.addLiquidity(uint256,uint256) (#1266-1281) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1272-1279)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in CakeGirl._transfer(address,address,uint256) (#1124-1195):
External calls:
- swapAndSendToFee(marketingTokens) (#1151)
- IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (#1203)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1257-1263)
- swapAndLiquify(swapTokens) (#1154)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1272-1279)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1238-1244)
- swapAndSendDividends(sellTokens) (#1157)
- success = IERC20(CAKE).transfer(address(dividendTracker),dividends) (#1286)
- dividendTracker.distributeCAKEDividends(dividends) (#1289)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1257-1263)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1154)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1272-1279)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1177)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#641)
- _balances[recipient] = _balances[recipient].add(amount) (#642)
- super._transfer(from,to,amount) (#1180)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#641)
- _balances[recipient] = _balances[recipient].add(amount) (#642)
- swapping = false (#1159)
Apply the check-effects-interactions pattern.

Additional information: link

CakeGirl.swapAndSendToFee(uint256) (#1197-1204) ignores return value by IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (#1203)
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 DividendPayingToken._withdrawDividendOfUser(address) (#775-791):
External calls:
- success = IERC20(CAKE).transfer(user,_withdrawableDividend) (#780)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#783)
Reentrancy in CakeGirl.updateDividendTracker(address) (#960-975):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#967)
- newDividendTracker.excludeFromDividends(address(this)) (#968)
- newDividendTracker.excludeFromDividends(owner()) (#969)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#970)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#974)
Apply the check-effects-interactions pattern.

Additional information: link

CakeGirl._transfer(address,address,uint256).iterations (#1188) is a local variable never initialized
CakeGirl._transfer(address,address,uint256).claims (#1188) is a local variable never initialized
CakeGirl._transfer(address,address,uint256).lastProcessedIndex (#1188) 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

CakeGirl.claim() (#1111-1113) ignores return value by dividendTracker.processAccount(msg.sender,false) (#1112)
CakeGirl._transfer(address,address,uint256) (#1124-1195) ignores return value by dividendTracker.process(gas) (#1188-1193)
CakeGirl.addLiquidity(uint256,uint256) (#1266-1281) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1272-1279)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string)._name (#751) shadows:
- ERC20._name (#558) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#751) shadows:
- ERC20._symbol (#559) (state variable)
DividendPayingToken.dividendOf(address)._owner (#795) shadows:
- Ownable._owner (#296) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#800) shadows:
- Ownable._owner (#296) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#805) shadows:
- Ownable._owner (#296) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#811) shadows:
- Ownable._owner (#296) (state variable)
Rename the local variables that shadow another component.

Additional information: link

CakeGirl.setCAKERewardsFee(uint256) (#1005-1008) should emit an event for:
- CAKERewardsFee = value (#1006)
- totalFees = CAKERewardsFee.add(liquidityFee).add(marketingFee) (#1007)
CakeGirl.setLiquiditFee(uint256) (#1010-1013) should emit an event for:
- liquidityFee = value (#1011)
- totalFees = CAKERewardsFee.add(liquidityFee).add(marketingFee) (#1012)
CakeGirl.setMarketingFee(uint256) (#1015-1019) should emit an event for:
- marketingFee = value (#1016)
- totalFees = CAKERewardsFee.add(liquidityFee).add(marketingFee) (#1017)
Emit an event for critical parameter changes.

Additional information: link

CakeGirl.updateUniswapV2Router(address)._uniswapV2Pair (#981-982) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#983)
CakeGirl.setMarketingWallet(address).wallet (#1001) lacks a zero-check on :
- _marketingWalletAddress = wallet (#1002)
Check that the address is not zero.

Additional information: link

DividendPayingToken._withdrawDividendOfUser(address) (#775-791) has external calls inside a loop: success = IERC20(CAKE).transfer(user,_withdrawableDividend) (#780)
Favor pull over push strategy for external calls.

Additional information: link

Variable 'CakeGirl._transfer(address,address,uint256).claims (#1188)' in CakeGirl._transfer(address,address,uint256) (#1124-1195) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1189)
Variable 'CakeGirl._transfer(address,address,uint256).lastProcessedIndex (#1188)' in CakeGirl._transfer(address,address,uint256) (#1124-1195) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1189)
Variable 'CakeGirl._transfer(address,address,uint256).iterations (#1188)' in CakeGirl._transfer(address,address,uint256) (#1124-1195) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1189)
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 CakeGirl._transfer(address,address,uint256) (#1124-1195):
External calls:
- swapAndSendToFee(marketingTokens) (#1151)
- IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (#1203)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1257-1263)
- swapAndLiquify(swapTokens) (#1154)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1272-1279)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1238-1244)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1154)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1272-1279)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#1154)
- _allowances[owner][spender] = amount (#677)
Reentrancy in CakeGirl._transfer(address,address,uint256) (#1124-1195):
External calls:
- swapAndSendToFee(marketingTokens) (#1151)
- IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (#1203)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1257-1263)
- swapAndLiquify(swapTokens) (#1154)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1272-1279)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1238-1244)
- swapAndSendDividends(sellTokens) (#1157)
- success = IERC20(CAKE).transfer(address(dividendTracker),dividends) (#1286)
- dividendTracker.distributeCAKEDividends(dividends) (#1289)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1257-1263)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1154)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1272-1279)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#1157)
- _allowances[owner][spender] = amount (#677)
Reentrancy in CakeGirl.constructor() (#925-954):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#932-933)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#936)
- uniswapV2Router = _uniswapV2Router (#935)
Reentrancy in CakeGirl.constructor() (#925-954):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#932-933)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#938)
- dividendTracker.excludeFromDividends(pair) (#1038)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#941)
- dividendTracker.excludeFromDividends(address(this)) (#942)
- dividendTracker.excludeFromDividends(owner()) (#943)
- dividendTracker.excludeFromDividends(deadWallet) (#944)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#945)
State variables written after the call(s):
- _mint(owner(),100000000000 * (10 ** 18)) (#953)
- _balances[account] = _balances[account].add(amount) (#653)
- excludeFromFees(owner(),true) (#948)
- _isExcludedFromFees[account] = excluded (#988)
- excludeFromFees(_marketingWalletAddress,true) (#949)
- _isExcludedFromFees[account] = excluded (#988)
- excludeFromFees(address(this),true) (#950)
- _isExcludedFromFees[account] = excluded (#988)
- _mint(owner(),100000000000 * (10 ** 18)) (#953)
- _totalSupply = _totalSupply.add(amount) (#652)
Reentrancy in CakeGirlDividendTracker.processAccount(address,bool) (#1491-1501):
External calls:
- amount = _withdrawDividendOfUser(account) (#1492)
- success = IERC20(CAKE).transfer(user,_withdrawableDividend) (#780)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1495)
Reentrancy in CakeGirl.swapAndLiquify(uint256) (#1206-1224):
External calls:
- swapTokensForEth(half) (#1215)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1238-1244)
- addLiquidity(otherHalf,newBalance) (#1221)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1272-1279)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1221)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1272-1279)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1221)
- _allowances[owner][spender] = amount (#677)
Reentrancy in CakeGirl.updateUniswapV2Router(address) (#977-984):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#981-982)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#983)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in CakeGirl._setAutomatedMarketMakerPair(address,bool) (#1033-1042):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1038)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1041)
Reentrancy in CakeGirl._transfer(address,address,uint256) (#1124-1195):
External calls:
- swapAndSendToFee(marketingTokens) (#1151)
- IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (#1203)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1257-1263)
- swapAndLiquify(swapTokens) (#1154)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1272-1279)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1238-1244)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1154)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1272-1279)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#678)
- swapAndLiquify(swapTokens) (#1154)
- SwapAndLiquify(half,newBalance,otherHalf) (#1223)
- swapAndLiquify(swapTokens) (#1154)
Reentrancy in CakeGirl._transfer(address,address,uint256) (#1124-1195):
External calls:
- swapAndSendToFee(marketingTokens) (#1151)
- IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (#1203)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1257-1263)
- swapAndLiquify(swapTokens) (#1154)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1272-1279)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1238-1244)
- swapAndSendDividends(sellTokens) (#1157)
- success = IERC20(CAKE).transfer(address(dividendTracker),dividends) (#1286)
- dividendTracker.distributeCAKEDividends(dividends) (#1289)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1257-1263)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1154)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1272-1279)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#678)
- swapAndSendDividends(sellTokens) (#1157)
- SendDividends(tokens,dividends) (#1290)
- swapAndSendDividends(sellTokens) (#1157)
- Transfer(sender,recipient,amount) (#643)
- super._transfer(from,address(this),fees) (#1177)
- Transfer(sender,recipient,amount) (#643)
- super._transfer(from,to,amount) (#1180)
Reentrancy in CakeGirl._transfer(address,address,uint256) (#1124-1195):
External calls:
- swapAndSendToFee(marketingTokens) (#1151)
- IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (#1203)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1257-1263)
- swapAndLiquify(swapTokens) (#1154)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1272-1279)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1238-1244)
- swapAndSendDividends(sellTokens) (#1157)
- success = IERC20(CAKE).transfer(address(dividendTracker),dividends) (#1286)
- dividendTracker.distributeCAKEDividends(dividends) (#1289)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1257-1263)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1182)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1183)
- dividendTracker.process(gas) (#1188-1193)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1154)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1272-1279)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1189)
Reentrancy in CakeGirl.constructor() (#925-954):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#932-933)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#938)
- dividendTracker.excludeFromDividends(pair) (#1038)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1041)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#938)
Reentrancy in CakeGirl.constructor() (#925-954):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#932-933)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#938)
- dividendTracker.excludeFromDividends(pair) (#1038)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#941)
- dividendTracker.excludeFromDividends(address(this)) (#942)
- dividendTracker.excludeFromDividends(owner()) (#943)
- dividendTracker.excludeFromDividends(deadWallet) (#944)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#945)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#990)
- excludeFromFees(_marketingWalletAddress,true) (#949)
- ExcludeFromFees(account,excluded) (#990)
- excludeFromFees(owner(),true) (#948)
- ExcludeFromFees(account,excluded) (#990)
- excludeFromFees(address(this),true) (#950)
- Transfer(address(0),account,amount) (#654)
- _mint(owner(),100000000000 * (10 ** 18)) (#953)
Reentrancy in CakeGirlDividendTracker.processAccount(address,bool) (#1491-1501):
External calls:
- amount = _withdrawDividendOfUser(account) (#1492)
- success = IERC20(CAKE).transfer(user,_withdrawableDividend) (#780)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1496)
Reentrancy in CakeGirl.processDividendTracker(uint256) (#1106-1109):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1107)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1108)
Reentrancy in CakeGirl.swapAndLiquify(uint256) (#1206-1224):
External calls:
- swapTokensForEth(half) (#1215)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1238-1244)
- addLiquidity(otherHalf,newBalance) (#1221)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1272-1279)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1221)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1272-1279)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#678)
- addLiquidity(otherHalf,newBalance) (#1221)
- SwapAndLiquify(half,newBalance,otherHalf) (#1223)
Reentrancy in CakeGirl.swapAndSendDividends(uint256) (#1283-1292):
External calls:
- swapTokensForCake(tokens) (#1284)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1257-1263)
- success = IERC20(CAKE).transfer(address(dividendTracker),dividends) (#1286)
- dividendTracker.distributeCAKEDividends(dividends) (#1289)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#1290)
Reentrancy in CakeGirl.updateDividendTracker(address) (#960-975):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#967)
- newDividendTracker.excludeFromDividends(address(this)) (#968)
- newDividendTracker.excludeFromDividends(owner()) (#969)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#970)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#972)
Apply the check-effects-interactions pattern.

Additional information: link

CakeGirlDividendTracker.getAccount(address) (#1355-1398) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1395-1397)
CakeGirlDividendTracker.canAutoClaim(uint256) (#1419-1425) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1420)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1424)
Avoid relying on block.timestamp.

Additional information: link

Context._msgData() (#77-80) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#817-823) is never used and should be removed
SafeMath.mod(uint256,uint256) (#383-385) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#388-391) is never used and should be removed
SafeMathInt.abs(int256) (#461-464) is never used and should be removed
SafeMathInt.div(int256,int256) (#438-444) is never used and should be removed
SafeMathInt.mul(int256,int256) (#429-436) is never used and should be removed
Remove unused functions.

Additional information: link

CakeGirl.totalFees (#877) 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 (#10) allows old versions
Pragma version^0.6.2 (#45) allows old versions
Pragma version^0.6.2 (#60) allows old versions
Pragma version^0.6.2 (#83) allows old versions
Pragma version^0.6.2 (#136) allows old versions
Pragma version^0.6.2 (#154) allows old versions
Pragma version^0.6.2 (#293) allows old versions
Pragma version^0.6.2 (#330) allows old versions
Pragma version^0.6.2 (#419) allows old versions
Pragma version^0.6.2 (#473) allows old versions
Pragma version^0.6.2 (#483) allows old versions
Pragma version^0.6.2 (#546) allows old versions
Pragma version^0.6.2 (#689) allows old versions
Pragma version^0.6.2 (#713) allows old versions
Pragma version^0.6.2 (#729) allows old versions
Pragma version^0.6.2 (#854) 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

Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#100) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#101) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#118) is not in mixedCase
Function IUniswapV2Router01.WETH() (#158) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#795) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#800) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#805) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#811) is not in mixedCase
Variable DividendPayingToken.CAKE (#737) is not in mixedCase
Constant DividendPayingToken.magnitude (#741) is not in UPPER_CASE_WITH_UNDERSCORES
Variable CakeGirl.CAKE (#868) is not in mixedCase
Variable CakeGirl._isBlacklisted (#872) is not in mixedCase
Variable CakeGirl.CAKERewardsFee (#874) is not in mixedCase
Variable CakeGirl._marketingWalletAddress (#879) is not in mixedCase
Parameter CakeGirlDividendTracker.getAccount(address)._account (#1355) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#78)" inContext (#72-81)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#163) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#164)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#776) is too similar to CakeGirlDividendTracker.getAccount(address).withdrawableDividends (#1360)
Prevent variables from having similar names.

Additional information: link

CakeGirl.constructor() (#925-954) uses literals with too many digits:
- _mint(owner(),100000000000 * (10 ** 18)) (#953)
CakeGirl.updateGasForProcessing(uint256) (#1045-1050) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,CakeGirl: gasForProcessing must be between 200,000 and 500,000) (#1046)
CakeGirl.slitherConstructorVariables() (#856-1293) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#866)
CakeGirl.slitherConstructorVariables() (#856-1293) uses literals with too many digits:
- swapTokensAtAmount = 20000000 * (10 ** 18) (#870)
CakeGirl.slitherConstructorVariables() (#856-1293) uses literals with too many digits:
- gasForProcessing = 300000 (#883)
CakeGirlDividendTracker.constructor() (#1315-1318) uses literals with too many digits:
- minimumTokenBalanceForDividends = 5000000 * (10 ** 18) (#1317)
CakeGirlDividendTracker.getAccountAtIndex(uint256) (#1400-1417) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1411)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (#424) is never used in SafeMathInt (#422-471)
Remove unused state variables.

Additional information: link

CakeGirl.deadWallet (#866) should be constant
CakeGirl.swapTokensAtAmount (#870) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#318-321)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#323-327)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#494-496)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#498-503)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#505-507)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#511-513)
name() should be declared external:
- ERC20.name() (#568-570)
symbol() should be declared external:
- ERC20.symbol() (#573-575)
decimals() should be declared external:
- ERC20.decimals() (#578-580)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#593-596)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#598-600)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#603-606)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#609-617)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#620-623)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#626-629)
distributeCAKEDividends(uint256) should be declared external:
- DividendPayingToken.distributeCAKEDividends(uint256) (#756-767)
withdrawDividend() should be declared external:
- CakeGirlDividendTracker.withdrawDividend() (#1324-1326)
- DividendPayingToken.withdrawDividend() (#770-772)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#795-797)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#805-807)
updateDividendTracker(address) should be declared external:
- CakeGirl.updateDividendTracker(address) (#960-975)
updateUniswapV2Router(address) should be declared external:
- CakeGirl.updateUniswapV2Router(address) (#977-984)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- CakeGirl.excludeMultipleAccountsFromFees(address[],bool) (#993-999)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- CakeGirl.setAutomatedMarketMakerPair(address,bool) (#1022-1026)
updateGasForProcessing(uint256) should be declared external:
- CakeGirl.updateGasForProcessing(uint256) (#1045-1050)
isExcludedFromFees(address) should be declared external:
- CakeGirl.isExcludedFromFees(address) (#1064-1066)
withdrawableDividendOf(address) should be declared external:
- CakeGirl.withdrawableDividendOf(address) (#1068-1070)
dividendTokenBalanceOf(address) should be declared external:
- CakeGirl.dividendTokenBalanceOf(address) (#1072-1074)
getAccountAtIndex(uint256) should be declared external:
- CakeGirlDividendTracker.getAccountAtIndex(uint256) (#1400-1417)
process(uint256) should be declared external:
- CakeGirlDividendTracker.process(uint256) (#1444-1489)
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 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 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 code repository for the project


Young tokens have high risks of price dump / death


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


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank

Price for CakeGirl