Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in DogBoyCoin._transfer(address,address,uint256) (#998-1039):
External calls:
- swapAndLiquify(contractTokenBalance) (#1026)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1087-1094)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1026)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1087-1094)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1038)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#945)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1122)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1143)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1156)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1123)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#849)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1145)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1157)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#851)
- _tokenTransfer(from,to,amount,takeFee) (#1038)
- _rTotal = _rTotal.sub(rFee).sub(rBurn) (#896)
- _tokenTransfer(from,to,amount,takeFee) (#1038)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#947)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1155)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#848)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1144)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#850)
- _tokenTransfer(from,to,amount,takeFee) (#1038)
- _tTotal = _tTotal.sub(tBurn) (#899)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable._lockTime (#407) is never initialized. It is used in:
- Ownable.getUnlockTime() (#446-448)
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
DogBoyCoin._rTotal (#683) is written in both
_rTotal = 0 (#1131)
_rTotal = (MAX - (MAX % _tTotal)) (#1135)
Fix or remove the writes.
Additional information: link
DogBoyCoin.addLiquidity(uint256,uint256) (#1082-1095) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1087-1094)
Ensure that all the return values of the function calls are used.
Additional information: link
DogBoyCoin._approve(address,address,uint256).owner (#990) shadows:
- Ownable.owner() (#423-425) (function)
Rename the local variables that shadow another component.
Additional information: link
DogBoyCoin._setBurnFee(uint256) (#1167-1170) should emit an event for:
- _burnFee = burnFee (#1169)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in DogBoyCoin.transferFrom(address,address,uint256) (#777-781):
External calls:
- _transfer(sender,recipient,amount) (#778)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1087-1094)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
External calls sending eth:
- _transfer(sender,recipient,amount) (#778)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1087-1094)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#779)
- _allowances[owner][spender] = amount (#994)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in DogBoyCoin.transferFrom(address,address,uint256) (#777-781):
External calls:
- _transfer(sender,recipient,amount) (#778)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1087-1094)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
External calls sending eth:
- _transfer(sender,recipient,amount) (#778)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1087-1094)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#995)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#779)
Apply the check-effects-interactions pattern.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#368-389) uses assembly
- INLINE ASM (#381-384)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#236-239) is never used and should be removed
Remove unused functions.
Additional information: link
DogBoyCoin._previousLiquidityFee (#697) 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.7 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
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#368-389):
- (success,returndata) = target.call{value: weiValue}(data) (#372)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Constant DogBoyCoin._addressUniswapV2Router02 (#722) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#248)" inContext (#242-251)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable DogBoyCoin._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#921) is too similar to DogBoyCoin._getValues(uint256).tTransferAmount (#903)
Prevent variables from having similar names.
Additional information: link
Ownable._lockTime (#407) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
SwapTokenForBNB(uint256) should be declared external:
- DogBoyCoin.SwapTokenForBNB(uint256) (#1129-1137)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts