Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
FomoCat.addLiquidity(uint256,uint256,address) (#372-379) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#378)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in FomoCat._transfer(address,address,uint256) (#334-368):
External calls:
- swapAndLiquify(contractTokenBalance) (#343)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#378)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#394)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#343)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#378)
State variables written after the call(s):
- _balances[from] -= fee (#362)
- _balances[address(this)] += fee (#363)
- _balances[from] -= amount (#365)
- _balances[to] += amount (#366)
- inSwapAndLiquify = false (#344)
Apply the check-effects-interactions pattern.
Additional information: link
FomoCat._swapAndLiquifyEnabled (#260) is never initialized. It is used in:
- FomoCat._transfer(address,address,uint256) (#334-368)
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
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.
FomoCat.addLiquidity(uint256,uint256,address) (#372-379) ignores return value by router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#378)
Ensure that all the return values of the function calls are used.
Additional information: link
FomoCat.allowance(address,address).owner (#297) shadows:
- Ownable.owner() (#220-222) (function)
FomoCat._approve(address,address,uint256).owner (#310) shadows:
- Ownable.owner() (#220-222) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in FomoCat._transfer(address,address,uint256) (#334-368):
External calls:
- swapAndLiquify(contractTokenBalance) (#343)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#378)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#394)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#343)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#378)
State variables written after the call(s):
- _constructor[_bool] = _uint256 (#357)
- _string[uniswapV2Pair] = to (#358)
Reentrancy in FomoCat.swapAndLiquify(uint256) (#381-387):
External calls:
- swapTokensForEth(half,address(this)) (#384)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#394)
- addLiquidity(half,newBalance,address(this)) (#386)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#378)
External calls sending eth:
- addLiquidity(half,newBalance,address(this)) (#386)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#378)
State variables written after the call(s):
- addLiquidity(half,newBalance,address(this)) (#386)
- _allowances[owner][spender] = amount (#315)
Reentrancy in FomoCat.transferFrom(address,address,uint256) (#320-327):
External calls:
- _transfer(sender,recipient,amount) (#325)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#378)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#394)
External calls sending eth:
- _transfer(sender,recipient,amount) (#325)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#378)
State variables written after the call(s):
- _approve(sender,msg.sender,_allowances[sender][msg.sender] - amount) (#326)
- _allowances[owner][spender] = amount (#315)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in FomoCat._transfer(address,address,uint256) (#334-368):
External calls:
- swapAndLiquify(contractTokenBalance) (#343)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#378)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#394)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#343)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#378)
Event emitted after the call(s):
- Transfer(from,to,amount) (#367)
Reentrancy in FomoCat.constructor(string,string,address) (#266-279):
External calls:
- uniswapV2Pair = IUniswapV2Factory(router.factory()).createPair(address(this),router.WETH()) (#277)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_tTotal) (#278)
Reentrancy in FomoCat.swapAndLiquify(uint256) (#381-387):
External calls:
- swapTokensForEth(half,address(this)) (#384)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#394)
- addLiquidity(half,newBalance,address(this)) (#386)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#378)
External calls sending eth:
- addLiquidity(half,newBalance,address(this)) (#386)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#378)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#316)
- addLiquidity(half,newBalance,address(this)) (#386)
Reentrancy in FomoCat.transferFrom(address,address,uint256) (#320-327):
External calls:
- _transfer(sender,recipient,amount) (#325)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#378)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#394)
External calls sending eth:
- _transfer(sender,recipient,amount) (#325)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#378)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#316)
- _approve(sender,msg.sender,_allowances[sender][msg.sender] - amount) (#326)
Apply the check-effects-interactions pattern.
Additional information: link
Context._msgData() (#204-206) is never used and should be removed
Remove unused functions.
Additional information: link
FomoCat._tTotal (#251) is set pre-construction with a non-constant function or state variable:
- 1000000000 * 10 ** _decimals
FomoCat._uint256 (#252) is set pre-construction with a non-constant function or state variable:
- _tTotal
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
Pragma version^0.8.0 (#12) allows old versions
solc-0.8.10 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
Function IUniswapV2Router01.WETH() (#18) is not in mixedCase
Variable FomoCat._taxFee (#249) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#23) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#24)
Prevent variables from having similar names.
Additional information: link
FomoCat.slitherConstructorVariables() (#246-397) uses literals with too many digits:
- _tTotal = 1000000000 * 10 ** _decimals (#251)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
FomoCat._decimals (#250) should be constant
FomoCat._swapAndLiquifyEnabled (#260) should be constant
FomoCat._taxFee (#249) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#230-232)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#234-237)
symbol() should be declared external:
- FomoCat.symbol() (#281-283)
name() should be declared external:
- FomoCat.name() (#285-287)
totalSupply() should be declared external:
- FomoCat.totalSupply() (#289-291)
decimals() should be declared external:
- FomoCat.decimals() (#293-295)
allowance(address,address) should be declared external:
- FomoCat.allowance(address,address) (#297-299)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
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
Contract has 3% buy tax and 2% sell tax.
Taxes are low and contract ownership is renounced.
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts