Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BullishFloki.swapBack() (#625-677) sends eth to arbitrary user
Dangerous calls:
- address(marketing).call{gas: 30000,value: amountBNBMarketing}() (#676)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BullishFloki._transferFrom(address,address,uint256) (#565-586):
External calls:
- swapBack() (#572)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#647-653)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidity,block.timestamp) (#661-668)
- dividendTracker.deposit{value: amountBNBReflection}() (#673)
- address(marketing).call{gas: 30000,value: amountBNBMarketing}() (#676)
External calls sending eth:
- swapBack() (#572)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidity,block.timestamp) (#661-668)
- dividendTracker.deposit{value: amountBNBReflection}() (#673)
- address(marketing).call{gas: 30000,value: amountBNBMarketing}() (#676)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#575)
- amountReceived = takeFee(sender,recipient,amount) (#576)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#612)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#577)
Apply the check-effects-interactions pattern.
Additional information: link
CakeCrewDividendTracker.distributeDividend(address) (#374-385) ignores return value by Cake.transfer(shareholder,amount) (#380)
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.
BullishFloki.swapBack() (#625-677) performs a multiplication on the result of a division:
-swapAmount = balanceOf(pair).mul(priceImpact).div(1000) (#626)
-amountToLiquify = swapAmount.mul(dynamicLiquidityFee).div(totalFee).div(2) (#638)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in CakeCrewDividendTracker.setShare(address,uint256) (#307-321):
External calls:
- distributeDividend(shareholder) (#309)
- Cake.transfer(shareholder,amount) (#380)
State variables written after the call(s):
- shares[shareholder].amount = amount (#319)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#320)
Apply the check-effects-interactions pattern.
Additional information: link
BullishFloki.swapBack() (#625-677) ignores return value by address(marketing).call{gas: 30000,value: amountBNBMarketing}() (#676)
Ensure that the return value of a low-level call is checked or logged.
Additional information: link
BullishFloki.swapBack() (#625-677) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidity,block.timestamp) (#661-668)
Ensure that all the return values of the function calls are used.
Additional information: link
BullishFloki.setTxLimit(uint256) (#729-732) should emit an event for:
- _maxTxAmount = amount (#731)
Emit an event for critical parameter changes.
Additional information: link
BullishFloki.setReceiver(address,address)._liquidity (#707) lacks a zero-check on :
- liquidity = _liquidity (#709)
Check that the address is not zero.
Additional information: link
Reentrancy in CakeCrewDividendTracker.setShare(address,uint256) (#307-321):
External calls:
- distributeDividend(shareholder) (#309)
- Cake.transfer(shareholder,amount) (#380)
State variables written after the call(s):
- addShareholder(shareholder) (#313)
- shareholderIndexes[shareholder] = shareholders.length (#403)
- removeShareholder(shareholder) (#315)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#409)
- addShareholder(shareholder) (#313)
- shareholders.push(shareholder) (#404)
- removeShareholder(shareholder) (#315)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#408)
- shareholders.pop() (#410)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#318)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BullishFloki.swapBack() (#625-677):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#647-653)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidity,block.timestamp) (#661-668)
External calls sending eth:
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidity,block.timestamp) (#661-668)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#669)
Apply the check-effects-interactions pattern.
Additional information: link
BullishFloki._transferFrom(address,address,uint256) (#565-586) uses timestamp for comparisons
Dangerous comparisons:
- lastSwap + interval <= block.timestamp (#570)
Avoid relying on block.timestamp.
Additional information: link
CakeCrewDividendTracker.process(uint256) (#343-367) has costly operations inside a loop:
- currentIndex ++ (#364)
Use a local variable to hold the loop computation result.
Additional information: link
Context._msgData() (#70-73) is never used and should be removed
Remove unused functions.
Additional information: link
BullishFloki.swapThreshold (#486) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 5000
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.7 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 BullishFloki.swapBack() (#625-677):
- address(marketing).call{gas: 30000,value: amountBNBMarketing}() (#676)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable BullishFloki._maxTxAmount (#461) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#71)" inContext (#65-74)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#180) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#181)
Prevent variables from having similar names.
Additional information: link
BullishFloki.slitherConstructorVariables() (#439-770) uses literals with too many digits:
- distributorGas = 500000 (#479)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BullishFloki.ZERO (#451) is never used in BullishFloki (#439-770)
Remove unused state variables.
Additional information: link
CakeCrewDividendTracker.dividendsPerShareAccuracyFactor (#277) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
claim() should be declared external:
- BullishFloki.claim() (#746-748)
Use the external attribute for functions never called from the contract.
Additional information: link
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 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
Unable to find Telegram and Twitter accounts