DiamondLock Token Logo

DML [DiamondLock] Token

ALERT: unclassified scam

About DML

Listings

Token 2 years
white paper

DiamondLock will be one of the pioneering projects in paying the highest rewards for token holders with the Anti-Whale/ Anti Dump Mechanism keep the chart going up,bringing absolute safety and initiative to token holders.

The change just come once 😈

Social

Laser Scorebeta Last Audit: 26 September 2022

report
Token seems to be a scam (type: unclassified scam).

Reentrancy in DMLToken._transferFrom(address,address,uint256) (#506-560):
External calls:
- swapBack() (#537)
- router.addLiquidity(address(this),busdToken,tokenAmount,busdAmount,0,0,liquidityReceiver,block.timestamp) (#611-620)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#601-608)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,receiver,block.timestamp) (#628-634)
- router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,receiver,block.timestamp) (#642-648)
External calls sending eth:
- swapBack() (#537)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#601-608)
State variables written after the call(s):
- _gonBalances[sender] = _gonBalances[sender].sub(gonAmount) (#540)
- _gonBalances[recipient] = _gonBalances[recipient].add(gonAmountReceived) (#543)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (#542)
- _gonBalances[address(this)] = _gonBalances[address(this)].add(feeAmount) (#682)
- _rebase() (#552)
- _gonsPerFragment = TOTAL_GONS.div(_totalSupply) (#750)
Apply the check-effects-interactions pattern.

Additional information: link


Contract ownership is not renounced (belongs to a wallet)


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

DMLToken.totalBuyFee (#357) is set pre-construction with a non-constant function or state variable:
- liquidityFee.add(treasuryFee).add(buyFeeDR)
DMLToken.totalSellFee (#358) is set pre-construction with a non-constant function or state variable:
- sellFeeTreasuryAdded.add(sellFeeDRAdded)
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

SafeMathInt.MAX_INT256 (#7) is never used in SafeMathInt (#5-39)
Remove unused state variables.

Additional information: link

DMLToken.manualSync() (#485-489) has external calls inside a loop: InterfaceLP(_markerPairs[i]).sync() (#487)
Favor pull over push strategy for external calls.

Additional information: link

DMLToken.setSwapBackSettings(bool,uint256,uint256) (#800-803) performs a multiplication on the result of a division:
-gonSwapThreshold = TOTAL_GONS.div(_denom).mul(_num) (#802)
DMLToken.swapBack() (#651-674) performs a multiplication on the result of a division:
-contractTokenBalance = _gonBalances[address(this)].div(_gonsPerFragment) (#655)
-amountToDR = contractTokenBalance.mul(buyFeeDR.mul(2).add(sellFeeDRAdded)).div(realTotalFee) (#658)
DMLToken.swapBack() (#651-674) performs a multiplication on the result of a division:
-contractTokenBalance = _gonBalances[address(this)].div(_gonsPerFragment) (#655)
-amountToLiquify = contractTokenBalance.mul(dynamicLiquidityFee.mul(2)).div(realTotalFee) (#657)
Consider ordering multiplication before division.

Additional information: link

DMLToken._addLiquidity(uint256,uint256) (#600-609) ignores return value by router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#601-608)
DMLToken.getLiquidityBacking(uint256) (#473-479) ignores return value by liquidityBalance.add(balanceOf(_markerPairs[i]).div(10 ** 9)) (#476)
DMLToken.constructor() (#395-422) ignores return value by IERC20(busdToken).approve(address(router),uint256(- 1)) (#417)
DMLToken._addLiquidityBusd(uint256,uint256) (#610-621) ignores return value by router.addLiquidity(address(this),busdToken,tokenAmount,busdAmount,0,0,liquidityReceiver,block.timestamp) (#611-620)
DMLToken.constructor() (#395-422) ignores return value by IERC20(busdToken).approve(address(this),uint256(- 1)) (#419)
DMLToken.constructor() (#395-422) ignores return value by IERC20(busdToken).approve(address(pairBusd),uint256(- 1)) (#418)
Ensure that all the return values of the function calls are used.

Additional information: link

DMLToken.setTargetLiquidity(uint256,uint256) (#795-798) should emit an event for:
- targetLiquidity = target (#796)
- targetLiquidityDenominator = accuracy (#797)
DMLToken.setMaxSellTransaction(uint256) (#849-852) should emit an event for:
- maxSellTransactionAmount = _maxTxn (#851)
DMLToken.setRebaseFrequency(uint256) (#825-828) should emit an event for:
- rebaseFrequency = _rebaseFrequency (#827)
DMLToken.setNextRebase(uint256) (#845-847) should emit an event for:
- nextRebase = _nextRebase (#846)
DMLToken.setSwapBackSettings(bool,uint256,uint256) (#800-803) should emit an event for:
- gonSwapThreshold = TOTAL_GONS.div(_denom).mul(_num) (#802)
DMLToken.setRewardYield(uint256,uint256) (#830-833) should emit an event for:
- rewardYield = _rewardYield (#831)
- rewardYieldDenominator = _rewardYieldDenominator (#832)
Emit an event for critical parameter changes.

Additional information: link

DMLToken.setFeeReceivers(address,address,address)._diamondRiskReceiver (#805) lacks a zero-check on :
- diamondRiskReceiver = _diamondRiskReceiver (#808)
DMLToken.clearStuckBalance(address)._receiver (#811) lacks a zero-check on :
- address(_receiver).transfer(balance) (#813)
DMLToken.setFeeReceivers(address,address,address)._liquidityReceiver (#805) lacks a zero-check on :
- liquidityReceiver = _liquidityReceiver (#806)
DMLToken.setFeeReceivers(address,address,address)._treasuryReceiver (#805) lacks a zero-check on :
- treasuryReceiver = _treasuryReceiver (#807)
Check that the address is not zero.

Additional information: link

Reentrancy in DMLToken._transferFrom(address,address,uint256) (#506-560):
External calls:
- swapBack() (#537)
- router.addLiquidity(address(this),busdToken,tokenAmount,busdAmount,0,0,liquidityReceiver,block.timestamp) (#611-620)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#601-608)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,receiver,block.timestamp) (#628-634)
- router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,receiver,block.timestamp) (#642-648)
External calls sending eth:
- swapBack() (#537)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#601-608)
State variables written after the call(s):
- _rebase() (#552)
- _totalSupply = _totalSupply.sub(uint256(- supplyDelta)) (#741)
- _totalSupply = _totalSupply.add(uint256(supplyDelta)) (#743)
- _totalSupply = MAX_SUPPLY (#747)
- _rebase() (#552)
- nextRebase = epoch + rebaseFrequency (#752)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in DMLToken._swapAndLiquify(uint256) (#573-598):
External calls:
- _swapTokensForBNB(half,address(this)) (#580)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,receiver,block.timestamp) (#628-634)
- _addLiquidity(otherHalf,newBalance) (#584)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#601-608)
External calls sending eth:
- _addLiquidity(otherHalf,newBalance) (#584)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#601-608)
Event emitted after the call(s):
- SwapAndLiquify(half,newBalance,otherHalf) (#586)
Reentrancy in DMLToken.swapBack() (#651-674):
External calls:
- _swapAndLiquify(amountToLiquify) (#662)
- router.addLiquidity(address(this),busdToken,tokenAmount,busdAmount,0,0,liquidityReceiver,block.timestamp) (#611-620)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#601-608)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,receiver,block.timestamp) (#628-634)
- router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,receiver,block.timestamp) (#642-648)
- _swapTokensForBusd(amountToDR,diamondRiskReceiver) (#666)
- router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,receiver,block.timestamp) (#642-648)
- _swapTokensForBNB(amountToTreasury,treasuryReceiver) (#670)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,receiver,block.timestamp) (#628-634)
External calls sending eth:
- _swapAndLiquify(amountToLiquify) (#662)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#601-608)
Event emitted after the call(s):
- SwapBack(contractTokenBalance,amountToLiquify,amountToDR,amountToTreasury) (#673)
Reentrancy in DMLToken._transferFrom(address,address,uint256) (#506-560):
External calls:
- swapBack() (#537)
- router.addLiquidity(address(this),busdToken,tokenAmount,busdAmount,0,0,liquidityReceiver,block.timestamp) (#611-620)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#601-608)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,receiver,block.timestamp) (#628-634)
- router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,receiver,block.timestamp) (#642-648)
External calls sending eth:
- swapBack() (#537)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#601-608)
Event emitted after the call(s):
- LogRebase(epoch,_totalSupply) (#736)
- _rebase() (#552)
- LogRebase(epoch,_totalSupply) (#754)
- _rebase() (#552)
- Transfer(sender,address(this),feeAmount.div(_gonsPerFragment)) (#683)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (#542)
- Transfer(sender,recipient,gonAmountReceived.div(_gonsPerFragment)) (#545-549)
Reentrancy in DMLToken._swapAndLiquify(uint256) (#573-598):
External calls:
- _swapTokensForBusd(half,address(this)) (#590)
- router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,receiver,block.timestamp) (#642-648)
- _addLiquidityBusd(otherHalf,newBalance_scope_1) (#594)
- router.addLiquidity(address(this),busdToken,tokenAmount,busdAmount,0,0,liquidityReceiver,block.timestamp) (#611-620)
Event emitted after the call(s):
- SwapAndLiquifyBusd(half,newBalance_scope_1,otherHalf) (#596)
Apply the check-effects-interactions pattern.

Additional information: link

DMLToken._transferFrom(address,address,uint256) (#506-560) uses timestamp for comparisons
Dangerous comparisons:
- blkTime > tradeData[sender].lastTradeTime + TwentyFourhours (#520)
- (blkTime < tradeData[sender].lastTradeTime + TwentyFourhours) && ((blkTime > tradeData[sender].lastTradeTime)) (#524)
- shouldRebase() && autoRebase (#551)
DMLToken.shouldRebase() (#446-448) uses timestamp for comparisons
Dangerous comparisons:
- nextRebase <= block.timestamp (#447)
DMLToken.manualRebase() (#758-767) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(nextRebase <= block.timestamp,Not in time) (#760)
Avoid relying on block.timestamp.

Additional information: link

DMLToken.setAutomatedMarketMakerPair(address,bool) (#769-788) has costly operations inside a loop:
- _markerPairs.pop() (#781)
Use a local variable to hold the loop computation result.

Additional information: link

SafeMathInt.div(int256,int256) (#17-21) is never used and should be removed
SafeMathInt.abs(int256) (#35-38) is never used and should be removed
SafeMathInt.mul(int256,int256) (#9-15) is never used and should be removed
SafeMathInt.sub(int256,int256) (#23-27) is never used and should be removed
SafeMath.mod(uint256,uint256) (#109-112) is never used and should be removed
SafeMathInt.add(int256,int256) (#29-33) is never used and should be removed
Remove unused functions.

Additional information: link

Parameter DMLToken.setFeeReceivers(address,address,address)._liquidityReceiver (#805) is not in mixedCase
Parameter DMLToken.clearStuckBalance(address)._receiver (#811) is not in mixedCase
Parameter DMLToken.setIsLiquidityInBnb(bool)._value (#840) is not in mixedCase
Function IDEXRouter.WETH() (#171) is not in mixedCase
Parameter DMLToken.setFeeReceivers(address,address,address)._treasuryReceiver (#805) is not in mixedCase
Parameter DMLToken.setAutomatedMarketMakerPair(address,bool)._pair (#769) is not in mixedCase
Parameter DMLToken.setFeeExempt(address,bool)._addr (#790) is not in mixedCase
Variable DMLToken.TwentyFourhours (#379) is not in mixedCase
Parameter DMLToken.setRewardYield(uint256,uint256)._rewardYield (#830) is not in mixedCase
Parameter DMLToken.setAutoRebase(bool)._autoRebase (#820) is not in mixedCase
Parameter DMLToken.setSwapBackSettings(bool,uint256,uint256)._num (#800) is not in mixedCase
Parameter DMLToken.setAutomatedMarketMakerPair(address,bool)._value (#769) is not in mixedCase
Parameter DMLToken.setRewardYield(uint256,uint256)._rewardYieldDenominator (#830) is not in mixedCase
Struct DMLToken.user (#373-377) is not in CapWords
Parameter DMLToken.setMaxSellTransaction(uint256)._maxTxn (#849) is not in mixedCase
Parameter DMLToken.setFeeReceivers(address,address,address)._diamondRiskReceiver (#805) is not in mixedCase
Parameter DMLToken.setFeesOnNormalTransfers(bool)._enabled (#835) is not in mixedCase
Parameter DMLToken.setSwapBackSettings(bool,uint256,uint256)._enabled (#800) is not in mixedCase
Parameter DMLToken.checkFeeExempt(address)._addr (#438) is not in mixedCase
Parameter DMLToken.setRebaseFrequency(uint256)._rebaseFrequency (#825) is not in mixedCase
Variable DMLToken._markerPairs (#331) is not in mixedCase
Variable DMLToken.ZERO (#342) is not in mixedCase
Variable DMLToken._isFeeExempt (#330) is not in mixedCase
Parameter DMLToken.setSwapBackSettings(bool,uint256,uint256)._denom (#800) is not in mixedCase
Parameter DMLToken.setNextRebase(uint256)._nextRebase (#845) is not in mixedCase
Variable DMLToken.DEAD (#341) is not in mixedCase
Parameter DMLToken.setFeeExempt(address,bool)._value (#790) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

DMLToken.slitherConstructorVariables() (#314-860) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#341)
DMLToken.slitherConstructorVariables() (#314-860) uses literals with too many digits:
- maxSellTransactionAmount = 2500000 * 10 ** 18 (#325)
DMLToken.slitherConstructorVariables() (#314-860) uses literals with too many digits:
- rewardYieldDenominator = 10000000000 (#324)
DMLToken.slitherConstructorVariables() (#314-860) uses literals with too many digits:
- rewardYield = 4900000 (#323)
DMLToken.setMaxSellTransaction(uint256) (#849-852) uses literals with too many digits:
- require(bool)(_maxTxn > 2500000 * 10 ** 18) (#850)
DMLToken.slitherConstructorVariables() (#314-860) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#342)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

DMLToken.TwentyFourhours (#379) should be constant
DMLToken.DEAD (#341) should be constant
DMLToken.txfee (#365) should be constant
DMLToken.liquidityFee (#352) should be constant
DMLToken.feeDenominator (#359) should be constant
DMLToken.treasuryFee (#353) should be constant
DMLToken.ZERO (#342) should be constant
DMLToken.buyFeeDR (#354) should be constant
DMLToken.sellFeeTreasuryAdded (#355) should be constant
DMLToken.busdToken (#347) should be constant
DMLToken.sellFeeDRAdded (#356) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

decimals() should be declared external:
- ERC20Detailed.decimals() (#163-165)
symbol() should be declared external:
- ERC20Detailed.symbol() (#159-161)
name() should be declared external:
- ERC20Detailed.name() (#155-157)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#259-262)
owner() should be declared external:
- Ownable.owner() (#250-252)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#264-266)
addWhitelisted(address) should be declared external:
- WhitelistedRole.addWhitelisted(address) (#291-293)
renounceWhitelisted() should be declared external:
- WhitelistedRole.renounceWhitelisted() (#299-301)
removeWhitelisted(address) should be declared external:
- WhitelistedRole.removeWhitelisted(address) (#295-297)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Attempt to swap token was unsuccessful. For some reason it is untradeable. If token is not in presale stage and is not traded outside PancakeSwap, then it's a scam

Additional information: link


Average 30d PancakeSwap volume is low.


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


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


Token is deployed only at one blockchain


Token has only one trading pair


Twitter account has relatively few followers


Last post in Twitter was more than 30 days ago


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


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 audit link on the website


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


Token is marked as scam (rug pull, honeypot, phishing, etc.)

Additional information: link


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death

Price for DML

News for DML