Mars Doge King Token Logo

$MDK [Mars Doge King] Token

ALERT: honeypot scam

About $MDK

Listings

Not Found
Token 3 months

Description

Social

Laser Scorebeta Last Audit: 14 February 2022

report
Code:

Third Party Audit: untrusted audit

MarsDogeKing.swapBack() (#600-642) sends eth to arbitrary user
Dangerous calls:
- distributor.deposit{value: amountBNBReflection}() (#626)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#627)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#632-639)
MarsDogeKing.buyTokens(uint256,address) (#676-687) sends eth to arbitrary user
Dangerous calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#681-686)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in MarsDogeKing._transferFrom(address,address,uint256) (#525-547):
External calls:
- swapBack() (#529)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#610-616)
- distributor.deposit{value: amountBNBReflection}() (#626)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#632-639)
- triggerAutoBuyback() (#530)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#681-686)
External calls sending eth:
- swapBack() (#529)
- distributor.deposit{value: amountBNBReflection}() (#626)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#627)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#632-639)
- triggerAutoBuyback() (#530)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#681-686)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#534)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#538)
- amountReceived = takeFee(sender,recipient,amount) (#536)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#587)
- triggerAutoBuyback() (#530)
- inSwap = true (#462)
- inSwap = false (#462)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#352-363) ignores return value by BUSD.transfer(shareholder,amount) (#358)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


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


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.

Contract ticker ($MDK) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.


Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.

DividendDistributor.shouldDistribute(address) (#347-350) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#348-349)
MarsDogeKing.getMultipliedFee() (#573-582) uses timestamp for comparisons
Dangerous comparisons:
- launchedAtTimestamp + 86400 > block.timestamp (#574)
- buybackMultiplierTriggeredAt.add(buybackMultiplierLength) > block.timestamp (#576)
MarsDogeKing.shouldSwapBack() (#593-598) uses timestamp for comparisons
Dangerous comparisons:
- msg.sender != pair && ! inSwap && swapEnabled && _balances[address(this)] >= swapThreshold (#594-597)
MarsDogeKing.isOverLiquified(uint256,uint256) (#793-795) uses timestamp for comparisons
Dangerous comparisons:
- getLiquidityBacking(accuracy) > target (#794)
Avoid relying on block.timestamp.

Additional information: link

MarsDogeKing.onlyBuybacker() (#499) compares to a boolean constant:
-require(bool,string)(buyBacker[msg.sender] == true,) (#499)
Remove the equality to the boolean constant.

Additional information: link

Reentrancy in DividendDistributor.distributeDividend(address) (#352-363):
External calls:
- BUSD.transfer(shareholder,amount) (#358)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#360)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#361)
Reentrancy in DividendDistributor.process(uint256) (#321-345):
External calls:
- distributeDividend(shareholders[currentIndex]) (#337)
- BUSD.transfer(shareholder,amount) (#358)
State variables written after the call(s):
- currentIndex ++ (#342)
Reentrancy in DividendDistributor.setShare(address,uint256) (#285-299):
External calls:
- distributeDividend(shareholder) (#287)
- BUSD.transfer(shareholder,amount) (#358)
State variables written after the call(s):
- shares[shareholder].amount = amount (#297)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#298)
Apply the check-effects-interactions pattern.

Additional information: link

MarsDogeKing.BuybackAuto(address[],bool).i (#761) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.

Additional information: link

MarsDogeKing.swapBack() (#600-642) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#632-639)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#280-283) should emit an event for:
- minPeriod = _minPeriod (#281)
- minDistribution = _minDistribution (#282)
MarsDogeKing.setAutoBuybackSettings(bool,uint256,uint256,uint256) (#689-696) should emit an event for:
- autoBuybackCap = _cap (#691)
- autoBuybackAmount = _amount (#693)
MarsDogeKing.setBuybackMultiplierSettings(uint256,uint256,uint256) (#698-703) should emit an event for:
- buybackMultiplierNumerator = numerator (#700)
- buybackMultiplierDenominator = denominator (#701)
- buybackMultiplierLength = length (#702)
MarsDogeKing.setTxLimit(uint256) (#715-718) should emit an event for:
- _maxTxAmount = amount (#717)
MarsDogeKing.setFees(uint256,uint256,uint256,uint256,uint256) (#738-746) should emit an event for:
- liquidityFee = _liquidityFee (#739)
- reflectionFee = _reflectionFee (#741)
- marketingFee = _marketingFee (#742)
- totalFee = _liquidityFee.add(_buybackFee).add(_reflectionFee).add(_marketingFee) (#743)
- feeDenominator = _feeDenominator (#744)
MarsDogeKing.setSwapBackSettings(bool,uint256) (#766-769) should emit an event for:
- swapThreshold = _amount (#768)
MarsDogeKing.setTargetLiquidity(uint256,uint256) (#771-774) should emit an event for:
- targetLiquidity = _target (#772)
- targetLiquidityDenominator = _denominator (#773)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#159) lacks a zero-check on :
- owner = adr (#160)
MarsDogeKing.constructor(address,address,address)._wbnb (#465) lacks a zero-check on :
- WBNB = _wbnb (#468)
- pair = IDEXFactory(router.factory()).createPair(_wbnb,address(this)) (#469)
MarsDogeKing.constructor(address,address,address)._marketingAddress (#465) lacks a zero-check on :
- marketingFeeReceiver = _marketingAddress (#483)
MarsDogeKing.setFeeReceivers(address,address)._autoLiquidityReceiver (#748) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#749)
MarsDogeKing.setFeeReceivers(address,address)._marketingFeeReceiver (#748) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#750)
Check that the address is not zero.

Additional information: link

DividendDistributor.distributeDividend(address) (#352-363) has external calls inside a loop: BUSD.transfer(shareholder,amount) (#358)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in MarsDogeKing.constructor(address,address,address) (#464-489):
External calls:
- pair = IDEXFactory(router.factory()).createPair(_wbnb,address(this)) (#469)
State variables written after the call(s):
- WBNB = router.WETH() (#471)
- _allowances[address(this)][address(router)] = _totalSupply (#470)
- approve(_dexRouter,_totalSupply) (#485)
- _allowances[msg.sender][spender] = amount (#504)
- approve(address(pair),_totalSupply) (#486)
- _allowances[msg.sender][spender] = amount (#504)
- _balances[msg.sender] = _totalSupply (#487)
- autoLiquidityReceiver = msg.sender (#482)
- buyBacker[msg.sender] = true (#480)
- distributor = new DividendDistributor(_dexRouter) (#472)
- distributorAddress = address(distributor) (#473)
- isDividendExempt[pair] = true (#477)
- isDividendExempt[address(this)] = true (#478)
- isDividendExempt[DEAD] = true (#479)
- isFeeExempt[msg.sender] = true (#475)
- isTxLimitExempt[msg.sender] = true (#476)
- marketingFeeReceiver = _marketingAddress (#483)
Reentrancy in DividendDistributor.deposit() (#301-319):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#308-313)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#318)
- totalDividends = totalDividends.add(amount) (#317)
Reentrancy in DividendDistributor.distributeDividend(address) (#352-363):
External calls:
- BUSD.transfer(shareholder,amount) (#358)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#359)
Reentrancy in DividendDistributor.setShare(address,uint256) (#285-299):
External calls:
- distributeDividend(shareholder) (#287)
- BUSD.transfer(shareholder,amount) (#358)
State variables written after the call(s):
- addShareholder(shareholder) (#291)
- shareholderIndexes[shareholder] = shareholders.length (#387)
- removeShareholder(shareholder) (#293)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#393)
- addShareholder(shareholder) (#291)
- shareholders.push(shareholder) (#388)
- removeShareholder(shareholder) (#293)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#392)
- shareholders.pop() (#394)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#296)
Reentrancy in MarsDogeKing.triggerAutoBuyback() (#664-669):
External calls:
- buyTokens(autoBuybackAmount,DEAD) (#665)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#681-686)
State variables written after the call(s):
- autoBuybackAccumulator = autoBuybackAccumulator.add(autoBuybackAmount) (#667)
- autoBuybackBlockLast = block.number (#666)
- autoBuybackEnabled = false (#668)
Reentrancy in MarsDogeKing.triggerZeusBuyback(uint256,bool) (#652-658):
External calls:
- buyTokens(amount,DEAD) (#653)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#681-686)
State variables written after the call(s):
- buybackMultiplierTriggeredAt = block.timestamp (#655)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in MarsDogeKing._transferFrom(address,address,uint256) (#525-547):
External calls:
- swapBack() (#529)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#610-616)
- distributor.deposit{value: amountBNBReflection}() (#626)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#632-639)
- triggerAutoBuyback() (#530)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#681-686)
- distributor.setShare(sender,_balances[sender]) (#540)
- distributor.setShare(recipient,_balances[recipient]) (#541)
- distributor.process(distributorGas) (#543)
External calls sending eth:
- swapBack() (#529)
- distributor.deposit{value: amountBNBReflection}() (#626)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#627)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#632-639)
- triggerAutoBuyback() (#530)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#681-686)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#545)
Reentrancy in MarsDogeKing._transferFrom(address,address,uint256) (#525-547):
External calls:
- swapBack() (#529)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#610-616)
- distributor.deposit{value: amountBNBReflection}() (#626)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#632-639)
- triggerAutoBuyback() (#530)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#681-686)
External calls sending eth:
- swapBack() (#529)
- distributor.deposit{value: amountBNBReflection}() (#626)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#627)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#632-639)
- triggerAutoBuyback() (#530)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#681-686)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#588)
- amountReceived = takeFee(sender,recipient,amount) (#536)
Reentrancy in MarsDogeKing.constructor(address,address,address) (#464-489):
External calls:
- pair = IDEXFactory(router.factory()).createPair(_wbnb,address(this)) (#469)
Event emitted after the call(s):
- Approval(msg.sender,spender,amount) (#505)
- approve(address(pair),_totalSupply) (#486)
- Approval(msg.sender,spender,amount) (#505)
- approve(_dexRouter,_totalSupply) (#485)
- Transfer(address(0),msg.sender,_totalSupply) (#488)
Reentrancy in MarsDogeKing.swapBack() (#600-642):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#610-616)
- distributor.deposit{value: amountBNBReflection}() (#626)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#632-639)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#626)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#627)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#632-639)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#640)
Reentrancy in MarsDogeKing.triggerZeusBuyback(uint256,bool) (#652-658):
External calls:
- buyTokens(amount,DEAD) (#653)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#681-686)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (#656)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.process(uint256) (#321-345) has costly operations inside a loop:
- currentIndex = 0 (#333)
DividendDistributor.distributeDividend(address) (#352-363) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#357)
DividendDistributor.process(uint256) (#321-345) has costly operations inside a loop:
- currentIndex ++ (#342)
Use a local variable to hold the loop computation result.

Additional information: link

MarsDogeKing.launched() (#705-707) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#75-80) is never used and should be removed
SafeMath.mod(uint256,uint256) (#64-66) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#82-87) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#7-13) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#34-39) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#41-46) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#22-32) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#15-20) is never used and should be removed
Remove unused functions.

Additional information: link

MarsDogeKing._maxTxAmount (#414) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 100
MarsDogeKing.swapThreshold (#460) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 2000
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 (#2) allows old versions
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

Function IDEXRouter.WETH() (#177) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#280) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#280) is not in mixedCase
Variable DividendDistributor._token (#233) is not in mixedCase
Variable DividendDistributor.BUSD (#241) is not in mixedCase
Variable DividendDistributor.WBNB (#242) is not in mixedCase
Parameter MarsDogeKing.setAutoBuybackSettings(bool,uint256,uint256,uint256)._enabled (#689) is not in mixedCase
Parameter MarsDogeKing.setAutoBuybackSettings(bool,uint256,uint256,uint256)._cap (#689) is not in mixedCase
Parameter MarsDogeKing.setAutoBuybackSettings(bool,uint256,uint256,uint256)._amount (#689) is not in mixedCase
Parameter MarsDogeKing.setAutoBuybackSettings(bool,uint256,uint256,uint256)._period (#689) is not in mixedCase
Parameter MarsDogeKing.setFees(uint256,uint256,uint256,uint256,uint256)._liquidityFee (#738) is not in mixedCase
Parameter MarsDogeKing.setFees(uint256,uint256,uint256,uint256,uint256)._buybackFee (#738) is not in mixedCase
Parameter MarsDogeKing.setFees(uint256,uint256,uint256,uint256,uint256)._reflectionFee (#738) is not in mixedCase
Parameter MarsDogeKing.setFees(uint256,uint256,uint256,uint256,uint256)._marketingFee (#738) is not in mixedCase
Parameter MarsDogeKing.setFees(uint256,uint256,uint256,uint256,uint256)._feeDenominator (#738) is not in mixedCase
Parameter MarsDogeKing.setFeeReceivers(address,address)._autoLiquidityReceiver (#748) is not in mixedCase
Parameter MarsDogeKing.setFeeReceivers(address,address)._marketingFeeReceiver (#748) is not in mixedCase
Function MarsDogeKing.BuybackAuto(address[],bool) (#759-765) is not in mixedCase
Parameter MarsDogeKing.BuybackAuto(address[],bool)._enabled (#759) is not in mixedCase
Parameter MarsDogeKing.setSwapBackSettings(bool,uint256)._enabled (#766) is not in mixedCase
Parameter MarsDogeKing.setSwapBackSettings(bool,uint256)._amount (#766) is not in mixedCase
Parameter MarsDogeKing.setTargetLiquidity(uint256,uint256)._target (#771) is not in mixedCase
Parameter MarsDogeKing.setTargetLiquidity(uint256,uint256)._denominator (#771) is not in mixedCase
Parameter MarsDogeKing.setDistributionCriteria(uint256,uint256)._minPeriod (#776) is not in mixedCase
Parameter MarsDogeKing.setDistributionCriteria(uint256,uint256)._minDistribution (#776) is not in mixedCase
Variable MarsDogeKing.BUSD (#402) is not in mixedCase
Variable MarsDogeKing.WBNB (#403) is not in mixedCase
Variable MarsDogeKing.DEAD (#404) is not in mixedCase
Variable MarsDogeKing.ZERO (#405) is not in mixedCase
Variable MarsDogeKing.DEAD_NON_CHECKSUM (#406) is not in mixedCase
Constant MarsDogeKing._name (#408) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MarsDogeKing._symbol (#409) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MarsDogeKing._decimals (#410) is not in UPPER_CASE_WITH_UNDERSCORES
Variable MarsDogeKing._totalSupply (#412) is not in mixedCase
Variable MarsDogeKing._maxTxAmount (#414) is not in mixedCase
Variable MarsDogeKing._balances (#415) is not in mixedCase
Variable MarsDogeKing._allowances (#416) is not in mixedCase
Variable MarsDogeKing.BuybackAutos (#417) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Reentrancy in MarsDogeKing._transferFrom(address,address,uint256) (#525-547):
External calls:
- swapBack() (#529)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#627)
External calls sending eth:
- swapBack() (#529)
- distributor.deposit{value: amountBNBReflection}() (#626)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#627)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#632-639)
- triggerAutoBuyback() (#530)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#681-686)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#534)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#538)
- amountReceived = takeFee(sender,recipient,amount) (#536)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#587)
- triggerAutoBuyback() (#530)
- autoBuybackAccumulator = autoBuybackAccumulator.add(autoBuybackAmount) (#667)
- triggerAutoBuyback() (#530)
- autoBuybackBlockLast = block.number (#666)
- triggerAutoBuyback() (#530)
- autoBuybackEnabled = false (#668)
- triggerAutoBuyback() (#530)
- inSwap = true (#462)
- inSwap = false (#462)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#588)
- amountReceived = takeFee(sender,recipient,amount) (#536)
- Transfer(sender,recipient,amountReceived) (#545)
Reentrancy in MarsDogeKing.swapBack() (#600-642):
External calls:
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#627)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#626)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#627)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#632-639)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#640)
Apply the check-effects-interactions pattern.

Additional information: link

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

Additional information: link

MarsDogeKing.setTxLimit(uint256) (#715-718) uses literals with too many digits:
- require(bool)(amount >= _totalSupply / 100000) (#716)
MarsDogeKing.slitherConstructorVariables() (#398-800) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#404)
MarsDogeKing.slitherConstructorVariables() (#398-800) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#405)
MarsDogeKing.slitherConstructorVariables() (#398-800) uses literals with too many digits:
- DEAD_NON_CHECKSUM = 0x000000000000000000000000000000000000dEaD (#406)
MarsDogeKing.slitherConstructorVariables() (#398-800) uses literals with too many digits:
- distributorGas = 500000 (#457)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

MarsDogeKing.BUSD (#402) is never used in MarsDogeKing (#398-800)
MarsDogeKing.DEAD_NON_CHECKSUM (#406) is never used in MarsDogeKing (#398-800)
Remove unused state variables.

Additional information: link

DividendDistributor.WBNB (#242) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#255) should be constant
MarsDogeKing.BUSD (#402) should be constant
MarsDogeKing.DEAD (#404) should be constant
MarsDogeKing.DEAD_NON_CHECKSUM (#406) should be constant
MarsDogeKing.ZERO (#405) should be constant
MarsDogeKing._totalSupply (#412) 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) (#131-133)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#138-140)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#159-163)
launch() should be declared external:
- MarsDogeKing.launch() (#709-713)
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.


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


Token is deployed only at one blockchain


Token has only one trading pair

Contract has 9% buy tax and 7% sell tax.
Taxes are low and contract ownership is renounced.


Twitter account link seems to be invalid


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account

Search:


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 on CoinHunt

Additional information: link


Unable to find token/project description on the website or on BscScan, CoinHunt, CoinGecko, CoinMarketCap


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

Anti-Scam Checks

Price for $MDK