MoonBoy Token Logo

MBO [MoonBoy] Token

ALERT: dead

About MBO

Listings

Token 3 years
white paper

Moonboy is a community development project to which we will build a presale dapp with an integrated charting system with trading.

Social

Laser Scorebeta Last Audit: 30 May 2022

report
Token seems to be unmaintained (no trading, inactive website, inactive socials, etc.).

MoonBoy.swapBack(uint256) (#587-648) sends eth to arbitrary user
Dangerous calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: address(this).balance}(0,path2,address(this),block.timestamp) (#611-616)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in MoonBoy._transferFrom(address,address,uint256) (#500-527):
External calls:
- swapBack(amount) (#518)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#599-605)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: address(this).balance}(0,path2,address(this),block.timestamp) (#611-616)
- router.addLiquidity(TOKENPAIR,address(this),amountLiquidity,amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#626-635)
- IERC20(TOKENPAIR).transfer(marketingFeeReceiver,amountMarketing) (#641)
- IERC20(TOKENPAIR).transfer(devFee1Receiver,amountDev / 2) (#644)
- IERC20(TOKENPAIR).transfer(devFee2Receiver,amountDev / 2) (#645)
External calls sending eth:
- swapBack(amount) (#518)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: address(this).balance}(0,path2,address(this),block.timestamp) (#611-616)
State variables written after the call(s):
- _balances[recipient] += amountReceived (#520)
Apply the check-effects-interactions pattern.

Additional information: link

MoonBoy.swapBack(uint256) (#587-648) ignores return value by IERC20(TOKENPAIR).transfer(marketingFeeReceiver,amountMarketing) (#641)
MoonBoy.swapBack(uint256) (#587-648) ignores return value by IERC20(TOKENPAIR).transfer(devFee1Receiver,amountDev / 2) (#644)
MoonBoy.swapBack(uint256) (#587-648) ignores return value by IERC20(TOKENPAIR).transfer(devFee2Receiver,amountDev / 2) (#645)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


Contract ownership is not renounced (belongs to a wallet)


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.


Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains

MoonBoy.constructor() (#425-447) ignores return value by IERC20(TOKENPAIR).approve(address(this),type()(uint256).max) (#431)
MoonBoy._transferFrom(address,address,uint256) (#500-527) ignores return value by antisnipe.onPreTransferCheck(sender,recipient,amount) (#523)
MoonBoy.swapBack(uint256) (#587-648) ignores return value by router.addLiquidity(TOKENPAIR,address(this),amountLiquidity,amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#626-635)
Ensure that all the return values of the function calls are used.

Additional information: link

MoonBoy.setTxLimit(uint256,uint256) (#660-663) should emit an event for:
- _maxTxAmount = (_totalSupply * numerator) / divisor (#662)
MoonBoy.setMaxWallet(uint256,uint256) (#665-668) should emit an event for:
- _maxWalletSize = (_totalSupply * numerator) / divisor (#667)
MoonBoy.setFees(uint256,uint256,uint256,uint256,uint256,uint256) (#678-688) should emit an event for:
- liquidityFee = _liquidityFee (#679)
- burnFee = _burnFee (#680)
- marketingFee = _marketingFee (#681)
- sellBias = _sellBias (#683)
- totalFee = _liquidityFee + _marketingFee + _devFee (#684)
- feeDenominator = _feeDenominator (#685)
MoonBoy.setSwapBackSettings(bool,uint256,uint256) (#701-706) should emit an event for:
- swapMinimum = _totalSupply / _denominatorMin (#704)
- swapThreshold = _totalSupply / _denominator (#705)
MoonBoy.setTargetLiquidity(uint256,uint256) (#708-711) should emit an event for:
- targetLiquidity = _target (#709)
- targetLiquidityDenominator = _denominator (#710)
Emit an event for critical parameter changes.

Additional information: link

MoonBoy.setFeeReceivers(address,address)._autoLiquidityReceiver (#690) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#692)
MoonBoy.setFeeReceivers(address,address)._marketingFeeReceiver (#690) lacks a zero-check on :
- marketingFeeReceiver = address(_marketingFeeReceiver) (#693)
MoonBoy.setDevReceiver(address,address)._dev1 (#696) lacks a zero-check on :
- devFee1Receiver = address(_dev1) (#697)
MoonBoy.setDevReceiver(address,address)._dev2 (#696) lacks a zero-check on :
- devFee2Receiver = address(_dev2) (#698)
MoonBoy.setTokenPair(address)._token (#725) lacks a zero-check on :
- TOKENPAIR = _token (#726)
Check that the address is not zero.

Additional information: link

MoonBoy.swapBack(uint256) (#587-648) has external calls inside a loop: path[2] = router.WETH() (#597)
MoonBoy.swapBack(uint256) (#587-648) has external calls inside a loop: router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#599-605)
MoonBoy.swapBack(uint256) (#587-648) has external calls inside a loop: path2[0] = router.WETH() (#608)
MoonBoy.swapBack(uint256) (#587-648) has external calls inside a loop: router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: address(this).balance}(0,path2,address(this),block.timestamp) (#611-616)
MoonBoy.swapBack(uint256) (#587-648) has external calls inside a loop: balanceAfter = IERC20(TOKENPAIR).balanceOf(address(this)) (#618)
MoonBoy.swapBack(uint256) (#587-648) has external calls inside a loop: router.addLiquidity(TOKENPAIR,address(this),amountLiquidity,amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#626-635)
MoonBoy.swapBack(uint256) (#587-648) has external calls inside a loop: IERC20(TOKENPAIR).transfer(marketingFeeReceiver,amountMarketing) (#641)
MoonBoy.swapBack(uint256) (#587-648) has external calls inside a loop: IERC20(TOKENPAIR).transfer(devFee1Receiver,amountDev / 2) (#644)
MoonBoy.swapBack(uint256) (#587-648) has external calls inside a loop: IERC20(TOKENPAIR).transfer(devFee2Receiver,amountDev / 2) (#645)
MoonBoy._transferFrom(address,address,uint256) (#500-527) has external calls inside a loop: antisnipe.onPreTransferCheck(sender,recipient,amount) (#523)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in MoonBoy.constructor() (#425-447):
External calls:
- pair = IDEXFactory(router.factory()).createPair(TOKENPAIR,address(this)) (#427)
State variables written after the call(s):
- _allowances[owner()][routerAddress] = type()(uint256).max (#429)
- _allowances[address(this)][routerAddress] = type()(uint256).max (#430)
- liquidityPools[pair] = true (#428)
Reentrancy in MoonBoy.constructor() (#425-447):
External calls:
- pair = IDEXFactory(router.factory()).createPair(TOKENPAIR,address(this)) (#427)
- IERC20(TOKENPAIR).approve(address(this),type()(uint256).max) (#431)
State variables written after the call(s):
- _balances[owner()] = _totalSupply (#445)
- autoLiquidityReceiver = 0xF6B335995bc240DfE8F11340B566c2D1213Fa734 (#440)
- devFee1Receiver = address(0x230A85BB484d3f1d4CFaA167c48658d88F5b369F) (#442)
- devFee2Receiver = address(0x8802e09c1A06674EaA8E66a5e9Df8213fA74c9de) (#443)
- isFeeExempt[owner()] = true (#433)
- isTxLimitExempt[address(this)] = true (#436)
- isTxLimitExempt[owner()] = true (#437)
- isTxLimitExempt[routerAddress] = true (#438)
- liquidityProviders[msg.sender] = true (#434)
- marketingFeeReceiver = address(0xA3EcC7DE0D9435460794C3a5C9021C10A1B05b5a) (#441)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in MoonBoy._transferFrom(address,address,uint256) (#500-527):
External calls:
- swapBack(amount) (#518)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#599-605)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: address(this).balance}(0,path2,address(this),block.timestamp) (#611-616)
- router.addLiquidity(TOKENPAIR,address(this),amountLiquidity,amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#626-635)
- IERC20(TOKENPAIR).transfer(marketingFeeReceiver,amountMarketing) (#641)
- IERC20(TOKENPAIR).transfer(devFee1Receiver,amountDev / 2) (#644)
- IERC20(TOKENPAIR).transfer(devFee2Receiver,amountDev / 2) (#645)
- antisnipe.onPreTransferCheck(sender,recipient,amount) (#523)
External calls sending eth:
- swapBack(amount) (#518)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: address(this).balance}(0,path2,address(this),block.timestamp) (#611-616)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#525)
Reentrancy in MoonBoy.constructor() (#425-447):
External calls:
- pair = IDEXFactory(router.factory()).createPair(TOKENPAIR,address(this)) (#427)
- IERC20(TOKENPAIR).approve(address(this),type()(uint256).max) (#431)
Event emitted after the call(s):
- Transfer(address(0),owner(),_totalSupply) (#446)
Reentrancy in MoonBoy.swapBack(uint256) (#587-648):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#599-605)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: address(this).balance}(0,path2,address(this),block.timestamp) (#611-616)
- router.addLiquidity(TOKENPAIR,address(this),amountLiquidity,amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#626-635)
External calls sending eth:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: address(this).balance}(0,path2,address(this),block.timestamp) (#611-616)
Event emitted after the call(s):
- AutoLiquify(amountLiquidity,amountToLiquify) (#637)
Apply the check-effects-interactions pattern.

Additional information: link

Address.isContract(address) (#44-53) uses assembly
- INLINE ASM (#51)
Address._functionCallWithValue(address,bytes,uint256,string) (#137-158) uses assembly
- INLINE ASM (#150-153)
Do not use evm assembly.

Additional information: link

MoonBoy.swapping() (#423) has costly operations inside a loop:
- inSwap = true (#423)
MoonBoy.swapping() (#423) has costly operations inside a loop:
- inSwap = false (#423)
Use a local variable to hold the loop computation result.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#137-158) is never used and should be removed
Address.functionCall(address,bytes) (#97-99) is never used and should be removed
Address.functionCall(address,bytes,string) (#107-109) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#122-124) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#132-135) is never used and should be removed
Address.isContract(address) (#44-53) is never used and should be removed
Address.sendValue(address,uint256) (#71-77) is never used and should be removed
Context._msgData() (#166-169) is never used and should be removed
Remove unused functions.

Additional information: link

MoonBoy._maxTxAmount (#377) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 1) / 200
MoonBoy._maxWalletSize (#378) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 1) / 100
MoonBoy.swapThreshold (#420) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 400
MoonBoy.swapMinimum (#421) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 10000
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.9 (#22) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.9 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.sendValue(address,uint256) (#71-77):
- (success) = recipient.call{value: amount}() (#75)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#137-158):
- (success,returndata) = target.call{value: weiValue}(data) (#141)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IDEXRouter.WETH() (#246) is not in mixedCase
Parameter MoonBoy.setProtection(bool)._protect (#469) is not in mixedCase
Parameter MoonBoy.setProtection(address,bool)._protection (#475) is not in mixedCase
Parameter MoonBoy.setProtection(address,bool)._call (#475) is not in mixedCase
Parameter MoonBoy.setLiquidityProvider(address)._provider (#549) is not in mixedCase
Parameter MoonBoy.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._liquidityFee (#678) is not in mixedCase
Parameter MoonBoy.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._burnFee (#678) is not in mixedCase
Parameter MoonBoy.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._marketingFee (#678) is not in mixedCase
Parameter MoonBoy.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._devFee (#678) is not in mixedCase
Parameter MoonBoy.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._sellBias (#678) is not in mixedCase
Parameter MoonBoy.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._feeDenominator (#678) is not in mixedCase
Parameter MoonBoy.setFeeReceivers(address,address)._autoLiquidityReceiver (#690) is not in mixedCase
Parameter MoonBoy.setFeeReceivers(address,address)._marketingFeeReceiver (#690) is not in mixedCase
Parameter MoonBoy.setDevReceiver(address,address)._dev1 (#696) is not in mixedCase
Parameter MoonBoy.setDevReceiver(address,address)._dev2 (#696) is not in mixedCase
Parameter MoonBoy.setSwapBackSettings(bool,uint256,uint256)._enabled (#701) is not in mixedCase
Parameter MoonBoy.setSwapBackSettings(bool,uint256,uint256)._denominator (#701) is not in mixedCase
Parameter MoonBoy.setSwapBackSettings(bool,uint256,uint256)._denominatorMin (#701) is not in mixedCase
Parameter MoonBoy.setTargetLiquidity(uint256,uint256)._target (#708) is not in mixedCase
Parameter MoonBoy.setTargetLiquidity(uint256,uint256)._denominator (#708) is not in mixedCase
Parameter MoonBoy.setTokenPair(address)._token (#725) is not in mixedCase
Parameter MoonBoy.setRouter(address)._router (#729) is not in mixedCase
Parameter MoonBoy.addLiquidityPool(address,bool)._pool (#733) is not in mixedCase
Parameter MoonBoy.addLiquidityPool(address,bool)._enabled (#733) is not in mixedCase
Parameter MoonBoy.airdrop(address[],uint256[])._addresses (#737) is not in mixedCase
Parameter MoonBoy.airdrop(address[],uint256[])._amount (#737) is not in mixedCase
Variable MoonBoy.TOKENPAIR (#368) is not in mixedCase
Variable MoonBoy.DEAD (#369) is not in mixedCase
Variable MoonBoy.ZERO (#370) is not in mixedCase
Constant MoonBoy._name (#372) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MoonBoy._symbol (#373) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MoonBoy._decimals (#374) is not in UPPER_CASE_WITH_UNDERSCORES
Variable MoonBoy._totalSupply (#376) is not in mixedCase
Variable MoonBoy._maxTxAmount (#377) is not in mixedCase
Variable MoonBoy._maxWalletSize (#378) is not in mixedCase
Variable MoonBoy._balances (#380) is not in mixedCase
Variable MoonBoy._allowances (#381) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#167)" inContext (#161-170)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#251) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#252)
Variable MoonBoy.devFee1Receiver (#397) is too similar to MoonBoy.devFee2Receiver (#398)
Prevent variables from having similar names.

Additional information: link

MoonBoy.slitherConstructorVariables() (#365-752) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#369)
MoonBoy.slitherConstructorVariables() (#365-752) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#370)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

MoonBoy.lastBuy (#382) is never used in MoonBoy (#365-752)
Remove unused state variables.

Additional information: link

MoonBoy.DEAD (#369) should be constant
MoonBoy.ZERO (#370) should be constant
MoonBoy._totalSupply (#376) should be constant
MoonBoy.routerAddress (#404) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#339-342)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#348-352)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average 30d PancakeSwap volume 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.


Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.

Contract has 10% buy tax and 5% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.


Average 30d PancakeSwap liquidity is low.


Number of Binance Smart Chain (BSC) token holders is low.


Token is deployed only at one blockchain


Twitter account has relatively few followers


Last post in Twitter was more than 30 days ago


Unable to find Youtube account


Unable to find Discord account


Unable to find token on CoinGecko

Additional information: link


Unable to find token on CoinMarketCap

Additional information: link


Token was delisted from CoinHunt

Additional information: link


Unable to find audit link on the website


Token is not listed at Mobula.Finance

Additional information: link


Young tokens have high risks of price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Token is marked as risky (blacklisted creator, fake name, dead project, etc.)

Additional information: link


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death

Price for MBO

News for MBO