Flame metaverse Token is a hypothesized iteration of the Internet join us on telegram
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
FlameMetaverse.swapBack() (#572-616) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#600)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in FlameMetaverse._transferFrom(address,address,uint256) (#472-520):
External calls:
- swapBack() (#499)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#583-589)
- distributor.deposit{value: amountBNBReflection}() (#599)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#600)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#606-613)
External calls sending eth:
- swapBack() (#499)
- distributor.deposit{value: amountBNBReflection}() (#599)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#600)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#606-613)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#502)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#505)
- amountReceived = takeFee(sender,amount) (#504)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#540)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#303-314) ignores return value by BUSD.transfer(shareholder,amount) (#309)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.
FlameMetaverse.swapBack().tmpSuccess (#600) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#600)
tmpSuccess = false (#603)
Fix or remove the writes.
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.
Reentrancy in DividendDistributor.distributeDividend(address) (#303-314):
External calls:
- BUSD.transfer(shareholder,amount) (#309)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#311)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#312)
Reentrancy in DividendDistributor.process(uint256) (#272-296):
External calls:
- distributeDividend(shareholders[currentIndex]) (#288)
- BUSD.transfer(shareholder,amount) (#309)
State variables written after the call(s):
- currentIndex ++ (#293)
Reentrancy in DividendDistributor.setShare(address,uint256) (#236-250):
External calls:
- distributeDividend(shareholder) (#238)
- BUSD.transfer(shareholder,amount) (#309)
State variables written after the call(s):
- shares[shareholder].amount = amount (#248)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#249)
Apply the check-effects-interactions pattern.
Additional information: link
FlameMetaverse.swapBack() (#572-616) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#606-613)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendDistributor.setDistributionCriteria(uint256,uint256) (#231-234) should emit an event for:
- minPeriod = _minPeriod (#232)
- minDistribution = _minDistribution (#233)
FlameMetaverse.setTxLimit(uint256) (#619-621) should emit an event for:
- _maxTxAmount = amount (#620)
FlameMetaverse.setFees(uint256,uint256,uint256,uint256) (#645-652) should emit an event for:
- liquidityFee = _liquidityFee (#646)
- reflectionFee = _reflectionFee (#647)
- marketingFee = _marketingFee (#648)
- totalFee = _liquidityFee.add(_reflectionFee).add(_marketingFee) (#649)
- feeDenominator = _feeDenominator (#650)
FlameMetaverse.setSwapBackSettings(bool,uint256) (#659-662) should emit an event for:
- swapThreshold = _amount (#661)
FlameMetaverse.setTargetLiquidity(uint256,uint256) (#664-667) should emit an event for:
- targetLiquidity = _target (#665)
- targetLiquidityDenominator = _denominator (#666)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (#112) lacks a zero-check on :
- owner = adr (#113)
FlameMetaverse.setFeeReceivers(address,address)._autoLiquidityReceiver (#654) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#655)
FlameMetaverse.setFeeReceivers(address,address)._marketingFeeReceiver (#654) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#656)
Check that the address is not zero.
Additional information: link
DividendDistributor.distributeDividend(address) (#303-314) has external calls inside a loop: BUSD.transfer(shareholder,amount) (#309)
FlameMetaverse.airdrop(address,address[],uint256[]) (#695-718) has external calls inside a loop: distributor.setShare(addresses[i_scope_0],_balances[addresses[i_scope_0]]) (#710)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in FlameMetaverse.constructor() (#408-433):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#410)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#411)
- _balances[msg.sender] = _totalSupply (#431)
- autoLiquidityReceiver = msg.sender (#428)
- distributor = new DividendDistributor(address(router)) (#413)
- isDividendExempt[pair] = true (#423)
- isDividendExempt[address(this)] = true (#424)
- isDividendExempt[DEAD] = true (#425)
- isFeeExempt[msg.sender] = true (#415)
- isTimelockExempt[msg.sender] = true (#419)
- isTimelockExempt[DEAD] = true (#420)
- isTimelockExempt[address(this)] = true (#421)
- isTxLimitExempt[msg.sender] = true (#416)
- marketingFeeReceiver = msg.sender (#429)
Reentrancy in DividendDistributor.deposit() (#252-270):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#259-264)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#269)
- totalDividends = totalDividends.add(amount) (#268)
Reentrancy in DividendDistributor.distributeDividend(address) (#303-314):
External calls:
- BUSD.transfer(shareholder,amount) (#309)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#310)
Reentrancy in DividendDistributor.setShare(address,uint256) (#236-250):
External calls:
- distributeDividend(shareholder) (#238)
- BUSD.transfer(shareholder,amount) (#309)
State variables written after the call(s):
- addShareholder(shareholder) (#242)
- shareholderIndexes[shareholder] = shareholders.length (#336)
- removeShareholder(shareholder) (#244)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#342)
- addShareholder(shareholder) (#242)
- shareholders.push(shareholder) (#337)
- removeShareholder(shareholder) (#244)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#341)
- shareholders.pop() (#343)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#247)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in FlameMetaverse._transferFrom(address,address,uint256) (#472-520):
External calls:
- swapBack() (#499)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#583-589)
- distributor.deposit{value: amountBNBReflection}() (#599)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#600)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#606-613)
- distributor.setShare(sender,_balances[sender]) (#509)
- distributor.setShare(recipient,_balances[recipient]) (#513)
- distributor.process(distributorGas) (#516)
External calls sending eth:
- swapBack() (#499)
- distributor.deposit{value: amountBNBReflection}() (#599)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#600)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#606-613)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#518)
Reentrancy in FlameMetaverse._transferFrom(address,address,uint256) (#472-520):
External calls:
- swapBack() (#499)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#583-589)
- distributor.deposit{value: amountBNBReflection}() (#599)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#600)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#606-613)
External calls sending eth:
- swapBack() (#499)
- distributor.deposit{value: amountBNBReflection}() (#599)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#600)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#606-613)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#541)
- amountReceived = takeFee(sender,amount) (#504)
Reentrancy in FlameMetaverse.constructor() (#408-433):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#410)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#432)
Reentrancy in FlameMetaverse.swapBack() (#572-616):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#583-589)
- distributor.deposit{value: amountBNBReflection}() (#599)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#600)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#606-613)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#599)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#600)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#606-613)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#614)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (#298-301) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#299-300)
FlameMetaverse._transferFrom(address,address,uint256) (#472-520) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for 1min between two buys) (#490)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#272-296) has costly operations inside a loop:
- currentIndex = 0 (#284)
DividendDistributor.distributeDividend(address) (#303-314) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#308)
DividendDistributor.process(uint256) (#272-296) has costly operations inside a loop:
- currentIndex ++ (#293)
Use a local variable to hold the loop computation result.
Additional information: link
FlameMetaverse._maxTxAmount (#363) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 1 / 100
FlameMetaverse._maxWalletToken (#367) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 2) / 100
FlameMetaverse.swapThreshold (#404) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 200 / 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
Pragma version^0.7.4 (#3) allows old versions
solc-0.7.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 FlameMetaverse.swapBack() (#572-616):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#600)
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() (#127) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#231) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#231) is not in mixedCase
Variable DividendDistributor._token (#183) is not in mixedCase
Variable DividendDistributor.BUSD (#191) is not in mixedCase
Variable DividendDistributor.WBNB (#192) is not in mixedCase
Parameter FlameMetaverse.tradingStatus(bool)._status (#560) is not in mixedCase
Parameter FlameMetaverse.cooldownEnabled(bool,uint8)._status (#565) is not in mixedCase
Parameter FlameMetaverse.cooldownEnabled(bool,uint8)._interval (#565) is not in mixedCase
Parameter FlameMetaverse.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#645) is not in mixedCase
Parameter FlameMetaverse.setFees(uint256,uint256,uint256,uint256)._reflectionFee (#645) is not in mixedCase
Parameter FlameMetaverse.setFees(uint256,uint256,uint256,uint256)._marketingFee (#645) is not in mixedCase
Parameter FlameMetaverse.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#645) is not in mixedCase
Parameter FlameMetaverse.setFeeReceivers(address,address)._autoLiquidityReceiver (#654) is not in mixedCase
Parameter FlameMetaverse.setFeeReceivers(address,address)._marketingFeeReceiver (#654) is not in mixedCase
Parameter FlameMetaverse.setSwapBackSettings(bool,uint256)._enabled (#659) is not in mixedCase
Parameter FlameMetaverse.setSwapBackSettings(bool,uint256)._amount (#659) is not in mixedCase
Parameter FlameMetaverse.setTargetLiquidity(uint256,uint256)._target (#664) is not in mixedCase
Parameter FlameMetaverse.setTargetLiquidity(uint256,uint256)._denominator (#664) is not in mixedCase
Parameter FlameMetaverse.setDistributionCriteria(uint256,uint256)._minPeriod (#669) is not in mixedCase
Parameter FlameMetaverse.setDistributionCriteria(uint256,uint256)._minDistribution (#669) is not in mixedCase
Variable FlameMetaverse.BUSD (#350) is not in mixedCase
Variable FlameMetaverse.WBNB (#351) is not in mixedCase
Variable FlameMetaverse.DEAD (#352) is not in mixedCase
Variable FlameMetaverse.ZERO (#353) is not in mixedCase
Constant FlameMetaverse._name (#355) is not in UPPER_CASE_WITH_UNDERSCORES
Constant FlameMetaverse._symbol (#356) is not in UPPER_CASE_WITH_UNDERSCORES
Constant FlameMetaverse._decimals (#357) is not in UPPER_CASE_WITH_UNDERSCORES
Variable FlameMetaverse._marketingWalletAddress (#359) is not in mixedCase
Variable FlameMetaverse._teamWalletAddress (#360) is not in mixedCase
Variable FlameMetaverse._totalSupply (#362) is not in mixedCase
Variable FlameMetaverse._maxTxAmount (#363) is not in mixedCase
Variable FlameMetaverse._maxWalletToken (#367) is not in mixedCase
Variable FlameMetaverse._balances (#369) is not in mixedCase
Variable FlameMetaverse._allowances (#370) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#132) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#133)
Prevent variables from having similar names.
Additional information: link
FlameMetaverse.slitherConstructorVariables() (#347-723) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#352)
FlameMetaverse.slitherConstructorVariables() (#347-723) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#353)
FlameMetaverse.slitherConstructorVariables() (#347-723) uses literals with too many digits:
- distributorGas = 500000 (#396)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
FlameMetaverse.BUSD (#350) is never used in FlameMetaverse (#347-723)
Remove unused state variables.
Additional information: link
DividendDistributor.WBNB (#192) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#205) should be constant
FlameMetaverse.BUSD (#350) should be constant
FlameMetaverse.DEAD (#352) should be constant
FlameMetaverse.WBNB (#351) should be constant
FlameMetaverse.ZERO (#353) should be constant
FlameMetaverse._marketingWalletAddress (#359) should be constant
FlameMetaverse._teamWalletAddress (#360) should be constant
FlameMetaverse._totalSupply (#362) should be constant
FlameMetaverse.launchedAt (#392) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
authorize(address) should be declared external:
- Auth.authorize(address) (#92-94)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#97-99)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#112-116)
tradingStatus(bool) should be declared external:
- FlameMetaverse.tradingStatus(bool) (#560-562)
cooldownEnabled(bool,uint8) should be declared external:
- FlameMetaverse.cooldownEnabled(bool,uint8) (#565-568)
Use the external attribute for functions never called from the contract.
Additional information: link
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 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
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 contract audit
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find code repository for the project
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank
Twitter account has relatively few followers
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account