Moon Rocket Coin is a decentralised token created on the Binance Chain to maximise returns to investors. MRC brings a new world of opportunities to investors who seek returns. Our integrated multi-chain App wallet assumes an unparalleled position among others, making MRC an investor’s haven. MRC differentiates itself from the rest through integrity, strategy, research, and transparency. To be recognised as a coin with unbeatable potential and benefits for investors. We strive to serve our community through innovative ways, compelling rewards, and most importantly, to serve our community through active charitable intervention. Finally, to bring a reduction to homelessness, drug and alcohol abuse in our society.
MoonRocketCoin.swapETHForTokens(uint256) (#752-765) sends eth to arbitrary user
Dangerous calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#759-764)
MoonRocketCoin.addLiquidity(uint256,uint256) (#799-812) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#804-811)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in MoonRocketCoin._transfer(address,address,uint256) (#680-719):
External calls:
- buyBackTokens(balance.div(100)) (#710)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#759-764)
- swapAndLiquify(swapTokensAtAmount) (#713)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#804-811)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#823-829)
External calls sending eth:
- buyBackTokens(balance.div(100)) (#710)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#759-764)
- swapAndLiquify(swapTokensAtAmount) (#713)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#804-811)
- address(developmentAddress).transfer(developmentAmt) (#789)
- address(charityAddress).transfer(charityAmt) (#795)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#718)
- _rOwned[address(this)] += rCharity (#584)
- _rOwned[address(this)] += rDevelopment (#575)
- _rOwned[address(this)] += rLiquidity (#605)
- _rOwned[address(this)] += rBuyback (#595)
- _rOwned[sender] = _rOwned[sender] - s.rAmount (#734)
- _rOwned[recipient] = _rOwned[recipient] + s.rTransferAmount (#735)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#718)
- _rTotal -= rRfi (#566)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#718)
- _tOwned[sender] = _tOwned[sender] - tAmount (#728)
- _tOwned[address(this)] += tBuyback (#593)
- _tOwned[address(this)] += tCharity (#582)
- _tOwned[address(this)] += tDevelopment (#573)
- _tOwned[address(this)] += tLiquidity (#603)
- _tOwned[recipient] = _tOwned[recipient] + s.tTransferAmount (#731)
- swapAndLiquify(swapTokensAtAmount) (#713)
- swapping = true (#400)
- swapping = false (#402)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
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.
MoonRocketCoin.swapAndLiquify(uint256) (#767-797) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - feeRates.liquidity) (#778)
-bnbToAddLiquidityWith = unitBalance * feeRates.liquidity (#779)
MoonRocketCoin.swapAndLiquify(uint256) (#767-797) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - feeRates.liquidity) (#778)
-developmentAmt = unitBalance * 2 * feeRates.development (#787)
MoonRocketCoin.swapAndLiquify(uint256) (#767-797) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - feeRates.liquidity) (#778)
-charityAmt = unitBalance * 2 * feeRates.charity (#793)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in MoonRocketCoin.setRouterAddress(address) (#874-885):
External calls:
- pair = IFactory(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#879)
State variables written after the call(s):
- router = _newRouter (#884)
Apply the check-effects-interactions pattern.
Additional information: link
MoonRocketCoin._transfer(address,address,uint256).isSale (#715) is a local variable never initialized
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
MoonRocketCoin.addLiquidity(uint256,uint256) (#799-812) ignores return value by router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#804-811)
Ensure that all the return values of the function calls are used.
Additional information: link
MoonRocketCoin.allowance(address,address).owner (#447) shadows:
- Ownable.owner() (#245-247) (function)
MoonRocketCoin._approve(address,address,uint256).owner (#673) shadows:
- Ownable.owner() (#245-247) (function)
Rename the local variables that shadow another component.
Additional information: link
MoonRocketCoin.setMaxBuyAndSellAmount(uint256,uint256) (#839-842) should emit an event for:
- maxBuyAmount = _maxBuyamount * 10 ** 9 (#840)
- maxSellAmount = _maxSellAmount * 10 ** 9 (#841)
MoonRocketCoin.setMaxWalletTokend(uint256) (#844-846) should emit an event for:
- _maxWalletToken = _maxToken (#845)
MoonRocketCoin.updateSwapTokensAtAmount(uint256) (#848-850) should emit an event for:
- swapTokensAtAmount = amount * 10 ** _decimals (#849)
MoonRocketCoin.setBuybackUpperLimit(uint256) (#865-867) should emit an event for:
- buyBackUpperLimit = buyBackLimit * 10 ** 15 (#866)
Emit an event for critical parameter changes.
Additional information: link
MoonRocketCoin.constructor(address)._pair (#407-408) lacks a zero-check on :
- pair = _pair (#411)
Check that the address is not zero.
Additional information: link
Reentrancy in MoonRocketCoin._transfer(address,address,uint256) (#680-719):
External calls:
- buyBackTokens(balance.div(100)) (#710)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#759-764)
- swapAndLiquify(swapTokensAtAmount) (#713)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#804-811)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#823-829)
External calls sending eth:
- buyBackTokens(balance.div(100)) (#710)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#759-764)
- swapAndLiquify(swapTokensAtAmount) (#713)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#804-811)
- address(developmentAddress).transfer(developmentAmt) (#789)
- address(charityAddress).transfer(charityAmt) (#795)
State variables written after the call(s):
- swapAndLiquify(swapTokensAtAmount) (#713)
- _allowances[owner][spender] = amount (#676)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#718)
- totFeesPaid.buyBack += tBuyback (#589)
- totFeesPaid.charity += tCharity (#580)
- totFeesPaid.development += tDevelopment (#571)
- totFeesPaid.liquidity += tLiquidity (#599)
- totFeesPaid.rfi += tRfi (#567)
Reentrancy in MoonRocketCoin.constructor(address) (#405-419):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (#407-408)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#414)
- _isExcludedFromFee[developmentAddress] = true (#415)
- _isExcludedFromFee[charityAddress] = true (#416)
- _rOwned[owner()] = _rTotal (#413)
- pair = _pair (#411)
- router = _router (#410)
Reentrancy in MoonRocketCoin.swapAndLiquify(uint256) (#767-797):
External calls:
- swapTokensForBNB(toSwap) (#775)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#823-829)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#783)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#804-811)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#783)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#804-811)
State variables written after the call(s):
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#783)
- _allowances[owner][spender] = amount (#676)
Reentrancy in MoonRocketCoin.transferFrom(address,address,uint256) (#456-460):
External calls:
- _transfer(sender,recipient,amount) (#457)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#804-811)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#759-764)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#823-829)
External calls sending eth:
- _transfer(sender,recipient,amount) (#457)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#804-811)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#759-764)
- address(developmentAddress).transfer(developmentAmt) (#789)
- address(charityAddress).transfer(charityAmt) (#795)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#458)
- _allowances[owner][spender] = amount (#676)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MoonRocketCoin._transfer(address,address,uint256) (#680-719):
External calls:
- buyBackTokens(balance.div(100)) (#710)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#759-764)
- swapAndLiquify(swapTokensAtAmount) (#713)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#804-811)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#823-829)
External calls sending eth:
- buyBackTokens(balance.div(100)) (#710)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#759-764)
- swapAndLiquify(swapTokensAtAmount) (#713)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#804-811)
- address(developmentAddress).transfer(developmentAmt) (#789)
- address(charityAddress).transfer(charityAmt) (#795)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#677)
- swapAndLiquify(swapTokensAtAmount) (#713)
- Transfer(sender,recipient,s.tTransferAmount) (#741)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#718)
- Transfer(sender,address(this),s.tLiquidity + s.tDevelopment + s.tCharity + s.tBuyback) (#742)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#718)
Reentrancy in MoonRocketCoin.constructor(address) (#405-419):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (#407-408)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (#418)
Reentrancy in MoonRocketCoin.swapAndLiquify(uint256) (#767-797):
External calls:
- swapTokensForBNB(toSwap) (#775)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#823-829)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#783)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#804-811)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#783)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#804-811)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#677)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#783)
Reentrancy in MoonRocketCoin.transferFrom(address,address,uint256) (#456-460):
External calls:
- _transfer(sender,recipient,amount) (#457)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#804-811)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#759-764)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#823-829)
External calls sending eth:
- _transfer(sender,recipient,amount) (#457)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#804-811)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#759-764)
- address(developmentAddress).transfer(developmentAmt) (#789)
- address(charityAddress).transfer(charityAmt) (#795)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#677)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#458)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#133-140) uses assembly
- INLINE ASM (#136-138)
Address._verifyCallResult(bool,bytes,string) (#212-230) uses assembly
- INLINE ASM (#222-225)
Do not use evm assembly.
Additional information: link
MoonRocketCoin.includeInReward(address) (#520-531) has costly operations inside a loop:
- _excluded.pop() (#527)
Use a local variable to hold the loop computation result.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#212-230) is never used and should be removed
Address.functionCall(address,bytes) (#149-151) is never used and should be removed
Address.functionCall(address,bytes,string) (#153-159) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#161-167) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#169-180) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#197-199) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#201-210) is never used and should be removed
Address.functionStaticCall(address,bytes) (#182-184) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#186-195) is never used and should be removed
Address.isContract(address) (#133-140) is never used and should be removed
Address.sendValue(address,uint256) (#142-147) is never used and should be removed
Context._msgData() (#124-127) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#94-103) is never used and should be removed
SafeMath.mod(uint256,uint256) (#79-81) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#105-114) is never used and should be removed
SafeMath.mul(uint256,uint256) (#71-73) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#25-31) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#49-54) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#56-61) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#40-47) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#33-38) is never used and should be removed
Remove unused functions.
Additional information: link
MoonRocketCoin._rTotal (#328) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
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 (#2) allows old versions
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) (#142-147):
- (success) = recipient.call{value: amount}() (#145)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#169-180):
- (success,returndata) = target.call{value: value}(data) (#178)
Low level call in Address.functionStaticCall(address,bytes,string) (#186-195):
- (success,returndata) = target.staticcall(data) (#193)
Low level call in Address.functionDelegateCall(address,bytes,string) (#201-210):
- (success,returndata) = target.delegatecall(data) (#208)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IRouter.WETH() (#277) is not in mixedCase
Struct MoonRocketCoin.feeRatesStruct (#345-351) is not in CapWords
Struct MoonRocketCoin.valuesFromGetValues (#379-393) is not in CapWords
Parameter MoonRocketCoin.setFeeRates(uint256,uint256,uint256,uint256,uint256)._rfi (#547) is not in mixedCase
Parameter MoonRocketCoin.setFeeRates(uint256,uint256,uint256,uint256,uint256)._development (#547) is not in mixedCase
Parameter MoonRocketCoin.setFeeRates(uint256,uint256,uint256,uint256,uint256)._charity (#547) is not in mixedCase
Parameter MoonRocketCoin.setFeeRates(uint256,uint256,uint256,uint256,uint256)._liquidity (#547) is not in mixedCase
Parameter MoonRocketCoin.setFeeRates(uint256,uint256,uint256,uint256,uint256)._buyback (#547) is not in mixedCase
Parameter MoonRocketCoin.setSellFeeRates(uint256,uint256,uint256,uint256,uint256)._rfi (#556) is not in mixedCase
Parameter MoonRocketCoin.setSellFeeRates(uint256,uint256,uint256,uint256,uint256)._development (#556) is not in mixedCase
Parameter MoonRocketCoin.setSellFeeRates(uint256,uint256,uint256,uint256,uint256)._charity (#556) is not in mixedCase
Parameter MoonRocketCoin.setSellFeeRates(uint256,uint256,uint256,uint256,uint256)._liquidity (#556) is not in mixedCase
Parameter MoonRocketCoin.setSellFeeRates(uint256,uint256,uint256,uint256,uint256)._buyback (#556) is not in mixedCase
Parameter MoonRocketCoin.setMaxBuyAndSellAmount(uint256,uint256)._maxBuyamount (#839) is not in mixedCase
Parameter MoonRocketCoin.setMaxBuyAndSellAmount(uint256,uint256)._maxSellAmount (#839) is not in mixedCase
Parameter MoonRocketCoin.setMaxWalletTokend(uint256)._maxToken (#844) is not in mixedCase
Parameter MoonRocketCoin.updateSwapEnabled(bool)._enabled (#852) is not in mixedCase
Parameter MoonRocketCoin.updateBuybackEnabled(bool)._enabled (#856) is not in mixedCase
Parameter MoonRocketCoin.setAntibot(address,bool)._bot (#860) is not in mixedCase
Constant MoonRocketCoin._decimals (#324) is not in UPPER_CASE_WITH_UNDERSCORES
Variable MoonRocketCoin._maxWalletToken (#332) is not in mixedCase
Constant MoonRocketCoin.deadAddress (#339) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MoonRocketCoin._name (#341) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MoonRocketCoin._symbol (#342) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#125)" inContext (#119-128)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in MoonRocketCoin._transfer(address,address,uint256) (#680-719):
External calls:
- swapAndLiquify(swapTokensAtAmount) (#713)
- address(developmentAddress).transfer(developmentAmt) (#789)
- address(charityAddress).transfer(charityAmt) (#795)
External calls sending eth:
- buyBackTokens(balance.div(100)) (#710)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#759-764)
- swapAndLiquify(swapTokensAtAmount) (#713)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#804-811)
- address(developmentAddress).transfer(developmentAmt) (#789)
- address(charityAddress).transfer(charityAmt) (#795)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#718)
- _rOwned[address(this)] += rCharity (#584)
- _rOwned[address(this)] += rDevelopment (#575)
- _rOwned[address(this)] += rLiquidity (#605)
- _rOwned[address(this)] += rBuyback (#595)
- _rOwned[sender] = _rOwned[sender] - s.rAmount (#734)
- _rOwned[recipient] = _rOwned[recipient] + s.rTransferAmount (#735)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#718)
- _rTotal -= rRfi (#566)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#718)
- _tOwned[sender] = _tOwned[sender] - tAmount (#728)
- _tOwned[address(this)] += tBuyback (#593)
- _tOwned[address(this)] += tCharity (#582)
- _tOwned[address(this)] += tDevelopment (#573)
- _tOwned[address(this)] += tLiquidity (#603)
- _tOwned[recipient] = _tOwned[recipient] + s.tTransferAmount (#731)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#718)
- totFeesPaid.buyBack += tBuyback (#589)
- totFeesPaid.charity += tCharity (#580)
- totFeesPaid.development += tDevelopment (#571)
- totFeesPaid.liquidity += tLiquidity (#599)
- totFeesPaid.rfi += tRfi (#567)
Event emitted after the call(s):
- Transfer(sender,recipient,s.tTransferAmount) (#741)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#718)
- Transfer(sender,address(this),s.tLiquidity + s.tDevelopment + s.tCharity + s.tBuyback) (#742)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#718)
Reentrancy in MoonRocketCoin.transferFrom(address,address,uint256) (#456-460):
External calls:
- _transfer(sender,recipient,amount) (#457)
- address(developmentAddress).transfer(developmentAmt) (#789)
- address(charityAddress).transfer(charityAmt) (#795)
External calls sending eth:
- _transfer(sender,recipient,amount) (#457)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#804-811)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#759-764)
- address(developmentAddress).transfer(developmentAmt) (#789)
- address(charityAddress).transfer(charityAmt) (#795)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#458)
- _allowances[owner][spender] = amount (#676)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#677)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#458)
Apply the check-effects-interactions pattern.
Additional information: link
Variable MoonRocketCoin.setFeeRates(uint256,uint256,uint256,uint256,uint256)._development (#547) is too similar to MoonRocketCoin._getRValues(MoonRocketCoin.valuesFromGetValues,uint256,bool,uint256).rDevelopment (#640)
Variable MoonRocketCoin.setSellFeeRates(uint256,uint256,uint256,uint256,uint256)._development (#556) is too similar to MoonRocketCoin._getRValues(MoonRocketCoin.valuesFromGetValues,uint256,bool,uint256).rDevelopment (#640)
Variable MoonRocketCoin.setFeeRates(uint256,uint256,uint256,uint256,uint256)._development (#547) is too similar to MoonRocketCoin._takeDevelopment(uint256,uint256).rDevelopment (#570)
Variable MoonRocketCoin.setSellFeeRates(uint256,uint256,uint256,uint256,uint256)._development (#556) is too similar to MoonRocketCoin._takeDevelopment(uint256,uint256).rDevelopment (#570)
Variable MoonRocketCoin._takeDevelopment(uint256,uint256).rDevelopment (#570) is too similar to MoonRocketCoin._takeDevelopment(uint256,uint256).tDevelopment (#570)
Variable MoonRocketCoin.setSellFeeRates(uint256,uint256,uint256,uint256,uint256)._development (#556) is too similar to MoonRocketCoin._takeDevelopment(uint256,uint256).tDevelopment (#570)
Variable MoonRocketCoin.setFeeRates(uint256,uint256,uint256,uint256,uint256)._development (#547) is too similar to MoonRocketCoin._takeDevelopment(uint256,uint256).tDevelopment (#570)
Variable MoonRocketCoin._getRValues(MoonRocketCoin.valuesFromGetValues,uint256,bool,uint256).rDevelopment (#640) is too similar to MoonRocketCoin._takeDevelopment(uint256,uint256).tDevelopment (#570)
Prevent variables from having similar names.
Additional information: link
MoonRocketCoin.slitherConstructorVariables() (#302-890) uses literals with too many digits:
- _tTotal = 100000 * 10 ** 3 * 10 ** 18 (#327)
MoonRocketCoin.slitherConstructorVariables() (#302-890) uses literals with too many digits:
- maxBuyAmount = 100000 * 10 ** 3 * 10 ** 18 (#330)
MoonRocketCoin.slitherConstructorConstantVariables() (#302-890) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#339)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
MoonRocketCoin._isExcludedFromWhale (#310) is never used in MoonRocketCoin (#302-890)
Remove unused state variables.
Additional information: link
MoonRocketCoin._tTotal (#327) should be constant
MoonRocketCoin.charityAddress (#338) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#254-256)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#258-261)
name() should be declared external:
- MoonRocketCoin.name() (#422-424)
symbol() should be declared external:
- MoonRocketCoin.symbol() (#425-427)
decimals() should be declared external:
- MoonRocketCoin.decimals() (#428-430)
totalSupply() should be declared external:
- MoonRocketCoin.totalSupply() (#433-435)
transfer(address,uint256) should be declared external:
- MoonRocketCoin.transfer(address,uint256) (#442-445)
allowance(address,address) should be declared external:
- MoonRocketCoin.allowance(address,address) (#447-449)
approve(address,uint256) should be declared external:
- MoonRocketCoin.approve(address,uint256) (#451-454)
transferFrom(address,address,uint256) should be declared external:
- MoonRocketCoin.transferFrom(address,address,uint256) (#456-460)
increaseAllowance(address,uint256) should be declared external:
- MoonRocketCoin.increaseAllowance(address,uint256) (#462-465)
decreaseAllowance(address,uint256) should be declared external:
- MoonRocketCoin.decreaseAllowance(address,uint256) (#467-470)
isExcludedFromReward(address) should be declared external:
- MoonRocketCoin.isExcludedFromReward(address) (#472-474)
deliver(uint256) should be declared external:
- MoonRocketCoin.deliver(uint256) (#476-483)
reflectionFromToken(uint256,bool) should be declared external:
- MoonRocketCoin.reflectionFromToken(uint256,bool) (#485-494)
excludeFromReward(address) should be declared external:
- MoonRocketCoin.excludeFromReward(address) (#511-518)
excludeFromFee(address) should be declared external:
- MoonRocketCoin.excludeFromFee(address) (#534-536)
includeInFee(address) should be declared external:
- MoonRocketCoin.includeInFee(address) (#538-540)
isExcludedFromFee(address) should be declared external:
- MoonRocketCoin.isExcludedFromFee(address) (#543-545)
isBot(address) should be declared external:
- MoonRocketCoin.isBot(address) (#869-871)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Contract has 8% buy tax and 12% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.
Average 30d PancakeSwap volume is low.
Number of Binance Smart Chain (BSC) token holders is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
Token is deployed only at one blockchain
Token has only one trading pair
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 price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Unable to find Discord account