Reentrancy in ShinjiruInu._transfer(address,address,uint256) (#491-542):
External calls:
- swapAndLiquify(contractTokenBalance) (#523)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#601-608)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#588-594)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#523)
- wallet.transfer(amount) (#545)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#601-608)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#540)
- _tOwned[sender] = _tOwned[sender] - tAmount (#625)
- _tOwned[recipient] = _tOwned[recipient] + tAmount (#626)
- _tOwned[sender] = _tOwned[sender] - tAmount (#637)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#638)
- _tOwned[address(this)] = _tOwned[address(this)] + buyFEE (#639)
- _tOwned[sender] = _tOwned[sender] - tAmount (#650)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount_scope_0 (#651)
- _tOwned[address(this)] = _tOwned[address(this)] + sellFEE (#652)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#540)
- _tTotal = _tTotal - tAmount (#630)
- _tTotal = _tTotal - tTransferAmount (#643)
- _tTotal = _tTotal - tTransferAmount_scope_0 (#656)
- txCount ++ (#536)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract ownership is not renounced (belongs to a wallet)
ShinjiruInu.swapAndLiquify(uint256) (#550-580) performs a multiplication on the result of a division:
-split_M = Percent_Marketing * 100 / (Percent_AutoLP + Percent_Marketing + Percent_Dev) (#565)
-BNB_M = BNB_Total * split_M / 100 (#566)
ShinjiruInu.swapAndLiquify(uint256) (#550-580) performs a multiplication on the result of a division:
-split_D = Percent_Dev * 100 / (Percent_AutoLP + Percent_Marketing + Percent_Dev) (#568)
-BNB_D = BNB_Total * split_D / 100 (#569)
Consider ordering multiplication before division.
Additional information: link
ShinjiruInu._transfer(address,address,uint256).isBuy (#527) 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
ShinjiruInu.addLiquidity(uint256,uint256) (#598-609) ignores return value by uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#601-608)
Ensure that all the return values of the function calls are used.
Additional information: link
Reentrancy in ShinjiruInu.constructor() (#402-423):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#412-413)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#416)
- _isExcludedFromFee[address(this)] = true (#417)
- _isExcludedFromFee[Wallet_Marketing] = true (#418)
- _isExcludedFromFee[Wallet_Burn] = true (#419)
- uniswapV2Router = _uniswapV2Router (#414)
Reentrancy in ShinjiruInu.swapAndLiquify(uint256) (#550-580):
External calls:
- swapTokensForBNB(tokens_to_LP_Half + tokens_to_M + tokens_to_D) (#562)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#588-594)
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#572)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#601-608)
External calls sending eth:
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#572)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#601-608)
State variables written after the call(s):
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#572)
- _allowances[theOwner][theSpender] = amount (#486)
Reentrancy in ShinjiruInu.transferFrom(address,address,uint256) (#459-463):
External calls:
- _transfer(sender,recipient,amount) (#460)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#601-608)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#588-594)
External calls sending eth:
- _transfer(sender,recipient,amount) (#460)
- wallet.transfer(amount) (#545)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#601-608)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#461)
- _allowances[theOwner][theSpender] = amount (#486)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ShinjiruInu._transfer(address,address,uint256) (#491-542):
External calls:
- swapAndLiquify(contractTokenBalance) (#523)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#601-608)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#588-594)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#523)
- wallet.transfer(amount) (#545)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#601-608)
Event emitted after the call(s):
- Transfer(sender,recipient,tAmount) (#627)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#540)
- Transfer(sender,recipient,tTransferAmount) (#640)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#540)
- Transfer(sender,recipient,tTransferAmount_scope_0) (#653)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#540)
Reentrancy in ShinjiruInu.constructor() (#402-423):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#412-413)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (#421)
Reentrancy in ShinjiruInu.swapAndLiquify(uint256) (#550-580):
External calls:
- swapTokensForBNB(tokens_to_LP_Half + tokens_to_M + tokens_to_D) (#562)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#588-594)
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#572)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#601-608)
External calls sending eth:
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#572)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#601-608)
Event emitted after the call(s):
- Approval(theOwner,theSpender,amount) (#487)
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#572)
- SwapAndLiquify(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D),tokens_to_LP_Half) (#573)
Reentrancy in ShinjiruInu.transferFrom(address,address,uint256) (#459-463):
External calls:
- _transfer(sender,recipient,amount) (#460)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#601-608)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#588-594)
External calls sending eth:
- _transfer(sender,recipient,amount) (#460)
- wallet.transfer(amount) (#545)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#601-608)
Event emitted after the call(s):
- Approval(theOwner,theSpender,amount) (#487)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#461)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#69-73) uses assembly
- INLINE ASM (#71)
Address._verifyCallResult(bool,bytes,string) (#121-134) uses assembly
- INLINE ASM (#126-129)
Do not use evm assembly.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#121-134) is never used and should be removed
Address.functionCall(address,bytes) (#81-83) is never used and should be removed
Address.functionCall(address,bytes,string) (#85-87) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#89-91) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#93-98) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#111-113) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#115-119) is never used and should be removed
Address.functionStaticCall(address,bytes) (#100-102) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#104-108) is never used and should be removed
Address.isContract(address) (#69-73) is never used and should be removed
Address.sendValue(address,uint256) (#75-79) is never used and should be removed
Context._msgData() (#60-63) is never used and should be removed
SafeMath.div(uint256,uint256) (#34-36) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#45-50) is never used and should be removed
SafeMath.mul(uint256,uint256) (#30-32) is never used and should be removed
SafeMath.sub(uint256,uint256) (#26-28) is never used and should be removed
ShinjiruInu._getCurrentSupply() (#477-479) is never used and should be removed
Remove unused functions.
Additional information: link
ShinjiruInu._maxWalletToken (#376) is set pre-construction with a non-constant function or state variable:
- _tTotal * 100 / 100
ShinjiruInu._previousMaxWalletToken (#377) is set pre-construction with a non-constant function or state variable:
- _maxWalletToken
ShinjiruInu._maxTxAmount (#379) is set pre-construction with a non-constant function or state variable:
- _tTotal * 100 / 100
ShinjiruInu._previousMaxTxAmount (#380) 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 (#5) 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) (#75-79):
- (success) = recipient.call{value: amount}() (#77)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#93-98):
- (success,returndata) = target.call{value: value}(data) (#96)
Low level call in Address.functionStaticCall(address,bytes,string) (#104-108):
- (success,returndata) = target.staticcall(data) (#106)
Low level call in Address.functionDelegateCall(address,bytes,string) (#115-119):
- (success,returndata) = target.delegatecall(data) (#117)
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() (#163) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#164) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#177) is not in mixedCase
Function IUniswapV2Router01.WETH() (#194) is not in mixedCase
Parameter ShinjiruInu.addLiquidity(uint256,uint256).BNBAmount (#598) is not in mixedCase
Function ShinjiruInu.remove_Random_Tokens(address,uint256) (#611-617) is not in mixedCase
Parameter ShinjiruInu.remove_Random_Tokens(address,uint256).random_Token_Address (#611) is not in mixedCase
Parameter ShinjiruInu.remove_Random_Tokens(address,uint256).percent_of_Tokens (#611) is not in mixedCase
Variable ShinjiruInu._isExcludedFromFee (#352) is not in mixedCase
Variable ShinjiruInu.Wallet_Marketing (#354) is not in mixedCase
Variable ShinjiruInu.Wallet_Dev (#355) is not in mixedCase
Constant ShinjiruInu.Wallet_Burn (#356) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ShinjiruInu._decimals (#360) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ShinjiruInu._name (#362) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ShinjiruInu._symbol (#363) is not in UPPER_CASE_WITH_UNDERSCORES
Variable ShinjiruInu._Tax_On_Buy (#368) is not in mixedCase
Variable ShinjiruInu._Tax_On_Sell (#369) is not in mixedCase
Variable ShinjiruInu.Percent_Marketing (#371) is not in mixedCase
Variable ShinjiruInu.Percent_Dev (#372) is not in mixedCase
Variable ShinjiruInu.Percent_Burn (#373) is not in mixedCase
Variable ShinjiruInu.Percent_AutoLP (#374) is not in mixedCase
Variable ShinjiruInu._maxWalletToken (#376) is not in mixedCase
Variable ShinjiruInu._maxTxAmount (#379) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#61)" inContext (#55-64)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in ShinjiruInu._transfer(address,address,uint256) (#491-542):
External calls:
- swapAndLiquify(contractTokenBalance) (#523)
- wallet.transfer(amount) (#545)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#523)
- wallet.transfer(amount) (#545)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#601-608)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#540)
- _tOwned[sender] = _tOwned[sender] - tAmount (#625)
- _tOwned[recipient] = _tOwned[recipient] + tAmount (#626)
- _tOwned[sender] = _tOwned[sender] - tAmount (#637)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#638)
- _tOwned[address(this)] = _tOwned[address(this)] + buyFEE (#639)
- _tOwned[sender] = _tOwned[sender] - tAmount (#650)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount_scope_0 (#651)
- _tOwned[address(this)] = _tOwned[address(this)] + sellFEE (#652)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#540)
- _tTotal = _tTotal - tAmount (#630)
- _tTotal = _tTotal - tTransferAmount (#643)
- _tTotal = _tTotal - tTransferAmount_scope_0 (#656)
- txCount ++ (#536)
Event emitted after the call(s):
- Transfer(sender,recipient,tAmount) (#627)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#540)
- Transfer(sender,recipient,tTransferAmount) (#640)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#540)
- Transfer(sender,recipient,tTransferAmount_scope_0) (#653)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#540)
Reentrancy in ShinjiruInu.transferFrom(address,address,uint256) (#459-463):
External calls:
- _transfer(sender,recipient,amount) (#460)
- wallet.transfer(amount) (#545)
External calls sending eth:
- _transfer(sender,recipient,amount) (#460)
- wallet.transfer(amount) (#545)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#601-608)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#461)
- _allowances[theOwner][theSpender] = amount (#486)
Event emitted after the call(s):
- Approval(theOwner,theSpender,amount) (#487)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#461)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#198) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#199)
Variable ShinjiruInu.swapAndLiquify(uint256).tokens_to_D (#558) is too similar to ShinjiruInu.swapAndLiquify(uint256).tokens_to_M (#557)
Prevent variables from having similar names.
Additional information: link
ShinjiruInu.slitherConstructorConstantVariables() (#328-665) uses literals with too many digits:
- Wallet_Burn = address(0x000000000000000000000000000000000000dEaD) (#356)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
ShinjiruInu.MAX (#359) is never used in ShinjiruInu (#328-665)
ShinjiruInu._previousMaxWalletToken (#377) is never used in ShinjiruInu (#328-665)
ShinjiruInu._previousMaxTxAmount (#380) is never used in ShinjiruInu (#328-665)
Remove unused state variables.
Additional information: link
ShinjiruInu.Percent_AutoLP (#374) should be constant
ShinjiruInu.Percent_Burn (#373) should be constant
ShinjiruInu.Percent_Dev (#372) should be constant
ShinjiruInu.Percent_Marketing (#371) should be constant
ShinjiruInu.Wallet_Dev (#355) should be constant
ShinjiruInu.Wallet_Marketing (#354) should be constant
ShinjiruInu._Tax_On_Buy (#368) should be constant
ShinjiruInu._Tax_On_Sell (#369) should be constant
ShinjiruInu.swapAndLiquifyEnabled (#386) should be constant
ShinjiruInu.swapTrigger (#366) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renouncedOwnership() should be declared external:
- ShinjiruInu.renouncedOwnership() (#345-348)
name() should be declared external:
- ShinjiruInu.name() (#425-427)
symbol() should be declared external:
- ShinjiruInu.symbol() (#429-431)
decimals() should be declared external:
- ShinjiruInu.decimals() (#433-435)
totalSupply() should be declared external:
- ShinjiruInu.totalSupply() (#437-439)
transfer(address,uint256) should be declared external:
- ShinjiruInu.transfer(address,uint256) (#445-448)
allowance(address,address) should be declared external:
- ShinjiruInu.allowance(address,address) (#450-452)
approve(address,uint256) should be declared external:
- ShinjiruInu.approve(address,uint256) (#454-457)
transferFrom(address,address,uint256) should be declared external:
- ShinjiruInu.transferFrom(address,address,uint256) (#459-463)
increaseAllowance(address,uint256) should be declared external:
- ShinjiruInu.increaseAllowance(address,uint256) (#465-468)
decreaseAllowance(address,uint256) should be declared external:
- ShinjiruInu.decreaseAllowance(address,uint256) (#470-473)
remove_Random_Tokens(address,uint256) should be declared external:
- ShinjiruInu.remove_Random_Tokens(address,uint256) (#611-617)
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.
Contract has 8% buy tax and 4% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Token is deployed only at one blockchain
Token has only one trading pair
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