Is there any other human who is able to manipulate market like @elonmusk? No. So why not do exactly what he says.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
ElonSays.swapAndLiquify(uint256) (#1129-1164) sends eth to arbitrary user
Dangerous calls:
- wallet.transfer(oneThirdD.div(2)) (#1152)
- marketingWallet.transfer(oneThirdM) (#1153)
- DevWallet.transfer(oneThirdD.div(2)) (#1154)
ElonSays.addLiquidity(uint256,uint256) (#1187-1200) sends eth to arbitrary user
Dangerous calls:
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1192-1199)
ElonSays.sendETHToMarketing(uint256) (#1446-1449) sends eth to arbitrary user
Dangerous calls:
- wallet.transfer(amount.div(2)) (#1447)
- rewardsWallet.transfer(amount.div(2)) (#1448)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in ElonSays._transfer(address,address,uint256) (#1051-1125):
External calls:
- swapAndLiquify(contractTokenBalance) (#1098)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1192-1199)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1178-1184)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1098)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1192-1199)
- wallet.transfer(oneThirdD.div(2)) (#1152)
- marketingWallet.transfer(oneThirdM) (#1153)
- DevWallet.transfer(oneThirdD.div(2)) (#1154)
- RewardsWallet.transfer(oneThirdR) (#1155)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1345)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1273)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1256)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1230)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1231)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1274)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1290)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1258)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1292)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1345)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1273)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1256)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1230)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1231)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1274)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1290)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1258)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1292)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1345)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1273)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1256)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1230)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1231)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1274)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1290)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1258)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1292)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- _rTotal = _rTotal.sub(rFee) (#1300)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- _rTotal = _rTotal.sub(rFee) (#1300)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- _rTotal = _rTotal.sub(rFee) (#1300)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1347)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1289)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1257)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1291)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1347)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1289)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1257)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1291)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1347)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1289)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1257)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1291)
Apply the check-effects-interactions pattern.
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.
ElonSays.unBlacklistMultipleWallets(address[]).i (#934) is a local variable never initialized
ElonSays.blacklistMultipleWallets(address[]).i (#917) 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
ElonSays.addLiquidity(uint256,uint256) (#1187-1200) ignores return value by pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1192-1199)
Ensure that all the return values of the function calls are used.
Additional information: link
ElonSays.allowance(address,address).owner (#939) shadows:
- Ownable.owner() (#419-421) (function)
ElonSays._approve(address,address,uint256).owner (#1025) shadows:
- Ownable.owner() (#419-421) (function)
Rename the local variables that shadow another component.
Additional information: link
ElonSays.setTaxFeePercent(uint256) (#1389-1391) should emit an event for:
- _taxFee = taxFee (#1390)
ElonSays.setLiquidityFeePercent(uint256) (#1393-1395) should emit an event for:
- _liquidityFee = liquidityFee (#1394)
ElonSays.setSellFeePercent(uint256) (#1397-1399) should emit an event for:
- _sellFee = sellFee (#1398)
ElonSays.setImpactTolerance(uint256) (#1401-1403) should emit an event for:
- impactTolerance = newImpact (#1402)
ElonSays.setImpactFee(uint256) (#1405-1407) should emit an event for:
- _impactFee = newIFee (#1406)
ElonSays.setMaxTxPercent(uint256) (#1409-1413) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 3) (#1410-1412)
ElonSays.setRepartition(uint256,uint256,uint256,uint256,uint256) (#1419-1425) should emit an event for:
- _forL = newforL (#1420)
- _forM = newforM (#1421)
- _forR = newforR (#1422)
- _forD = newforD (#1423)
- _forT = newforT (#1424)
ElonSays.setMaxWalletPercent(uint256) (#1457-1459) should emit an event for:
- _maxWalletToken = (_tTotal * maxWallPercent) / 100 (#1458)
ElonSays.cooldownEnabled(bool,uint8) (#1469-1472) should emit an event for:
- cooldownTimerInterval = _interval (#1471)
Emit an event for critical parameter changes.
Additional information: link
ElonSays.constructor(address,address,address,address).addr1 (#817) lacks a zero-check on :
- wallet = addr1 (#823)
ElonSays.constructor(address,address,address,address).addr2 (#817) lacks a zero-check on :
- marketingWallet = addr2 (#824)
ElonSays.constructor(address,address,address,address).addr3 (#817) lacks a zero-check on :
- DevWallet = addr3 (#825)
ElonSays.constructor(address,address,address,address).addr4 (#817) lacks a zero-check on :
- rewardsWallet = addr4 (#826)
ElonSays.setPair(address)._pancakePair (#852) lacks a zero-check on :
- pancakePair = _pancakePair (#853)
ElonSays.safeTransfer(address,address,uint256).to (#1474) lacks a zero-check on :
- (success,data) = token.call(abi.encodeWithSelector(0xa9059cbb,to,value)) (#1476)
ElonSays.safeTransfer(address,address,uint256).token (#1474) lacks a zero-check on :
- (success,data) = token.call(abi.encodeWithSelector(0xa9059cbb,to,value)) (#1476)
ElonSays.clearStuckBalance(address,uint256).target (#1480) lacks a zero-check on :
- address(target).transfer(amountBNB * amountPercentage / 100) (#1482)
Check that the address is not zero.
Additional information: link
Reentrancy in ElonSays._transfer(address,address,uint256) (#1051-1125):
External calls:
- swapAndLiquify(contractTokenBalance) (#1098)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1192-1199)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1178-1184)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1098)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1192-1199)
- wallet.transfer(oneThirdD.div(2)) (#1152)
- marketingWallet.transfer(oneThirdM) (#1153)
- DevWallet.transfer(oneThirdD.div(2)) (#1154)
- RewardsWallet.transfer(oneThirdR) (#1155)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- _liquidityFee = _previousLiquidityFee (#1377)
- _liquidityFee = _liquidityFee + _sellFee (#1268)
- _liquidityFee = _liquidityFee + _sellFee (#1284)
- _liquidityFee = _liquidityFee + _sellFee (#1251)
- _liquidityFee = _liquidityFee + _sellFee (#1225)
- _liquidityFee = _liquidityFee (#1286)
- _liquidityFee = _liquidityFee (#1253)
- _liquidityFee = _liquidityFee (#1227)
- _liquidityFee = _liquidityFee (#1270)
- _liquidityFee = 0 (#1371)
- _liquidityFee = tFeeSave (#1234)
- _liquidityFee = tFeeSave (#1277)
- _liquidityFee = tFeeSave (#1261)
- _liquidityFee = tFeeSave (#1295)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- _liquidityFee = _previousLiquidityFee (#1377)
- _liquidityFee = _liquidityFee + _sellFee (#1268)
- _liquidityFee = _liquidityFee + _sellFee (#1284)
- _liquidityFee = _liquidityFee + _sellFee (#1251)
- _liquidityFee = _liquidityFee + _sellFee (#1225)
- _liquidityFee = _liquidityFee (#1286)
- _liquidityFee = _liquidityFee (#1253)
- _liquidityFee = _liquidityFee (#1227)
- _liquidityFee = _liquidityFee (#1270)
- _liquidityFee = 0 (#1371)
- _liquidityFee = tFeeSave (#1234)
- _liquidityFee = tFeeSave (#1277)
- _liquidityFee = tFeeSave (#1261)
- _liquidityFee = tFeeSave (#1295)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- _liquidityFee = _previousLiquidityFee (#1377)
- _liquidityFee = _liquidityFee + _sellFee (#1268)
- _liquidityFee = _liquidityFee + _sellFee (#1284)
- _liquidityFee = _liquidityFee + _sellFee (#1251)
- _liquidityFee = _liquidityFee + _sellFee (#1225)
- _liquidityFee = _liquidityFee (#1286)
- _liquidityFee = _liquidityFee (#1253)
- _liquidityFee = _liquidityFee (#1227)
- _liquidityFee = _liquidityFee (#1270)
- _liquidityFee = 0 (#1371)
- _liquidityFee = tFeeSave (#1234)
- _liquidityFee = tFeeSave (#1277)
- _liquidityFee = tFeeSave (#1261)
- _liquidityFee = tFeeSave (#1295)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- _previousLiquidityFee = _liquidityFee (#1367)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- _previousLiquidityFee = _liquidityFee (#1367)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- _previousLiquidityFee = _liquidityFee (#1367)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- _previousSellFee = _sellFee (#1368)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- _previousSellFee = _sellFee (#1368)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- _previousSellFee = _sellFee (#1368)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- _previousTaxFee = _taxFee (#1366)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- _previousTaxFee = _taxFee (#1366)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- _previousTaxFee = _taxFee (#1366)
- _sellFee = _sellFee + _impactFee (#1112)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- _sellFee = _previousSellFee (#1378)
- _sellFee = 0 (#1372)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- _sellFee = _previousSellFee (#1378)
- _sellFee = 0 (#1372)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- _sellFee = _previousSellFee (#1378)
- _sellFee = 0 (#1372)
- _sellFee = _beforeImpactSellFee (#1124)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1301)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1301)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1301)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- _taxFee = _previousTaxFee (#1376)
- _taxFee = 0 (#1370)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- _taxFee = _previousTaxFee (#1376)
- _taxFee = 0 (#1370)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- _taxFee = _previousTaxFee (#1376)
- _taxFee = 0 (#1370)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- tFeeSave = _liquidityFee (#1223)
- tFeeSave = _liquidityFee (#1282)
- tFeeSave = _liquidityFee (#1266)
- tFeeSave = _liquidityFee (#1249)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- tFeeSave = _liquidityFee (#1223)
- tFeeSave = _liquidityFee (#1282)
- tFeeSave = _liquidityFee (#1266)
- tFeeSave = _liquidityFee (#1249)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- tFeeSave = _liquidityFee (#1223)
- tFeeSave = _liquidityFee (#1282)
- tFeeSave = _liquidityFee (#1266)
- tFeeSave = _liquidityFee (#1249)
Reentrancy in ElonSays.constructor(address,address,address,address) (#817-849):
External calls:
- pancakePair = IPancakeFactory(pancakeRouter.factory()).createPair(WBNB,address(this)) (#820)
State variables written after the call(s):
- DevWallet = addr3 (#825)
- _allowances[address(this)][address(pancakeRouter)] = uint256(- 1) (#821)
- _isExcluded[DEAD] = true (#847)
- _isExcludedFromFee[owner()] = true (#830)
- _isExcludedFromFee[address(this)] = true (#831)
- _isExcludedFromFee[wallet] = true (#832)
- _isExcludedFromFee[marketingWallet] = true (#833)
- _isExcludedFromFee[DevWallet] = true (#834)
- _isExcludedFromFee[RewardsWallet] = true (#835)
- authorizations[msg.sender] = true (#843)
- authorizations[RewardsWallet] = true (#844)
- authorizations[owner()] = true (#845)
- isTimelockExempt[msg.sender] = true (#839)
- isTimelockExempt[DEAD] = true (#840)
- isTimelockExempt[address(this)] = true (#841)
- isTxLimitExempt[msg.sender] = true (#837)
- marketingWallet = addr2 (#824)
- rewardsWallet = addr4 (#826)
- wallet = addr1 (#823)
Reentrancy in ElonSays.swapAndLiquify(uint256) (#1129-1164):
External calls:
- swapTokensForEth(half.add(forMarketing).add(forRewards)) (#1144)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1178-1184)
- addLiquidity(otherHalf,oneThirdL) (#1161)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1192-1199)
External calls sending eth:
- wallet.transfer(oneThirdD.div(2)) (#1152)
- marketingWallet.transfer(oneThirdM) (#1153)
- DevWallet.transfer(oneThirdD.div(2)) (#1154)
- RewardsWallet.transfer(oneThirdR) (#1155)
- addLiquidity(otherHalf,oneThirdL) (#1161)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1192-1199)
State variables written after the call(s):
- addLiquidity(otherHalf,oneThirdL) (#1161)
- _allowances[owner][spender] = amount (#1029)
Reentrancy in ElonSays.transferFrom(address,address,uint256) (#948-952):
External calls:
- _transfer(sender,recipient,amount) (#949)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1192-1199)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1178-1184)
External calls sending eth:
- _transfer(sender,recipient,amount) (#949)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1192-1199)
- wallet.transfer(oneThirdD.div(2)) (#1152)
- marketingWallet.transfer(oneThirdM) (#1153)
- DevWallet.transfer(oneThirdD.div(2)) (#1154)
- RewardsWallet.transfer(oneThirdR) (#1155)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#950)
- _allowances[owner][spender] = amount (#1029)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ElonSays._transfer(address,address,uint256) (#1051-1125):
External calls:
- swapAndLiquify(contractTokenBalance) (#1098)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1192-1199)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1178-1184)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1098)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1192-1199)
- wallet.transfer(oneThirdD.div(2)) (#1152)
- marketingWallet.transfer(oneThirdM) (#1153)
- DevWallet.transfer(oneThirdD.div(2)) (#1154)
- RewardsWallet.transfer(oneThirdR) (#1155)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1278)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- Transfer(sender,recipient,tTransferAmount) (#1278)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- Transfer(sender,recipient,tTransferAmount) (#1235)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- Transfer(sender,recipient,tTransferAmount) (#1235)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- Transfer(sender,recipient,tTransferAmount) (#1278)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- Transfer(sender,recipient,tTransferAmount) (#1235)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- Transfer(sender,recipient,tTransferAmount) (#1262)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- Transfer(sender,recipient,tTransferAmount) (#1262)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- Transfer(sender,recipient,tTransferAmount) (#1262)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- Transfer(sender,recipient,tTransferAmount) (#1296)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- Transfer(sender,recipient,tTransferAmount) (#1296)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- Transfer(sender,recipient,tTransferAmount) (#1296)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
Reentrancy in ElonSays.constructor(address,address,address,address) (#817-849):
External calls:
- pancakePair = IPancakeFactory(pancakeRouter.factory()).createPair(WBNB,address(this)) (#820)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#848)
Reentrancy in ElonSays.swapAndLiquify(uint256) (#1129-1164):
External calls:
- swapTokensForEth(half.add(forMarketing).add(forRewards)) (#1144)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1178-1184)
- addLiquidity(otherHalf,oneThirdL) (#1161)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1192-1199)
External calls sending eth:
- wallet.transfer(oneThirdD.div(2)) (#1152)
- marketingWallet.transfer(oneThirdM) (#1153)
- DevWallet.transfer(oneThirdD.div(2)) (#1154)
- RewardsWallet.transfer(oneThirdR) (#1155)
- addLiquidity(otherHalf,oneThirdL) (#1161)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1192-1199)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1030)
- addLiquidity(otherHalf,oneThirdL) (#1161)
- SwapAndLiquify(half,oneThirdL,otherHalf) (#1163)
Reentrancy in ElonSays.transferFrom(address,address,uint256) (#948-952):
External calls:
- _transfer(sender,recipient,amount) (#949)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1192-1199)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1178-1184)
External calls sending eth:
- _transfer(sender,recipient,amount) (#949)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1192-1199)
- wallet.transfer(oneThirdD.div(2)) (#1152)
- marketingWallet.transfer(oneThirdM) (#1153)
- DevWallet.transfer(oneThirdD.div(2)) (#1154)
- RewardsWallet.transfer(oneThirdR) (#1155)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1030)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#950)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#469-474) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked) (#471)
ElonSays._transfer(address,address,uint256) (#1051-1125) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[to] < block.timestamp,Please wait for cooldown between buys) (#1079)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#270-279) uses assembly
- INLINE ASM (#277)
Address._functionCallWithValue(address,bytes,uint256,string) (#363-384) uses assembly
- INLINE ASM (#376-379)
Do not use evm assembly.
Additional information: link
ElonSays.blacklistSingleWallet(address) (#911-914) compares to a boolean constant:
-_isBlacklisted[addresses] == true (#912)
ElonSays.isBlacklisted(address) (#922-925) compares to a boolean constant:
-_isBlacklisted[addresses] == true (#923)
ElonSays.unBlacklistSingleWallet(address) (#928-931) compares to a boolean constant:
-_isBlacklisted[addresses] == false (#929)
ElonSays._transfer(address,address,uint256) (#1051-1125) compares to a boolean constant:
-require(bool,string)(_isBlacklisted[from] == false || to == address(0),You are banned) (#1061)
ElonSays._transfer(address,address,uint256) (#1051-1125) compares to a boolean constant:
-require(bool,string)(_isBlacklisted[to] == false,The recipient is banned) (#1062)
Remove the equality to the boolean constant.
Additional information: link
ElonSays.removeBotFromBlackList(address) (#895-905) has costly operations inside a loop:
- _blackListedBots.pop() (#901)
ElonSays.includeInReward(address) (#1012-1023) has costly operations inside a loop:
- _excluded.pop() (#1019)
ElonSays.removeAllFee() (#1363-1373) has costly operations inside a loop:
- _previousTaxFee = _taxFee (#1366)
ElonSays.removeAllFee() (#1363-1373) has costly operations inside a loop:
- _previousLiquidityFee = _liquidityFee (#1367)
ElonSays.removeAllFee() (#1363-1373) has costly operations inside a loop:
- _previousSellFee = _sellFee (#1368)
ElonSays.removeAllFee() (#1363-1373) has costly operations inside a loop:
- _taxFee = 0 (#1370)
ElonSays.removeAllFee() (#1363-1373) has costly operations inside a loop:
- _liquidityFee = 0 (#1371)
ElonSays.removeAllFee() (#1363-1373) has costly operations inside a loop:
- _sellFee = 0 (#1372)
ElonSays._transferFromExcluded(address,address,uint256,uint256) (#1265-1279) has costly operations inside a loop:
- tFeeSave = _liquidityFee (#1266)
ElonSays._transferFromExcluded(address,address,uint256,uint256) (#1265-1279) has costly operations inside a loop:
- _liquidityFee = _liquidityFee + _sellFee (#1268)
ElonSays._reflectFee(uint256,uint256) (#1299-1302) has costly operations inside a loop:
- _rTotal = _rTotal.sub(rFee) (#1300)
ElonSays._reflectFee(uint256,uint256) (#1299-1302) has costly operations inside a loop:
- _tFeeTotal = _tFeeTotal.add(tFee) (#1301)
ElonSays._transferFromExcluded(address,address,uint256,uint256) (#1265-1279) has costly operations inside a loop:
- _liquidityFee = tFeeSave (#1277)
ElonSays._transferFromExcluded(address,address,uint256,uint256) (#1265-1279) has costly operations inside a loop:
- _liquidityFee = _liquidityFee (#1270)
ElonSays.restoreAllFee() (#1375-1379) has costly operations inside a loop:
- _taxFee = _previousTaxFee (#1376)
ElonSays.restoreAllFee() (#1375-1379) has costly operations inside a loop:
- _liquidityFee = _previousLiquidityFee (#1377)
ElonSays.restoreAllFee() (#1375-1379) has costly operations inside a loop:
- _sellFee = _previousSellFee (#1378)
ElonSays._transferToExcluded(address,address,uint256,uint256) (#1248-1263) has costly operations inside a loop:
- tFeeSave = _liquidityFee (#1249)
ElonSays._transferToExcluded(address,address,uint256,uint256) (#1248-1263) has costly operations inside a loop:
- _liquidityFee = _liquidityFee + _sellFee (#1251)
ElonSays._transferToExcluded(address,address,uint256,uint256) (#1248-1263) has costly operations inside a loop:
- _liquidityFee = tFeeSave (#1261)
ElonSays._transferToExcluded(address,address,uint256,uint256) (#1248-1263) has costly operations inside a loop:
- _liquidityFee = _liquidityFee (#1253)
ElonSays._transferStandard(address,address,uint256,uint256) (#1222-1237) has costly operations inside a loop:
- tFeeSave = _liquidityFee (#1223)
ElonSays._transferStandard(address,address,uint256,uint256) (#1222-1237) has costly operations inside a loop:
- _liquidityFee = _liquidityFee + _sellFee (#1225)
ElonSays._transferStandard(address,address,uint256,uint256) (#1222-1237) has costly operations inside a loop:
- _liquidityFee = tFeeSave (#1234)
ElonSays._transferStandard(address,address,uint256,uint256) (#1222-1237) has costly operations inside a loop:
- _liquidityFee = _liquidityFee (#1227)
ElonSays._transferBothExcluded(address,address,uint256,uint256) (#1281-1297) has costly operations inside a loop:
- tFeeSave = _liquidityFee (#1282)
ElonSays._transferBothExcluded(address,address,uint256,uint256) (#1281-1297) has costly operations inside a loop:
- _liquidityFee = _liquidityFee + _sellFee (#1284)
ElonSays._transferBothExcluded(address,address,uint256,uint256) (#1281-1297) has costly operations inside a loop:
- _liquidityFee = tFeeSave (#1295)
ElonSays._transferBothExcluded(address,address,uint256,uint256) (#1281-1297) has costly operations inside a loop:
- _liquidityFee = _liquidityFee (#1286)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#363-384) is never used and should be removed
Address.functionCall(address,bytes) (#323-325) is never used and should be removed
Address.functionCall(address,bytes,string) (#333-335) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#348-350) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#358-361) is never used and should be removed
Address.isContract(address) (#270-279) is never used and should be removed
Address.sendValue(address,uint256) (#297-303) is never used and should be removed
Context._msgData() (#9-12) is never used and should be removed
ElonSays._transferStandard(address,address,uint256) (#1239-1246) is never used and should be removed
ElonSays.checkTxLimit(address,uint256) (#1431-1433) is never used and should be removed
SafeMath.mod(uint256,uint256) (#227-229) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#243-246) is never used and should be removed
Remove unused functions.
Additional information: link
ElonSays._rTotal (#737) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
ElonSays._previousTaxFee (#746) is set pre-construction with a non-constant function or state variable:
- _taxFee
ElonSays._previousLiquidityFee (#748) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
ElonSays._previousSellFee (#750) is set pre-construction with a non-constant function or state variable:
- _sellFee
ElonSays._maxTxAmount (#765) is set pre-construction with a non-constant function or state variable:
- (_tTotal * 10) / 1000
ElonSays._maxWalletToken (#769) is set pre-construction with a non-constant function or state variable:
- (_tTotal * 2) / 100
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) (#297-303):
- (success) = recipient.call{value: amount}() (#301)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#363-384):
- (success,returndata) = target.call{value: weiValue}(data) (#367)
Low level call in ElonSays.safeTransfer(address,address,uint256) (#1474-1478):
- (success,data) = token.call(abi.encodeWithSelector(0xa9059cbb,to,value)) (#1476)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Ownable.RewardsWallet (#453) is not in mixedCase
Function IPancakePair.DOMAIN_SEPARATOR() (#546) is not in mixedCase
Function IPancakePair.PERMIT_TYPEHASH() (#547) is not in mixedCase
Function IPancakePair.MINIMUM_LIQUIDITY() (#564) is not in mixedCase
Function IPancakeRouter01.WETH() (#586) is not in mixedCase
Parameter ElonSays.setPair(address)._pancakePair (#852) is not in mixedCase
Parameter ElonSays.setRouter(address)._newPancakeRouter (#857) is not in mixedCase
Parameter ElonSays.expectedRewards(address)._sender (#1033) is not in mixedCase
Function ElonSays.ETHBalance() (#1166-1168) is not in mixedCase
Parameter ElonSays.calculateTaxFee(uint256)._amount (#1350) is not in mixedCase
Parameter ElonSays.calculateLiquidityFee(uint256)._amount (#1356) is not in mixedCase
Parameter ElonSays.setSwapAndLiquifyEnabled(bool)._enabled (#1451) is not in mixedCase
Parameter ElonSays.cooldownEnabled(bool,uint8)._status (#1469) is not in mixedCase
Parameter ElonSays.cooldownEnabled(bool,uint8)._interval (#1469) is not in mixedCase
Function ElonSays.airdrop_1(address,address[],uint256[]) (#1485-1502) is not in mixedCase
Function ElonSays.airdrop_2(address,address[],uint256) (#1504-1517) is not in mixedCase
Variable ElonSays._taxFee (#745) is not in mixedCase
Variable ElonSays._liquidityFee (#747) is not in mixedCase
Variable ElonSays._sellFee (#749) is not in mixedCase
Variable ElonSays._impactFee (#752) is not in mixedCase
Variable ElonSays._maxTxAmount (#765) is not in mixedCase
Variable ElonSays._maxWalletToken (#769) is not in mixedCase
Variable ElonSays.DEAD (#771) is not in mixedCase
Variable ElonSays.WBNB (#772) is not in mixedCase
Variable ElonSays.DevWallet (#776) 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 ElonSays._transfer(address,address,uint256) (#1051-1125):
External calls:
- swapAndLiquify(contractTokenBalance) (#1098)
- wallet.transfer(oneThirdD.div(2)) (#1152)
- marketingWallet.transfer(oneThirdM) (#1153)
- DevWallet.transfer(oneThirdD.div(2)) (#1154)
- RewardsWallet.transfer(oneThirdR) (#1155)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1098)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1192-1199)
- wallet.transfer(oneThirdD.div(2)) (#1152)
- marketingWallet.transfer(oneThirdM) (#1153)
- DevWallet.transfer(oneThirdD.div(2)) (#1154)
- RewardsWallet.transfer(oneThirdR) (#1155)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- _liquidityFee = _previousLiquidityFee (#1377)
- _liquidityFee = _liquidityFee + _sellFee (#1268)
- _liquidityFee = _liquidityFee + _sellFee (#1284)
- _liquidityFee = _liquidityFee + _sellFee (#1251)
- _liquidityFee = _liquidityFee + _sellFee (#1225)
- _liquidityFee = _liquidityFee (#1286)
- _liquidityFee = _liquidityFee (#1253)
- _liquidityFee = _liquidityFee (#1227)
- _liquidityFee = _liquidityFee (#1270)
- _liquidityFee = 0 (#1371)
- _liquidityFee = tFeeSave (#1234)
- _liquidityFee = tFeeSave (#1277)
- _liquidityFee = tFeeSave (#1261)
- _liquidityFee = tFeeSave (#1295)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- _liquidityFee = _previousLiquidityFee (#1377)
- _liquidityFee = _liquidityFee + _sellFee (#1268)
- _liquidityFee = _liquidityFee + _sellFee (#1284)
- _liquidityFee = _liquidityFee + _sellFee (#1251)
- _liquidityFee = _liquidityFee + _sellFee (#1225)
- _liquidityFee = _liquidityFee (#1286)
- _liquidityFee = _liquidityFee (#1253)
- _liquidityFee = _liquidityFee (#1227)
- _liquidityFee = _liquidityFee (#1270)
- _liquidityFee = 0 (#1371)
- _liquidityFee = tFeeSave (#1234)
- _liquidityFee = tFeeSave (#1277)
- _liquidityFee = tFeeSave (#1261)
- _liquidityFee = tFeeSave (#1295)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- _liquidityFee = _previousLiquidityFee (#1377)
- _liquidityFee = _liquidityFee + _sellFee (#1268)
- _liquidityFee = _liquidityFee + _sellFee (#1284)
- _liquidityFee = _liquidityFee + _sellFee (#1251)
- _liquidityFee = _liquidityFee + _sellFee (#1225)
- _liquidityFee = _liquidityFee (#1286)
- _liquidityFee = _liquidityFee (#1253)
- _liquidityFee = _liquidityFee (#1227)
- _liquidityFee = _liquidityFee (#1270)
- _liquidityFee = 0 (#1371)
- _liquidityFee = tFeeSave (#1234)
- _liquidityFee = tFeeSave (#1277)
- _liquidityFee = tFeeSave (#1261)
- _liquidityFee = tFeeSave (#1295)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- _previousLiquidityFee = _liquidityFee (#1367)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- _previousLiquidityFee = _liquidityFee (#1367)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- _previousLiquidityFee = _liquidityFee (#1367)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- _previousSellFee = _sellFee (#1368)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- _previousSellFee = _sellFee (#1368)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- _previousSellFee = _sellFee (#1368)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- _previousTaxFee = _taxFee (#1366)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- _previousTaxFee = _taxFee (#1366)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- _previousTaxFee = _taxFee (#1366)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1345)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1273)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1256)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1230)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1231)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1274)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1290)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1258)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1292)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1345)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1273)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1256)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1230)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1231)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1274)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1290)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1258)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1292)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1345)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1273)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1256)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1230)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1231)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1274)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1290)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1258)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1292)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- _rTotal = _rTotal.sub(rFee) (#1300)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- _rTotal = _rTotal.sub(rFee) (#1300)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- _rTotal = _rTotal.sub(rFee) (#1300)
- _sellFee = _sellFee + _impactFee (#1112)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- _sellFee = _previousSellFee (#1378)
- _sellFee = 0 (#1372)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- _sellFee = _previousSellFee (#1378)
- _sellFee = 0 (#1372)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- _sellFee = _previousSellFee (#1378)
- _sellFee = 0 (#1372)
- _sellFee = _beforeImpactSellFee (#1124)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1301)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1301)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1301)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1347)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1289)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1257)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1291)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1347)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1289)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1257)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1291)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1347)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1289)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1257)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1291)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- _taxFee = _previousTaxFee (#1376)
- _taxFee = 0 (#1370)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- _taxFee = _previousTaxFee (#1376)
- _taxFee = 0 (#1370)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- _taxFee = _previousTaxFee (#1376)
- _taxFee = 0 (#1370)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- tFeeSave = _liquidityFee (#1223)
- tFeeSave = _liquidityFee (#1282)
- tFeeSave = _liquidityFee (#1266)
- tFeeSave = _liquidityFee (#1249)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- tFeeSave = _liquidityFee (#1223)
- tFeeSave = _liquidityFee (#1282)
- tFeeSave = _liquidityFee (#1266)
- tFeeSave = _liquidityFee (#1249)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- tFeeSave = _liquidityFee (#1223)
- tFeeSave = _liquidityFee (#1282)
- tFeeSave = _liquidityFee (#1266)
- tFeeSave = _liquidityFee (#1249)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1278)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- Transfer(sender,recipient,tTransferAmount) (#1235)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- Transfer(sender,recipient,tTransferAmount) (#1235)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- Transfer(sender,recipient,tTransferAmount) (#1278)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- Transfer(sender,recipient,tTransferAmount) (#1278)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- Transfer(sender,recipient,tTransferAmount) (#1235)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- Transfer(sender,recipient,tTransferAmount) (#1262)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- Transfer(sender,recipient,tTransferAmount) (#1262)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- Transfer(sender,recipient,tTransferAmount) (#1262)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
- Transfer(sender,recipient,tTransferAmount) (#1296)
- _tokenTransfer(from,to,amount,takeFee,1) (#1119)
- Transfer(sender,recipient,tTransferAmount) (#1296)
- _tokenTransfer(from,to,amount,takeFee,0) (#1121)
- Transfer(sender,recipient,tTransferAmount) (#1296)
- _tokenTransfer(from,to,amount,takeFee,0) (#1117)
Reentrancy in ElonSays.swapAndLiquify(uint256) (#1129-1164):
External calls:
- wallet.transfer(oneThirdD.div(2)) (#1152)
- marketingWallet.transfer(oneThirdM) (#1153)
- DevWallet.transfer(oneThirdD.div(2)) (#1154)
- RewardsWallet.transfer(oneThirdR) (#1155)
External calls sending eth:
- wallet.transfer(oneThirdD.div(2)) (#1152)
- marketingWallet.transfer(oneThirdM) (#1153)
- DevWallet.transfer(oneThirdD.div(2)) (#1154)
- RewardsWallet.transfer(oneThirdR) (#1155)
- addLiquidity(otherHalf,oneThirdL) (#1161)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1192-1199)
State variables written after the call(s):
- addLiquidity(otherHalf,oneThirdL) (#1161)
- _allowances[owner][spender] = amount (#1029)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1030)
- addLiquidity(otherHalf,oneThirdL) (#1161)
- SwapAndLiquify(half,oneThirdL,otherHalf) (#1163)
Reentrancy in ElonSays.transferFrom(address,address,uint256) (#948-952):
External calls:
- _transfer(sender,recipient,amount) (#949)
- wallet.transfer(oneThirdD.div(2)) (#1152)
- marketingWallet.transfer(oneThirdM) (#1153)
- DevWallet.transfer(oneThirdD.div(2)) (#1154)
- RewardsWallet.transfer(oneThirdR) (#1155)
External calls sending eth:
- _transfer(sender,recipient,amount) (#949)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1192-1199)
- wallet.transfer(oneThirdD.div(2)) (#1152)
- marketingWallet.transfer(oneThirdM) (#1153)
- DevWallet.transfer(oneThirdD.div(2)) (#1154)
- RewardsWallet.transfer(oneThirdR) (#1155)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#950)
- _allowances[owner][spender] = amount (#1029)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1030)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#950)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#591) is too similar to IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#592)
Variable ElonSays._transferBothExcluded(address,address,uint256,uint256).rTransferAmount (#1288) is too similar to ElonSays._transferBothExcluded(address,address,uint256,uint256).tTransferAmount (#1288)
Variable ElonSays._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1321) is too similar to ElonSays._transferStandard(address,address,uint256).tTransferAmount (#1240)
Variable ElonSays._transferStandard(address,address,uint256,uint256).rTransferAmount (#1229) is too similar to ElonSays._getTValues(uint256).tTransferAmount (#1313)
Variable ElonSays._transferFromExcluded(address,address,uint256,uint256).rTransferAmount (#1272) is too similar to ElonSays._transferFromExcluded(address,address,uint256,uint256).tTransferAmount (#1272)
Variable ElonSays._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1321) is too similar to ElonSays._transferToExcluded(address,address,uint256,uint256).tTransferAmount (#1255)
Variable ElonSays.reflectionFromToken(uint256,bool).rTransferAmount (#991) is too similar to ElonSays._transferStandard(address,address,uint256).tTransferAmount (#1240)
Variable ElonSays._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1321) is too similar to ElonSays._transferBothExcluded(address,address,uint256,uint256).tTransferAmount (#1288)
Variable ElonSays._transferStandard(address,address,uint256,uint256).rTransferAmount (#1229) is too similar to ElonSays._getValues(uint256).tTransferAmount (#1305)
Variable ElonSays.reflectionFromToken(uint256,bool).rTransferAmount (#991) is too similar to ElonSays._transferToExcluded(address,address,uint256,uint256).tTransferAmount (#1255)
Variable ElonSays.reflectionFromToken(uint256,bool).rTransferAmount (#991) is too similar to ElonSays._transferBothExcluded(address,address,uint256,uint256).tTransferAmount (#1288)
Variable ElonSays._transferStandard(address,address,uint256).rTransferAmount (#1240) is too similar to ElonSays._getValues(uint256).tTransferAmount (#1305)
Variable ElonSays._transferToExcluded(address,address,uint256,uint256).rTransferAmount (#1255) is too similar to ElonSays._transferToExcluded(address,address,uint256,uint256).tTransferAmount (#1255)
Variable ElonSays._transferToExcluded(address,address,uint256,uint256).rTransferAmount (#1255) is too similar to ElonSays._transferBothExcluded(address,address,uint256,uint256).tTransferAmount (#1288)
Variable ElonSays._transferStandard(address,address,uint256,uint256).rTransferAmount (#1229) is too similar to ElonSays._transferStandard(address,address,uint256,uint256).tTransferAmount (#1229)
Variable ElonSays._transferStandard(address,address,uint256,uint256).rTransferAmount (#1229) is too similar to ElonSays._transferFromExcluded(address,address,uint256,uint256).tTransferAmount (#1272)
Variable ElonSays._transferStandard(address,address,uint256).rTransferAmount (#1240) is too similar to ElonSays._transferStandard(address,address,uint256,uint256).tTransferAmount (#1229)
Variable ElonSays._transferStandard(address,address,uint256).rTransferAmount (#1240) is too similar to ElonSays._transferFromExcluded(address,address,uint256,uint256).tTransferAmount (#1272)
Variable ElonSays._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1321) is too similar to ElonSays._getTValues(uint256).tTransferAmount (#1313)
Variable ElonSays._transferFromExcluded(address,address,uint256,uint256).rTransferAmount (#1272) is too similar to ElonSays._transferToExcluded(address,address,uint256,uint256).tTransferAmount (#1255)
Variable ElonSays._transferFromExcluded(address,address,uint256,uint256).rTransferAmount (#1272) is too similar to ElonSays._transferBothExcluded(address,address,uint256,uint256).tTransferAmount (#1288)
Variable ElonSays._transferStandard(address,address,uint256).rTransferAmount (#1240) is too similar to ElonSays._transferStandard(address,address,uint256).tTransferAmount (#1240)
Variable ElonSays._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1321) is too similar to ElonSays._getValues(uint256).tTransferAmount (#1305)
Variable ElonSays._transferStandard(address,address,uint256,uint256).rTransferAmount (#1229) is too similar to ElonSays._transferStandard(address,address,uint256).tTransferAmount (#1240)
Variable ElonSays._transferStandard(address,address,uint256).rTransferAmount (#1240) is too similar to ElonSays._transferToExcluded(address,address,uint256,uint256).tTransferAmount (#1255)
Variable ElonSays._transferStandard(address,address,uint256,uint256).rTransferAmount (#1229) is too similar to ElonSays._transferBothExcluded(address,address,uint256,uint256).tTransferAmount (#1288)
Variable ElonSays._transferStandard(address,address,uint256,uint256).rTransferAmount (#1229) is too similar to ElonSays._transferToExcluded(address,address,uint256,uint256).tTransferAmount (#1255)
Variable ElonSays._transferStandard(address,address,uint256).rTransferAmount (#1240) is too similar to ElonSays._transferBothExcluded(address,address,uint256,uint256).tTransferAmount (#1288)
Variable ElonSays.reflectionFromToken(uint256,bool).rTransferAmount (#991) is too similar to ElonSays._getValues(uint256).tTransferAmount (#1305)
Variable ElonSays._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1321) is too similar to ElonSays._transferStandard(address,address,uint256,uint256).tTransferAmount (#1229)
Variable ElonSays._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1321) is too similar to ElonSays._transferFromExcluded(address,address,uint256,uint256).tTransferAmount (#1272)
Variable ElonSays.reflectionFromToken(uint256,bool).rTransferAmount (#991) is too similar to ElonSays._transferFromExcluded(address,address,uint256,uint256).tTransferAmount (#1272)
Variable ElonSays._transferToExcluded(address,address,uint256,uint256).rTransferAmount (#1255) is too similar to ElonSays._getValues(uint256).tTransferAmount (#1305)
Variable ElonSays._transferFromExcluded(address,address,uint256,uint256).rTransferAmount (#1272) is too similar to ElonSays._getValues(uint256).tTransferAmount (#1305)
Variable ElonSays._getValues(uint256).rTransferAmount (#1306) is too similar to ElonSays._transferBothExcluded(address,address,uint256,uint256).tTransferAmount (#1288)
Variable ElonSays._getValues(uint256).rTransferAmount (#1306) is too similar to ElonSays._transferStandard(address,address,uint256).tTransferAmount (#1240)
Variable ElonSays.reflectionFromToken(uint256,bool).rTransferAmount (#991) is too similar to ElonSays._transferStandard(address,address,uint256,uint256).tTransferAmount (#1229)
Variable ElonSays._transferBothExcluded(address,address,uint256,uint256).rTransferAmount (#1288) is too similar to ElonSays._getValues(uint256).tTransferAmount (#1305)
Variable ElonSays._transferFromExcluded(address,address,uint256,uint256).rTransferAmount (#1272) is too similar to ElonSays._getTValues(uint256).tTransferAmount (#1313)
Variable ElonSays._getValues(uint256).rTransferAmount (#1306) is too similar to ElonSays._getValues(uint256).tTransferAmount (#1305)
Variable ElonSays._transferToExcluded(address,address,uint256,uint256).rTransferAmount (#1255) is too similar to ElonSays._transferFromExcluded(address,address,uint256,uint256).tTransferAmount (#1272)
Variable ElonSays._transferBothExcluded(address,address,uint256,uint256).rTransferAmount (#1288) is too similar to ElonSays._transferFromExcluded(address,address,uint256,uint256).tTransferAmount (#1272)
Variable ElonSays._getValues(uint256).rTransferAmount (#1306) is too similar to ElonSays._transferFromExcluded(address,address,uint256,uint256).tTransferAmount (#1272)
Variable ElonSays._transferFromExcluded(address,address,uint256,uint256).rTransferAmount (#1272) is too similar to ElonSays._transferStandard(address,address,uint256,uint256).tTransferAmount (#1229)
Variable ElonSays._transferStandard(address,address,uint256).rTransferAmount (#1240) is too similar to ElonSays._getTValues(uint256).tTransferAmount (#1313)
Variable ElonSays._transferBothExcluded(address,address,uint256,uint256).rTransferAmount (#1288) is too similar to ElonSays._transferToExcluded(address,address,uint256,uint256).tTransferAmount (#1255)
Variable ElonSays._transferBothExcluded(address,address,uint256,uint256).rTransferAmount (#1288) is too similar to ElonSays._getTValues(uint256).tTransferAmount (#1313)
Variable ElonSays._transferToExcluded(address,address,uint256,uint256).rTransferAmount (#1255) is too similar to ElonSays._getTValues(uint256).tTransferAmount (#1313)
Variable ElonSays._transferFromExcluded(address,address,uint256,uint256).rTransferAmount (#1272) is too similar to ElonSays._transferStandard(address,address,uint256).tTransferAmount (#1240)
Variable ElonSays._transferBothExcluded(address,address,uint256,uint256).rTransferAmount (#1288) is too similar to ElonSays._transferStandard(address,address,uint256).tTransferAmount (#1240)
Variable ElonSays._getValues(uint256).rTransferAmount (#1306) is too similar to ElonSays._transferToExcluded(address,address,uint256,uint256).tTransferAmount (#1255)
Variable ElonSays._getValues(uint256).rTransferAmount (#1306) is too similar to ElonSays._getTValues(uint256).tTransferAmount (#1313)
Variable ElonSays._transferBothExcluded(address,address,uint256,uint256).rTransferAmount (#1288) is too similar to ElonSays._transferStandard(address,address,uint256,uint256).tTransferAmount (#1229)
Variable ElonSays._transferToExcluded(address,address,uint256,uint256).rTransferAmount (#1255) is too similar to ElonSays._transferStandard(address,address,uint256,uint256).tTransferAmount (#1229)
Variable ElonSays._getValues(uint256).rTransferAmount (#1306) is too similar to ElonSays._transferStandard(address,address,uint256,uint256).tTransferAmount (#1229)
Variable ElonSays.reflectionFromToken(uint256,bool).rTransferAmount (#991) is too similar to ElonSays._getTValues(uint256).tTransferAmount (#1313)
Variable ElonSays._transferToExcluded(address,address,uint256,uint256).rTransferAmount (#1255) is too similar to ElonSays._transferStandard(address,address,uint256).tTransferAmount (#1240)
Prevent variables from having similar names.
Additional information: link
ElonSays.slitherConstructorVariables() (#723-1522) uses literals with too many digits:
- _tTotal = 100000000 * 10 ** 9 (#736)
ElonSays.slitherConstructorVariables() (#723-1522) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#771)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
ElonSays.bots (#761) is never used in ElonSays (#723-1522)
Remove unused state variables.
Additional information: link
ElonSays.DEAD (#771) should be constant
ElonSays.WBNB (#772) should be constant
ElonSays._decimals (#742) should be constant
ElonSays._tTotal (#736) should be constant
ElonSays.minTokensBeforeSwap (#782) should be constant
Ownable.RewardsWallet (#453) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#438-441)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#447-451)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (#456-458)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#461-466)
unlock() should be declared external:
- Ownable.unlock() (#469-474)
authorize(address) should be declared external:
- Ownable.authorize(address) (#486-489)
unauthorize(address) should be declared external:
- Ownable.unauthorize(address) (#494-497)
name() should be declared external:
- ElonSays.name() (#862-864)
symbol() should be declared external:
- ElonSays.symbol() (#866-868)
decimals() should be declared external:
- ElonSays.decimals() (#870-872)
totalSupply() should be declared external:
- ElonSays.totalSupply() (#874-876)
transfer(address,uint256) should be declared external:
- ElonSays.transfer(address,uint256) (#883-886)
isBlackListed(address) should be declared external:
- ElonSays.isBlackListed(address) (#907-909)
blacklistSingleWallet(address) should be declared external:
- ElonSays.blacklistSingleWallet(address) (#911-914)
blacklistMultipleWallets(address[]) should be declared external:
- ElonSays.blacklistMultipleWallets(address[]) (#916-920)
isBlacklisted(address) should be declared external:
- ElonSays.isBlacklisted(address) (#922-925)
unBlacklistMultipleWallets(address[]) should be declared external:
- ElonSays.unBlacklistMultipleWallets(address[]) (#933-937)
allowance(address,address) should be declared external:
- ElonSays.allowance(address,address) (#939-941)
approve(address,uint256) should be declared external:
- ElonSays.approve(address,uint256) (#943-946)
transferFrom(address,address,uint256) should be declared external:
- ElonSays.transferFrom(address,address,uint256) (#948-952)
increaseAllowance(address,uint256) should be declared external:
- ElonSays.increaseAllowance(address,uint256) (#954-957)
decreaseAllowance(address,uint256) should be declared external:
- ElonSays.decreaseAllowance(address,uint256) (#959-962)
isExcludedFromReward(address) should be declared external:
- ElonSays.isExcludedFromReward(address) (#964-966)
isExcludedFromFee(address) should be declared external:
- ElonSays.isExcludedFromFee(address) (#968-970)
totalFees() should be declared external:
- ElonSays.totalFees() (#972-974)
deliver(uint256) should be declared external:
- ElonSays.deliver(uint256) (#976-983)
reflectionFromToken(uint256,bool) should be declared external:
- ElonSays.reflectionFromToken(uint256,bool) (#985-994)
excludeFromReward(address) should be declared external:
- ElonSays.excludeFromReward(address) (#1002-1010)
excludeFromFee(address) should be declared external:
- ElonSays.excludeFromFee(address) (#1381-1383)
includeInFee(address) should be declared external:
- ElonSays.includeInFee(address) (#1385-1387)
setSwapAndLiquifyEnabled(bool) should be declared external:
- ElonSays.setSwapAndLiquifyEnabled(bool) (#1451-1454)
cooldownEnabled(bool,uint8) should be declared external:
- ElonSays.cooldownEnabled(bool,uint8) (#1469-1472)
safeTransfer(address,address,uint256) should be declared external:
- ElonSays.safeTransfer(address,address,uint256) (#1474-1478)
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
Unable to find token on CoinGecko
Additional information: link
Unable to find token on 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 scam / 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 CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Twitter account has less than 100 followers
Telegram account has relatively few subscribers
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts