KingFloki Token Logo

KING [KingFloki] Token

ALERT: honeypot scam

About KING

Listings

Token 2 years

King Floki is a newly built token on the Binance Smart Chain, which has reflections for holders, a weekly lottery system & a huge marketing budget to provide mass growth from the moment they launched on 20/11/2021 by a team based primarily in the UK. $KING long term is going to be creating debit cards which holders can use and pay for items for by holding $KING tokens. Along with this the weekly lottery system will continue to run, rewarding holders with amazing prizes such as watches, holidays and huge cash prizes.

King Floki also plans to release an NFT trading platform which beats the fees and has a much better layout than other platforms out there, within 2 hours of launch on the 20th November 2021 they reached over 1 million volume and had already 5x'd in value.

Out of every buy transaction 2% will automatically be redistributed among $KING holders, on a sell transaction this will turn into 3%. This rewards holders for their faith and patience with the token // 3% of each buy, and 4% of each sell transaction is automatically sent to the lottery wallet this feature allows for weekly giveaways to holders of the token. For every 0.25 BNB of $KING a person holds they will receive one entry into the weekly lottery for a range of prizes such as holidays, luxury watches and even cars // 3% of each buy & 4% of each sell transaction is automatically added back into the liquidity pool. This is essential for any tradeable asset especially crypto tokens // 3% of each buy & 4% of each sell transaction will be automatically sent in BNB (to not dump the price further) to a wallet which is going to be used strictly for further marketing of the coin.

Social

Laser Scorebeta Last Audit: 29 January 2022

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

