GREEN MOON adopts a flexible money supply method, using negative rebases to reduce the total supply of money, so as to increase the market value of each currency over time. This means that the total amount of GREENMOON currency in your wallet will decrease over time, but the market value of each currency will increase.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
GRM.addLiquidity(uint256,uint256) (#972-986) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH.value(ethAmount)(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#978-985)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in GRM._transfer(address,address,uint256) (#814-849):
External calls:
- swapAndLiquify(numTokensSell) (#836)
- uniswapV2Router.addLiquidityETH.value(ethAmount)(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#978-985)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#946-952)
- buyBackTokens(buybackLimit.div(buybackDivisor)) (#842)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens.value(amount)(0,path,deadAddress,block.timestamp.add(300)) (#963-968)
External calls sending eth:
- swapAndLiquify(numTokensSell) (#836)
- recipient.transfer(amount) (#932)
- uniswapV2Router.addLiquidityETH.value(ethAmount)(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#978-985)
- buyBackTokens(buybackLimit.div(buybackDivisor)) (#842)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens.value(amount)(0,path,deadAddress,block.timestamp.add(300)) (#963-968)
State variables written after the call(s):
- _tokenTransfer(from,to,value) (#846)
- _gonBalances[address(this)] = _gonBalances[address(this)].add(rFee) (#891)
- _gonBalances[sender] = _gonBalances[sender].sub(gonValue) (#872)
- _gonBalances[recipient] = _gonBalances[recipient].add(gonValue) (#873)
- _gonBalances[sender] = _gonBalances[sender].sub(gonDeduct) (#864)
- _gonBalances[recipient] = _gonBalances[recipient].add(gonValue) (#865)
- buyBackTokens(buybackLimit.div(buybackDivisor)) (#842)
- inSwapAndLiquify = true (#633)
- inSwapAndLiquify = false (#635)
Apply the check-effects-interactions pattern.
Additional information: link
GRM.burnAutoLP() (#1093-1099) ignores return value by uniswapV2Pair.transfer(address(deadBurn),balance) (#1098)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Ownable._lockTime (#265) is never initialized. It is used in:
- Ownable.getUnlockTime() (#316-318)
- Ownable.unlock() (#329-334)
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
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.
GRM.addLiquidity(uint256,uint256) (#972-986) ignores return value by uniswapV2Router.addLiquidityETH.value(ethAmount)(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#978-985)
Ensure that all the return values of the function calls are used.
Additional information: link
GRM._approve(address,address,uint256).owner (#1007) shadows:
- Ownable.owner() (#286-288) (function)
Rename the local variables that shadow another component.
Additional information: link
GRM.setdeadBurn(address) (#733-738) should emit an event for:
- deadBurn = _deadBurn (#737)
Emit an event for critical parameter changes.
Additional information: link
GRM.settransactionTax(uint256) (#1126-1127) should emit an event for:
- transactionTax = _transactionTax (#1127)
Emit an event for critical parameter changes.
Additional information: link
GRM.burnBNB(address).burnAddress (#1129) lacks a zero-check on :
- burnAddress.transfer(address(this).balance) (#1130)
Check that the address is not zero.
Additional information: link
Reentrancy in GRM.transferFrom(address,address,uint256) (#798-806):
External calls:
- _transfer(sender,recipient,amount) (#803)
- uniswapV2Router.addLiquidityETH.value(ethAmount)(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#978-985)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens.value(amount)(0,path,deadAddress,block.timestamp.add(300)) (#963-968)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#946-952)
External calls sending eth:
- _transfer(sender,recipient,amount) (#803)
- recipient.transfer(amount) (#932)
- uniswapV2Router.addLiquidityETH.value(ethAmount)(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#978-985)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens.value(amount)(0,path,deadAddress,block.timestamp.add(300)) (#963-968)
State variables written after the call(s):
- _approve(sender,msg.sender,_allowedFragments[sender][msg.sender].sub(amount)) (#804)
- _allowedFragments[owner][spender] = value (#1011)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in GRM.transferFrom(address,address,uint256) (#798-806):
External calls:
- _transfer(sender,recipient,amount) (#803)
- uniswapV2Router.addLiquidityETH.value(ethAmount)(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#978-985)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens.value(amount)(0,path,deadAddress,block.timestamp.add(300)) (#963-968)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#946-952)
External calls sending eth:
- _transfer(sender,recipient,amount) (#803)
- recipient.transfer(amount) (#932)
- uniswapV2Router.addLiquidityETH.value(ethAmount)(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#978-985)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens.value(amount)(0,path,deadAddress,block.timestamp.add(300)) (#963-968)
Event emitted after the call(s):
- Approval(owner,spender,value) (#1012)
- _approve(sender,msg.sender,_allowedFragments[sender][msg.sender].sub(amount)) (#804)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#329-334) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#331)
Avoid relying on block.timestamp.
Additional information: link
SafeMathInt.sub(int256,int256) (#465-473) is never used and should be removed
Remove unused functions.
Additional information: link
Parameter GRM.settransactionTax(uint256)._transactionTax (#1126) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in GRM.transferFrom(address,address,uint256) (#798-806):
External calls:
- _transfer(sender,recipient,amount) (#803)
- recipient.transfer(amount) (#932)
External calls sending eth:
- _transfer(sender,recipient,amount) (#803)
- recipient.transfer(amount) (#932)
- uniswapV2Router.addLiquidityETH.value(ethAmount)(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#978-985)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens.value(amount)(0,path,deadAddress,block.timestamp.add(300)) (#963-968)
State variables written after the call(s):
- _approve(sender,msg.sender,_allowedFragments[sender][msg.sender].sub(amount)) (#804)
- _allowedFragments[owner][spender] = value (#1011)
Event emitted after the call(s):
- Approval(owner,spender,value) (#1012)
- _approve(sender,msg.sender,_allowedFragments[sender][msg.sender].sub(amount)) (#804)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router02.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#129) is too similar to IUniswapV2Router02.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#130)
Prevent variables from having similar names.
Additional information: link
GRM.slitherConstructorVariables() (#556-1134) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#620)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
GRM.privateSaleDropCompleted (#630) is never used in GRM (#556-1134)
Remove unused state variables.
Additional information: link
Ownable._lockTime (#265) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
settransactionTax(uint256) should be declared external:
- GRM.settransactionTax(uint256) (#1126-1127)
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.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
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 token on CoinHunt
Additional information: link
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 scam / price dump / death
Token has no active CoinMarketCap listing / rank
Token has relatively low CoinGecko rank
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account