M31 Doge Token Logo

M31D [M31 Doge] Token

About M31D

Listings

Not Found
Token 3 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 2 March 2022

report
Token seems to be anonymous. As long as we are unable to find website score is limited.


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

M31Doge.swapBack() (#336-379) sends eth to arbitrary user
Dangerous calls:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#361)
- (BuyBackSuccess) = address(DevfeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#364)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in M31Doge._transferFrom(address,address,uint256) (#277-297):
External calls:
- swapBack() (#286)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#347-353)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#361)
- (BuyBackSuccess) = address(DevfeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#364)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#369-376)
External calls sending eth:
- swapBack() (#286)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#361)
- (BuyBackSuccess) = address(DevfeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#364)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#369-376)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#290)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#293)
- amountReceived = takeFee(sender,recipient,amount) (#292)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#323)
Apply the check-effects-interactions pattern.

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.

M31Doge.slitherConstructorVariables() (#190-450) performs a multiplication on the result of a division:
-swapThreshold = _totalSupply / 1000 * 3 (#228)
Consider ordering multiplication before division.

Additional information: link

M31Doge.swapBack() (#336-379) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#369-376)
Ensure that all the return values of the function calls are used.

Additional information: link

Auth.transferOwnership(address).adr (#129) lacks a zero-check on :
- owner = adr (#130)
M31Doge.setFeeReceiver(address,address)._marketingFeeReceiver (#415) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#416)
M31Doge.setFeeReceiver(address,address)._DevfeeReceiver (#415) lacks a zero-check on :
- DevfeeReceiver = _DevfeeReceiver (#417)
Check that the address is not zero.

Additional information: link

Reentrancy in M31Doge._transferFrom(address,address,uint256) (#277-297):
External calls:
- swapBack() (#286)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#347-353)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#361)
- (BuyBackSuccess) = address(DevfeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#364)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#369-376)
External calls sending eth:
- swapBack() (#286)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#361)
- (BuyBackSuccess) = address(DevfeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#364)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#369-376)
State variables written after the call(s):
- launch() (#288)
- launchedAt = block.number (#399)
Reentrancy in M31Doge.constructor() (#232-243):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#234)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#235)
- _balances[_owner] = _totalSupply (#241)
- isFeeExempt[_owner] = true (#238)
- isTxLimitExempt[_owner] = true (#239)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in M31Doge._transferFrom(address,address,uint256) (#277-297):
External calls:
- swapBack() (#286)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#347-353)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#361)
- (BuyBackSuccess) = address(DevfeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#364)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#369-376)
External calls sending eth:
- swapBack() (#286)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#361)
- (BuyBackSuccess) = address(DevfeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#364)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#369-376)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#324)
- amountReceived = takeFee(sender,recipient,amount) (#292)
- Transfer(sender,recipient,amountReceived) (#295)
Reentrancy in M31Doge.constructor() (#232-243):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#234)
Event emitted after the call(s):
- Transfer(address(0),_owner,_totalSupply) (#242)
Reentrancy in M31Doge.swapBack() (#336-379):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#347-353)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#361)
- (BuyBackSuccess) = address(DevfeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#364)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#369-376)
External calls sending eth:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#361)
- (BuyBackSuccess) = address(DevfeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#364)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#369-376)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#377)
Apply the check-effects-interactions pattern.

Additional information: link

M31Doge.buyTokens(uint256,address) (#381-392) is never used and should be removed
Remove unused functions.

Additional information: link

M31Doge._maxTxAmount (#202) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 3) / 100
M31Doge._maxWalletSize (#203) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 3) / 100
M31Doge.swapThreshold (#228) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 1000 * 3
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

Low level call in M31Doge.swapBack() (#336-379):
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#361)
- (BuyBackSuccess) = address(DevfeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#364)
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() (#144) is not in mixedCase
Parameter M31Doge.setFeeReceiver(address,address)._marketingFeeReceiver (#415) is not in mixedCase
Parameter M31Doge.setFeeReceiver(address,address)._DevfeeReceiver (#415) is not in mixedCase
Parameter M31Doge.setSwapBackSettings(bool,uint256)._enabled (#420) is not in mixedCase
Parameter M31Doge.setSwapBackSettings(bool,uint256)._amount (#420) is not in mixedCase
Parameter M31Doge.transferForeignToken(address)._token (#430) is not in mixedCase
Variable M31Doge.WBNB (#193) is not in mixedCase
Variable M31Doge.DEAD (#194) is not in mixedCase
Variable M31Doge.ZERO (#195) is not in mixedCase
Constant M31Doge._name (#197) is not in UPPER_CASE_WITH_UNDERSCORES
Constant M31Doge._symbol (#198) is not in UPPER_CASE_WITH_UNDERSCORES
Constant M31Doge._decimals (#199) is not in UPPER_CASE_WITH_UNDERSCORES
Variable M31Doge._totalSupply (#201) is not in mixedCase
Variable M31Doge._maxTxAmount (#202) is not in mixedCase
Variable M31Doge._maxWalletSize (#203) is not in mixedCase
Variable M31Doge._balances (#205) is not in mixedCase
Variable M31Doge._allowances (#206) is not in mixedCase
Variable M31Doge.Devfee (#212) is not in mixedCase
Variable M31Doge.DevfeeReceiver (#219) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#149) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#150)
Prevent variables from having similar names.

Additional information: link

M31Doge.slitherConstructorVariables() (#190-450) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#194)
M31Doge.slitherConstructorVariables() (#190-450) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#195)
M31Doge.slitherConstructorVariables() (#190-450) uses literals with too many digits:
- _totalSupply = 100000000 * (10 ** _decimals) (#201)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

M31Doge.DEAD (#194) should be constant
M31Doge.Devfee (#212) should be constant
M31Doge.WBNB (#193) should be constant
M31Doge.ZERO (#195) should be constant
M31Doge._totalSupply (#201) should be constant
M31Doge.feeDenominator (#216) should be constant
M31Doge.liquidityFee (#211) should be constant
M31Doge.marketingFee (#214) should be constant
M31Doge.totalFee (#215) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

authorize(address) should be declared external:
- Auth.authorize(address) (#101-103)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#108-110)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#129-133)
transferForeignToken(address) should be declared external:
- M31Doge.transferForeignToken(address) (#430-434)
isOverLiquified(uint256,uint256) should be declared external:
- M31Doge.isOverLiquified(uint256,uint256) (#444-446)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.

Contract has 12% buy tax and 12% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.


Average 30d PancakeSwap volume is low.


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


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find Telegram and Twitter accounts


Unable to find website, listings and other project-related information


Young tokens have high risks of scam / price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for M31D