DBZ Coin aims to become the leader in payment and verification for authentic jewelry purchases as well as set a standard for a faster remittance systems worldwide. By walking users through how to obtain Diamond Boyz Coin, is also introducing them to a new way to interact with the internet in an entertaining and valuable way.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
DiamondBoyzCoin.addLiquidity(uint256,uint256) (#626-637) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#629-636)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in DiamondBoyzCoin._transfer(address,address,uint256) (#557-592):
External calls:
- swapAndLiquify(contractTokenBalance) (#588)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#629-636)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#617-623)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#588)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#629-636)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#591)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#512)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#665)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#674)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#685)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#695)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#666)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#676)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#686)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#697)
- _tokenTransfer(from,to,amount,takeFee) (#591)
- _rTotal = _rTotal.sub(rFee) (#468)
- _tokenTransfer(from,to,amount,takeFee) (#591)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#514)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#694)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#684)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#675)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#696)
Apply the check-effects-interactions pattern.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
DiamondBoyzCoin._transfer(address,address,uint256).takeFee (#565) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
DiamondBoyzCoin.addLiquidity(uint256,uint256) (#626-637) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#629-636)
Ensure that all the return values of the function calls are used.
Additional information: link
DiamondBoyzCoin._approve(address,address,uint256).owner (#549) shadows:
- Ownable.owner() (#94-96) (function)
Rename the local variables that shadow another component.
Additional information: link
DiamondBoyzCoin.setMaxTxPercent(uint256) (#458-462) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#459-461)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in DiamondBoyzCoin.transferFrom(address,address,uint256) (#369-373):
External calls:
- _transfer(sender,recipient,amount) (#370)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#629-636)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#617-623)
External calls sending eth:
- _transfer(sender,recipient,amount) (#370)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#629-636)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#371)
- _allowances[owner][spender] = amount (#553)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in DiamondBoyzCoin.transferFrom(address,address,uint256) (#369-373):
External calls:
- _transfer(sender,recipient,amount) (#370)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#629-636)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#617-623)
External calls sending eth:
- _transfer(sender,recipient,amount) (#370)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#629-636)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#554)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#371)
Apply the check-effects-interactions pattern.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#77-80) is never used and should be removed
Remove unused functions.
Additional information: link
DiamondBoyzCoin._previousLiquidityFee (#291) 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
solc-0.8.4 is not recommended for deployment
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
Variable DiamondBoyzCoin._maxTxAmount (#297) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#10)" inContext (#4-13)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable DiamondBoyzCoin._transferFromExcluded(address,address,uint256).rTransferAmount (#683) is too similar to DiamondBoyzCoin._getValues(uint256).tTransferAmount (#473)
Prevent variables from having similar names.
Additional information: link
DiamondBoyzCoin.slitherConstructorVariables() (#266-724) uses literals with too many digits:
- _maxTxAmount = 10000000 * 10 ** 18 (#297)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DiamondBoyzCoin.numTokensSellToAddToLiquidity (#295) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
setRouterAddress(address) should be declared external:
- DiamondBoyzCoin.setRouterAddress(address) (#657-661)
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 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
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has a considerable age, but social accounts / website are missing or have few users
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account