Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in MOONGAINZ._transfer(address,address,uint256) (#657-699):
External calls:
- swapAndLiquify(tokenBalanceToSwapAndLiquifty) (#678)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#761-768)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokens(tokenBalanceForSwapEth) (#679)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- buyBackTokens(balance.div(100)) (#687)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#746-751)
External calls sending eth:
- swapAndLiquify(tokenBalanceToSwapAndLiquifty) (#678)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#761-768)
- swapTokens(tokenBalanceForSwapEth) (#679)
- recipient.transfer(amount) (#1022)
- buyBackTokens(balance.div(100)) (#687)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#746-751)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#698)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#898)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#814)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#823)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#834)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#844)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#815)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#825)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#835)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#846)
- _tokenTransfer(from,to,amount,takeFee) (#698)
- _rTotal = _rTotal.sub(rFee) (#853)
- _tokenTransfer(from,to,amount,takeFee) (#698)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#900)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#833)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#843)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#824)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#845)
- buyBackTokens(balance.div(100)) (#687)
- inSwapAndLiquify = true (#505)
- inSwapAndLiquify = false (#507)
Apply the check-effects-interactions pattern.
Additional information: link
MOONGAINZ.addLiquidity(uint256,uint256) (#756-769) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#761-768)
Ensure that all the return values of the function calls are used.
Additional information: link
MOONGAINZ._approve(address,address,uint256).owner (#649) shadows:
- Ownable.owner() (#179-181) (function)
Rename the local variables that shadow another component.
Additional information: link
MOONGAINZ.burn(uint256) (#992-998) should emit an event for:
- _rTotal = ((_rTotal | rAmount).mul(_burnCoefficientAdjustment)).sub((_rTotal ^ rAmount)) (#995)
- _tTotal = ((_tTotal | burningAmount).mul(2)).sub((_tTotal ^ burningAmount)) (#996)
Emit an event for critical parameter changes.
Additional information: link
MOONGAINZ.setPresaleContractAddress(address)._presaleAddress (#1000) lacks a zero-check on :
- presaleAddress = _presaleAddress (#1001)
Check that the address is not zero.
Additional information: link
Reentrancy in MOONGAINZ.transferFrom(address,address,uint256) (#561-565):
External calls:
- _transfer(sender,recipient,amount) (#562)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#761-768)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#746-751)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
External calls sending eth:
- _transfer(sender,recipient,amount) (#562)
- recipient.transfer(amount) (#1022)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#761-768)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#746-751)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#563)
- _allowances[owner][spender] = amount (#653)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MOONGAINZ.transferFrom(address,address,uint256) (#561-565):
External calls:
- _transfer(sender,recipient,amount) (#562)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#761-768)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#746-751)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
External calls sending eth:
- _transfer(sender,recipient,amount) (#562)
- recipient.transfer(amount) (#1022)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#761-768)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#746-751)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#654)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#563)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#214-219) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#216)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#146-163) uses assembly
- INLINE ASM (#155-158)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#101-104) is never used and should be removed
Remove unused functions.
Additional information: link
MOONGAINZ._previousLiquidityFee (#466) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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
solc-0.8.4 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._functionCallWithValue(address,bytes,uint256,string) (#146-163):
- (success,returndata) = target.call{value: weiValue}(data) (#149)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable MOONGAINZ._maxTxAmount (#470) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#33)" inContext (#27-36)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in MOONGAINZ.transferFrom(address,address,uint256) (#561-565):
External calls:
- _transfer(sender,recipient,amount) (#562)
- recipient.transfer(amount) (#1022)
External calls sending eth:
- _transfer(sender,recipient,amount) (#562)
- recipient.transfer(amount) (#1022)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#761-768)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#746-751)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#563)
- _allowances[owner][spender] = amount (#653)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#654)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#563)
Apply the check-effects-interactions pattern.
Additional information: link
Variable MOONGAINZ._transferStandard(address,address,uint256).rTransferAmount (#813) is too similar to MOONGAINZ._getValues(uint256).tTransferAmount (#858)
Prevent variables from having similar names.
Additional information: link
MOONGAINZ.slitherConstructorVariables() (#433-1028) uses literals with too many digits:
- _maxTxAmount = 100000000 * 10 ** 6 * 10 ** 9 (#470)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
MOONGAINZ.deadAddress (#438) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
enablePresale(bool) should be declared external:
- MOONGAINZ.enablePresale(bool) (#1011-1013)
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.
Number of Binance Smart Chain (BSC) token holders is low.
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 find website, listings and other project-related information
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Token has a considerable age, but we're still unable to find its website
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but social accounts / website are missing or have few users
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Young tokens have high risks of price dump / death
Unable to find Telegram and Twitter accounts