Dragon Slayer is a NFT gaming ecosystem aiming to build a vast Dragon Universe living on the Binance Smart Chain where millions of players all around the world participate in the blockchain-based NFT game in a simple, fast and fun way. Dragon Slayer creates a complete blockchain gaming ecosystem that connects game players, developers, communities and distributors.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract locking ether found:
Contract DragonSlayer (DragonSlayer.sol#14-225) has payable functions:
- DragonSlayer.receive() (DragonSlayer.sol#224)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
Additional information: link
DragonSlayer.setMinTokensBeforeSwap(uint256) (DragonSlayer.sol#76-79) should emit an event for:
- tokensForMarketing = _tokensForMarketing (DragonSlayer.sol#78)
DragonSlayer.setTokensForRewards(uint256) (DragonSlayer.sol#81-84) should emit an event for:
- tokensForRewards = _tokensForRewards (DragonSlayer.sol#83)
DragonSlayer.setTokensForAirdrop(uint256) (DragonSlayer.sol#86-89) should emit an event for:
- tokensForAirdrop = _tokensForAirdrop (DragonSlayer.sol#88)
DragonSlayer.antiBot(uint256) (DragonSlayer.sol#131-138) should emit an event for:
- antiBotAmount = amount (DragonSlayer.sol#135)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in DragonSlayer.constructor() (DragonSlayer.sol#50-63):
External calls:
- uniswapV2Pair = _uniswapV2Factory.createPair(address(this),_uniswapV2Router.WETH()) (DragonSlayer.sol#59)
State variables written after the call(s):
- _approve(address(this),address(uniswapV2Router),~ uint256(0)) (DragonSlayer.sol#62)
- _allowances[owner][spender] = amount (ERC20.sol#311)
- uniswapV2Router = _uniswapV2Router (DragonSlayer.sol#60)
Reentrancy in DragonSlayer.swapTokensForEth(uint256) (DragonSlayer.sol#147-165):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,addressForMarketing,block.timestamp) (DragonSlayer.sol#156-162)
State variables written after the call(s):
- tokensForMarketing = tokensForMarketing.sub(tokenAmount) (DragonSlayer.sol#164)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in DragonSlayer.constructor() (DragonSlayer.sol#50-63):
External calls:
- uniswapV2Pair = _uniswapV2Factory.createPair(address(this),_uniswapV2Router.WETH()) (DragonSlayer.sol#59)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#312)
- _approve(address(this),address(uniswapV2Router),~ uint256(0)) (DragonSlayer.sol#62)
Apply the check-effects-interactions pattern.
Additional information: link
DragonSlayer._transfer(address,address,uint256) (DragonSlayer.sol#193-221) uses timestamp for comparisons
Dangerous comparisons:
- antiBotTime > block.timestamp && amount > antiBotAmount && botAddresses[sender] (DragonSlayer.sol#199-201)
Avoid relying on block.timestamp.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.5.0', '>=0.6.2', '^0.8.0', '^0.8.2']
- ^0.8.0 (Context.sol#3)
- ^0.8.2 (DragonSlayer.sol#2)
- ^0.8.2 (DragonSlayerInterface.sol#2)
- ^0.8.0 (ERC20.sol#3)
- ^0.8.0 (ERC20Burnable.sol#3)
- ^0.8.0 (IERC20.sol#3)
- ^0.8.0 (IERC20Metadata.sol#3)
- >=0.5.0 (IUniswapV2Factory.sol#1)
- >=0.6.2 (IUniswapV2Router01.sol#1)
- >=0.6.2 (IUniswapV2Router02.sol#1)
- ^0.8.2 (ManagerInterface.sol#2)
- ^0.8.0 (Ownable.sol#3)
- ^0.8.0 (SafeMath.sol#3)
Use one Solidity version.
Additional information: link
Context._msgData() (Context.sol#20-22) is never used and should be removed
SafeMath.div(uint256,uint256,string) (SafeMath.sol#190-199) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#150-152) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#216-225) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (SafeMath.sol#167-176) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (SafeMath.sol#21-27) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (SafeMath.sol#63-68) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (SafeMath.sol#75-80) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (SafeMath.sol#46-56) is never used and should be removed
SafeMath.trySub(uint256,uint256) (SafeMath.sol#34-39) is never used and should be removed
Remove unused functions.
Additional information: link
DragonSlayer.tokensForMarketing (DragonSlayer.sol#31) is set pre-construction with a non-constant function or state variable:
- MAX_TOKENS_FOR_MARKETING
DragonSlayer.tokensForRewards (DragonSlayer.sol#32) is set pre-construction with a non-constant function or state variable:
- MAX_TOKENS_FOR_REWARDS
DragonSlayer.tokensForAirdrop (DragonSlayer.sol#33) is set pre-construction with a non-constant function or state variable:
- MAX_TOKENS_FOR_AIRDROP
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 (Context.sol#3) allows old versions
Pragma version^0.8.2 (DragonSlayer.sol#2) allows old versions
Pragma version^0.8.2 (DragonSlayerInterface.sol#2) allows old versions
Pragma version^0.8.0 (ERC20.sol#3) allows old versions
Pragma version^0.8.0 (ERC20Burnable.sol#3) allows old versions
Pragma version^0.8.0 (IERC20.sol#3) allows old versions
Pragma version^0.8.0 (IERC20Metadata.sol#3) allows old versions
Pragma version>=0.5.0 (IUniswapV2Factory.sol#1) allows old versions
Pragma version>=0.6.2 (IUniswapV2Router01.sol#1) allows old versions
Pragma version>=0.6.2 (IUniswapV2Router02.sol#1) allows old versions
Pragma version^0.8.2 (ManagerInterface.sol#2) allows old versions
Pragma version^0.8.0 (Ownable.sol#3) allows old versions
Pragma version^0.8.0 (SafeMath.sol#3) 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
Parameter DragonSlayer.setManager(address)._manager (DragonSlayer.sol#72) is not in mixedCase
Parameter DragonSlayer.setMinTokensBeforeSwap(uint256)._tokensForMarketing (DragonSlayer.sol#76) is not in mixedCase
Parameter DragonSlayer.setTokensForRewards(uint256)._tokensForRewards (DragonSlayer.sol#81) is not in mixedCase
Parameter DragonSlayer.setTokensForAirdrop(uint256)._tokensForAirdrop (DragonSlayer.sol#86) is not in mixedCase
Parameter DragonSlayer.setBotAddresses(address[])._addresses (DragonSlayer.sol#114) is not in mixedCase
Parameter DragonSlayer.addBotAddress(address)._address (DragonSlayer.sol#122) is not in mixedCase
Parameter DragonSlayer.setAddressForMarketing(address)._address (DragonSlayer.sol#184) is not in mixedCase
Variable DragonSlayer.MAX_TOTAL_SUPPLY (DragonSlayer.sol#17) is not in mixedCase
Variable DragonSlayer.MAX_TOKENS_FOR_REWARDS (DragonSlayer.sol#18) is not in mixedCase
Variable DragonSlayer.MAX_TOKENS_FOR_MARKETING (DragonSlayer.sol#19) is not in mixedCase
Variable DragonSlayer.MAX_TOKENS_FOR_AIRDROP (DragonSlayer.sol#20) is not in mixedCase
Function IUniswapV2Router01.WETH() (IUniswapV2Router01.sol#5) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (IUniswapV2Router01.sol#10) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (IUniswapV2Router01.sol#11)
Prevent variables from having similar names.
Additional information: link
DragonSlayer.slitherConstructorVariables() (DragonSlayer.sol#14-225) uses literals with too many digits:
- MAX_TOTAL_SUPPLY = 1000000000 * 10 ** 9 (DragonSlayer.sol#17)
DragonSlayer.slitherConstructorVariables() (DragonSlayer.sol#14-225) uses literals with too many digits:
- MAX_TOKENS_FOR_REWARDS = 200000000 * 10 ** 9 (DragonSlayer.sol#18)
DragonSlayer.slitherConstructorVariables() (DragonSlayer.sol#14-225) uses literals with too many digits:
- MAX_TOKENS_FOR_MARKETING = 30000000 * 10 ** 9 (DragonSlayer.sol#19)
DragonSlayer.slitherConstructorVariables() (DragonSlayer.sol#14-225) uses literals with too many digits:
- MAX_TOKENS_FOR_AIRDROP = 20000000 * 10 ** 9 (DragonSlayer.sol#20)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DragonSlayer.MAX_TOKENS_FOR_AIRDROP (DragonSlayer.sol#20) should be constant
DragonSlayer.MAX_TOKENS_FOR_MARKETING (DragonSlayer.sol#19) should be constant
DragonSlayer.MAX_TOKENS_FOR_REWARDS (DragonSlayer.sol#18) should be constant
DragonSlayer.MAX_TOTAL_SUPPLY (DragonSlayer.sol#17) should be constant
DragonSlayer.antiBotDuration (DragonSlayer.sol#37) should be constant
DragonSlayer.buyFeeRate (DragonSlayer.sol#43) should be constant
DragonSlayer.sellFeeRate (DragonSlayer.sol#42) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
decimals() should be declared external:
- DragonSlayer.decimals() (DragonSlayer.sol#65-67)
- ERC20.decimals() (ERC20.sol#85-87)
setManager(address) should be declared external:
- DragonSlayer.setManager(address) (DragonSlayer.sol#72-74)
setMinTokensBeforeSwap(uint256) should be declared external:
- DragonSlayer.setMinTokensBeforeSwap(uint256) (DragonSlayer.sol#76-79)
setTokensForRewards(uint256) should be declared external:
- DragonSlayer.setTokensForRewards(uint256) (DragonSlayer.sol#81-84)
setTokensForAirdrop(uint256) should be declared external:
- DragonSlayer.setTokensForAirdrop(uint256) (DragonSlayer.sol#86-89)
addAirdropWhitelist(address[],uint256[]) should be declared external:
- DragonSlayer.addAirdropWhitelist(address[],uint256[]) (DragonSlayer.sol#91-100)
claimAirdrop() should be declared external:
- DragonSlayer.claimAirdrop() (DragonSlayer.sol#105-112)
sweepTokenForMarketing(uint256) should be declared external:
- DragonSlayer.sweepTokenForMarketing(uint256) (DragonSlayer.sol#140-145)
name() should be declared external:
- ERC20.name() (ERC20.sol#60-62)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#68-70)
totalSupply() should be declared external:
- ERC20.totalSupply() (ERC20.sol#92-94)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#111-114)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#130-133)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#148-162)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#176-179)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#195-203)
burn(uint256) should be declared external:
- ERC20Burnable.burn(uint256) (ERC20Burnable.sol#19-21)
burnFrom(address,uint256) should be declared external:
- ERC20Burnable.burnFrom(address,uint256) (ERC20Burnable.sol#34-41)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#53-55)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#61-64)
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 number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Average 30d PancakeSwap volume is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
Token is deployed only at one blockchain
Contract has 5% buy tax and 6% sell tax.
Taxes are low and contract ownership is renounced.
Unable to crawl data from the website
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token contract audit
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Unable to find Twitter link on the website
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
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Last post in Twitter was more than 180 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account