In MAO INU we have gathered a team of the best and most skilled illustrators, graphic designers and programmers from around the world to build and develop our game and our currency, as MAO INU is a game with unique graphics that branch into many distinct axes, including PVP , and develop the skills of your character from fighting and endurance and many other skills.
MAO.swapBack() (#588-617) sends eth to arbitrary user
Dangerous calls:
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountETHToDev}() (#613-616)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in MAO._transfer(address,address,uint256) (#495-527):
External calls:
- addLiquidity() (#510)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#565-571)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#576-583)
- swapBack() (#514)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#601-607)
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountETHToDev}() (#613-616)
External calls sending eth:
- addLiquidity() (#510)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#576-583)
- swapBack() (#514)
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountETHToDev}() (#613-616)
State variables written after the call(s):
- _balances[sender] = senderBalance.sub(amount) (#517)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#521-523)
- amountReceived = takeFee(sender,amount) (#518-520)
- _balances[address(this)] = _balances[address(this)].add(gonAmount.div(feeDenominator).mul(devFee)) (#536-538)
- _balances[autoLiquidityReceiver] = _balances[autoLiquidityReceiver].add(gonAmount.div(feeDenominator).mul(liquidityFee)) (#539-541)
- swapBack() (#514)
- inSwap = true (#381)
- inSwap = false (#383)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
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.
Contract ownership is not renounced (belongs to a wallet)
MAO.takeFee(address,uint256) (#529-545) performs a multiplication on the result of a division:
-feeAmount = gonAmount.div(feeDenominator).mul(_totalFee) (#534)
MAO.takeFee(address,uint256) (#529-545) performs a multiplication on the result of a division:
-_balances[address(this)] = _balances[address(this)].add(gonAmount.div(feeDenominator).mul(devFee)) (#536-538)
MAO.takeFee(address,uint256) (#529-545) performs a multiplication on the result of a division:
-_balances[autoLiquidityReceiver] = _balances[autoLiquidityReceiver].add(gonAmount.div(feeDenominator).mul(liquidityFee)) (#539-541)
Consider ordering multiplication before division.
Additional information: link
MAO.addLiquidity() (#547-586) ignores return value by router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#576-583)
Ensure that all the return values of the function calls are used.
Additional information: link
MAO.allowance(address,address).owner (#449) shadows:
- Ownable.owner() (#116-118) (function)
MAO._approve(address,address,uint256).owner (#671) shadows:
- Ownable.owner() (#116-118) (function)
Rename the local variables that shadow another component.
Additional information: link
MAO.setFeeReceivers(address,address)._autoLiquidityReceiver (#654) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#658)
MAO.setFeeReceivers(address,address)._devFeeReceiver (#655) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (#659)
Check that the address is not zero.
Additional information: link
Reentrancy in MAO.addLiquidity() (#547-586):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#565-571)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#576-583)
External calls sending eth:
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#576-583)
State variables written after the call(s):
- _lastAddLiquidityTime = block.timestamp (#585)
Reentrancy in MAO.constructor() (#392-414):
External calls:
- pair = IPancakeSwapFactory(router.factory()).createPair(router.WETH(),address(this)) (#400-403)
State variables written after the call(s):
- _autoAddLiquidity = false (#409)
- _balances[owner()] = _totalSupply (#412)
- _isExcludedFromTax[owner()] = true (#410)
- _isExcludedFromTax[address(this)] = true (#411)
- _totalSupply = 1000000 * 10 ** (_decimals) (#408)
- autoLiquidityReceiver = 0x9901cD613452cbFf9957BA1309A8B036e1408d8E (#405)
- devFeeReceiver = 0x3f3940d6Da865A417EF4381C95AD3DefB24Ce338 (#406)
- managers[owner()] = true (#413)
Reentrancy in MAO.transferFrom(address,address,uint256) (#458-470):
External calls:
- _transfer(sender,recipient,amount) (#463)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#601-607)
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountETHToDev}() (#613-616)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#565-571)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#576-583)
External calls sending eth:
- _transfer(sender,recipient,amount) (#463)
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountETHToDev}() (#613-616)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#576-583)
State variables written after the call(s):
- _approve(sender,_msgSender(),currentAllowance - amount) (#467)
- _allowances[owner][spender] = amount (#678)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MAO._transfer(address,address,uint256) (#495-527):
External calls:
- addLiquidity() (#510)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#565-571)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#576-583)
- swapBack() (#514)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#601-607)
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountETHToDev}() (#613-616)
External calls sending eth:
- addLiquidity() (#510)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#576-583)
- swapBack() (#514)
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountETHToDev}() (#613-616)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#543)
- amountReceived = takeFee(sender,amount) (#518-520)
- Transfer(sender,recipient,amount) (#525)
Reentrancy in MAO.transferFrom(address,address,uint256) (#458-470):
External calls:
- _transfer(sender,recipient,amount) (#463)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#601-607)
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountETHToDev}() (#613-616)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#565-571)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#576-583)
External calls sending eth:
- _transfer(sender,recipient,amount) (#463)
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountETHToDev}() (#613-616)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#576-583)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#679)
- _approve(sender,_msgSender(),currentAllowance - amount) (#467)
Apply the check-effects-interactions pattern.
Additional information: link
MAO.shouldAddLiquidity() (#630-636) uses timestamp for comparisons
Dangerous comparisons:
- _autoAddLiquidity && ! inSwap && msg.sender != pair && block.timestamp >= (_lastAddLiquidityTime + 600) (#631-635)
Avoid relying on block.timestamp.
Additional information: link
MAO.setFeeReceivers(address,address) (#653-660) compares to a boolean constant:
-require(bool)(managers[msg.sender] == true) (#657)
Remove the equality to the boolean constant.
Additional information: link
Context._msgData() (#96-98) is never used and should be removed
SafeMath.mod(uint256,uint256) (#81-83) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#85-88) is never used and should be removed
Remove unused functions.
Additional information: link
MAO.totalFee (#371) is set pre-construction with a non-constant function or state variable:
- liquidityFee.add(devFee)
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 (#3) allows old versions
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 MAO.swapBack() (#588-617):
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountETHToDev}() (#613-616)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IPancakeSwapPair.DOMAIN_SEPARATOR() (#170) is not in mixedCase
Function IPancakeSwapPair.PERMIT_TYPEHASH() (#171) is not in mixedCase
Function IPancakeSwapPair.MINIMUM_LIQUIDITY() (#188) is not in mixedCase
Function IPancakeSwapRouter.WETH() (#208) is not in mixedCase
Parameter MAO.addManger(address)._addr (#416) is not in mixedCase
Parameter MAO.setAutoAddLiquidity(bool)._flag (#644) is not in mixedCase
Parameter MAO.setFeeReceivers(address,address)._autoLiquidityReceiver (#654) is not in mixedCase
Parameter MAO.setFeeReceivers(address,address)._devFeeReceiver (#655) is not in mixedCase
Variable MAO._autoAddLiquidity (#386) is not in mixedCase
Variable MAO._lastAddLiquidityTime (#387) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IPancakeSwapRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#213) is too similar to IPancakeSwapRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#214)
Prevent variables from having similar names.
Additional information: link
MAO.constructor() (#392-414) uses literals with too many digits:
- _totalSupply = 1000000 * 10 ** (_decimals) (#408)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
MAO._decimals (#367) should be constant
MAO._name (#365) should be constant
MAO._symbol (#366) should be constant
MAO.devFee (#370) should be constant
MAO.feeDenominator (#372) should be constant
MAO.liquidityFee (#369) should be constant
MAO.pairAddress (#376) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#135-137)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#143-146)
name() should be declared external:
- MAO.name() (#420-422)
symbol() should be declared external:
- MAO.symbol() (#424-426)
decimals() should be declared external:
- MAO.decimals() (#428-430)
totalSupply() should be declared external:
- MAO.totalSupply() (#432-434)
balanceOf(address) should be declared external:
- MAO.balanceOf(address) (#436-438)
isExcludedFromTax(address) should be declared external:
- MAO.isExcludedFromTax(address) (#440-442)
transfer(address,uint256) should be declared external:
- MAO.transfer(address,uint256) (#444-447)
allowance(address,address) should be declared external:
- MAO.allowance(address,address) (#449-451)
approve(address,uint256) should be declared external:
- MAO.approve(address,uint256) (#453-456)
transferFrom(address,address,uint256) should be declared external:
- MAO.transferFrom(address,address,uint256) (#458-470)
increaseAllowance(address,uint256) should be declared external:
- MAO.increaseAllowance(address,uint256) (#472-475)
decreaseAllowance(address,uint256) should be declared external:
- MAO.decreaseAllowance(address,uint256) (#477-483)
includeInTax(address) should be declared external:
- MAO.includeInTax(address) (#662-664)
excludeInTax(address) should be declared external:
- MAO.excludeInTax(address) (#666-668)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token contract audit
Unable to find KYC or doxxing proof
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts