Nano DeFido
NanoDeFido is the Nano smallest sibling in the Defido family. So small you need a magnifying glass to see him! Get paid $Defido rewards for holding $NanoDeFido.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
NanoDeFido.addLiquidity(uint256,uint256) (#1703-1718) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1709-1716)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in NanoDeFido._transfer(address,address,uint256) (#1547-1628):
External calls:
- swapAndSendToFee(marketingTokens) (#1584)
- IERC20(DeFido).transfer(_marketingWalletAddress,newBalance) (#1636)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1694-1700)
- swapAndLiquify(swapTokens) (#1587)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1709-1716)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1674-1680)
- swapAndSendDividends(sellTokens) (#1590)
- success = IERC20(DeFido).transfer(address(dividendTracker),dividends) (#1723)
- dividendTracker.distributeDeFidoDividends(dividends) (#1726)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1694-1700)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1587)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1709-1716)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1610)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#931)
- _balances[recipient] = _balances[recipient].add(amount) (#932)
- super._transfer(from,to,amount) (#1613)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#931)
- _balances[recipient] = _balances[recipient].add(amount) (#932)
- swapping = false (#1592)
Apply the check-effects-interactions pattern.
Additional information: link
NanoDeFido.swapAndSendToFee(uint256) (#1630-1637) ignores return value by IERC20(DeFido).transfer(_marketingWalletAddress,newBalance) (#1636)
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.
Reentrancy in NanoDeFido.updateDividendTracker(address) (#1365-1380):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1372)
- newDividendTracker.excludeFromDividends(address(this)) (#1373)
- newDividendTracker.excludeFromDividends(owner()) (#1374)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1375)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1379)
Apply the check-effects-interactions pattern.
Additional information: link
NanoDeFido._transfer(address,address,uint256).lastProcessedIndex (#1621) 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
NanoDeFido.addLiquidity(uint256,uint256) (#1703-1718) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1709-1716)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.accumulativeDividendOf(address)._owner (#1196) shadows:
- Ownable._owner (#368) (state variable)
Rename the local variables that shadow another component.
Additional information: link
NanoDeFido.updateTokensToSwap(uint256) (#1450-1452) should emit an event for:
- swapTokensAtAmount = newSwap * (10 ** 18) (#1451)
Emit an event for critical parameter changes.
Additional information: link
NanoDeFido.setMarketingWallet(address).wallet (#1406) lacks a zero-check on :
- _marketingWalletAddress = wallet (#1407)
Check that the address is not zero.
Additional information: link
Variable 'NanoDeFido._transfer(address,address,uint256).claims (#1621)' in NanoDeFido._transfer(address,address,uint256) (#1547-1628) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1622)
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 NanoDeFido.updateUniswapV2Router(address) (#1382-1389):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1386-1387)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1388)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in NanoDeFido.updateDividendTracker(address) (#1365-1380):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1372)
- newDividendTracker.excludeFromDividends(address(this)) (#1373)
- newDividendTracker.excludeFromDividends(owner()) (#1374)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1375)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1377)
Apply the check-effects-interactions pattern.
Additional information: link
NanoDeFidoDividendTracker.canAutoClaim(uint256) (#1856-1862) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1857)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1861)
Avoid relying on block.timestamp.
Additional information: link
SafeMathInt.mul(int256,int256) (#581-588) is never used and should be removed
Remove unused functions.
Additional information: link
NanoDeFido.totalFees (#1276) is set pre-construction with a non-constant function or state variable:
- DeFidoRewardsFee.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
Pragma version^0.6.2 (#1086) allows old versions
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 NanoDeFidoDividendTracker.getAccount(address)._account (#1792) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#112)" inContext (#106-115)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1151) is too similar to NanoDeFidoDividendTracker.getAccount(address).withdrawableDividends (#1797)
Prevent variables from having similar names.
Additional information: link
NanoDeFidoDividendTracker.getAccountAtIndex(uint256) (#1837-1854) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1848)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#576) is never used in SafeMathInt (#574-633)
Remove unused state variables.
Additional information: link
NanoDeFido.deadWallet (#1262) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
process(uint256) should be declared external:
- NanoDeFidoDividendTracker.process(uint256) (#1881-1926)
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
Telegram account link seems to be invalid
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