FLASH HERO Token Logo

$FHO [FLASH HERO] Token

ALERT: dead

About $FHO

Listings

Token 12 months
white paper

The longer you hold, The more you earn. Its really is that simple
16% MetaHero Token
reward

MetaHero $HERO

The HERO token will be the exclusive token be used within the metahero ecosystem.

Social

Laser Scorebeta Last Audit: 18 June 2022

report
Token seems to be unmaintained (no trading, inactive website, inactive socials, etc.).

Anti-Scam

Links

FLASHHERO.swapBack() (#580-610) sends eth to arbitrary user
Dangerous calls:
- address(marketing).call{gas: 30000,value: amountBNBMarketing}() (#602)
- address(devWallet).call{gas: 30000,value: amountBNBDev}() (#603)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in FLASHHERO._transferFrom(address,address,uint256) (#517-540):
External calls:
- swapBack() (#524)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(swapAmount,0,path,address(this),block.timestamp) (#589-609)
- distributor.deposit{value: amountBNBReflection}() (#601)
- address(marketing).call{gas: 30000,value: amountBNBMarketing}() (#602)
- address(devWallet).call{gas: 30000,value: amountBNBDev}() (#603)
- buyBackTokens() (#525)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD,block.timestamp.add(300)) (#628-635)
External calls sending eth:
- swapBack() (#524)
- distributor.deposit{value: amountBNBReflection}() (#601)
- address(marketing).call{gas: 30000,value: amountBNBMarketing}() (#602)
- address(devWallet).call{gas: 30000,value: amountBNBDev}() (#603)
- buyBackTokens() (#525)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD,block.timestamp.add(300)) (#628-635)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#528)
- amountReceived = takeFee(sender,recipient,amount) (#530)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#567)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#531)
- buyBackTokens() (#525)
- inSwap = true (#447)
- inSwap = false (#447)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#291-302) ignores return value by METAHERO.transfer(shareholder,amount) (#297)
SafeToken.withdraw(address,uint256) (#366-369) ignores return value by IBEP20(_token).transfer(safeManager,_amount) (#368)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

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.


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.


Contract ownership is not renounced (belongs to a wallet)

DividendDistributor.distributeDividend(address) (#291-302) has external calls inside a loop: METAHERO.transfer(shareholder,amount) (#297)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in DividendDistributor.distributeDividend(address) (#291-302):
External calls:
- METAHERO.transfer(shareholder,amount) (#297)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#299)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#300)
Reentrancy in DividendDistributor.process(uint256) (#260-284):
External calls:
- distributeDividend(shareholders[currentIndex]) (#276)
- METAHERO.transfer(shareholder,amount) (#297)
State variables written after the call(s):
- currentIndex ++ (#281)
Reentrancy in DividendDistributor.setShare(address,uint256) (#224-238):
External calls:
- distributeDividend(shareholder) (#226)
- METAHERO.transfer(shareholder,amount) (#297)
State variables written after the call(s):
- shares[shareholder].amount = amount (#236)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#237)
Apply the check-effects-interactions pattern.

Additional information: link

FLASHHERO.swapBack() (#580-610) ignores return value by address(marketing).call{gas: 30000,value: amountBNBMarketing}() (#602)
FLASHHERO.swapBack() (#580-610) ignores return value by address(devWallet).call{gas: 30000,value: amountBNBDev}() (#603)
Ensure that the return value of a low-level call is checked or logged.

Additional information: link

FLASHHERO.swapBack().e (#605) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256,uint256) (#218-222) should emit an event for:
- minPeriod = _minPeriod (#219)
- minDistribution = _minDistribution (#220)
FLASHHERO.setMaxTxPercent(uint256) (#509-511) should emit an event for:
- _maxTxAmount = _totalSupply.mul(amount).div(100) (#510)
FLASHHERO.setMaxWallethold(uint256) (#513-515) should emit an event for:
- _maxWalletHold = _totalSupply.mul(amount).div(100) (#514)
FLASHHERO.setFees(uint256,uint256,uint256,uint256,uint256) (#662-670) should emit an event for:
- burnFee = _burnFee (#663)
- reflectionFee = _reflectionFee (#664)
- marketingFee = _marketingFee (#665)
- devFee = _devFee (#666)
- totalFee = _burnFee.add(_reflectionFee).add(_marketingFee).add(_devFee) (#667)
- feeDenominator = _feeDenominator (#668)
Emit an event for critical parameter changes.

Additional information: link

SafeToken.setSafeManager(address)._safeManager (#362) lacks a zero-check on :
- safeManager = _safeManager (#363)
FLASHHERO.constructor().owner_ (#458) lacks a zero-check on :
- marketing = owner_ (#471)
- devWallet = owner_ (#472)
FLASHHERO.setMarketingWallet(address)._marketing (#672) lacks a zero-check on :
- marketing = _marketing (#673)
FLASHHERO.setDevWallet(address)._devWallet (#676) lacks a zero-check on :
- devWallet = _devWallet (#677)
Check that the address is not zero.

Additional information: link

Variable 'FLASHHERO.swapBack().e (#605)' in FLASHHERO.swapBack() (#580-610) potentially used before declaration: SwapBackFailed(string(abi.encodePacked(SwapBack failed with error ,e))) (#606)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.

Additional information: link

Reentrancy in FLASHHERO.constructor() (#449-476):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#453)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = ~ uint256(0) (#454)
- _balances[owner_] = _totalSupply (#474)
- devWallet = owner_ (#472)
- distributor = new DividendDistributor() (#456)
- excludeDividend[pair] = true (#465)
- excludeDividend[address(this)] = true (#466)
- excludeDividend[DEAD] = true (#469)
- excludeFee[owner_] = true (#460)
- excludeFee[address(this)] = true (#467)
- excludeMaxTxn[owner_] = true (#464)
- excludeMaxTxn[address(this)] = true (#468)
- excludeMaxWallet[owner_] = true (#461)
- excludeMaxWallet[pair] = true (#462)
- excludeMaxWallet[DEAD] = true (#463)
- marketing = owner_ (#471)
Reentrancy in DividendDistributor.deposit() (#240-258):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#247-252)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#257)
- totalDividends = totalDividends.add(amount) (#256)
Reentrancy in DividendDistributor.distributeDividend(address) (#291-302):
External calls:
- METAHERO.transfer(shareholder,amount) (#297)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#298)
Reentrancy in DividendDistributor.setShare(address,uint256) (#224-238):
External calls:
- distributeDividend(shareholder) (#226)
- METAHERO.transfer(shareholder,amount) (#297)
State variables written after the call(s):
- addShareholder(shareholder) (#230)
- shareholderIndexes[shareholder] = shareholders.length (#320)
- removeShareholder(shareholder) (#232)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#326)
- addShareholder(shareholder) (#230)
- shareholders.push(shareholder) (#321)
- removeShareholder(shareholder) (#232)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#325)
- shareholders.pop() (#327)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#235)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in FLASHHERO._transferFrom(address,address,uint256) (#517-540):
External calls:
- swapBack() (#524)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(swapAmount,0,path,address(this),block.timestamp) (#589-609)
- distributor.deposit{value: amountBNBReflection}() (#601)
- address(marketing).call{gas: 30000,value: amountBNBMarketing}() (#602)
- address(devWallet).call{gas: 30000,value: amountBNBDev}() (#603)
- buyBackTokens() (#525)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD,block.timestamp.add(300)) (#628-635)
External calls sending eth:
- swapBack() (#524)
- distributor.deposit{value: amountBNBReflection}() (#601)
- address(marketing).call{gas: 30000,value: amountBNBMarketing}() (#602)
- address(devWallet).call{gas: 30000,value: amountBNBDev}() (#603)
- buyBackTokens() (#525)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD,block.timestamp.add(300)) (#628-635)
Event emitted after the call(s):
- SwapBNBForTokens(amount,path) (#637)
- buyBackTokens() (#525)
- Transfer(sender,address(this),feeAmount) (#568)
- amountReceived = takeFee(sender,recipient,amount) (#530)
Reentrancy in FLASHHERO._transferFrom(address,address,uint256) (#517-540):
External calls:
- swapBack() (#524)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(swapAmount,0,path,address(this),block.timestamp) (#589-609)
- distributor.deposit{value: amountBNBReflection}() (#601)
- address(marketing).call{gas: 30000,value: amountBNBMarketing}() (#602)
- address(devWallet).call{gas: 30000,value: amountBNBDev}() (#603)
- buyBackTokens() (#525)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD,block.timestamp.add(300)) (#628-635)
- distributor.setShare(sender,_balances[sender]) (#533)
- distributor.setShare(recipient,_balances[recipient]) (#534)
- distributor.process(distributorGas) (#536)
External calls sending eth:
- swapBack() (#524)
- distributor.deposit{value: amountBNBReflection}() (#601)
- address(marketing).call{gas: 30000,value: amountBNBMarketing}() (#602)
- address(devWallet).call{gas: 30000,value: amountBNBDev}() (#603)
- buyBackTokens() (#525)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD,block.timestamp.add(300)) (#628-635)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#538)
Reentrancy in FLASHHERO.constructor() (#449-476):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#453)
Event emitted after the call(s):
- Transfer(address(0),owner_,_totalSupply) (#475)
Reentrancy in FLASHHERO.swapBack() (#580-610):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(swapAmount,0,path,address(this),block.timestamp) (#589-609)
- distributor.deposit{value: amountBNBReflection}() (#601)
- address(marketing).call{gas: 30000,value: amountBNBMarketing}() (#602)
- address(devWallet).call{gas: 30000,value: amountBNBDev}() (#603)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#601)
- address(marketing).call{gas: 30000,value: amountBNBMarketing}() (#602)
- address(devWallet).call{gas: 30000,value: amountBNBDev}() (#603)
Event emitted after the call(s):
- SwapBackSuccess(swapAmount) (#604)
Reentrancy in FLASHHERO.swapBack() (#580-610):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(swapAmount,0,path,address(this),block.timestamp) (#589-609)
Event emitted after the call(s):
- SwapBackFailed(string(abi.encodePacked(SwapBack failed with error ,e))) (#606)
- SwapBackFailed(SwapBack failed without an error message from pancakeSwap) (#608)
Reentrancy in FLASHHERO.swapBnbForTokens(uint256) (#621-638):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD,block.timestamp.add(300)) (#628-635)
Event emitted after the call(s):
- SwapBNBForTokens(amount,path) (#637)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#286-289) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#287-288)
DividendDistributor.getAccount(address) (#330-347) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#343-345)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#260-284) has costly operations inside a loop:
- currentIndex = 0 (#272)
DividendDistributor.distributeDividend(address) (#291-302) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#296)
DividendDistributor.process(uint256) (#260-284) has costly operations inside a loop:
- currentIndex ++ (#281)
Use a local variable to hold the loop computation result.

Additional information: link

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

Additional information: link

FLASHHERO._maxTxAmount (#415) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(100).div(100)
FLASHHERO.totalFee (#430) is set pre-construction with a non-constant function or state variable:
- burnFee.add(reflectionFee).add(marketingFee).add(devFee)
FLASHHERO.swapThreshold (#444) 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

Low level call in FLASHHERO.swapBack() (#580-610):
- address(marketing).call{gas: 30000,value: amountBNBMarketing}() (#602)
- address(devWallet).call{gas: 30000,value: amountBNBDev}() (#603)
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() (#115) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256,uint256)._minPeriod (#218) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256,uint256)._minDistribution (#218) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256,uint256)._minimumTokenBalanceForDividends (#218) is not in mixedCase
Parameter DividendDistributor.getAccount(address)._account (#330) is not in mixedCase
Variable DividendDistributor._token (#172) is not in mixedCase
Variable DividendDistributor.METAHERO (#180) is not in mixedCase
Variable DividendDistributor.WBNB (#181) is not in mixedCase
Parameter SafeToken.setSafeManager(address)._safeManager (#362) is not in mixedCase
Parameter SafeToken.withdraw(address,uint256)._token (#366) is not in mixedCase
Parameter SafeToken.withdraw(address,uint256)._amount (#366) is not in mixedCase
Parameter SafeToken.withdrawBNB(uint256)._amount (#371) is not in mixedCase
Parameter LockToken.includeToWhiteList(address[])._users (#394) is not in mixedCase
Parameter FLASHHERO.setExcludeFeeMultiple(address[],bool)._users (#650) is not in mixedCase
Parameter FLASHHERO.setExcludeTxMultiple(address[],bool)._users (#656) is not in mixedCase
Parameter FLASHHERO.setFees(uint256,uint256,uint256,uint256,uint256)._burnFee (#662) is not in mixedCase
Parameter FLASHHERO.setFees(uint256,uint256,uint256,uint256,uint256)._devFee (#662) is not in mixedCase
Parameter FLASHHERO.setFees(uint256,uint256,uint256,uint256,uint256)._reflectionFee (#662) is not in mixedCase
Parameter FLASHHERO.setFees(uint256,uint256,uint256,uint256,uint256)._marketingFee (#662) is not in mixedCase
Parameter FLASHHERO.setFees(uint256,uint256,uint256,uint256,uint256)._feeDenominator (#662) is not in mixedCase
Parameter FLASHHERO.setMarketingWallet(address)._marketing (#672) is not in mixedCase
Parameter FLASHHERO.setDevWallet(address)._devWallet (#676) is not in mixedCase
Parameter FLASHHERO.setSwapBackSettings(bool,uint256)._enabled (#680) is not in mixedCase
Parameter FLASHHERO.setSwapBackSettings(bool,uint256)._amount (#680) is not in mixedCase
Parameter FLASHHERO.setDistributionCriteria(uint256,uint256,uint256)._minPeriod (#685) is not in mixedCase
Parameter FLASHHERO.setDistributionCriteria(uint256,uint256,uint256)._minDistribution (#685) is not in mixedCase
Parameter FLASHHERO.setDistributionCriteria(uint256,uint256,uint256)._minimumTokenBalanceForDividends (#685) is not in mixedCase
Variable FLASHHERO.WBNB (#404) is not in mixedCase
Variable FLASHHERO.DEAD (#405) is not in mixedCase
Variable FLASHHERO.ZERO (#406) is not in mixedCase
Variable FLASHHERO._balances (#408) is not in mixedCase
Variable FLASHHERO._allowances (#409) is not in mixedCase
Constant FLASHHERO._name (#411) is not in UPPER_CASE_WITH_UNDERSCORES
Constant FLASHHERO._symbol (#412) is not in UPPER_CASE_WITH_UNDERSCORES
Constant FLASHHERO._decimals (#413) is not in UPPER_CASE_WITH_UNDERSCORES
Variable FLASHHERO._totalSupply (#414) is not in mixedCase
Variable FLASHHERO._maxTxAmount (#415) is not in mixedCase
Variable FLASHHERO._maxWalletHold (#416) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#53)" inContext (#47-56)
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 (#120) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#121)
Prevent variables from having similar names.

Additional information: link

DividendDistributor.slitherConstructorVariables() (#169-352) uses literals with too many digits:
- minimumTokenBalanceForDividends = 200000 * (10 ** 9) (#198)
FLASHHERO.setDistributorSettings(uint256) (#689-692) uses literals with too many digits:
- require(bool)(gas <= 1000000) (#690)
FLASHHERO.slitherConstructorVariables() (#401-722) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#405)
FLASHHERO.slitherConstructorVariables() (#401-722) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#406)
FLASHHERO.slitherConstructorVariables() (#401-722) uses literals with too many digits:
- _totalSupply = 10000000000000 * (10 ** _decimals) (#414)
FLASHHERO.slitherConstructorVariables() (#401-722) uses literals with too many digits:
- _maxWalletHold = 200000000000 (#416)
FLASHHERO.slitherConstructorVariables() (#401-722) uses literals with too many digits:
- distributorGas = 500000 (#440)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

DividendDistributor.WBNB (#181) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#194) should be constant
FLASHHERO.DEAD (#405) should be constant
FLASHHERO.WBNB (#404) should be constant
FLASHHERO.ZERO (#406) should be constant
FLASHHERO._totalSupply (#414) should be constant
FLASHHERO.buyBackEnable (#443) should be constant
FLASHHERO.buyBackUpperLimit (#424) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

owner() should be declared external:
- Ownable.owner() (#71-73)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#82-85)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#88-92)
getAccount(address) should be declared external:
- DividendDistributor.getAccount(address) (#330-347)
setSafeManager(address) should be declared external:
- SafeToken.setSafeManager(address) (#362-364)
getCirculatingSupply() should be declared external:
- FLASHHERO.getCirculatingSupply() (#694-696)
claim() should be declared external:
- FLASHHERO.claim() (#714-716)
Use the external attribute for functions never called from the contract.

Additional information: link

Contract ticker ($FHO) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.

Holders:


Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.

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.


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.


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.


Number of Binance Smart Chain (BSC) token holders is low.


Last post in Twitter was more than 30 days ago


Unable to find Discord account


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 token contract audit


Token is not listed at Mobula.Finance

Additional information: link


Unable to find audit link on the website


Unable to find code repository for the project


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Token is marked as risky (blacklisted creator, fake name, dead project, etc.)

Additional information: link


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death

Price for $FHO

News for $FHO