BlackBear king Token Logo

BBK [BlackBear king] Token

ALERT: rug pull scam

About BBK

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 9 June 2022

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

Reentrancy in BBK._transfer(address,address,uint256) (#1007-1055):
External calls:
- swapTokensForUSDC(swapTokensAtAmount.mul(marketingFee).div(totalFees)) (#1047)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,market,block.timestamp) (#922-928)
- swapAndLiquify(swapTokensAtAmount.mul(liquidityFee).div(totalFees)) (#1048)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owe,block.timestamp) (#996-1003)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#942-948)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount.mul(liquidityFee).div(totalFees)) (#1048)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owe,block.timestamp) (#996-1003)
State variables written after the call(s):
- super._transfer(from,to,amount) (#1052)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#700)
- _balances[recipient] = _balances[recipient].add(amount) (#701)
- swappingBool = false (#1049)
Apply the check-effects-interactions pattern.

Additional information: link


Token is flagged by TokenSniffer due to presence of exploit in contract code


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


Contract ownership is not renounced (belongs to a wallet)


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.

BBK._transfer(address,address,uint256) (#1007-1055) performs a multiplication on the result of a division:
-super._transfer(from,address(this),fbbs.div(10).mul(9)) (#1040)
Consider ordering multiplication before division.

Additional information: link

BBK.addLiquidity(uint256,uint256) (#990-1005) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owe,block.timestamp) (#996-1003)
Ensure that all the return values of the function calls are used.

Additional information: link

ERC20.allowance(address,address).owner (#590) shadows:
- Ownable.owner() (#119-121) (function)
ERC20._approve(address,address,uint256).owner (#752) shadows:
- Ownable.owner() (#119-121) (function)
Rename the local variables that shadow another component.

Additional information: link

BBK.setLunchTime(uint256) (#840-842) should emit an event for:
- lunchTime = amount (#841)
BBK.USDCRewardsFee(uint256,uint256) (#866-869) should emit an event for:
- txone = value (#867)
- txtwo = valuea (#868)
BBK.setswapTokensAtAmount(uint256) (#879-881) should emit an event for:
- swapTokensAtAmount = amount (#880)
BBK.setLiquiditFee(uint256) (#952-955) should emit an event for:
- liquidityFee = value (#953)
- totalFees = liquidityFee.add(marketingFee) (#954)
BBK.setMarketingFee(uint256) (#957-961) should emit an event for:
- marketingFee = value (#958)
- totalFees = liquidityFee.add(marketingFee) (#959)
Emit an event for critical parameter changes.

Additional information: link

BBK.setmarket(address).adr (#843) lacks a zero-check on :
- market = adr (#844)
Check that the address is not zero.

Additional information: link

Reentrancy in BBK._transfer(address,address,uint256) (#1007-1055):
External calls:
- swapTokensForUSDC(swapTokensAtAmount.mul(marketingFee).div(totalFees)) (#1047)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,market,block.timestamp) (#922-928)
- swapAndLiquify(swapTokensAtAmount.mul(liquidityFee).div(totalFees)) (#1048)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owe,block.timestamp) (#996-1003)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#942-948)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount.mul(liquidityFee).div(totalFees)) (#1048)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owe,block.timestamp) (#996-1003)
State variables written after the call(s):
- swapAndLiquify(swapTokensAtAmount.mul(liquidityFee).div(totalFees)) (#1048)
- _allowances[owner][spender] = amount (#759)
Reentrancy in BBK.constructor() (#815-833):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#820-821)
State variables written after the call(s):
- _balances[owner()] = (1 * 10 ** 11) * (10 ** 2) (#831)
- _isExcludedFromFees[owner()] = true (#825)
- _totalSupply = (1 * 10 ** 11) * (10 ** 2) (#830)
- isbig[market] = true (#826)
- isbig[_uniswapV2Pair] = true (#827)
- isbig[address(this)] = true (#828)
- isbig[deadWallet] = true (#829)
- uniswapV2Pair = _uniswapV2Pair (#824)
- uniswapV2Router = _uniswapV2Router (#823)
Reentrancy in BBK.swapAndLiquify(uint256) (#963-984):
External calls:
- swapTokensForEth(half) (#975)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#942-948)
- addLiquidity(otherHalf,newBalance) (#981)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owe,block.timestamp) (#996-1003)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#981)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owe,block.timestamp) (#996-1003)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#981)
- _allowances[owner][spender] = amount (#759)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BBK._transfer(address,address,uint256) (#1007-1055):
External calls:
- swapTokensForUSDC(swapTokensAtAmount.mul(marketingFee).div(totalFees)) (#1047)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,market,block.timestamp) (#922-928)
- swapAndLiquify(swapTokensAtAmount.mul(liquidityFee).div(totalFees)) (#1048)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owe,block.timestamp) (#996-1003)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#942-948)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount.mul(liquidityFee).div(totalFees)) (#1048)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owe,block.timestamp) (#996-1003)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#760)
- swapAndLiquify(swapTokensAtAmount.mul(liquidityFee).div(totalFees)) (#1048)
- Transfer(sender,recipient,amount) (#702)
- super._transfer(from,to,amount) (#1052)
Reentrancy in BBK.constructor() (#815-833):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#820-821)
Event emitted after the call(s):
- Transfer(address(0),owner(),(1 * 10 ** 11) * (10 ** 2)) (#832)
Reentrancy in BBK.swapAndLiquify(uint256) (#963-984):
External calls:
- swapTokensForEth(half) (#975)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#942-948)
- addLiquidity(otherHalf,newBalance) (#981)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owe,block.timestamp) (#996-1003)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#981)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owe,block.timestamp) (#996-1003)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#760)
- addLiquidity(otherHalf,newBalance) (#981)
Apply the check-effects-interactions pattern.

Additional information: link

Different versions of Solidity is used:
- Version used: ['0.6.12', '^0.6.2']
- 0.6.12 (#1)
- 0.6.12 (#17)
- ^0.6.2 (#99)
- 0.6.12 (#154)
- 0.6.12 (#300)
- ^0.6.2 (#319)
- 0.6.12 (#371)
- 0.6.12 (#781)
Use one Solidity version.

Additional information: link

Context._msgData() (#9-12) is never used and should be removed
SafeMath.mod(uint256,uint256) (#277-279) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#293-296) is never used and should be removed
Remove unused functions.

Additional information: link

BBK.totalFees (#801) is set pre-construction with a non-constant function or state variable:
- liquidityFee.add(marketingFee)
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 (#99) allows old versions
Pragma version^0.6.2 (#319) 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

Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#336) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#337) is not in mixedCase
Function IUniswapV2Pair.MUM_LIQUIDITY() (#353) is not in mixedCase
Function IUniswapV2Router01.WETH() (#375) is not in mixedCase
Variable ERC20._balances (#515) is not in mixedCase
Variable ERC20._totalSupply (#519) is not in mixedCase
Function BBK.USDCRewardsFee(uint256,uint256) (#866-869) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#10)" inContext (#4-13)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#380) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#381)
Prevent variables from having similar names.

Additional information: link

BBK.slitherConstructorVariables() (#785-1057) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#791)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

BBK.deadWallet (#791) should be constant
BBK.ererer (#812) should be constant
BBK.owe (#807) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#138-141)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#147-151)
name() should be declared external:
- ERC20.name() (#543-545)
symbol() should be declared external:
- ERC20.symbol() (#551-553)
decimals() should be declared external:
- ERC20.decimals() (#556-558)
totalSupply() should be declared external:
- ERC20.totalSupply() (#563-565)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#582-585)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#590-592)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#601-604)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#619-627)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#641-644)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#660-663)
setmarket(address) should be declared external:
- BBK.setmarket(address) (#843-845)
setBigNumber(address,bool) should be declared external:
- BBK.setBigNumber(address,bool) (#863-865)
setswapTokensAtAmount(uint256) should be declared external:
- BBK.setswapTokensAtAmount(uint256) (#879-881)
seteddToken(address,uint256) should be declared external:
- BBK.seteddToken(address,uint256) (#883-885)
copyMapData(address[],uint256) should be declared external:
- BBK.copyMapData(address[],uint256) (#906-911)
Use the external attribute for functions never called from the contract.

Additional information: link


Not a direct threat, but may indicate unreliable intentions of developer. Both name and ticker of current token are widespread, i.e. common across multiple tokens. This is slightly suspicious

Holders:


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


Attempt to swap token was unsuccessful. For some reason it is untradeable. If token is not in presale stage and is not traded outside PancakeSwap, then it's a scam

Additional information: link


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


Unable to find Telegram and Twitter accounts


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


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

Additional information: link


Young tokens have high risks of price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for BBK