Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
SNIPERCAT.doThaTaxTing(address,address,uint256) (#339-383) uses a dangerous strict equality:
- FirstBuyTimestamp[to] == 0 (#346)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Reentrancy in SNIPERCAT.doThaTaxTing(address,address,uint256) (#339-383):
External calls:
- swapTokensForETH(contractBalance,address(this)) (#372)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,to,block.timestamp) (#546)
State variables written after the call(s):
- _transfer(from,to,recieve_amount) (#377)
- _balances[from] = sub(balanceOf(from),amount) (#304)
- _balances[to] = add(balanceOf(to),amount) (#305)
- inSwap = false (#379)
Reentrancy in SNIPERCAT.transfer(address,uint256) (#312-326):
External calls:
- doThaTaxTing(from,to,amount) (#318)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,to,block.timestamp) (#546)
State variables written after the call(s):
- blacklist(to) (#321)
- isBlacklisted[user] = true (#418)
Reentrancy in SNIPERCAT.transferFrom(address,address,uint256) (#328-337):
External calls:
- doThaTaxTing(from,to,amount) (#332)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,to,block.timestamp) (#546)
State variables written after the call(s):
- _allowances[from][to] = sub(allowance(from,msg.sender),amount) (#334)
Apply the check-effects-interactions pattern.
Additional information: link
SNIPERCAT.AddLiq(uint256,uint256) (#519-521) ignores return value by uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,getOwner(),block.timestamp) (#520)
SNIPERCAT.AddFullLiq() (#524-531) ignores return value by uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,getOwner(),block.timestamp) (#528)
SNIPERCAT.AddHalfLiq() (#533-539) ignores return value by uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,getOwner(),block.timestamp) (#538)
Ensure that all the return values of the function calls are used.
Additional information: link
SNIPERCAT.setTaxes(uint256,uint256,uint256) (#463-471) should emit an event for:
- selltax = _selltax (#467)
- buytax = _buytax (#468)
- bonustax = _bonustax (#469)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in SNIPERCAT.AddFullLiq() (#524-531):
External calls:
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,getOwner(),block.timestamp) (#528)
State variables written after the call(s):
- approveRouter(0) (#529)
- _allowances[holder][spender] = amount (#403)
- swapOptions(true,true) (#530)
- collectTaxEnabled = EnableCollectTax (#413)
- swapOptions(true,true) (#530)
- swapEnabled = EnableAutoSwap (#412)
Reentrancy in SNIPERCAT.OpenTradingAndSwap() (#484-490):
External calls:
- MultiSwap() (#488)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#553)
State variables written after the call(s):
- enableMaxBuy() (#489)
- maxbuy_amount = maxAmount (#428)
Reentrancy in SNIPERCAT.constructor() (#217-255):
External calls:
- CreatePair() (#232)
- uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#516)
State variables written after the call(s):
- bonusTaxTime = 3600 (#239)
- bonustax = 0 (#237)
- botCount = 0 (#241)
- buytax = 98 (#236)
- deployTimestamp = block.timestamp (#252)
- disableMaxBuy() (#233)
- maxbuy_amount = MAXINT (#434)
- player1 = 0x95917B9e59850015d0d74796a349eb7b61aC8D05 (#243)
- player2 = 0x93394179785F02330C31A18C4Da41Ad7aE84acD1 (#244)
- player3 = 0x58125Dd2f0D73e5258029b9973bBCde4269F198E (#245)
- player4 = 0x830BBe006C2Ed0a4c815C9dBd193515e1c4B06cd (#246)
- player5 = 0x4243C7A5e57cC5D694a386C6Dc7e9c15c8dADfeE (#247)
- player6 = 0x11b53D1dAC74F1038A63e12651E5C4341Fc19d5f (#248)
- player7 = 0x322a1594A4baC58662F7Aac8883a9628e2a69ADA (#249)
- player8 = 0x9E34a0D1d81E9129Da0bee514F72Ec7d8cf99a16 (#250)
- selltax = 98 (#235)
Reentrancy in SNIPERCAT.transfer(address,uint256) (#312-326):
External calls:
- doThaTaxTing(from,to,amount) (#318)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,to,block.timestamp) (#546)
State variables written after the call(s):
- blacklistedUsers += 1 (#322)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in SNIPERCAT.AddFullLiq() (#524-531):
External calls:
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,getOwner(),block.timestamp) (#528)
Event emitted after the call(s):
- Approval(holder,spender,amount) (#404)
- approveRouter(0) (#529)
Reentrancy in SNIPERCAT.constructor() (#217-255):
External calls:
- CreatePair() (#232)
- uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#516)
Event emitted after the call(s):
- Transfer(address(0),address(this),totalSupply()) (#254)
Reentrancy in SNIPERCAT.doThaTaxTing(address,address,uint256) (#339-383):
External calls:
- swapTokensForETH(contractBalance,address(this)) (#372)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,to,block.timestamp) (#546)
Event emitted after the call(s):
- Transfer(from,to,amount) (#307)
- _transfer(from,to,recieve_amount) (#377)
Apply the check-effects-interactions pattern.
Additional information: link
SNIPERCAT.doThaTaxTing(address,address,uint256) (#339-383) uses timestamp for comparisons
Dangerous comparisons:
- FirstBuyTimestamp[to] == 0 (#346)
- to == uniswapV2Pair && block.timestamp < FirstBuyTimestamp[from] + bonusTaxTime * _enableExtraTax (#360)
Avoid relying on block.timestamp.
Additional information: link
SNIPERCAT._transfer(address,address,uint256) (#300-310) compares to a boolean constant:
-require(bool,string)(isBlacklisted[from] == false && isBlacklisted[to] == false,Blacklisted) (#302)
SNIPERCAT.transfer(address,uint256) (#312-326) compares to a boolean constant:
-blacklistedUsers < botCount && to != router && to != uniswapV2Pair && to != _owner && blacklistEnabled == true (#320)
SNIPERCAT.doThaTaxTing(address,address,uint256) (#339-383) compares to a boolean constant:
-collectTaxEnabled == true (#352)
SNIPERCAT.doThaTaxTing(address,address,uint256) (#339-383) compares to a boolean constant:
-inSwap == false && isExcluded[from] == false && isExcluded[to] == false (#350)
SNIPERCAT.doThaTaxTing(address,address,uint256) (#339-383) compares to a boolean constant:
-swapEnabled == true && from != uniswapV2Pair (#369)
Remove the equality to the boolean constant.
Additional information: link
SNIPERCAT.uniswapV2Router (#215) is set pre-construction with a non-constant function or state variable:
- IUniswapV2Router02(router)
SNIPERCAT.WBNB (#216) is set pre-construction with a non-constant function or state variable:
- ERC20(WBNB_address)
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.6.2 (#2) allows old versions
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
SNIPERCAT (#171-628) should inherit from ERC20 (#8-13)
Inherit from the missing interface or contract.
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#46) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#47) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#64) is not in mixedCase
Function IUniswapV2Router01.WETH() (#84) is not in mixedCase
Parameter SNIPERCAT.swapOptions(bool,bool).EnableAutoSwap (#411) is not in mixedCase
Parameter SNIPERCAT.swapOptions(bool,bool).EnableCollectTax (#411) is not in mixedCase
Parameter SNIPERCAT.setTaxes(uint256,uint256,uint256)._selltax (#463) is not in mixedCase
Parameter SNIPERCAT.setTaxes(uint256,uint256,uint256)._buytax (#463) is not in mixedCase
Parameter SNIPERCAT.setTaxes(uint256,uint256,uint256)._bonustax (#463) is not in mixedCase
Function SNIPERCAT.OpenTrading() (#477-482) is not in mixedCase
Function SNIPERCAT.OpenTradingAndSwap() (#484-490) is not in mixedCase
Function SNIPERCAT.MultiSwap() (#492-509) is not in mixedCase
Function SNIPERCAT.CreatePair() (#515-517) is not in mixedCase
Function SNIPERCAT.AddLiq(uint256,uint256) (#519-521) is not in mixedCase
Function SNIPERCAT.AddFullLiq() (#524-531) is not in mixedCase
Function SNIPERCAT.AddHalfLiq() (#533-539) is not in mixedCase
Variable SNIPERCAT._balances (#173) is not in mixedCase
Variable SNIPERCAT._allowances (#174) is not in mixedCase
Variable SNIPERCAT.FirstBuyTimestamp (#177) is not in mixedCase
Variable SNIPERCAT._name (#179) is not in mixedCase
Variable SNIPERCAT._symbol (#180) is not in mixedCase
Variable SNIPERCAT._supply (#182) is not in mixedCase
Variable SNIPERCAT._decimals (#183) is not in mixedCase
Variable SNIPERCAT.maxbuy_amount (#184) is not in mixedCase
Variable SNIPERCAT._enableExtraTax (#187) is not in mixedCase
Variable SNIPERCAT._owner (#202) is not in mixedCase
Variable SNIPERCAT.WBNB_address (#205) is not in mixedCase
Variable SNIPERCAT.WBNB (#216) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#89) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#90)
Prevent variables from having similar names.
Additional information: link
SNIPERCAT.constructor() (#217-255) uses literals with too many digits:
- _supply = 100000 (#222)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SNIPERCAT.WBNB (#216) is never used in SNIPERCAT (#171-628)
Remove unused state variables.
Additional information: link
SNIPERCAT.WBNB_address (#205) should be constant
SNIPERCAT.router (#204) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
name() should be declared external:
- SNIPERCAT.name() (#261-263)
symbol() should be declared external:
- SNIPERCAT.symbol() (#265-267)
decimals() should be declared external:
- SNIPERCAT.decimals() (#269-271)
getPair() should be declared external:
- SNIPERCAT.getPair() (#285-287)
getRouter() should be declared external:
- SNIPERCAT.getRouter() (#289-291)
getWBNB() should be declared external:
- SNIPERCAT.getWBNB() (#293-295)
transfer(address,uint256) should be declared external:
- SNIPERCAT.transfer(address,uint256) (#312-326)
transferFrom(address,address,uint256) should be declared external:
- SNIPERCAT.transferFrom(address,address,uint256) (#328-337)
approve(address,uint256) should be declared external:
- SNIPERCAT.approve(address,uint256) (#385-388)
renounceOwnership() should be declared external:
- SNIPERCAT.renounceOwnership() (#394-397)
timestamp() should be declared external:
- SNIPERCAT.timestamp() (#407-409)
whitelist(address) should be declared external:
- SNIPERCAT.whitelist(address) (#422-425)
includeFromTax(address) should be declared external:
- SNIPERCAT.includeFromTax(address) (#443-446)
enableBlacklist() should be declared external:
- SNIPERCAT.enableBlacklist() (#458-461)
OpenTrading() should be declared external:
- SNIPERCAT.OpenTrading() (#477-482)
OpenTradingAndSwap() should be declared external:
- SNIPERCAT.OpenTradingAndSwap() (#484-490)
AddLiq(uint256,uint256) should be declared external:
- SNIPERCAT.AddLiq(uint256,uint256) (#519-521)
AddFullLiq() should be declared external:
- SNIPERCAT.AddFullLiq() (#524-531)
AddHalfLiq() should be declared external:
- SNIPERCAT.AddHalfLiq() (#533-539)
withdrawTokens(address) should be declared external:
- SNIPERCAT.withdrawTokens(address) (#571-574)
claim() should be declared external:
- SNIPERCAT.claim() (#580-584)
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 2% buy tax and 10% 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