FarmerFloki Token Logo

FAMFLO [FarmerFloki] Token

About FAMFLO

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

FarmerFloki.swapBack(uint256) (#888-932) sends eth to arbitrary user
Dangerous calls:
- distributor.deposit{value: amountBNBReflection}() (#917)
- marketingFeeReceiver.transfer(amountBNBMarketing) (#919)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in FarmerFloki.airdrop(address[],uint256[],uint256,bool) (#728-740):
External calls:
- _transferFrom(from,addresses[i],amounts[i]) (#734)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#971-976)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#902-908)
- distributor.deposit{value: amountBNBReflection}() (#917)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#922-929)
- distributor.setShare(sender,_balances[sender]) (#795)
- distributor.setShare(recipient,_balances[recipient]) (#796)
- distributor.process(distributorGas) (#798)
External calls sending eth:
- _transferFrom(from,addresses[i],amounts[i]) (#734)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#971-976)
- distributor.deposit{value: amountBNBReflection}() (#917)
- marketingFeeReceiver.transfer(amountBNBMarketing) (#919)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#922-929)
State variables written after the call(s):
- airDropBalance[addresses[i]] = amounts[i] (#736)
- airDropVestingPeriod[addresses[i]] = block.timestamp + vestingPeriod (#735)
- airDropped[addresses[i]] = true (#737)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address,uint256) (#556-567) ignores return value by TOKEN.transfer(shareholder,unpaidEarnings) (#561)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link

FarmerFloki.getTotalFee(bool,address,address,uint256) (#854-868) uses a dangerous strict equality:
- balance == 0 (#865)
Don't use strict equality to determine if an account has enough Ether or tokens.

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.

FarmerFloki.slitherConstructorVariables() (#613-1118) performs a multiplication on the result of a division:
-_maxTxAmount = (_totalSupply * 10) / 100 (#628)
-_dumpProtectionDenominator = 100 * _maxTxAmount (#651)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in DividendDistributor.setShare(address,uint256) (#484-499):
External calls:
- distributeDividend(shareholder,getUnpaidEarnings(shareholder)) (#487)
- TOKEN.transfer(shareholder,unpaidEarnings) (#561)
State variables written after the call(s):
- shares[shareholder].amount = amount (#497)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#498)
- removeShareholder(shareholder) (#493)
- tokenConversionProgress ++ (#605)
Apply the check-effects-interactions pattern.

Additional information: link

FarmerFloki.swapBack(uint256) (#888-932) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#922-929)
Ensure that all the return values of the function calls are used.

Additional information: link

FarmerFloki.setDistributorSettings(uint256) (#1085-1088) should emit an event for:
- distributorGas = gas (#1087)
Emit an event for critical parameter changes.

Additional information: link

FarmerFloki.setFeeReceivers(address,address)._marketingFeeReceiver (#1065) lacks a zero-check on :
- marketingFeeReceiver = address(_marketingFeeReceiver) (#1067)
Check that the address is not zero.

Additional information: link

Reentrancy in FarmerFloki.triggerManualBuyback(uint256,bool) (#943-949):
External calls:
- buyTokens(amount,DEAD) (#944)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#971-976)
State variables written after the call(s):
- buybackMultiplierTriggeredAt = block.timestamp (#946)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in FarmerFloki.triggerManualBuyback(uint256,bool) (#943-949):
External calls:
- buyTokens(amount,DEAD) (#944)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#971-976)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (#947)
Apply the check-effects-interactions pattern.

Additional information: link

FarmerFloki.getTotalFee(bool,address,address,uint256) (#854-868) uses timestamp for comparisons
Dangerous comparisons:
- lastSell[sender] + _dumpProtectionTimer <= block.timestamp (#857)
Avoid relying on block.timestamp.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#121-142) uses assembly
- INLINE ASM (#134-137)
Do not use evm assembly.

Additional information: link

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

Additional information: link

Context._msgData() (#150-153) is never used and should be removed
Remove unused functions.

Additional information: link

FarmerFloki.swapThreshold (#685) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 2000
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.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 Address._functionCallWithValue(address,bytes,uint256,string) (#121-142):
- (success,returndata) = target.call{value: weiValue}(data) (#125)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable FarmerFloki._discountDenominator (#655) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#151)" inContext (#145-154)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in FarmerFloki.swapBack(uint256) (#888-932):
External calls:
- marketingFeeReceiver.transfer(amountBNBMarketing) (#919)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#917)
- marketingFeeReceiver.transfer(amountBNBMarketing) (#919)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#922-929)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#930)
Apply the check-effects-interactions pattern.

Additional information: link

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

Additional information: link

FarmerFloki.slitherConstructorVariables() (#613-1118) uses literals with too many digits:
- distributorGas = 500000 (#682)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

FarmerFloki.routerAddress (#664) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

unlock() should be declared external:
- Ownable.unlock() (#303-308)
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 FAMFLO