Token is flagged by TokenSniffer due to presence of exploit in contract code
Reentrancy in PitBull20._transfer(address,address,uint256) (#364-417):
External calls:
- swapBack() (#404)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#457-464)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#445-451)
External calls sending eth:
- swapBack() (#404)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#457-464)
- address(marketingWallet).transfer(address(this).balance) (#435)
State variables written after the call(s):
- balances[to] += transferAmount (#415)
- swapping = false (#405)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
PitBull20._transfer(address,address,uint256).takeFee (#382) is a local variable never initialized
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
PitBull20.addLiquidity(uint256,uint256) (#454-465) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#457-464)
Ensure that all the return values of the function calls are used.
Additional information: link
PitBull20.allowance(address,address).owner (#253) shadows:
- Ownable.owner() (#100-102) (function)
PitBull20._approve(address,address,uint256).owner (#317) shadows:
- Ownable.owner() (#100-102) (function)
Rename the local variables that shadow another component.
Additional information: link
PitBull20.setBuyCooldown(uint256) (#337-339) should emit an event for:
- _buyCooldown = cooldownInSeconds (#338)
PitBull20.setMaxTxPercent(uint256) (#341-344) should emit an event for:
- _maxTxAmount = _tTotal.mul(newMaxTxPercent).div(10 ** 2) (#343)
PitBull20.setMaxWalletPercent(uint256) (#346-349) should emit an event for:
- _maxWalletAmount = _tTotal.mul(newMaxWalletPercent).div(10 ** 2) (#348)
PitBull20.setSwapTokenAtAmountPermille(uint256) (#351-353) should emit an event for:
- swapTokenAtAmount = _tTotal.mul(newSwapTokenAmountPermille).div(10 ** 3) (#352)
Emit an event for critical parameter changes.
Additional information: link
PitBull20.setLiquidityReceiver(address).newLiqReceiver (#355) lacks a zero-check on :
- liquidityReceiver = newLiqReceiver (#356)
PitBull20.clearStuckBNB(address).recipient (#360) lacks a zero-check on :
- address(recipient).transfer(address(this).balance) (#361)
Check that the address is not zero.
Additional information: link
Reentrancy in PitBull20.constructor() (#206-226):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#216)
State variables written after the call(s):
- _isExcludedFromFee[msg.sender] = true (#222)
- _isExcludedFromFee[address(this)] = true (#223)
- liquidityReceiver = msg.sender (#221)
- uniswapV2Pair = _uniswapV2Pair (#219)
- uniswapV2Router = _uniswapV2Router (#218)
Reentrancy in PitBull20.swapBack() (#420-436):
External calls:
- swapTokensForEth(amountToSwapForETH) (#429)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#445-451)
- addLiquidity(tokensForLiquidity,ethForLiquidity) (#434)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#457-464)
External calls sending eth:
- addLiquidity(tokensForLiquidity,ethForLiquidity) (#434)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#457-464)
State variables written after the call(s):
- addLiquidity(tokensForLiquidity,ethForLiquidity) (#434)
- _allowances[owner][spender] = amount (#321)
Reentrancy in PitBull20.transferFrom(address,address,uint256) (#262-266):
External calls:
- _transfer(sender,recipient,amount) (#263)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#457-464)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#445-451)
External calls sending eth:
- _transfer(sender,recipient,amount) (#263)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#457-464)
- address(marketingWallet).transfer(address(this).balance) (#435)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#264)
- _allowances[owner][spender] = amount (#321)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in PitBull20._transfer(address,address,uint256) (#364-417):
External calls:
- swapBack() (#404)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#457-464)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#445-451)
External calls sending eth:
- swapBack() (#404)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#457-464)
- address(marketingWallet).transfer(address(this).balance) (#435)
Event emitted after the call(s):
- Transfer(from,to,transferAmount) (#416)
Reentrancy in PitBull20.constructor() (#206-226):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#216)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#225)
Reentrancy in PitBull20.swapBack() (#420-436):
External calls:
- swapTokensForEth(amountToSwapForETH) (#429)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#445-451)
- addLiquidity(tokensForLiquidity,ethForLiquidity) (#434)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#457-464)
External calls sending eth:
- addLiquidity(tokensForLiquidity,ethForLiquidity) (#434)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#457-464)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#322)
- addLiquidity(tokensForLiquidity,ethForLiquidity) (#434)
Reentrancy in PitBull20.transferFrom(address,address,uint256) (#262-266):
External calls:
- _transfer(sender,recipient,amount) (#263)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#457-464)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#445-451)
External calls sending eth:
- _transfer(sender,recipient,amount) (#263)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#457-464)
- address(marketingWallet).transfer(address(this).balance) (#435)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#322)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#264)
Apply the check-effects-interactions pattern.
Additional information: link
PitBull20._transfer(address,address,uint256) (#364-417) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_lastBuy[to] + _buyCooldown < block.timestamp,Must wait til after coooldown to buy) (#393)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#83-86) is never used and should be removed
SafeMath.add(uint256,uint256) (#27-32) is never used and should be removed
SafeMath.mod(uint256,uint256) (#68-70) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#72-75) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.13 (#12) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.13 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 IUniswapV2Router02.WETH() (#129) is not in mixedCase
Function PitBull20.Claim() (#288-293) is not in mixedCase
Constant PitBull20._name (#167) is not in UPPER_CASE_WITH_UNDERSCORES
Constant PitBull20._symbol (#168) is not in UPPER_CASE_WITH_UNDERSCORES
Constant PitBull20._decimals (#169) is not in UPPER_CASE_WITH_UNDERSCORES
Variable PitBull20._maxWalletAmount (#172) is not in mixedCase
Variable PitBull20._maxTxAmount (#173) is not in mixedCase
Variable PitBull20._buyCooldown (#195) is not in mixedCase
Variable PitBull20.Blacklisted (#197) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#84)" inContext (#78-87)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in PitBull20._transfer(address,address,uint256) (#364-417):
External calls:
- swapBack() (#404)
- address(marketingWallet).transfer(address(this).balance) (#435)
External calls sending eth:
- swapBack() (#404)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#457-464)
- address(marketingWallet).transfer(address(this).balance) (#435)
State variables written after the call(s):
- balances[to] += transferAmount (#415)
- swapping = false (#405)
Event emitted after the call(s):
- Transfer(from,to,transferAmount) (#416)
Reentrancy in PitBull20.transferFrom(address,address,uint256) (#262-266):
External calls:
- _transfer(sender,recipient,amount) (#263)
- address(marketingWallet).transfer(address(this).balance) (#435)
External calls sending eth:
- _transfer(sender,recipient,amount) (#263)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#457-464)
- address(marketingWallet).transfer(address(this).balance) (#435)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#264)
- _allowances[owner][spender] = amount (#321)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#322)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#264)
Apply the check-effects-interactions pattern.
Additional information: link
PitBull20.slitherConstructorVariables() (#157-467) uses literals with too many digits:
- _tTotal = 1000000000000 * 10 ** _decimals (#170)
PitBull20.slitherConstructorVariables() (#157-467) uses literals with too many digits:
- _maxWalletAmount = 50000000000 * 10 ** _decimals (#172)
PitBull20.slitherConstructorVariables() (#157-467) uses literals with too many digits:
- _maxTxAmount = 50000000000 * 10 ** _decimals (#173)
PitBull20.slitherConstructorVariables() (#157-467) uses literals with too many digits:
- swapTokenAtAmount = 1250000000 * 10 ** _decimals (#174)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
PitBull20.liquidityFee (#192) is never used in PitBull20 (#157-467)
PitBull20.marketingFee (#193) is never used in PitBull20 (#157-467)
Remove unused state variables.
Additional information: link
PitBull20._tTotal (#170) should be constant
PitBull20.liquidityFee (#192) should be constant
PitBull20.marketingFee (#193) should be constant
PitBull20.marketingWallet (#177) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
PitBull20.swapBack() (#420-436) performs a multiplication on the result of a division:
-liquidityTokens = contractBalance * (buyFee.liquidity + sellFee.liquidity) / (buyFee.marketing + buyFee.liquidity + sellFee.marketing + sellFee.liquidity) (#422)
-ethForLiquidity = ethBalance.mul(liquidityTokens).div(totalTokensToSwap) (#432)
Consider ordering multiplication before division.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#109-112)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#114-118)
name() should be declared external:
- PitBull20.name() (#228-230)
symbol() should be declared external:
- PitBull20.symbol() (#232-234)
decimals() should be declared external:
- PitBull20.decimals() (#236-238)
totalSupply() should be declared external:
- PitBull20.totalSupply() (#240-242)
transfer(address,uint256) should be declared external:
- PitBull20.transfer(address,uint256) (#248-251)
allowance(address,address) should be declared external:
- PitBull20.allowance(address,address) (#253-255)
approve(address,uint256) should be declared external:
- PitBull20.approve(address,uint256) (#257-260)
transferFrom(address,address,uint256) should be declared external:
- PitBull20.transferFrom(address,address,uint256) (#262-266)
increaseAllowance(address,uint256) should be declared external:
- PitBull20.increaseAllowance(address,uint256) (#268-271)
decreaseAllowance(address,uint256) should be declared external:
- PitBull20.decreaseAllowance(address,uint256) (#273-276)
excludeFromFee(address) should be declared external:
- PitBull20.excludeFromFee(address) (#278-280)
includeInFee(address) should be declared external:
- PitBull20.includeInFee(address) (#282-284)
Claim() should be declared external:
- PitBull20.Claim() (#288-293)
isExcludedFromFee(address) should be declared external:
- PitBull20.isExcludedFromFee(address) (#313-315)
setBuyFees(uint256,uint256) should be declared external:
- PitBull20.setBuyFees(uint256,uint256) (#325-329)
setSellFees(uint256,uint256) should be declared external:
- PitBull20.setSellFees(uint256,uint256) (#331-335)
setBuyCooldown(uint256) should be declared external:
- PitBull20.setBuyCooldown(uint256) (#337-339)
setMaxTxPercent(uint256) should be declared external:
- PitBull20.setMaxTxPercent(uint256) (#341-344)
setMaxWalletPercent(uint256) should be declared external:
- PitBull20.setMaxWalletPercent(uint256) (#346-349)
setSwapTokenAtAmountPermille(uint256) should be declared external:
- PitBull20.setSwapTokenAtAmountPermille(uint256) (#351-353)
setLiquidityReceiver(address) should be declared external:
- PitBull20.setLiquidityReceiver(address) (#355-358)
clearStuckBNB(address) should be declared external:
- PitBull20.clearStuckBNB(address) (#360-362)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract name (PitBull 2.0) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
Contract has 7% buy tax and 95% sell tax.
Taxes are extremely high (over 30%)
Additional information: link
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
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.
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
Unable to find website, listings and other project-related information
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
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