Moonery Token Logo

MNRY [Moonery] Token

About MNRY

Listings

Token 16 months

Website

white paper

MOONERY is a community-driven, no-loss prize game and no-loss pool launchpad built on Binance Smart Chain #BSC. We bring the most revolutionary mechanism to the BSC ecosystem.

Social

Laser Scorebeta Last Audit: 30 November 2021

report
Token is either risky or in presale. For presale 30+ is a fine score.

Anti-Scam

Links


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

MooneryUtils.addLiquidity(address,address,uint256,uint256) (contracts/utils/MooneryUtils.sol#96-113) sends eth to arbitrary user
Dangerous calls:
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (contracts/utils/MooneryUtils.sol#105-112)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in Moonery._transfer(address,address,uint256,uint256) (contracts/Moonery.sol#418-441):
External calls:
- _swapAndLiquify(from,to) (contracts/Moonery.sol#431)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (contracts/utils/MooneryUtils.sol#105-112)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/utils/MooneryUtils.sol#66-72)
- MooneryUtils.swapTokensForBnb(address(pancakeRouter),tokenAmountToBeSwapped) (contracts/Moonery.sol#567)
- MooneryUtils.addLiquidity(address(pancakeRouter),address(_escrow),otherPiece,bnbToBeAddedToLiquidity) (contracts/Moonery.sol#574)
External calls sending eth:
- _swapAndLiquify(from,to) (contracts/Moonery.sol#431)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (contracts/utils/MooneryUtils.sol#105-112)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (contracts/Moonery.sol#440)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (contracts/Moonery.sol#378)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/Moonery.sol#476)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/Moonery.sol#467)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/Moonery.sol#468)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/Moonery.sol#325)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/Moonery.sol#487)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/Moonery.sol#488)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/Moonery.sol#478)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/Moonery.sol#327)
- _tokenTransfer(from,to,amount,takeFee) (contracts/Moonery.sol#440)
- _rTotal = _rTotal.sub(rFee) (contracts/Moonery.sol#333)
- _tokenTransfer(from,to,amount,takeFee) (contracts/Moonery.sol#440)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (contracts/Moonery.sol#380)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (contracts/Moonery.sol#324)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (contracts/Moonery.sol#486)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (contracts/Moonery.sol#477)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (contracts/Moonery.sol#326)
Apply the check-effects-interactions pattern.

Additional information: link

Moonery._claimBNBReward(address) (contracts/Moonery.sol#580-610) ignores return value by IWBNB(_wbnb).transfer(address(_lottery),reward) (contracts/Moonery.sol#604)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link

Moonery._inSwapAndLiquify (contracts/Moonery.sol#50) is never initialized. It is used in:
- Moonery._swapAndLiquify(address,address) (contracts/Moonery.sol#537-578)
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.

Reentrancy in Moonery._claimBNBReward(address) (contracts/Moonery.sol#580-610):
External calls:
- MooneryUtils.swapBNBForTokens(address(pancakeRouter),address(0x000000000000000000000000000000000000dEaD),reward.div(5)) (contracts/Moonery.sol#589-593)
State variables written after the call(s):
- nextAvailableClaimDate[sender] = block.timestamp + getRewardCycleBlock() (contracts/Moonery.sol#598)
Apply the check-effects-interactions pattern.

Additional information: link

Moonery._swapAndLiquify(address,address) (contracts/Moonery.sol#537-578) ignores return value by MooneryUtils.addLiquidity(address(pancakeRouter),address(_escrow),otherPiece,bnbToBeAddedToLiquidity) (contracts/Moonery.sol#574)
Ensure that all the return values of the function calls are used.

Additional information: link

Moonery.setMinTokenNumberToSell(uint256) (contracts/Moonery.sol#289-291) should emit an event for:
- _minTokenNumberToSell = _tTotal.mul(minToSellPercent).div(10000) (contracts/Moonery.sol#290)
Emit an event for critical parameter changes.

Additional information: link

Moonery.activateContract(address,address,address).escrow_ (contracts/Moonery.sol#163) lacks a zero-check on :
- _escrow = escrow_ (contracts/Moonery.sol#167)
Check that the address is not zero.

Additional information: link

Reentrancy in Moonery.transferFrom(address,address,uint256) (contracts/Moonery.sol#233-237):
External calls:
- _transfer(sender,recipient,amount,0) (contracts/Moonery.sol#234)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (contracts/utils/MooneryUtils.sol#105-112)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/utils/MooneryUtils.sol#66-72)
- MooneryUtils.swapTokensForBnb(address(pancakeRouter),tokenAmountToBeSwapped) (contracts/Moonery.sol#567)
- MooneryUtils.addLiquidity(address(pancakeRouter),address(_escrow),otherPiece,bnbToBeAddedToLiquidity) (contracts/Moonery.sol#574)
External calls sending eth:
- _transfer(sender,recipient,amount,0) (contracts/Moonery.sol#234)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (contracts/utils/MooneryUtils.sol#105-112)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (contracts/Moonery.sol#235)
- _allowances[owner_][spender] = amount (contracts/Moonery.sol#414)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Moonery.transferFrom(address,address,uint256) (contracts/Moonery.sol#233-237):
External calls:
- _transfer(sender,recipient,amount,0) (contracts/Moonery.sol#234)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (contracts/utils/MooneryUtils.sol#105-112)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/utils/MooneryUtils.sol#66-72)
- MooneryUtils.swapTokensForBnb(address(pancakeRouter),tokenAmountToBeSwapped) (contracts/Moonery.sol#567)
- MooneryUtils.addLiquidity(address(pancakeRouter),address(_escrow),otherPiece,bnbToBeAddedToLiquidity) (contracts/Moonery.sol#574)
External calls sending eth:
- _transfer(sender,recipient,amount,0) (contracts/Moonery.sol#234)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner,block.timestamp + 360) (contracts/utils/MooneryUtils.sol#105-112)
Event emitted after the call(s):
- Approval(owner_,spender,amount) (contracts/Moonery.sol#415)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (contracts/Moonery.sol#235)
Apply the check-effects-interactions pattern.

Additional information: link

Ownable.unlock() (contracts/access/Ownable.sol#86-91) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (contracts/access/Ownable.sol#88)
Avoid relying on block.timestamp.

Additional information: link

Address._verifyCallResult(bool,bytes,string) (@openzeppelin/contracts/utils/Address.sol#171-188) uses assembly
- INLINE ASM (@openzeppelin/contracts/utils/Address.sol#180-183)
Do not use evm assembly.

Additional information: link

Moonery._ensureMaxTxAmount(address,address,uint256,uint256) (contracts/Moonery.sol#521-535) compares to a boolean constant:
-_isExcludedFromMaxTx[from] == false && _isExcludedFromMaxTx[to] == false (contracts/Moonery.sol#528-529)
Remove the equality to the boolean constant.

Additional information: link

Different versions of Solidity is used:
- Version used: ['>=0.5.0', '>=0.6.0<0.8.0', '>=0.6.2', '>=0.6.2<0.8.0', '>=0.6.8<0.9.0']
- >=0.6.0<0.8.0 (@openzeppelin/contracts/math/SafeMath.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts/token/ERC20/IERC20.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts/token/ERC20/SafeERC20.sol#3)
- >=0.6.2<0.8.0 (@openzeppelin/contracts/utils/Address.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts/utils/Context.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts/utils/ReentrancyGuard.sol#3)
- >=0.5.0 (@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol#1)
- >=0.6.2 (@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol#1)
- >=0.6.2 (@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol#1)
- >=0.6.8<0.9.0 (contracts/IWBNB.sol#3)
- >=0.6.8<0.9.0 (contracts/Moonery.sol#3)
- ABIEncoderV2 (contracts/Moonery.sol#4)
- >=0.6.8<0.9.0 (contracts/access/Ownable.sol#3)
- ABIEncoderV2 (contracts/access/Ownable.sol#4)
- >=0.6.8<0.9.0 (contracts/utils/MooneryUtils.sol#3)
Use one Solidity version.

Additional information: link

SafeMath.trySub(uint256,uint256) (@openzeppelin/contracts/math/SafeMath.sol#35-38) is never used and should be removed
Remove unused functions.

Additional information: link

Moonery._previousLiquidityFee (contracts/Moonery.sol#67) 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.6.8 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 Moonery._claimBNBReward(address) (contracts/Moonery.sol#580-610):
- (sent) = _msgSender().call{value: reward}() (contracts/Moonery.sol#606)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Constant Moonery._symbol (contracts/Moonery.sol#39) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (@openzeppelin/contracts/utils/Context.sol#21)" inContext (@openzeppelin/contracts/utils/Context.sol#15-24)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable Moonery.reflectionFromToken(uint256,bool).rTransferAmount (contracts/Moonery.sol#264) is too similar to Moonery._transferToExcluded(address,address,uint256).tTransferAmount (contracts/Moonery.sol#475)
Prevent variables from having similar names.

Additional information: link

Moonery.slitherConstructorConstantVariables() (contracts/Moonery.sol#18-612) uses literals with too many digits:
- _tTotal = 1000000000 * 10 ** 6 * 10 ** 9 (contracts/Moonery.sol#34)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Moonery.threshHoldTopUpRate (contracts/Moonery.sol#55) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

addLiquidity(address,address,uint256,uint256) should be declared external:
- MooneryUtils.addLiquidity(address,address,uint256,uint256) (contracts/utils/MooneryUtils.sol#96-113)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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.


Twitter account link seems to be invalid


Unable to find Youtube account


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to find token on 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


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 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

Price for MNRY