Black Poker Token Logo

BPKR [Black Poker] Token

About BPKR

Listings

Token 2 years
white paper

$ BLACKPOKER is a token based on the BINANCE SMART CHAIN blockchain that will traverse a BLACK POKER platform. The token will power all betting processes on the platform, including its initialization.

Social

Laser Scorebeta Last Audit: 1 December 2021

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...)

BlackPoker.swapBack() (#541-580) sends eth to arbitrary user
Dangerous calls:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#566)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in BlackPoker._transferFrom(address,address,uint256) (#474-496):
External calls:
- swapBack() (#479)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#552-558)
- distributor.deposit{value: amountBNBReflection}() (#565)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#566)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#570-577)
- triggerAutoBuyback() (#480)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#618-623)
External calls sending eth:
- swapBack() (#479)
- distributor.deposit{value: amountBNBReflection}() (#565)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#566)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#570-577)
- triggerAutoBuyback() (#480)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#618-623)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#484)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#487)
- amountReceived = takeFee(sender,recipient,amount) (#486)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#528)
- triggerAutoBuyback() (#480)
- inSwap = true (#419)
- inSwap = false (#419)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#315-326) ignores return value by BUSD.transfer(shareholder,amount) (#321)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

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.

Reentrancy in DividendDistributor.setShare(address,uint256) (#248-262):
External calls:
- distributeDividend(shareholder) (#250)
- BUSD.transfer(shareholder,amount) (#321)
State variables written after the call(s):
- shares[shareholder].amount = amount (#260)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#261)
Apply the check-effects-interactions pattern.

Additional information: link

BlackPoker.swapBack() (#541-580) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#570-577)
Ensure that all the return values of the function calls are used.

Additional information: link

BlackPoker.setTargetLiquidity(uint256,uint256) (#693-696) should emit an event for:
- targetLiquidity = _target (#694)
- targetLiquidityDenominator = _denominator (#695)
Emit an event for critical parameter changes.

Additional information: link

BlackPoker.setFeeReceivers(address,address)._marketingFeeReceiver (#683) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#685)
Check that the address is not zero.

Additional information: link

Reentrancy in BlackPoker.triggerManualBuyback(uint256,bool) (#590-596):
External calls:
- buyTokens(amount,DEAD) (#591)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#618-623)
State variables written after the call(s):
- buybackMultiplierTriggeredAt = block.timestamp (#593)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BlackPoker.triggerManualBuyback(uint256,bool) (#590-596):
External calls:
- buyTokens(amount,DEAD) (#591)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#618-623)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (#594)
Apply the check-effects-interactions pattern.

Additional information: link

BlackPoker.isOverLiquified(uint256,uint256) (#728-730) uses timestamp for comparisons
Dangerous comparisons:
- getLiquidityBacking(accuracy) > target (#729)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#284-308) has costly operations inside a loop:
- currentIndex ++ (#305)
Use a local variable to hold the loop computation result.

Additional information: link

BlackPoker.swapThreshold (#417) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 100
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

solc-0.8.5 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 BlackPoker.swapBack() (#541-580):
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#566)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable BlackPoker._allowances (#376) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

BlackPoker.slitherConstructorVariables() (#359-742) uses literals with too many digits:
- distributorGas = 500000 (#414)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

BlackPoker.BUSD (#362) is never used in BlackPoker (#359-742)
Remove unused state variables.

Additional information: link

DividendDistributor.dividendsPerShareAccuracyFactor (#218) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

getUnpaidEarnings(address) should be declared external:
- BlackPoker.getUnpaidEarnings(address) (#711-713)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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


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 number of swaps.


Twitter account link seems to be invalid


Unable to find Youtube account


Unable to find Discord account


Unable to crawl data from the website


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

Additional information: link


Unable to find token contract audit


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


Unable to find Telegram link on the website


Unable to find Twitter link on the website


Unable to find token on CoinHunt

Additional information: link


Young tokens have high risks of price dump / death


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


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank


Token has relatively low CoinMarketCap rank

Price for BPKR