BlackXFloki Token Logo

BLACKXFLOKI Token

About BLACKXFLOKI

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 30 November 2021

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

BlackXFloki.swapBack() (#587-651) sends eth to arbitrary user
Dangerous calls:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#643)
- (success,None) = address(charityFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#646)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in BlackXFloki._transferFrom(address,address,uint256) (#502-537):
External calls:
- swapBack() (#518)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToLiquify,0,path,address(this),block.timestamp) (#598-604)
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#608-615)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path_scope_0,address(this),block.timestamp) (#627-633)
- distributor.deposit{value: amountBNBReflection}() (#641)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#643)
- (success,None) = address(charityFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#646)
- triggerAutoBuyback() (#519)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#686-691)
External calls sending eth:
- swapBack() (#518)
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#608-615)
- distributor.deposit{value: amountBNBReflection}() (#641)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#643)
- (success,None) = address(charityFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#646)
- triggerAutoBuyback() (#519)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#686-691)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#523)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#526)
- amountReceived = takeFee(sender,recipient,amount) (#525)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#570)
- triggerAutoBuyback() (#519)
- inSwap = true (#445)
- inSwap = false (#445)
- launch() (#521)
- launchedAt = block.number (#709)
- amountReceived = takeFee(sender,recipient,amount) (#525)
- liquidityFeeAccumulator = liquidityFeeAccumulator.add(feeAmount.mul(liquidityFee).div(totalFee.add(liquidityFee))) (#574)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#322-335) ignores return value by FLOKI.transfer(shareholder,amount) (#328)
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.

BlackXFloki.takeFee(address,address,uint256) (#567-578) performs a multiplication on the result of a division:
-feeAmount = amount.mul(getTotalFee(receiver == pair)).div(feeDenominator) (#568)
-liquidityFeeAccumulator = liquidityFeeAccumulator.add(feeAmount.mul(liquidityFee).div(totalFee.add(liquidityFee))) (#574)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in DividendDistributor.setShare(address,uint256) (#249-263):
External calls:
- distributeDividend(shareholder) (#250)
- FLOKI.transfer(shareholder,amount) (#328)
State variables written after the call(s):
- shares[shareholder].amount = amount (#259)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#260)
Apply the check-effects-interactions pattern.

Additional information: link

BlackXFloki.swapBack() (#587-651) ignores return value by router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#608-615)
Ensure that all the return values of the function calls are used.

Additional information: link

BlackXFloki.setMaxWalletSize(uint256,uint256) (#563-565) should emit an event for:
- _maxWalletSize = _totalSupply.mul(percent).div(divisor) (#564)
Emit an event for critical parameter changes.

Additional information: link

BlackXFloki.setFeeReceivers(address,address,address)._charityFeeReceiver (#776) lacks a zero-check on :
- charityFeeReceiver = _charityFeeReceiver (#779)
Check that the address is not zero.

Additional information: link

Reentrancy in BlackXFloki.triggerAutoBuyback() (#674-679):
External calls:
- buyTokens(autoBuybackAmount,DEAD) (#675)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#686-691)
State variables written after the call(s):
- autoBuybackAccumulator = autoBuybackAccumulator.add(autoBuybackAmount) (#677)
- autoBuybackBlockLast = block.number (#676)
- autoBuybackEnabled = false (#678)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BlackXFloki.swapBack() (#587-651):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path_scope_0,address(this),block.timestamp) (#627-633)
- distributor.deposit{value: amountBNBReflection}() (#641)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#643)
- (success,None) = address(charityFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#646)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#641)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#643)
- (success,None) = address(charityFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#646)
Event emitted after the call(s):
- SwapBack(amountToSwap,amountBNB_scope_2) (#649)
Apply the check-effects-interactions pattern.

Additional information: link

BlackXFloki.setWalletBanStatus(address,bool) (#735-743) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(1626631691 + 315360000 > block.timestamp,User was put in a cage.) (#737)
Avoid relying on block.timestamp.

Additional information: link

BlackXFloki._transferFrom(address,address,uint256) (#502-537) compares to a boolean constant:
-require(bool,string)(bannedUsers[recipient] == false,Recipient is banned) (#504)
Remove the equality to the boolean constant.

Additional information: link

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

Additional information: link

BlackXFloki.swapThreshold (#442) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 4000
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.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 BlackXFloki.swapBack() (#587-651):
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#643)
- (success,None) = address(charityFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#646)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable BlackXFloki._maxWalletSize (#416) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable BlackXFloki.setFees(bool,uint256,uint256,uint256,uint256,uint256,uint256)._marketingFee (#755) is too similar to BlackXFloki.marketingFees (#422)
Prevent variables from having similar names.

Additional information: link

BlackXFloki.slitherConstructorVariables() (#378-863) uses literals with too many digits:
- distributorGas = 100000 (#439)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

BlackXFloki._previousMaxWalletSize (#417) is never used in BlackXFloki (#378-863)
Remove unused state variables.

Additional information: link

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

Additional information: link

transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#113-117)
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.


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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death

Price for BLACKXFLOKI