McDoge Coin meme token, we build dexswap and Mint NFT's.
The first purpose; Becoming the mainstream of Doge tokens and enabling major projects to distribute McDoge Coin Second purpose; Providing daily income to investors. Third purpose; To create one of the strongest communities in the world and to continue by integrating all technologies in the crypto world as an interactive society
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
MCDOGE.swapBack() (#324-365) sends eth to arbitrary user
Dangerous calls:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#349)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#351)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in MCDOGE._transferFrom(address,address,uint256) (#265-285):
External calls:
- swapBack() (#274)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#335-341)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#349)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#355-362)
External calls sending eth:
- swapBack() (#274)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#349)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#355-362)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#278)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#281)
- amountReceived = takeFee(sender,recipient,amount) (#280)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#311)
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.
MCDOGE.DEAD (#184) should be constant
MCDOGE.WBNB (#183) should be constant
MCDOGE.ZERO (#185) should be constant
MCDOGE._totalSupply (#191) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
MCDOGE.swapBack() (#324-365) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#355-362)
Ensure that all the return values of the function calls are used.
Additional information: link
MCDOGE.setTxLimit(uint256) (#388-391) should emit an event for:
- _maxTxAmount = amount (#390)
MCDOGE.setFees(uint256,uint256,uint256,uint256) (#406-412) should emit an event for:
- liquidityFee = _liquidityFee (#407)
- buybackFee = _buybackFee (#408)
- marketingFee = _marketingFee (#409)
- totalFee = _liquidityFee.add(_buybackFee).add(_marketingFee) (#410)
- feeDenominator = _feeDenominator (#411)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (#119) lacks a zero-check on :
- owner = adr (#120)
MCDOGE.setFeeReceiver(address,address)._marketingFeeReceiver (#414) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#415)
MCDOGE.setFeeReceiver(address,address)._buybackFeeReceiver (#414) lacks a zero-check on :
- buybackFeeReceiver = _buybackFeeReceiver (#416)
Check that the address is not zero.
Additional information: link
Reentrancy in MCDOGE._transferFrom(address,address,uint256) (#265-285):
External calls:
- swapBack() (#274)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#335-341)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#349)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#355-362)
External calls sending eth:
- swapBack() (#274)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#349)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#355-362)
State variables written after the call(s):
- launch() (#276)
- launchedAt = block.number (#385)
Reentrancy in MCDOGE.constructor() (#220-231):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#222)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#223)
- _balances[_owner] = _totalSupply (#229)
- isFeeExempt[_owner] = true (#226)
- isTxLimitExempt[_owner] = true (#227)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MCDOGE._transferFrom(address,address,uint256) (#265-285):
External calls:
- swapBack() (#274)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#335-341)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#349)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#355-362)
External calls sending eth:
- swapBack() (#274)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#349)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#355-362)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#312)
- amountReceived = takeFee(sender,recipient,amount) (#280)
- Transfer(sender,recipient,amountReceived) (#283)
Reentrancy in MCDOGE.constructor() (#220-231):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#222)
Event emitted after the call(s):
- Transfer(address(0),_owner,_totalSupply) (#230)
Reentrancy in MCDOGE.swapBack() (#324-365):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#335-341)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#349)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#355-362)
External calls sending eth:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#349)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#355-362)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#363)
Apply the check-effects-interactions pattern.
Additional information: link
MCDOGE.buyTokens(uint256,address) (#367-378) is never used and should be removed
Remove unused functions.
Additional information: link
MCDOGE._maxTxAmount (#192) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 2) / 100
MCDOGE._maxWalletSize (#193) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 2) / 100
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 MCDOGE.swapBack() (#324-365):
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#349)
- (buybackSuccess) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#351)
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() (#134) is not in mixedCase
Parameter MCDOGE.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#406) is not in mixedCase
Parameter MCDOGE.setFees(uint256,uint256,uint256,uint256)._buybackFee (#406) is not in mixedCase
Parameter MCDOGE.setFees(uint256,uint256,uint256,uint256)._marketingFee (#406) is not in mixedCase
Parameter MCDOGE.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#406) is not in mixedCase
Parameter MCDOGE.setFeeReceiver(address,address)._marketingFeeReceiver (#414) is not in mixedCase
Parameter MCDOGE.setFeeReceiver(address,address)._buybackFeeReceiver (#414) is not in mixedCase
Parameter MCDOGE.setSwapBackSettings(bool,uint256)._enabled (#419) is not in mixedCase
Parameter MCDOGE.setSwapBackSettings(bool,uint256)._amount (#419) is not in mixedCase
Parameter MCDOGE.transferForeignToken(address)._token (#429) is not in mixedCase
Variable MCDOGE.WBNB (#183) is not in mixedCase
Variable MCDOGE.DEAD (#184) is not in mixedCase
Variable MCDOGE.ZERO (#185) is not in mixedCase
Constant MCDOGE._name (#187) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MCDOGE._symbol (#188) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MCDOGE._decimals (#189) is not in UPPER_CASE_WITH_UNDERSCORES
Variable MCDOGE._totalSupply (#191) is not in mixedCase
Variable MCDOGE._maxTxAmount (#192) is not in mixedCase
Variable MCDOGE._maxWalletSize (#193) is not in mixedCase
Variable MCDOGE._balances (#195) is not in mixedCase
Variable MCDOGE._allowances (#196) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#139) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#140)
Prevent variables from having similar names.
Additional information: link
MCDOGE.slitherConstructorVariables() (#180-449) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#184)
MCDOGE.slitherConstructorVariables() (#180-449) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#185)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
authorize(address) should be declared external:
- Auth.authorize(address) (#91-93)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#98-100)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#119-123)
transferForeignToken(address) should be declared external:
- MCDOGE.transferForeignToken(address) (#429-433)
isOverLiquified(uint256,uint256) should be declared external:
- MCDOGE.isOverLiquified(uint256,uint256) (#443-445)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
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 15% buy tax and 16% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
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 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
Twitter account link seems to be invalid
Telegram account has relatively few subscribers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account