Ninjiru is the older brother of both shinjiru and eijiru.As Ninjiru explores the BSC world to fight rugpulls and scams, he hopes to finally seek the peace he long waiting for.
Ninjiru Inu is a token on the Binance Smart Chain that never stops growing through TRUE deflationary techniques and further income generation for its ecosystem.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in Ninjiru._transfer(address,address,uint256) (#489-540):
External calls:
- swapAndLiquify(contractTokenBalance) (#521)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#586-592)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#521)
- wallet.transfer(amount) (#543)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#538)
- _tOwned[sender] = _tOwned[sender] - tAmount (#623)
- _tOwned[recipient] = _tOwned[recipient] + tAmount (#624)
- _tOwned[sender] = _tOwned[sender] - tAmount (#635)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#636)
- _tOwned[address(this)] = _tOwned[address(this)] + buyFEE (#637)
- _tOwned[sender] = _tOwned[sender] - tAmount (#648)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount_scope_0 (#649)
- _tOwned[address(this)] = _tOwned[address(this)] + sellFEE (#650)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#538)
- _tTotal = _tTotal - tAmount (#628)
- _tTotal = _tTotal - tTransferAmount (#641)
- _tTotal = _tTotal - tTransferAmount_scope_0 (#654)
- txCount ++ (#534)
Apply the check-effects-interactions pattern.
Additional information: link
Ninjiru._transfer(address,address,uint256).isBuy (#525) 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
Reentrancy in Ninjiru.constructor() (#400-421):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#410-411)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#414)
- _isExcludedFromFee[address(this)] = true (#415)
- _isExcludedFromFee[Wallet_Marketing] = true (#416)
- _isExcludedFromFee[Wallet_Burn] = true (#417)
- uniswapV2Router = _uniswapV2Router (#412)
Reentrancy in Ninjiru.swapAndLiquify(uint256) (#548-578):
External calls:
- swapTokensForBNB(tokens_to_LP_Half + tokens_to_M + tokens_to_D) (#560)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#586-592)
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#570)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
External calls sending eth:
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#570)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
State variables written after the call(s):
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#570)
- _allowances[theOwner][theSpender] = amount (#484)
Reentrancy in Ninjiru.transferFrom(address,address,uint256) (#457-461):
External calls:
- _transfer(sender,recipient,amount) (#458)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#586-592)
External calls sending eth:
- _transfer(sender,recipient,amount) (#458)
- wallet.transfer(amount) (#543)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#459)
- _allowances[theOwner][theSpender] = amount (#484)
Apply the check-effects-interactions pattern.
Additional information: link
Redundant expression "this (#59)" inContext (#53-62)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#196) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#197)
Variable Ninjiru.swapAndLiquify(uint256).tokens_to_D (#556) is too similar to Ninjiru.swapAndLiquify(uint256).tokens_to_M (#555)
Prevent variables from having similar names.
Additional information: link
Ninjiru.slitherConstructorConstantVariables() (#326-663) uses literals with too many digits:
- Wallet_Burn = address(0x000000000000000000000000000000000000dEaD) (#354)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ninjiru.MAX (#357) is never used in Ninjiru (#326-663)
Ninjiru._previousMaxWalletToken (#375) is never used in Ninjiru (#326-663)
Ninjiru._previousMaxTxAmount (#378) is never used in Ninjiru (#326-663)
Remove unused state variables.
Additional information: link
Ninjiru.Percent_AutoLP (#372) should be constant
Ninjiru.Percent_Burn (#371) should be constant
Ninjiru.Percent_Dev (#370) should be constant
Ninjiru.Percent_Marketing (#369) should be constant
Ninjiru.Wallet_Dev (#353) should be constant
Ninjiru.Wallet_Marketing (#352) should be constant
Ninjiru._Tax_On_Buy (#366) should be constant
Ninjiru._Tax_On_Sell (#367) should be constant
Ninjiru.swapAndLiquifyEnabled (#384) should be constant
Ninjiru.swapTrigger (#364) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
Ninjiru.swapAndLiquify(uint256) (#548-578) performs a multiplication on the result of a division:
-split_M = Percent_Marketing * 100 / (Percent_AutoLP + Percent_Marketing + Percent_Dev) (#563)
-BNB_M = BNB_Total * split_M / 100 (#564)
Ninjiru.swapAndLiquify(uint256) (#548-578) performs a multiplication on the result of a division:
-split_D = Percent_Dev * 100 / (Percent_AutoLP + Percent_Marketing + Percent_Dev) (#566)
-BNB_D = BNB_Total * split_D / 100 (#567)
Consider ordering multiplication before division.
Additional information: link
Ninjiru.addLiquidity(uint256,uint256) (#596-607) ignores return value by uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
Ensure that all the return values of the function calls are used.
Additional information: link
Reentrancy in Ninjiru._transfer(address,address,uint256) (#489-540):
External calls:
- swapAndLiquify(contractTokenBalance) (#521)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#586-592)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#521)
- wallet.transfer(amount) (#543)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
Event emitted after the call(s):
- Transfer(sender,recipient,tAmount) (#625)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#538)
- Transfer(sender,recipient,tTransferAmount) (#638)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#538)
- Transfer(sender,recipient,tTransferAmount_scope_0) (#651)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#538)
Reentrancy in Ninjiru.constructor() (#400-421):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#410-411)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (#419)
Reentrancy in Ninjiru.swapAndLiquify(uint256) (#548-578):
External calls:
- swapTokensForBNB(tokens_to_LP_Half + tokens_to_M + tokens_to_D) (#560)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#586-592)
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#570)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
External calls sending eth:
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#570)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
Event emitted after the call(s):
- Approval(theOwner,theSpender,amount) (#485)
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#570)
- SwapAndLiquify(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D),tokens_to_LP_Half) (#571)
Reentrancy in Ninjiru.transferFrom(address,address,uint256) (#457-461):
External calls:
- _transfer(sender,recipient,amount) (#458)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#586-592)
External calls sending eth:
- _transfer(sender,recipient,amount) (#458)
- wallet.transfer(amount) (#543)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
Event emitted after the call(s):
- Approval(theOwner,theSpender,amount) (#485)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#459)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#67-71) uses assembly
- INLINE ASM (#69)
Address._verifyCallResult(bool,bytes,string) (#119-132) uses assembly
- INLINE ASM (#124-127)
Do not use evm assembly.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#119-132) is never used and should be removed
Address.functionCall(address,bytes) (#79-81) is never used and should be removed
Address.functionCall(address,bytes,string) (#83-85) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#87-89) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#91-96) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#109-111) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#113-117) is never used and should be removed
Address.functionStaticCall(address,bytes) (#98-100) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#102-106) is never used and should be removed
Address.isContract(address) (#67-71) is never used and should be removed
Address.sendValue(address,uint256) (#73-77) is never used and should be removed
Context._msgData() (#58-61) is never used and should be removed
Ninjiru._getCurrentSupply() (#475-477) is never used and should be removed
SafeMath.div(uint256,uint256) (#32-34) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#43-48) is never used and should be removed
SafeMath.mul(uint256,uint256) (#28-30) is never used and should be removed
SafeMath.sub(uint256,uint256) (#24-26) is never used and should be removed
Remove unused functions.
Additional information: link
Ninjiru._maxWalletToken (#374) is set pre-construction with a non-constant function or state variable:
- _tTotal * 2 / 100
Ninjiru._previousMaxWalletToken (#375) is set pre-construction with a non-constant function or state variable:
- _maxWalletToken
Ninjiru._maxTxAmount (#377) is set pre-construction with a non-constant function or state variable:
- _tTotal * 1 / 100
Ninjiru._previousMaxTxAmount (#378) 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 (#3) 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) (#73-77):
- (success) = recipient.call{value: amount}() (#75)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#91-96):
- (success,returndata) = target.call{value: value}(data) (#94)
Low level call in Address.functionStaticCall(address,bytes,string) (#102-106):
- (success,returndata) = target.staticcall(data) (#104)
Low level call in Address.functionDelegateCall(address,bytes,string) (#113-117):
- (success,returndata) = target.delegatecall(data) (#115)
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() (#161) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#162) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#175) is not in mixedCase
Function IUniswapV2Router01.WETH() (#192) is not in mixedCase
Parameter Ninjiru.addLiquidity(uint256,uint256).BNBAmount (#596) is not in mixedCase
Function Ninjiru.remove_Random_Tokens(address,uint256) (#609-615) is not in mixedCase
Parameter Ninjiru.remove_Random_Tokens(address,uint256).random_Token_Address (#609) is not in mixedCase
Parameter Ninjiru.remove_Random_Tokens(address,uint256).percent_of_Tokens (#609) is not in mixedCase
Variable Ninjiru._isExcludedFromFee (#350) is not in mixedCase
Variable Ninjiru.Wallet_Marketing (#352) is not in mixedCase
Variable Ninjiru.Wallet_Dev (#353) is not in mixedCase
Constant Ninjiru.Wallet_Burn (#354) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Ninjiru._decimals (#358) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Ninjiru._name (#360) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Ninjiru._symbol (#361) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Ninjiru._Tax_On_Buy (#366) is not in mixedCase
Variable Ninjiru._Tax_On_Sell (#367) is not in mixedCase
Variable Ninjiru.Percent_Marketing (#369) is not in mixedCase
Variable Ninjiru.Percent_Dev (#370) is not in mixedCase
Variable Ninjiru.Percent_Burn (#371) is not in mixedCase
Variable Ninjiru.Percent_AutoLP (#372) is not in mixedCase
Variable Ninjiru._maxWalletToken (#374) is not in mixedCase
Variable Ninjiru._maxTxAmount (#377) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in Ninjiru._transfer(address,address,uint256) (#489-540):
External calls:
- swapAndLiquify(contractTokenBalance) (#521)
- wallet.transfer(amount) (#543)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#521)
- wallet.transfer(amount) (#543)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#538)
- _tOwned[sender] = _tOwned[sender] - tAmount (#623)
- _tOwned[recipient] = _tOwned[recipient] + tAmount (#624)
- _tOwned[sender] = _tOwned[sender] - tAmount (#635)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#636)
- _tOwned[address(this)] = _tOwned[address(this)] + buyFEE (#637)
- _tOwned[sender] = _tOwned[sender] - tAmount (#648)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount_scope_0 (#649)
- _tOwned[address(this)] = _tOwned[address(this)] + sellFEE (#650)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#538)
- _tTotal = _tTotal - tAmount (#628)
- _tTotal = _tTotal - tTransferAmount (#641)
- _tTotal = _tTotal - tTransferAmount_scope_0 (#654)
- txCount ++ (#534)
Event emitted after the call(s):
- Transfer(sender,recipient,tAmount) (#625)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#538)
- Transfer(sender,recipient,tTransferAmount) (#638)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#538)
- Transfer(sender,recipient,tTransferAmount_scope_0) (#651)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#538)
Reentrancy in Ninjiru.transferFrom(address,address,uint256) (#457-461):
External calls:
- _transfer(sender,recipient,amount) (#458)
- wallet.transfer(amount) (#543)
External calls sending eth:
- _transfer(sender,recipient,amount) (#458)
- wallet.transfer(amount) (#543)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#459)
- _allowances[theOwner][theSpender] = amount (#484)
Event emitted after the call(s):
- Approval(theOwner,theSpender,amount) (#485)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#459)
Apply the check-effects-interactions pattern.
Additional information: link
renounceOwnership() should be declared external:
- Ninjiru.renounceOwnership() (#343-346)
name() should be declared external:
- Ninjiru.name() (#423-425)
symbol() should be declared external:
- Ninjiru.symbol() (#427-429)
decimals() should be declared external:
- Ninjiru.decimals() (#431-433)
totalSupply() should be declared external:
- Ninjiru.totalSupply() (#435-437)
transfer(address,uint256) should be declared external:
- Ninjiru.transfer(address,uint256) (#443-446)
allowance(address,address) should be declared external:
- Ninjiru.allowance(address,address) (#448-450)
approve(address,uint256) should be declared external:
- Ninjiru.approve(address,uint256) (#452-455)
transferFrom(address,address,uint256) should be declared external:
- Ninjiru.transferFrom(address,address,uint256) (#457-461)
increaseAllowance(address,uint256) should be declared external:
- Ninjiru.increaseAllowance(address,uint256) (#463-466)
decreaseAllowance(address,uint256) should be declared external:
- Ninjiru.decreaseAllowance(address,uint256) (#468-471)
remove_Random_Tokens(address,uint256) should be declared external:
- Ninjiru.remove_Random_Tokens(address,uint256) (#609-615)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to find KYC or doxxing proof
Unable to find audit link on the website
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Telegram account has less than 100 subscribers
Twitter account has relatively few followers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account