KingFloki.sendETHToFee(uint256) (#580-591) sends eth to arbitrary user
Dangerous calls:
- _marketingAddress.transfer(amount.mul(uint256(40)).div(100)) (#584)
- _marketingAddress.transfer(amount.mul(_marketingPercent).div(100)) (#588)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in KingFloki._transfer(address,address,uint256) (#439-531):
External calls:
- swapAndLiquify(contractTokenBalance) (#503)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#545-552)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#538)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#503)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#545-552)
- sendETHToFee(address(this).balance) (#508)
- addr.transfer(amount.mul(uint256(20)).div(100)) (#583)
- _marketingAddress.transfer(amount.mul(uint256(40)).div(100)) (#584)
- _projectLotto.transfer(amount.mul(uint256(40)).div(100)) (#585)
- _marketingAddress.transfer(amount.mul(_marketingPercent).div(100)) (#588)
- _projectLotto.transfer(amount.mul(_projectLottoPercent).div(100)) (#589)
State variables written after the call(s):
- restoreAllFee() (#515)
- _buyLiquidityFee = _previousBuyLiquidityFee (#395)
- restoreAllFee() (#520)
- _buyLiquidityFee = _previousBuyLiquidityFee (#395)
- setBotFee() (#521)
- _buyLiquidityFee = _botBuyLiquidityFee (#389)
- restoreAllFee() (#530)
- _buyLiquidityFee = _previousBuyLiquidityFee (#395)
- restoreAllFee() (#515)
- _buyMarketingFee = _previousBuyMarketingFee (#393)
- restoreAllFee() (#520)
- _buyMarketingFee = _previousBuyMarketingFee (#393)
- setBotFee() (#521)
- _buyMarketingFee = _botBuyMarketingFee (#387)
- restoreAllFee() (#530)
- _buyMarketingFee = _previousBuyMarketingFee (#393)
- restoreAllFee() (#515)
- _buyReflectionFee = _previousBuyReflectionFee (#394)
- restoreAllFee() (#520)
- _buyReflectionFee = _previousBuyReflectionFee (#394)
- setBotFee() (#521)
- _buyReflectionFee = _botBuyReflectionFee (#388)
- restoreAllFee() (#530)
- _buyReflectionFee = _previousBuyReflectionFee (#394)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#529)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#666)
- _rOwned[sender] = _rOwned[sender].sub(buyFees.rAmount) (#630)
- _rOwned[address(this)] = _rOwned[address(this)].add(rMarketing) (#660)
- _rOwned[sender] = _rOwned[sender].sub(sellFees.rAmount) (#641)
- _rOwned[recipient] = _rOwned[recipient].add(sellFees.rTransferAmount) (#642)
- _rOwned[recipient] = _rOwned[recipient].add(buyFees.rTransferAmount) (#631)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#529)
- _rTotal = _rTotal.sub(rReflection) (#653)
- restoreAllFee() (#515)
- _sellLiquidityFee = _previousSellLiquidityFee (#399)
- restoreAllFee() (#520)
- _sellLiquidityFee = _previousSellLiquidityFee (#399)
- restoreAllFee() (#530)
- _sellLiquidityFee = _previousSellLiquidityFee (#399)
- restoreAllFee() (#515)
- _sellMarketingFee = _previousSellMarketingFee (#397)
- restoreAllFee() (#520)
- _sellMarketingFee = _previousSellMarketingFee (#397)
- restoreAllFee() (#530)
- _sellMarketingFee = _previousSellMarketingFee (#397)
- restoreAllFee() (#515)
- _sellReflectionFee = _previousSellReflectionFee (#398)
- restoreAllFee() (#520)
- _sellReflectionFee = _previousSellReflectionFee (#398)
- restoreAllFee() (#530)
- _sellReflectionFee = _previousSellReflectionFee (#398)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#529)
- _tOwned[recipient] = _tOwned[recipient].add(sellFees.tTransferAmount) (#644)
Apply the check-effects-interactions pattern.

Additional information: link


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.

KingFloki.swapAndLiquify(uint256) (#555-578) performs a multiplication on the result of a division:
-half = autoLPamount.div(2) (#559)
-newBalance = ((address(this).balance.sub(initialBalance)).mul(half)).div(half.add(otherHalf)) (#572)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in KingFloki._transfer(address,address,uint256) (#439-531):
External calls:
- swapAndLiquify(contractTokenBalance) (#503)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#545-552)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#538)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#503)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#545-552)
- sendETHToFee(address(this).balance) (#508)
- addr.transfer(amount.mul(uint256(20)).div(100)) (#583)
- _marketingAddress.transfer(amount.mul(uint256(40)).div(100)) (#584)
- _projectLotto.transfer(amount.mul(uint256(40)).div(100)) (#585)
- _marketingAddress.transfer(amount.mul(_marketingPercent).div(100)) (#588)
- _projectLotto.transfer(amount.mul(_projectLottoPercent).div(100)) (#589)
State variables written after the call(s):
- setBotFee() (#521)
- _previousBuyLiquidityFee = _buyLiquidityFee (#385)
- setBotFee() (#521)
- _previousBuyMarketingFee = _buyMarketingFee (#383)
- setBotFee() (#521)
- _previousBuyReflectionFee = _buyReflectionFee (#384)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#529)
- _tFeeTotal = _tFeeTotal.add(tReflection) (#654)
Reentrancy in KingFloki.constructor() (#294-310):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#298)
- IERC20(uniswapV2Pair).approve(address(uniswapV2Router),type()(uint256).max) (#299)
State variables written after the call(s):
- _isContract[address(this)] = true (#307)
- _isContract[_marketingAddress] = true (#308)
- _isExcludedFromFee[owner()] = true (#305)
- _isExcludedFromFee[address(this)] = true (#306)
- _maxTxAmount = _tTotal (#301)
- _maxWalletAmount = _tTotal.div(1) (#302)
- _rOwned[_msgSender()] = _rTotal (#304)
Reentrancy in KingFloki.swapAndLiquify(uint256) (#555-578):
External calls:
- swapTokensForEth(otherHalf) (#569)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#538)
- addLiquidity(half,newBalance) (#576)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#545-552)
External calls sending eth:
- addLiquidity(half,newBalance) (#576)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#545-552)
State variables written after the call(s):
- addLiquidity(half,newBalance) (#576)
- _allowances[owner][spender] = amount (#405)
Reentrancy in KingFloki.transferFrom(address,address,uint256) (#351-355):
External calls:
- _transfer(sender,recipient,amount) (#352)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#545-552)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#538)
External calls sending eth:
- _transfer(sender,recipient,amount) (#352)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#545-552)
- addr.transfer(amount.mul(uint256(20)).div(100)) (#583)
- _marketingAddress.transfer(amount.mul(uint256(40)).div(100)) (#584)
- _projectLotto.transfer(amount.mul(uint256(40)).div(100)) (#585)
- _marketingAddress.transfer(amount.mul(_marketingPercent).div(100)) (#588)
- _projectLotto.transfer(amount.mul(_projectLottoPercent).div(100)) (#589)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#353)
- _allowances[owner][spender] = amount (#405)
Apply the check-effects-interactions pattern.

Additional information: link

KingFloki._transfer(address,address,uint256) (#439-531) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp - previousTransactionBlock[to] <= _botBlocks (#454)
- block.timestamp <= _firstBlock.add(_botBlocks) && from != presaleRouter && from != presaleAddress (#460)
- block.timestamp - previousTransactionBlock[from] <= _botBlocks (#476)
KingFloki.sendETHToFee(uint256) (#580-591) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp < _firstBlock + (86400) (#581)
Avoid relying on block.timestamp.

Additional information: link

KingFloki.removeAllFee() (#363-380) is never used and should be removed
Remove unused functions.

Additional information: link

KingFloki.getFee().currentTax (#426) is a local variable never initialized
KingFloki._getTValuesSell(uint256,uint256,uint256,uint256).tsellFees (#685) is a local variable never initialized
KingFloki._getTValuesBuy(uint256,uint256,uint256,uint256).tbuyFees (#719) is a local variable never initialized
KingFloki._getValuesBuy(uint256,KingFloki.DynamicTax).finalFees (#708) is a local variable never initialized
KingFloki._transfer(address,address,uint256).currentTax (#446) is a local variable never initialized
KingFloki._getValuesSell(uint256,KingFloki.DynamicTax).finalFees (#674) 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

KingFloki.constructor() (#294-310) ignores return value by IERC20(uniswapV2Pair).approve(address(uniswapV2Router),type()(uint256).max) (#299)
KingFloki.addLiquidity(uint256,uint256) (#541-553) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#545-552)
Ensure that all the return values of the function calls are used.

Additional information: link

KingFloki.allowance(address,address).owner (#342) shadows:
- Ownable.owner() (#73-75) (function)
KingFloki._approve(address,address,uint256).owner (#402) shadows:
- Ownable.owner() (#73-75) (function)
Rename the local variables that shadow another component.

Additional information: link

KingFloki.setMaxWalletAmount(uint256) (#793-797) should emit an event for:
- _maxWalletAmount = maxWalletAmount (#796)
KingFloki.updateMinBuySellBNB(uint256,uint256) (#846-851) should emit an event for:
- _minBuyBNB = minBuyBNB (#849)
- _minSellBNB = minSellBNB (#850)
KingFloki.updateBotFees(uint256,uint256,uint256) (#853-859) should emit an event for:
- _botBuyLiquidityFee = buyLiquidityFee (#856)
- _botBuyReflectionFee = buyReflectionFee (#857)
- _botBuyMarketingFee = buyMarketingFee (#858)
KingFloki.updateBotBlocks(uint256) (#861-864) should emit an event for:
- _botBlocks = botBlocks (#863)
KingFloki.updateMinTokensToSwap(uint256) (#889-891) should emit an event for:
- minTokensToSwap = _minTokenToSwap (#890)
Emit an event for critical parameter changes.

Additional information: link

KingFloki.setPresaleRouterAndAddress(address,address).router (#828) lacks a zero-check on :
- presaleRouter = router (#829)
KingFloki.setPresaleRouterAndAddress(address,address).wallet (#828) lacks a zero-check on :
- presaleAddress = wallet (#830)
KingFloki.updateMarketingAddress(address).marketingAddress (#866) lacks a zero-check on :
- _marketingAddress = marketingAddress (#867)
Check that the address is not zero.

Additional information: link

Reentrancy in KingFloki._transfer(address,address,uint256) (#439-531):
External calls:
- swapAndLiquify(contractTokenBalance) (#503)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#545-552)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#538)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#503)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#545-552)
- sendETHToFee(address(this).balance) (#508)
- addr.transfer(amount.mul(uint256(20)).div(100)) (#583)
- _marketingAddress.transfer(amount.mul(uint256(40)).div(100)) (#584)
- _projectLotto.transfer(amount.mul(uint256(40)).div(100)) (#585)
- _marketingAddress.transfer(amount.mul(_marketingPercent).div(100)) (#588)
- _projectLotto.transfer(amount.mul(_projectLottoPercent).div(100)) (#589)
Event emitted after the call(s):
- Transfer(sender,recipient,buyFees.tTransferAmount) (#635)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#529)
- Transfer(sender,recipient,sellFees.tTransferAmount) (#649)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#529)
Reentrancy in KingFloki.constructor() (#294-310):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#298)
- IERC20(uniswapV2Pair).approve(address(uniswapV2Router),type()(uint256).max) (#299)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#309)
Reentrancy in KingFloki.swapAndLiquify(uint256) (#555-578):
External calls:
- swapTokensForEth(otherHalf) (#569)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#538)
- addLiquidity(half,newBalance) (#576)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#545-552)
External calls sending eth:
- addLiquidity(half,newBalance) (#576)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#545-552)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#406)
- addLiquidity(half,newBalance) (#576)
Reentrancy in KingFloki.transferFrom(address,address,uint256) (#351-355):
External calls:
- _transfer(sender,recipient,amount) (#352)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#545-552)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#538)
External calls sending eth:
- _transfer(sender,recipient,amount) (#352)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#545-552)
- addr.transfer(amount.mul(uint256(20)).div(100)) (#583)
- _marketingAddress.transfer(amount.mul(uint256(40)).div(100)) (#584)
- _projectLotto.transfer(amount.mul(uint256(40)).div(100)) (#585)
- _marketingAddress.transfer(amount.mul(_marketingPercent).div(100)) (#588)
- _projectLotto.transfer(amount.mul(_projectLottoPercent).div(100)) (#589)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#406)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#353)
Apply the check-effects-interactions pattern.

Additional information: link

KingFloki.endPresale(uint256) (#835-840) compares to a boolean constant:
-require(bool,string)(presale == true,presale already ended) (#836)
KingFloki.enablePriceImpactSellLimit() (#870-873) compares to a boolean constant:
-require(bool,string)(_priceImpactSellLimitEnabled == false,already enabled) (#871)
KingFloki.disablePriceImpactSellLimit() (#875-878) compares to a boolean constant:
-require(bool,string)(_priceImpactSellLimitEnabled == true,already disabled) (#876)
KingFloki.disableSwapAndLiquify() (#880-883) compares to a boolean constant:
-require(bool,string)(swapAndLiquifyEnabled == true,already disabled) (#881)
KingFloki.enableSwapAndLiquify() (#885-888) compares to a boolean constant:
-require(bool,string)(swapAndLiquifyEnabled == false,already enabled) (#886)
Remove the equality to the boolean constant.

Additional information: link

KingFloki._previousBuyMarketingFee (#209) is set pre-construction with a non-constant function or state variable:
- _buyMarketingFee
KingFloki._previousBuyReflectionFee (#211) is set pre-construction with a non-constant function or state variable:
- _buyReflectionFee
KingFloki._previousBuyLiquidityFee (#213) is set pre-construction with a non-constant function or state variable:
- _buyLiquidityFee
KingFloki._previousSellMarketingFee (#217) is set pre-construction with a non-constant function or state variable:
- _sellMarketingFee
KingFloki._previousSellReflectionFee (#219) is set pre-construction with a non-constant function or state variable:
- _sellReflectionFee
KingFloki._previousSellLiquidityFee (#221) is set pre-construction with a non-constant function or state variable:
- _sellLiquidityFee
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

Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#103) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#104) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#121) is not in mixedCase
Function IUniswapV2Router02.WETH() (#159) is not in mixedCase
Parameter KingFloki.updateMinTokensToSwap(uint256)._minTokenToSwap (#889) is not in mixedCase
Constant KingFloki._name (#183) is not in UPPER_CASE_WITH_UNDERSCORES
Constant KingFloki._symbol (#184) is not in UPPER_CASE_WITH_UNDERSCORES
Constant KingFloki._decimals (#185) is not in UPPER_CASE_WITH_UNDERSCORES
Constant KingFloki._tTotal (#196) is not in UPPER_CASE_WITH_UNDERSCORES
Variable KingFloki._priceImpact (#199) is not in mixedCase
Variable KingFloki._maxWalletAmount (#202) is not in mixedCase
Variable KingFloki._buyMarketingFee (#208) is not in mixedCase
Variable KingFloki._buyReflectionFee (#210) is not in mixedCase
Variable KingFloki._buyLiquidityFee (#212) is not in mixedCase
Variable KingFloki._sellMarketingFee (#216) is not in mixedCase
Variable KingFloki._sellReflectionFee (#218) is not in mixedCase
Variable KingFloki._sellLiquidityFee (#220) is not in mixedCase
Variable KingFloki._botBuyMarketingFee (#224) is not in mixedCase
Variable KingFloki._botBuyReflectionFee (#225) is not in mixedCase
Variable KingFloki._botBuyLiquidityFee (#226) is not in mixedCase
Constant KingFloki._projectLottoPercent (#238) is not in UPPER_CASE_WITH_UNDERSCORES
Constant KingFloki._projectLotto (#267) is not in UPPER_CASE_WITH_UNDERSCORES
Constant KingFloki._burnAddress (#268) is not in UPPER_CASE_WITH_UNDERSCORES
Variable KingFloki._priceImpactSellLimitEnabled (#279) is not in mixedCase
Variable KingFloki._BNBsellLimitEnabled (#280) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Reentrancy in KingFloki._transfer(address,address,uint256) (#439-531):
External calls:
- sendETHToFee(address(this).balance) (#508)
- addr.transfer(amount.mul(uint256(20)).div(100)) (#583)
- _marketingAddress.transfer(amount.mul(uint256(40)).div(100)) (#584)
- _projectLotto.transfer(amount.mul(uint256(40)).div(100)) (#585)
- _marketingAddress.transfer(amount.mul(_marketingPercent).div(100)) (#588)
- _projectLotto.transfer(amount.mul(_projectLottoPercent).div(100)) (#589)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#503)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#545-552)
- sendETHToFee(address(this).balance) (#508)
- addr.transfer(amount.mul(uint256(20)).div(100)) (#583)
- _marketingAddress.transfer(amount.mul(uint256(40)).div(100)) (#584)
- _projectLotto.transfer(amount.mul(uint256(40)).div(100)) (#585)
- _marketingAddress.transfer(amount.mul(_marketingPercent).div(100)) (#588)
- _projectLotto.transfer(amount.mul(_projectLottoPercent).div(100)) (#589)
State variables written after the call(s):
- restoreAllFee() (#515)
- _buyLiquidityFee = _previousBuyLiquidityFee (#395)
- restoreAllFee() (#520)
- _buyLiquidityFee = _previousBuyLiquidityFee (#395)
- setBotFee() (#521)
- _buyLiquidityFee = _botBuyLiquidityFee (#389)
- restoreAllFee() (#530)
- _buyLiquidityFee = _previousBuyLiquidityFee (#395)
- restoreAllFee() (#515)
- _buyMarketingFee = _previousBuyMarketingFee (#393)
- restoreAllFee() (#520)
- _buyMarketingFee = _previousBuyMarketingFee (#393)
- setBotFee() (#521)
- _buyMarketingFee = _botBuyMarketingFee (#387)
- restoreAllFee() (#530)
- _buyMarketingFee = _previousBuyMarketingFee (#393)
- restoreAllFee() (#515)
- _buyReflectionFee = _previousBuyReflectionFee (#394)
- restoreAllFee() (#520)
- _buyReflectionFee = _previousBuyReflectionFee (#394)
- setBotFee() (#521)
- _buyReflectionFee = _botBuyReflectionFee (#388)
- restoreAllFee() (#530)
- _buyReflectionFee = _previousBuyReflectionFee (#394)
- setBotFee() (#521)
- _previousBuyLiquidityFee = _buyLiquidityFee (#385)
- setBotFee() (#521)
- _previousBuyMarketingFee = _buyMarketingFee (#383)
- setBotFee() (#521)
- _previousBuyReflectionFee = _buyReflectionFee (#384)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#529)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#666)
- _rOwned[sender] = _rOwned[sender].sub(buyFees.rAmount) (#630)
- _rOwned[address(this)] = _rOwned[address(this)].add(rMarketing) (#660)
- _rOwned[sender] = _rOwned[sender].sub(sellFees.rAmount) (#641)
- _rOwned[recipient] = _rOwned[recipient].add(sellFees.rTransferAmount) (#642)
- _rOwned[recipient] = _rOwned[recipient].add(buyFees.rTransferAmount) (#631)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#529)
- _rTotal = _rTotal.sub(rReflection) (#653)
- restoreAllFee() (#515)
- _sellLiquidityFee = _previousSellLiquidityFee (#399)
- restoreAllFee() (#520)
- _sellLiquidityFee = _previousSellLiquidityFee (#399)
- restoreAllFee() (#530)
- _sellLiquidityFee = _previousSellLiquidityFee (#399)
- restoreAllFee() (#515)
- _sellMarketingFee = _previousSellMarketingFee (#397)
- restoreAllFee() (#520)
- _sellMarketingFee = _previousSellMarketingFee (#397)
- restoreAllFee() (#530)
- _sellMarketingFee = _previousSellMarketingFee (#397)
- restoreAllFee() (#515)
- _sellReflectionFee = _previousSellReflectionFee (#398)
- restoreAllFee() (#520)
- _sellReflectionFee = _previousSellReflectionFee (#398)
- restoreAllFee() (#530)
- _sellReflectionFee = _previousSellReflectionFee (#398)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#529)
- _tFeeTotal = _tFeeTotal.add(tReflection) (#654)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#529)
- _tOwned[recipient] = _tOwned[recipient].add(sellFees.tTransferAmount) (#644)
Event emitted after the call(s):
- Transfer(sender,recipient,buyFees.tTransferAmount) (#635)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#529)
- Transfer(sender,recipient,sellFees.tTransferAmount) (#649)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#529)
Reentrancy in KingFloki.transferFrom(address,address,uint256) (#351-355):
External calls:
- _transfer(sender,recipient,amount) (#352)
- addr.transfer(amount.mul(uint256(20)).div(100)) (#583)
- _marketingAddress.transfer(amount.mul(uint256(40)).div(100)) (#584)
- _projectLotto.transfer(amount.mul(uint256(40)).div(100)) (#585)
- _marketingAddress.transfer(amount.mul(_marketingPercent).div(100)) (#588)
- _projectLotto.transfer(amount.mul(_projectLottoPercent).div(100)) (#589)
External calls sending eth:
- _transfer(sender,recipient,amount) (#352)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#545-552)
- addr.transfer(amount.mul(uint256(20)).div(100)) (#583)
- _marketingAddress.transfer(amount.mul(uint256(40)).div(100)) (#584)
- _projectLotto.transfer(amount.mul(uint256(40)).div(100)) (#585)
- _marketingAddress.transfer(amount.mul(_marketingPercent).div(100)) (#588)
- _projectLotto.transfer(amount.mul(_projectLottoPercent).div(100)) (#589)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#353)
- _allowances[owner][spender] = amount (#405)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#406)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#353)
Apply the check-effects-interactions pattern.

Additional information: link

Variable KingFloki.updateMinTokensToSwap(uint256)._minTokenToSwap (#889) is too similar to KingFloki.minTokensToSwap (#205)
Variable KingFloki._getRValuesBuy(uint256,uint256,uint256,uint256,uint256).rReflection (#732) is too similar to KingFloki._getRValuesSell(uint256,uint256,uint256,uint256,uint256).tReflection (#695)
Variable KingFloki._getRValuesSell(uint256,uint256,uint256,uint256,uint256).rReflection (#698) is too similar to KingFloki._getRValuesBuy(uint256,uint256,uint256,uint256,uint256).tReflection (#729)
Variable KingFloki._getRValuesSell(uint256,uint256,uint256,uint256,uint256).rReflection (#698) is too similar to KingFloki._getRValuesSell(uint256,uint256,uint256,uint256,uint256).tReflection (#695)
Variable KingFloki._getRValuesBuy(uint256,uint256,uint256,uint256,uint256).rReflection (#732) is too similar to KingFloki._getRValuesBuy(uint256,uint256,uint256,uint256,uint256).tReflection (#729)
Variable KingFloki._getRValuesBuy(uint256,uint256,uint256,uint256,uint256).rReflection (#732) is too similar to KingFloki._reflectFee(uint256,uint256).tReflection (#652)
Variable KingFloki._getRValuesSell(uint256,uint256,uint256,uint256,uint256).rReflection (#698) is too similar to KingFloki._reflectFee(uint256,uint256).tReflection (#652)
Variable KingFloki._reflectFee(uint256,uint256).rReflection (#652) is too similar to KingFloki._getRValuesBuy(uint256,uint256,uint256,uint256,uint256).tReflection (#729)
Variable KingFloki._reflectFee(uint256,uint256).rReflection (#652) is too similar to KingFloki._getRValuesSell(uint256,uint256,uint256,uint256,uint256).tReflection (#695)
Variable KingFloki._reflectFee(uint256,uint256).rReflection (#652) is too similar to KingFloki._reflectFee(uint256,uint256).tReflection (#652)
Prevent variables from having similar names.

Additional information: link

KingFloki.updateMinBuySellBNB(uint256,uint256) (#846-851) uses literals with too many digits:
- require(bool,string)(minBuyBNB <= 100000000000000000,cant make the limit higher than 0.1 BNB) (#847)
KingFloki.updateMinBuySellBNB(uint256,uint256) (#846-851) uses literals with too many digits:
- require(bool,string)(minSellBNB <= 100000000000000000,cant make the limit higher than 0.1 BNB) (#848)
KingFloki.slitherConstructorVariables() (#181-893) uses literals with too many digits:
- _minBuyBNB = 10000000000000000 (#203)
KingFloki.slitherConstructorVariables() (#181-893) uses literals with too many digits:
- _minSellBNB = 10000000000000000 (#204)
KingFloki.slitherConstructorVariables() (#181-893) uses literals with too many digits:
- minTokensToSwap = 1300000000 * 10 ** 9 (#205)
KingFloki.slitherConstructorConstantVariables() (#181-893) uses literals with too many digits:
- _tTotal = 1000000000000 * 10 ** 9 (#196)
KingFloki.slitherConstructorConstantVariables() (#181-893) uses literals with too many digits:
- _burnAddress = address(0x000000000000000000000000000000000000dEaD) (#268)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Ownable._previousOwner (#64) is never used in KingFloki (#181-893)
KingFloki.sellcooldown (#189) is never used in KingFloki (#181-893)
Remove unused state variables.

Additional information: link

KingFloki._BNBsellLimitEnabled (#280) should be constant
KingFloki._marketingPercent (#239) should be constant
Ownable._previousOwner (#64) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#82-85)
isBot(address) should be declared external:
- KingFloki.isBot(address) (#333-335)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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.


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


Token is deployed only at one blockchain


Token has only one trading pair


Last post in Twitter was more than 30 days ago


Unable to find Youtube account


Unable to find Discord account


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap

Additional information: link


Unable to find token/project description on the website or on BscScan, CoinMarketCap


Unable to verify token contract address on the website


Unable to find audit link on the website


Unable to find whitepaper link on the website


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

Additional information: link


Young tokens have high risks of price dump / death


Young tokens have high risks of scam / price dump / death


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death

Price for KING

News for KING