DRACHENLORD Token Logo

DRAG [DRACHENLORD] Token

About DRAG

Listings

Token 2 years
CoinMarketCap 2 years
white paper

First Play -2- earn NFT dragon game which rewards players in BnB and $drag

Social

Laser Scorebeta Last Audit: 6 August 2022

report
Token has too many issues. Scam probability is high.

Reentrancy in DRACHENLORDToken._transfer(address,address,uint256) (DrachenLord.sol#226-284):
External calls:
- swapAndCharge(tokenBalance) (DrachenLord.sol#267)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (DrachenLord.sol#326-333)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (DrachenLord.sol#312-318)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (DrachenLord.sol#297)
External calls sending eth:
- swapAndCharge(tokenBalance) (DrachenLord.sol#267)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (DrachenLord.sol#326-333)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (DrachenLord.sol#297)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (DrachenLord.sol#283)
- _BNBFee = _previousBNBFee (DrachenLord.sol#210)
- _BNBFee = 0 (DrachenLord.sol#205)
- _tokenTransfer(from,to,amount,takeFee) (DrachenLord.sol#283)
- _balances[sender] = _balances[sender].sub(amount) (DrachenLord.sol#341)
- _balances[recipient] = _balances[recipient].add(tTransferAmount) (DrachenLord.sol#342)
- _balances[address(this)] = _balances[address(this)].add(amount.sub(tTransferAmount)) (DrachenLord.sol#343)
- _tokenTransfer(from,to,amount,takeFee) (DrachenLord.sol#283)
- _liquidityFee = _previousLiquidityFee (DrachenLord.sol#211)
- _liquidityFee = 0 (DrachenLord.sol#206)
- lastSwapTime = block.timestamp (DrachenLord.sol#268)
Apply the check-effects-interactions pattern.

Additional information: link

DRACHENLORDToken.swapAndCharge(uint256) (DrachenLord.sol#286-300) uses a dangerous strict equality:
- require(bool,string)(success == true,Transfer failed.) (DrachenLord.sol#298)
Don't use strict equality to determine if an account has enough Ether or tokens.

Additional information: link


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


Contract ownership is not renounced (belongs to a wallet)

Redundant expression "this (Context.sol#19)" inContext (Context.sol#13-23)
Remove redundant statements if they congest code but offer no value.

Additional information: link

DRACHENLORDToken._decimals (DrachenLord.sol#26) should be constant
DRACHENLORDToken._name (DrachenLord.sol#24) should be constant
DRACHENLORDToken._symbol (DrachenLord.sol#25) should be constant
DRACHENLORDToken._tTotal (DrachenLord.sol#22) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

DRACHENLORDToken.swapAndCharge(uint256) (DrachenLord.sol#286-300) performs a multiplication on the result of a division:
-liquidBalance = tokenBalance.mul(_liquidityFee).div(_liquidityFee + _BNBFee).div(2) (DrachenLord.sol#289)
-bnbForLiquid = newBalance.mul(liquidBalance).div(tokenBalance) (DrachenLord.sol#294)
Consider ordering multiplication before division.

Additional information: link

DRACHENLORDToken.addLiquidity(uint256,uint256) (DrachenLord.sol#321-334) ignores return value by pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (DrachenLord.sol#326-333)
Ensure that all the return values of the function calls are used.

Additional information: link

DRACHENLORDToken.allowance(address,address).owner (DrachenLord.sol#117) shadows:
- Ownable.owner() (Ownable.sol#18-20) (function)
DRACHENLORDToken._approve(address,address,uint256).owner (DrachenLord.sol#218) shadows:
- Ownable.owner() (Ownable.sol#18-20) (function)
Rename the local variables that shadow another component.

Additional information: link

Reentrancy in DRACHENLORDToken._transfer(address,address,uint256) (DrachenLord.sol#226-284):
External calls:
- swapAndCharge(tokenBalance) (DrachenLord.sol#267)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (DrachenLord.sol#326-333)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (DrachenLord.sol#312-318)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (DrachenLord.sol#297)
External calls sending eth:
- swapAndCharge(tokenBalance) (DrachenLord.sol#267)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (DrachenLord.sol#326-333)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (DrachenLord.sol#297)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (DrachenLord.sol#283)
- _previousBNBFee = _BNBFee (DrachenLord.sol#202)
- _tokenTransfer(from,to,amount,takeFee) (DrachenLord.sol#283)
- _previousLiquidityFee = _liquidityFee (DrachenLord.sol#203)
Reentrancy in DRACHENLORDToken.constructor() (DrachenLord.sol#69-86):
External calls:
- pancakeswapV2Pair = IPancakeswapV2Factory(_pancakeswapV2Router.factory()).createPair(address(this),_pancakeswapV2Router.WETH()) (DrachenLord.sol#75-76)
State variables written after the call(s):
- _balances[_msgSender()] = _tTotal (DrachenLord.sol#84)
- _isExcludedFromFee[_msgSender()] = true (DrachenLord.sol#82)
- _isExcludedFromFee[address(this)] = true (DrachenLord.sol#83)
- pancakeswapV2Router = _pancakeswapV2Router (DrachenLord.sol#79)
Reentrancy in DRACHENLORDToken.swapAndCharge(uint256) (DrachenLord.sol#286-300):
External calls:
- swapTokensForEth(tokenBalance) (DrachenLord.sol#291)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (DrachenLord.sol#312-318)
- addLiquidity(liquidBalance,bnbForLiquid) (DrachenLord.sol#295)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (DrachenLord.sol#326-333)
External calls sending eth:
- addLiquidity(liquidBalance,bnbForLiquid) (DrachenLord.sol#295)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (DrachenLord.sol#326-333)
State variables written after the call(s):
- addLiquidity(liquidBalance,bnbForLiquid) (DrachenLord.sol#295)
- _allowances[owner][spender] = amount (DrachenLord.sol#222)
Reentrancy in DRACHENLORDToken.transferFrom(address,address,uint256) (DrachenLord.sol#126-130):
External calls:
- _transfer(sender,recipient,amount) (DrachenLord.sol#127)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (DrachenLord.sol#326-333)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (DrachenLord.sol#312-318)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (DrachenLord.sol#297)
External calls sending eth:
- _transfer(sender,recipient,amount) (DrachenLord.sol#127)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (DrachenLord.sol#326-333)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (DrachenLord.sol#297)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (DrachenLord.sol#128)
- _allowances[owner][spender] = amount (DrachenLord.sol#222)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in DRACHENLORDToken._transfer(address,address,uint256) (DrachenLord.sol#226-284):
External calls:
- swapAndCharge(tokenBalance) (DrachenLord.sol#267)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (DrachenLord.sol#326-333)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (DrachenLord.sol#312-318)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (DrachenLord.sol#297)
External calls sending eth:
- swapAndCharge(tokenBalance) (DrachenLord.sol#267)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (DrachenLord.sol#326-333)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (DrachenLord.sol#297)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (DrachenLord.sol#344)
- _tokenTransfer(from,to,amount,takeFee) (DrachenLord.sol#283)
Reentrancy in DRACHENLORDToken.constructor() (DrachenLord.sol#69-86):
External calls:
- pancakeswapV2Pair = IPancakeswapV2Factory(_pancakeswapV2Router.factory()).createPair(address(this),_pancakeswapV2Router.WETH()) (DrachenLord.sol#75-76)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (DrachenLord.sol#85)
Reentrancy in DRACHENLORDToken.swapAndCharge(uint256) (DrachenLord.sol#286-300):
External calls:
- swapTokensForEth(tokenBalance) (DrachenLord.sol#291)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (DrachenLord.sol#312-318)
- addLiquidity(liquidBalance,bnbForLiquid) (DrachenLord.sol#295)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (DrachenLord.sol#326-333)
External calls sending eth:
- addLiquidity(liquidBalance,bnbForLiquid) (DrachenLord.sol#295)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (DrachenLord.sol#326-333)
Event emitted after the call(s):
- Approval(owner,spender,amount) (DrachenLord.sol#223)
- addLiquidity(liquidBalance,bnbForLiquid) (DrachenLord.sol#295)
Reentrancy in DRACHENLORDToken.swapAndCharge(uint256) (DrachenLord.sol#286-300):
External calls:
- swapTokensForEth(tokenBalance) (DrachenLord.sol#291)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (DrachenLord.sol#312-318)
- addLiquidity(liquidBalance,bnbForLiquid) (DrachenLord.sol#295)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (DrachenLord.sol#326-333)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (DrachenLord.sol#297)
External calls sending eth:
- addLiquidity(liquidBalance,bnbForLiquid) (DrachenLord.sol#295)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (DrachenLord.sol#326-333)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (DrachenLord.sol#297)
Event emitted after the call(s):
- SwapAndCharged(tokenBalance,liquidBalance,address(this).balance,bnbForLiquid) (DrachenLord.sol#299)
Reentrancy in DRACHENLORDToken.transferFrom(address,address,uint256) (DrachenLord.sol#126-130):
External calls:
- _transfer(sender,recipient,amount) (DrachenLord.sol#127)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (DrachenLord.sol#326-333)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (DrachenLord.sol#312-318)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (DrachenLord.sol#297)
External calls sending eth:
- _transfer(sender,recipient,amount) (DrachenLord.sol#127)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (DrachenLord.sol#326-333)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (DrachenLord.sol#297)
Event emitted after the call(s):
- Approval(owner,spender,amount) (DrachenLord.sol#223)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (DrachenLord.sol#128)
Apply the check-effects-interactions pattern.

Additional information: link

DRACHENLORDToken._transfer(address,address,uint256) (DrachenLord.sol#226-284) uses timestamp for comparisons
Dangerous comparisons:
- overMinTokenBalance && ! inSwapAndLiquify && from != pancakeswapV2Pair && swapAndLiquifyEnabled && block.timestamp >= lastSwapTime + swapCoolDownTime (DrachenLord.sol#260-264)
Ownable.unlock() (Ownable.sol#49-54) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 0 days) (Ownable.sol#51)
Avoid relying on block.timestamp.

Additional information: link

DRACHENLORDToken._transfer(address,address,uint256) (DrachenLord.sol#226-284) compares to a boolean constant:
-require(bool,string)(presaleEnded == true,You are not allowed to add liquidity before presale is ended) (DrachenLord.sol#235)
DRACHENLORDToken.swapAndCharge(uint256) (DrachenLord.sol#286-300) compares to a boolean constant:
-require(bool,string)(success == true,Transfer failed.) (DrachenLord.sol#298)
Remove the equality to the boolean constant.

Additional information: link

DRACHENLORDToken._previousBNBFee (DrachenLord.sol#29) is set pre-construction with a non-constant function or state variable:
- _BNBFee
DRACHENLORDToken._previousLiquidityFee (DrachenLord.sol#32) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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 DRACHENLORDToken.swapAndCharge(uint256) (DrachenLord.sol#286-300):
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (DrachenLord.sol#297)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Parameter DRACHENLORDToken.setSwapAndLiquifyEnabled(bool)._enabled (DrachenLord.sol#185) is not in mixedCase
Variable DRACHENLORDToken._BNBFee (DrachenLord.sol#28) is not in mixedCase
Variable DRACHENLORDToken._liquidityFee (DrachenLord.sol#31) is not in mixedCase
Variable DRACHENLORDToken._maxTxAmount (DrachenLord.sol#42) is not in mixedCase
Function IPancakeswapV2Router01.WETH() (IPancakeswapV2Router01.sol#7) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IPancakeswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (IPancakeswapV2Router01.sol#12) is too similar to IPancakeswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (IPancakeswapV2Router01.sol#13)
Prevent variables from having similar names.

Additional information: link

DRACHENLORDToken.MAX (DrachenLord.sol#23) is never used in DRACHENLORDToken (DrachenLord.sol#12-350)
DRACHENLORDToken.lastTxTimes (DrachenLord.sol#47) is never used in DRACHENLORDToken (DrachenLord.sol#12-350)
Remove unused state variables.

Additional information: link

transfer(address,uint256) should be declared external:
- DRACHENLORDToken.transfer(address,uint256) (DrachenLord.sol#112-115)
allowance(address,address) should be declared external:
- DRACHENLORDToken.allowance(address,address) (DrachenLord.sol#117-119)
approve(address,uint256) should be declared external:
- DRACHENLORDToken.approve(address,uint256) (DrachenLord.sol#121-124)
transferFrom(address,address,uint256) should be declared external:
- DRACHENLORDToken.transferFrom(address,address,uint256) (DrachenLord.sol#126-130)
increaseAllowance(address,uint256) should be declared external:
- DRACHENLORDToken.increaseAllowance(address,uint256) (DrachenLord.sol#132-135)
decreaseAllowance(address,uint256) should be declared external:
- DRACHENLORDToken.decreaseAllowance(address,uint256) (DrachenLord.sol#137-140)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#27-30)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#32-36)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (Ownable.sol#38-40)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (Ownable.sol#42-47)
unlock() should be declared external:
- Ownable.unlock() (Ownable.sol#49-54)
Use the external attribute for functions never called from the contract.

Additional information: link

Context._msgData() (Context.sol#18-21) is never used and should be removed
SafeMath.div(uint256,uint256,string) (SafeMath.sol#189-194) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#149-151) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#211-216) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (SafeMath.sol#20-26) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (SafeMath.sol#62-67) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (SafeMath.sol#74-79) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (SafeMath.sol#45-55) is never used and should be removed
SafeMath.trySub(uint256,uint256) (SafeMath.sol#33-38) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version^0.8.0 (Context.sol#2) allows old versions
Pragma version^0.8.0 (DrachenLord.sol#3) allows old versions
Pragma version^0.8.0 (IBEP20.sol#3) allows old versions
Pragma version^0.8.0 (IPancakeswapV2Factory.sol#3) allows old versions
Pragma version^0.8.0 (IPancakeswapV2Router01.sol#3) allows old versions
Pragma version^0.8.0 (IPancakeswapV2Router02.sol#3) allows old versions
Pragma version^0.8.0 (Ownable.sol#2) allows old versions
Pragma version^0.8.0 (SafeMath.sol#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

Holders:


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

Contract has 12% buy tax and 11% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.


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.


Token is deployed only at one blockchain


Token has only one trading pair


Telegram account link seems to be invalid


Last post in Twitter was more than 180 days ago


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Token was delisted from CoinGecko

Additional information: link


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap

Additional information: link


Token is not listed at Mobula.Finance

Additional information: link


Unable to verify token contract address on the website


Unable to find whitepaper link on the website


Unable to find token on CoinHunt

Additional information: link


Unable to find code repository for the project


Token has no active CoinGecko listing / rank


Token has a considerable age, but social accounts / website are missing or have few users


Token has a considerable age, but average PancakeSwap 30d trading volume is low


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 DRAG

News for DRAG