Reentrancy in BEP20._transfer(address,address,uint256) (#675-721):
External calls:
- swapAndLiquify(contractTokenBalance) (#699)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#779-786)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#763-769)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#699)
- recipient.transfer(amount) (#645)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#779-786)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#702)
- finalAmount = takeFee(sender,recipient,amount) (#709)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#801)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#715)
- youCantEat(recipient) (#708)
- whoCantEat[recipient] = true (#667)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BEP20.addLiquidity(uint256,uint256) (#774-787) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#779-786)
Ensure that all the return values of the function calls are used.
Additional information: link
BEP20.allowance(address,address).owner (#530) shadows:
- Ownable.owner() (#146-148) (function)
BEP20._approve(address,address,uint256).owner (#553) shadows:
- Ownable.owner() (#146-148) (function)
Rename the local variables that shadow another component.
Additional information: link
BEP20.letsEatCake(uint256) (#561-565) should emit an event for:
- cantEatCake = canteat (#562)
BEP20.setEatLargeCake(uint256,uint256,uint256) (#579-585) should emit an event for:
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#584)
BEP20.setEatLittleCake(uint256,uint256,uint256) (#587-593) should emit an event for:
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellTeamFee) (#592)
BEP20.setDistributionSettings(uint256,uint256,uint256) (#595-601) should emit an event for:
- _liquidityShare = newLiquidityShare (#596)
- _teamShare = newTeamShare (#598)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#600)
BEP20.setMaxOnceEat(uint256) (#603-605) should emit an event for:
- _maxOnceEat = newMaxOnceEat (#604)
BEP20.setMaxTotalEat(uint256) (#615-617) should emit an event for:
- _maxTotalEat = newMaxTotalEat (#616)
BEP20.setNumTokensBeforeSwap(uint256) (#619-621) should emit an event for:
- minimumTokensBeforeSwap = newValue (#620)
Emit an event for critical parameter changes.
Additional information: link
BEP20.setdoYouLikeCake(address).newAddress (#623) lacks a zero-check on :
- doYouLikeCake = address(newAddress) (#624)
BEP20.setiLikeCake(address).newAddress (#627) lacks a zero-check on :
- iLikeCake = address(newAddress) (#628)
Check that the address is not zero.
Additional information: link
Reentrancy in BEP20.constructor(string,string,uint256,uint256[3],uint256[3],uint256[3],uint256[2],address[2]) (#445-508):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#487-488)
State variables written after the call(s):
- _allowances[address(this)][address(uniswapV2Router)] = _totalSupply (#491)
- _balances[_msgSender()] = _totalSupply (#506)
- isExcludedFromCut[owner()] = true (#493)
- isExcludedFromCut[address(this)] = true (#494)
- isMarketPair[address(uniswapPair)] = true (#504)
- isMaxEatExempt[owner()] = true (#496)
- isMaxEatExempt[address(uniswapPair)] = true (#497)
- isMaxEatExempt[address(this)] = true (#498)
- isMaxEatExempt[address(0xdead)] = true (#499)
- isOnceEatExempt[owner()] = true (#501)
- isOnceEatExempt[address(this)] = true (#502)
- uniswapV2Router = _uniswapV2Router (#490)
Reentrancy in BEP20.swapAndLiquify(uint256) (#730-752):
External calls:
- swapTokensForEth(tokensForSwap) (#735)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#763-769)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#751)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#779-786)
External calls sending eth:
- transferToAddressETH(doYouLikeCake,amountBNBMarketing) (#745)
- recipient.transfer(amount) (#645)
- transferToAddressETH(iLikeCake,amountBNBTeam) (#748)
- recipient.transfer(amount) (#645)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#751)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#779-786)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#751)
- _allowances[owner][spender] = amount (#557)
Reentrancy in BEP20.transferFrom(address,address,uint256) (#656-660):
External calls:
- _transfer(sender,recipient,amount) (#657)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#779-786)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#763-769)
External calls sending eth:
- _transfer(sender,recipient,amount) (#657)
- recipient.transfer(amount) (#645)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#779-786)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#658)
- _allowances[owner][spender] = amount (#557)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BEP20._transfer(address,address,uint256) (#675-721):
External calls:
- swapAndLiquify(contractTokenBalance) (#699)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#779-786)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#763-769)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#699)
- recipient.transfer(amount) (#645)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#779-786)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#802)
- finalAmount = takeFee(sender,recipient,amount) (#709)
- Transfer(sender,recipient,finalAmount) (#717)
Reentrancy in BEP20.constructor(string,string,uint256,uint256[3],uint256[3],uint256[3],uint256[2],address[2]) (#445-508):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#487-488)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#507)
Reentrancy in BEP20.swapAndLiquify(uint256) (#730-752):
External calls:
- swapTokensForEth(tokensForSwap) (#735)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#763-769)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#751)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#779-786)
External calls sending eth:
- transferToAddressETH(doYouLikeCake,amountBNBMarketing) (#745)
- recipient.transfer(amount) (#645)
- transferToAddressETH(iLikeCake,amountBNBTeam) (#748)
- recipient.transfer(amount) (#645)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#751)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#779-786)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#558)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#751)
Reentrancy in BEP20.swapTokensForEth(uint256) (#754-772):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#763-769)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#771)
Reentrancy in BEP20.transferFrom(address,address,uint256) (#656-660):
External calls:
- _transfer(sender,recipient,amount) (#657)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#779-786)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#763-769)
External calls sending eth:
- _transfer(sender,recipient,amount) (#657)
- recipient.transfer(amount) (#645)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#779-786)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#558)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#658)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#80-89) uses assembly
- INLINE ASM (#87)
Address._functionCallWithValue(address,bytes,uint256,string) (#116-133) uses assembly
- INLINE ASM (#125-128)
Do not use evm assembly.
Additional information: link
BEP20._transfer(address,address,uint256) (#675-721) compares to a boolean constant:
-require(bool,string)(whoCantEat[sender] == false,You Cant Eat!) (#680)
Remove the equality to the boolean constant.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#116-133) is never used and should be removed
Address.functionCall(address,bytes) (#99-101) is never used and should be removed
Address.functionCall(address,bytes,string) (#103-105) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#107-109) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#111-114) is never used and should be removed
Address.isContract(address) (#80-89) is never used and should be removed
Address.sendValue(address,uint256) (#91-97) is never used and should be removed
Context._msgData() (#9-12) is never used and should be removed
SafeMath.mod(uint256,uint256) (#68-70) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#72-75) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#91-97):
- (success) = recipient.call{value: amount}() (#95)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#116-133):
- (success,returndata) = target.call{value: weiValue}(data) (#119)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#199) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#200) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#216) is not in mixedCase
Function IUniswapV2Router01.WETH() (#235) is not in mixedCase
Parameter BEP20.setSwapAndLiquifyEnabled(bool)._enabled (#631) is not in mixedCase
Variable BEP20._balances (#380) is not in mixedCase
Variable BEP20._buyLiquidityFee (#393) is not in mixedCase
Variable BEP20._buyMarketingFee (#394) is not in mixedCase
Variable BEP20._buyTeamFee (#395) is not in mixedCase
Variable BEP20._sellLiquidityFee (#397) is not in mixedCase
Variable BEP20._sellMarketingFee (#398) is not in mixedCase
Variable BEP20._sellTeamFee (#399) is not in mixedCase
Variable BEP20._liquidityShare (#401) is not in mixedCase
Variable BEP20._marketingShare (#402) is not in mixedCase
Variable BEP20._teamShare (#403) is not in mixedCase
Variable BEP20._totalTaxIfBuying (#405) is not in mixedCase
Variable BEP20._totalTaxIfSelling (#406) is not in mixedCase
Variable BEP20._totalDistributionShares (#407) is not in mixedCase
Variable BEP20._maxOnceEat (#410) is not in mixedCase
Variable BEP20._maxTotalEat (#411) is not in mixedCase
Variable BEP20.LookMaxEat (#420) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#10)" inContext (#4-13)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in BEP20._transfer(address,address,uint256) (#675-721):
External calls:
- swapAndLiquify(contractTokenBalance) (#699)
- recipient.transfer(amount) (#645)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#699)
- recipient.transfer(amount) (#645)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#779-786)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#702)
- finalAmount = takeFee(sender,recipient,amount) (#709)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#801)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#715)
- youCantEat(recipient) (#708)
- whoCantEat[recipient] = true (#667)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#802)
- finalAmount = takeFee(sender,recipient,amount) (#709)
- Transfer(sender,recipient,finalAmount) (#717)
Reentrancy in BEP20.swapAndLiquify(uint256) (#730-752):
External calls:
- transferToAddressETH(doYouLikeCake,amountBNBMarketing) (#745)
- recipient.transfer(amount) (#645)
- transferToAddressETH(iLikeCake,amountBNBTeam) (#748)
- recipient.transfer(amount) (#645)
External calls sending eth:
- transferToAddressETH(doYouLikeCake,amountBNBMarketing) (#745)
- recipient.transfer(amount) (#645)
- transferToAddressETH(iLikeCake,amountBNBTeam) (#748)
- recipient.transfer(amount) (#645)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#751)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#779-786)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#751)
- _allowances[owner][spender] = amount (#557)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#558)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#751)
Reentrancy in BEP20.transferFrom(address,address,uint256) (#656-660):
External calls:
- _transfer(sender,recipient,amount) (#657)
- recipient.transfer(amount) (#645)
External calls sending eth:
- _transfer(sender,recipient,amount) (#657)
- recipient.transfer(amount) (#645)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#779-786)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#658)
- _allowances[owner][spender] = amount (#557)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#558)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#658)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#239) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#240)
Prevent variables from having similar names.
Additional information: link
waiveOwnership() should be declared external:
- Ownable.waiveOwnership() (#155-158)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#160-164)
name() should be declared external:
- BEP20.name() (#510-512)
symbol() should be declared external:
- BEP20.symbol() (#514-516)
decimals() should be declared external:
- BEP20.decimals() (#518-520)
totalSupply() should be declared external:
- BEP20.totalSupply() (#522-524)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#530-532)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#534-537)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#539-542)
minimumTokensBeforeSwapAmount() should be declared external:
- BEP20.minimumTokensBeforeSwapAmount() (#544-546)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#548-551)
letsEatCake(uint256) should be declared external:
- BEP20.letsEatCake(uint256) (#561-565)
setMarketPairStatus(address,bool) should be declared external:
- BEP20.setMarketPairStatus(address,bool) (#567-569)
setisExcludedFromCut(address,bool) should be declared external:
- BEP20.setisExcludedFromCut(address,bool) (#575-577)
setSwapAndLiquifyEnabled(bool) should be declared external:
- BEP20.setSwapAndLiquifyEnabled(bool) (#631-634)
setSwapAndLiquifyBySmallOnly(bool) should be declared external:
- BEP20.setSwapAndLiquifyBySmallOnly(bool) (#636-638)
getCirculatingSupply() should be declared external:
- BEP20.getCirculatingSupply() (#640-642)
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (#651-654)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#656-660)
isCantEat(address) should be declared external:
- BEP20.isCantEat(address) (#662-664)
setWhoCantEat(address,bool) should be declared external:
- BEP20.setWhoCantEat(address,bool) (#671-673)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts