DragonBall Coin(DBC) is based on the game "DragonBall Online", it will be the first large-scale MMORPG blockchain game which use 3D engine on BSC.
DragonBall Coin(DBC) is developed to provide an exciting player experience, where you can choose to become a Human, Namekian or Majin and start carrying out missions depending on the occupations chosen by the player. You can also participate in the “TenKaichiBudokai” to win more $DBC and &USDT rewards.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Different versions of Solidity is used:
- Version used: ['0.6.12', '^0.6.2']
- 0.6.12 (#25)
- 0.6.12 (#41)
- ^0.6.2 (#123)
- 0.6.12 (#178)
- 0.6.12 (#324)
- ^0.6.2 (#343)
- 0.6.12 (#395)
- 0.6.12 (#805)
Use one Solidity version.
Additional information: link
Reentrancy in DragonBall._transfer(address,address,uint256) (#1059-1103):
External calls:
- swapTokensForUSDC(swapTokensAtAmount.mul(marketingFee).div(totalFees)) (#1094)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,market,block.timestamp) (#959-965)
- swapTokensForUSDCReward(swapTokensAtAmount.mul(rewardFee).div(totalFees)) (#1095)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,reward,block.timestamp) (#978-984)
State variables written after the call(s):
- super._transfer(from,to,amount) (#1100)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#724)
- _balances[recipient] = _balances[recipient].add(amount) (#725)
- swappingBool = false (#1096)
Apply the check-effects-interactions pattern.
Additional information: link
DragonBall.addLiquidity(uint256,uint256) (#1042-1057) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,own,block.timestamp) (#1048-1055)
Ensure that all the return values of the function calls are used.
Additional information: link
ERC20.allowance(address,address).owner (#614) shadows:
- Ownable.owner() (#143-145) (function)
ERC20._approve(address,address,uint256).owner (#776) shadows:
- Ownable.owner() (#143-145) (function)
Rename the local variables that shadow another component.
Additional information: link
DragonBall.setLunchTime(uint256) (#869-871) should emit an event for:
- lunchTime = amount (#870)
DragonBall.USDCRewardsFee(uint256,uint256) (#900-903) should emit an event for:
- txone = value (#901)
- txtwo = valuea (#902)
DragonBall.setswapTokensAtAmount(uint256) (#913-915) should emit an event for:
- swapTokensAtAmount = amount (#914)
DragonBall.setLiquiditFee(uint256) (#1008-1011) should emit an event for:
- rewardFee = value (#1009)
- totalFees = rewardFee.add(marketingFee) (#1010)
DragonBall.setMarketingFee(uint256) (#1013-1017) should emit an event for:
- marketingFee = value (#1014)
- totalFees = rewardFee.add(marketingFee) (#1015)
Emit an event for critical parameter changes.
Additional information: link
DragonBall.setmarket(address).adr (#872) lacks a zero-check on :
- market = adr (#873)
Check that the address is not zero.
Additional information: link
Context._msgData() (#33-36) is never used and should be removed
DragonBall.addLiquidity(uint256,uint256) (#1042-1057) is never used and should be removed
DragonBall.launched() (#934-936) is never used and should be removed
DragonBall.swapAndLiquify(uint256) (#1019-1040) is never used and should be removed
DragonBall.swapTokensForEth(uint256) (#987-1006) is never used and should be removed
SafeMath.mod(uint256,uint256) (#301-303) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#317-320) is never used and should be removed
Remove unused functions.
Additional information: link
DragonBall.totalFees (#827) is set pre-construction with a non-constant function or state variable:
- rewardFee.add(marketingFee)
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.6.2 (#123) allows old versions
Pragma version^0.6.2 (#343) 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
Reentrancy in DragonBall._transfer(address,address,uint256) (#1059-1103):
External calls:
- swapTokensForUSDC(swapTokensAtAmount.mul(marketingFee).div(totalFees)) (#1094)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,market,block.timestamp) (#959-965)
- swapTokensForUSDCReward(swapTokensAtAmount.mul(rewardFee).div(totalFees)) (#1095)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,reward,block.timestamp) (#978-984)
State variables written after the call(s):
- swapTokensForUSDCReward(swapTokensAtAmount.mul(rewardFee).div(totalFees)) (#1095)
- _allowances[owner][spender] = amount (#783)
Reentrancy in DragonBall.constructor() (#842-862):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#847-848)
State variables written after the call(s):
- _balances[owner()] = (5 * 10 ** 6) * (10 ** 9) (#860)
- _isExcludedFromFees[owner()] = true (#853)
- _isExcludedFromFees[market] = true (#854)
- _totalSupply = (5 * 10 ** 6) * (10 ** 9) (#859)
- isbig[market] = true (#855)
- isbig[_uniswapV2Pair] = true (#856)
- isbig[address(this)] = true (#857)
- isbig[deadWallet] = true (#858)
- own = owner() (#852)
- uniswapV2Pair = _uniswapV2Pair (#851)
- uniswapV2Router = _uniswapV2Router (#850)
Reentrancy in DragonBall.swapAndLiquify(uint256) (#1019-1040):
External calls:
- swapTokensForEth(half) (#1031)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#998-1004)
- addLiquidity(otherHalf,newBalance) (#1037)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,own,block.timestamp) (#1048-1055)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1037)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,own,block.timestamp) (#1048-1055)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1037)
- _allowances[owner][spender] = amount (#783)
Apply the check-effects-interactions pattern.
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#360) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#361) is not in mixedCase
Function IUniswapV2Pair.MUM_LIQUIDITY() (#377) is not in mixedCase
Function IUniswapV2Router01.WETH() (#399) is not in mixedCase
Variable ERC20._balances (#539) is not in mixedCase
Variable ERC20._totalSupply (#543) is not in mixedCase
Function DragonBall.USDCRewardsFee(uint256,uint256) (#900-903) is not in mixedCase
Variable DragonBall.USDT (#820) is not in mixedCase
Variable DragonBall._isExcludedFromFees (#836) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#34)" inContext (#28-37)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#404) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#405)
Prevent variables from having similar names.
Additional information: link
DragonBall.slitherConstructorVariables() (#809-1105) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#815)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DragonBall.USDT (#820) should be constant
DragonBall.deadWallet (#815) should be constant
DragonBall.reward (#818) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
Reentrancy in DragonBall._transfer(address,address,uint256) (#1059-1103):
External calls:
- swapTokensForUSDC(swapTokensAtAmount.mul(marketingFee).div(totalFees)) (#1094)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,market,block.timestamp) (#959-965)
- swapTokensForUSDCReward(swapTokensAtAmount.mul(rewardFee).div(totalFees)) (#1095)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,reward,block.timestamp) (#978-984)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#784)
- swapTokensForUSDCReward(swapTokensAtAmount.mul(rewardFee).div(totalFees)) (#1095)
- Transfer(sender,recipient,amount) (#726)
- super._transfer(from,to,amount) (#1100)
Reentrancy in DragonBall.constructor() (#842-862):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#847-848)
Event emitted after the call(s):
- Transfer(address(0),owner(),(5 * 10 ** 6) * (10 ** 9)) (#861)
Reentrancy in DragonBall.swapAndLiquify(uint256) (#1019-1040):
External calls:
- swapTokensForEth(half) (#1031)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#998-1004)
- addLiquidity(otherHalf,newBalance) (#1037)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,own,block.timestamp) (#1048-1055)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1037)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,own,block.timestamp) (#1048-1055)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#784)
- addLiquidity(otherHalf,newBalance) (#1037)
Apply the check-effects-interactions pattern.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#162-165)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#171-175)
name() should be declared external:
- ERC20.name() (#567-569)
symbol() should be declared external:
- ERC20.symbol() (#575-577)
decimals() should be declared external:
- ERC20.decimals() (#580-582)
totalSupply() should be declared external:
- ERC20.totalSupply() (#587-589)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#606-609)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#614-616)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#625-628)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#643-651)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#665-668)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#684-687)
setmarket(address) should be declared external:
- DragonBall.setmarket(address) (#872-874)
setBigNumber(address,bool) should be declared external:
- DragonBall.setBigNumber(address,bool) (#892-894)
setswapTokensAtAmount(uint256) should be declared external:
- DragonBall.setswapTokensAtAmount(uint256) (#913-915)
seteddToken(address,uint256) should be declared external:
- DragonBall.seteddToken(address,uint256) (#917-919)
copyMapData(address[],uint256) should be declared external:
- DragonBall.copyMapData(address[],uint256) (#942-947)
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 on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on 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
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
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
Young tokens have high risks of price dump / death
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account