BKING Finance Token Logo

BKF [BKING Finance] Token

About BKF

Listings

Token 2 years
CoinMarketCap 2 years
white paper

BKING FINANCE BKF token is the most generous BNB Rewards token on the Binance Smart Chain. $BKF has been designed with holders big profits as frictionless capital revenue, holders protection, and state of the art immutable financial logic.

Laser Scorebeta Last Audit: 2 March 2022

report
Token is either risky or in presale. For presale 30+ is a fine score.

Anti-Scam

Links


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

Reentrancy in BKING._transfer(address,address,uint256) (#1512-1577):
External calls:
- swapAndSendToSustainability(sustainabilityTokens) (#1536)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWalletAddress,block.timestamp) (#1640-1647)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- swapAndSendDividends(sellTokens) (#1546)
- (success) = address(dividendTracker).call{value: dividends}() (#1654)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
External calls sending eth:
- swapAndSendToSustainability(sustainabilityTokens) (#1536)
- address(sustainabilityWalletAddress).transfer(newBalance) (#1585)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWalletAddress,block.timestamp) (#1640-1647)
- swapAndSendDividends(sellTokens) (#1546)
- (success) = address(dividendTracker).call{value: dividends}() (#1654)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1562)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#683)
- _balances[recipient] = _balances[recipient].add(amount) (#684)
- super._transfer(from,to,amount) (#1565)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#683)
- _balances[recipient] = _balances[recipient].add(amount) (#684)
- swapping = false (#1549)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#968-984):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#973)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#976)
Apply the check-effects-interactions pattern.

Additional information: link

BKING.setRewardsFee(uint256) (#1386-1391) should emit an event for:
- rewardsFee = value (#1389)
- totalFees = rewardsFee.add(liquidityFee).add(sustainabilityFee) (#1390)
BKING.setLiquidityFee(uint256) (#1393-1398) should emit an event for:
- liquidityFee = value (#1396)
- totalFees = rewardsFee.add(liquidityFee).add(sustainabilityFee) (#1397)
BKING.setSustainabilityFee(uint256) (#1400-1405) should emit an event for:
- sustainabilityFee = value (#1403)
- totalFees = rewardsFee.add(liquidityFee).add(sustainabilityFee) (#1404)
Emit an event for critical parameter changes.

Additional information: link

Variable 'BKING._transfer(address,address,uint256).lastProcessedIndex (#1573)' in BKING._transfer(address,address,uint256) (#1512-1577) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1574)
Variable 'BKING._transfer(address,address,uint256).claims (#1573)' in BKING._transfer(address,address,uint256) (#1512-1577) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1574)
Variable 'BKING._transfer(address,address,uint256).iterations (#1573)' in BKING._transfer(address,address,uint256) (#1512-1577) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1574)
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

Reentrancy in BKING._transfer(address,address,uint256) (#1512-1577):
External calls:
- swapAndSendToSustainability(sustainabilityTokens) (#1536)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWalletAddress,block.timestamp) (#1640-1647)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
External calls sending eth:
- swapAndSendToSustainability(sustainabilityTokens) (#1536)
- address(sustainabilityWalletAddress).transfer(newBalance) (#1585)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWalletAddress,block.timestamp) (#1640-1647)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#1541)
- _allowances[owner][spender] = amount (#749)
Reentrancy in BKING._transfer(address,address,uint256) (#1512-1577):
External calls:
- swapAndSendToSustainability(sustainabilityTokens) (#1536)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWalletAddress,block.timestamp) (#1640-1647)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- swapAndSendDividends(sellTokens) (#1546)
- (success) = address(dividendTracker).call{value: dividends}() (#1654)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
External calls sending eth:
- swapAndSendToSustainability(sustainabilityTokens) (#1536)
- address(sustainabilityWalletAddress).transfer(newBalance) (#1585)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWalletAddress,block.timestamp) (#1640-1647)
- swapAndSendDividends(sellTokens) (#1546)
- (success) = address(dividendTracker).call{value: dividends}() (#1654)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#1546)
- _allowances[owner][spender] = amount (#749)
Reentrancy in BKING.constructor() (#1326-1360):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1333-1334)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1337)
- uniswapV2Router = _uniswapV2Router (#1336)
Reentrancy in BKING.constructor() (#1326-1360):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1333-1334)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1339)
- dividendTracker.excludeFromDividends(pair) (#1437)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1342)
- dividendTracker.excludeFromDividends(address(this)) (#1343)
- dividendTracker.excludeFromDividends(owner()) (#1344)
- dividendTracker.excludeFromDividends(deadWallet) (#1345)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1346)
State variables written after the call(s):
- _mint(owner(),1000000000000 * (10 ** 18)) (#1358)
- _balances[account] = _balances[account].add(amount) (#703)
- excludeFromFees(owner(),true) (#1349)
- _isExcludedFromFees[account] = excluded (#1366)
- excludeFromFees(sustainabilityWalletAddress,true) (#1350)
- _isExcludedFromFees[account] = excluded (#1366)
- excludeFromFees(liquidityWalletAddress,true) (#1351)
- _isExcludedFromFees[account] = excluded (#1366)
- excludeFromFees(address(this),true) (#1352)
- _isExcludedFromFees[account] = excluded (#1366)
- _mint(owner(),1000000000000 * (10 ** 18)) (#1358)
- _totalSupply = _totalSupply.add(amount) (#702)
Reentrancy in BkingDividendTracker.processAccount(address,bool) (#1840-1850):
External calls:
- amount = _withdrawDividendOfUser(account) (#1841)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#973)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1844)
Reentrancy in BKING.swapAndLiquify(uint256) (#1588-1611):
External calls:
- swapTokensForEth(half) (#1600)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- addLiquidity(otherHalf,newBalance) (#1607)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWalletAddress,block.timestamp) (#1640-1647)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1607)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWalletAddress,block.timestamp) (#1640-1647)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1607)
- _allowances[owner][spender] = amount (#749)
Apply the check-effects-interactions pattern.

Additional information: link

DividendPayingToken._withdrawDividendOfUser(address) (#968-984) has external calls inside a loop: (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#973)
Favor pull over push strategy for external calls.

Additional information: link

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

BKING.claim() (#1499-1501) ignores return value by dividendTracker.processAccount(msg.sender,false) (#1500)
BKING._transfer(address,address,uint256) (#1512-1577) ignores return value by dividendTracker.process(gas) (#1573-1575)
BKING.addLiquidity(uint256,uint256) (#1634-1649) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWalletAddress,block.timestamp) (#1640-1647)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string)._name (#927) shadows:
- ERC20._name (#505) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#927) shadows:
- ERC20._symbol (#506) (state variable)
Rename the local variables that shadow another component.

Additional information: link

Reentrancy in BKING._setAutomatedMarketMakerPair(address,bool) (#1432-1441):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1437)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1440)
Reentrancy in BKING._transfer(address,address,uint256) (#1512-1577):
External calls:
- swapAndSendToSustainability(sustainabilityTokens) (#1536)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWalletAddress,block.timestamp) (#1640-1647)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
External calls sending eth:
- swapAndSendToSustainability(sustainabilityTokens) (#1536)
- address(sustainabilityWalletAddress).transfer(newBalance) (#1585)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWalletAddress,block.timestamp) (#1640-1647)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#750)
- swapAndLiquify(swapTokens) (#1541)
- SwapAndLiquify(half,newBalance,otherHalf) (#1609)
- swapAndLiquify(swapTokens) (#1541)
Reentrancy in BKING._transfer(address,address,uint256) (#1512-1577):
External calls:
- swapAndSendToSustainability(sustainabilityTokens) (#1536)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWalletAddress,block.timestamp) (#1640-1647)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- swapAndSendDividends(sellTokens) (#1546)
- (success) = address(dividendTracker).call{value: dividends}() (#1654)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
External calls sending eth:
- swapAndSendToSustainability(sustainabilityTokens) (#1536)
- address(sustainabilityWalletAddress).transfer(newBalance) (#1585)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWalletAddress,block.timestamp) (#1640-1647)
- swapAndSendDividends(sellTokens) (#1546)
- (success) = address(dividendTracker).call{value: dividends}() (#1654)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#750)
- swapAndSendDividends(sellTokens) (#1546)
- SendDividends(tokens,dividends) (#1657)
- swapAndSendDividends(sellTokens) (#1546)
- Transfer(sender,recipient,amount) (#685)
- super._transfer(from,address(this),fees) (#1562)
- Transfer(sender,recipient,amount) (#685)
- super._transfer(from,to,amount) (#1565)
Reentrancy in BKING._transfer(address,address,uint256) (#1512-1577):
External calls:
- swapAndSendToSustainability(sustainabilityTokens) (#1536)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWalletAddress,block.timestamp) (#1640-1647)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- swapAndSendDividends(sellTokens) (#1546)
- (success) = address(dividendTracker).call{value: dividends}() (#1654)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1567)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1568)
- dividendTracker.process(gas) (#1573-1575)
External calls sending eth:
- swapAndSendToSustainability(sustainabilityTokens) (#1536)
- address(sustainabilityWalletAddress).transfer(newBalance) (#1585)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWalletAddress,block.timestamp) (#1640-1647)
- swapAndSendDividends(sellTokens) (#1546)
- (success) = address(dividendTracker).call{value: dividends}() (#1654)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1574)
Reentrancy in BKING.constructor() (#1326-1360):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1333-1334)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1339)
- dividendTracker.excludeFromDividends(pair) (#1437)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1440)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1339)
Reentrancy in BKING.constructor() (#1326-1360):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1333-1334)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1339)
- dividendTracker.excludeFromDividends(pair) (#1437)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1342)
- dividendTracker.excludeFromDividends(address(this)) (#1343)
- dividendTracker.excludeFromDividends(owner()) (#1344)
- dividendTracker.excludeFromDividends(deadWallet) (#1345)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1346)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1368)
- excludeFromFees(owner(),true) (#1349)
- ExcludeFromFees(account,excluded) (#1368)
- excludeFromFees(address(this),true) (#1352)
- ExcludeFromFees(account,excluded) (#1368)
- excludeFromFees(liquidityWalletAddress,true) (#1351)
- ExcludeFromFees(account,excluded) (#1368)
- excludeFromFees(sustainabilityWalletAddress,true) (#1350)
- Transfer(address(0),account,amount) (#704)
- _mint(owner(),1000000000000 * (10 ** 18)) (#1358)
Reentrancy in BkingDividendTracker.processAccount(address,bool) (#1840-1850):
External calls:
- amount = _withdrawDividendOfUser(account) (#1841)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#973)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1845)
Reentrancy in BKING.processDividendTracker(uint256) (#1494-1497):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1495)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1496)
Reentrancy in BKING.swapAndLiquify(uint256) (#1588-1611):
External calls:
- swapTokensForEth(half) (#1600)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- addLiquidity(otherHalf,newBalance) (#1607)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWalletAddress,block.timestamp) (#1640-1647)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1607)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWalletAddress,block.timestamp) (#1640-1647)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#750)
- addLiquidity(otherHalf,newBalance) (#1607)
- SwapAndLiquify(half,newBalance,otherHalf) (#1609)
Reentrancy in BKING.swapAndSendDividends(uint256) (#1651-1659):
External calls:
- swapTokensForEth(tokens) (#1652)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- (success) = address(dividendTracker).call{value: dividends}() (#1654)
External calls sending eth:
- (success) = address(dividendTracker).call{value: dividends}() (#1654)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#1657)
Apply the check-effects-interactions pattern.

Additional information: link

BkingDividendTracker.getAccount(address) (#1720-1755) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1754)
BkingDividendTracker.canAutoClaim(uint256) (#1768-1774) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1769)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1773)
Avoid relying on block.timestamp.

Additional information: link

BKING.setSustainabilityWallet(address) (#1379-1384) compares to a boolean constant:
-require(bool,string)(canChangeSustainabilityWallet == true,The ability change the sustainability wallet has been disabled.) (#1382)
BKING.setRewardsFee(uint256) (#1386-1391) compares to a boolean constant:
-require(bool,string)(canChangeFees == true,The ability to update or change fees has been disabled.) (#1388)
BKING.setLiquidityFee(uint256) (#1393-1398) compares to a boolean constant:
-require(bool,string)(canChangeFees == true,The ability to update or change fees has been disabled.) (#1395)
BKING.setSustainabilityFee(uint256) (#1400-1405) compares to a boolean constant:
-require(bool,string)(canChangeFees == true,The ability to update or change fees has been disabled.) (#1402)
BKING.blacklistAddress(address,bool) (#1412-1415) compares to a boolean constant:
-require(bool,string)(canBlacklist == true,The ability to blacklist / amnesty accounts has been disabled.) (#1413)
Remove the equality to the boolean constant.

Additional information: link

Context._msgData() (#20-23) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#1024-1030) is never used and should be removed
SafeMath.mod(uint256,uint256) (#150-152) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#166-169) is never used and should be removed
SafeMathInt.abs(int256) (#857-860) is never used and should be removed
SafeMathInt.div(int256,int256) (#828-834) is never used and should be removed
SafeMathInt.mul(int256,int256) (#816-823) is never used and should be removed
Remove unused functions.

Additional information: link

BKING.totalFees (#1296) is set pre-construction with a non-constant function or state variable:
- rewardsFee.add(liquidityFee).add(sustainabilityFee)
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.6.2 (#3) allows old versions
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 DividendPayingToken._withdrawDividendOfUser(address) (#968-984):
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#973)
Low level call in BKING.swapAndSendDividends(uint256) (#1651-1659):
- (success) = address(dividendTracker).call{value: dividends}() (#1654)
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() (#249) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#250) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#267) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#990) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#997) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#1004) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#1014) is not in mixedCase
Constant DividendPayingToken.magnitude (#919) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Router01.WETH() (#1135) is not in mixedCase
Constant BKING.deadWallet (#1287) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BKING.swapTokensAtAmount (#1289) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter BkingDividendTracker.getAccount(address)._account (#1720) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#21)" inContext (#15-24)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in BKING._transfer(address,address,uint256) (#1512-1577):
External calls:
- swapAndSendToSustainability(sustainabilityTokens) (#1536)
- address(sustainabilityWalletAddress).transfer(newBalance) (#1585)
External calls sending eth:
- swapAndSendToSustainability(sustainabilityTokens) (#1536)
- address(sustainabilityWalletAddress).transfer(newBalance) (#1585)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWalletAddress,block.timestamp) (#1640-1647)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#1541)
- _allowances[owner][spender] = amount (#749)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#750)
- swapAndLiquify(swapTokens) (#1541)
- SwapAndLiquify(half,newBalance,otherHalf) (#1609)
- swapAndLiquify(swapTokens) (#1541)
Reentrancy in BKING._transfer(address,address,uint256) (#1512-1577):
External calls:
- swapAndSendToSustainability(sustainabilityTokens) (#1536)
- address(sustainabilityWalletAddress).transfer(newBalance) (#1585)
External calls sending eth:
- swapAndSendToSustainability(sustainabilityTokens) (#1536)
- address(sustainabilityWalletAddress).transfer(newBalance) (#1585)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWalletAddress,block.timestamp) (#1640-1647)
- swapAndSendDividends(sellTokens) (#1546)
- (success) = address(dividendTracker).call{value: dividends}() (#1654)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#1546)
- _allowances[owner][spender] = amount (#749)
- super._transfer(from,address(this),fees) (#1562)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#683)
- _balances[recipient] = _balances[recipient].add(amount) (#684)
- super._transfer(from,to,amount) (#1565)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#683)
- _balances[recipient] = _balances[recipient].add(amount) (#684)
- swapping = false (#1549)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#750)
- swapAndSendDividends(sellTokens) (#1546)
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1574)
- SendDividends(tokens,dividends) (#1657)
- swapAndSendDividends(sellTokens) (#1546)
- Transfer(sender,recipient,amount) (#685)
- super._transfer(from,address(this),fees) (#1562)
- Transfer(sender,recipient,amount) (#685)
- super._transfer(from,to,amount) (#1565)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#1140) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#1141)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#969) is too similar to BkingDividendTracker.getAccount(address).withdrawableDividends (#1725)
Prevent variables from having similar names.

Additional information: link

BKING.constructor() (#1326-1360) uses literals with too many digits:
- _mint(owner(),1000000000000 * (10 ** 18)) (#1358)
BKING.updateGasForProcessing(uint256) (#1451-1456) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,gasForProcessing must be between 200,000 and 500,000) (#1452)
BKING.slitherConstructorVariables() (#1273-1660) uses literals with too many digits:
- gasForProcessing = 300000 (#1302)
BKING.slitherConstructorConstantVariables() (#1273-1660) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#1287)
BKING.slitherConstructorConstantVariables() (#1273-1660) uses literals with too many digits:
- swapTokensAtAmount = 20000000 * (10 ** 18) (#1289)
BkingDividendTracker.constructor() (#1682-1685) uses literals with too many digits:
- minimumTokenBalanceForDividends = 1000000 * (10 ** 18) (#1684)
BkingDividendTracker.getAccountAtIndex(uint256) (#1757-1766) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1760)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (#811) is never used in SafeMathInt (#809-867)
Remove unused state variables.

Additional information: link

get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#296-298)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#300-305)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#307-309)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#313-315)
name() should be declared external:
- ERC20.name() (#525-527)
symbol() should be declared external:
- ERC20.symbol() (#533-535)
decimals() should be declared external:
- ERC20.decimals() (#550-552)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#576-579)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#584-586)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#595-598)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#613-621)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#635-638)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#654-657)
withdrawDividend() should be declared external:
- BkingDividendTracker.withdrawDividend() (#1691-1693)
- DividendPayingToken.withdrawDividend() (#962-964)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#990-992)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#1004-1006)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#1111-1114)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#1120-1124)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- BKING.setAutomatedMarketMakerPair(address,bool) (#1407-1410)
blacklistAddress(address,bool) should be declared external:
- BKING.blacklistAddress(address,bool) (#1412-1415)
updateLiquidityWallet(address) should be declared external:
- BKING.updateLiquidityWallet(address) (#1443-1448)
updateGasForProcessing(uint256) should be declared external:
- BKING.updateGasForProcessing(uint256) (#1451-1456)
isExcludedFromFees(address) should be declared external:
- BKING.isExcludedFromFees(address) (#1470-1472)
withdrawableDividendOf(address) should be declared external:
- BKING.withdrawableDividendOf(address) (#1474-1476)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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.

Contract has 15% buy tax and 14% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.


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


Average 30d PancakeSwap liquidity is low.


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find Discord account


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

Additional information: link


Unable to find token contract audit


Unable to find audit link on the website


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


Token has relatively low CoinGecko rank

Price for BKF

News for BKF