Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
PowerDogeCoin.addLiquidity(uint256,uint256) (#1094-1107) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1099-1106)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in PowerDogeCoin._transfer(address,address,uint256) (#1007-1051):
External calls:
- swapAndLiquify(contractTokenBalance) (#1038)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1099-1106)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1085-1091)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1038)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1099-1106)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1050)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#958)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1141)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1132)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1133)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#872)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1152)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1143)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1153)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#874)
- _tokenTransfer(from,to,amount,takeFee) (#1050)
- _rTotal = _rTotal.sub(rFee) (#913)
- _tokenTransfer(from,to,amount,takeFee) (#1050)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#960)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#871)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1151)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1142)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#873)
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.
PowerDogeCoin.addLiquidity(uint256,uint256) (#1094-1107) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1099-1106)
Ensure that all the return values of the function calls are used.
Additional information: link
PowerDogeCoin._approve(address,address,uint256).owner (#999) shadows:
- Ownable.owner() (#409-411) (function)
Rename the local variables that shadow another component.
Additional information: link
PowerDogeCoin.setMaxTxPercent(uint256) (#900-902) should emit an event for:
- _maxTxAmount = maxTxPercent * 10 ** _decimals (#901)
Emit an event for critical parameter changes.
Additional information: link
PowerDogeCoin.constructor(string,string,uint256,uint256,uint256,uint256,uint256,uint256,address,address).tokenOwner (#729) lacks a zero-check on :
- _owner = tokenOwner (#757)
Check that the address is not zero.
Additional information: link
Reentrancy in PowerDogeCoin.transferFrom(address,address,uint256) (#797-801):
External calls:
- _transfer(sender,recipient,amount) (#798)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1099-1106)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1085-1091)
External calls sending eth:
- _transfer(sender,recipient,amount) (#798)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1099-1106)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#799)
- _allowances[owner][spender] = amount (#1003)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in PowerDogeCoin.transferFrom(address,address,uint256) (#797-801):
External calls:
- _transfer(sender,recipient,amount) (#798)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1099-1106)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1085-1091)
External calls sending eth:
- _transfer(sender,recipient,amount) (#798)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1099-1106)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1004)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#799)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#456-461) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#458)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#362-383) uses assembly
- INLINE ASM (#375-378)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#230-233) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#362-383):
- (success,returndata) = target.call{value: weiValue}(data) (#366)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable PowerDogeCoin._maxTxAmount (#712) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#242)" inContext (#236-245)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable PowerDogeCoin._transferFromExcluded(address,address,uint256).rTransferAmount (#1150) is too similar to PowerDogeCoin._transferBothExcluded(address,address,uint256).tTransferAmount (#870)
Prevent variables from having similar names.
Additional information: link
isExcludedFromFee(address) should be declared external:
- PowerDogeCoin.isExcludedFromFee(address) (#995-997)
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.
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
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 Telegram and Twitter accounts