BOT PLANET/SOFTWARE team are developing an ecosystem, which gives the community an opportunity to have a stream of passive, and active income. Those goals are achieved through BOT token, which people can hold to earn passively, use it for trading, farming, staking, purchasing in-game cases, which will allow the players to participate in a P2E game. Teams are offering their own: DEX, NFT MARKETPLACE, THE GAME, LOTTERY, MESSENGER, WALLET. The ecosystem operates on 4 leading blockchains: Solana, BSC, ETH, PolkaDot. BOT eliminates the common hurdles that people are used to when starting their journey into the world of cryptocurrency. Instead of having to worry about safety and complexity, people now finally have a user-friendly alternative. Not only do BOT team provide the community and users with all these features in an easy and safe manner, but also make it actually enjoyable to do so.
Reentrancy in BotToken._transfer(address,address,uint256) (#997-1049):
External calls:
- swapAndLiquify(contractTokenBalance) (#1024)
- pcsV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_dead,block.timestamp) (#1146-1153)
- pcsV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,minAmount,path,address(this),block.timestamp) (#1116-1122)
- buyBackTokens(balance) (#1034)
- pcsV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(minAmount,path,_dead,block.timestamp.add(300)) (#1133-1138)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1024)
- pcsV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_dead,block.timestamp) (#1146-1153)
- buyBackTokens(balance) (#1034)
- pcsV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(minAmount,path,_dead,block.timestamp.add(300)) (#1133-1138)
State variables written after the call(s):
- buyBackTokens(balance) (#1034)
- _inSwapAndLiquify = true (#756)
- _inSwapAndLiquify = false (#758)
- _tokenTransfer(from,to,amount,takeFee) (#1048)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#950)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1171)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1172)
- _tokenTransfer(from,to,amount,takeFee) (#1048)
- _rTotal = _rTotal.sub(rFee) (#908)
- _tokenTransfer(from,to,amount,takeFee) (#1048)
- burnFee = _previousBurnFee (#980)
- burnFee = 0 (#972)
- _tokenTransfer(from,to,amount,takeFee) (#1048)
- buybackFee = _previousBuybackFee (#982)
- buybackFee = 0 (#974)
- _tokenTransfer(from,to,amount,takeFee) (#1048)
- liquidityFee = _previousLiquidityFee (#979)
- liquidityFee = 0 (#971)
- _tokenTransfer(from,to,amount,takeFee) (#1048)
- walletFee = _previousWalletFee (#981)
- walletFee = 0 (#973)
Apply the check-effects-interactions pattern.
Additional information: link
Contract ownership is semi-renounced (passed to a contract)
BotToken.swapAndLiquify(uint256) (#1051-1098) performs a multiplication on the result of a division:
-spentAmount = contractTokenBalance.div(totFee).mul(burnFee) (#1057)
BotToken.swapAndLiquify(uint256) (#1051-1098) performs a multiplication on the result of a division:
-spentAmount = contractTokenBalance.div(totFee).mul(walletFee) (#1063)
BotToken.swapAndLiquify(uint256) (#1051-1098) performs a multiplication on the result of a division:
-spentAmount = contractTokenBalance.div(totFee).mul(buybackFee) (#1069)
Consider ordering multiplication before division.
Additional information: link
Redundant expression "this (#244)" inContext (#238-247)
Remove redundant statements if they congest code but offer no value.
Additional information: link
BotToken._tOwned (#705) is never used in BotToken (#697-1188)
Remove unused state variables.
Additional information: link
Ownable.unlock() (#537-543) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#540)
Avoid relying on block.timestamp.
Additional information: link
BotToken.addLiquidity(uint256,uint256) (#1141-1154) ignores return value by pcsV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_dead,block.timestamp) (#1146-1153)
Ensure that all the return values of the function calls are used.
Additional information: link
BotToken.allowance(address,address).owner (#831) shadows:
- Ownable.owner() (#488-490) (function)
BotToken._approve(address,address,uint256).owner (#989) shadows:
- Ownable.owner() (#488-490) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in BotToken._transfer(address,address,uint256) (#997-1049):
External calls:
- swapAndLiquify(contractTokenBalance) (#1024)
- pcsV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_dead,block.timestamp) (#1146-1153)
- pcsV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,minAmount,path,address(this),block.timestamp) (#1116-1122)
- buyBackTokens(balance) (#1034)
- pcsV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(minAmount,path,_dead,block.timestamp.add(300)) (#1133-1138)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1024)
- pcsV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_dead,block.timestamp) (#1146-1153)
- buyBackTokens(balance) (#1034)
- pcsV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(minAmount,path,_dead,block.timestamp.add(300)) (#1133-1138)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1048)
- _previousBurnFee = burnFee (#966)
- _tokenTransfer(from,to,amount,takeFee) (#1048)
- _previousBuybackFee = buybackFee (#968)
- _tokenTransfer(from,to,amount,takeFee) (#1048)
- _previousLiquidityFee = liquidityFee (#965)
- _tokenTransfer(from,to,amount,takeFee) (#1048)
- _previousTaxFee = taxFee (#964)
- _tokenTransfer(from,to,amount,takeFee) (#1048)
- _previousWalletFee = walletFee (#967)
- _tokenTransfer(from,to,amount,takeFee) (#1048)
- _tFeeTotal = _tFeeTotal.add(tFee) (#909)
- _tokenTransfer(from,to,amount,takeFee) (#1048)
- taxFee = _previousTaxFee (#978)
- taxFee = 0 (#970)
Reentrancy in BotToken.constructor() (#761-804):
External calls:
- pcsV2Pair = IPancakeFactory(_pcsV2Router.factory()).createPair(address(this),_pcsV2Router.WETH()) (#794)
State variables written after the call(s):
- _isExcludedFromFee[tokenOwner] = true (#798)
- _isExcludedFromFee[address(this)] = true (#799)
- pcsV2Router = _pcsV2Router (#795)
Reentrancy in BotToken.swapAndLiquify(uint256) (#1051-1098):
External calls:
- swapTokensForBNB(spentAmount) (#1070)
- pcsV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,minAmount,path,address(this),block.timestamp) (#1116-1122)
- swapTokensForBNB(half) (#1088)
- pcsV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,minAmount,path,address(this),block.timestamp) (#1116-1122)
State variables written after the call(s):
- swapTokensForBNB(half) (#1088)
- _allowances[owner][spender] = amount (#993)
Reentrancy in BotToken.swapAndLiquify(uint256) (#1051-1098):
External calls:
- swapTokensForBNB(spentAmount) (#1070)
- pcsV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,minAmount,path,address(this),block.timestamp) (#1116-1122)
- swapTokensForBNB(half) (#1088)
- pcsV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,minAmount,path,address(this),block.timestamp) (#1116-1122)
- addLiquidity(otherHalf,newBalance) (#1094)
- pcsV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_dead,block.timestamp) (#1146-1153)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1094)
- pcsV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_dead,block.timestamp) (#1146-1153)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1094)
- _allowances[owner][spender] = amount (#993)
Reentrancy in BotToken.transferFrom(address,address,uint256) (#840-844):
External calls:
- _transfer(sender,recipient,amount) (#841)
- pcsV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_dead,block.timestamp) (#1146-1153)
- pcsV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(minAmount,path,_dead,block.timestamp.add(300)) (#1133-1138)
- pcsV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,minAmount,path,address(this),block.timestamp) (#1116-1122)
External calls sending eth:
- _transfer(sender,recipient,amount) (#841)
- pcsV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_dead,block.timestamp) (#1146-1153)
- pcsV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(minAmount,path,_dead,block.timestamp.add(300)) (#1133-1138)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#842)
- _allowances[owner][spender] = amount (#993)
Apply the check-effects-interactions pattern.
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.
Variable IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#569) is too similar to IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#570)
Variable BotToken._transferStandard(address,address,uint256).rTransferAmount (#1170) is too similar to BotToken._getTValues(uint256).tTransferAmount (#921)
Variable BotToken.reflectionFromToken(uint256,bool).rTransferAmount (#874) is too similar to BotToken._getTValues(uint256).tTransferAmount (#921)
Variable BotToken._transferStandard(address,address,uint256).rTransferAmount (#1170) is too similar to BotToken._getValues(uint256).tTransferAmount (#913)
Variable BotToken.reflectionFromToken(uint256,bool).rTransferAmount (#874) is too similar to BotToken._getValues(uint256).tTransferAmount (#913)
Variable BotToken._getValues(uint256).rTransferAmount (#914) is too similar to BotToken._getTValues(uint256).tTransferAmount (#921)
Variable BotToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#929) is too similar to BotToken._getTValues(uint256).tTransferAmount (#921)
Variable BotToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#929) is too similar to BotToken._getValues(uint256).tTransferAmount (#913)
Variable BotToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#929) is too similar to BotToken._transferStandard(address,address,uint256).tTransferAmount (#1170)
Variable BotToken._transferStandard(address,address,uint256).rTransferAmount (#1170) is too similar to BotToken._transferStandard(address,address,uint256).tTransferAmount (#1170)
Variable BotToken._getValues(uint256).rTransferAmount (#914) is too similar to BotToken._getValues(uint256).tTransferAmount (#913)
Variable BotToken.reflectionFromToken(uint256,bool).rTransferAmount (#874) is too similar to BotToken._transferStandard(address,address,uint256).tTransferAmount (#1170)
Variable BotToken._getValues(uint256).rTransferAmount (#914) is too similar to BotToken._transferStandard(address,address,uint256).tTransferAmount (#1170)
Prevent variables from having similar names.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#507-511)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#517-521)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (#523-525)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#528-534)
unlock() should be declared external:
- Ownable.unlock() (#537-543)
name() should be declared external:
- BotToken.name() (#806-808)
symbol() should be declared external:
- BotToken.symbol() (#810-812)
decimals() should be declared external:
- BotToken.decimals() (#814-816)
totalSupply() should be declared external:
- BotToken.totalSupply() (#818-820)
transfer(address,uint256) should be declared external:
- BotToken.transfer(address,uint256) (#826-829)
allowance(address,address) should be declared external:
- BotToken.allowance(address,address) (#831-833)
approve(address,uint256) should be declared external:
- BotToken.approve(address,uint256) (#835-838)
transferFrom(address,address,uint256) should be declared external:
- BotToken.transferFrom(address,address,uint256) (#840-844)
increaseAllowance(address,uint256) should be declared external:
- BotToken.increaseAllowance(address,uint256) (#846-849)
decreaseAllowance(address,uint256) should be declared external:
- BotToken.decreaseAllowance(address,uint256) (#851-854)
totalFees() should be declared external:
- BotToken.totalFees() (#856-858)
deliver(uint256) should be declared external:
- BotToken.deliver(uint256) (#860-866)
reflectionFromToken(uint256,bool) should be declared external:
- BotToken.reflectionFromToken(uint256,bool) (#868-877)
buyBackUpperLimitAmount() should be declared external:
- BotToken.buyBackUpperLimitAmount() (#885-887)
Use the external attribute for functions never called from the contract.
Additional information: link
Reentrancy in BotToken._transfer(address,address,uint256) (#997-1049):
External calls:
- swapAndLiquify(contractTokenBalance) (#1024)
- pcsV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_dead,block.timestamp) (#1146-1153)
- pcsV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,minAmount,path,address(this),block.timestamp) (#1116-1122)
- buyBackTokens(balance) (#1034)
- pcsV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(minAmount,path,_dead,block.timestamp.add(300)) (#1133-1138)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1024)
- pcsV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_dead,block.timestamp) (#1146-1153)
- buyBackTokens(balance) (#1034)
- pcsV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(minAmount,path,_dead,block.timestamp.add(300)) (#1133-1138)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1175)
- _tokenTransfer(from,to,amount,takeFee) (#1048)
Reentrancy in BotToken.constructor() (#761-804):
External calls:
- pcsV2Pair = IPancakeFactory(_pcsV2Router.factory()).createPair(address(this),_pcsV2Router.WETH()) (#794)
Event emitted after the call(s):
- SwapAndLiquifyEnabledUpdated(swapAndLiquifyEnabled) (#803)
- Transfer(address(0),tokenOwner,_totalSupply) (#802)
Reentrancy in BotToken.swapAndLiquify(uint256) (#1051-1098):
External calls:
- swapTokensForBNB(spentAmount) (#1070)
- pcsV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,minAmount,path,address(this),block.timestamp) (#1116-1122)
- swapTokensForBNB(half) (#1088)
- pcsV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,minAmount,path,address(this),block.timestamp) (#1116-1122)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#994)
- swapTokensForBNB(half) (#1088)
Reentrancy in BotToken.swapAndLiquify(uint256) (#1051-1098):
External calls:
- swapTokensForBNB(spentAmount) (#1070)
- pcsV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,minAmount,path,address(this),block.timestamp) (#1116-1122)
- swapTokensForBNB(half) (#1088)
- pcsV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,minAmount,path,address(this),block.timestamp) (#1116-1122)
- addLiquidity(otherHalf,newBalance) (#1094)
- pcsV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_dead,block.timestamp) (#1146-1153)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1094)
- pcsV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_dead,block.timestamp) (#1146-1153)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#994)
- addLiquidity(otherHalf,newBalance) (#1094)
- SwapAndLiquify(half,newBalance,otherHalf) (#1096)
Reentrancy in BotToken.transferFrom(address,address,uint256) (#840-844):
External calls:
- _transfer(sender,recipient,amount) (#841)
- pcsV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_dead,block.timestamp) (#1146-1153)
- pcsV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(minAmount,path,_dead,block.timestamp.add(300)) (#1133-1138)
- pcsV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,minAmount,path,address(this),block.timestamp) (#1116-1122)
External calls sending eth:
- _transfer(sender,recipient,amount) (#841)
- pcsV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_dead,block.timestamp) (#1146-1153)
- pcsV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(minAmount,path,_dead,block.timestamp.add(300)) (#1133-1138)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#994)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#842)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#271-280) uses assembly
- INLINE ASM (#278)
Address._functionCallWithValue(address,bytes,uint256,string) (#364-385) uses assembly
- INLINE ASM (#377-380)
Do not use evm assembly.
Additional information: link
Ownable.unlock() (#537-543) compares to a boolean constant:
-require(bool,string)(_isOwnershipRenounced == false,Ownership of the contract has been relinquished) (#538)
Remove the equality to the boolean constant.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#364-385) is never used and should be removed
Address.functionCall(address,bytes) (#324-326) is never used and should be removed
Address.functionCall(address,bytes,string) (#334-336) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#349-351) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#359-362) is never used and should be removed
Address.isContract(address) (#271-280) is never used and should be removed
Address.sendValue(address,uint256) (#298-304) is never used and should be removed
Context._msgData() (#243-246) is never used and should be removed
SafeERC20._callOptionalReturn(IERC20,bytes) (#442-452) is never used and should be removed
SafeERC20.safeApprove(IERC20,address,uint256) (#415-424) is never used and should be removed
SafeERC20.safeDecreaseAllowance(IERC20,address,uint256) (#431-434) is never used and should be removed
SafeERC20.safeIncreaseAllowance(IERC20,address,uint256) (#426-429) is never used and should be removed
SafeERC20.safeTransfer(IERC20,address,uint256) (#400-402) is never used and should be removed
SafeERC20.safeTransferFrom(IERC20,address,address,uint256) (#404-406) is never used and should be removed
SafeMath.mod(uint256,uint256) (#216-218) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#232-235) is never used and should be removed
Remove unused functions.
Additional information: link
BotToken._previousTaxFee (#720) is set pre-construction with a non-constant function or state variable:
- taxFee
BotToken._previousLiquidityFee (#723) is set pre-construction with a non-constant function or state variable:
- liquidityFee
BotToken._previousBurnFee (#726) is set pre-construction with a non-constant function or state variable:
- burnFee
BotToken._previousWalletFee (#729) is set pre-construction with a non-constant function or state variable:
- walletFee
BotToken._previousBuybackFee (#732) is set pre-construction with a non-constant function or state variable:
- buybackFee
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) (#298-304):
- (success) = recipient.call{value: amount}() (#302)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#364-385):
- (success,returndata) = target.call{value: weiValue}(data) (#368)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IPancakeRouter01.WETH() (#564) is not in mixedCase
Parameter BotToken.calculateTaxFee(uint256)._amount (#953) is not in mixedCase
Parameter BotToken.calculateLiquidityFee(uint256)._amount (#957) is not in mixedCase
Variable BotToken._totalSupply (#711) is not in mixedCase
Variable BotToken._name (#715) is not in mixedCase
Variable BotToken._symbol (#716) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
BotToken.constructor() (#761-804) uses literals with too many digits:
- _totalSupply = uint256(1000000000 * 10 ** _decimals) (#769)
BotToken.slitherConstructorVariables() (#697-1188) uses literals with too many digits:
- _dead = 0x000000000000000000000000000000000000dEaD (#702)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BotToken._dead (#702) should be constant
BotToken.minMxTxPercentage (#744) should be constant
BotToken.minMxWalletPercentage (#746) should be constant
BotToken.router (#738) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Telegram account link seems to be invalid