MOONGAME Token Logo

MGT [MOONGAME] Token

About MGT

Listings

Token 17 months
CoinMarketCap 16 months
white paper

Moongame is looking to be a place for entertainment, relaxation or a hangout. It’s also considered a profitable investment. Moongame combines excitement and investment opportunities with games and finance.
We incorporate blockchain technology into all our games on the system, helping build transparency through process and fairness.

Social

Laser Scorebeta Last Audit: 30 November 2021

report
Token seems to be (relatively) fine. It still become a scam, but probability is moderate.

Reentrancy in DividendDistributor.setShare(address,uint256) (contracts/DividendDistributor.sol#55-69):
External calls:
- distributeDividend(shareholder) (contracts/DividendDistributor.sol#57)
- (success) = address(shareholder).call{value: amount}() (contracts/DividendDistributor.sol#114)
State variables written after the call(s):
- shares[shareholder].amount = amount (contracts/DividendDistributor.sol#67)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (contracts/DividendDistributor.sol#68)
Apply the check-effects-interactions pattern.

Additional information: link

MoonGame.buyTokens(uint256,address) (contracts/MoonGame.sol#287-298) sends eth to arbitrary user
Dangerous calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/MoonGame.sol#292-297)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

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.

MoonGame.swapBack() (contracts/MoonGame.sol#218-258) ignores return value by address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (contracts/MoonGame.sol#245)
Ensure that the return value of a low-level call is checked or logged.

Additional information: link

MoonGame.swapBack() (contracts/MoonGame.sol#218-258) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/MoonGame.sol#248-255)
Ensure that all the return values of the function calls are used.

Additional information: link

MoonGame.setTargetLiquidity(uint256,uint256) (contracts/MoonGame.sol#369-372) should emit an event for:
- targetLiquidity = _target (contracts/MoonGame.sol#370)
- targetLiquidityDenominator = _denominator (contracts/MoonGame.sol#371)
Emit an event for critical parameter changes.

Additional information: link

MoonGame.withDrawBNB(address,uint256).to (contracts/MoonGame.sol#395) lacks a zero-check on :
- (success) = address(to).call{value: amount}() (contracts/MoonGame.sol#397)
Check that the address is not zero.

Additional information: link

Reentrancy in MoonGame.triggerZeusBuyback(uint256,bool) (contracts/MoonGame.sol#268-274):
External calls:
- buyTokens(amount,DEAD) (contracts/MoonGame.sol#269)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/MoonGame.sol#292-297)
State variables written after the call(s):
- buybackMultiplierTriggeredAt = block.timestamp (contracts/MoonGame.sol#271)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in MoonGame.triggerZeusBuyback(uint256,bool) (contracts/MoonGame.sol#268-274):
External calls:
- buyTokens(amount,DEAD) (contracts/MoonGame.sol#269)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/MoonGame.sol#292-297)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (contracts/MoonGame.sol#272)
Apply the check-effects-interactions pattern.

Additional information: link

MoonGame.isOverLiquified(uint256,uint256) (contracts/MoonGame.sol#391-393) uses timestamp for comparisons
Dangerous comparisons:
- getLiquidityBacking(accuracy) > target (contracts/MoonGame.sol#392)
Avoid relying on block.timestamp.

Additional information: link

MoonGame.onlyBuybacker() (contracts/MoonGame.sol#114) compares to a boolean constant:
-require(bool,string)(buyBacker[msg.sender] == true,) (contracts/MoonGame.sol#114)
Remove the equality to the boolean constant.

Additional information: link

DividendDistributor.process(uint256) (contracts/DividendDistributor.sol#77-101) has costly operations inside a loop:
- currentIndex ++ (contracts/DividendDistributor.sol#98)
Use a local variable to hold the loop computation result.

Additional information: link

SafeMath.trySub(uint256,uint256) (contracts/SafeMath.sol#34-39) is never used and should be removed
Remove unused functions.

Additional information: link

MoonGame.swapThreshold (contracts/MoonGame.sol#76) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 1000
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.0 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 MoonGame.withDrawBNB(address,uint256) (contracts/MoonGame.sol#395-399):
- (success) = address(to).call{value: amount}() (contracts/MoonGame.sol#397)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable MoonGame._allowances (contracts/MoonGame.sol#31) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/IDEXRouter.sol#10) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/IDEXRouter.sol#11)
Prevent variables from having similar names.

Additional information: link

MoonGame.slitherConstructorVariables() (contracts/MoonGame.sol#14-404) uses literals with too many digits:
- distributorGas = 500000 (contracts/MoonGame.sol#73)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

MoonGame.DEAD_NON_CHECKSUM (contracts/MoonGame.sol#21) is never used in MoonGame (contracts/MoonGame.sol#14-404)
Remove unused state variables.

Additional information: link

MoonGame._totalSupply (contracts/MoonGame.sol#27) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

launch(uint256) should be declared external:
- MoonGame.launch(uint256) (contracts/MoonGame.sol#320-324)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token is deployed only at one blockchain


Unable to find PancakeSwap trading pair to compute liquidity.


Unable to find PancakeSwap trading pair to compute number of swaps.


Twitter account link seems to be invalid


Unable to find Youtube account


Unable to find Discord account


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

Additional information: link


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


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank

Price for MGT