Dragons Watch Heroes is a Spin off to the original Dragon Watch , Japanese - Style role playing game for IOS and Android made by a great team at The Secret Police in 2018
The Game spanned 14 woeld regions and contains 854 unique Heroes split into many collectable sets. it's design is naturally suited to an NFT collecting game
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in DragonWatchHeroes._transfer(address,address,uint256) (#629-659):
External calls:
- swapTokens(contractTokenBalance) (#647)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#681-687)
External calls sending eth:
- swapTokens(contractTokenBalance) (#647)
- recipient.transfer(amount) (#903)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#658)
- _liquidityFee = _previousLiquidityFee (#857)
- _liquidityFee = 0 (#852)
- _tokenTransfer(from,to,amount,takeFee) (#658)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#828)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#744)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#753)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#764)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#774)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#745)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#755)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#765)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#776)
- _tokenTransfer(from,to,amount,takeFee) (#658)
- _rTotal = _rTotal.sub(rFee) (#783)
- _tokenTransfer(from,to,amount,takeFee) (#658)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#830)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#763)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#773)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#754)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#775)
Apply the check-effects-interactions pattern.
Additional information: link
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.
DragonWatchHeroes.swapTokens(uint256) (#661-670) performs a multiplication on the result of a division:
-transferToAddressETH(burnAddress,transferredBalance.div(_liquidityFee).mul(burnFee)) (#668)
Consider ordering multiplication before division.
Additional information: link
DragonWatchHeroes.addLiquidity(uint256,uint256) (#709-722) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#714-721)
Ensure that all the return values of the function calls are used.
Additional information: link
DragonWatchHeroes.allowance(address,address).owner (#534) shadows:
- Ownable.owner() (#171-173) (function)
DragonWatchHeroes._approve(address,address,uint256).owner (#621) shadows:
- Ownable.owner() (#171-173) (function)
Rename the local variables that shadow another component.
Additional information: link
DragonWatchHeroes.setTaxFeePercent(uint256) (#872-874) should emit an event for:
- _taxFee = taxFee (#873)
DragonWatchHeroes.setLiquidityFeePercent(uint256) (#876-878) should emit an event for:
- _liquidityFee = liquidityFee (#877)
DragonWatchHeroes.setMaxTxAmount(uint256) (#880-882) should emit an event for:
- _maxTxAmount = maxTxAmount (#881)
DragonWatchHeroes.setNumTokensSellToBurnAddress(uint256) (#889-891) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#890)
Emit an event for critical parameter changes.
Additional information: link
DragonWatchHeroes.setburnAddress(address)._burnAddress (#893) lacks a zero-check on :
- burnAddress = address(_burnAddress) (#894)
Check that the address is not zero.
Additional information: link
Reentrancy in DragonWatchHeroes._transfer(address,address,uint256) (#629-659):
External calls:
- swapTokens(contractTokenBalance) (#647)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#681-687)
External calls sending eth:
- swapTokens(contractTokenBalance) (#647)
- recipient.transfer(amount) (#903)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#658)
- _previousLiquidityFee = _liquidityFee (#849)
- _tokenTransfer(from,to,amount,takeFee) (#658)
- _previousTaxFee = _taxFee (#848)
- _tokenTransfer(from,to,amount,takeFee) (#658)
- _tFeeTotal = _tFeeTotal.add(tFee) (#784)
- _tokenTransfer(from,to,amount,takeFee) (#658)
- _taxFee = _previousTaxFee (#856)
- _taxFee = 0 (#851)
Reentrancy in DragonWatchHeroes.constructor() (#492-506):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#496-497)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#502)
- _isExcludedFromFee[address(this)] = true (#503)
- uniswapV2Router = _uniswapV2Router (#499)
Reentrancy in DragonWatchHeroes.transferFrom(address,address,uint256) (#543-547):
External calls:
- _transfer(sender,recipient,amount) (#544)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#681-687)
External calls sending eth:
- _transfer(sender,recipient,amount) (#544)
- recipient.transfer(amount) (#903)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#545)
- _allowances[owner][spender] = amount (#625)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in DragonWatchHeroes._transfer(address,address,uint256) (#629-659):
External calls:
- swapTokens(contractTokenBalance) (#647)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#681-687)
External calls sending eth:
- swapTokens(contractTokenBalance) (#647)
- recipient.transfer(amount) (#903)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#748)
- _tokenTransfer(from,to,amount,takeFee) (#658)
- Transfer(sender,recipient,tTransferAmount) (#768)
- _tokenTransfer(from,to,amount,takeFee) (#658)
- Transfer(sender,recipient,tTransferAmount) (#758)
- _tokenTransfer(from,to,amount,takeFee) (#658)
- Transfer(sender,recipient,tTransferAmount) (#779)
- _tokenTransfer(from,to,amount,takeFee) (#658)
Reentrancy in DragonWatchHeroes.constructor() (#492-506):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#496-497)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#505)
Reentrancy in DragonWatchHeroes.swapETHForTokens(uint256) (#692-707):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#699-704)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#706)
Reentrancy in DragonWatchHeroes.swapTokensForEth(uint256) (#672-690):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#681-687)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#689)
Reentrancy in DragonWatchHeroes.transferFrom(address,address,uint256) (#543-547):
External calls:
- _transfer(sender,recipient,amount) (#544)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#681-687)
External calls sending eth:
- _transfer(sender,recipient,amount) (#544)
- recipient.transfer(amount) (#903)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#626)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#545)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#206-211) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#208)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#101-110) uses assembly
- INLINE ASM (#108)
Address._functionCallWithValue(address,bytes,uint256,string) (#138-155) uses assembly
- INLINE ASM (#147-150)
Do not use evm assembly.
Additional information: link
DragonWatchHeroes.includeInReward(address) (#608-619) has costly operations inside a loop:
- _excluded.pop() (#615)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#138-155) is never used and should be removed
Address.functionCall(address,bytes) (#121-123) is never used and should be removed
Address.functionCall(address,bytes,string) (#125-127) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#129-131) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#133-136) is never used and should be removed
Address.isContract(address) (#101-110) is never used and should be removed
Address.sendValue(address,uint256) (#112-118) is never used and should be removed
Context._msgData() (#24-27) is never used and should be removed
DragonWatchHeroes.addLiquidity(uint256,uint256) (#709-722) is never used and should be removed
DragonWatchHeroes.swapETHForTokens(uint256) (#692-707) is never used and should be removed
SafeMath.mod(uint256,uint256) (#89-91) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#93-96) is never used and should be removed
Remove unused functions.
Additional information: link
DragonWatchHeroes._rTotal (#442) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
DragonWatchHeroes._previousTaxFee (#451) is set pre-construction with a non-constant function or state variable:
- _taxFee
DragonWatchHeroes._previousLiquidityFee (#454) 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 Address.sendValue(address,uint256) (#112-118):
- (success) = recipient.call{value: amount}() (#116)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#138-155):
- (success,returndata) = target.call{value: weiValue}(data) (#141)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#250) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#251) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#267) is not in mixedCase
Function IUniswapV2Router01.WETH() (#288) is not in mixedCase
Parameter DragonWatchHeroes.calculateTaxFee(uint256)._amount (#833) is not in mixedCase
Parameter DragonWatchHeroes.calculateLiquidityFee(uint256)._amount (#839) is not in mixedCase
Parameter DragonWatchHeroes.setNumTokensSellToBurnAddress(uint256)._minimumTokensBeforeSwap (#889) is not in mixedCase
Parameter DragonWatchHeroes.setburnAddress(address)._burnAddress (#893) is not in mixedCase
Parameter DragonWatchHeroes.setSwapAndLiquifyEnabled(bool)._enabled (#897) is not in mixedCase
Variable DragonWatchHeroes._taxFee (#450) is not in mixedCase
Variable DragonWatchHeroes._liquidityFee (#453) is not in mixedCase
Variable DragonWatchHeroes._maxTxAmount (#458) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#25)" inContext (#19-28)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in DragonWatchHeroes._transfer(address,address,uint256) (#629-659):
External calls:
- swapTokens(contractTokenBalance) (#647)
- recipient.transfer(amount) (#903)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#658)
- _liquidityFee = _previousLiquidityFee (#857)
- _liquidityFee = 0 (#852)
- _tokenTransfer(from,to,amount,takeFee) (#658)
- _previousLiquidityFee = _liquidityFee (#849)
- _tokenTransfer(from,to,amount,takeFee) (#658)
- _previousTaxFee = _taxFee (#848)
- _tokenTransfer(from,to,amount,takeFee) (#658)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#828)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#744)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#753)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#764)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#774)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#745)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#755)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#765)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#776)
- _tokenTransfer(from,to,amount,takeFee) (#658)
- _rTotal = _rTotal.sub(rFee) (#783)
- _tokenTransfer(from,to,amount,takeFee) (#658)
- _tFeeTotal = _tFeeTotal.add(tFee) (#784)
- _tokenTransfer(from,to,amount,takeFee) (#658)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#830)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#763)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#773)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#754)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#775)
- _tokenTransfer(from,to,amount,takeFee) (#658)
- _taxFee = _previousTaxFee (#856)
- _taxFee = 0 (#851)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#748)
- _tokenTransfer(from,to,amount,takeFee) (#658)
- Transfer(sender,recipient,tTransferAmount) (#768)
- _tokenTransfer(from,to,amount,takeFee) (#658)
- Transfer(sender,recipient,tTransferAmount) (#758)
- _tokenTransfer(from,to,amount,takeFee) (#658)
- Transfer(sender,recipient,tTransferAmount) (#779)
- _tokenTransfer(from,to,amount,takeFee) (#658)
Reentrancy in DragonWatchHeroes.transferFrom(address,address,uint256) (#543-547):
External calls:
- _transfer(sender,recipient,amount) (#544)
- recipient.transfer(amount) (#903)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#545)
- _allowances[owner][spender] = amount (#625)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#626)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#545)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#293) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#294)
Variable DragonWatchHeroes._transferStandard(address,address,uint256).rTransferAmount (#743) is too similar to DragonWatchHeroes._transferStandard(address,address,uint256).tTransferAmount (#743)
Variable DragonWatchHeroes._transferToExcluded(address,address,uint256).rTransferAmount (#752) is too similar to DragonWatchHeroes._getTValues(uint256).tTransferAmount (#796)
Variable DragonWatchHeroes._getValues(uint256).rTransferAmount (#789) is too similar to DragonWatchHeroes._getTValues(uint256).tTransferAmount (#796)
Variable DragonWatchHeroes._transferFromExcluded(address,address,uint256).rTransferAmount (#762) is too similar to DragonWatchHeroes._getTValues(uint256).tTransferAmount (#796)
Variable DragonWatchHeroes.reflectionFromToken(uint256,bool).rTransferAmount (#587) is too similar to DragonWatchHeroes._transferToExcluded(address,address,uint256).tTransferAmount (#752)
Variable DragonWatchHeroes._transferFromExcluded(address,address,uint256).rTransferAmount (#762) is too similar to DragonWatchHeroes._getValues(uint256).tTransferAmount (#788)
Variable DragonWatchHeroes._transferStandard(address,address,uint256).rTransferAmount (#743) is too similar to DragonWatchHeroes._transferToExcluded(address,address,uint256).tTransferAmount (#752)
Variable DragonWatchHeroes._transferFromExcluded(address,address,uint256).rTransferAmount (#762) is too similar to DragonWatchHeroes._transferStandard(address,address,uint256).tTransferAmount (#743)
Variable DragonWatchHeroes._transferToExcluded(address,address,uint256).rTransferAmount (#752) is too similar to DragonWatchHeroes._transferToExcluded(address,address,uint256).tTransferAmount (#752)
Variable DragonWatchHeroes._transferFromExcluded(address,address,uint256).rTransferAmount (#762) is too similar to DragonWatchHeroes._transferBothExcluded(address,address,uint256).tTransferAmount (#772)
Variable DragonWatchHeroes._getValues(uint256).rTransferAmount (#789) is too similar to DragonWatchHeroes._transferToExcluded(address,address,uint256).tTransferAmount (#752)
Variable DragonWatchHeroes._transferStandard(address,address,uint256).rTransferAmount (#743) is too similar to DragonWatchHeroes._getTValues(uint256).tTransferAmount (#796)
Variable DragonWatchHeroes.reflectionFromToken(uint256,bool).rTransferAmount (#587) is too similar to DragonWatchHeroes._getTValues(uint256).tTransferAmount (#796)
Variable DragonWatchHeroes._transferFromExcluded(address,address,uint256).rTransferAmount (#762) is too similar to DragonWatchHeroes._transferToExcluded(address,address,uint256).tTransferAmount (#752)
Variable DragonWatchHeroes._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#804) is too similar to DragonWatchHeroes._getTValues(uint256).tTransferAmount (#796)
Variable DragonWatchHeroes._transferFromExcluded(address,address,uint256).rTransferAmount (#762) is too similar to DragonWatchHeroes._transferFromExcluded(address,address,uint256).tTransferAmount (#762)
Variable DragonWatchHeroes._getValues(uint256).rTransferAmount (#789) is too similar to DragonWatchHeroes._transferFromExcluded(address,address,uint256).tTransferAmount (#762)
Variable DragonWatchHeroes._transferToExcluded(address,address,uint256).rTransferAmount (#752) is too similar to DragonWatchHeroes._transferFromExcluded(address,address,uint256).tTransferAmount (#762)
Variable DragonWatchHeroes._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#804) is too similar to DragonWatchHeroes._transferStandard(address,address,uint256).tTransferAmount (#743)
Variable DragonWatchHeroes._transferBothExcluded(address,address,uint256).rTransferAmount (#772) is too similar to DragonWatchHeroes._transferToExcluded(address,address,uint256).tTransferAmount (#752)
Variable DragonWatchHeroes._transferBothExcluded(address,address,uint256).rTransferAmount (#772) is too similar to DragonWatchHeroes._transferBothExcluded(address,address,uint256).tTransferAmount (#772)
Variable DragonWatchHeroes._transferToExcluded(address,address,uint256).rTransferAmount (#752) is too similar to DragonWatchHeroes._transferStandard(address,address,uint256).tTransferAmount (#743)
Variable DragonWatchHeroes.reflectionFromToken(uint256,bool).rTransferAmount (#587) is too similar to DragonWatchHeroes._transferBothExcluded(address,address,uint256).tTransferAmount (#772)
Variable DragonWatchHeroes._getValues(uint256).rTransferAmount (#789) is too similar to DragonWatchHeroes._transferStandard(address,address,uint256).tTransferAmount (#743)
Variable DragonWatchHeroes.reflectionFromToken(uint256,bool).rTransferAmount (#587) is too similar to DragonWatchHeroes._transferFromExcluded(address,address,uint256).tTransferAmount (#762)
Variable DragonWatchHeroes._transferBothExcluded(address,address,uint256).rTransferAmount (#772) is too similar to DragonWatchHeroes._transferFromExcluded(address,address,uint256).tTransferAmount (#762)
Variable DragonWatchHeroes._transferStandard(address,address,uint256).rTransferAmount (#743) is too similar to DragonWatchHeroes._getValues(uint256).tTransferAmount (#788)
Variable DragonWatchHeroes._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#804) is too similar to DragonWatchHeroes._getValues(uint256).tTransferAmount (#788)
Variable DragonWatchHeroes.reflectionFromToken(uint256,bool).rTransferAmount (#587) is too similar to DragonWatchHeroes._transferStandard(address,address,uint256).tTransferAmount (#743)
Variable DragonWatchHeroes._transferBothExcluded(address,address,uint256).rTransferAmount (#772) is too similar to DragonWatchHeroes._transferStandard(address,address,uint256).tTransferAmount (#743)
Variable DragonWatchHeroes._transferToExcluded(address,address,uint256).rTransferAmount (#752) is too similar to DragonWatchHeroes._getValues(uint256).tTransferAmount (#788)
Variable DragonWatchHeroes._getValues(uint256).rTransferAmount (#789) is too similar to DragonWatchHeroes._getValues(uint256).tTransferAmount (#788)
Variable DragonWatchHeroes._transferStandard(address,address,uint256).rTransferAmount (#743) is too similar to DragonWatchHeroes._transferBothExcluded(address,address,uint256).tTransferAmount (#772)
Variable DragonWatchHeroes._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#804) is too similar to DragonWatchHeroes._transferToExcluded(address,address,uint256).tTransferAmount (#752)
Variable DragonWatchHeroes._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#804) is too similar to DragonWatchHeroes._transferBothExcluded(address,address,uint256).tTransferAmount (#772)
Variable DragonWatchHeroes._transferStandard(address,address,uint256).rTransferAmount (#743) is too similar to DragonWatchHeroes._transferFromExcluded(address,address,uint256).tTransferAmount (#762)
Variable DragonWatchHeroes._transferBothExcluded(address,address,uint256).rTransferAmount (#772) is too similar to DragonWatchHeroes._getTValues(uint256).tTransferAmount (#796)
Variable DragonWatchHeroes._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#804) is too similar to DragonWatchHeroes._transferFromExcluded(address,address,uint256).tTransferAmount (#762)
Variable DragonWatchHeroes._transferToExcluded(address,address,uint256).rTransferAmount (#752) is too similar to DragonWatchHeroes._transferBothExcluded(address,address,uint256).tTransferAmount (#772)
Variable DragonWatchHeroes._transferBothExcluded(address,address,uint256).rTransferAmount (#772) is too similar to DragonWatchHeroes._getValues(uint256).tTransferAmount (#788)
Variable DragonWatchHeroes._getValues(uint256).rTransferAmount (#789) is too similar to DragonWatchHeroes._transferBothExcluded(address,address,uint256).tTransferAmount (#772)
Variable DragonWatchHeroes.reflectionFromToken(uint256,bool).rTransferAmount (#587) is too similar to DragonWatchHeroes._getValues(uint256).tTransferAmount (#788)
Prevent variables from having similar names.
Additional information: link
DragonWatchHeroes.slitherConstructorVariables() (#425-909) uses literals with too many digits:
- burnAddress = address(0x000000000000000000000000000000000000dEaD) (#429)
DragonWatchHeroes.slitherConstructorVariables() (#425-909) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#430)
DragonWatchHeroes.slitherConstructorVariables() (#425-909) uses literals with too many digits:
- _tTotal = 1000000000 * 10 ** 6 * 10 ** 9 (#441)
DragonWatchHeroes.slitherConstructorVariables() (#425-909) uses literals with too many digits:
- _maxTxAmount = 1000000000 * 10 ** 6 * 10 ** 9 (#458)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DragonWatchHeroes._decimals (#447) should be constant
DragonWatchHeroes._name (#445) should be constant
DragonWatchHeroes._symbol (#446) should be constant
DragonWatchHeroes._tTotal (#441) should be constant
DragonWatchHeroes.burnFee (#456) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#180-183)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#185-189)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#191-193)
getTime() should be declared external:
- Ownable.getTime() (#195-197)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#199-204)
unlock() should be declared external:
- Ownable.unlock() (#206-211)
name() should be declared external:
- DragonWatchHeroes.name() (#508-510)
symbol() should be declared external:
- DragonWatchHeroes.symbol() (#512-514)
decimals() should be declared external:
- DragonWatchHeroes.decimals() (#516-518)
totalSupply() should be declared external:
- DragonWatchHeroes.totalSupply() (#520-522)
transfer(address,uint256) should be declared external:
- DragonWatchHeroes.transfer(address,uint256) (#529-532)
allowance(address,address) should be declared external:
- DragonWatchHeroes.allowance(address,address) (#534-536)
approve(address,uint256) should be declared external:
- DragonWatchHeroes.approve(address,uint256) (#538-541)
transferFrom(address,address,uint256) should be declared external:
- DragonWatchHeroes.transferFrom(address,address,uint256) (#543-547)
increaseAllowance(address,uint256) should be declared external:
- DragonWatchHeroes.increaseAllowance(address,uint256) (#549-552)
decreaseAllowance(address,uint256) should be declared external:
- DragonWatchHeroes.decreaseAllowance(address,uint256) (#554-557)
isExcludedFromReward(address) should be declared external:
- DragonWatchHeroes.isExcludedFromReward(address) (#559-561)
totalFees() should be declared external:
- DragonWatchHeroes.totalFees() (#563-565)
minimumTokensBeforeSwapAmount() should be declared external:
- DragonWatchHeroes.minimumTokensBeforeSwapAmount() (#567-569)
deliver(uint256) should be declared external:
- DragonWatchHeroes.deliver(uint256) (#571-578)
reflectionFromToken(uint256,bool) should be declared external:
- DragonWatchHeroes.reflectionFromToken(uint256,bool) (#581-590)
excludeFromReward(address) should be declared external:
- DragonWatchHeroes.excludeFromReward(address) (#598-606)
isExcludedFromFee(address) should be declared external:
- DragonWatchHeroes.isExcludedFromFee(address) (#860-862)
excludeFromFee(address) should be declared external:
- DragonWatchHeroes.excludeFromFee(address) (#864-866)
includeInFee(address) should be declared external:
- DragonWatchHeroes.includeInFee(address) (#868-870)
setSwapAndLiquifyEnabled(bool) should be declared external:
- DragonWatchHeroes.setSwapAndLiquifyEnabled(bool) (#897-900)
Use the external attribute for functions never called from the contract.
Additional information: link
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 that token and website are owned by the same team (no listings + unable to find contract on website)
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 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 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
Telegram account has relatively few subscribers
Twitter account has relatively few followers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts