Reentrancy in SquidShib._transfer(address,address,uint256) (#495-546):
External calls:
- swapAndLiquify(contractTokenBalance) (#527)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#605-612)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#592-598)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#527)
- wallet.transfer(amount) (#549)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#605-612)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#544)
- _tOwned[sender] = _tOwned[sender] - tAmount (#629)
- _tOwned[recipient] = _tOwned[recipient] + tAmount (#630)
- _tOwned[sender] = _tOwned[sender] - tAmount (#641)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#642)
- _tOwned[address(this)] = _tOwned[address(this)] + buyFEE (#643)
- _tOwned[sender] = _tOwned[sender] - tAmount (#654)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount_scope_0 (#655)
- _tOwned[address(this)] = _tOwned[address(this)] + sellFEE (#656)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#544)
- _tTotal = _tTotal - tAmount (#634)
- _tTotal = _tTotal - tTransferAmount (#647)
- _tTotal = _tTotal - tTransferAmount_scope_0 (#660)
- txCount ++ (#540)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
SquidShib.swapAndLiquify(uint256) (#554-584) performs a multiplication on the result of a division:
-split_M = Percent_Marketing * 100 / (Percent_AutoLP + Percent_Marketing + Percent_Dev) (#569)
-BNB_M = BNB_Total * split_M / 100 (#570)
SquidShib.swapAndLiquify(uint256) (#554-584) performs a multiplication on the result of a division:
-split_D = Percent_Dev * 100 / (Percent_AutoLP + Percent_Marketing + Percent_Dev) (#572)
-BNB_D = BNB_Total * split_D / 100 (#573)
Consider ordering multiplication before division.
Additional information: link
SquidShib._transfer(address,address,uint256).isBuy (#531) 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
SquidShib.addLiquidity(uint256,uint256) (#602-613) ignores return value by uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#605-612)
Ensure that all the return values of the function calls are used.
Additional information: link
Reentrancy in SquidShib.constructor() (#406-427):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#416-417)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#420)
- _isExcludedFromFee[address(this)] = true (#421)
- _isExcludedFromFee[Wallet_Marketing] = true (#422)
- _isExcludedFromFee[Wallet_Burn] = true (#423)
- uniswapV2Router = _uniswapV2Router (#418)
Reentrancy in SquidShib.swapAndLiquify(uint256) (#554-584):
External calls:
- swapTokensForBNB(tokens_to_LP_Half + tokens_to_M + tokens_to_D) (#566)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#592-598)
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#576)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#605-612)
External calls sending eth:
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#576)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#605-612)
State variables written after the call(s):
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#576)
- _allowances[theOwner][theSpender] = amount (#490)
Reentrancy in SquidShib.transferFrom(address,address,uint256) (#463-467):
External calls:
- _transfer(sender,recipient,amount) (#464)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#605-612)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#592-598)
External calls sending eth:
- _transfer(sender,recipient,amount) (#464)
- wallet.transfer(amount) (#549)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#605-612)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#465)
- _allowances[theOwner][theSpender] = amount (#490)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in SquidShib._transfer(address,address,uint256) (#495-546):
External calls:
- swapAndLiquify(contractTokenBalance) (#527)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#605-612)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#592-598)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#527)
- wallet.transfer(amount) (#549)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#605-612)
Event emitted after the call(s):
- Transfer(sender,recipient,tAmount) (#631)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#544)
- Transfer(sender,recipient,tTransferAmount) (#644)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#544)
- Transfer(sender,recipient,tTransferAmount_scope_0) (#657)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#544)
Reentrancy in SquidShib.constructor() (#406-427):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#416-417)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (#425)
Reentrancy in SquidShib.swapAndLiquify(uint256) (#554-584):
External calls:
- swapTokensForBNB(tokens_to_LP_Half + tokens_to_M + tokens_to_D) (#566)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#592-598)
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#576)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#605-612)
External calls sending eth:
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#576)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#605-612)
Event emitted after the call(s):
- Approval(theOwner,theSpender,amount) (#491)
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#576)
- SwapAndLiquify(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D),tokens_to_LP_Half) (#577)
Reentrancy in SquidShib.transferFrom(address,address,uint256) (#463-467):
External calls:
- _transfer(sender,recipient,amount) (#464)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#605-612)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#592-598)
External calls sending eth:
- _transfer(sender,recipient,amount) (#464)
- wallet.transfer(amount) (#549)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#605-612)
Event emitted after the call(s):
- Approval(theOwner,theSpender,amount) (#491)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#465)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#73-77) uses assembly
- INLINE ASM (#75)
Address._verifyCallResult(bool,bytes,string) (#125-138) uses assembly
- INLINE ASM (#130-133)
Do not use evm assembly.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#125-138) is never used and should be removed
Address.functionCall(address,bytes) (#85-87) is never used and should be removed
Address.functionCall(address,bytes,string) (#89-91) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#93-95) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#97-102) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#115-117) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#119-123) is never used and should be removed
Address.functionStaticCall(address,bytes) (#104-106) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#108-112) is never used and should be removed
Address.isContract(address) (#73-77) is never used and should be removed
Address.sendValue(address,uint256) (#79-83) is never used and should be removed
Context._msgData() (#64-67) is never used and should be removed
SafeMath.div(uint256,uint256) (#38-40) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#49-54) is never used and should be removed
SafeMath.mul(uint256,uint256) (#34-36) is never used and should be removed
SafeMath.sub(uint256,uint256) (#30-32) is never used and should be removed
SquidShib._getCurrentSupply() (#481-483) is never used and should be removed
Remove unused functions.
Additional information: link
SquidShib._maxWalletToken (#380) is set pre-construction with a non-constant function or state variable:
- _tTotal * 2 / 100
SquidShib._previousMaxWalletToken (#381) is set pre-construction with a non-constant function or state variable:
- _maxWalletToken
SquidShib._maxTxAmount (#383) is set pre-construction with a non-constant function or state variable:
- _tTotal * 2 / 100
SquidShib._previousMaxTxAmount (#384) is set pre-construction with a non-constant function or state variable:
- _maxTxAmount
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 version0.8.10 (#9) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
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
Low level call in Address.sendValue(address,uint256) (#79-83):
- (success) = recipient.call{value: amount}() (#81)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#97-102):
- (success,returndata) = target.call{value: value}(data) (#100)
Low level call in Address.functionStaticCall(address,bytes,string) (#108-112):
- (success,returndata) = target.staticcall(data) (#110)
Low level call in Address.functionDelegateCall(address,bytes,string) (#119-123):
- (success,returndata) = target.delegatecall(data) (#121)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#167) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#168) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#181) is not in mixedCase
Function IUniswapV2Router01.WETH() (#198) is not in mixedCase
Parameter SquidShib.addLiquidity(uint256,uint256).BNBAmount (#602) is not in mixedCase
Function SquidShib.remove_Random_Tokens(address,uint256) (#615-621) is not in mixedCase
Parameter SquidShib.remove_Random_Tokens(address,uint256).random_Token_Address (#615) is not in mixedCase
Parameter SquidShib.remove_Random_Tokens(address,uint256).percent_of_Tokens (#615) is not in mixedCase
Variable SquidShib._isExcludedFromFee (#356) is not in mixedCase
Variable SquidShib.Wallet_Marketing (#358) is not in mixedCase
Variable SquidShib.Wallet_Dev (#359) is not in mixedCase
Constant SquidShib.Wallet_Burn (#360) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SquidShib._decimals (#364) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SquidShib._name (#366) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SquidShib._symbol (#367) is not in UPPER_CASE_WITH_UNDERSCORES
Variable SquidShib._Tax_On_Buy (#372) is not in mixedCase
Variable SquidShib._Tax_On_Sell (#373) is not in mixedCase
Variable SquidShib.Percent_Marketing (#375) is not in mixedCase
Variable SquidShib.Percent_Dev (#376) is not in mixedCase
Variable SquidShib.Percent_Burn (#377) is not in mixedCase
Variable SquidShib.Percent_AutoLP (#378) is not in mixedCase
Variable SquidShib._maxWalletToken (#380) is not in mixedCase
Variable SquidShib._maxTxAmount (#383) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#65)" inContext (#59-68)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in SquidShib._transfer(address,address,uint256) (#495-546):
External calls:
- swapAndLiquify(contractTokenBalance) (#527)
- wallet.transfer(amount) (#549)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#527)
- wallet.transfer(amount) (#549)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#605-612)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#544)
- _tOwned[sender] = _tOwned[sender] - tAmount (#629)
- _tOwned[recipient] = _tOwned[recipient] + tAmount (#630)
- _tOwned[sender] = _tOwned[sender] - tAmount (#641)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#642)
- _tOwned[address(this)] = _tOwned[address(this)] + buyFEE (#643)
- _tOwned[sender] = _tOwned[sender] - tAmount (#654)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount_scope_0 (#655)
- _tOwned[address(this)] = _tOwned[address(this)] + sellFEE (#656)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#544)
- _tTotal = _tTotal - tAmount (#634)
- _tTotal = _tTotal - tTransferAmount (#647)
- _tTotal = _tTotal - tTransferAmount_scope_0 (#660)
- txCount ++ (#540)
Event emitted after the call(s):
- Transfer(sender,recipient,tAmount) (#631)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#544)
- Transfer(sender,recipient,tTransferAmount) (#644)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#544)
- Transfer(sender,recipient,tTransferAmount_scope_0) (#657)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#544)
Reentrancy in SquidShib.transferFrom(address,address,uint256) (#463-467):
External calls:
- _transfer(sender,recipient,amount) (#464)
- wallet.transfer(amount) (#549)
External calls sending eth:
- _transfer(sender,recipient,amount) (#464)
- wallet.transfer(amount) (#549)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#605-612)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#465)
- _allowances[theOwner][theSpender] = amount (#490)
Event emitted after the call(s):
- Approval(theOwner,theSpender,amount) (#491)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#465)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#202) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#203)
Variable SquidShib.swapAndLiquify(uint256).tokens_to_D (#562) is too similar to SquidShib.swapAndLiquify(uint256).tokens_to_M (#561)
Prevent variables from having similar names.
Additional information: link
SquidShib.slitherConstructorConstantVariables() (#332-669) uses literals with too many digits:
- Wallet_Burn = address(0x000000000000000000000000000000000000dEaD) (#360)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SquidShib.MAX (#363) is never used in SquidShib (#332-669)
SquidShib._previousMaxWalletToken (#381) is never used in SquidShib (#332-669)
SquidShib._previousMaxTxAmount (#384) is never used in SquidShib (#332-669)
Remove unused state variables.
Additional information: link
SquidShib.Percent_AutoLP (#378) should be constant
SquidShib.Percent_Burn (#377) should be constant
SquidShib.Percent_Dev (#376) should be constant
SquidShib.Percent_Marketing (#375) should be constant
SquidShib.Wallet_Dev (#359) should be constant
SquidShib.Wallet_Marketing (#358) should be constant
SquidShib._Tax_On_Buy (#372) should be constant
SquidShib._Tax_On_Sell (#373) should be constant
SquidShib.swapAndLiquifyEnabled (#390) should be constant
SquidShib.swapTrigger (#370) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- SquidShib.renounceOwnership() (#349-352)
name() should be declared external:
- SquidShib.name() (#429-431)
symbol() should be declared external:
- SquidShib.symbol() (#433-435)
decimals() should be declared external:
- SquidShib.decimals() (#437-439)
totalSupply() should be declared external:
- SquidShib.totalSupply() (#441-443)
transfer(address,uint256) should be declared external:
- SquidShib.transfer(address,uint256) (#449-452)
allowance(address,address) should be declared external:
- SquidShib.allowance(address,address) (#454-456)
approve(address,uint256) should be declared external:
- SquidShib.approve(address,uint256) (#458-461)
transferFrom(address,address,uint256) should be declared external:
- SquidShib.transferFrom(address,address,uint256) (#463-467)
increaseAllowance(address,uint256) should be declared external:
- SquidShib.increaseAllowance(address,uint256) (#469-472)
decreaseAllowance(address,uint256) should be declared external:
- SquidShib.decreaseAllowance(address,uint256) (#474-477)
remove_Random_Tokens(address,uint256) should be declared external:
- SquidShib.remove_Random_Tokens(address,uint256) (#615-621)
Use the external attribute for functions never called from the contract.
Additional information: link
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