NinjaFloki Token Logo

NJF [NinjaFloki] Token

ALERT: honeypot scam

About NJF

Listings

Token 13 months
CoinMarketCap 13 months
white paper

$BUSD Rewards 📝 Contract: 0xf1968d4113e87e88cf50e6f0e1820dcbd29c4a90 🔥 #Audit & #KYC on Website! https://t.co/laWZwRlszP

Laser Scorebeta Last Audit: 23 February 2022

report
Token seems to be a scam (type: honeypot scam).

NinjaFloki.addLiquidity(uint256,uint256) (#1057-1072) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1063-1070)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

NinjaFloki._totalSupply (#701) shadows:
- BEP20._totalSupply (#173)
Remove the state variable shadowing.

Additional information: link

Reentrancy in NinjaFloki._transfer(address,address,uint256) (#917-987):
External calls:
- swapAndSendToFee(marketingTokens) (#939)
- IBEP20(BUSD).transfer(_marketingWalletAddress,newBalance) (#993)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1048-1054)
- swapAndLiquify(swapTokens) (#942)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1063-1070)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1028-1034)
- swapAndSendDividends(sellTokens) (#945)
- success = IBEP20(BUSD).transfer(address(dividendTracker),dividends) (#1077)
- dividendTracker.distributeBUSDDividends(dividends) (#1080)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1048-1054)
External calls sending eth:
- swapAndLiquify(swapTokens) (#942)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1063-1070)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#962)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#263)
- _balances[recipient] = _balances[recipient].add(amount) (#264)
- super._transfer(from,to,amount) (#971)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#263)
- _balances[recipient] = _balances[recipient].add(amount) (#264)
- swapping = false (#947)
Apply the check-effects-interactions pattern.

Additional information: link

NinjaFloki.swapAndSendToFee(uint256) (#989-994) ignores return value by IBEP20(BUSD).transfer(_marketingWalletAddress,newBalance) (#993)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.


Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains


Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.


Combination 2: Unchecked transfer + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.


Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.

NinjaFloki._totalSupply (#701) should be constant
NinjaFloki.deadWallet (#697) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#367-383):
External calls:
- success = IBEP20(BUSD).transfer(user,_withdrawableDividend) (#372)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#375)
Reentrancy in NinjaFloki.updateDividendTracker(address) (#763-778):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#770)
- newDividendTracker.excludeFromDividends(address(this)) (#771)
- newDividendTracker.excludeFromDividends(owner()) (#772)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#773)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#777)
Apply the check-effects-interactions pattern.

Additional information: link

NinjaFloki._transfer(address,address,uint256).claims (#980) is a local variable never initialized
NinjaFloki._transfer(address,address,uint256).lastProcessedIndex (#980) is a local variable never initialized
NinjaFloki._transfer(address,address,uint256).iterations (#980) 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

NinjaFloki.claim() (#904-906) ignores return value by dividendTracker.processAccount(msg.sender,false) (#905)
NinjaFloki._transfer(address,address,uint256) (#917-987) ignores return value by dividendTracker.process(gas) (#980-985)
NinjaFloki.addLiquidity(uint256,uint256) (#1057-1072) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1063-1070)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string)._name (#344) shadows:
- BEP20._name (#174) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#344) shadows:
- BEP20._symbol (#175) (state variable)
DividendPayingToken.dividendOf(address)._owner (#386) shadows:
- Ownable._owner (#37) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#391) shadows:
- Ownable._owner (#37) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#395) shadows:
- Ownable._owner (#37) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#399) shadows:
- Ownable._owner (#37) (state variable)
Rename the local variables that shadow another component.

Additional information: link

NinjaFloki.setBUSDRewardsFee(uint256) (#801-804) should emit an event for:
- BUSDRewardsFee = value (#802)
- totalFees = BUSDRewardsFee.add(liquidityFee).add(marketingFee) (#803)
NinjaFloki.setLiquiditFee(uint256) (#806-809) should emit an event for:
- liquidityFee = value (#807)
- totalFees = BUSDRewardsFee.add(liquidityFee).add(marketingFee) (#808)
NinjaFloki.setMarketingFee(uint256) (#811-815) should emit an event for:
- marketingFee = value (#812)
- totalFees = BUSDRewardsFee.add(liquidityFee).add(marketingFee) (#813)
NinjaFloki.setMaxWalletLimit(uint256) (#1120-1123) should emit an event for:
- maxLimit = amount (#1122)
NinjaFloki.setSellLimitRate(uint256) (#1154-1157) should emit an event for:
- sellLimitRate = _percentage (#1156)
NinjaFloki.setSellCooldownperiod(uint256) (#1159-1162) should emit an event for:
- sellCooldownperiod = _seconds (#1161)
Emit an event for critical parameter changes.

Additional information: link

NinjaFloki.updateUniswapV2Router(address)._uniswapV2Pair (#784-785) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#786)
NinjaFloki.setMarketingWallet(address).wallet (#797) lacks a zero-check on :
- _marketingWalletAddress = wallet (#798)
Check that the address is not zero.

Additional information: link

DividendPayingToken._withdrawDividendOfUser(address) (#367-383) has external calls inside a loop: success = IBEP20(BUSD).transfer(user,_withdrawableDividend) (#372)
Favor pull over push strategy for external calls.

Additional information: link

Variable 'NinjaFloki._transfer(address,address,uint256).iterations (#980)' in NinjaFloki._transfer(address,address,uint256) (#917-987) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#981)
Variable 'NinjaFloki._transfer(address,address,uint256).lastProcessedIndex (#980)' in NinjaFloki._transfer(address,address,uint256) (#917-987) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#981)
Variable 'NinjaFloki._transfer(address,address,uint256).claims (#980)' in NinjaFloki._transfer(address,address,uint256) (#917-987) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#981)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#54-57)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#59-63)
name() should be declared external:
- BEP20.name() (#185-187)
symbol() should be declared external:
- BEP20.symbol() (#193-195)
decimals() should be declared external:
- BEP20.decimals() (#197-199)
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (#216-219)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#221-223)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#225-228)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#230-238)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#241-244)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#247-250)
distributeBUSDDividends(uint256) should be declared external:
- DividendPayingToken.distributeBUSDDividends(uint256) (#349-360)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#362-364)
- NinjaFlokiDividendTracker.withdrawDividend() (#1196-1198)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#386-388)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#395-397)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#450-452)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#454-459)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#461-463)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#467-469)
updateDividendTracker(address) should be declared external:
- NinjaFloki.updateDividendTracker(address) (#763-778)
updateUniswapV2Router(address) should be declared external:
- NinjaFloki.updateUniswapV2Router(address) (#780-787)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- NinjaFloki.setAutomatedMarketMakerPair(address,bool) (#818-822)
updateGasForProcessing(uint256) should be declared external:
- NinjaFloki.updateGasForProcessing(uint256) (#838-843)
isWhiteListed(address) should be declared external:
- NinjaFloki.isWhiteListed(address) (#857-859)
withdrawableDividendOf(address) should be declared external:
- NinjaFloki.withdrawableDividendOf(address) (#861-863)
dividendTokenBalanceOf(address) should be declared external:
- NinjaFloki.dividendTokenBalanceOf(address) (#865-867)
setMaxWalletLimit(uint256) should be declared external:
- NinjaFloki.setMaxWalletLimit(uint256) (#1120-1123)
getAccountAtIndex(uint256) should be declared external:
- NinjaFlokiDividendTracker.getAccountAtIndex(uint256) (#1272-1289)
process(uint256) should be declared external:
- NinjaFlokiDividendTracker.process(uint256) (#1316-1361)
Use the external attribute for functions never called from the contract.

Additional information: link

Reentrancy in NinjaFloki._transfer(address,address,uint256) (#917-987):
External calls:
- swapAndSendToFee(marketingTokens) (#939)
- IBEP20(BUSD).transfer(_marketingWalletAddress,newBalance) (#993)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1048-1054)
- swapAndLiquify(swapTokens) (#942)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1063-1070)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1028-1034)
External calls sending eth:
- swapAndLiquify(swapTokens) (#942)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1063-1070)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#942)
- _allowances[owner][spender] = amount (#299)
Reentrancy in NinjaFloki._transfer(address,address,uint256) (#917-987):
External calls:
- swapAndSendToFee(marketingTokens) (#939)
- IBEP20(BUSD).transfer(_marketingWalletAddress,newBalance) (#993)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1048-1054)
- swapAndLiquify(swapTokens) (#942)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1063-1070)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1028-1034)
- swapAndSendDividends(sellTokens) (#945)
- success = IBEP20(BUSD).transfer(address(dividendTracker),dividends) (#1077)
- dividendTracker.distributeBUSDDividends(dividends) (#1080)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1048-1054)
External calls sending eth:
- swapAndLiquify(swapTokens) (#942)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1063-1070)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#945)
- _allowances[owner][spender] = amount (#299)
- checkForCoolDown(from,to,amount) (#960)
- lastTxnTimeStamp[from] = block.timestamp (#1150)
Reentrancy in NinjaFloki.constructor() (#725-757):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#731-732)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#735)
- uniswapV2Router = _uniswapV2Router (#734)
Reentrancy in NinjaFloki.constructor() (#725-757):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#731-732)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#737)
- dividendTracker.excludeFromDividends(pair) (#831)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#740)
- dividendTracker.excludeFromDividends(address(this)) (#741)
- dividendTracker.excludeFromDividends(owner()) (#742)
- dividendTracker.excludeFromDividends(deadWallet) (#743)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#744)
State variables written after the call(s):
- _mint(owner(),_totalSupply) (#756)
- _balances[account] = _balances[account].add(amount) (#275)
- includeInWhiteList(owner(),true) (#747)
- _isExcludedFromWhale[account] = excluded (#792)
- includeInWhiteList(_marketingWalletAddress,true) (#748)
- _isExcludedFromWhale[account] = excluded (#792)
- includeInWhiteList(address(this),true) (#749)
- _isExcludedFromWhale[account] = excluded (#792)
- excludeWalletsFromWhales() (#751)
- _isExcludedFromWhale[owner()] = true (#1092)
- _isExcludedFromWhale[address(this)] = true (#1093)
- _isExcludedFromWhale[address(0)] = true (#1094)
- _isExcludedFromWhale[uniswapV2Pair] = true (#1095)
- includeInWhiteList(owner(),true) (#747)
- _isWhiteListed[account] = excluded (#791)
- includeInWhiteList(_marketingWalletAddress,true) (#748)
- _isWhiteListed[account] = excluded (#791)
- includeInWhiteList(address(this),true) (#749)
- _isWhiteListed[account] = excluded (#791)
- _mint(owner(),_totalSupply) (#756)
- _totalSupply = _totalSupply.add(amount) (#274)
Reentrancy in NinjaFlokiDividendTracker.processAccount(address,bool) (#1363-1372):
External calls:
- amount = _withdrawDividendOfUser(account) (#1364)
- success = IBEP20(BUSD).transfer(user,_withdrawableDividend) (#372)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1367)
Reentrancy in NinjaFloki.swapAndLiquify(uint256) (#996-1015):
External calls:
- swapTokensForEth(half) (#1007)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1028-1034)
- addLiquidity(otherHalf,newBalance) (#1012)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1063-1070)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1012)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1063-1070)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1012)
- _allowances[owner][spender] = amount (#299)
Reentrancy in NinjaFloki.updateUniswapV2Router(address) (#780-787):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#784-785)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#786)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in NinjaFloki._setAutomatedMarketMakerPair(address,bool) (#826-835):
External calls:
- dividendTracker.excludeFromDividends(pair) (#831)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#834)
Reentrancy in NinjaFloki._transfer(address,address,uint256) (#917-987):
External calls:
- swapAndSendToFee(marketingTokens) (#939)
- IBEP20(BUSD).transfer(_marketingWalletAddress,newBalance) (#993)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1048-1054)
- swapAndLiquify(swapTokens) (#942)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1063-1070)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1028-1034)
External calls sending eth:
- swapAndLiquify(swapTokens) (#942)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1063-1070)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#300)
- swapAndLiquify(swapTokens) (#942)
- SwapAndLiquify(half,newBalance,otherHalf) (#1014)
- swapAndLiquify(swapTokens) (#942)
Reentrancy in NinjaFloki._transfer(address,address,uint256) (#917-987):
External calls:
- swapAndSendToFee(marketingTokens) (#939)
- IBEP20(BUSD).transfer(_marketingWalletAddress,newBalance) (#993)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1048-1054)
- swapAndLiquify(swapTokens) (#942)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1063-1070)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1028-1034)
- swapAndSendDividends(sellTokens) (#945)
- success = IBEP20(BUSD).transfer(address(dividendTracker),dividends) (#1077)
- dividendTracker.distributeBUSDDividends(dividends) (#1080)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1048-1054)
External calls sending eth:
- swapAndLiquify(swapTokens) (#942)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1063-1070)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#300)
- swapAndSendDividends(sellTokens) (#945)
- SendDividends(tokens,dividends) (#1081)
- swapAndSendDividends(sellTokens) (#945)
- Transfer(sender,recipient,amount) (#265)
- super._transfer(from,address(this),fees) (#962)
- Transfer(sender,recipient,amount) (#265)
- super._transfer(from,to,amount) (#971)
Reentrancy in NinjaFloki._transfer(address,address,uint256) (#917-987):
External calls:
- swapAndSendToFee(marketingTokens) (#939)
- IBEP20(BUSD).transfer(_marketingWalletAddress,newBalance) (#993)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1048-1054)
- swapAndLiquify(swapTokens) (#942)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1063-1070)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1028-1034)
- swapAndSendDividends(sellTokens) (#945)
- success = IBEP20(BUSD).transfer(address(dividendTracker),dividends) (#1077)
- dividendTracker.distributeBUSDDividends(dividends) (#1080)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1048-1054)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#974)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#975)
- dividendTracker.process(gas) (#980-985)
External calls sending eth:
- swapAndLiquify(swapTokens) (#942)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1063-1070)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#981)
Reentrancy in NinjaFloki.constructor() (#725-757):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#731-732)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#737)
- dividendTracker.excludeFromDividends(pair) (#831)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#834)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#737)
Reentrancy in NinjaFloki.constructor() (#725-757):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#731-732)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#737)
- dividendTracker.excludeFromDividends(pair) (#831)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#740)
- dividendTracker.excludeFromDividends(address(this)) (#741)
- dividendTracker.excludeFromDividends(owner()) (#742)
- dividendTracker.excludeFromDividends(deadWallet) (#743)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#744)
Event emitted after the call(s):
- IncludeInWhiteList(account,excluded) (#794)
- includeInWhiteList(_marketingWalletAddress,true) (#748)
- IncludeInWhiteList(account,excluded) (#794)
- includeInWhiteList(owner(),true) (#747)
- IncludeInWhiteList(account,excluded) (#794)
- includeInWhiteList(address(this),true) (#749)
- Transfer(address(0),account,amount) (#276)
- _mint(owner(),_totalSupply) (#756)
Reentrancy in NinjaFlokiDividendTracker.processAccount(address,bool) (#1363-1372):
External calls:
- amount = _withdrawDividendOfUser(account) (#1364)
- success = IBEP20(BUSD).transfer(user,_withdrawableDividend) (#372)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1368)
Reentrancy in NinjaFloki.processDividendTracker(uint256) (#899-902):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#900)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#901)
Reentrancy in NinjaFloki.swapAndLiquify(uint256) (#996-1015):
External calls:
- swapTokensForEth(half) (#1007)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1028-1034)
- addLiquidity(otherHalf,newBalance) (#1012)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1063-1070)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1012)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1063-1070)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#300)
- addLiquidity(otherHalf,newBalance) (#1012)
- SwapAndLiquify(half,newBalance,otherHalf) (#1014)
Reentrancy in NinjaFloki.swapAndSendDividends(uint256) (#1074-1083):
External calls:
- swapTokensForBUSD(tokens) (#1075)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1048-1054)
- success = IBEP20(BUSD).transfer(address(dividendTracker),dividends) (#1077)
- dividendTracker.distributeBUSDDividends(dividends) (#1080)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#1081)
Reentrancy in NinjaFloki.updateDividendTracker(address) (#763-778):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#770)
- newDividendTracker.excludeFromDividends(address(this)) (#771)
- newDividendTracker.excludeFromDividends(owner()) (#772)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#773)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#775)
Apply the check-effects-interactions pattern.

Additional information: link

NinjaFloki.checkForCoolDown(address,address,uint256) (#1140-1152) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(coolDownTimestamp < block.timestamp,Wait till one hour Cool Down Pd) (#1148)
NinjaFlokiDividendTracker.getAccount(address) (#1227-1270) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1267-1269)
NinjaFlokiDividendTracker.canAutoClaim(uint256) (#1291-1297) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1292)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1296)
Avoid relying on block.timestamp.

Additional information: link

Context._msgData() (#30-33) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#404-410) is never used and should be removed
SafeMath.mod(uint256,uint256) (#111-113) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#116-119) is never used and should be removed
SafeMathInt.abs(int256) (#149-152) is never used and should be removed
SafeMathInt.div(int256,int256) (#132-135) is never used and should be removed
SafeMathInt.mul(int256,int256) (#125-130) is never used and should be removed
Remove unused functions.

Additional information: link

NinjaFloki.swapTokensAtAmount (#702) is set pre-construction with a non-constant function or state variable:
- _totalSupply.div(1000_000)
NinjaFloki.totalFees (#708) is set pre-construction with a non-constant function or state variable:
- BUSDRewardsFee.add(liquidityFee).add(marketingFee)
NinjaFloki.maxLimit (#1088) is set pre-construction with a non-constant function or state variable:
- _totalSupply.div(100)
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

Parameter DividendPayingToken.dividendOf(address)._owner (#386) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#391) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#395) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#399) is not in mixedCase
Variable DividendPayingToken.BUSD (#336) is not in mixedCase
Constant DividendPayingToken.magnitude (#337) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Router01.WETH() (#505) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#662) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#663) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#670) is not in mixedCase
Parameter NinjaFloki.setSellLimitRate(uint256)._percentage (#1154) is not in mixedCase
Parameter NinjaFloki.setSellCooldownperiod(uint256)._seconds (#1159) is not in mixedCase
Variable NinjaFloki._totalSupply (#701) is not in mixedCase
Variable NinjaFloki.BUSD (#699) is not in mixedCase
Variable NinjaFloki.BUSDRewardsFee (#704) is not in mixedCase
Variable NinjaFloki._marketingWalletAddress (#710) is not in mixedCase
Parameter NinjaFlokiDividendTracker.getAccount(address)._account (#1227) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#31)" inContext (#25-34)
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 (#509) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#510)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#368) is too similar to NinjaFlokiDividendTracker.getAccount(address).withdrawableDividends (#1232)
Prevent variables from having similar names.

Additional information: link

NinjaFloki.updateGasForProcessing(uint256) (#838-843) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,NinjaFloki: gasForProcessing must be between 200,000 and 500,000) (#839)
NinjaFloki.slitherConstructorVariables() (#687-1165) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#697)
NinjaFloki.slitherConstructorVariables() (#687-1165) uses literals with too many digits:
- gasForProcessing = 300000 (#712)
NinjaFlokiDividendTracker.constructor() (#1187-1190) uses literals with too many digits:
- minimumTokenBalanceForDividends = 200000 * (10 ** 18) (#1189)
NinjaFlokiDividendTracker.getAccountAtIndex(uint256) (#1272-1289) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1283)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (#124) is never used in SafeMathInt (#122-158)
Remove unused state variables.

Additional information: link

Holders:


Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.


Average 30d PancakeSwap volume is low.


Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.


Token is deployed only at one blockchain

Contract has 9% buy tax and 9% sell tax.
Taxes are low and contract ownership is renounced.


Unable to find PancakeSwap trading pair to compute liquidity.


Unable to find PancakeSwap trading pair to compute number of swaps.


Last post in Twitter was more than 30 days ago


Unable to find Discord account


Unable to find token on CoinGecko

Additional information: link


Unable to find token on CoinHunt

Additional information: link


Token is marked as scam (rug pull, honeypot, phishing, etc.)

Additional information: link


Young tokens have high risks of price dump / death


Token has no active CoinGecko listing / rank


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Token has relatively low CoinMarketCap rank

Price for NJF

News for NJF