TrustRise is an all new on-chain DeFi Game intended to bring a fun, fresh and rewarding experience to its holders.
Private Sale V2: January 5th
https://t.co/m2xyWIMY9n
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in trustrisev2._transfer(address,address,uint256) (#734-756):
External calls:
- swapAndLiquify(contractTokenBalance) (#752)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#792-799)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#780-786)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#752)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#792-799)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#755)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#666)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#859)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#850)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#851)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#870)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#608)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#861)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#871)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#610)
- _tokenTransfer(from,to,amount) (#755)
- _rTotal = _rTotal.sub(rFee) (#621)
- _tokenTransfer(from,to,amount) (#755)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#668)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#607)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#869)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#860)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#609)
Apply the check-effects-interactions pattern.
Additional information: link
trustrisev2.addLiquidity(uint256,uint256) (#789-800) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#792-799)
Ensure that all the return values of the function calls are used.
Additional information: link
trustrisev2.allowance(address,address).owner (#499) shadows:
- Ownable.owner() (#157-159) (function)
trustrisev2._approve(address,address,uint256).owner (#726) shadows:
- Ownable.owner() (#157-159) (function)
Rename the local variables that shadow another component.
Additional information: link
trustrisev2.setbuyTaxFees(uint256,uint256,uint256) (#702-715) should emit an event for:
- buyTaxFee = taxFee (#703)
- buyCharityFee = CharityFee (#704)
- buyLiquidityFee = liquidityFee (#705)
- _taxFee = taxFee (#707)
- _liquidityFee = liquidityFee (#708)
- _CharityFee = CharityFee (#709)
- _previousLiquidityFee = _liquidityFee (#711)
- _previousCharityFee = _CharityFee (#712)
- _previousTaxFee = _taxFee (#713)
trustrisev2.setSellTaxFees(uint256,uint256,uint256) (#716-721) should emit an event for:
- SellTaxFee = taxFee (#717)
- SellCharityFee = CharityFee (#718)
- SellLiquidityFee = liquidityFee (#719)
Emit an event for critical parameter changes.
Additional information: link
trustrisev2.setCharityWallet(address).newWallet (#593) lacks a zero-check on :
- CharityWallet = newWallet (#594)
Check that the address is not zero.
Additional information: link
Reentrancy in trustrisev2._transfer(address,address,uint256) (#734-756):
External calls:
- swapAndLiquify(contractTokenBalance) (#752)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#792-799)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#780-786)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#752)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#792-799)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#755)
- _CharityFee = _previousCharityFee (#698)
- _CharityFee = SellCharityFee (#809)
- _CharityFee = 0 (#691)
- _CharityFee = buyCharityFee (#814)
- _tokenTransfer(from,to,amount) (#755)
- _liquidityFee = _previousLiquidityFee (#699)
- _liquidityFee = SellLiquidityFee (#808)
- _liquidityFee = buyLiquidityFee (#813)
- _liquidityFee = 0 (#692)
- _liquidityFee = 0 (#835)
- _liquidityFee = _previousLiquidityFee (#840)
- _tokenTransfer(from,to,amount) (#755)
- _previousCharityFee = _CharityFee (#687)
- _tokenTransfer(from,to,amount) (#755)
- _previousLiquidityFee = _liquidityFee (#688)
- _tokenTransfer(from,to,amount) (#755)
- _previousTaxFee = _taxFee (#686)
- _tokenTransfer(from,to,amount) (#755)
- _tFeeTotal = _tFeeTotal.add(tFee) (#622)
- _tokenTransfer(from,to,amount) (#755)
- _taxFee = _previousTaxFee (#697)
- _taxFee = SellTaxFee (#807)
- _taxFee = buyTaxFee (#812)
- _taxFee = 0 (#690)
- _taxFee = 0 (#834)
- _taxFee = _previousTaxFee (#839)
Reentrancy in trustrisev2.constructor() (#457-471):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#461-462)
State variables written after the call(s):
- AutomaticMarketMaker[uniswapV2Pair] = true (#469)
- _isExcludedFromFee[owner()] = true (#466)
- _isExcludedFromFee[address(this)] = true (#467)
- _isExcludedFromFee[CharityWallet] = true (#468)
- uniswapV2Router = _uniswapV2Router (#464)
Reentrancy in trustrisev2.swapAndLiquify(uint256) (#758-771):
External calls:
- swapTokensForEth(half) (#764)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#780-786)
- addLiquidity(otherHalf,newBalance) (#768)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#792-799)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#768)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#792-799)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#768)
- _allowances[owner][spender] = amount (#730)
Reentrancy in trustrisev2.transferFrom(address,address,uint256) (#508-512):
External calls:
- _transfer(sender,recipient,amount) (#509)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#792-799)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#780-786)
External calls sending eth:
- _transfer(sender,recipient,amount) (#509)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#792-799)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#510)
- _allowances[owner][spender] = amount (#730)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in trustrisev2._transfer(address,address,uint256) (#734-756):
External calls:
- swapAndLiquify(contractTokenBalance) (#752)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#792-799)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#780-786)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#752)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#792-799)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#854)
- _tokenTransfer(from,to,amount) (#755)
- Transfer(sender,recipient,tTransferAmount) (#874)
- _tokenTransfer(from,to,amount) (#755)
- Transfer(sender,recipient,tTransferAmount) (#864)
- _tokenTransfer(from,to,amount) (#755)
- Transfer(sender,recipient,tTransferAmount) (#613)
- _tokenTransfer(from,to,amount) (#755)
Reentrancy in trustrisev2.constructor() (#457-471):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#461-462)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#470)
Reentrancy in trustrisev2.swapAndLiquify(uint256) (#758-771):
External calls:
- swapTokensForEth(half) (#764)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#780-786)
- addLiquidity(otherHalf,newBalance) (#768)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#792-799)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#768)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#792-799)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#731)
- addLiquidity(otherHalf,newBalance) (#768)
- SwapAndLiquify(half,newBalance,otherHalf) (#770)
Reentrancy in trustrisev2.transferFrom(address,address,uint256) (#508-512):
External calls:
- _transfer(sender,recipient,amount) (#509)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#792-799)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#780-786)
External calls sending eth:
- _transfer(sender,recipient,amount) (#509)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#792-799)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#731)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#510)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#92-98) uses assembly
- INLINE ASM (#96)
Address._functionCallWithValue(address,bytes,uint256,string) (#124-141) uses assembly
- INLINE ASM (#133-136)
Do not use evm assembly.
Additional information: link
trustrisev2.includeInReward(address) (#573-584) has costly operations inside a loop:
- _excluded.pop() (#580)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#124-141) is never used and should be removed
Address.functionCall(address,bytes) (#107-109) is never used and should be removed
Address.functionCall(address,bytes,string) (#111-113) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#115-117) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#119-122) is never used and should be removed
Address.isContract(address) (#92-98) is never used and should be removed
Address.sendValue(address,uint256) (#100-105) is never used and should be removed
Context._msgData() (#83-86) is never used and should be removed
SafeMath.mod(uint256,uint256) (#68-70) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#72-75) is never used and should be removed
Remove unused functions.
Additional information: link
trustrisev2._rTotal (#406) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
trustrisev2._previousTaxFee (#414) is set pre-construction with a non-constant function or state variable:
- _taxFee
trustrisev2._previousLiquidityFee (#417) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
trustrisev2._previousCharityFee (#420) is set pre-construction with a non-constant function or state variable:
- _CharityFee
trustrisev2.buyTaxFee (#423) is set pre-construction with a non-constant function or state variable:
- _taxFee
trustrisev2.buyLiquidityFee (#424) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
trustrisev2.buyCharityFee (#425) is set pre-construction with a non-constant function or state variable:
- _CharityFee
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
Pragma version^0.8.0 (#3) allows old versions
solc-0.8.10 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#100-105):
- (success) = recipient.call{value: amount}() (#103)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#124-141):
- (success,returndata) = target.call{value: weiValue}(data) (#127)
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() (#215) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#216) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#233) is not in mixedCase
Function IUniswapV2Router01.WETH() (#255) is not in mixedCase
Contract trustrisev2 (#391-877) is not in CapWords
Parameter trustrisev2.setAutomaticMarketMaker(address,bool)._autoMM (#531) is not in mixedCase
Parameter trustrisev2.setAutomaticMarketMaker(address,bool)._status (#531) is not in mixedCase
Function trustrisev2._isAutomaticMarketMaker(address) (#534-536) is not in mixedCase
Parameter trustrisev2._isAutomaticMarketMaker(address).AMM (#534) is not in mixedCase
Parameter trustrisev2.setSwapAndLiquifyEnabled(bool)._enabled (#601) is not in mixedCase
Parameter trustrisev2.calculateTaxFee(uint256)._amount (#671) is not in mixedCase
Parameter trustrisev2.calculateLiquidityFee(uint256)._amount (#677) is not in mixedCase
Parameter trustrisev2.setbuyTaxFees(uint256,uint256,uint256).CharityFee (#702) is not in mixedCase
Parameter trustrisev2.setSellTaxFees(uint256,uint256,uint256).CharityFee (#716) is not in mixedCase
Variable trustrisev2.AutomaticMarketMaker (#398) is not in mixedCase
Variable trustrisev2.CharityWallet (#400) is not in mixedCase
Variable trustrisev2._CharityFee (#419) is not in mixedCase
Variable trustrisev2.SellTaxFee (#428) is not in mixedCase
Variable trustrisev2.SellLiquidityFee (#429) is not in mixedCase
Variable trustrisev2.SellCharityFee (#430) is not in mixedCase
Variable trustrisev2._maxTxAmount (#440) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#84)" inContext (#78-87)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#260) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#261)
Variable trustrisev2._transferBothExcluded(address,address,uint256).rTransferAmount (#606) is too similar to trustrisev2._getValues(uint256).tTransferAmount (#626)
Variable trustrisev2._transferFromExcluded(address,address,uint256).rTransferAmount (#868) is too similar to trustrisev2._transferToExcluded(address,address,uint256).tTransferAmount (#858)
Variable trustrisev2._getValues(uint256).rTransferAmount (#627) is too similar to trustrisev2._getValues(uint256).tTransferAmount (#626)
Variable trustrisev2._transferToExcluded(address,address,uint256).rTransferAmount (#858) is too similar to trustrisev2._getValues(uint256).tTransferAmount (#626)
Variable trustrisev2._transferBothExcluded(address,address,uint256).rTransferAmount (#606) is too similar to trustrisev2._transferFromExcluded(address,address,uint256).tTransferAmount (#868)
Variable trustrisev2._transferBothExcluded(address,address,uint256).rTransferAmount (#606) is too similar to trustrisev2._transferBothExcluded(address,address,uint256).tTransferAmount (#606)
Variable trustrisev2.reflectionFromToken(uint256,bool).rTransferAmount (#552) is too similar to trustrisev2._getValues(uint256).tTransferAmount (#626)
Variable trustrisev2._transferFromExcluded(address,address,uint256).rTransferAmount (#868) is too similar to trustrisev2._getValues(uint256).tTransferAmount (#626)
Variable trustrisev2._transferBothExcluded(address,address,uint256).rTransferAmount (#606) is too similar to trustrisev2._transferToExcluded(address,address,uint256).tTransferAmount (#858)
Variable trustrisev2._getValues(uint256).rTransferAmount (#627) is too similar to trustrisev2._transferFromExcluded(address,address,uint256).tTransferAmount (#868)
Variable trustrisev2._getValues(uint256).rTransferAmount (#627) is too similar to trustrisev2._getTValues(uint256).tTransferAmount (#634)
Variable trustrisev2._getValues(uint256).rTransferAmount (#627) is too similar to trustrisev2._transferBothExcluded(address,address,uint256).tTransferAmount (#606)
Variable trustrisev2._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#642) is too similar to trustrisev2._getValues(uint256).tTransferAmount (#626)
Variable trustrisev2._transferToExcluded(address,address,uint256).rTransferAmount (#858) is too similar to trustrisev2._transferFromExcluded(address,address,uint256).tTransferAmount (#868)
Variable trustrisev2._transferStandard(address,address,uint256).rTransferAmount (#849) is too similar to trustrisev2._getValues(uint256).tTransferAmount (#626)
Variable trustrisev2._getValues(uint256).rTransferAmount (#627) is too similar to trustrisev2._transferToExcluded(address,address,uint256).tTransferAmount (#858)
Variable trustrisev2._transferToExcluded(address,address,uint256).rTransferAmount (#858) is too similar to trustrisev2._transferToExcluded(address,address,uint256).tTransferAmount (#858)
Variable trustrisev2._transferFromExcluded(address,address,uint256).rTransferAmount (#868) is too similar to trustrisev2._transferFromExcluded(address,address,uint256).tTransferAmount (#868)
Variable trustrisev2._transferFromExcluded(address,address,uint256).rTransferAmount (#868) is too similar to trustrisev2._transferBothExcluded(address,address,uint256).tTransferAmount (#606)
Variable trustrisev2._transferStandard(address,address,uint256).rTransferAmount (#849) is too similar to trustrisev2._transferBothExcluded(address,address,uint256).tTransferAmount (#606)
Variable trustrisev2._getValues(uint256).rTransferAmount (#627) is too similar to trustrisev2._transferStandard(address,address,uint256).tTransferAmount (#849)
Variable trustrisev2._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#642) is too similar to trustrisev2._transferFromExcluded(address,address,uint256).tTransferAmount (#868)
Variable trustrisev2._transferStandard(address,address,uint256).rTransferAmount (#849) is too similar to trustrisev2._getTValues(uint256).tTransferAmount (#634)
Variable trustrisev2.reflectionFromToken(uint256,bool).rTransferAmount (#552) is too similar to trustrisev2._transferFromExcluded(address,address,uint256).tTransferAmount (#868)
Variable trustrisev2._transferStandard(address,address,uint256).rTransferAmount (#849) is too similar to trustrisev2._transferStandard(address,address,uint256).tTransferAmount (#849)
Variable trustrisev2._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#642) is too similar to trustrisev2._transferBothExcluded(address,address,uint256).tTransferAmount (#606)
Variable trustrisev2._transferStandard(address,address,uint256).rTransferAmount (#849) is too similar to trustrisev2._transferToExcluded(address,address,uint256).tTransferAmount (#858)
Variable trustrisev2._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#642) is too similar to trustrisev2._getTValues(uint256).tTransferAmount (#634)
Variable trustrisev2._transferFromExcluded(address,address,uint256).rTransferAmount (#868) is too similar to trustrisev2._getTValues(uint256).tTransferAmount (#634)
Variable trustrisev2.reflectionFromToken(uint256,bool).rTransferAmount (#552) is too similar to trustrisev2._transferBothExcluded(address,address,uint256).tTransferAmount (#606)
Variable trustrisev2.reflectionFromToken(uint256,bool).rTransferAmount (#552) is too similar to trustrisev2._getTValues(uint256).tTransferAmount (#634)
Variable trustrisev2._transferBothExcluded(address,address,uint256).rTransferAmount (#606) is too similar to trustrisev2._getTValues(uint256).tTransferAmount (#634)
Variable trustrisev2._transferToExcluded(address,address,uint256).rTransferAmount (#858) is too similar to trustrisev2._transferBothExcluded(address,address,uint256).tTransferAmount (#606)
Variable trustrisev2._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#642) is too similar to trustrisev2._transferStandard(address,address,uint256).tTransferAmount (#849)
Variable trustrisev2._transferToExcluded(address,address,uint256).rTransferAmount (#858) is too similar to trustrisev2._getTValues(uint256).tTransferAmount (#634)
Variable trustrisev2._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#642) is too similar to trustrisev2._transferToExcluded(address,address,uint256).tTransferAmount (#858)
Variable trustrisev2._transferStandard(address,address,uint256).rTransferAmount (#849) is too similar to trustrisev2._transferFromExcluded(address,address,uint256).tTransferAmount (#868)
Variable trustrisev2._transferFromExcluded(address,address,uint256).rTransferAmount (#868) is too similar to trustrisev2._transferStandard(address,address,uint256).tTransferAmount (#849)
Variable trustrisev2._transferBothExcluded(address,address,uint256).rTransferAmount (#606) is too similar to trustrisev2._transferStandard(address,address,uint256).tTransferAmount (#849)
Variable trustrisev2.reflectionFromToken(uint256,bool).rTransferAmount (#552) is too similar to trustrisev2._transferStandard(address,address,uint256).tTransferAmount (#849)
Variable trustrisev2.reflectionFromToken(uint256,bool).rTransferAmount (#552) is too similar to trustrisev2._transferToExcluded(address,address,uint256).tTransferAmount (#858)
Variable trustrisev2._transferToExcluded(address,address,uint256).rTransferAmount (#858) is too similar to trustrisev2._transferStandard(address,address,uint256).tTransferAmount (#849)
Prevent variables from having similar names.
Additional information: link
Ownable._previousOwner (#146) is never used in trustrisev2 (#391-877)
Ownable._lockTime (#147) is never used in trustrisev2 (#391-877)
Remove unused state variables.
Additional information: link
Ownable._lockTime (#147) should be constant
Ownable._previousOwner (#146) should be constant
trustrisev2._decimals (#411) should be constant
trustrisev2._name (#409) should be constant
trustrisev2._symbol (#410) should be constant
trustrisev2._tTotal (#405) should be constant
trustrisev2.numTokensSellToAddToLiquidity (#441) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#166-169)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#171-175)
name() should be declared external:
- trustrisev2.name() (#473-475)
symbol() should be declared external:
- trustrisev2.symbol() (#477-479)
decimals() should be declared external:
- trustrisev2.decimals() (#481-483)
totalSupply() should be declared external:
- trustrisev2.totalSupply() (#485-487)
transfer(address,uint256) should be declared external:
- trustrisev2.transfer(address,uint256) (#494-497)
allowance(address,address) should be declared external:
- trustrisev2.allowance(address,address) (#499-501)
approve(address,uint256) should be declared external:
- trustrisev2.approve(address,uint256) (#503-506)
transferFrom(address,address,uint256) should be declared external:
- trustrisev2.transferFrom(address,address,uint256) (#508-512)
increaseAllowance(address,uint256) should be declared external:
- trustrisev2.increaseAllowance(address,uint256) (#514-517)
decreaseAllowance(address,uint256) should be declared external:
- trustrisev2.decreaseAllowance(address,uint256) (#519-522)
isExcludedFromReward(address) should be declared external:
- trustrisev2.isExcludedFromReward(address) (#524-526)
totalFees() should be declared external:
- trustrisev2.totalFees() (#528-530)
_isAutomaticMarketMaker(address) should be declared external:
- trustrisev2._isAutomaticMarketMaker(address) (#534-536)
deliver(uint256) should be declared external:
- trustrisev2.deliver(uint256) (#537-544)
reflectionFromToken(uint256,bool) should be declared external:
- trustrisev2.reflectionFromToken(uint256,bool) (#546-555)
excludeFromReward(address) should be declared external:
- trustrisev2.excludeFromReward(address) (#563-571)
excludeFromFee(address) should be declared external:
- trustrisev2.excludeFromFee(address) (#585-587)
includeInFee(address) should be declared external:
- trustrisev2.includeInFee(address) (#589-591)
setSwapAndLiquifyEnabled(bool) should be declared external:
- trustrisev2.setSwapAndLiquifyEnabled(bool) (#601-604)
isExcludedFromFee(address) should be declared external:
- trustrisev2.isExcludedFromFee(address) (#722-724)
Use the external attribute for functions never called from the contract.
Additional information: link
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 token on CoinGecko
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
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
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Alexa traffic rank is relatively low
Additional information: link
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
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