McDoge Token Logo

McDoge Token

About McDoge

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 28 January 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...)

McDoge.swapBack() (#463-489) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingAmountReceiver).call{value: amountBNBMarketing}() (#480-482)
- (tmpSuccess2) = address(projectMaintenanceReceiver).call{value: amountBNB.sub(amountBNBMarketing)}() (#483-485)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in McDoge._transferFrom(address,address,uint256) (#358-402):
External calls:
- swapBack() (#381)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(swapThreshold,0,path,address(this),block.timestamp) (#468-474)
- (tmpSuccess) = address(marketingAmountReceiver).call{value: amountBNBMarketing}() (#480-482)
- (tmpSuccess2) = address(projectMaintenanceReceiver).call{value: amountBNB.sub(amountBNBMarketing)}() (#483-485)
External calls sending eth:
- swapBack() (#381)
- (tmpSuccess) = address(marketingAmountReceiver).call{value: amountBNBMarketing}() (#480-482)
- (tmpSuccess2) = address(projectMaintenanceReceiver).call{value: amountBNB.sub(amountBNBMarketing)}() (#483-485)
State variables written after the call(s):
- _basicTransfer(address(this),DEAD,taxBurnAmount) (#385)
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#409-412)
- _balances[recipient] = _balances[recipient].add(amount) (#413)
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#390-393)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#398)
- amountReceived = takeFee(sender,amount,recipient) (#395-397)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#442)
Apply the check-effects-interactions pattern.

Additional information: link

McDoge.swapBack().tmpSuccess2 (#483) is written in both
(tmpSuccess2) = address(projectMaintenanceReceiver).call{value: amountBNB.sub(amountBNBMarketing)}() (#483-485)
tmpSuccess2 = false (#487)
McDoge.swapBack().tmpSuccess (#480) is written in both
(tmpSuccess) = address(marketingAmountReceiver).call{value: amountBNBMarketing}() (#480-482)
tmpSuccess = false (#488)
Fix or remove the writes.

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.setSwapBackSettings(bool,uint256,uint256) (#521-533) should emit an event for:
- swapThreshold = _amount * 10 ** 9 (#531)
McDoge.setFees(uint256,uint256,uint256) (#549-560) should emit an event for:
- totalFee = _totalFee (#557)
- totalSellFee = _totalSellFee (#558)
- totalTransferFee = _totalTransferFee (#559)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#164) lacks a zero-check on :
- owner = adr (#165)
McDoge.setFeeReceivers(address,address)._marketingAmountReceiver (#510) lacks a zero-check on :
- marketingAmountReceiver = _marketingAmountReceiver (#513)
McDoge.setFeeReceivers(address,address)._projectMaintenanceReceiver (#511) lacks a zero-check on :
- projectMaintenanceReceiver = _projectMaintenanceReceiver (#514)
Check that the address is not zero.

Additional information: link

Reentrancy in McDoge.constructor() (#259-291):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#268)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#269)
- _balances[msg.sender] = _totalSupply (#289)
- isFeeExempt[msg.sender] = true (#272)
- isFeeExempt[marketingAmountReceiver] = true (#273)
- isFeeExempt[projectMaintenanceReceiver] = true (#274)
- isFeeExempt[DEAD] = true (#275)
- isFeeExempt[address(this)] = true (#276)
- isMaxWalletExempt[msg.sender] = true (#279)
- isMaxWalletExempt[marketingAmountReceiver] = true (#280)
- isMaxWalletExempt[projectMaintenanceReceiver] = true (#281)
- isMaxWalletExempt[DEAD] = true (#282)
- isMaxWalletExempt[address(this)] = true (#283)
- isMaxWalletExempt[pair] = true (#284)
- pairs[pair] = true (#287)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in McDoge._transferFrom(address,address,uint256) (#358-402):
External calls:
- swapBack() (#381)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(swapThreshold,0,path,address(this),block.timestamp) (#468-474)
- (tmpSuccess) = address(marketingAmountReceiver).call{value: amountBNBMarketing}() (#480-482)
- (tmpSuccess2) = address(projectMaintenanceReceiver).call{value: amountBNB.sub(amountBNBMarketing)}() (#483-485)
External calls sending eth:
- swapBack() (#381)
- (tmpSuccess) = address(marketingAmountReceiver).call{value: amountBNBMarketing}() (#480-482)
- (tmpSuccess2) = address(projectMaintenanceReceiver).call{value: amountBNB.sub(amountBNBMarketing)}() (#483-485)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#414)
- _basicTransfer(address(this),DEAD,taxBurnAmount) (#385)
- Transfer(sender,address(this),feeAmount) (#443)
- amountReceived = takeFee(sender,amount,recipient) (#395-397)
- Transfer(sender,recipient,amountReceived) (#400)
Reentrancy in McDoge.constructor() (#259-291):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#268)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#290)
Apply the check-effects-interactions pattern.

Additional information: link

McDoge._maxWalletToken (#213) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 2) / 100
McDoge.swapThreshold (#248) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 2) / 1000
McDoge.taxBurnAmount (#250) is set pre-construction with a non-constant function or state variable:
- swapThreshold.div(10)
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.10 (#10) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.10 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 McDoge.swapBack() (#463-489):
- (tmpSuccess) = address(marketingAmountReceiver).call{value: amountBNBMarketing}() (#480-482)
- (tmpSuccess2) = address(projectMaintenanceReceiver).call{value: amountBNB.sub(amountBNBMarketing)}() (#483-485)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Parameter McDoge.setFeeReceivers(address,address)._marketingAmountReceiver (#510) is not in mixedCase
Parameter McDoge.setFeeReceivers(address,address)._projectMaintenanceReceiver (#511) is not in mixedCase
Parameter McDoge.setSwapBackSettings(bool,uint256,uint256)._enabled (#522) is not in mixedCase
Parameter McDoge.setSwapBackSettings(bool,uint256,uint256)._amount (#523) is not in mixedCase
Parameter McDoge.setSwapBackSettings(bool,uint256,uint256)._taxBurnAmount (#524) is not in mixedCase
Parameter McDoge.setFeesOn(bool)._feesOn (#545) is not in mixedCase
Parameter McDoge.setFees(uint256,uint256,uint256)._totalFee (#550) is not in mixedCase
Parameter McDoge.setFees(uint256,uint256,uint256)._totalSellFee (#551) is not in mixedCase
Parameter McDoge.setFees(uint256,uint256,uint256)._totalTransferFee (#552) is not in mixedCase
Variable McDoge.WBNB (#201) is not in mixedCase
Variable McDoge.DEAD (#202) is not in mixedCase
Variable McDoge.ZERO (#203) is not in mixedCase
Variable McDoge.BUSD (#204) is not in mixedCase
Constant McDoge._name (#206) is not in UPPER_CASE_WITH_UNDERSCORES
Constant McDoge._symbol (#207) is not in UPPER_CASE_WITH_UNDERSCORES
Constant McDoge._decimals (#208) is not in UPPER_CASE_WITH_UNDERSCORES
Variable McDoge._totalSupply (#210) is not in mixedCase
Variable McDoge._maxWalletToken (#213) is not in mixedCase
Variable McDoge._balances (#215) is not in mixedCase
Variable McDoge._allowances (#216) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

McDoge.slitherConstructorVariables() (#198-570) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#202)
McDoge.slitherConstructorVariables() (#198-570) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#203)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

McDoge.BUSD (#204) is never used in McDoge (#198-570)
Remove unused state variables.

Additional information: link

McDoge.BUSD (#204) should be constant
McDoge.DEAD (#202) should be constant
McDoge.WBNB (#201) should be constant
McDoge.ZERO (#203) should be constant
McDoge._totalSupply (#210) should be constant
McDoge.devAmount (#226) should be constant
McDoge.feeDenominator (#237) should be constant
McDoge.marketingAmount (#225) should be constant
McDoge.totalAmountDivider (#227) 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) (#136-138)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#143-145)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#164-168)
approve(address,uint256) should be declared external:
- McDoge.approve(address,uint256) (#328-336)
getCirculatingSupply() should be declared external:
- McDoge.getCirculatingSupply() (#535-537)
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.


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.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


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

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


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 McDoge