$EFARM is offer its holders an interest every second.Every token holder automatically receives interest every second just for holding $EFARM tokens in their own wallet! The $EFARM also token acts as a governance token for the DAO backed treasury.
EFARM.swapBack() (EFARM.sol#282-328) sends eth to arbitrary user
Dangerous calls:
- (success) = address(treasuryReceiver).call{gas: 70000,value: TreasuryAmount}() (EFARM.sol#312-315)
- (success,None) = address(TeamWallet).call{gas: 70000,value: TeamAmount}() (EFARM.sol#317-320)
- (success,None) = address(SuuperInsuranceFundReceiver).call{gas: 70000,value: receivedAmount.mul(EPF).div(Treasury.add(EPF))}() (EFARM.sol#322-327)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in EFARM._transferFrom(address,address,uint256) (EFARM.sol#172-213):
External calls:
- rebase() (EFARM.sol#186)
- pairContract.sync() (EFARM.sol#131)
- addLiquidity() (EFARM.sol#189)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (EFARM.sol#259-265)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (EFARM.sol#270-277)
- swapBack() (EFARM.sol#192)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (EFARM.sol#296-302)
- (success) = address(treasuryReceiver).call{gas: 70000,value: TreasuryAmount}() (EFARM.sol#312-315)
- (success,None) = address(TeamWallet).call{gas: 70000,value: TeamAmount}() (EFARM.sol#317-320)
- (success,None) = address(SuuperInsuranceFundReceiver).call{gas: 70000,value: receivedAmount.mul(EPF).div(Treasury.add(EPF))}() (EFARM.sol#322-327)
External calls sending eth:
- addLiquidity() (EFARM.sol#189)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (EFARM.sol#270-277)
- swapBack() (EFARM.sol#192)
- (success) = address(treasuryReceiver).call{gas: 70000,value: TreasuryAmount}() (EFARM.sol#312-315)
- (success,None) = address(TeamWallet).call{gas: 70000,value: TeamAmount}() (EFARM.sol#317-320)
- (success,None) = address(SuuperInsuranceFundReceiver).call{gas: 70000,value: receivedAmount.mul(EPF).div(Treasury.add(EPF))}() (EFARM.sol#322-327)
State variables written after the call(s):
- _gonBalances[sender] = _gonBalances[sender].sub(gonAmount) (EFARM.sol#198)
- _gonBalances[recipient] = _gonBalances[recipient].add(gonAmountReceived) (EFARM.sol#202-204)
- gonAmountReceived = takeFee(sender,gonAmount) (EFARM.sol#199-201)
- _gonBalances[EverFire] = _gonBalances[EverFire].add(gonAmount.div(feeDenominator).mul(burnFee)) (EFARM.sol#224-226)
- _gonBalances[address(this)] = _gonBalances[address(this)].add(gonAmount.div(feeDenominator).mul(_treasuryFee.add(EPF))) (EFARM.sol#227-229)
- _gonBalances[autoLiquidityReceiver] = _gonBalances[autoLiquidityReceiver].add(gonAmount.div(feeDenominator).mul(liquidityFee)) (EFARM.sol#230-232)
- swapBack() (EFARM.sol#192)
- inSwap = true (EFARM.sol#51)
- inSwap = false (EFARM.sol#53)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ownership is not renounced (belongs to a wallet)
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.
EFARM.swapBack().success (EFARM.sol#312) is written in both
(success) = address(treasuryReceiver).call{gas: 70000,value: TreasuryAmount}() (EFARM.sol#312-315)
(success,None) = address(TeamWallet).call{gas: 70000,value: TeamAmount}() (EFARM.sol#317-320)
EFARM.swapBack().success (EFARM.sol#312) is written in both
(success,None) = address(TeamWallet).call{gas: 70000,value: TeamAmount}() (EFARM.sol#317-320)
(success,None) = address(SuuperInsuranceFundReceiver).call{gas: 70000,value: receivedAmount.mul(EPF).div(Treasury.add(EPF))}() (EFARM.sol#322-327)
Fix or remove the writes.
Additional information: link
EFARM.addLiquidity() (EFARM.sol#238-280) ignores return value by router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (EFARM.sol#270-277)
Ensure that all the return values of the function calls are used.
Additional information: link
EFARM.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (EFARM.sol#469) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (EFARM.sol#474)
EFARM.setFeeReceivers(address,address,address,address)._treasuryReceiver (EFARM.sol#470) lacks a zero-check on :
- treasuryReceiver = _treasuryReceiver (EFARM.sol#475)
EFARM.setFeeReceivers(address,address,address,address)._SuuperInsuranceFundReceiver (EFARM.sol#471) lacks a zero-check on :
- SuuperInsuranceFundReceiver = _SuuperInsuranceFundReceiver (EFARM.sol#476)
EFARM.setFeeReceivers(address,address,address,address)._teamWallet (EFARM.sol#472) lacks a zero-check on :
- TeamWallet = _teamWallet (EFARM.sol#477)
EFARM.AdjustWildfireWallet(address).newDeadWallet (EFARM.sol#495) lacks a zero-check on :
- EverFire = newDeadWallet (EFARM.sol#497)
EFARM.setPairAddress(address)._pairAddress (EFARM.sol#500) lacks a zero-check on :
- pairAddress = _pairAddress (EFARM.sol#501)
Check that the address is not zero.
Additional information: link
getLiquidityBacking(uint256) should be declared external:
- EFARM.getLiquidityBacking(uint256) (EFARM.sol#480-488)
setPairAddress(address) should be declared external:
- EFARM.setPairAddress(address) (EFARM.sol#500-503)
owner() should be declared external:
- Ownable.owner() (Libraries.sol#339-341)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Libraries.sol#352-355)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Libraries.sol#357-359)
name() should be declared external:
- ERC20Detailed.name() (Libraries.sol#383-385)
symbol() should be declared external:
- ERC20Detailed.symbol() (Libraries.sol#387-389)
decimals() should be declared external:
- ERC20Detailed.decimals() (Libraries.sol#391-393)
Use the external attribute for functions never called from the contract.
Additional information: link
EFARM.rebase() (EFARM.sol#110-134) performs a multiplication on the result of a division:
-times = deltaTime.div(3) (EFARM.sol#116)
-_lastRebasedTime = _lastRebasedTime.add(times.mul(600)) (EFARM.sol#129)
EFARM.takeFee(address,uint256) (EFARM.sol#215-236) performs a multiplication on the result of a division:
-feeAmount = gonAmount.div(feeDenominator).mul(_totalFee) (EFARM.sol#222)
EFARM.takeFee(address,uint256) (EFARM.sol#215-236) performs a multiplication on the result of a division:
-_gonBalances[EverFire] = _gonBalances[EverFire].add(gonAmount.div(feeDenominator).mul(burnFee)) (EFARM.sol#224-226)
EFARM.takeFee(address,uint256) (EFARM.sol#215-236) performs a multiplication on the result of a division:
-_gonBalances[address(this)] = _gonBalances[address(this)].add(gonAmount.div(feeDenominator).mul(_treasuryFee.add(EPF))) (EFARM.sol#227-229)
EFARM.takeFee(address,uint256) (EFARM.sol#215-236) performs a multiplication on the result of a division:
-_gonBalances[autoLiquidityReceiver] = _gonBalances[autoLiquidityReceiver].add(gonAmount.div(feeDenominator).mul(liquidityFee)) (EFARM.sol#230-232)
EFARM.swapBack() (EFARM.sol#282-328) performs a multiplication on the result of a division:
-TreasuryAndTeamAmount = receivedAmount.mul(Treasury).div(Treasury.add(EPF)) (EFARM.sol#308)
-TreasuryAmount = TreasuryAndTeamAmount * 4 / 5 (EFARM.sol#309)
EFARM.getLiquidityBacking(uint256) (EFARM.sol#480-488) performs a multiplication on the result of a division:
-liquidityBalance = _gonBalances[pair].div(_gonsPerFragment) (EFARM.sol#485)
-accuracy.mul(liquidityBalance.mul(2)).div(getCirculatingSupply()) (EFARM.sol#486-487)
Consider ordering multiplication before division.
Additional information: link
EFARM.setLaunchTimestamp(uint256) (EFARM.sol#104-109) should emit an event for:
- LaunchTimestamp = Timestamp (EFARM.sol#107)
- _lastRebasedTime = Timestamp (EFARM.sol#108)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in EFARM.addLiquidity() (EFARM.sol#238-280):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (EFARM.sol#259-265)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (EFARM.sol#270-277)
External calls sending eth:
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (EFARM.sol#270-277)
State variables written after the call(s):
- _lastAddLiquidityTime = block.timestamp (EFARM.sol#279)
Reentrancy in EFARM.constructor() (EFARM.sol#72-100):
External calls:
- pair = IPancakeSwapFactory(router.factory()).createPair(router.WETH(),address(this)) (EFARM.sol#76-79)
State variables written after the call(s):
- SuuperInsuranceFundReceiver = msg.sender (EFARM.sol#84)
- TeamWallet = msg.sender (EFARM.sol#83)
- _allowedFragments[address(this)][address(router)] = uint256(- 1) (EFARM.sol#86)
- _autoAddLiquidity = true (EFARM.sol#94)
- _autoRebase = true (EFARM.sol#93)
- _gonBalances[treasuryReceiver] = TOTAL_GONS (EFARM.sol#91)
- _gonsPerFragment = TOTAL_GONS.div(_totalSupply) (EFARM.sol#92)
- _isFeeExempt[treasuryReceiver] = true (EFARM.sol#95)
- _isFeeExempt[address(this)] = true (EFARM.sol#96)
- _transferOwnership(treasuryReceiver) (EFARM.sol#98)
- _owner = newOwner (Libraries.sol#364)
- _totalSupply = INITIAL_FRAGMENTS_SUPPLY (EFARM.sol#90)
- autoLiquidityReceiver = msg.sender (EFARM.sol#81)
- pairAddress = pair (EFARM.sol#87)
- pairContract = IPancakeSwapPair(pair) (EFARM.sol#88)
- treasuryReceiver = msg.sender (EFARM.sol#82)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in EFARM._transferFrom(address,address,uint256) (EFARM.sol#172-213):
External calls:
- rebase() (EFARM.sol#186)
- pairContract.sync() (EFARM.sol#131)
- addLiquidity() (EFARM.sol#189)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (EFARM.sol#259-265)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (EFARM.sol#270-277)
- swapBack() (EFARM.sol#192)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (EFARM.sol#296-302)
- (success) = address(treasuryReceiver).call{gas: 70000,value: TreasuryAmount}() (EFARM.sol#312-315)
- (success,None) = address(TeamWallet).call{gas: 70000,value: TeamAmount}() (EFARM.sol#317-320)
- (success,None) = address(SuuperInsuranceFundReceiver).call{gas: 70000,value: receivedAmount.mul(EPF).div(Treasury.add(EPF))}() (EFARM.sol#322-327)
External calls sending eth:
- addLiquidity() (EFARM.sol#189)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (EFARM.sol#270-277)
- swapBack() (EFARM.sol#192)
- (success) = address(treasuryReceiver).call{gas: 70000,value: TreasuryAmount}() (EFARM.sol#312-315)
- (success,None) = address(TeamWallet).call{gas: 70000,value: TeamAmount}() (EFARM.sol#317-320)
- (success,None) = address(SuuperInsuranceFundReceiver).call{gas: 70000,value: receivedAmount.mul(EPF).div(Treasury.add(EPF))}() (EFARM.sol#322-327)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount.div(_gonsPerFragment)) (EFARM.sol#234)
- gonAmountReceived = takeFee(sender,gonAmount) (EFARM.sol#199-201)
- Transfer(sender,recipient,gonAmountReceived.div(_gonsPerFragment)) (EFARM.sol#207-211)
Reentrancy in EFARM.constructor() (EFARM.sol#72-100):
External calls:
- pair = IPancakeSwapFactory(router.factory()).createPair(router.WETH(),address(this)) (EFARM.sol#76-79)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (Libraries.sol#363)
- _transferOwnership(treasuryReceiver) (EFARM.sol#98)
- Transfer(address(0x0),treasuryReceiver,_totalSupply) (EFARM.sol#99)
Reentrancy in EFARM.rebase() (EFARM.sol#110-134):
External calls:
- pairContract.sync() (EFARM.sol#131)
Event emitted after the call(s):
- LogRebase(epoch,_totalSupply) (EFARM.sol#133)
Apply the check-effects-interactions pattern.
Additional information: link
EFARM.setLaunchTimestamp(uint256) (EFARM.sol#104-109) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp < LaunchTimestamp,Already Launched) (EFARM.sol#105)
- require(bool,string)(Timestamp >= block.timestamp,Launch can't be in the past) (EFARM.sol#106)
EFARM.rebase() (EFARM.sol#110-134) uses timestamp for comparisons
Dangerous comparisons:
- times > 200 (EFARM.sol#119)
- i < times (EFARM.sol#122)
EFARM._transferFrom(address,address,uint256) (EFARM.sol#172-213) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp >= LaunchTimestamp,Not yet Launched) (EFARM.sol#184)
EFARM.shouldRebase() (EFARM.sol#356-364) uses timestamp for comparisons
Dangerous comparisons:
- _autoRebase && block.timestamp >= LaunchTimestamp && (_totalSupply < MAX_SUPPLY) && msg.sender != pair && ! inSwap && block.timestamp >= (_lastRebasedTime + 600) (EFARM.sol#357-363)
EFARM.shouldAddLiquidity() (EFARM.sol#366-372) uses timestamp for comparisons
Dangerous comparisons:
- _autoAddLiquidity && ! inSwap && msg.sender != pair && block.timestamp >= (_lastAddLiquidityTime + 3600) (EFARM.sol#367-371)
EFARM.AdjustWildfireWallet(address) (EFARM.sol#495-498) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(block.timestamp < LaunchTimestamp) (EFARM.sol#496)
Avoid relying on block.timestamp.
Additional information: link
SafeMath.mod(uint256,uint256) (Libraries.sol#91-94) is never used and should be removed
SafeMathInt.abs(int256) (Libraries.sol#36-39) is never used and should be removed
SafeMathInt.add(int256,int256) (Libraries.sol#30-34) is never used and should be removed
SafeMathInt.div(int256,int256) (Libraries.sol#18-22) is never used and should be removed
SafeMathInt.mul(int256,int256) (Libraries.sol#10-16) is never used and should be removed
SafeMathInt.sub(int256,int256) (Libraries.sol#24-28) is never used and should be removed
Remove unused functions.
Additional information: link
EFARM.totalFee (EFARM.sol#32-35) is set pre-construction with a non-constant function or state variable:
- liquidityFee.add(Treasury).add(EPF).add(burnFee)
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.7.4 (EFARM.sol#4) allows old versions
Pragma version^0.7.4 (Libraries.sol#4) 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
Low level call in EFARM.swapBack() (EFARM.sol#282-328):
- (success) = address(treasuryReceiver).call{gas: 70000,value: TreasuryAmount}() (EFARM.sol#312-315)
- (success,None) = address(TeamWallet).call{gas: 70000,value: TeamAmount}() (EFARM.sol#317-320)
- (success,None) = address(SuuperInsuranceFundReceiver).call{gas: 70000,value: receivedAmount.mul(EPF).div(Treasury.add(EPF))}() (EFARM.sol#322-327)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function EFARM.Launch() (EFARM.sol#101-103) is not in mixedCase
Parameter EFARM.setLaunchTimestamp(uint256).Timestamp (EFARM.sol#104) is not in mixedCase
Parameter EFARM.setAutoRebase(bool)._flag (EFARM.sol#380) is not in mixedCase
Parameter EFARM.setAutoAddLiquidity(bool)._flag (EFARM.sol#389) is not in mixedCase
Parameter EFARM.checkFeeExempt(address)._addr (EFARM.sol#452) is not in mixedCase
Parameter EFARM.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (EFARM.sol#469) is not in mixedCase
Parameter EFARM.setFeeReceivers(address,address,address,address)._treasuryReceiver (EFARM.sol#470) is not in mixedCase
Parameter EFARM.setFeeReceivers(address,address,address,address)._SuuperInsuranceFundReceiver (EFARM.sol#471) is not in mixedCase
Parameter EFARM.setFeeReceivers(address,address,address,address)._teamWallet (EFARM.sol#472) is not in mixedCase
Parameter EFARM.setWhitelist(address,bool)._addr (EFARM.sol#491) is not in mixedCase
Function EFARM.AdjustWildfireWallet(address) (EFARM.sol#495-498) is not in mixedCase
Parameter EFARM.setPairAddress(address)._pairAddress (EFARM.sol#500) is not in mixedCase
Variable EFARM._isFeeExempt (EFARM.sol#14) is not in mixedCase
Variable EFARM.Treasury (EFARM.sol#29) is not in mixedCase
Variable EFARM.EPF (EFARM.sol#30) is not in mixedCase
Variable EFARM.EverFire (EFARM.sol#38) is not in mixedCase
Variable EFARM.SuuperInsuranceFundReceiver (EFARM.sol#43) is not in mixedCase
Variable EFARM.TeamWallet (EFARM.sol#45) is not in mixedCase
Variable EFARM._autoRebase (EFARM.sol#61) is not in mixedCase
Variable EFARM._autoAddLiquidity (EFARM.sol#62) is not in mixedCase
Variable EFARM.LaunchTimestamp (EFARM.sol#63) is not in mixedCase
Variable EFARM._lastRebasedTime (EFARM.sol#64) is not in mixedCase
Variable EFARM._lastAddLiquidityTime (EFARM.sol#65) is not in mixedCase
Variable EFARM._totalSupply (EFARM.sol#66) is not in mixedCase
Function IPancakeSwapPair.DOMAIN_SEPARATOR() (Libraries.sol#141) is not in mixedCase
Function IPancakeSwapPair.PERMIT_TYPEHASH() (Libraries.sol#142) is not in mixedCase
Function IPancakeSwapPair.MINIMUM_LIQUIDITY() (Libraries.sol#159) is not in mixedCase
Function IPancakeSwapRouter.WETH() (Libraries.sol#179) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IPancakeSwapRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (Libraries.sol#184) is too similar to IPancakeSwapRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (Libraries.sol#185)
Prevent variables from having similar names.
Additional information: link
EFARM.slitherConstructorVariables() (EFARM.sol#6-519) uses literals with too many digits:
- EverFire = 0x000000000000000000000000000000000000dEaD (EFARM.sol#38)
EFARM.slitherConstructorConstantVariables() (EFARM.sol#6-519) uses literals with too many digits:
- INITIAL_FRAGMENTS_SUPPLY = 500000 * 10 ** DECIMALS (EFARM.sol#25-26)
EFARM.slitherConstructorConstantVariables() (EFARM.sol#6-519) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (EFARM.sol#39)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (Libraries.sol#8) is never used in SafeMathInt (Libraries.sol#6-40)
Remove unused state variables.
Additional information: link
EFARM.EPF (EFARM.sol#30) should be constant
EFARM.Treasury (EFARM.sol#29) should be constant
EFARM.burnFee (EFARM.sol#31) should be constant
EFARM.feeDenominator (EFARM.sol#36) should be constant
EFARM.liquidityFee (EFARM.sol#28) should be constant
EFARM.swapEnabled (EFARM.sol#46) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
Contract has 16% buy tax and 16% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average 30d PancakeSwap liquidity is low.
Token is deployed only at one blockchain
Token has only one trading pair
Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find audit link on the website
Unable to find whitepaper link on the website
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Telegram account link seems to be invalid
Twitter account has relatively few followers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account