Bull Demon King Token Logo

BDKing [Bull Demon King] Token

About BDKing

Listings

Not Found
Token 21 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 1 January 2022

report
Token seems to be anonymous. As long as we are unable to find website score is limited.


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

BDKing._transfer(address,address,uint256) (#881-1064) uses a dangerous strict equality:
- time == 0 || time + 5184000 > block.timestamp (#901)
BDKing._transfer(address,address,uint256) (#881-1064) uses a dangerous strict equality:
- require(bool,string)(userLiquidity == 0 && lastInPoolTime[to] == 0 && presaleTime[to] == 0,ERC20: do not meet the purchase conditions) (#984)
BDKing.mining(uint256) (#1066-1127) uses a dangerous strict equality:
- liquidity == 0 (#1098)
Don't use strict equality to determine if an account has enough Ether or tokens.

Additional information: link

BDKing._mineRate() (#1171-1201) contains a tautology or contradiction:
- 0 <= totalTokenMine && totalTokenMine <= 500000000 * 10 ** 6 (#1173)
Fix the incorrect comparison by changing the value type or the comparison.

Additional information: link


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.

BDKing.mining(uint256) (#1066-1127) performs a multiplication on the result of a division:
-tokenNum = totalTokenInPool.mul(_mineRate()).mul(dayNum).div(10000) (#1076)
-mine = tokenNum.mul(liquidity).div(totalLiquidity) (#1102)
Consider ordering multiplication before division.

Additional information: link

BDKing.mining(uint256).dividends (#1108) 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

BDKing.setSendLeft(uint256) (#830-832) should emit an event for:
- sendLeft = left (#831)
Emit an event for critical parameter changes.

Additional information: link

BDKing.setExchangeAddress(address).exchangeAdd (#834) lacks a zero-check on :
- exchangeAddress = exchangeAdd (#835)
BDKing.setPancakeRouter(address).routerAdd (#838) lacks a zero-check on :
- pancakeRouter = routerAdd (#839)
BDKing.setPresaleAddress(address).presaleAdd (#842) lacks a zero-check on :
- presaleAddress = presaleAdd (#843)
BDKing.setFundAddress(address).fundAdd (#846) lacks a zero-check on :
- fundAddress = fundAdd (#847)
Check that the address is not zero.

Additional information: link

BDKing.mining(uint256) (#1066-1127) has external calls inside a loop: liquidity = ERC20(exchangeAddress).balanceOf(user) (#1096)
Favor pull over push strategy for external calls.

Additional information: link

BDKing._transfer(address,address,uint256) (#881-1064) uses timestamp for comparisons
Dangerous comparisons:
- lastTime != 0 && lastState[lastSender] == 0 (#889)
- time == 0 || time + 5184000 > block.timestamp (#901)
- require(bool,string)(lastInPoolTime[to] != 0 && lastInPoolTime[to] + 5184000 < block.timestamp,Lock time is not up) (#971)
- require(bool,string)(userLiquidity == 0 && lastInPoolTime[to] == 0 && presaleTime[to] == 0,ERC20: do not meet the purchase conditions) (#984)
- time_scope_1 > 0 (#1023)
- require(bool,string)(time_scope_1 + 14400 > block.timestamp || time_scope_1 + 5184000 < block.timestamp,ERC20: Time exceed) (#1025)
- require(bool,string)(time2 + 14400 > block.timestamp,ERC20: Time exceed) (#1039)
- require(bool,string)(lastInPoolTime[from] != 0 && lastInPoolTime[from] + 5184000 < block.timestamp,You must first add liquidity pool) (#1060)
BDKing.mining(uint256) (#1066-1127) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)((block.timestamp / 86400) - (lastSettleTime / 86400) >= 1 && dayNum > 0,Can only be settled once a day) (#1068)
Avoid relying on block.timestamp.

Additional information: link

Context._msgData() (#22-24) is never used and should be removed
ERC20._burn(address,uint256) (#489-504) is never used and should be removed
SafeMath.mod(uint256,uint256) (#695-697) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#710-713) is never used and should be removed
Remove unused functions.

Additional information: link

BDKing._previousPresaleFee (#779) is set pre-construction with a non-constant function or state variable:
- _presaleFee
BDKing._previousBurnFee (#782) is set pre-construction with a non-constant function or state variable:
- _burnFee
BDKing._previousDividendsFee (#785) is set pre-construction with a non-constant function or state variable:
- _dividendsFee
BDKing._previousReturnFee (#788) is set pre-construction with a non-constant function or state variable:
- _returnFee
BDKing._previousAdminFee (#791) is set pre-construction with a non-constant function or state variable:
- _adminFee
BDKing._previousTaxBurnFee (#794) is set pre-construction with a non-constant function or state variable:
- _taxBurnFee
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.8.0 (#5) allows old versions
Pragma version^0.8.0 (#31) allows old versions
Pragma version^0.8.0 (#104) allows old versions
Pragma version^0.8.0 (#188) allows old versions
Pragma version^0.8.0 (#218) allows old versions
Pragma version^0.8.0 (#576) allows old versions
solc-0.8.0 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

Variable BDKing._isExcludedFromFees (#726) is not in mixedCase
Variable BDKing._presaleFee (#778) is not in mixedCase
Variable BDKing._burnFee (#781) is not in mixedCase
Variable BDKing._dividendsFee (#784) is not in mixedCase
Variable BDKing._returnFee (#787) is not in mixedCase
Variable BDKing._adminFee (#790) is not in mixedCase
Variable BDKing._taxBurnFee (#793) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

BDKing.constructor() (#728-742) uses literals with too many digits:
- _mint(address(this),70000000000 * (10 ** 6)) (#736)
BDKing.constructor() (#728-742) uses literals with too many digits:
- _mint(presaleAddress,25000000000 * (10 ** 6)) (#738)
BDKing.constructor() (#728-742) uses literals with too many digits:
- _mint(fundAddress,5000000000 * (10 ** 6)) (#740)
BDKing._mineRate() (#1171-1201) uses literals with too many digits:
- 0 <= totalTokenMine && totalTokenMine <= 500000000 * 10 ** 6 (#1173)
BDKing._mineRate() (#1171-1201) uses literals with too many digits:
- 500000000 * 10 ** 6 < totalTokenMine && totalTokenMine <= 2000000000 * 10 ** 6 (#1176)
BDKing._mineRate() (#1171-1201) uses literals with too many digits:
- 2000000000 * 10 ** 6 < totalTokenMine && totalTokenMine <= 10000000000 * 10 ** 6 (#1179)
BDKing._mineRate() (#1171-1201) uses literals with too many digits:
- 10000000000 * 10 ** 6 < totalTokenMine && totalTokenMine <= 20000000000 * 10 ** 6 (#1182)
BDKing._mineRate() (#1171-1201) uses literals with too many digits:
- 20000000000 * 10 ** 6 < totalTokenMine && totalTokenMine <= 30000000000 * 10 ** 6 (#1185)
BDKing._mineRate() (#1171-1201) uses literals with too many digits:
- 30000000000 * 10 ** 6 < totalTokenMine && totalTokenMine <= 40000000000 * 10 ** 6 (#1188)
BDKing._mineRate() (#1171-1201) uses literals with too many digits:
- 40000000000 * 10 ** 6 < totalTokenMine && totalTokenMine <= 50000000000 * 10 ** 6 (#1191)
BDKing._mineRate() (#1171-1201) uses literals with too many digits:
- 50000000000 * 10 ** 6 < totalTokenMine && totalTokenMine <= 60000000000 * 10 ** 6 (#1194)
BDKing._mineRate() (#1171-1201) uses literals with too many digits:
- 60000000000 * 10 ** 6 < totalTokenMine && totalTokenMine <= 70000000000 * 10 ** 6 (#1197)
BDKing.slitherConstructorVariables() (#716-1212) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#752)
BDKing.slitherConstructorVariables() (#716-1212) uses literals with too many digits:
- tokenMineMax = 70000000000 * 10 ** 6 (#798)
BDKing.slitherConstructorVariables() (#716-1212) uses literals with too many digits:
- tokenBuyMaxOnce = 100000000 * 10 ** 6 (#800)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

BDKing._previousPresaleFee (#779) is never used in BDKing (#716-1212)
BDKing._previousBurnFee (#782) is never used in BDKing (#716-1212)
BDKing._previousDividendsFee (#785) is never used in BDKing (#716-1212)
BDKing._previousReturnFee (#788) is never used in BDKing (#716-1212)
BDKing._previousAdminFee (#791) is never used in BDKing (#716-1212)
BDKing._previousTaxBurnFee (#794) is never used in BDKing (#716-1212)
Remove unused state variables.

Additional information: link

BDKing._adminFee (#790) should be constant
BDKing._burnFee (#781) should be constant
BDKing._dividendsFee (#784) should be constant
BDKing._presaleFee (#778) should be constant
BDKing._returnFee (#787) should be constant
BDKing._taxBurnFee (#793) should be constant
BDKing.deadWallet (#752) should be constant
BDKing.tokenBuyMaxOnce (#800) should be constant
BDKing.tokenMineMax (#798) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#80-82)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#88-91)
name() should be declared external:
- ERC20.name() (#275-277)
symbol() should be declared external:
- ERC20.symbol() (#283-285)
decimals() should be declared external:
- ERC20.decimals() (#300-302)
totalSupply() should be declared external:
- ERC20.totalSupply() (#307-309)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#326-329)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#334-336)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#345-348)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#363-377)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#391-394)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#410-418)
setSendLeft(uint256) should be declared external:
- BDKing.setSendLeft(uint256) (#830-832)
setExchangeAddress(address) should be declared external:
- BDKing.setExchangeAddress(address) (#834-836)
setPancakeRouter(address) should be declared external:
- BDKing.setPancakeRouter(address) (#838-840)
setPresaleAddress(address) should be declared external:
- BDKing.setPresaleAddress(address) (#842-844)
setFundAddress(address) should be declared external:
- BDKing.setFundAddress(address) (#846-848)
mining(uint256) should be declared external:
- BDKing.mining(uint256) (#1066-1127)
userDrawProfit() should be declared external:
- BDKing.userDrawProfit() (#1129-1151)
userDrawReturnFee() should be declared external:
- BDKing.userDrawReturnFee() (#1153-1169)
queryLiquidity(address) should be declared external:
- BDKing.queryLiquidity(address) (#1203-1209)
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.


Unable to find Telegram and Twitter accounts


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 BDKing