BABY KING FLOKI Token Logo

BKF [BABY KING FLOKI] Token

ALERT: dead

About BKF

Listings

Not Found
Token 2 years
white paper

Baby King Floki is the main coin in the center of the whole BKF ecosystem. The first major utility will be our P2E racing game. BKF will also create unique NFTs to integrate into the racing game, as well as 3d NFTs for the marketplace.

Social

Laser Scorebeta Last Audit: 15 January 2022

report
Token seems to be unmaintained (no trading, inactive website, inactive socials, etc.).

Anti-Scam

Links


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

BABYKINGFLOKI.swapBack() (#625-674) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#656)
- (tmpSuccess1) = address(devWallet).call{gas: 30000,value: devShare}() (#657)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in BABYKINGFLOKI._transferFrom(address,address,uint256) (#546-594):
External calls:
- swapBack() (#556)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#635-641)
- dividendDistributor.deposit{value: amountBNBReflection}() (#651)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#656)
- (tmpSuccess1) = address(devWallet).call{gas: 30000,value: devShare}() (#657)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#664-671)
External calls sending eth:
- swapBack() (#556)
- dividendDistributor.deposit{value: amountBNBReflection}() (#651)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#656)
- (tmpSuccess1) = address(devWallet).call{gas: 30000,value: devShare}() (#657)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#664-671)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#576)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#579)
- finalAmount = takeFee(sender,recipient,amount) (#578)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#608)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#232-243) ignores return value by RewardToken.transfer(shareholder,amount) (#238)
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.

BABYKINGFLOKI.sellCooldownEnabled (#388) is written in both
sellCooldownEnabled = _status (#619)
sellCooldownEnabled = _status (#621)
BABYKINGFLOKI.cooldownTimerInterval (#389) is written in both
cooldownTimerInterval = _interval (#620)
cooldownTimerInterval = _interval (#622)
BABYKINGFLOKI.swapBack().tmpSuccess (#656) is written in both
(tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#656)
tmpSuccess = false (#660)
BABYKINGFLOKI.swapBack().tmpSuccess1 (#657) is written in both
(tmpSuccess1) = address(devWallet).call{gas: 30000,value: devShare}() (#657)
tmpSuccess1 = false (#661)
Fix or remove the writes.

Additional information: link


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.


Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.

BABYKINGFLOKI.DEAD (#349) should be constant
BABYKINGFLOKI.RewardToken (#352) should be constant
BABYKINGFLOKI.ZERO (#350) should be constant
BABYKINGFLOKI._totalSupply (#354) should be constant
BABYKINGFLOKI.routerAddress (#351) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#138) should be constant
DividendDistributor.routerAddress (#126) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

Reentrancy in DividendDistributor.distributeDividend(address) (#232-243):
External calls:
- RewardToken.transfer(shareholder,amount) (#238)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#240)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#241)
Reentrancy in DividendDistributor.process(uint256) (#203-225):
External calls:
- distributeDividend(shareholders[currentIndex]) (#217)
- RewardToken.transfer(shareholder,amount) (#238)
State variables written after the call(s):
- currentIndex ++ (#222)
Reentrancy in DividendDistributor.setShare(address,uint256) (#166-181):
External calls:
- distributeDividend(shareholder) (#169)
- RewardToken.transfer(shareholder,amount) (#238)
State variables written after the call(s):
- shares[shareholder].amount = amount (#179)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#180)
Apply the check-effects-interactions pattern.

Additional information: link

BABYKINGFLOKI.swapBack() (#625-674) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#664-671)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#161-164) should emit an event for:
- minPeriod = newMinPeriod (#162)
- minDistribution = newMinDistribution (#163)
BABYKINGFLOKI.changeFees(uint256,uint256,uint256,uint256) (#503-511) should emit an event for:
- liquidityFee = newLiqFee (#504)
- rewardsFee = newRewardFee (#505)
- totalFee = liquidityFee.add(marketingFee).add(rewardsFee) (#509)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#510)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#332) lacks a zero-check on :
- owner = adr (#333)
BABYKINGFLOKI.changeFeeReceivers(address,address,address).newLiquidityReceiver (#513) lacks a zero-check on :
- autoLiquidityReceiver = newLiquidityReceiver (#514)
BABYKINGFLOKI.changeFeeReceivers(address,address,address).newMarketingWallet (#513) lacks a zero-check on :
- marketingWallet = newMarketingWallet (#515)
BABYKINGFLOKI.changeFeeReceivers(address,address,address).newDevWallet (#513) lacks a zero-check on :
- devWallet = newDevWallet (#516)
Check that the address is not zero.

Additional information: link

DividendDistributor.distributeDividend(address) (#232-243) has external calls inside a loop: RewardToken.transfer(shareholder,amount) (#238)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in BABYKINGFLOKI._transferFrom(address,address,uint256) (#546-594):
External calls:
- swapBack() (#556)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#635-641)
- dividendDistributor.deposit{value: amountBNBReflection}() (#651)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#656)
- (tmpSuccess1) = address(devWallet).call{gas: 30000,value: devShare}() (#657)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#664-671)
External calls sending eth:
- swapBack() (#556)
- dividendDistributor.deposit{value: amountBNBReflection}() (#651)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#656)
- (tmpSuccess1) = address(devWallet).call{gas: 30000,value: devShare}() (#657)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#664-671)
State variables written after the call(s):
- cooldownTimer[sender] = block.timestamp + cooldownTimerInterval (#571)
- launch() (#560)
- launchedAt = block.number (#470)
Reentrancy in BABYKINGFLOKI.constructor() (#404-438):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#407)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#408)
- _balances[msg.sender] = _totalSupply (#436)
- autoLiquidityReceiver = 0xbbE25Da6da681bB7f4cE2BF02cE649b3C90A12B8 (#429)
- devWallet = 0xbbE25Da6da681bB7f4cE2BF02cE649b3C90A12B8 (#431)
- dividendDistributor = new DividendDistributor(address(router)) (#410)
- isDividendExempt[pair] = true (#422)
- isDividendExempt[msg.sender] = true (#423)
- isDividendExempt[address(this)] = true (#424)
- isDividendExempt[DEAD] = true (#425)
- isDividendExempt[ZERO] = true (#426)
- isFeeExempt[msg.sender] = true (#412)
- isFeeExempt[address(this)] = true (#413)
- isTimelockExempt[msg.sender] = true (#418)
- isTimelockExempt[DEAD] = true (#419)
- isTimelockExempt[address(this)] = true (#420)
- isTxLimitExempt[msg.sender] = false (#415)
- isTxLimitExempt[pair] = false (#416)
- marketingWallet = 0xbbE25Da6da681bB7f4cE2BF02cE649b3C90A12B8 (#430)
- totalFee = liquidityFee.add(marketingFee).add(rewardsFee) (#433)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#434)
Reentrancy in DividendDistributor.deposit() (#183-201):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#191-196)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#200)
- totalDividends = totalDividends.add(amount) (#199)
Reentrancy in DividendDistributor.distributeDividend(address) (#232-243):
External calls:
- RewardToken.transfer(shareholder,amount) (#238)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#239)
Reentrancy in DividendDistributor.setShare(address,uint256) (#166-181):
External calls:
- distributeDividend(shareholder) (#169)
- RewardToken.transfer(shareholder,amount) (#238)
State variables written after the call(s):
- addShareholder(shareholder) (#173)
- shareholderIndexes[shareholder] = shareholders.length (#267)
- removeShareholder(shareholder) (#175)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#273)
- addShareholder(shareholder) (#173)
- shareholders.push(shareholder) (#268)
- removeShareholder(shareholder) (#175)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#272)
- shareholders.pop() (#274)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#178)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BABYKINGFLOKI._transferFrom(address,address,uint256) (#546-594):
External calls:
- swapBack() (#556)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#635-641)
- dividendDistributor.deposit{value: amountBNBReflection}() (#651)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#656)
- (tmpSuccess1) = address(devWallet).call{gas: 30000,value: devShare}() (#657)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#664-671)
- dividendDistributor.setShare(sender,_balances[sender]) (#583)
- dividendDistributor.setShare(recipient,_balances[recipient]) (#587)
- dividendDistributor.process(distributorGas) (#590)
External calls sending eth:
- swapBack() (#556)
- dividendDistributor.deposit{value: amountBNBReflection}() (#651)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#656)
- (tmpSuccess1) = address(devWallet).call{gas: 30000,value: devShare}() (#657)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#664-671)
Event emitted after the call(s):
- Transfer(sender,recipient,finalAmount) (#592)
Reentrancy in BABYKINGFLOKI._transferFrom(address,address,uint256) (#546-594):
External calls:
- swapBack() (#556)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#635-641)
- dividendDistributor.deposit{value: amountBNBReflection}() (#651)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#656)
- (tmpSuccess1) = address(devWallet).call{gas: 30000,value: devShare}() (#657)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#664-671)
External calls sending eth:
- swapBack() (#556)
- dividendDistributor.deposit{value: amountBNBReflection}() (#651)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#656)
- (tmpSuccess1) = address(devWallet).call{gas: 30000,value: devShare}() (#657)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#664-671)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#609)
- finalAmount = takeFee(sender,recipient,amount) (#578)
Reentrancy in BABYKINGFLOKI.constructor() (#404-438):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#407)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#437)
Reentrancy in BABYKINGFLOKI.swapBack() (#625-674):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#635-641)
- dividendDistributor.deposit{value: amountBNBReflection}() (#651)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#656)
- (tmpSuccess1) = address(devWallet).call{gas: 30000,value: devShare}() (#657)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#664-671)
External calls sending eth:
- dividendDistributor.deposit{value: amountBNBReflection}() (#651)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#656)
- (tmpSuccess1) = address(devWallet).call{gas: 30000,value: devShare}() (#657)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#664-671)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#672)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#227-230) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#228-229)
BABYKINGFLOKI._transferFrom(address,address,uint256) (#546-594) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[sender] < block.timestamp,Please wait for cooldown between sells) (#570)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#203-225) has costly operations inside a loop:
- currentIndex = 0 (#214)
DividendDistributor.distributeDividend(address) (#232-243) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#237)
DividendDistributor.process(uint256) (#203-225) has costly operations inside a loop:
- currentIndex ++ (#222)
Use a local variable to hold the loop computation result.

Additional information: link

BABYKINGFLOKI._maxTxAmount (#355) is set pre-construction with a non-constant function or state variable:
- _totalSupply
BABYKINGFLOKI._walletMaxToken (#356) is set pre-construction with a non-constant function or state variable:
- _totalSupply
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 version^0.7.4 (#2) allows old versions
solc-0.7.4 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 BABYKINGFLOKI.swapBack() (#625-674):
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#656)
- (tmpSuccess1) = address(devWallet).call{gas: 30000,value: devShare}() (#657)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IDEXRouter.WETH() (#61) is not in mixedCase
Variable DividendDistributor._token (#117) is not in mixedCase
Variable DividendDistributor.RewardToken (#127) is not in mixedCase
Function BABYKINGFLOKI.setwalletMaxPercent_base1000(uint256) (#473-475) is not in mixedCase
Parameter BABYKINGFLOKI.setwalletMaxPercent_base1000(uint256).maxWallPercent_base1000 (#473) is not in mixedCase
Function BABYKINGFLOKI.setmaxTxPercent_base1000(uint256) (#476-478) is not in mixedCase
Parameter BABYKINGFLOKI.setmaxTxPercent_base1000(uint256).maxTXPercentage_base1000 (#476) is not in mixedCase
Parameter BABYKINGFLOKI.cooldownEnabled(bool,uint8)._status (#618) is not in mixedCase
Parameter BABYKINGFLOKI.cooldownEnabled(bool,uint8)._interval (#618) is not in mixedCase
Constant BABYKINGFLOKI._name (#345) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BABYKINGFLOKI._symbol (#346) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BABYKINGFLOKI._decimals (#347) is not in UPPER_CASE_WITH_UNDERSCORES
Variable BABYKINGFLOKI.DEAD (#349) is not in mixedCase
Variable BABYKINGFLOKI.ZERO (#350) is not in mixedCase
Variable BABYKINGFLOKI.RewardToken (#352) is not in mixedCase
Variable BABYKINGFLOKI._totalSupply (#354) is not in mixedCase
Variable BABYKINGFLOKI._maxTxAmount (#355) is not in mixedCase
Variable BABYKINGFLOKI._walletMaxToken (#356) is not in mixedCase
Variable BABYKINGFLOKI._balances (#359) is not in mixedCase
Variable BABYKINGFLOKI._allowances (#360) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#66) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#67)
Prevent variables from having similar names.

Additional information: link

BABYKINGFLOKI.slitherConstructorVariables() (#341-679) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#349)
BABYKINGFLOKI.slitherConstructorVariables() (#341-679) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#350)
BABYKINGFLOKI.slitherConstructorVariables() (#341-679) uses literals with too many digits:
- distributorGas = 500000 (#386)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

BABYKINGFLOKI.RewardToken (#352) is never used in BABYKINGFLOKI (#341-679)
Remove unused state variables.

Additional information: link

authorize(address) should be declared external:
- Auth.authorize(address) (#304-306)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#311-313)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#332-336)
getCirculatingSupply() should be declared external:
- BABYKINGFLOKI.getCirculatingSupply() (#448-450)
tradingStatus(bool) should be declared external:
- BABYKINGFLOKI.tradingStatus(bool) (#614-616)
cooldownEnabled(bool,uint8) should be declared external:
- BABYKINGFLOKI.cooldownEnabled(bool,uint8) (#618-623)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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


Number of Binance Smart Chain (BSC) token holders is low.


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find PancakeSwap trading pair to compute liquidity.


Unable to find PancakeSwap trading pair to compute volume.


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


Telegram account link seems to be invalid


Twitter account seems to be suspended

Additional information: link


Unable to find Youtube account


Unable to find Discord account


Unable to find website, listings and other project-related information


Young tokens have high risks of price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for BKF