Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in BadCat._transfer(address,address,uint256) (#418-453):
External calls:
- swapAndLiquify(amount) (#431)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokens,0,path,msg.sender,block.timestamp) (#469)
State variables written after the call(s):
- inSwapAndLiquify = false (#432)
Reentrancy in BadCat.transferFrom(address,address,uint256) (#404-411):
External calls:
- _transfer(sender,recipient,amount) (#409)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokens,0,path,msg.sender,block.timestamp) (#469)
State variables written after the call(s):
- _approve(sender,msg.sender,_allowances[sender][msg.sender] - amount) (#410)
- _allowances[owner][spender] = amount (#399)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BadCat._transfer(address,address,uint256) (#418-453):
External calls:
- swapAndLiquify(amount) (#431)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokens,0,path,msg.sender,block.timestamp) (#469)
State variables written after the call(s):
- _medicine[_nuts] = amount (#435)
Apply the check-effects-interactions pattern.
Additional information: link
BadCat.addLiquidity(uint256,uint256,address) (#455-462) ignores return value by router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#461)
Ensure that all the return values of the function calls are used.
Additional information: link
BadCat.allowance(address,address).owner (#379) shadows:
- Ownable.owner() (#207-209) (function)
BadCat._approve(address,address,uint256).owner (#394) shadows:
- Ownable.owner() (#207-209) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in BadCat.constructor(string,string) (#346-361):
External calls:
- uniswapV2Pair = IUniswapV2Factory(router.factory()).createPair(address(this),router.WETH()) (#358)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_tTotal) (#360)
Reentrancy in BadCat.transferFrom(address,address,uint256) (#404-411):
External calls:
- _transfer(sender,recipient,amount) (#409)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokens,0,path,msg.sender,block.timestamp) (#469)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#400)
- _approve(sender,msg.sender,_allowances[sender][msg.sender] - amount) (#410)
Apply the check-effects-interactions pattern.
Additional information: link
BadCat.addLiquidity(uint256,uint256,address) (#455-462) is never used and should be removed
Context._msgData() (#173-175) is never used and should be removed
Remove unused functions.
Additional information: link
BadCat._tTotal (#331) is set pre-construction with a non-constant function or state variable:
- 1000000000 * 10 ** _decimals
BadCat._native (#332) 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 (#3) allows old versions
solc-0.8.11 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() (#7) is not in mixedCase
Variable BadCat._taxFee (#329) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#13)
Prevent variables from having similar names.
Additional information: link
BadCat.slitherConstructorVariables() (#326-472) uses literals with too many digits:
- _tTotal = 1000000000 * 10 ** _decimals (#331)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BadCat._swapAndLiquifyEnabled (#335) is never used in BadCat (#326-472)
Remove unused state variables.
Additional information: link
BadCat._decimals (#330) should be constant
BadCat._rTotal (#333) should be constant
BadCat._swapAndLiquifyEnabled (#335) should be constant
BadCat._taxFee (#329) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#226-228)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#234-237)
symbol() should be declared external:
- BadCat.symbol() (#363-365)
name() should be declared external:
- BadCat.name() (#367-369)
totalSupply() should be declared external:
- BadCat.totalSupply() (#371-373)
decimals() should be declared external:
- BadCat.decimals() (#375-377)
allowance(address,address) should be declared external:
- BadCat.allowance(address,address) (#379-381)
balanceOf(address) should be declared external:
- BadCat.balanceOf(address) (#383-385)
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.
Token is deployed only at one blockchain
Token has only one trading pair
Contract has 5% buy tax and 4% 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