🚀🚀 Launched on pancakeswap 🚀🚀
🪐 SafePluto Inu is a Decentralized, Hyper Deflationary Token incorporating the best features and tokenomics in the market. SafePluto Inu aim is to evolve into a full fledged and vibrant ecosystem: SafePluto Swap, Reward Dashboard, LaunchPad, NFTs and many more innovative projects.
SafePluto Inu has a huge 1000x potential for early investors, x130 is easily achievable at just 1M$ market cap
Don't miss out, Buy now 👇🏼 🚀🚀🚀
https://pancakeswap.finance/swap?outputCurrency=0x76D9006f0FFdbfdE121b68dB57e7e640F996fcC3
Contract: 0x76D9006f0FFdbfdE121b68dB57e7e640F996fcC3
✅ Stealth launch
✅ Contract Audited
✅ Huge RFI Rewards
✅ Lottery
✅ Automatic LP
✅ Forever Burning
✅ Liquidity locked
Website: https://www.safeplutoinu.space/
Telegram: https://t.me/safeplutoinu
SafePlutoInu.swapBNBForTokens(uint256) (#1125-1136) sends eth to arbitrary user
Dangerous calls:
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_burnAddress,block.timestamp.add(300)) (#1130-1135)
SafePlutoInu.addLiquidity(uint256,uint256) (#1138-1149) sends eth to arbitrary user
Dangerous calls:
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
SafePlutoInu.random() (#803-808) uses a weak PRNG: "r = uint256(uint256(keccak256(bytes)(abi.encodePacked(block.difficulty,block.timestamp,_nonce))) % 1000) (#804)"
Do not use block.timestamp, now or blockhash as a source of randomness
Additional information: link
Reentrancy in SafePlutoInu._transfer(address,address,uint256) (#943-1030):
External calls:
- pinkAntiBot.onPreTransferCheck(from,to,amount) (#949)
- swapAndLiquify(tokenBalance) (#973)
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1116-1122)
- buyBackTokens(balance.mul(_buybackBNBPercentage).div(100)) (#984)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_burnAddress,block.timestamp.add(300)) (#1130-1135)
External calls sending eth:
- swapAndLiquify(tokenBalance) (#973)
- recipient.transfer(amount) (#590)
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
- buyBackTokens(balance.mul(_buybackBNBPercentage).div(100)) (#984)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_burnAddress,block.timestamp.add(300)) (#1130-1135)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#1020)
- _lotteryPool = _lotteryPool.add(rLottery) (#1081)
- _tokenTransfer(from,to,amount) (#1020)
- _rOwned[_burnAddress] = _rOwned[_burnAddress].add(rFee) (#1060)
- _rOwned[address(this)] = _rOwned[address(this)].add(rTakeAmount) (#1075)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1039)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1044)
- _tokenTransfer(from,to,amount) (#1020)
- _rTotal = _rTotal.sub(rFee) (#1068)
- _tokenTransfer(from,to,amount) (#1020)
- _tOwned[_burnAddress] = _tOwned[_burnAddress].add(tFee) (#1062)
- _tOwned[address(this)] = _tOwned[address(this)].add(tTakeAmount) (#1077)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1037)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1042)
- buyBackTokens(balance.mul(_buybackBNBPercentage).div(100)) (#984)
- currentlySwapping = true (#477)
- currentlySwapping = false (#479)
Apply the check-effects-interactions pattern.
Additional information: link
SafePlutoInu.withdrawForeignToken(address) (#581-584) ignores return value by IERC20(address(token)).transfer(msg.sender,IERC20(token).balanceOf(address(this))) (#583)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 2: Unchecked transfer + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ownership is not renounced (belongs to a wallet)
SafePlutoInu.allowance(address,address).owner (#636) shadows:
- Ownable.owner() (#218-220) (function)
SafePlutoInu._approve(address,address,uint256).owner (#661) shadows:
- Ownable.owner() (#218-220) (function)
Rename the local variables that shadow another component.
Additional information: link
SafePlutoInu._tokenTransfer(address,address,uint256) (#1032-1056) performs a multiplication on the result of a division:
-tPortion = tFee.div(_taxFee) (#1047)
-tLotteryPortion = tPortion.mul(_lotteryPortionMultiply) (#1051)
Consider ordering multiplication before division.
Additional information: link
SafePlutoInu.addLiquidity(uint256,uint256) (#1138-1149) ignores return value by _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
Ensure that all the return values of the function calls are used.
Additional information: link
SafePlutoInu.setTaxFeePercent(uint256) (#705-707) should emit an event for:
- _taxFee = taxFee (#706)
SafePlutoInu.setSellTaxFeePerecent(uint256) (#709-711) should emit an event for:
- _sellTaxFee = taxFee (#710)
SafePlutoInu.setWhaleSellTaxFeePerecent(uint256) (#713-715) should emit an event for:
- _whaleSellTaxFee = taxFee (#714)
SafePlutoInu.setMaxTxAmount(uint256) (#717-719) should emit an event for:
- _maxTxAmount = maxTxAmount (#718)
SafePlutoInu.setTokenSwapThreshold(uint256) (#721-723) should emit an event for:
- _tokenSwapThreshold = tokenSwapThreshold (#722)
SafePlutoInu.setBuybackBNBThreshold(uint256) (#733-735) should emit an event for:
- _buybackBNBThreshold = bnbAmount (#734)
SafePlutoInu.setBuybackUpperLimit(uint256) (#737-739) should emit an event for:
- _buybackUpperLimit = buybackLimit (#738)
SafePlutoInu.setBuybackBNBPercentage(uint256) (#741-743) should emit an event for:
- _buybackBNBPercentage = percentage (#742)
SafePlutoInu.setWhaleSellThreshold(uint256) (#749-751) should emit an event for:
- _whaleSellThreshold = amount (#750)
SafePlutoInu.setWhaleSellTimer(uint256) (#753-755) should emit an event for:
- _whaleSellTimer = time (#754)
SafePlutoInu.setLotteryChance(uint256) (#761-763) should emit an event for:
- _lotteryChance = chance (#762)
SafePlutoInu.setLotteryThreshold(uint256) (#765-767) should emit an event for:
- _lotteryThreshold = threshold (#766)
SafePlutoInu.setLotteryMinimumSpend(uint256) (#769-771) should emit an event for:
- _lotteryMinimumSpend = minimumSpend (#770)
SafePlutoInu.setLotteryPortionMultiply(uint256) (#773-775) should emit an event for:
- _lotteryPortionMultiply = lotteryPortionMultiply (#774)
Emit an event for critical parameter changes.
Additional information: link
SafePlutoInu.setMarketingAddress(address).marketingAddress (#725) lacks a zero-check on :
- _marketingAddress = address(marketingAddress) (#726)
Check that the address is not zero.
Additional information: link
Reentrancy in SafePlutoInu._transfer(address,address,uint256) (#943-1030):
External calls:
- pinkAntiBot.onPreTransferCheck(from,to,amount) (#949)
State variables written after the call(s):
- lotteryReward = calculateLotteryReward() (#959)
- _lastRoll = random() (#836)
- _lotteryTransfer(to,lotteryReward) (#961)
- _lotteryPool = 0 (#931)
- lotteryReward = calculateLotteryReward() (#959)
- _nonce ++ (#806)
- _lotteryTransfer(to,lotteryReward) (#961)
- _previousWinTime = block.timestamp (#935)
- _lotteryTransfer(to,lotteryReward) (#961)
- _previousWinner = winner (#932)
- _lotteryTransfer(to,lotteryReward) (#961)
- _previousWonAmount = tAmount (#933)
- _lotteryTransfer(to,lotteryReward) (#961)
- _rOwned[winner] = _rOwned[winner].add(_lotteryPool) (#930)
- _lotteryTransfer(to,lotteryReward) (#961)
- _tOwned[winner] = _tOwned[winner].add(tAmount) (#928)
- _lotteryTransfer(to,lotteryReward) (#961)
- _totalLotteryWon = _totalLotteryWon.add(_previousWonAmount) (#934)
Reentrancy in SafePlutoInu._transfer(address,address,uint256) (#943-1030):
External calls:
- pinkAntiBot.onPreTransferCheck(from,to,amount) (#949)
- swapAndLiquify(tokenBalance) (#973)
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1116-1122)
External calls sending eth:
- swapAndLiquify(tokenBalance) (#973)
- recipient.transfer(amount) (#590)
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
State variables written after the call(s):
- swapAndLiquify(tokenBalance) (#973)
- _allowances[owner][spender] = amount (#665)
Reentrancy in SafePlutoInu._transfer(address,address,uint256) (#943-1030):
External calls:
- pinkAntiBot.onPreTransferCheck(from,to,amount) (#949)
- swapAndLiquify(tokenBalance) (#973)
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1116-1122)
- buyBackTokens(balance.mul(_buybackBNBPercentage).div(100)) (#984)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_burnAddress,block.timestamp.add(300)) (#1130-1135)
External calls sending eth:
- swapAndLiquify(tokenBalance) (#973)
- recipient.transfer(amount) (#590)
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
- buyBackTokens(balance.mul(_buybackBNBPercentage).div(100)) (#984)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_burnAddress,block.timestamp.add(300)) (#1130-1135)
State variables written after the call(s):
- _amountSold[from] = newTotal (#1002)
- _amountSold[from] = newTotal (#1005)
- _amountSold[from] = amount (#1009)
- _previousTaxFee = _taxFee (#1012)
- removeAllFees() (#1017)
- _previousTaxFee = _taxFee (#816)
- _taxFee = fee (#1013)
- removeAllFees() (#1017)
- _taxFee = 0 (#817)
- restoreAllFees() (#1023)
- _taxFee = _previousTaxFee (#824)
- _taxFee = _previousTaxFee (#1027)
- _timeSinceFirstSell[from] = block.timestamp (#1008)
- _tokenTransfer(from,to,amount) (#1020)
- _totalReflections = _totalReflections.add(tFee) (#1069)
Reentrancy in SafePlutoInu.constructor(address) (#544-561):
External calls:
- _pancakeswapV2LiquidityPair = IUniswapV2Factory(pancakeswapV2Router.factory()).createPair(address(this),pancakeswapV2Router.WETH()) (#551-552)
State variables written after the call(s):
- _pancakeswapV2Router = pancakeswapV2Router (#553)
- pinkAntiBot = IPinkAntiBot(pinkAntiBot_) (#555)
Reentrancy in SafePlutoInu.constructor(address) (#544-561):
External calls:
- _pancakeswapV2LiquidityPair = IUniswapV2Factory(pancakeswapV2Router.factory()).createPair(address(this),pancakeswapV2Router.WETH()) (#551-552)
- pinkAntiBot.setTokenOwner(msg.sender) (#556)
State variables written after the call(s):
- antiBotEnabled = true (#558)
Reentrancy in SafePlutoInu.setRouterAddress(address) (#596-608):
External calls:
- newPair = IUniswapV2Factory(newPancakeSwapRouter.factory()).createPair(address(this),newPancakeSwapRouter.WETH()) (#603)
State variables written after the call(s):
- _pancakeswapV2LiquidityPair = newPair (#605)
- _pancakeswapV2Router = newPancakeSwapRouter (#607)
Reentrancy in SafePlutoInu.swapAndLiquify(uint256) (#1090-1106):
External calls:
- swapTokensForBNB(swapAmount) (#1096)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1116-1122)
- addLiquidity(eigth,liquidityBNB) (#1099)
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
External calls sending eth:
- addLiquidity(eigth,liquidityBNB) (#1099)
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
State variables written after the call(s):
- addLiquidity(eigth,liquidityBNB) (#1099)
- _allowances[owner][spender] = amount (#665)
Reentrancy in SafePlutoInu.transferFrom(address,address,uint256) (#645-649):
External calls:
- _transfer(sender,recipient,amount) (#646)
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_burnAddress,block.timestamp.add(300)) (#1130-1135)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1116-1122)
- pinkAntiBot.onPreTransferCheck(from,to,amount) (#949)
External calls sending eth:
- _transfer(sender,recipient,amount) (#646)
- recipient.transfer(amount) (#590)
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_burnAddress,block.timestamp.add(300)) (#1130-1135)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#647)
- _allowances[owner][spender] = amount (#665)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in SafePlutoInu._transfer(address,address,uint256) (#943-1030):
External calls:
- pinkAntiBot.onPreTransferCheck(from,to,amount) (#949)
Event emitted after the call(s):
- LotteryAward(winner,tAmount,block.timestamp) (#936)
- _lotteryTransfer(to,lotteryReward) (#961)
- Transfer(address(this),winner,tAmount) (#937)
- _lotteryTransfer(to,lotteryReward) (#961)
Reentrancy in SafePlutoInu._transfer(address,address,uint256) (#943-1030):
External calls:
- pinkAntiBot.onPreTransferCheck(from,to,amount) (#949)
- swapAndLiquify(tokenBalance) (#973)
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1116-1122)
External calls sending eth:
- swapAndLiquify(tokenBalance) (#973)
- recipient.transfer(amount) (#590)
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#666)
- swapAndLiquify(tokenBalance) (#973)
- SwapAndLiquify(swapAmount,liquidityBNB,eigth) (#1105)
- swapAndLiquify(tokenBalance) (#973)
Reentrancy in SafePlutoInu._transfer(address,address,uint256) (#943-1030):
External calls:
- pinkAntiBot.onPreTransferCheck(from,to,amount) (#949)
- swapAndLiquify(tokenBalance) (#973)
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1116-1122)
- buyBackTokens(balance.mul(_buybackBNBPercentage).div(100)) (#984)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_burnAddress,block.timestamp.add(300)) (#1130-1135)
External calls sending eth:
- swapAndLiquify(tokenBalance) (#973)
- recipient.transfer(amount) (#590)
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
- buyBackTokens(balance.mul(_buybackBNBPercentage).div(100)) (#984)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_burnAddress,block.timestamp.add(300)) (#1130-1135)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1055)
- _tokenTransfer(from,to,amount) (#1020)
Reentrancy in SafePlutoInu.constructor(address) (#544-561):
External calls:
- _pancakeswapV2LiquidityPair = IUniswapV2Factory(pancakeswapV2Router.factory()).createPair(address(this),pancakeswapV2Router.WETH()) (#551-552)
- pinkAntiBot.setTokenOwner(msg.sender) (#556)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#560)
Reentrancy in SafePlutoInu.swapAndLiquify(uint256) (#1090-1106):
External calls:
- swapTokensForBNB(swapAmount) (#1096)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1116-1122)
- addLiquidity(eigth,liquidityBNB) (#1099)
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
External calls sending eth:
- addLiquidity(eigth,liquidityBNB) (#1099)
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#666)
- addLiquidity(eigth,liquidityBNB) (#1099)
Reentrancy in SafePlutoInu.swapAndLiquify(uint256) (#1090-1106):
External calls:
- swapTokensForBNB(swapAmount) (#1096)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1116-1122)
- addLiquidity(eigth,liquidityBNB) (#1099)
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
External calls sending eth:
- addLiquidity(eigth,liquidityBNB) (#1099)
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
- transferBNBToAddress(_marketingAddress,marketingBNB) (#1103)
- recipient.transfer(amount) (#590)
Event emitted after the call(s):
- SwapAndLiquify(swapAmount,liquidityBNB,eigth) (#1105)
Reentrancy in SafePlutoInu.transferFrom(address,address,uint256) (#645-649):
External calls:
- _transfer(sender,recipient,amount) (#646)
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_burnAddress,block.timestamp.add(300)) (#1130-1135)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#1116-1122)
- pinkAntiBot.onPreTransferCheck(from,to,amount) (#949)
External calls sending eth:
- _transfer(sender,recipient,amount) (#646)
- recipient.transfer(amount) (#590)
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_burnAddress,block.timestamp.add(300)) (#1130-1135)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#666)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#647)
Apply the check-effects-interactions pattern.
Additional information: link
SafePlutoInu.calculateLotteryReward() (#830-842) uses timestamp for comparisons
Dangerous comparisons:
- _lastRoll <= _lotteryChance (#837)
SafePlutoInu._transfer(address,address,uint256) (#943-1030) uses timestamp for comparisons
Dangerous comparisons:
- delta > 0 && delta < _whaleSellTimer && _timeSinceFirstSell[from] != 0 (#998)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#98-108) uses assembly
- INLINE ASM (#104-106)
Address._verifyCallResult(bool,bytes,string) (#180-200) uses assembly
- INLINE ASM (#192-195)
Do not use evm assembly.
Additional information: link
SafePlutoInu.includeInReward(address) (#910-921) has costly operations inside a loop:
- _excluded.pop() (#917)
Use a local variable to hold the loop computation result.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#180-200) is never used and should be removed
Address.functionCall(address,bytes) (#117-119) is never used and should be removed
Address.functionCall(address,bytes,string) (#121-127) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#129-135) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#137-148) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#165-167) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#169-178) is never used and should be removed
Address.functionStaticCall(address,bytes) (#150-152) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#154-163) is never used and should be removed
Address.isContract(address) (#98-108) is never used and should be removed
Address.sendValue(address,uint256) (#110-115) is never used and should be removed
Context._msgData() (#39-41) is never used and should be removed
SafeMath.mod(uint256,uint256) (#87-89) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#91-94) is never used and should be removed
Remove unused functions.
Additional information: link
SafePlutoInu._rTotal (#500) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
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) (#110-115):
- (success) = recipient.call{value: amount}() (#113)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#137-148):
- (success,returndata) = target.call{value: value}(data) (#146)
Low level call in Address.functionStaticCall(address,bytes,string) (#154-163):
- (success,returndata) = target.staticcall(data) (#161)
Low level call in Address.functionDelegateCall(address,bytes,string) (#169-178):
- (success,returndata) = target.delegatecall(data) (#176)
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() (#288) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#289) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#306) is not in mixedCase
Function IUniswapV2Router01.WETH() (#326) is not in mixedCase
Parameter SafePlutoInu.setEnableAntiBot(bool)._enable (#569) is not in mixedCase
Variable SafePlutoInu._pancakeswapV2Router (#471) is not in mixedCase
Variable SafePlutoInu._pancakeswapV2LiquidityPair (#472) is not in mixedCase
Variable SafePlutoInu._marketingAddress (#487) is not in mixedCase
Variable SafePlutoInu._burnAddress (#488) is not in mixedCase
Variable SafePlutoInu._taxFee (#503) is not in mixedCase
Variable SafePlutoInu._sellTaxFee (#504) is not in mixedCase
Variable SafePlutoInu._whaleSellTaxFee (#505) is not in mixedCase
Variable SafePlutoInu._lotteryPortionMultiply (#507) is not in mixedCase
Variable SafePlutoInu._maxTxAmount (#509) is not in mixedCase
Variable SafePlutoInu._tokenSwapThreshold (#510) is not in mixedCase
Variable SafePlutoInu._whaleSellThreshold (#514) is not in mixedCase
Variable SafePlutoInu._whaleSellTimer (#515) is not in mixedCase
Variable SafePlutoInu._enableBuyback (#519) is not in mixedCase
Variable SafePlutoInu._buybackBNBThreshold (#520) is not in mixedCase
Variable SafePlutoInu._buybackUpperLimit (#521) is not in mixedCase
Variable SafePlutoInu._buybackBNBPercentage (#522) is not in mixedCase
Variable SafePlutoInu._enableLiquidity (#524) is not in mixedCase
Variable SafePlutoInu._enableLottery (#526) is not in mixedCase
Variable SafePlutoInu._lotteryChance (#528) is not in mixedCase
Variable SafePlutoInu._lotteryThreshold (#529) is not in mixedCase
Variable SafePlutoInu._lotteryMinimumSpend (#530) is not in mixedCase
Variable SafePlutoInu._previousWinner (#531) is not in mixedCase
Variable SafePlutoInu._previousWonAmount (#532) is not in mixedCase
Variable SafePlutoInu._previousWinTime (#533) is not in mixedCase
Variable SafePlutoInu._lastRoll (#534) is not in mixedCase
Variable SafePlutoInu._totalLotteryWon (#536) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in SafePlutoInu._transfer(address,address,uint256) (#943-1030):
External calls:
- swapAndLiquify(tokenBalance) (#973)
- recipient.transfer(amount) (#590)
External calls sending eth:
- swapAndLiquify(tokenBalance) (#973)
- recipient.transfer(amount) (#590)
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
- buyBackTokens(balance.mul(_buybackBNBPercentage).div(100)) (#984)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_burnAddress,block.timestamp.add(300)) (#1130-1135)
State variables written after the call(s):
- _amountSold[from] = newTotal (#1002)
- _amountSold[from] = newTotal (#1005)
- _amountSold[from] = amount (#1009)
- _tokenTransfer(from,to,amount) (#1020)
- _lotteryPool = _lotteryPool.add(rLottery) (#1081)
- _previousTaxFee = _taxFee (#1012)
- removeAllFees() (#1017)
- _previousTaxFee = _taxFee (#816)
- _tokenTransfer(from,to,amount) (#1020)
- _rOwned[_burnAddress] = _rOwned[_burnAddress].add(rFee) (#1060)
- _rOwned[address(this)] = _rOwned[address(this)].add(rTakeAmount) (#1075)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1039)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1044)
- _tokenTransfer(from,to,amount) (#1020)
- _rTotal = _rTotal.sub(rFee) (#1068)
- _tokenTransfer(from,to,amount) (#1020)
- _tOwned[_burnAddress] = _tOwned[_burnAddress].add(tFee) (#1062)
- _tOwned[address(this)] = _tOwned[address(this)].add(tTakeAmount) (#1077)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1037)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1042)
- _taxFee = fee (#1013)
- removeAllFees() (#1017)
- _taxFee = 0 (#817)
- restoreAllFees() (#1023)
- _taxFee = _previousTaxFee (#824)
- _taxFee = _previousTaxFee (#1027)
- _timeSinceFirstSell[from] = block.timestamp (#1008)
- _tokenTransfer(from,to,amount) (#1020)
- _totalReflections = _totalReflections.add(tFee) (#1069)
- buyBackTokens(balance.mul(_buybackBNBPercentage).div(100)) (#984)
- currentlySwapping = true (#477)
- currentlySwapping = false (#479)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1055)
- _tokenTransfer(from,to,amount) (#1020)
Reentrancy in SafePlutoInu.swapAndLiquify(uint256) (#1090-1106):
External calls:
- transferBNBToAddress(_marketingAddress,marketingBNB) (#1103)
- recipient.transfer(amount) (#590)
External calls sending eth:
- addLiquidity(eigth,liquidityBNB) (#1099)
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
- transferBNBToAddress(_marketingAddress,marketingBNB) (#1103)
- recipient.transfer(amount) (#590)
Event emitted after the call(s):
- SwapAndLiquify(swapAmount,liquidityBNB,eigth) (#1105)
Reentrancy in SafePlutoInu.transferFrom(address,address,uint256) (#645-649):
External calls:
- _transfer(sender,recipient,amount) (#646)
- recipient.transfer(amount) (#590)
External calls sending eth:
- _transfer(sender,recipient,amount) (#646)
- recipient.transfer(amount) (#590)
- _pancakeswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp.add(300)) (#1141-1148)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_burnAddress,block.timestamp.add(300)) (#1130-1135)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#647)
- _allowances[owner][spender] = amount (#665)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#666)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#647)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#331) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#332)
Variable SafePlutoInu._takeTokens(uint256,uint256).rTakeAmount (#1074) is too similar to SafePlutoInu._takeTokens(uint256,uint256).tTakeAmount (#1072)
Variable SafePlutoInu.reflectionFromToken(uint256,bool).rTransferAmount (#786) is too similar to SafePlutoInu._getTValues(uint256).tTransferAmount (#858)
Variable SafePlutoInu._getValues(uint256).rTransferAmount (#849) is too similar to SafePlutoInu._getTValues(uint256).tTransferAmount (#858)
Variable SafePlutoInu.reflectionFromToken(uint256,bool).rTransferAmount (#786) is too similar to SafePlutoInu._tokenTransfer(address,address,uint256).tTransferAmount (#1033)
Variable SafePlutoInu.reflectionFromToken(uint256,bool).rTransferAmount (#786) is too similar to SafePlutoInu._getValues(uint256).tTransferAmount (#848)
Variable SafePlutoInu._getValues(uint256).rTransferAmount (#849) is too similar to SafePlutoInu._tokenTransfer(address,address,uint256).tTransferAmount (#1033)
Variable SafePlutoInu._getValues(uint256).rTransferAmount (#849) is too similar to SafePlutoInu._getValues(uint256).tTransferAmount (#848)
Variable SafePlutoInu._getRValues(uint256,uint256,uint256).rTransferAmount (#868) is too similar to SafePlutoInu._getTValues(uint256).tTransferAmount (#858)
Variable SafePlutoInu._tokenTransfer(address,address,uint256).rTransferAmount (#1034) is too similar to SafePlutoInu._tokenTransfer(address,address,uint256).tTransferAmount (#1033)
Variable SafePlutoInu._getRValues(uint256,uint256,uint256).rTransferAmount (#868) is too similar to SafePlutoInu._tokenTransfer(address,address,uint256).tTransferAmount (#1033)
Variable SafePlutoInu._getRValues(uint256,uint256,uint256).rTransferAmount (#868) is too similar to SafePlutoInu._getValues(uint256).tTransferAmount (#848)
Variable SafePlutoInu._tokenTransfer(address,address,uint256).rTransferAmount (#1034) is too similar to SafePlutoInu._getValues(uint256).tTransferAmount (#848)
Variable SafePlutoInu._tokenTransfer(address,address,uint256).rTransferAmount (#1034) is too similar to SafePlutoInu._getTValues(uint256).tTransferAmount (#858)
Prevent variables from having similar names.
Additional information: link
SafePlutoInu.slitherConstructorVariables() (#460-1160) uses literals with too many digits:
- _burnAddress = address(0x000000000000000000000000000000000000dEaD) (#488)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafePlutoInu._burnAddress (#488) should be constant
SafePlutoInu._decimals (#469) should be constant
SafePlutoInu._name (#467) should be constant
SafePlutoInu._symbol (#468) should be constant
SafePlutoInu._tTotal (#499) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#237-239)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#245-248)
withdrawBNB(uint256) should be declared external:
- SafePlutoInu.withdrawBNB(uint256) (#576-579)
withdrawForeignToken(address) should be declared external:
- SafePlutoInu.withdrawForeignToken(address) (#581-584)
setRouterAddress(address) should be declared external:
- SafePlutoInu.setRouterAddress(address) (#596-608)
reflectionFromToken(uint256,bool) should be declared external:
- SafePlutoInu.reflectionFromToken(uint256,bool) (#780-789)
reflect(uint256) should be declared external:
- SafePlutoInu.reflect(uint256) (#1152-1158)
Use the external attribute for functions never called from the contract.
Additional information: link
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
Not a direct threat, but may indicate unreliable intentions of developer. Both name and ticker of current token are widespread, i.e. common across multiple tokens. This is slightly suspicious
Contract has 14% buy tax and 19% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Average 30d PancakeSwap liquidity is low.
Token is deployed only at one blockchain
Token has only one trading pair
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 whitepaper link on the website
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Alexa traffic rank is very low
Additional information: link
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Twitter account has relatively few followers
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