Father Of Elon Token Logo

ErrolMusk [Father Of Elon] Token

ALERT: honeypot scam

About ErrolMusk

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 18 June 2022

report
Token seems to be a scam (type: honeypot scam).

FatherOfElon.swapBack() (#309-339) sends eth to arbitrary user
Dangerous calls:
- (devSucess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#333)
- (marketingSucess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#335)
- (liquiditySucess) = address(liquidityFeeReceiver).call{gas: 30000,value: amountBNBLiquidity}() (#337)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in FatherOfElon._transferFrom(address,address,uint256) (#225-256):
External calls:
- swapBack() (#246)
- uniswapRouterV2.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#319-325)
- (devSucess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#333)
- (marketingSucess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#335)
- (liquiditySucess) = address(liquidityFeeReceiver).call{gas: 30000,value: amountBNBLiquidity}() (#337)
External calls sending eth:
- swapBack() (#246)
- (devSucess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#333)
- (marketingSucess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#335)
- (liquiditySucess) = address(liquidityFeeReceiver).call{gas: 30000,value: amountBNBLiquidity}() (#337)
State variables written after the call(s):
- _balances[sender] = _balances[sender] - amount (#248)
- _balances[recipient] = _balances[recipient] + amountReceived (#251)
Apply the check-effects-interactions pattern.

Additional information: link


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)


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.


Contract ownership is not renounced (belongs to a wallet)

FatherOfElon.takeFee(uint256) (#296-300) performs a multiplication on the result of a division:
-feeAmount = amount / 100 * totalFee (#297)
FatherOfElon.takeFee(uint256) (#296-300) performs a multiplication on the result of a division:
-feeAmount = amount / 100 * 99 (#297)
Consider ordering multiplication before division.

Additional information: link

FatherOfElon.setTradingStatus(bool,uint256) (#204-211) should emit an event for:
- deadline = deadblocks (#207)
FatherOfElon.setBuyFees(uint256,uint256,uint256) (#341-347) should emit an event for:
- buyDevFee = _devFee (#342)
- buyMarketingFee = _marketingFee (#343)
- buyLiquidityFee = _liquidityFee (#344)
- buyTotalFee = buyDevFee + buyMarketingFee + buyLiquidityFee (#345)
FatherOfElon.setSellFees(uint256,uint256,uint256) (#349-355) should emit an event for:
- sellDevFee = _devFee (#350)
- sellMarketingFee = _marketingFee (#351)
- sellLiquidityFee = _liquidityFee (#352)
- sellTotalFee = sellDevFee + sellMarketingFee + sellLiquidityFee (#353)
FatherOfElon.setSwapBackSettings(bool,uint256,uint256) (#363-367) should emit an event for:
- swapThreshold = _tTotal * _percentageMinimum / 10000 (#365)
- maxSwapSize = _tTotal * _percentageMaximum / 10000 (#366)
FatherOfElon.setMaxWallet(uint256) (#377-380) should emit an event for:
- _maxWalletSize = _tTotal * amount / 10000 (#379)
FatherOfElon.setMaxTxAmount(uint256) (#382-385) should emit an event for:
- _maxTxAmount = _tTotal * amount / 10000 (#384)
Emit an event for critical parameter changes.

Additional information: link

FatherOfElon.setFeeReceivers(address,address,address)._devFeeReceiver (#357) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (#358)
FatherOfElon.setFeeReceivers(address,address,address)._marketingFeeReceiver (#357) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#359)
FatherOfElon.setFeeReceivers(address,address,address)._liquidityFeeReceiver (#357) lacks a zero-check on :
- liquidityFeeReceiver = _liquidityFeeReceiver (#360)
Check that the address is not zero.

Additional information: link

Reentrancy in FatherOfElon.constructor() (#177-187):
External calls:
- uniswapPairV2 = IDEXFactory(uniswapRouterV2.factory()).createPair(uniswapRouterV2.WETH(),address(this)) (#179)
State variables written after the call(s):
- _allowances[address(this)][address(uniswapRouterV2)] = type()(uint256).max (#180)
- _balances[address(this)] = _rTotal (#184)
- _balances[msg.sender] = _tTotal (#185)
- isFeeExempt[msg.sender] = true (#182)
- isTxLimitExempt[msg.sender] = true (#183)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in FatherOfElon._transferFrom(address,address,uint256) (#225-256):
External calls:
- swapBack() (#246)
- uniswapRouterV2.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#319-325)
- (devSucess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#333)
- (marketingSucess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#335)
- (liquiditySucess) = address(liquidityFeeReceiver).call{gas: 30000,value: amountBNBLiquidity}() (#337)
External calls sending eth:
- swapBack() (#246)
- (devSucess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#333)
- (marketingSucess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#335)
- (liquiditySucess) = address(liquidityFeeReceiver).call{gas: 30000,value: amountBNBLiquidity}() (#337)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#253)
Reentrancy in FatherOfElon.constructor() (#177-187):
External calls:
- uniswapPairV2 = IDEXFactory(uniswapRouterV2.factory()).createPair(uniswapRouterV2.WETH(),address(this)) (#179)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_tTotal) (#186)
Apply the check-effects-interactions pattern.

Additional information: link

FatherOfElon.setTradingStatus(bool,uint256) (#204-211) compares to a boolean constant:
-status == true (#208)
Remove the equality to the boolean constant.

Additional information: link

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

Additional information: link

FatherOfElon._rTotal (#126) is set pre-construction with a non-constant function or state variable:
- _tTotal * 10 ** 3
FatherOfElon.buyTotalFee (#150) is set pre-construction with a non-constant function or state variable:
- buyDevFee + buyMarketingFee + buyLiquidityFee
FatherOfElon.sellTotalFee (#156) is set pre-construction with a non-constant function or state variable:
- sellDevFee + sellMarketingFee + sellLiquidityFee
FatherOfElon._maxTxAmount (#159) is set pre-construction with a non-constant function or state variable:
- _tTotal * 200 / 10000
FatherOfElon._maxWalletSize (#160) is set pre-construction with a non-constant function or state variable:
- _tTotal * 200 / 10000
FatherOfElon.swapThreshold (#171) is set pre-construction with a non-constant function or state variable:
- _tTotal * 10 / 10000
FatherOfElon.maxSwapSize (#172) is set pre-construction with a non-constant function or state variable:
- _tTotal * 1 / 10000
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

Low level call in FatherOfElon.swapBack() (#309-339):
- (devSucess) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#333)
- (marketingSucess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#335)
- (liquiditySucess) = address(liquidityFeeReceiver).call{gas: 30000,value: amountBNBLiquidity}() (#337)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IDEXRouter.WETH() (#69) is not in mixedCase
Parameter FatherOfElon.setBuyFees(uint256,uint256,uint256)._devFee (#341) is not in mixedCase
Parameter FatherOfElon.setBuyFees(uint256,uint256,uint256)._marketingFee (#341) is not in mixedCase
Parameter FatherOfElon.setBuyFees(uint256,uint256,uint256)._liquidityFee (#341) is not in mixedCase
Parameter FatherOfElon.setSellFees(uint256,uint256,uint256)._devFee (#349) is not in mixedCase
Parameter FatherOfElon.setSellFees(uint256,uint256,uint256)._marketingFee (#349) is not in mixedCase
Parameter FatherOfElon.setSellFees(uint256,uint256,uint256)._liquidityFee (#349) is not in mixedCase
Parameter FatherOfElon.setFeeReceivers(address,address,address)._devFeeReceiver (#357) is not in mixedCase
Parameter FatherOfElon.setFeeReceivers(address,address,address)._marketingFeeReceiver (#357) is not in mixedCase
Parameter FatherOfElon.setFeeReceivers(address,address,address)._liquidityFeeReceiver (#357) is not in mixedCase
Parameter FatherOfElon.setSwapBackSettings(bool,uint256,uint256)._enabled (#363) is not in mixedCase
Parameter FatherOfElon.setSwapBackSettings(bool,uint256,uint256)._percentageMinimum (#363) is not in mixedCase
Parameter FatherOfElon.setSwapBackSettings(bool,uint256,uint256)._percentageMaximum (#363) is not in mixedCase
Variable FatherOfElon.DEAD (#120) is not in mixedCase
Constant FatherOfElon._name (#122) is not in UPPER_CASE_WITH_UNDERSCORES
Constant FatherOfElon._symbol (#123) is not in UPPER_CASE_WITH_UNDERSCORES
Constant FatherOfElon._decimals (#124) is not in UPPER_CASE_WITH_UNDERSCORES
Variable FatherOfElon._tTotal (#125) is not in mixedCase
Variable FatherOfElon._rTotal (#126) is not in mixedCase
Variable FatherOfElon._balances (#128) is not in mixedCase
Variable FatherOfElon._allowances (#129) is not in mixedCase
Variable FatherOfElon._maxTxAmount (#159) is not in mixedCase
Variable FatherOfElon._maxWalletSize (#160) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

FatherOfElon.slitherConstructorVariables() (#119-398) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#120)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

FatherOfElon.DEAD (#120) should be constant
FatherOfElon._tTotal (#125) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

isOwner(address) should be declared external:
- Ownable.isOwner(address) (#48-50)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#52-56)
approve(address,uint256) should be declared external:
- FatherOfElon.approve(address,uint256) (#198-202)
manageBlacklist(address,bool) should be declared external:
- FatherOfElon.manageBlacklist(address,bool) (#258-260)
rescueToken(address,uint256) should be declared external:
- FatherOfElon.rescueToken(address,uint256) (#389-391)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Attempt to swap token was unsuccessful. For some reason it is untradeable. If token is not in presale stage and is not traded outside PancakeSwap, then it's a scam

Additional information: link


Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.


Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.


Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.


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 Telegram and Twitter accounts


Unable to find website, listings and other project-related information


Token is marked as scam (rug pull, honeypot, phishing, etc.)

Additional information: link


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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for ErrolMusk