Toxic Game NFT has been developed with the idea of creating a new world in decentralized finance.
A project focused on a concept never seen before, which is accompanied by a group of great developers within our ecosystem.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
TOXICgameNFT.addLiquidity(uint256,uint256) (#801-814) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#806-813)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in TOXICgameNFT._transfer(address,address,uint256) (#731-758):
External calls:
- swapAndLiquify(contractTokenBalance) (#753)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#806-813)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#792-798)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#753)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#806-813)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#757)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#681)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#891)
- _rOwned[marketingWallet] = _rOwned[marketingWallet].add(rMarketing) (#883)
- _rOwned[deadAddress] = _rOwned[deadAddress].add(rBurn) (#869)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#902)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#622)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#893)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#903)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#853)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#854)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#624)
- _tokenTransfer(from,to,amount) (#757)
- _rTotal = _rTotal.sub(rFee) (#636)
- _tokenTransfer(from,to,amount) (#757)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#683)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#621)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#901)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#892)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#623)
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.
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.
TOXICgameNFT.prepareFoePresale() (#909-920) uses literals with too many digits:
- _maxTxAmount = 1000000000000000 * 10 ** 9 (#918)
TOXICgameNFT.afterPresale() (#922-933) uses literals with too many digits:
- _maxTxAmount = 10000000000000000 * 10 ** 9 (#931)
TOXICgameNFT.slitherConstructorVariables() (#433-985) uses literals with too many digits:
- _tTotal = 10000000000000000 * 10 ** 9 (#447)
TOXICgameNFT.slitherConstructorVariables() (#433-985) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#463)
TOXICgameNFT.slitherConstructorVariables() (#433-985) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 50000000000 * 10 ** 9 (#475)
TOXICgameNFT.slitherConstructorVariables() (#433-985) uses literals with too many digits:
- _maxTxAmount = 1000000000000000 * 10 ** 9 (#476)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
TOXICgameNFT._decimals (#453) should be constant
TOXICgameNFT._name (#451) should be constant
TOXICgameNFT._symbol (#452) should be constant
TOXICgameNFT._tTotal (#447) should be constant
TOXICgameNFT.deadAddress (#463) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#188-191)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#194-198)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (#200-202)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#205-210)
unlock() should be declared external:
- Ownable.unlock() (#213-218)
name() should be declared external:
- TOXICgameNFT.name() (#512-514)
symbol() should be declared external:
- TOXICgameNFT.symbol() (#516-518)
decimals() should be declared external:
- TOXICgameNFT.decimals() (#520-522)
totalSupply() should be declared external:
- TOXICgameNFT.totalSupply() (#524-526)
transfer(address,uint256) should be declared external:
- TOXICgameNFT.transfer(address,uint256) (#533-536)
allowance(address,address) should be declared external:
- TOXICgameNFT.allowance(address,address) (#538-540)
approve(address,uint256) should be declared external:
- TOXICgameNFT.approve(address,uint256) (#542-545)
transferFrom(address,address,uint256) should be declared external:
- TOXICgameNFT.transferFrom(address,address,uint256) (#547-551)
increaseAllowance(address,uint256) should be declared external:
- TOXICgameNFT.increaseAllowance(address,uint256) (#553-556)
decreaseAllowance(address,uint256) should be declared external:
- TOXICgameNFT.decreaseAllowance(address,uint256) (#558-561)
isExcludedFromReward(address) should be declared external:
- TOXICgameNFT.isExcludedFromReward(address) (#563-565)
totalFees() should be declared external:
- TOXICgameNFT.totalFees() (#567-569)
deliver(uint256) should be declared external:
- TOXICgameNFT.deliver(uint256) (#571-578)
reflectionFromToken(uint256,bool) should be declared external:
- TOXICgameNFT.reflectionFromToken(uint256,bool) (#580-589)
excludeFromReward(address) should be declared external:
- TOXICgameNFT.excludeFromReward(address) (#597-604)
isExcludedFromFee(address) should be declared external:
- TOXICgameNFT.isExcludedFromFee(address) (#719-721)
excludeFromFee(address) should be declared external:
- TOXICgameNFT.excludeFromFee(address) (#935-937)
includeInFee(address) should be declared external:
- TOXICgameNFT.includeInFee(address) (#939-941)
setRouterAddress(address) should be declared external:
- TOXICgameNFT.setRouterAddress(address) (#973-977)
Use the external attribute for functions never called from the contract.
Additional information: link
TOXICgameNFT._rTotal (#448) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
TOXICgameNFT._previousTaxFee (#456) is set pre-construction with a non-constant function or state variable:
- _taxFee
TOXICgameNFT._previousLiquidityFee (#459) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
TOXICgameNFT._previousBurnFee (#462) is set pre-construction with a non-constant function or state variable:
- _burnFee
TOXICgameNFT._previousmarketingFee (#467) is set pre-construction with a non-constant function or state variable:
- _marketingFee
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) (#109-115):
- (success) = recipient.call{value: amount}() (#113)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#138-159):
- (success,returndata) = target.call{value: weiValue}(data) (#142)
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() (#257) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#258) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#274) is not in mixedCase
Function IUniswapV2Router01.WETH() (#295) is not in mixedCase
Parameter TOXICgameNFT.calculateTaxFee(uint256)._amount (#686) is not in mixedCase
Parameter TOXICgameNFT.calculateLiquidityFee(uint256)._amount (#692) is not in mixedCase
Parameter TOXICgameNFT.setSwapAndLiquifyEnabled(bool)._enabled (#979) is not in mixedCase
Variable TOXICgameNFT._taxFee (#455) is not in mixedCase
Variable TOXICgameNFT._liquidityFee (#458) is not in mixedCase
Variable TOXICgameNFT._burnFee (#461) is not in mixedCase
Variable TOXICgameNFT._marketingFee (#465) is not in mixedCase
Variable TOXICgameNFT._maxTxAmount (#476) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#90)" inContext (#84-93)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#300) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#301)
Variable TOXICgameNFT.takeBurn(address,uint256,uint256,uint256).rTransferAmount (#861) is too similar to TOXICgameNFT._getValues(uint256).tTransferAmount (#641)
Variable TOXICgameNFT.takeMarketing(address,uint256,uint256,uint256).rTransferAmount (#875) is too similar to TOXICgameNFT._transferToExcluded(address,address,uint256).tTransferAmount (#890)
Variable TOXICgameNFT._getValues(uint256).rTransferAmount (#642) is too similar to TOXICgameNFT._getValues(uint256).tTransferAmount (#641)
Variable TOXICgameNFT._transferStandard(address,address,uint256).rTransferAmount (#850) is too similar to TOXICgameNFT._transferBothExcluded(address,address,uint256).tTransferAmount (#620)
Variable TOXICgameNFT.reflectionFromToken(uint256,bool).rTransferAmount (#586) is too similar to TOXICgameNFT._transferToExcluded(address,address,uint256).tTransferAmount (#890)
Variable TOXICgameNFT.takeMarketing(address,uint256,uint256,uint256).rTransferAmount (#875) is too similar to TOXICgameNFT._transferFromExcluded(address,address,uint256).tTransferAmount (#900)
Variable TOXICgameNFT.takeMarketing(address,uint256,uint256,uint256).rTransferAmount (#875) is too similar to TOXICgameNFT._getTValues(uint256).tTransferAmount (#649)
Variable TOXICgameNFT._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#657) is too similar to TOXICgameNFT._transferToExcluded(address,address,uint256).tTransferAmount (#890)
Variable TOXICgameNFT.reflectionFromToken(uint256,bool).rTransferAmount (#586) is too similar to TOXICgameNFT._transferFromExcluded(address,address,uint256).tTransferAmount (#900)
Variable TOXICgameNFT.takeBurn(address,uint256,uint256,uint256).rTransferAmount (#861) is too similar to TOXICgameNFT._transferStandard(address,address,uint256).tTransferAmount (#850)
Variable TOXICgameNFT.takeMarketing(address,uint256,uint256,uint256).rTransferAmount (#875) is too similar to TOXICgameNFT._getValues(uint256).tTransferAmount (#641)
Variable TOXICgameNFT.reflectionFromToken(uint256,bool).rTransferAmount (#586) is too similar to TOXICgameNFT._getTValues(uint256).tTransferAmount (#649)
Variable TOXICgameNFT._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#657) is too similar to TOXICgameNFT._transferFromExcluded(address,address,uint256).tTransferAmount (#900)
Variable TOXICgameNFT._transferFromExcluded(address,address,uint256).rTransferAmount (#900) is too similar to TOXICgameNFT._transferToExcluded(address,address,uint256).tTransferAmount (#890)
Variable TOXICgameNFT._getValues(uint256).rTransferAmount (#642) is too similar to TOXICgameNFT._transferStandard(address,address,uint256).tTransferAmount (#850)
Variable TOXICgameNFT._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#657) is too similar to TOXICgameNFT._getTValues(uint256).tTransferAmount (#649)
Variable TOXICgameNFT._getValues(uint256).rTransferAmount (#642) is too similar to TOXICgameNFT.takeBurn(address,uint256,uint256,uint256).tTransferAmount (#861)
Variable TOXICgameNFT._transferFromExcluded(address,address,uint256).rTransferAmount (#900) is too similar to TOXICgameNFT._transferFromExcluded(address,address,uint256).tTransferAmount (#900)
Variable TOXICgameNFT.reflectionFromToken(uint256,bool).rTransferAmount (#586) is too similar to TOXICgameNFT._getValues(uint256).tTransferAmount (#641)
Variable TOXICgameNFT._transferStandard(address,address,uint256).rTransferAmount (#850) is too similar to TOXICgameNFT._transferToExcluded(address,address,uint256).tTransferAmount (#890)
Variable TOXICgameNFT._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#657) is too similar to TOXICgameNFT._getValues(uint256).tTransferAmount (#641)
Variable TOXICgameNFT._transferBothExcluded(address,address,uint256).rTransferAmount (#620) is too similar to TOXICgameNFT._getValues(uint256).tTransferAmount (#641)
Variable TOXICgameNFT._transferFromExcluded(address,address,uint256).rTransferAmount (#900) is too similar to TOXICgameNFT._getTValues(uint256).tTransferAmount (#649)
Variable TOXICgameNFT._transferStandard(address,address,uint256).rTransferAmount (#850) is too similar to TOXICgameNFT._transferFromExcluded(address,address,uint256).tTransferAmount (#900)
Variable TOXICgameNFT.takeMarketing(address,uint256,uint256,uint256).rTransferAmount (#875) is too similar to TOXICgameNFT._transferStandard(address,address,uint256).tTransferAmount (#850)
Variable TOXICgameNFT._transferFromExcluded(address,address,uint256).rTransferAmount (#900) is too similar to TOXICgameNFT._getValues(uint256).tTransferAmount (#641)
Variable TOXICgameNFT._transferStandard(address,address,uint256).rTransferAmount (#850) is too similar to TOXICgameNFT._getTValues(uint256).tTransferAmount (#649)
Variable TOXICgameNFT.takeBurn(address,uint256,uint256,uint256).rTransferAmount (#861) is too similar to TOXICgameNFT._transferBothExcluded(address,address,uint256).tTransferAmount (#620)
Variable TOXICgameNFT._transferToExcluded(address,address,uint256).rTransferAmount (#890) is too similar to TOXICgameNFT._transferBothExcluded(address,address,uint256).tTransferAmount (#620)
Variable TOXICgameNFT._transferStandard(address,address,uint256).rTransferAmount (#850) is too similar to TOXICgameNFT._getValues(uint256).tTransferAmount (#641)
Variable TOXICgameNFT.reflectionFromToken(uint256,bool).rTransferAmount (#586) is too similar to TOXICgameNFT._transferStandard(address,address,uint256).tTransferAmount (#850)
Variable TOXICgameNFT._getValues(uint256).rTransferAmount (#642) is too similar to TOXICgameNFT._transferBothExcluded(address,address,uint256).tTransferAmount (#620)
Variable TOXICgameNFT.reflectionFromToken(uint256,bool).rTransferAmount (#586) is too similar to TOXICgameNFT.takeBurn(address,uint256,uint256,uint256).tTransferAmount (#861)
Variable TOXICgameNFT.takeBurn(address,uint256,uint256,uint256).rTransferAmount (#861) is too similar to TOXICgameNFT.takeMarketing(address,uint256,uint256,uint256).tTransferAmount (#875)
Variable TOXICgameNFT._transferToExcluded(address,address,uint256).rTransferAmount (#890) is too similar to TOXICgameNFT._getValues(uint256).tTransferAmount (#641)
Variable TOXICgameNFT._getValues(uint256).rTransferAmount (#642) is too similar to TOXICgameNFT.takeMarketing(address,uint256,uint256,uint256).tTransferAmount (#875)
Variable TOXICgameNFT.takeBurn(address,uint256,uint256,uint256).rTransferAmount (#861) is too similar to TOXICgameNFT._transferToExcluded(address,address,uint256).tTransferAmount (#890)
Variable TOXICgameNFT._transferStandard(address,address,uint256).rTransferAmount (#850) is too similar to TOXICgameNFT._transferStandard(address,address,uint256).tTransferAmount (#850)
Variable TOXICgameNFT.takeMarketing(address,uint256,uint256,uint256).rTransferAmount (#875) is too similar to TOXICgameNFT._transferBothExcluded(address,address,uint256).tTransferAmount (#620)
Variable TOXICgameNFT._transferToExcluded(address,address,uint256).rTransferAmount (#890) is too similar to TOXICgameNFT._transferToExcluded(address,address,uint256).tTransferAmount (#890)
Variable TOXICgameNFT._getValues(uint256).rTransferAmount (#642) is too similar to TOXICgameNFT._transferToExcluded(address,address,uint256).tTransferAmount (#890)
Variable TOXICgameNFT.takeBurn(address,uint256,uint256,uint256).rTransferAmount (#861) is too similar to TOXICgameNFT._transferFromExcluded(address,address,uint256).tTransferAmount (#900)
Variable TOXICgameNFT.reflectionFromToken(uint256,bool).rTransferAmount (#586) is too similar to TOXICgameNFT._transferBothExcluded(address,address,uint256).tTransferAmount (#620)
Variable TOXICgameNFT._transferToExcluded(address,address,uint256).rTransferAmount (#890) is too similar to TOXICgameNFT._transferFromExcluded(address,address,uint256).tTransferAmount (#900)
Variable TOXICgameNFT._transferToExcluded(address,address,uint256).rTransferAmount (#890) is too similar to TOXICgameNFT._getTValues(uint256).tTransferAmount (#649)
Variable TOXICgameNFT._transferBothExcluded(address,address,uint256).rTransferAmount (#620) is too similar to TOXICgameNFT._transferBothExcluded(address,address,uint256).tTransferAmount (#620)
Variable TOXICgameNFT._getValues(uint256).rTransferAmount (#642) is too similar to TOXICgameNFT._transferFromExcluded(address,address,uint256).tTransferAmount (#900)
Variable TOXICgameNFT.takeBurn(address,uint256,uint256,uint256).rTransferAmount (#861) is too similar to TOXICgameNFT._getTValues(uint256).tTransferAmount (#649)
Variable TOXICgameNFT._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#657) is too similar to TOXICgameNFT._transferBothExcluded(address,address,uint256).tTransferAmount (#620)
Variable TOXICgameNFT._getValues(uint256).rTransferAmount (#642) is too similar to TOXICgameNFT._getTValues(uint256).tTransferAmount (#649)
Variable TOXICgameNFT.reflectionFromToken(uint256,bool).rTransferAmount (#586) is too similar to TOXICgameNFT.takeMarketing(address,uint256,uint256,uint256).tTransferAmount (#875)
Variable TOXICgameNFT._transferFromExcluded(address,address,uint256).rTransferAmount (#900) is too similar to TOXICgameNFT._transferBothExcluded(address,address,uint256).tTransferAmount (#620)
Variable TOXICgameNFT.takeMarketing(address,uint256,uint256,uint256).rTransferAmount (#875) is too similar to TOXICgameNFT.takeBurn(address,uint256,uint256,uint256).tTransferAmount (#861)
Variable TOXICgameNFT._transferBothExcluded(address,address,uint256).rTransferAmount (#620) is too similar to TOXICgameNFT.takeMarketing(address,uint256,uint256,uint256).tTransferAmount (#875)
Variable TOXICgameNFT._transferBothExcluded(address,address,uint256).rTransferAmount (#620) is too similar to TOXICgameNFT._getTValues(uint256).tTransferAmount (#649)
Variable TOXICgameNFT._transferBothExcluded(address,address,uint256).rTransferAmount (#620) is too similar to TOXICgameNFT._transferStandard(address,address,uint256).tTransferAmount (#850)
Variable TOXICgameNFT._transferFromExcluded(address,address,uint256).rTransferAmount (#900) is too similar to TOXICgameNFT.takeMarketing(address,uint256,uint256,uint256).tTransferAmount (#875)
Variable TOXICgameNFT._transferToExcluded(address,address,uint256).rTransferAmount (#890) is too similar to TOXICgameNFT.takeMarketing(address,uint256,uint256,uint256).tTransferAmount (#875)
Variable TOXICgameNFT._transferStandard(address,address,uint256).rTransferAmount (#850) is too similar to TOXICgameNFT.takeBurn(address,uint256,uint256,uint256).tTransferAmount (#861)
Variable TOXICgameNFT._transferBothExcluded(address,address,uint256).rTransferAmount (#620) is too similar to TOXICgameNFT._transferFromExcluded(address,address,uint256).tTransferAmount (#900)
Variable TOXICgameNFT._transferFromExcluded(address,address,uint256).rTransferAmount (#900) is too similar to TOXICgameNFT._transferStandard(address,address,uint256).tTransferAmount (#850)
Variable TOXICgameNFT._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#657) is too similar to TOXICgameNFT.takeBurn(address,uint256,uint256,uint256).tTransferAmount (#861)
Variable TOXICgameNFT._transferToExcluded(address,address,uint256).rTransferAmount (#890) is too similar to TOXICgameNFT._transferStandard(address,address,uint256).tTransferAmount (#850)
Variable TOXICgameNFT.takeMarketing(address,uint256,uint256,uint256).rTransferAmount (#875) is too similar to TOXICgameNFT.takeMarketing(address,uint256,uint256,uint256).tTransferAmount (#875)
Variable TOXICgameNFT.takeBurn(address,uint256,uint256,uint256).rTransferAmount (#861) is too similar to TOXICgameNFT.takeBurn(address,uint256,uint256,uint256).tTransferAmount (#861)
Variable TOXICgameNFT._transferBothExcluded(address,address,uint256).rTransferAmount (#620) is too similar to TOXICgameNFT.takeBurn(address,uint256,uint256,uint256).tTransferAmount (#861)
Variable TOXICgameNFT._transferStandard(address,address,uint256).rTransferAmount (#850) is too similar to TOXICgameNFT.takeMarketing(address,uint256,uint256,uint256).tTransferAmount (#875)
Variable TOXICgameNFT._transferBothExcluded(address,address,uint256).rTransferAmount (#620) is too similar to TOXICgameNFT._transferToExcluded(address,address,uint256).tTransferAmount (#890)
Variable TOXICgameNFT._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#657) is too similar to TOXICgameNFT.takeMarketing(address,uint256,uint256,uint256).tTransferAmount (#875)
Variable TOXICgameNFT._transferToExcluded(address,address,uint256).rTransferAmount (#890) is too similar to TOXICgameNFT.takeBurn(address,uint256,uint256,uint256).tTransferAmount (#861)
Variable TOXICgameNFT._transferFromExcluded(address,address,uint256).rTransferAmount (#900) is too similar to TOXICgameNFT.takeBurn(address,uint256,uint256,uint256).tTransferAmount (#861)
Variable TOXICgameNFT._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#657) is too similar to TOXICgameNFT._transferStandard(address,address,uint256).tTransferAmount (#850)
Prevent variables from having similar names.
Additional information: link
TOXICgameNFT.takeBurn(address,uint256,uint256,uint256) (#861-872) performs a multiplication on the result of a division:
-tBurn = tAmount.div(100).mul(_burnFee) (#865)
TOXICgameNFT.takeMarketing(address,uint256,uint256,uint256) (#875-886) performs a multiplication on the result of a division:
-tMarketing = tAmount.div(100).mul(_marketingFee) (#879)
Consider ordering multiplication before division.
Additional information: link
TOXICgameNFT.addLiquidity(uint256,uint256) (#801-814) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#806-813)
Ensure that all the return values of the function calls are used.
Additional information: link
TOXICgameNFT.allowance(address,address).owner (#538) shadows:
- Ownable.owner() (#178-180) (function)
TOXICgameNFT._approve(address,address,uint256).owner (#723) shadows:
- Ownable.owner() (#178-180) (function)
Rename the local variables that shadow another component.
Additional information: link
TOXICgameNFT.setTaxFeePercent(uint256) (#947-949) should emit an event for:
- _taxFee = taxFee (#948)
TOXICgameNFT.setLiquidityFeePercent(uint256) (#951-953) should emit an event for:
- _liquidityFee = liquidityFee (#952)
TOXICgameNFT.setChartityFeePercent(uint256) (#955-957) should emit an event for:
- _marketingFee = marketingFee (#956)
TOXICgameNFT.setBurnFeePercent(uint256) (#959-961) should emit an event for:
- _burnFee = burnFee (#960)
TOXICgameNFT.setNumTokensSellToAddToLiquidity(uint256,uint256) (#963-965) should emit an event for:
- numTokensSellToAddToLiquidity = newAmt * 10 ** decimal (#964)
TOXICgameNFT.setMaxTxAmount(uint256,uint256) (#967-970) should emit an event for:
- _maxTxAmount = maxTxAmount * 10 ** decimal (#969)
Emit an event for critical parameter changes.
Additional information: link
TOXICgameNFT.setmarketingWallet(address).newWallet (#943) lacks a zero-check on :
- marketingWallet = newWallet (#944)
Check that the address is not zero.
Additional information: link
Reentrancy in TOXICgameNFT._transfer(address,address,uint256) (#731-758):
External calls:
- swapAndLiquify(contractTokenBalance) (#753)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#806-813)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#792-798)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#753)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#806-813)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#757)
- _burnFee = _previousBurnFee (#715)
- _burnFee = 0 (#709)
- _tokenTransfer(from,to,amount) (#757)
- _liquidityFee = _previousLiquidityFee (#714)
- _liquidityFee = 0 (#707)
- _tokenTransfer(from,to,amount) (#757)
- _marketingFee = _previousmarketingFee (#716)
- _marketingFee = 0 (#708)
- _tokenTransfer(from,to,amount) (#757)
- _previousBurnFee = _burnFee (#703)
- _tokenTransfer(from,to,amount) (#757)
- _previousLiquidityFee = _liquidityFee (#702)
- _tokenTransfer(from,to,amount) (#757)
- _previousTaxFee = _taxFee (#701)
- _tokenTransfer(from,to,amount) (#757)
- _previousmarketingFee = _marketingFee (#704)
- _tokenTransfer(from,to,amount) (#757)
- _tFeeTotal = _tFeeTotal.add(tFee) (#637)
- _tokenTransfer(from,to,amount) (#757)
- _taxFee = _previousTaxFee (#713)
- _taxFee = 0 (#706)
Reentrancy in TOXICgameNFT.constructor() (#492-510):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#499-500)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#506)
- _isExcludedFromFee[address(this)] = true (#507)
- uniswapV2Router = _uniswapV2Router (#503)
Reentrancy in TOXICgameNFT.setRouterAddress(address) (#973-977):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (#975)
State variables written after the call(s):
- uniswapV2Router = _newPancakeRouter (#976)
Reentrancy in TOXICgameNFT.swapAndLiquify(uint256) (#760-781):
External calls:
- swapTokensForEth(half) (#772)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#792-798)
- addLiquidity(otherHalf,newBalance) (#778)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#806-813)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#778)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#806-813)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#778)
- _allowances[owner][spender] = amount (#727)
Reentrancy in TOXICgameNFT.transferFrom(address,address,uint256) (#547-551):
External calls:
- _transfer(sender,recipient,amount) (#548)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#806-813)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#792-798)
External calls sending eth:
- _transfer(sender,recipient,amount) (#548)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#806-813)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#549)
- _allowances[owner][spender] = amount (#727)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in TOXICgameNFT._transfer(address,address,uint256) (#731-758):
External calls:
- swapAndLiquify(contractTokenBalance) (#753)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#806-813)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#792-798)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#753)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#806-813)
Event emitted after the call(s):
- Transfer(sender,deadAddress,tBurn) (#870)
- _tokenTransfer(from,to,amount) (#757)
- Transfer(sender,marketingWallet,tMarketing) (#884)
- _tokenTransfer(from,to,amount) (#757)
- Transfer(sender,recipient,tTransferAmount) (#896)
- _tokenTransfer(from,to,amount) (#757)
- Transfer(sender,recipient,tTransferAmount) (#906)
- _tokenTransfer(from,to,amount) (#757)
- Transfer(sender,recipient,tTransferAmount) (#627)
- _tokenTransfer(from,to,amount) (#757)
- Transfer(sender,recipient,tTransferAmount) (#857)
- _tokenTransfer(from,to,amount) (#757)
Reentrancy in TOXICgameNFT.constructor() (#492-510):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#499-500)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#509)
Reentrancy in TOXICgameNFT.swapAndLiquify(uint256) (#760-781):
External calls:
- swapTokensForEth(half) (#772)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#792-798)
- addLiquidity(otherHalf,newBalance) (#778)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#806-813)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#778)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#806-813)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#728)
- addLiquidity(otherHalf,newBalance) (#778)
- SwapAndLiquify(half,newBalance,otherHalf) (#780)
Reentrancy in TOXICgameNFT.transferFrom(address,address,uint256) (#547-551):
External calls:
- _transfer(sender,recipient,amount) (#548)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#806-813)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#792-798)
External calls sending eth:
- _transfer(sender,recipient,amount) (#548)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#806-813)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#728)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#549)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#213-218) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#215)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#99-106) uses assembly
- INLINE ASM (#104)
Address._functionCallWithValue(address,bytes,uint256,string) (#138-159) uses assembly
- INLINE ASM (#151-154)
Do not use evm assembly.
Additional information: link
TOXICgameNFT.includeInReward(address) (#606-617) has costly operations inside a loop:
- _excluded.pop() (#613)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#138-159) is never used and should be removed
Address.functionCall(address,bytes) (#118-120) is never used and should be removed
Address.functionCall(address,bytes,string) (#123-125) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#128-130) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#133-136) is never used and should be removed
Address.isContract(address) (#99-106) is never used and should be removed
Address.sendValue(address,uint256) (#109-115) is never used and should be removed
Context._msgData() (#89-92) is never used and should be removed
SafeMath.mod(uint256,uint256) (#73-75) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#78-81) is never used and should be removed
Remove unused functions.
Additional information: link
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute number of swaps.
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 Telegram link on the website
Unable to find Twitter link on the website
Unable to find code repository for the project
Young tokens have high risks of price dump / death
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
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
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