TROY INU is the original MEME token for the exclusive digital art NFT platform TROY Nft Marketplace. The platform hosts digital artists from all over the world and offers its community the opportunity to score NFTs by staking their TROY tokens. As a utility of exchange the user can access a swap known as TROY SWAP which is used to print the NFT of their choice in the future. TROY SWAP can also be used to exchange Tokens on the Binance Smart Chain network.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in TroyInu._transfer(address,address,uint256) (#703-779):
External calls:
- swapAndLiquify(contractTokenBalance) (#756)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#826-832)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#756)
- wallet.transfer(amount) (#795)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#778)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#875)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#876)
- _tOwned[address(this)] = _tOwned[address(this)].add(tDev) (#877)
- _tokenTransfer(from,to,amount,takeFee) (#778)
- txCount ++ (#864)
Apply the check-effects-interactions pattern.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
TroyInu._set_Fees(uint256,uint256) (#597-603) should emit an event for:
- _sellFee = Sell_Fee (#600)
- _buyFee = Buy_Fee (#601)
TroyInu.set_Max_Transaction_Percent(uint256) (#659-661) should emit an event for:
- _maxTxAmount = _tTotal * maxTxPercent_x100 / 10000 (#660)
TroyInu.set_Max_Wallet_Percent(uint256) (#664-666) should emit an event for:
- _maxWalletToken = _tTotal * maxWallPercent_x100 / 10000 (#665)
Emit an event for critical parameter changes.
Additional information: link
Address.isContract(address) (#89-93) uses assembly
- INLINE ASM (#91)
Address._verifyCallResult(bool,bytes,string) (#141-154) uses assembly
- INLINE ASM (#146-149)
Do not use evm assembly.
Additional information: link
TroyInu._previousTotalFee (#433) is set pre-construction with a non-constant function or state variable:
- _TotalFee
TroyInu._previousBuyFee (#434) is set pre-construction with a non-constant function or state variable:
- _buyFee
TroyInu._previousSellFee (#435) is set pre-construction with a non-constant function or state variable:
- _sellFee
TroyInu._maxWalletToken (#444) is set pre-construction with a non-constant function or state variable:
- _tTotal.mul(1).div(100)
TroyInu._previousMaxWalletToken (#445) is set pre-construction with a non-constant function or state variable:
- _maxWalletToken
TroyInu._maxTxAmount (#449) is set pre-construction with a non-constant function or state variable:
- _tTotal.mul(1).div(100)
TroyInu._previousMaxTxAmount (#450) is set pre-construction with a non-constant function or state variable:
- _maxTxAmount
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
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#252) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#253)
Prevent variables from having similar names.
Additional information: link
TroyInu.Wallet_zero (#401) is never used in TroyInu (#381-895)
TroyInu._tFeeTotal (#415) is never used in TroyInu (#381-895)
TroyInu._previousMaxWalletToken (#445) is never used in TroyInu (#381-895)
TroyInu._previousMaxTxAmount (#450) is never used in TroyInu (#381-895)
Remove unused state variables.
Additional information: link
TroyInu.Wallet_Burn (#400) should be constant
TroyInu.Wallet_Marketing (#399) should be constant
TroyInu.Wallet_zero (#401) should be constant
TroyInu._decimals (#413) should be constant
TroyInu._name (#411) should be constant
TroyInu._symbol (#412) should be constant
TroyInu._tFeeTotal (#415) should be constant
TroyInu._tTotal (#414) should be constant
TroyInu.maxPossibleFee (#423) should be constant
TroyInu.swapTrigger (#419) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#180-183)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#186-190)
name() should be declared external:
- TroyInu.name() (#511-513)
symbol() should be declared external:
- TroyInu.symbol() (#515-517)
decimals() should be declared external:
- TroyInu.decimals() (#519-521)
totalSupply() should be declared external:
- TroyInu.totalSupply() (#523-525)
transfer(address,uint256) should be declared external:
- TroyInu.transfer(address,uint256) (#531-534)
allowance(address,address) should be declared external:
- TroyInu.allowance(address,address) (#536-538)
approve(address,uint256) should be declared external:
- TroyInu.approve(address,uint256) (#540-543)
transferFrom(address,address,uint256) should be declared external:
- TroyInu.transferFrom(address,address,uint256) (#545-549)
increaseAllowance(address,uint256) should be declared external:
- TroyInu.increaseAllowance(address,uint256) (#551-554)
decreaseAllowance(address,uint256) should be declared external:
- TroyInu.decreaseAllowance(address,uint256) (#556-559)
excludeFromFee(address) should be declared external:
- TroyInu.excludeFromFee(address) (#578-580)
includeInFee(address) should be declared external:
- TroyInu.includeInFee(address) (#583-585)
set_Swap_And_Liquify_Enabled(bool) should be declared external:
- TroyInu.set_Swap_And_Liquify_Enabled(bool) (#613-616)
process_Tokens_Now(uint256) should be declared external:
- TroyInu.process_Tokens_Now(uint256) (#809-816)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract ticker ($Troy) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
TroyInu.allowance(address,address).owner (#536) shadows:
- Ownable.owner() (#169-171) (function)
TroyInu._approve(address,address,uint256).owner (#695) shadows:
- Ownable.owner() (#169-171) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in TroyInu._transfer(address,address,uint256) (#703-779):
External calls:
- swapAndLiquify(contractTokenBalance) (#756)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#826-832)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#756)
- wallet.transfer(amount) (#795)
State variables written after the call(s):
- _TotalFee = _buyFee (#776)
- _TotalFee = _sellFee (#776)
- _tokenTransfer(from,to,amount,takeFee) (#778)
- _TotalFee = _previousTotalFee (#687)
- _TotalFee = 0 (#680)
- _tokenTransfer(from,to,amount,takeFee) (#778)
- _buyFee = _previousBuyFee (#688)
- _buyFee = 0 (#678)
- _tokenTransfer(from,to,amount,takeFee) (#778)
- _previousBuyFee = _buyFee (#675)
- _tokenTransfer(from,to,amount,takeFee) (#778)
- _previousSellFee = _sellFee (#676)
- _tokenTransfer(from,to,amount,takeFee) (#778)
- _previousTotalFee = _TotalFee (#677)
- _tokenTransfer(from,to,amount,takeFee) (#778)
- _sellFee = _previousSellFee (#689)
- _sellFee = 0 (#679)
Reentrancy in TroyInu.constructor() (#487-502):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#494-495)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#497)
- _isExcludedFromFee[address(this)] = true (#498)
- _isExcludedFromFee[Wallet_Marketing] = true (#499)
- uniswapV2Router = _uniswapV2Router (#496)
Reentrancy in TroyInu.transferFrom(address,address,uint256) (#545-549):
External calls:
- _transfer(sender,recipient,amount) (#546)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#826-832)
External calls sending eth:
- _transfer(sender,recipient,amount) (#546)
- wallet.transfer(amount) (#795)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#547)
- _allowances[owner][spender] = amount (#698)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in TroyInu._transfer(address,address,uint256) (#703-779):
External calls:
- swapAndLiquify(contractTokenBalance) (#756)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#826-832)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#756)
- wallet.transfer(amount) (#795)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#878)
- _tokenTransfer(from,to,amount,takeFee) (#778)
Reentrancy in TroyInu.constructor() (#487-502):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#494-495)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (#501)
Reentrancy in TroyInu.transferFrom(address,address,uint256) (#545-549):
External calls:
- _transfer(sender,recipient,amount) (#546)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#826-832)
External calls sending eth:
- _transfer(sender,recipient,amount) (#546)
- wallet.transfer(amount) (#795)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#699)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#547)
Apply the check-effects-interactions pattern.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#141-154) is never used and should be removed
Address.functionCall(address,bytes) (#101-103) is never used and should be removed
Address.functionCall(address,bytes,string) (#105-107) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#109-111) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#113-118) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#131-133) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#135-139) is never used and should be removed
Address.functionStaticCall(address,bytes) (#120-122) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#124-128) is never used and should be removed
Address.isContract(address) (#89-93) is never used and should be removed
Address.sendValue(address,uint256) (#95-99) is never used and should be removed
Context._msgData() (#80-83) is never used and should be removed
SafeMath.div(uint256,uint256) (#53-55) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#64-69) is never used and should be removed
SafeMath.mul(uint256,uint256) (#49-51) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#95-99):
- (success) = recipient.call{value: amount}() (#97)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#113-118):
- (success,returndata) = target.call{value: value}(data) (#116)
Low level call in Address.functionStaticCall(address,bytes,string) (#124-128):
- (success,returndata) = target.staticcall(data) (#126)
Low level call in Address.functionDelegateCall(address,bytes,string) (#135-139):
- (success,returndata) = target.delegatecall(data) (#137)
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() (#217) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#218) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#231) is not in mixedCase
Function IUniswapV2Router01.WETH() (#248) is not in mixedCase
Function TroyInu._set_Fees(uint256,uint256) (#597-603) is not in mixedCase
Parameter TroyInu._set_Fees(uint256,uint256).Buy_Fee (#597) is not in mixedCase
Parameter TroyInu._set_Fees(uint256,uint256).Sell_Fee (#597) is not in mixedCase
Function TroyInu.set_Swap_And_Liquify_Enabled(bool) (#613-616) is not in mixedCase
Parameter TroyInu.set_Swap_And_Liquify_Enabled(bool).true_or_false (#613) is not in mixedCase
Function TroyInu.set_Transfers_Without_Fees(bool) (#637-639) is not in mixedCase
Parameter TroyInu.set_Transfers_Without_Fees(bool).true_or_false (#637) is not in mixedCase
Function TroyInu.set_Max_Transaction_Percent(uint256) (#659-661) is not in mixedCase
Parameter TroyInu.set_Max_Transaction_Percent(uint256).maxTxPercent_x100 (#659) is not in mixedCase
Function TroyInu.set_Max_Wallet_Percent(uint256) (#664-666) is not in mixedCase
Parameter TroyInu.set_Max_Wallet_Percent(uint256).maxWallPercent_x100 (#664) is not in mixedCase
Function TroyInu.process_Tokens_Now(uint256) (#809-816) is not in mixedCase
Parameter TroyInu.process_Tokens_Now(uint256).percent_Of_Tokens_To_Process (#809) is not in mixedCase
Function TroyInu.remove_Random_Tokens(address,address,uint256) (#842-847) is not in mixedCase
Parameter TroyInu.remove_Random_Tokens(address,address,uint256).random_Token_Address (#842) is not in mixedCase
Parameter TroyInu.remove_Random_Tokens(address,address,uint256).send_to_wallet (#842) is not in mixedCase
Parameter TroyInu.remove_Random_Tokens(address,address,uint256).number_of_tokens (#842) is not in mixedCase
Variable TroyInu._isExcludedFromFee (#389) is not in mixedCase
Variable TroyInu.Wallet_Marketing (#399) is not in mixedCase
Variable TroyInu.Wallet_Burn (#400) is not in mixedCase
Variable TroyInu.Wallet_zero (#401) is not in mixedCase
Variable TroyInu._TotalFee (#427) is not in mixedCase
Variable TroyInu._buyFee (#428) is not in mixedCase
Variable TroyInu._sellFee (#429) is not in mixedCase
Variable TroyInu._maxWalletToken (#444) is not in mixedCase
Variable TroyInu._maxTxAmount (#449) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#81)" inContext (#75-84)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in TroyInu._transfer(address,address,uint256) (#703-779):
External calls:
- swapAndLiquify(contractTokenBalance) (#756)
- wallet.transfer(amount) (#795)
State variables written after the call(s):
- _TotalFee = _buyFee (#776)
- _TotalFee = _sellFee (#776)
- _tokenTransfer(from,to,amount,takeFee) (#778)
- _TotalFee = _previousTotalFee (#687)
- _TotalFee = 0 (#680)
- _tokenTransfer(from,to,amount,takeFee) (#778)
- _buyFee = _previousBuyFee (#688)
- _buyFee = 0 (#678)
- _tokenTransfer(from,to,amount,takeFee) (#778)
- _previousBuyFee = _buyFee (#675)
- _tokenTransfer(from,to,amount,takeFee) (#778)
- _previousSellFee = _sellFee (#676)
- _tokenTransfer(from,to,amount,takeFee) (#778)
- _previousTotalFee = _TotalFee (#677)
- _tokenTransfer(from,to,amount,takeFee) (#778)
- _sellFee = _previousSellFee (#689)
- _sellFee = 0 (#679)
- _tokenTransfer(from,to,amount,takeFee) (#778)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#875)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#876)
- _tOwned[address(this)] = _tOwned[address(this)].add(tDev) (#877)
- _tokenTransfer(from,to,amount,takeFee) (#778)
- txCount ++ (#864)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#878)
- _tokenTransfer(from,to,amount,takeFee) (#778)
Reentrancy in TroyInu.transferFrom(address,address,uint256) (#545-549):
External calls:
- _transfer(sender,recipient,amount) (#546)
- wallet.transfer(amount) (#795)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#547)
- _allowances[owner][spender] = amount (#698)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#699)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#547)
Apply the check-effects-interactions pattern.
Additional information: link
TroyInu.slitherConstructorVariables() (#381-895) uses literals with too many digits:
- Wallet_Burn = address(0x000000000000000000000000000000000000dEaD) (#400)
TroyInu.slitherConstructorVariables() (#381-895) uses literals with too many digits:
- Wallet_zero = address(0x0000000000000000000000000000000000000000) (#401)
TroyInu.slitherConstructorVariables() (#381-895) uses literals with too many digits:
- _tTotal = 1000000000000000 * 10 ** 18 (#414)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token contract audit
Unable to find KYC or doxxing proof
Unable to find audit link on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Token is not listed at Mobula.Finance
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
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Twitter account has less than 100 followers
Telegram account has relatively few subscribers
Unable to find Youtube account