Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in Cannes._transfer(address,address,uint256) (#790-874):
External calls:
- swapAndLiquify(contractTokenBalance) (#824)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#922-929)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#908-914)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#824)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#922-929)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#873)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#746)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#955)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#964)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#615)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#975)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#956)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#966)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#976)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#617)
- _tokenTransfer(from,to,amount,takeFee) (#873)
- _rTotal = _rTotal.sub(rFee) (#701)
- _tokenTransfer(from,to,amount,takeFee) (#873)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#748)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#974)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#614)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#965)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#616)
Apply the check-effects-interactions pattern.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
Cannes._rTotal (#407) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
Cannes._previousTaxFee (#425) is set pre-construction with a non-constant function or state variable:
- _taxFee
Cannes._previousLiquidityFee (#428) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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
Low level call in Address.sendValue(address,uint256) (#86-92):
- (success) = recipient.call{value: amount}() (#90)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#111-128):
- (success,returndata) = target.call{value: weiValue}(data) (#114)
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() (#217) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#218) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#235) is not in mixedCase
Function IUniswapV2Router01.WETH() (#255) is not in mixedCase
Parameter Cannes.setSwapAndLiquifyEnabled(bool)._enabled (#664) is not in mixedCase
Parameter Cannes.setAddressFee(address,bool,uint256,uint256)._address (#679) is not in mixedCase
Parameter Cannes.setAddressFee(address,bool,uint256,uint256)._enable (#679) is not in mixedCase
Parameter Cannes.setAddressFee(address,bool,uint256,uint256)._addressTaxFee (#679) is not in mixedCase
Parameter Cannes.setAddressFee(address,bool,uint256,uint256)._addressLiquidityFee (#679) is not in mixedCase
Parameter Cannes.setBuyAddressFee(address,bool,uint256,uint256)._address (#685) is not in mixedCase
Parameter Cannes.setBuyAddressFee(address,bool,uint256,uint256)._enable (#685) is not in mixedCase
Parameter Cannes.setBuyAddressFee(address,bool,uint256,uint256)._addressTaxFee (#685) is not in mixedCase
Parameter Cannes.setBuyAddressFee(address,bool,uint256,uint256)._addressLiquidityFee (#685) is not in mixedCase
Parameter Cannes.setSellAddressFee(address,bool,uint256,uint256)._address (#691) is not in mixedCase
Parameter Cannes.setSellAddressFee(address,bool,uint256,uint256)._enable (#691) is not in mixedCase
Parameter Cannes.setSellAddressFee(address,bool,uint256,uint256)._addressTaxFee (#691) is not in mixedCase
Parameter Cannes.setSellAddressFee(address,bool,uint256,uint256)._addressLiquidityFee (#691) is not in mixedCase
Parameter Cannes.calculateTaxFee(uint256)._amount (#751) is not in mixedCase
Parameter Cannes.calculateLiquidityFee(uint256)._amount (#757) is not in mixedCase
Variable Cannes._taxFee (#424) is not in mixedCase
Variable Cannes._liquidityFee (#427) is not in mixedCase
Variable Cannes._buyTaxFee (#430) is not in mixedCase
Variable Cannes._buyLiquidityFee (#431) is not in mixedCase
Variable Cannes._sellTaxFee (#433) is not in mixedCase
Variable Cannes._sellLiquidityFee (#434) is not in mixedCase
Variable Cannes._addressFees (#443) is not in mixedCase
Variable Cannes._maxTxAmount (#445) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#70)" inContext (#64-73)
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 (#260) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#261)
Variable Cannes._transferStandard(address,address,uint256).rTransferAmount (#954) is too similar to Cannes._transferToExcluded(address,address,uint256).tTransferAmount (#963)
Variable Cannes._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#722) is too similar to Cannes._transferToExcluded(address,address,uint256).tTransferAmount (#963)
Variable Cannes._transferStandard(address,address,uint256).rTransferAmount (#954) is too similar to Cannes._getValues(uint256).tTransferAmount (#706)
Variable Cannes._transferStandard(address,address,uint256).rTransferAmount (#954) is too similar to Cannes._transferBothExcluded(address,address,uint256).tTransferAmount (#613)
Variable Cannes._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#722) is too similar to Cannes._getValues(uint256).tTransferAmount (#706)
Variable Cannes._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#722) is too similar to Cannes._transferBothExcluded(address,address,uint256).tTransferAmount (#613)
Variable Cannes._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#722) is too similar to Cannes._getTValues(uint256).tTransferAmount (#714)
Variable Cannes._transferToExcluded(address,address,uint256).rTransferAmount (#963) is too similar to Cannes._transferToExcluded(address,address,uint256).tTransferAmount (#963)
Variable Cannes._getValues(uint256).rTransferAmount (#707) is too similar to Cannes._transferToExcluded(address,address,uint256).tTransferAmount (#963)
Variable Cannes._transferBothExcluded(address,address,uint256).rTransferAmount (#613) is too similar to Cannes._transferBothExcluded(address,address,uint256).tTransferAmount (#613)
Variable Cannes._transferToExcluded(address,address,uint256).rTransferAmount (#963) is too similar to Cannes._transferBothExcluded(address,address,uint256).tTransferAmount (#613)
Variable Cannes._getValues(uint256).rTransferAmount (#707) is too similar to Cannes._transferBothExcluded(address,address,uint256).tTransferAmount (#613)
Variable Cannes._transferStandard(address,address,uint256).rTransferAmount (#954) is too similar to Cannes._transferStandard(address,address,uint256).tTransferAmount (#954)
Variable Cannes._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#722) is too similar to Cannes._transferStandard(address,address,uint256).tTransferAmount (#954)
Variable Cannes.reflectionFromToken(uint256,bool).rTransferAmount (#579) is too similar to Cannes._transferBothExcluded(address,address,uint256).tTransferAmount (#613)
Variable Cannes._getValues(uint256).rTransferAmount (#707) is too similar to Cannes._transferStandard(address,address,uint256).tTransferAmount (#954)
Variable Cannes._transferBothExcluded(address,address,uint256).rTransferAmount (#613) is too similar to Cannes._transferFromExcluded(address,address,uint256).tTransferAmount (#973)
Variable Cannes._transferToExcluded(address,address,uint256).rTransferAmount (#963) is too similar to Cannes._transferStandard(address,address,uint256).tTransferAmount (#954)
Variable Cannes._transferFromExcluded(address,address,uint256).rTransferAmount (#973) is too similar to Cannes._transferFromExcluded(address,address,uint256).tTransferAmount (#973)
Variable Cannes.reflectionFromToken(uint256,bool).rTransferAmount (#579) is too similar to Cannes._getTValues(uint256).tTransferAmount (#714)
Variable Cannes.reflectionFromToken(uint256,bool).rTransferAmount (#579) is too similar to Cannes._transferToExcluded(address,address,uint256).tTransferAmount (#963)
Variable Cannes.reflectionFromToken(uint256,bool).rTransferAmount (#579) is too similar to Cannes._getValues(uint256).tTransferAmount (#706)
Variable Cannes._transferStandard(address,address,uint256).rTransferAmount (#954) is too similar to Cannes._getTValues(uint256).tTransferAmount (#714)
Variable Cannes._transferFromExcluded(address,address,uint256).rTransferAmount (#973) is too similar to Cannes._transferStandard(address,address,uint256).tTransferAmount (#954)
Variable Cannes._transferBothExcluded(address,address,uint256).rTransferAmount (#613) is too similar to Cannes._transferStandard(address,address,uint256).tTransferAmount (#954)
Variable Cannes._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#722) is too similar to Cannes._transferFromExcluded(address,address,uint256).tTransferAmount (#973)
Variable Cannes._getValues(uint256).rTransferAmount (#707) is too similar to Cannes._getTValues(uint256).tTransferAmount (#714)
Variable Cannes._getValues(uint256).rTransferAmount (#707) is too similar to Cannes._getValues(uint256).tTransferAmount (#706)
Variable Cannes.reflectionFromToken(uint256,bool).rTransferAmount (#579) is too similar to Cannes._transferFromExcluded(address,address,uint256).tTransferAmount (#973)
Variable Cannes._transferToExcluded(address,address,uint256).rTransferAmount (#963) is too similar to Cannes._getTValues(uint256).tTransferAmount (#714)
Variable Cannes._transferToExcluded(address,address,uint256).rTransferAmount (#963) is too similar to Cannes._getValues(uint256).tTransferAmount (#706)
Variable Cannes._transferStandard(address,address,uint256).rTransferAmount (#954) is too similar to Cannes._transferFromExcluded(address,address,uint256).tTransferAmount (#973)
Variable Cannes._transferFromExcluded(address,address,uint256).rTransferAmount (#973) is too similar to Cannes._transferBothExcluded(address,address,uint256).tTransferAmount (#613)
Variable Cannes._getValues(uint256).rTransferAmount (#707) is too similar to Cannes._transferFromExcluded(address,address,uint256).tTransferAmount (#973)
Variable Cannes.reflectionFromToken(uint256,bool).rTransferAmount (#579) is too similar to Cannes._transferStandard(address,address,uint256).tTransferAmount (#954)
Variable Cannes._transferBothExcluded(address,address,uint256).rTransferAmount (#613) is too similar to Cannes._transferToExcluded(address,address,uint256).tTransferAmount (#963)
Variable Cannes._transferFromExcluded(address,address,uint256).rTransferAmount (#973) is too similar to Cannes._getTValues(uint256).tTransferAmount (#714)
Variable Cannes._transferBothExcluded(address,address,uint256).rTransferAmount (#613) is too similar to Cannes._getTValues(uint256).tTransferAmount (#714)
Variable Cannes._transferFromExcluded(address,address,uint256).rTransferAmount (#973) is too similar to Cannes._transferToExcluded(address,address,uint256).tTransferAmount (#963)
Variable Cannes._transferBothExcluded(address,address,uint256).rTransferAmount (#613) is too similar to Cannes._getValues(uint256).tTransferAmount (#706)
Variable Cannes._transferFromExcluded(address,address,uint256).rTransferAmount (#973) is too similar to Cannes._getValues(uint256).tTransferAmount (#706)
Variable Cannes._transferToExcluded(address,address,uint256).rTransferAmount (#963) is too similar to Cannes._transferFromExcluded(address,address,uint256).tTransferAmount (#973)
Prevent variables from having similar names.
Additional information: link
Cannes.slitherConstructorVariables() (#390-986) uses literals with too many digits:
- _maxTxAmount = 1000000000 * 10 ** 6 * 10 ** 8 (#445)
Cannes.slitherConstructorVariables() (#390-986) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 500000 * 10 ** 6 * 10 ** 8 (#446)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Cannes._decimals (#412) should be constant
Cannes._name (#410) should be constant
Cannes._symbol (#411) should be constant
Cannes._tTotal (#406) should be constant
Cannes.numTokensSellToAddToLiquidity (#446) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#153-156)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#158-162)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (#164-166)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#168-173)
unlock() should be declared external:
- Ownable.unlock() (#175-180)
name() should be declared external:
- Cannes.name() (#505-507)
symbol() should be declared external:
- Cannes.symbol() (#509-511)
decimals() should be declared external:
- Cannes.decimals() (#513-515)
totalSupply() should be declared external:
- Cannes.totalSupply() (#517-519)
transfer(address,uint256) should be declared external:
- Cannes.transfer(address,uint256) (#526-529)
allowance(address,address) should be declared external:
- Cannes.allowance(address,address) (#531-533)
approve(address,uint256) should be declared external:
- Cannes.approve(address,uint256) (#535-538)
transferFrom(address,address,uint256) should be declared external:
- Cannes.transferFrom(address,address,uint256) (#540-544)
increaseAllowance(address,uint256) should be declared external:
- Cannes.increaseAllowance(address,uint256) (#546-549)
decreaseAllowance(address,uint256) should be declared external:
- Cannes.decreaseAllowance(address,uint256) (#551-554)
isExcludedFromReward(address) should be declared external:
- Cannes.isExcludedFromReward(address) (#556-558)
totalFees() should be declared external:
- Cannes.totalFees() (#560-562)
deliver(uint256) should be declared external:
- Cannes.deliver(uint256) (#564-571)
reflectionFromToken(uint256,bool) should be declared external:
- Cannes.reflectionFromToken(uint256,bool) (#573-582)
excludeFromReward(address) should be declared external:
- Cannes.excludeFromReward(address) (#590-598)
excludeFromFee(address) should be declared external:
- Cannes.excludeFromFee(address) (#623-625)
includeInFee(address) should be declared external:
- Cannes.includeInFee(address) (#627-629)
setSwapAndLiquifyEnabled(bool) should be declared external:
- Cannes.setSwapAndLiquifyEnabled(bool) (#664-667)
isExcludedFromFee(address) should be declared external:
- Cannes.isExcludedFromFee(address) (#778-780)
Use the external attribute for functions never called from the contract.
Additional information: link
Cannes._transfer(address,address,uint256) (#790-874) uses tx.origin for authorization: require(bool,string)(! _isBlackListedBot[tx.origin],You have no power here!) (#800)
Do not use tx.origin for authorization.
Additional information: link
Cannes.addLiquidity(uint256,uint256) (#917-930) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#922-929)
Ensure that all the return values of the function calls are used.
Additional information: link
Cannes.allowance(address,address).owner (#531) shadows:
- Ownable.owner() (#144-146) (function)
Cannes._approve(address,address,uint256).owner (#782) shadows:
- Ownable.owner() (#144-146) (function)
Rename the local variables that shadow another component.
Additional information: link
Cannes.setTaxFeePercent(uint256) (#631-633) should emit an event for:
- _taxFee = taxFee (#632)
Cannes.setLiquidityFeePercent(uint256) (#635-637) should emit an event for:
- _liquidityFee = liquidityFee (#636)
Cannes.setMaxTxPercent(uint256) (#639-643) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#640-642)
Cannes.setBuyFee(uint256,uint256) (#669-672) should emit an event for:
- _buyTaxFee = buyTaxFee (#670)
- _buyLiquidityFee = buyLiquidityFee (#671)
Cannes.setSellFee(uint256,uint256) (#674-677) should emit an event for:
- _sellTaxFee = sellTaxFee (#675)
- _sellLiquidityFee = sellLiquidityFee (#676)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in Cannes._transfer(address,address,uint256) (#790-874):
External calls:
- swapAndLiquify(contractTokenBalance) (#824)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#922-929)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#908-914)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#824)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#922-929)
State variables written after the call(s):
- removeAllFee() (#836)
- _liquidityFee = 0 (#770)
- _liquidityFee = _buyLiquidityFee (#838)
- removeAllFee() (#842)
- _liquidityFee = 0 (#770)
- _liquidityFee = _sellLiquidityFee (#844)
- removeAllFee() (#849)
- _liquidityFee = 0 (#770)
- _liquidityFee = _addressFees[from]._liquidityFee (#851)
- _liquidityFee = _addressFees[from]._sellLiquidityFee (#856)
- removeAllFee() (#863)
- _liquidityFee = 0 (#770)
- _liquidityFee = _addressFees[to]._buyLiquidityFee (#866)
- _tokenTransfer(from,to,amount,takeFee) (#873)
- _liquidityFee = _previousLiquidityFee (#775)
- _liquidityFee = 0 (#770)
- removeAllFee() (#836)
- _previousLiquidityFee = _liquidityFee (#767)
- removeAllFee() (#842)
- _previousLiquidityFee = _liquidityFee (#767)
- removeAllFee() (#849)
- _previousLiquidityFee = _liquidityFee (#767)
- removeAllFee() (#863)
- _previousLiquidityFee = _liquidityFee (#767)
- _tokenTransfer(from,to,amount,takeFee) (#873)
- _previousLiquidityFee = _liquidityFee (#767)
- removeAllFee() (#836)
- _previousTaxFee = _taxFee (#766)
- removeAllFee() (#842)
- _previousTaxFee = _taxFee (#766)
- removeAllFee() (#849)
- _previousTaxFee = _taxFee (#766)
- removeAllFee() (#863)
- _previousTaxFee = _taxFee (#766)
- _tokenTransfer(from,to,amount,takeFee) (#873)
- _previousTaxFee = _taxFee (#766)
- _tokenTransfer(from,to,amount,takeFee) (#873)
- _tFeeTotal = _tFeeTotal.add(tFee) (#702)
- removeAllFee() (#836)
- _taxFee = 0 (#769)
- _taxFee = _buyTaxFee (#837)
- removeAllFee() (#842)
- _taxFee = 0 (#769)
- _taxFee = _sellTaxFee (#843)
- removeAllFee() (#849)
- _taxFee = 0 (#769)
- _taxFee = _addressFees[from]._taxFee (#850)
- _taxFee = _addressFees[from]._sellTaxFee (#855)
- removeAllFee() (#863)
- _taxFee = 0 (#769)
- _taxFee = _addressFees[to]._buyTaxFee (#865)
- _tokenTransfer(from,to,amount,takeFee) (#873)
- _taxFee = _previousTaxFee (#774)
- _taxFee = 0 (#769)
Reentrancy in Cannes.constructor() (#462-503):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#467-468)
State variables written after the call(s):
- _blackListedBots.push(address(0xE031b36b53E53a292a20c5F08fd1658CDdf74fce)) (#479)
- _blackListedBots.push(address(0xe516bDeE55b0b4e9bAcaF6285130De15589B1345)) (#482)
- _blackListedBots.push(address(0xa1ceC245c456dD1bd9F2815a6955fEf44Eb4191b)) (#485)
- _blackListedBots.push(address(0xd7d3EE77D35D0a56F91542D4905b1a2b1CD7cF95)) (#488)
- _blackListedBots.push(address(0xFe76f05dc59fEC04184fA0245AD0C3CF9a57b964)) (#491)
- _blackListedBots.push(address(0xDC81a3450817A58D00f45C86d0368290088db848)) (#494)
- _blackListedBots.push(address(0x45fD07C63e5c316540F14b2002B085aEE78E3881)) (#497)
- _blackListedBots.push(address(0x27F9Adb26D532a41D97e00206114e429ad58c679)) (#500)
- _isBlackListedBot[address(0xE031b36b53E53a292a20c5F08fd1658CDdf74fce)] = true (#478)
- _isBlackListedBot[address(0xe516bDeE55b0b4e9bAcaF6285130De15589B1345)] = true (#481)
- _isBlackListedBot[address(0xa1ceC245c456dD1bd9F2815a6955fEf44Eb4191b)] = true (#484)
- _isBlackListedBot[address(0xd7d3EE77D35D0a56F91542D4905b1a2b1CD7cF95)] = true (#487)
- _isBlackListedBot[address(0xFe76f05dc59fEC04184fA0245AD0C3CF9a57b964)] = true (#490)
- _isBlackListedBot[address(0xDC81a3450817A58D00f45C86d0368290088db848)] = true (#493)
- _isBlackListedBot[address(0x45fD07C63e5c316540F14b2002B085aEE78E3881)] = true (#496)
- _isBlackListedBot[address(0x27F9Adb26D532a41D97e00206114e429ad58c679)] = true (#499)
- _isExcludedFromFee[owner()] = true (#474)
- _isExcludedFromFee[address(this)] = true (#475)
- uniswapV2Router = _uniswapV2Router (#471)
Reentrancy in Cannes.swapAndLiquify(uint256) (#876-897):
External calls:
- swapTokensForEth(half) (#888)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#908-914)
- addLiquidity(otherHalf,newBalance) (#894)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#922-929)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#894)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#922-929)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#894)
- _allowances[owner][spender] = amount (#786)
Reentrancy in Cannes.transferFrom(address,address,uint256) (#540-544):
External calls:
- _transfer(sender,recipient,amount) (#541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#922-929)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#908-914)
External calls sending eth:
- _transfer(sender,recipient,amount) (#541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#922-929)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#542)
- _allowances[owner][spender] = amount (#786)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Cannes._transfer(address,address,uint256) (#790-874):
External calls:
- swapAndLiquify(contractTokenBalance) (#824)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#922-929)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#908-914)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#824)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#922-929)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#959)
- _tokenTransfer(from,to,amount,takeFee) (#873)
- Transfer(sender,recipient,tTransferAmount) (#979)
- _tokenTransfer(from,to,amount,takeFee) (#873)
- Transfer(sender,recipient,tTransferAmount) (#969)
- _tokenTransfer(from,to,amount,takeFee) (#873)
- Transfer(sender,recipient,tTransferAmount) (#620)
- _tokenTransfer(from,to,amount,takeFee) (#873)
Reentrancy in Cannes.constructor() (#462-503):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#467-468)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#502)
Reentrancy in Cannes.swapAndLiquify(uint256) (#876-897):
External calls:
- swapTokensForEth(half) (#888)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#908-914)
- addLiquidity(otherHalf,newBalance) (#894)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#922-929)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#894)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#922-929)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#787)
- addLiquidity(otherHalf,newBalance) (#894)
- SwapAndLiquify(half,newBalance,otherHalf) (#896)
Reentrancy in Cannes.transferFrom(address,address,uint256) (#540-544):
External calls:
- _transfer(sender,recipient,amount) (#541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#922-929)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#908-914)
External calls sending eth:
- _transfer(sender,recipient,amount) (#541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#922-929)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#787)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#542)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#175-180) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#177)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#76-85) uses assembly
- INLINE ASM (#83)
Address._functionCallWithValue(address,bytes,uint256,string) (#111-128) uses assembly
- INLINE ASM (#120-123)
Do not use evm assembly.
Additional information: link
Cannes.includeInReward(address) (#600-611) has costly operations inside a loop:
- _excluded.pop() (#607)
Cannes.removeBotFromBlackList(address) (#652-662) has costly operations inside a loop:
- _blackListedBots.pop() (#658)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#111-128) is never used and should be removed
Address.functionCall(address,bytes) (#94-96) is never used and should be removed
Address.functionCall(address,bytes,string) (#98-100) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#102-104) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#106-109) is never used and should be removed
Address.isContract(address) (#76-85) is never used and should be removed
Address.sendValue(address,uint256) (#86-92) is never used and should be removed
Context._msgData() (#69-72) is never used and should be removed
SafeMath.mod(uint256,uint256) (#54-56) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#58-61) is never used and should be removed
Remove unused functions.
Additional information: link
Contract has 0% buy tax and 80% sell tax.
Taxes are extremely high (over 30%)
Additional information: link
Average 30d PancakeSwap liquidity is low.
Average 30d PancakeSwap volume is low.
Average 30d number of PancakeSwap swaps is low.
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 website, listings and other project-related information
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
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