The first hyper-hyper-deflationary token. This token is so useless, we will do everything in our power to buy it back — just so we can burn it and get rid of it.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Useless.addLiquidity(uint256,uint256) (#1104-1117) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1109-1116)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Useless._transfer(address,address,uint256) (#1012-1061):
External calls:
- swapAndLiquify(contractTokenBalance) (#1048)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1109-1116)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1095-1101)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1048)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1109-1116)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1060)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#968)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1142)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1151)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1143)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1162)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#853)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1153)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1163)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#855)
- _tokenTransfer(from,to,amount,takeFee) (#1060)
- _rTotal = _rTotal.sub(rFee) (#923)
- _tokenTransfer(from,to,amount,takeFee) (#1060)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#970)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1161)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#852)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1152)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#854)
Apply the check-effects-interactions pattern.
Additional information: link
Useless.withdraw() (#810-814) ignores return value by IERC20(address(this)).transfer(msg.sender,balance) (#812)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
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.
Combination 2: Unchecked transfer + 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.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Useless.addLiquidity(uint256,uint256) (#1104-1117) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1109-1116)
Ensure that all the return values of the function calls are used.
Additional information: link
Useless._approve(address,address,uint256).owner (#1004) shadows:
- Ownable.owner() (#390-392) (function)
Rename the local variables that shadow another component.
Additional information: link
Useless.setMaxTxAmount(uint256) (#899-902) should emit an event for:
- _maxTxAmount = maxTxAmount (#901)
Emit an event for critical parameter changes.
Additional information: link
Useless.safeTransfer(address,address,uint256).to (#909) lacks a zero-check on :
- (success,data) = token.call(abi.encodeWithSelector(0xa9059cbb,to,value)) (#911)
Check that the address is not zero.
Additional information: link
Reentrancy in Useless.transferFrom(address,address,uint256) (#760-764):
External calls:
- _transfer(sender,recipient,amount) (#761)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1109-1116)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1095-1101)
External calls sending eth:
- _transfer(sender,recipient,amount) (#761)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1109-1116)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#762)
- _allowances[owner][spender] = amount (#1008)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Useless.transferFrom(address,address,uint256) (#760-764):
External calls:
- _transfer(sender,recipient,amount) (#761)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1109-1116)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1095-1101)
External calls sending eth:
- _transfer(sender,recipient,amount) (#761)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1109-1116)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1009)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#762)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#437-442) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked) (#439)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#347-368) uses assembly
- INLINE ASM (#360-363)
Do not use evm assembly.
Additional information: link
Useless.includeInReward(address) (#825-849) has costly operations inside a loop:
- _tFeeTotal = _tFeeTotal.add(_rOwned[account] - newrOwned) (#834)
Use a local variable to hold the loop computation result.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#219-222) is never used and should be removed
Remove unused functions.
Additional information: link
Useless._previousLiquidityFee (#683) 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 Useless.safeTransfer(address,address,uint256) (#909-913):
- (success,data) = token.call(abi.encodeWithSelector(0xa9059cbb,to,value)) (#911)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Useless._maxTxAmount (#692) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#231)" inContext (#225-234)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable Useless._transferBothExcluded(address,address,uint256).rTransferAmount (#851) is too similar to Useless._getTValues(uint256).tTransferAmount (#936)
Prevent variables from having similar names.
Additional information: link
Useless.slitherConstructorVariables() (#657-1169) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 500000 * 10 ** 6 * 10 ** 9 (#693)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Useless._tTotal (#671) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
isBlacklisted(address) should be declared external:
- Useless.isBlacklisted(address) (#1000-1002)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute number of swaps.
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
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 average PancakeSwap 30d trading volume is low
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank
Twitter account link seems to be invalid
Telegram account has relatively few subscribers
Unable to find Youtube account