Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
MyLittleFloki.addLiquidity(uint256,uint256) (#1614-1628) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1619-1626)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in MyLittleFloki._transfer(address,address,uint256) (#1461-1543):
External calls:
- swapAndSendToFee(marketingTokens) (#1499)
- IERC20(ETH).transfer(_marketingWalletAddress,newBalance) (#1551)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1605-1611)
- swapAndLiquify(swapTokens) (#1502)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1619-1626)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1587-1593)
- swapAndSendDividends(sellTokens) (#1505)
- success = IERC20(ETH).transfer(address(dividendTracker),dividends) (#1633)
- dividendTracker.distributeETHDividends(dividends) (#1636)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1605-1611)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1502)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1619-1626)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1525)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#625)
- _balances[recipient] = _balances[recipient].add(amount) (#626)
- super._transfer(from,to,amount) (#1528)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#625)
- _balances[recipient] = _balances[recipient].add(amount) (#626)
- swapping = false (#1507)
Apply the check-effects-interactions pattern.
Additional information: link
MyLittleFloki.swapAndSendToFee(uint256) (#1545-1552) ignores return value by IERC20(ETH).transfer(_marketingWalletAddress,newBalance) (#1551)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
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.
MyLittleFloki.setMarketingWallet(address).wallet (#1346) lacks a zero-check on :
- _marketingWalletAddress = wallet (#1347)
Check that the address is not zero.
Additional information: link
Reentrancy in MyLittleFloki.updateDividendTracker(address) (#1302-1317):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1309)
- newDividendTracker.excludeFromDividends(address(this)) (#1310)
- newDividendTracker.excludeFromDividends(owner()) (#1311)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1312)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1316)
Apply the check-effects-interactions pattern.
Additional information: link
MyLittleFloki._transfer(address,address,uint256).lastProcessedIndex (#1536) 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
MyLittleFloki.addLiquidity(uint256,uint256) (#1614-1628) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1619-1626)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.accumulativeDividendOf(address)._owner (#1144) shadows:
- Ownable._owner (#362) (state variable)
Rename the local variables that shadow another component.
Additional information: link
MyLittleFloki.setMarketingFee(uint256) (#1360-1363) should emit an event for:
- marketingFee = value (#1361)
- totalFees = ETHRewardsFee.add(liquidityFee).add(marketingFee) (#1362)
Emit an event for critical parameter changes.
Additional information: link
Variable 'MyLittleFloki._transfer(address,address,uint256).claims (#1536)' in MyLittleFloki._transfer(address,address,uint256) (#1461-1543) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1537)
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 MyLittleFloki.updateUniswapV2Router(address) (#1319-1325):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1323)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1324)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MyLittleFloki.updateDividendTracker(address) (#1302-1317):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1309)
- newDividendTracker.excludeFromDividends(address(this)) (#1310)
- newDividendTracker.excludeFromDividends(owner()) (#1311)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1312)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1314)
Apply the check-effects-interactions pattern.
Additional information: link
MLFLOKIDividendTracker.canAutoClaim(uint256) (#1766-1772) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1767)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1771)
Avoid relying on block.timestamp.
Additional information: link
SafeMathInt.mul(int256,int256) (#295-302) is never used and should be removed
Remove unused functions.
Additional information: link
MyLittleFloki.totalFees (#1217) is set pre-construction with a non-constant function or state variable:
- ETHRewardsFee.add(liquidityFee).add(marketingFee)
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
solc-0.8.6 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
Parameter MLFLOKIDividendTracker.getAccount(address)._account (#1702) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#136)" inContext (#130-139)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1099) is too similar to MLFLOKIDividendTracker.getAccount(address).withdrawableDividends (#1707)
Prevent variables from having similar names.
Additional information: link
MLFLOKIDividendTracker.getAccountAtIndex(uint256) (#1747-1764) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1758)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#290) is never used in SafeMathInt (#288-346)
Remove unused state variables.
Additional information: link
MyLittleFloki.swapTokensAtAmount (#1211) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
process(uint256) should be declared external:
- MLFLOKIDividendTracker.process(uint256) (#1791-1836)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Number of Binance Smart Chain (BSC) token holders is low.
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.
Unable to find website, listings and other project-related information
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Unable to find Telegram and Twitter accounts