Dogecoin 2.0 is a DEFI token on the BSC network.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in Dogecoin._transfer(address,address,uint256) (#1011-1055):
External calls:
- swapAndLiquify(contractTokenBalance) (#1042)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1103-1110)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1089-1095)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1042)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1103-1110)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1054)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#967)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1136)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1145)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1156)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#883)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1137)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1147)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1157)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#885)
- _tokenTransfer(from,to,amount,takeFee) (#1054)
- _rTotal = _rTotal.sub(rFee) (#922)
- _tokenTransfer(from,to,amount,takeFee) (#1054)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#969)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1155)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#882)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1146)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#884)
Apply the check-effects-interactions pattern.
Additional information: link
Contract name (Dogecoin 2.0) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
Dogecoin.addLiquidity(uint256,uint256) (#1098-1111) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1103-1110)
Ensure that all the return values of the function calls are used.
Additional information: link
Dogecoin._approve(address,address,uint256).owner (#1003) shadows:
- Ownable.owner() (#435-437) (function)
Rename the local variables that shadow another component.
Additional information: link
Dogecoin.setMaxTxPercent(uint256) (#907-911) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#908-910)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in Dogecoin.transferFrom(address,address,uint256) (#808-812):
External calls:
- _transfer(sender,recipient,amount) (#809)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1103-1110)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1089-1095)
External calls sending eth:
- _transfer(sender,recipient,amount) (#809)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1103-1110)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#810)
- _allowances[owner][spender] = amount (#1007)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Dogecoin.transferFrom(address,address,uint256) (#808-812):
External calls:
- _transfer(sender,recipient,amount) (#809)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1103-1110)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1089-1095)
External calls sending eth:
- _transfer(sender,recipient,amount) (#809)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1103-1110)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1008)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#810)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#482-487) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#484)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#380-401) uses assembly
- INLINE ASM (#393-396)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#248-251) is never used and should be removed
Remove unused functions.
Additional information: link
Dogecoin._previousLiquidityFee (#730) 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._functionCallWithValue(address,bytes,uint256,string) (#380-401):
- (success,returndata) = target.call{value: weiValue}(data) (#384)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Dogecoin._maxTxAmount (#738) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#260)" inContext (#254-263)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable Dogecoin._transferFromExcluded(address,address,uint256).rTransferAmount (#1154) is too similar to Dogecoin._transferStandard(address,address,uint256).tTransferAmount (#1135)
Prevent variables from having similar names.
Additional information: link
Dogecoin.slitherConstructorVariables() (#704-1167) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 500000 * 10 ** 6 * 10 ** 9 (#739)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Dogecoin.numTokensSellToAddToLiquidity (#739) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
isExcludedFromFee(address) should be declared external:
- Dogecoin.isExcludedFromFee(address) (#999-1001)
Use the external attribute for functions never called from the contract.
Additional information: link
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
Token has a considerable age, but we're still unable to find its website
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 Youtube account