Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Utils.swapETHForTokens(address,address,uint256) (#964-985) sends eth to arbitrary user
Dangerous calls:
- pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path,address(recipient),block.timestamp + 360) (#977-984)
Utils.addLiquidity(address,address,uint256,uint256) (#987-1004) sends eth to arbitrary user
Dangerous calls:
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (#996-1003)
GNOMETOKEN.TopUpStakingPool(uint256) (#1977-1995) sends eth to arbitrary user
Dangerous calls:
- (success) = receiver.call{value: currbnb}() (#1989)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in GNOMETOKEN._transfer(address,address,uint256,uint256) (#1696-1750):
External calls:
- swapAndLiquify(contractTokenBalance) (#1732)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (#996-1003)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#955-961)
- Utils.swapTokensForEth(address(pancakeRouter),tokenAmountToBeSwapped) (#1951)
- Utils.addLiquidity(address(pancakeRouter),address(this),otherPiece,bnbToBeAddedToLiquidity) (#1958-1963)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1732)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (#996-1003)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1746)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1629)
- _rOwned[BURN_ADDRESS] = _rOwned[BURN_ADDRESS].add(rBurn) (#1512)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1794)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1816)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1795)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1418)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1840)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1841)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1818)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1420)
- _tokenTransfer(from,to,amount,takeFee) (#1746)
- _rTotal = _rTotal.sub(rFee) (#1502)
- _tokenTransfer(from,to,amount,takeFee) (#1746)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1631)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1839)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1417)
- _tOwned[BURN_ADDRESS] = _tOwned[BURN_ADDRESS].add(tBurn) (#1514)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1817)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1419)
Apply the check-effects-interactions pattern.
Additional information: link
GNOMETOKEN.transferAnyBEP20Tokens(address,address,uint256) (#1472-1482) ignores return value by Token(_tokenAddr).transfer(_to,_amount) (#1481)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 2: Unchecked transfer + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Utils.addLiquidity(address,address,uint256,uint256) (#987-1004) ignores return value by pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (#996-1003)
Ensure that all the return values of the function calls are used.
Additional information: link
GNOMETOKEN.allowance(address,address).owner (#1236) shadows:
- Ownable.owner() (#531-533) (function)
GNOMETOKEN._approve(address,address,uint256).owner (#1685) shadows:
- Ownable.owner() (#531-533) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in GNOMETOKEN._transfer(address,address,uint256,uint256) (#1696-1750):
External calls:
- swapAndLiquify(contractTokenBalance) (#1732)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (#996-1003)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#955-961)
- Utils.swapTokensForEth(address(pancakeRouter),tokenAmountToBeSwapped) (#1951)
- Utils.addLiquidity(address(pancakeRouter),address(this),otherPiece,bnbToBeAddedToLiquidity) (#1958-1963)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1732)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (#996-1003)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1746)
- _burningFee = _previousburningFee (#1677)
- _burningFee = 0 (#1671)
- _tokenTransfer(from,to,amount,takeFee) (#1746)
- _liquidityFee = _previousLiquidityFee (#1676)
- _liquidityFee = 0 (#1670)
- _tokenTransfer(from,to,amount,takeFee) (#1746)
- _previousLiquidityFee = _liquidityFee (#1666)
- _tokenTransfer(from,to,amount,takeFee) (#1746)
- _previousTaxFee = _taxFee (#1665)
- _tokenTransfer(from,to,amount,takeFee) (#1746)
- _previousburningFee = _burningFee (#1667)
- _tokenTransfer(from,to,amount,takeFee) (#1746)
- _tBurnTotal = _tBurnTotal.add(tBurn) (#1508)
- _tokenTransfer(from,to,amount,takeFee) (#1746)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1503)
- _tFeeTotal = _tFeeTotal.add(tLiquidity) (#1633)
- _tokenTransfer(from,to,amount,takeFee) (#1746)
- _taxFee = _previousTaxFee (#1675)
- _taxFee = 0 (#1669)
Reentrancy in GNOMETOKEN.constructor(address) (#1175-1204):
External calls:
- pancakePair = IPancakeFactory(_pancakeRouter.factory()).createPair(address(this),_pancakeRouter.WETH()) (#1180-1183)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#1189)
- _isExcludedFromFee[address(this)] = true (#1190)
- _isExcludedFromFee[BURN_ADDRESS] = true (#1191)
- _isExcludedFromMaxTx[owner()] = true (#1194)
- _isExcludedFromMaxTx[address(this)] = true (#1195)
- _isExcludedFromMaxTx[BURN_ADDRESS] = true (#1196)
- _isExcludedFromMaxTx[address(0)] = true (#1197)
- authorised[address(0)] = true (#1199)
- authorised[address(this)] = true (#1200)
- authorised[owner()] = true (#1201)
- pancakeRouter = _pancakeRouter (#1186)
Reentrancy in GNOMETOKEN.transferFrom(address,address,uint256) (#1254-1269):
External calls:
- _transfer(sender,recipient,amount,0) (#1259)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (#996-1003)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#955-961)
- (success) = receiver.call{value: currbnb}() (#1989)
- Utils.swapTokensForEth(address(pancakeRouter),tokenAmountToBeSwapped) (#1951)
- Utils.addLiquidity(address(pancakeRouter),address(this),otherPiece,bnbToBeAddedToLiquidity) (#1958-1963)
External calls sending eth:
- _transfer(sender,recipient,amount,0) (#1259)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (#996-1003)
- (success) = receiver.call{value: currbnb}() (#1989)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#1260-1267)
- _allowances[owner][spender] = amount (#1692)
Reentrancy in GNOMETOKEN.updateRouter(address) (#1330-1342):
External calls:
- pancakePair = IPancakeFactory(_pancakeRouter.factory()).createPair(address(this),_pancakeRouter.WETH()) (#1333-1336)
State variables written after the call(s):
- _approve(address(this),address(pancakeRouter),2 ** 256 - 1) (#1340)
- _allowances[owner][spender] = amount (#1692)
- pancakeRouter = _pancakeRouter (#1339)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in GNOMETOKEN.BuyBack(uint256) (#1916-1932):
External calls:
- Utils.swapETHForTokens(address(pancakeRouter),address(BURN_ADDRESS),bnbAmount) (#1926-1930)
Event emitted after the call(s):
- BoughtBackTokens(bnbAmount) (#1931)
Reentrancy in GNOMETOKEN.ManualStakingPoolTopUp() (#1997-2008):
External calls:
- (success) = receiver.call{value: currbnb}() (#2003)
Event emitted after the call(s):
- SentBNBToStakingPool(currbnb) (#2006)
Reentrancy in GNOMETOKEN.TopUpStakingPool(uint256) (#1977-1995):
External calls:
- (success) = receiver.call{value: currbnb}() (#1989)
Event emitted after the call(s):
- SentBNBToStakingPool(currbnb) (#1992)
Reentrancy in GNOMETOKEN._transfer(address,address,uint256,uint256) (#1696-1750):
External calls:
- swapAndLiquify(contractTokenBalance) (#1732)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (#996-1003)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#955-961)
- Utils.swapTokensForEth(address(pancakeRouter),tokenAmountToBeSwapped) (#1951)
- Utils.addLiquidity(address(pancakeRouter),address(this),otherPiece,bnbToBeAddedToLiquidity) (#1958-1963)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1732)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (#996-1003)
Event emitted after the call(s):
- Transfer(sender,BURN_ADDRESS,tBurn) (#1516)
- _tokenTransfer(from,to,amount,takeFee) (#1746)
- Transfer(sender,address(this),tLiquidity) (#1634)
- _tokenTransfer(from,to,amount,takeFee) (#1746)
- Transfer(sender,recipient,tTransferAmount) (#1799)
- _tokenTransfer(from,to,amount,takeFee) (#1746)
- Transfer(sender,recipient,tTransferAmount) (#1845)
- _tokenTransfer(from,to,amount,takeFee) (#1746)
- Transfer(sender,recipient,tTransferAmount) (#1822)
- _tokenTransfer(from,to,amount,takeFee) (#1746)
- Transfer(sender,recipient,tTransferAmount) (#1424)
- _tokenTransfer(from,to,amount,takeFee) (#1746)
Reentrancy in GNOMETOKEN._transfer(address,address,uint256,uint256) (#1696-1750):
External calls:
- swapAndLiquify(contractTokenBalance) (#1732)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (#996-1003)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#955-961)
- Utils.swapTokensForEth(address(pancakeRouter),tokenAmountToBeSwapped) (#1951)
- Utils.addLiquidity(address(pancakeRouter),address(this),otherPiece,bnbToBeAddedToLiquidity) (#1958-1963)
- TopUpStakingPool(remBNB) (#1749)
- (success) = receiver.call{value: currbnb}() (#1989)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1732)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (#996-1003)
- TopUpStakingPool(remBNB) (#1749)
- (success) = receiver.call{value: currbnb}() (#1989)
Event emitted after the call(s):
- SentBNBToStakingPool(currbnb) (#1992)
- TopUpStakingPool(remBNB) (#1749)
Reentrancy in GNOMETOKEN.aquireBNB(uint256) (#1903-1914):
External calls:
- Utils.swapTokensForEth(address(pancakeRouter),amount) (#1912)
Event emitted after the call(s):
- ManualBNBBuy(amount) (#1913)
Reentrancy in GNOMETOKEN.constructor(address) (#1175-1204):
External calls:
- pancakePair = IPancakeFactory(_pancakeRouter.factory()).createPair(address(this),_pancakeRouter.WETH()) (#1180-1183)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#1203)
Reentrancy in GNOMETOKEN.swapAndLiquify(uint256) (#1934-1975):
External calls:
- Utils.swapTokensForEth(address(pancakeRouter),tokenAmountToBeSwapped) (#1951)
- Utils.addLiquidity(address(pancakeRouter),address(this),otherPiece,bnbToBeAddedToLiquidity) (#1958-1963)
Event emitted after the call(s):
- SwapAndLiquify(piece,bnbToBeAddedToLiquidity,otherPiece) (#1965)
- SwapAndLiquifyExtInfo(contractTokenBalance,halfTokenBalance,piece,otherPiece,tokenAmountToBeSwapped,bnbToBeAddedToLiquidity) (#1966-1973)
Reentrancy in GNOMETOKEN.transferFrom(address,address,uint256) (#1254-1269):
External calls:
- _transfer(sender,recipient,amount,0) (#1259)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (#996-1003)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#955-961)
- (success) = receiver.call{value: currbnb}() (#1989)
- Utils.swapTokensForEth(address(pancakeRouter),tokenAmountToBeSwapped) (#1951)
- Utils.addLiquidity(address(pancakeRouter),address(this),otherPiece,bnbToBeAddedToLiquidity) (#1958-1963)
External calls sending eth:
- _transfer(sender,recipient,amount,0) (#1259)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (#996-1003)
- (success) = receiver.call{value: currbnb}() (#1989)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1693)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#1260-1267)
Reentrancy in GNOMETOKEN.updateRouter(address) (#1330-1342):
External calls:
- pancakePair = IPancakeFactory(_pancakeRouter.factory()).createPair(address(this),_pancakeRouter.WETH()) (#1333-1336)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1693)
- _approve(address(this),address(pancakeRouter),2 ** 256 - 1) (#1340)
- RouterUpdated(newRouter) (#1341)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#581-589) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,GnomeToken: Contract is locked for 7 days) (#586)
GNOMETOKEN.setWalletBanStatus(address,bool) (#1484-1499) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(TradingEnabledFromTimestamp + 1209600 >= block.timestamp,GnomeToken: Owner cannot longer ban wallets) (#1486-1489)
GNOMETOKEN.setMaxTxPercent(uint256) (#1848-1856) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(TradingEnabledFromTimestamp + 10368000 >= block.timestamp,GnomeToken: Cannot adjust max TX after 120 days) (#1850-1853)
GNOMETOKEN.ensureMaxTxAmount(address,address,uint256,uint256) (#1884-1901) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp >= disruptiveTransferEnabledFrom (#1894)
GNOMETOKEN.TopUpStakingPool(uint256) (#1977-1995) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp > lastBNBSentToStakingPoolTimestamp.add(lastBNBSentToStakingPoolInterval) && currbnb > 0 (#1980-1984)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#340-351) uses assembly
- INLINE ASM (#347-349)
Address._functionCallWithValue(address,bytes,uint256,string) (#466-494) uses assembly
- INLINE ASM (#486-489)
Do not use evm assembly.
Additional information: link
GNOMETOKEN._transfer(address,address,uint256,uint256) (#1696-1750) compares to a boolean constant:
-require(bool,string)(bannedUsers[to] == false,GnomeToken: Recipient is banned) (#1709)
GNOMETOKEN._transfer(address,address,uint256,uint256) (#1696-1750) compares to a boolean constant:
-require(bool,string)(bannedUsers[from] == false,GnomeToken: Sender is banned) (#1708)
GNOMETOKEN.setStakingPool(address) (#1864-1874) compares to a boolean constant:
-require(bool,string)(Address.isContract(StakingPool) == true,GnomeToken: Staking Pool must be a contract address) (#1865-1868)
GNOMETOKEN.ensureMaxTxAmount(address,address,uint256,uint256) (#1884-1901) compares to a boolean constant:
-_isExcludedFromMaxTx[from] == false && _isExcludedFromMaxTx[to] == false (#1891-1892)
Remove the equality to the boolean constant.
Additional information: link
GNOMETOKEN.includeInReward(address) (#1389-1401) has costly operations inside a loop:
- _excluded.pop() (#1396)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#466-494) is never used and should be removed
Address.functionCall(address,bytes) (#401-406) is never used and should be removed
Address.functionCall(address,bytes,string) (#414-420) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#433-445) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#453-464) is never used and should be removed
Address.sendValue(address,uint256) (#369-381) is never used and should be removed
Context._msgData() (#313-316) is never used and should be removed
SafeMath.mod(uint256,uint256) (#282-284) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#298-305) is never used and should be removed
Remove unused functions.
Additional information: link
GNOMETOKEN._rTotal (#1100) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
GNOMETOKEN._maxTxAmount (#1104) is set pre-construction with a non-constant function or state variable:
- _tTotal
GNOMETOKEN._previousTaxFee (#1114) is set pre-construction with a non-constant function or state variable:
- _taxFee
GNOMETOKEN._previousLiquidityFee (#1116) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
GNOMETOKEN._previousburningFee (#1118) is set pre-construction with a non-constant function or state variable:
- _burningFee
GNOMETOKEN.minTokenNumberToSell (#1120) is set pre-construction with a non-constant function or state variable:
- _tTotal.mul(1).div(10000000)
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) (#369-381):
- (success) = recipient.call{value: amount}() (#376)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#466-494):
- (success,returndata) = target.call{value: weiValue}(data) (#475-477)
Low level call in GNOMETOKEN.TopUpStakingPool(uint256) (#1977-1995):
- (success) = receiver.call{value: currbnb}() (#1989)
Low level call in GNOMETOKEN.ManualStakingPoolTopUp() (#1997-2008):
- (success) = receiver.call{value: currbnb}() (#2003)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IPancakePair.DOMAIN_SEPARATOR() (#655) is not in mixedCase
Function IPancakePair.PERMIT_TYPEHASH() (#657) is not in mixedCase
Function IPancakePair.MINIMUM_LIQUIDITY() (#688) is not in mixedCase
Function IPancakeRouter01.WETH() (#734) is not in mixedCase
Parameter GNOMETOKEN.setAuthorised(address[])._addresses (#1300) is not in mixedCase
Parameter GNOMETOKEN.setSwapAndLiquifyEnabled(bool)._enabled (#1462) is not in mixedCase
Parameter GNOMETOKEN.transferAnyBEP20Tokens(address,address,uint256)._tokenAddr (#1473) is not in mixedCase
Parameter GNOMETOKEN.transferAnyBEP20Tokens(address,address,uint256)._to (#1474) is not in mixedCase
Parameter GNOMETOKEN.transferAnyBEP20Tokens(address,address,uint256)._amount (#1475) is not in mixedCase
Function GNOMETOKEN._getRate() (#1596-1599) is not in mixedCase
Function GNOMETOKEN._getCurrentSupply() (#1601-1614) is not in mixedCase
Function GNOMETOKEN._getCirculatingSupply() (#1616-1623) is not in mixedCase
Parameter GNOMETOKEN.calculateTaxFee(uint256)._amount (#1637) is not in mixedCase
Parameter GNOMETOKEN.calculateLiquidityFee(uint256)._amount (#1641) is not in mixedCase
Parameter GNOMETOKEN.calculateBurningFee(uint256)._amount (#1653) is not in mixedCase
Parameter GNOMETOKEN.setStakingPool(address).StakingPool (#1864) is not in mixedCase
Parameter GNOMETOKEN.setExcludeFromMaxTx(address,bool)._address (#1876) is not in mixedCase
Function GNOMETOKEN.BuyBack(uint256) (#1916-1932) is not in mixedCase
Function GNOMETOKEN.TopUpStakingPool(uint256) (#1977-1995) is not in mixedCase
Function GNOMETOKEN.ManualStakingPoolTopUp() (#1997-2008) is not in mixedCase
Variable GNOMETOKEN.STAKING_POOL (#1084) is not in mixedCase
Variable GNOMETOKEN._maxTxAmount (#1104) is not in mixedCase
Variable GNOMETOKEN.TradingEnabledFromTimestamp (#1109) is not in mixedCase
Variable GNOMETOKEN.TradingEnabled (#1111) is not in mixedCase
Variable GNOMETOKEN._taxFee (#1113) is not in mixedCase
Variable GNOMETOKEN._liquidityFee (#1115) is not in mixedCase
Variable GNOMETOKEN._burningFee (#1117) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#314)" inContext (#308-317)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#739) is too similar to IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#740)
Variable GNOMETOKEN._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1592) is too similar to GNOMETOKEN._transferBothExcluded(address,address,uint256).tTransferAmount (#1412)
Variable GNOMETOKEN._transferFromExcluded(address,address,uint256).rTransferAmount (#1832) is too similar to GNOMETOKEN._transferBothExcluded(address,address,uint256).tTransferAmount (#1412)
Variable GNOMETOKEN._getValues(uint256).rTransferAmount (#1538) is too similar to GNOMETOKEN._transferBothExcluded(address,address,uint256).tTransferAmount (#1412)
Variable GNOMETOKEN._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1592) is too similar to GNOMETOKEN._transferStandard(address,address,uint256).tTransferAmount (#1789)
Variable GNOMETOKEN._transferFromExcluded(address,address,uint256).rTransferAmount (#1832) is too similar to GNOMETOKEN._transferStandard(address,address,uint256).tTransferAmount (#1789)
Variable GNOMETOKEN._transferToExcluded(address,address,uint256).rTransferAmount (#1809) is too similar to GNOMETOKEN._transferToExcluded(address,address,uint256).tTransferAmount (#1811)
Variable GNOMETOKEN._transferStandard(address,address,uint256).rTransferAmount (#1787) is too similar to GNOMETOKEN._getValues(uint256).tTransferAmount (#1533)
Variable GNOMETOKEN.reflectionFromToken(uint256,bool).rTransferAmount (#1357) is too similar to GNOMETOKEN._transferBothExcluded(address,address,uint256).tTransferAmount (#1412)
Variable GNOMETOKEN._transferBothExcluded(address,address,uint256).rTransferAmount (#1410) is too similar to GNOMETOKEN._transferBothExcluded(address,address,uint256).tTransferAmount (#1412)
Variable GNOMETOKEN._transferToExcluded(address,address,uint256).rTransferAmount (#1809) is too similar to GNOMETOKEN._transferFromExcluded(address,address,uint256).tTransferAmount (#1834)
Variable GNOMETOKEN._transferFromExcluded(address,address,uint256).rTransferAmount (#1832) is too similar to GNOMETOKEN._getValues(uint256).tTransferAmount (#1533)
Variable GNOMETOKEN._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1592) is too similar to GNOMETOKEN._getValues(uint256).tTransferAmount (#1533)
Variable GNOMETOKEN._transferToExcluded(address,address,uint256).rTransferAmount (#1809) is too similar to GNOMETOKEN._transferBothExcluded(address,address,uint256).tTransferAmount (#1412)
Variable GNOMETOKEN._transferToExcluded(address,address,uint256).rTransferAmount (#1809) is too similar to GNOMETOKEN._transferStandard(address,address,uint256).tTransferAmount (#1789)
Variable GNOMETOKEN._transferStandard(address,address,uint256).rTransferAmount (#1787) is too similar to GNOMETOKEN._transferToExcluded(address,address,uint256).tTransferAmount (#1811)
Variable GNOMETOKEN._transferToExcluded(address,address,uint256).rTransferAmount (#1809) is too similar to GNOMETOKEN._getValues(uint256).tTransferAmount (#1533)
Variable GNOMETOKEN._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1592) is too similar to GNOMETOKEN._transferToExcluded(address,address,uint256).tTransferAmount (#1811)
Variable GNOMETOKEN._transferStandard(address,address,uint256).rTransferAmount (#1787) is too similar to GNOMETOKEN._transferFromExcluded(address,address,uint256).tTransferAmount (#1834)
Variable GNOMETOKEN._transferStandard(address,address,uint256).rTransferAmount (#1787) is too similar to GNOMETOKEN._transferBothExcluded(address,address,uint256).tTransferAmount (#1412)
Variable GNOMETOKEN._transferFromExcluded(address,address,uint256).rTransferAmount (#1832) is too similar to GNOMETOKEN._transferFromExcluded(address,address,uint256).tTransferAmount (#1834)
Variable GNOMETOKEN._transferStandard(address,address,uint256).rTransferAmount (#1787) is too similar to GNOMETOKEN._transferStandard(address,address,uint256).tTransferAmount (#1789)
Variable GNOMETOKEN._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1592) is too similar to GNOMETOKEN._transferFromExcluded(address,address,uint256).tTransferAmount (#1834)
Variable GNOMETOKEN._transferFromExcluded(address,address,uint256).rTransferAmount (#1832) is too similar to GNOMETOKEN._getTValues(uint256).tTransferAmount (#1569)
Variable GNOMETOKEN._transferBothExcluded(address,address,uint256).rTransferAmount (#1410) is too similar to GNOMETOKEN._transferStandard(address,address,uint256).tTransferAmount (#1789)
Variable GNOMETOKEN._getValues(uint256).rTransferAmount (#1538) is too similar to GNOMETOKEN._getTValues(uint256).tTransferAmount (#1569)
Variable GNOMETOKEN._getValues(uint256).rTransferAmount (#1538) is too similar to GNOMETOKEN._getValues(uint256).tTransferAmount (#1533)
Variable GNOMETOKEN._transferBothExcluded(address,address,uint256).rTransferAmount (#1410) is too similar to GNOMETOKEN._getTValues(uint256).tTransferAmount (#1569)
Variable GNOMETOKEN._transferBothExcluded(address,address,uint256).rTransferAmount (#1410) is too similar to GNOMETOKEN._getValues(uint256).tTransferAmount (#1533)
Variable GNOMETOKEN.reflectionFromToken(uint256,bool).rTransferAmount (#1357) is too similar to GNOMETOKEN._transferToExcluded(address,address,uint256).tTransferAmount (#1811)
Variable GNOMETOKEN._transferStandard(address,address,uint256).rTransferAmount (#1787) is too similar to GNOMETOKEN._getTValues(uint256).tTransferAmount (#1569)
Variable GNOMETOKEN._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1592) is too similar to GNOMETOKEN._getTValues(uint256).tTransferAmount (#1569)
Variable GNOMETOKEN._getValues(uint256).rTransferAmount (#1538) is too similar to GNOMETOKEN._transferFromExcluded(address,address,uint256).tTransferAmount (#1834)
Variable GNOMETOKEN._transferBothExcluded(address,address,uint256).rTransferAmount (#1410) is too similar to GNOMETOKEN._transferFromExcluded(address,address,uint256).tTransferAmount (#1834)
Variable GNOMETOKEN.reflectionFromToken(uint256,bool).rTransferAmount (#1357) is too similar to GNOMETOKEN._transferStandard(address,address,uint256).tTransferAmount (#1789)
Variable GNOMETOKEN.reflectionFromToken(uint256,bool).rTransferAmount (#1357) is too similar to GNOMETOKEN._getTValues(uint256).tTransferAmount (#1569)
Variable GNOMETOKEN._transferFromExcluded(address,address,uint256).rTransferAmount (#1832) is too similar to GNOMETOKEN._transferToExcluded(address,address,uint256).tTransferAmount (#1811)
Variable GNOMETOKEN.reflectionFromToken(uint256,bool).rTransferAmount (#1357) is too similar to GNOMETOKEN._getValues(uint256).tTransferAmount (#1533)
Variable GNOMETOKEN._getValues(uint256).rTransferAmount (#1538) is too similar to GNOMETOKEN._transferToExcluded(address,address,uint256).tTransferAmount (#1811)
Variable GNOMETOKEN._transferBothExcluded(address,address,uint256).rTransferAmount (#1410) is too similar to GNOMETOKEN._transferToExcluded(address,address,uint256).tTransferAmount (#1811)
Variable GNOMETOKEN.reflectionFromToken(uint256,bool).rTransferAmount (#1357) is too similar to GNOMETOKEN._transferFromExcluded(address,address,uint256).tTransferAmount (#1834)
Variable GNOMETOKEN._transferToExcluded(address,address,uint256).rTransferAmount (#1809) is too similar to GNOMETOKEN._getTValues(uint256).tTransferAmount (#1569)
Variable GNOMETOKEN._getValues(uint256).rTransferAmount (#1538) is too similar to GNOMETOKEN._transferStandard(address,address,uint256).tTransferAmount (#1789)
Prevent variables from having similar names.
Additional information: link
GNOMETOKEN.setMinTokenNumberToSell(uint256) (#1858-1862) uses literals with too many digits:
- require(bool,string)(min <= 15000000,GnomeToken: Cannot exceed 1.5% of supply!) (#1859)
GNOMETOKEN.aquireBNB(uint256) (#1903-1914) uses literals with too many digits:
- require(bool,string)(tokens < 100000000,GnomeToken: Cannot swap more than 1% of supply) (#1907-1910)
GNOMETOKEN.slitherConstructorVariables() (#1078-2020) uses literals with too many digits:
- STAKING_POOL = 0x0000000000000000000000000000000000000000 (#1084)
GNOMETOKEN.slitherConstructorVariables() (#1078-2020) uses literals with too many digits:
- _tTotal = 1000000000 * 10 ** 9 (#1099)
GNOMETOKEN.slitherConstructorVariables() (#1078-2020) uses literals with too many digits:
- minTokenNumberToSell = _tTotal.mul(1).div(10000000) (#1120)
GNOMETOKEN.slitherConstructorConstantVariables() (#1078-2020) uses literals with too many digits:
- BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD (#1082-1083)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
GNOMETOKEN._decimals (#1126) should be constant
GNOMETOKEN._name (#1124) should be constant
GNOMETOKEN._symbol (#1125) should be constant
GNOMETOKEN._tTotal (#1099) should be constant
GNOMETOKEN.lastBNBSentToStakingPoolInterval (#1121) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#550-553)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#559-566)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#568-570)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#573-578)
unlock() should be declared external:
- Ownable.unlock() (#581-589)
swapTokensForEth(address,uint256) should be declared external:
- Utils.swapTokensForEth(address,uint256) (#944-962)
swapETHForTokens(address,address,uint256) should be declared external:
- Utils.swapETHForTokens(address,address,uint256) (#964-985)
addLiquidity(address,address,uint256,uint256) should be declared external:
- Utils.addLiquidity(address,address,uint256,uint256) (#987-1004)
name() should be declared external:
- GNOMETOKEN.name() (#1206-1208)
symbol() should be declared external:
- GNOMETOKEN.symbol() (#1210-1212)
decimals() should be declared external:
- GNOMETOKEN.decimals() (#1214-1216)
totalSupply() should be declared external:
- GNOMETOKEN.totalSupply() (#1218-1220)
transfer(address,uint256) should be declared external:
- GNOMETOKEN.transfer(address,uint256) (#1227-1234)
allowance(address,address) should be declared external:
- GNOMETOKEN.allowance(address,address) (#1236-1243)
approve(address,uint256) should be declared external:
- GNOMETOKEN.approve(address,uint256) (#1245-1252)
transferFrom(address,address,uint256) should be declared external:
- GNOMETOKEN.transferFrom(address,address,uint256) (#1254-1269)
increaseAllowance(address,uint256) should be declared external:
- GNOMETOKEN.increaseAllowance(address,uint256) (#1271-1282)
decreaseAllowance(address,uint256) should be declared external:
- GNOMETOKEN.decreaseAllowance(address,uint256) (#1284-1298)
isExcludedFromReward(address) should be declared external:
- GNOMETOKEN.isExcludedFromReward(address) (#1306-1308)
totalFees() should be declared external:
- GNOMETOKEN.totalFees() (#1310-1312)
totalBurnt() should be declared external:
- GNOMETOKEN.totalBurnt() (#1314-1316)
reflectionFromToken(uint256,bool) should be declared external:
- GNOMETOKEN.reflectionFromToken(uint256,bool) (#1344-1360)
transferAnyBEP20Tokens(address,address,uint256) should be declared external:
- GNOMETOKEN.transferAnyBEP20Tokens(address,address,uint256) (#1472-1482)
isExcludedFromFee(address) should be declared external:
- GNOMETOKEN.isExcludedFromFee(address) (#1680-1682)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to crawl data from the website
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
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 CoinHunt
Additional information: link
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinMarketCap listing / rank
Token has relatively low CoinGecko rank
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Youtube account
Unable to find Discord account