We built the FLOKI METAVERSE with a single mission in MIND - To Bring NFTs & the Metaverse to the masses whilst rewarding HOLDERS with Passive Income in $FLOKI.
FlokiMetaverse.buyBackAndBurn(uint256) (#1831-1852) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,marketingWallet,block.timestamp.add(300)) (#1840-1845)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in FlokiMetaverse.buyBackAndBurn(uint256) (#1831-1852):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,marketingWallet,block.timestamp.add(300)) (#1840-1845)
State variables written after the call(s):
- _burn(marketingWallet,swappedBalance) (#1849)
- _balances[account] = _balances[account].sub(amount,ERC20: burn amount exceeds balance) (#421)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
FlokiMetaverse.rand() (#1664-1680) uses a dangerous strict equality:
- randNumber == 0 (#1674)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Contract locking ether found:
Contract FlokiDividendTracker (#1914-2129) has payable functions:
- DividendPayingToken.receive() (#585-586)
- DividendPayingToken.distributeDividends() (#601-612)
- IDividendPayingToken.distributeDividends() (#494)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
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.
Parameter FlokiDividendTracker.getAccount(address)._account (#1981) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#25)" inContext (#19-28)
Remove redundant statements if they congest code but offer no value.
Additional information: link
FlokiMetaverse._transfer(address,address,uint256) (#1694-1797) performs a multiplication on the result of a division:
-buyBackAndBurn(buyBackBalance.div(10 ** 2).mul(rand())) (#1745)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in FlokiMetaverse.updateFlokiDividendTracker(address) (#1515-1530):
External calls:
- newFlokiDividendTracker.excludeFromDividends(address(newFlokiDividendTracker)) (#1522)
- newFlokiDividendTracker.excludeFromDividends(address(this)) (#1523)
- newFlokiDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1524)
- newFlokiDividendTracker.excludeFromDividends(address(deadAddress)) (#1525)
State variables written after the call(s):
- flokiDividendTracker = newFlokiDividendTracker (#1529)
Apply the check-effects-interactions pattern.
Additional information: link
FlokiMetaverse._transfer(address,address,uint256).lastProcessedIndex (#1788) 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
FlokiMetaverse.addLiquidity(uint256,uint256) (#1815-1829) ignores return value by uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp) (#1821-1828)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.accumulativeDividendOf(address)._owner (#687) shadows:
- Ownable._owner (#43) (state variable)
Rename the local variables that shadow another component.
Additional information: link
FlokiMetaverse.updateLiquidityFee(uint8) (#1548-1551) should emit an event for:
- LiquidityFee = newFee (#1549)
- totalFees = LiquidityFee.add(flokiDividendRewardsFee).add(marketingFee) (#1550)
Emit an event for critical parameter changes.
Additional information: link
FlokiDividendTracker.setDividendTokenAddress(address).newToken (#1947) lacks a zero-check on :
- dividendToken = newToken (#1948)
Check that the address is not zero.
Additional information: link
Variable 'FlokiMetaverse._transfer(address,address,uint256).lastProcessedIndex (#1788)' in FlokiMetaverse._transfer(address,address,uint256) (#1694-1797) potentially used before declaration: ProcessedFlokiDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1789)
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 FlokiMetaverse.swapAndLiquify(uint256) (#1799-1813):
External calls:
- swapTokensForBNB(half) (#1806)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1863-1869)
- addLiquidity(otherHalf,newBalance) (#1810)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp) (#1821-1828)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1810)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp) (#1821-1828)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1810)
- _allowances[owner][spender] = amount (#443)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in FlokiMetaverse.updateFlokiDividendTracker(address) (#1515-1530):
External calls:
- newFlokiDividendTracker.excludeFromDividends(address(newFlokiDividendTracker)) (#1522)
- newFlokiDividendTracker.excludeFromDividends(address(this)) (#1523)
- newFlokiDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1524)
- newFlokiDividendTracker.excludeFromDividends(address(deadAddress)) (#1525)
Event emitted after the call(s):
- UpdateFlokiDividendTracker(newAddress,address(flokiDividendTracker)) (#1527)
Apply the check-effects-interactions pattern.
Additional information: link
FlokiDividendTracker.canAutoClaim(uint256) (#2045-2051) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#2046)
- block.timestamp.sub(lastClaimTime) >= claimWait (#2050)
Avoid relying on block.timestamp.
Additional information: link
FlokiMetaverse.setMarketingEnabled(bool) (#1500-1513) compares to a boolean constant:
-_enabled == false (#1502)
Remove the equality to the boolean constant.
Additional information: link
SafeMathInt.mul(int256,int256) (#1228-1236) is never used and should be removed
Remove unused functions.
Additional information: link
solc-0.8.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
Reentrancy in FlokiMetaverse._transfer(address,address,uint256) (#1694-1797):
External calls:
- transferToWallet(address(marketingWallet),marketingPortion) (#1736)
- recipient.transfer(amount) (#1901)
- transferToWallet(address(divident),dividentPortion) (#1737)
- recipient.transfer(amount) (#1901)
External calls sending eth:
- transferToWallet(address(marketingWallet),marketingPortion) (#1736)
- recipient.transfer(amount) (#1901)
- transferToWallet(address(divident),dividentPortion) (#1737)
- recipient.transfer(amount) (#1901)
- buyBackAndBurn(buyBackBalance.div(10 ** 2).mul(rand())) (#1745)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,marketingWallet,block.timestamp.add(300)) (#1840-1845)
- swapAndLiquify(contractTokenBalance.div(totalFees).mul(LiquidityFee)) (#1751)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp) (#1821-1828)
State variables written after the call(s):
- swapAndSendFlokiDividends(sellTokens.div(10 ** 2).mul(rand())) (#1757)
- _allowances[owner][spender] = amount (#443)
- super._transfer(from,address(this),fees) (#1777)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#381)
- _balances[recipient] = _balances[recipient].add(amount) (#382)
- super._transfer(from,to,amount) (#1780)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#381)
- _balances[recipient] = _balances[recipient].add(amount) (#382)
- swapping = false (#1761)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#444)
- swapAndSendFlokiDividends(sellTokens.div(10 ** 2).mul(rand())) (#1757)
- ProcessedFlokiDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1789)
- SendDividends(amount) (#1909)
- swapAndSendFlokiDividends(sellTokens.div(10 ** 2).mul(rand())) (#1757)
- Transfer(sender,recipient,amount) (#383)
- super._transfer(from,to,amount) (#1780)
- Transfer(sender,recipient,amount) (#383)
- super._transfer(from,address(this),fees) (#1777)
Apply the check-effects-interactions pattern.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#644) is too similar to FlokiDividendTracker.getAccount(address).withdrawableDividends (#1986)
Prevent variables from having similar names.
Additional information: link
FlokiDividendTracker.getAccountAtIndex(uint256) (#2026-2043) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#2037)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DividendPayingToken.lastAmount (#560) is never used in FlokiDividendTracker (#1914-2129)
Remove unused state variables.
Additional information: link
FlokiMetaverse.presaleAddress (#1316) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
process(uint256) should be declared external:
- FlokiDividendTracker.process(uint256) (#2070-2115)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract ticker ($FLMT) 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.
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
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 Telegram 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 CoinGecko listing / rank
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account