Meta Floki Inu is a meme coin that comes with real utility in the NFT ecosystem.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
MetaFlokinu.swapBack() (#569-638) sends eth to arbitrary user
Dangerous calls:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#613-616)
- (success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#617-620)
- (success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#621-624)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in MetaFlokinu._transferFrom(address,address,uint256) (#504-542):
External calls:
- swapBack() (#524)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#591-597)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#613-616)
- (success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#617-620)
- (success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#621-624)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#629-636)
External calls sending eth:
- swapBack() (#524)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#613-616)
- (success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#617-620)
- (success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#621-624)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#629-636)
State variables written after the call(s):
- _gonBalances[sender] = _gonBalances[sender].sub(gonAmount) (#527)
- _gonBalances[recipient] = _gonBalances[recipient].add(gonAmountReceived) (#532-534)
- gonAmountReceived = takeFee(sender,gonAmount) (#529-531)
- _gonBalances[address(this)] = _gonBalances[address(this)].add(feeAmount) (#561-563)
Apply the check-effects-interactions pattern.
Additional information: link
MetaFlokinu.swapBack().success (#613) is written in both
(success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#613-616)
(success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#617-620)
MetaFlokinu.swapBack().success (#613) is written in both
(success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#617-620)
(success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#621-624)
MetaFlokinu.swapBack().success (#613) is written in both
(success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#621-624)
success = false (#626)
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.
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
MetaFlokinu.swapBack() (#569-638) performs a multiplication on the result of a division:
-contractTokenBalance = _gonBalances[address(this)].div(_gonsPerFragment) (#576-578)
-amountToLiquify = contractTokenBalance.mul(dynamicLiquidityFee).div(totalFee).div(2) (#579-582)
MetaFlokinu.setMaxWalletToken(uint256,uint256) (#712-717) performs a multiplication on the result of a division:
-gonMaxWallet = TOTAL_GONS.div(_denom).mul(_num) (#716)
MetaFlokinu.setSwapBackSettings(bool,uint256,uint256) (#735-742) performs a multiplication on the result of a division:
-gonSwapThreshold = TOTAL_GONS.div(_denom).mul(_num) (#741)
MetaFlokinu.getLiquidityBacking(uint256) (#826-834) performs a multiplication on the result of a division:
-liquidityBalance = _gonBalances[pair].div(_gonsPerFragment) (#831)
-accuracy.mul(liquidityBalance.mul(2)).div(getCirculatingSupply()) (#832-833)
MetaFlokinu.slitherConstructorVariables() (#310-846) performs a multiplication on the result of a division:
-gonMaxWallet = TOTAL_GONS.div(100).mul(5) (#349)
Consider ordering multiplication before division.
Additional information: link
MetaFlokinu.swapBack() (#569-638) ignores return value by router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#629-636)
Ensure that all the return values of the function calls are used.
Additional information: link
ERC20Detailed.constructor(string,string,uint8).name (#141) shadows:
- ERC20Detailed.name() (#150-152) (function)
ERC20Detailed.constructor(string,string,uint8).symbol (#142) shadows:
- ERC20Detailed.symbol() (#154-156) (function)
ERC20Detailed.constructor(string,string,uint8).decimals (#143) shadows:
- ERC20Detailed.decimals() (#158-160) (function)
Rename the local variables that shadow another component.
Additional information: link
MetaFlokinu.setMaster(address) (#452-454) should emit an event for:
- master = _master (#453)
Emit an event for critical parameter changes.
Additional information: link
MetaFlokinu.setMaxWalletToken(uint256,uint256) (#712-717) should emit an event for:
- gonMaxWallet = TOTAL_GONS.div(_denom).mul(_num) (#716)
MetaFlokinu.setSwapBackSettings(bool,uint256,uint256) (#735-742) should emit an event for:
- gonSwapThreshold = TOTAL_GONS.div(_denom).mul(_num) (#741)
MetaFlokinu.setTargetLiquidity(uint256,uint256) (#744-747) should emit an event for:
- targetLiquidity = target (#745)
- targetLiquidityDenominator = accuracy (#746)
MetaFlokinu.setFees(uint256,uint256,uint256,uint256,uint256) (#761-775) should emit an event for:
- ecosystemFee = _ecosystemFee (#768)
- liquidityFee = _liquidityFee (#769)
- buyBackFee = _buyBackFee (#770)
- marketingFee = _marketingFee (#771)
- totalFee = ecosystemFee.add(liquidityFee).add(marketingFee).add(buyBackFee) (#772)
- feeDenominator = _feeDenominator (#773)
Emit an event for critical parameter changes.
Additional information: link
MetaFlokinu.setMaster(address)._master (#452) lacks a zero-check on :
- master = _master (#453)
MetaFlokinu.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (#778) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#783)
MetaFlokinu.setFeeReceivers(address,address,address,address)._ecosystemFeeReceiver (#779) lacks a zero-check on :
- ecosystemFeeReceiver = _ecosystemFeeReceiver (#784)
MetaFlokinu.setFeeReceivers(address,address,address,address)._marketingFeeReceiver (#780) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#785)
MetaFlokinu.setFeeReceivers(address,address,address,address)._buyBackFeeReceiver (#781) lacks a zero-check on :
- buyBackFeeReceiver = _buyBackFeeReceiver (#786)
MetaFlokinu.clearStuckBalance(uint256,address).adr (#797) lacks a zero-check on :
- address(adr).transfer((amountETH * amountPercentage) / 100) (#799-801)
Check that the address is not zero.
Additional information: link
MetaFlokinu.swapBack() (#569-638) has external calls inside a loop: path[1] = router.WETH() (#587)
MetaFlokinu.swapBack() (#569-638) has external calls inside a loop: router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#591-597)
MetaFlokinu.swapBack() (#569-638) has external calls inside a loop: (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#613-616)
MetaFlokinu.swapBack() (#569-638) has external calls inside a loop: (success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#617-620)
MetaFlokinu.swapBack() (#569-638) has external calls inside a loop: (success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#621-624)
MetaFlokinu.swapBack() (#569-638) has external calls inside a loop: router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#629-636)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in MetaFlokinu.constructor() (#421-450):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#424-427)
State variables written after the call(s):
- _allowedFragments[address(this)][address(router)] = uint256(- 1) (#428)
- _gonBalances[msg.sender] = TOTAL_GONS (#432)
- _gonsPerFragment = TOTAL_GONS.div(_totalSupply) (#433)
- _isFeeExempt[msg.sender] = true (#436)
- _isFeeExempt[address(this)] = true (#437)
- _isMaxWalletExempt[pair] = true (#439)
- _isMaxWalletExempt[DEAD] = true (#440)
- _isMaxWalletExempt[address(this)] = true (#441)
- _isMaxWalletExempt[msg.sender] = true (#442)
- _totalSupply = INITIAL_FRAGMENTS_SUPPLY (#431)
- autoLiquidityReceiver = 0x8168b1C7Ad549674375D5AaeF9F4E504b660dCdB (#444)
- buyBackFeeReceiver = 0x4903B0Bd858A63C35346B086FFa5FD02d208e2a6 (#447)
- ecosystemFeeReceiver = 0x950Bd43429727C4341A7AC7472f0F4737638939B (#446)
- initialDistributionFinished = false (#435)
- marketingFeeReceiver = 0x847c67F74cBD691f0210a8025144769C1bb9d474 (#445)
- pairContract = InterfaceLP(pair) (#429)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MetaFlokinu._transferFrom(address,address,uint256) (#504-542):
External calls:
- swapBack() (#524)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#591-597)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#613-616)
- (success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#617-620)
- (success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#621-624)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#629-636)
External calls sending eth:
- swapBack() (#524)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#613-616)
- (success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#617-620)
- (success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#621-624)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#629-636)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount.div(_gonsPerFragment)) (#564)
- gonAmountReceived = takeFee(sender,gonAmount) (#529-531)
- Transfer(sender,recipient,gonAmountReceived.div(_gonsPerFragment)) (#536-540)
Reentrancy in MetaFlokinu.constructor() (#421-450):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#424-427)
Event emitted after the call(s):
- Transfer(address(0x0),msg.sender,_totalSupply) (#449)
Reentrancy in MetaFlokinu.rebase(uint256,int256) (#393-419):
External calls:
- pairContract.sync() (#415)
Event emitted after the call(s):
- LogRebase(epoch,_totalSupply) (#417)
Apply the check-effects-interactions pattern.
Additional information: link
MetaFlokinu.swapping() (#376-380) has costly operations inside a loop:
- inSwap = true (#377)
MetaFlokinu.swapping() (#376-380) has costly operations inside a loop:
- inSwap = false (#379)
Use a local variable to hold the loop computation result.
Additional information: link
MetaFlokinu.transferToAddressETH(address,uint256) (#804-808) is never used and should be removed
SafeMath.mod(uint256,uint256) (#96-99) is never used and should be removed
SafeMathInt.abs(int256) (#193-196) is never used and should be removed
SafeMathInt.add(int256,int256) (#187-191) is never used and should be removed
SafeMathInt.div(int256,int256) (#175-179) is never used and should be removed
SafeMathInt.mul(int256,int256) (#167-173) is never used and should be removed
SafeMathInt.sub(int256,int256) (#181-185) is never used and should be removed
Remove unused functions.
Additional information: link
MetaFlokinu.totalFee (#355-356) is set pre-construction with a non-constant function or state variable:
- ecosystemFee.add(liquidityFee).add(marketingFee).add(buyBackFee)
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 (#45) 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 MetaFlokinu.swapBack() (#569-638):
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#613-616)
- (success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#617-620)
- (success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#621-624)
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() (#251) is not in mixedCase
Parameter MetaFlokinu.setMaster(address)._master (#452) is not in mixedCase
Parameter MetaFlokinu.setLP(address)._address (#456) is not in mixedCase
Parameter MetaFlokinu.enableTransfer(address)._addr (#692) is not in mixedCase
Parameter MetaFlokinu.setFeeExempt(address)._addr (#696) is not in mixedCase
Parameter MetaFlokinu.checkFeeExempt(address)._addr (#700) is not in mixedCase
Parameter MetaFlokinu.setMaxWalletExempt(address)._addr (#704) is not in mixedCase
Parameter MetaFlokinu.checkMaxWalletExempt(address)._addr (#708) is not in mixedCase
Parameter MetaFlokinu.setMaxWalletToken(uint256,uint256)._num (#712) is not in mixedCase
Parameter MetaFlokinu.setMaxWalletToken(uint256,uint256)._denom (#712) is not in mixedCase
Parameter MetaFlokinu.setSwapBackSettings(bool,uint256,uint256)._enabled (#736) is not in mixedCase
Parameter MetaFlokinu.setSwapBackSettings(bool,uint256,uint256)._num (#737) is not in mixedCase
Parameter MetaFlokinu.setSwapBackSettings(bool,uint256,uint256)._denom (#738) is not in mixedCase
Parameter MetaFlokinu.setFees(uint256,uint256,uint256,uint256,uint256)._ecosystemFee (#762) is not in mixedCase
Parameter MetaFlokinu.setFees(uint256,uint256,uint256,uint256,uint256)._liquidityFee (#763) is not in mixedCase
Parameter MetaFlokinu.setFees(uint256,uint256,uint256,uint256,uint256)._buyBackFee (#764) is not in mixedCase
Parameter MetaFlokinu.setFees(uint256,uint256,uint256,uint256,uint256)._marketingFee (#765) is not in mixedCase
Parameter MetaFlokinu.setFees(uint256,uint256,uint256,uint256,uint256)._feeDenominator (#766) is not in mixedCase
Parameter MetaFlokinu.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (#778) is not in mixedCase
Parameter MetaFlokinu.setFeeReceivers(address,address,address,address)._ecosystemFeeReceiver (#779) is not in mixedCase
Parameter MetaFlokinu.setFeeReceivers(address,address,address,address)._marketingFeeReceiver (#780) is not in mixedCase
Parameter MetaFlokinu.setFeeReceivers(address,address,address,address)._buyBackFeeReceiver (#781) is not in mixedCase
Variable MetaFlokinu._isFeeExempt (#328) is not in mixedCase
Variable MetaFlokinu._isMaxWalletExempt (#329) is not in mixedCase
Variable MetaFlokinu.DEAD (#359) is not in mixedCase
Variable MetaFlokinu.ZERO (#360) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#256) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#257)
Prevent variables from having similar names.
Additional information: link
MetaFlokinu.slitherConstructorVariables() (#310-846) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#359)
MetaFlokinu.slitherConstructorVariables() (#310-846) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#360)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#165) is never used in SafeMathInt (#163-197)
Remove unused state variables.
Additional information: link
MetaFlokinu.DEAD (#359) should be constant
MetaFlokinu.ZERO (#360) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
name() should be declared external:
- ERC20Detailed.name() (#150-152)
symbol() should be declared external:
- ERC20Detailed.symbol() (#154-156)
decimals() should be declared external:
- ERC20Detailed.decimals() (#158-160)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#226-229)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#231-233)
rescueToken(address,uint256) should be declared external:
- MetaFlokinu.rescueToken(address,uint256) (#789-795)
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 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.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Telegram account has relatively few subscribers
Twitter account has relatively few followers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts