Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
DIAMONDHANDS.swapAndLiquify(uint256) (#2098-2117) sends eth to arbitrary user
Dangerous calls:
- marketingWallet.transfer(marketingAmount) (#2109)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#1412-1428):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1417)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1420)
Apply the check-effects-interactions pattern.
Additional information: link
SafeToken.withdraw(address,uint256) (#1734-1737) ignores return value by IERC20(_token).transfer(safeManager,_amount) (#1736)
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.
DIAMONDHANDS._transfer(address,address,uint256).extraFee (#2067) 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
DIAMONDHANDS._transfer(address,address,uint256) (#2033-2096) ignores return value by dividendTracker.process(gas) (#2089-2094)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._symbol (#1369) shadows:
- ERC20._symbol (#832) (state variable)
Rename the local variables that shadow another component.
Additional information: link
DIAMONDHANDS.setSwapAtAmount(uint256) (#2161-2163) should emit an event for:
- swapTokensAtAmount = _swapAtAmount (#2162)
Emit an event for critical parameter changes.
Additional information: link
DIAMONDHANDS.setMarketingWallet(address)._marketingWallet (#2165) lacks a zero-check on :
- marketingWallet = _marketingWallet (#2166)
Check that the address is not zero.
Additional information: link
Variable 'DIAMONDHANDS._transfer(address,address,uint256).iterations (#2089)' in DIAMONDHANDS._transfer(address,address,uint256) (#2033-2096) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2090)
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 DIAMONDHANDSDividendTracker.processAccount(address,bool) (#1710-1720):
External calls:
- amount = _withdrawDividendOfUser(account) (#1711)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1417)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1714)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in DIAMONDHANDS.swapAndLiquify(uint256) (#2098-2117):
External calls:
- swapTokensForBnb(contractTokenBalance,address(this)) (#2103)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2132-2138)
- (success) = address(dividendTracker).call{value: dividends}() (#2112)
External calls sending eth:
- marketingWallet.transfer(marketingAmount) (#2109)
- (success) = address(dividendTracker).call{value: dividends}() (#2112)
Event emitted after the call(s):
- SendDividends(contractTokenBalance,dividends) (#2115)
Apply the check-effects-interactions pattern.
Additional information: link
DIAMONDHANDSDividendTracker.canAutoClaim(uint256) (#1638-1644) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1639)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1643)
Avoid relying on block.timestamp.
Additional information: link
SignedSafeMath.mul(int256,int256) (#173-175) is never used and should be removed
Remove unused functions.
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
Low level call in DIAMONDHANDS.swapAndLiquify(uint256) (#2098-2117):
- (success) = address(dividendTracker).call{value: dividends}() (#2112)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter DIAMONDHANDS.setMarketingWallet(address)._marketingWallet (#2165) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in DIAMONDHANDS.swapAndLiquify(uint256) (#2098-2117):
External calls:
- marketingWallet.transfer(marketingAmount) (#2109)
External calls sending eth:
- marketingWallet.transfer(marketingAmount) (#2109)
- (success) = address(dividendTracker).call{value: dividends}() (#2112)
Event emitted after the call(s):
- SendDividends(contractTokenBalance,dividends) (#2115)
Apply the check-effects-interactions pattern.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1413) is too similar to DIAMONDHANDSDividendTracker.getAccount(address).withdrawableDividends (#1579)
Prevent variables from having similar names.
Additional information: link
DIAMONDHANDS.slitherConstructorVariables() (#1769-2169) uses literals with too many digits:
- gasForProcessing = 300000 (#1792)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DIAMONDHANDS.devWallet (#1789) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
setMarketingWallet(address) should be declared external:
- DIAMONDHANDS.setMarketingWallet(address) (#2165-2167)
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.
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
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
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 token/project description on the website or on BscScan, CoinHunt, CoinGecko, CoinMarketCap
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Twitter account link seems to be invalid
Telegram account has relatively few subscribers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account