Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
ShibMoon.addLiquidity(uint256,uint256) (#1351-1363) sends eth to arbitrary user
Dangerous calls:
- DEXV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1354-1361)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in PaybackReward._withdrawDividendOfUser(address) (#382-398):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#387)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#390)
Apply the check-effects-interactions pattern.
Additional information: link
ShibMoon._totalSupply (#1003) shadows:
- ERC20._totalSupply (#181)
Remove the state variable shadowing.
Additional information: link
ShibMoon.changeCooldownSettings(bool,uint8) (#1229-1233) contains a tautology or contradiction:
- require(bool,string)(newInterval <= 600,Exceeds the limit) (#1230)
Fix the incorrect comparison by changing the value type or the comparison.
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.
Variable ShibMoon.TotalFees (#1018) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#127)" inContext (#121-130)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in ShibMoon.swapBack(uint256) (#1315-1349):
External calls:
- address(walletDevTeam).transfer(bnbForDev) (#1342)
External calls sending eth:
- addLiquidity(tokensTShibMoon,bnbForLiquidity) (#1340)
- DEXV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1354-1361)
- address(walletDevTeam).transfer(bnbForDev) (#1342)
- (success) = address(Reward).call{value: bnbForReflection}() (#1344)
Event emitted after the call(s):
- transferDividends(tokensToLiquify.mul(rewardFee).div(TotalFees),bnbForReflection) (#1347)
Apply the check-effects-interactions pattern.
Additional information: link
ShibMoon._transfer(address,address,uint256).lastProcessedIndex (#1308) 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
ShibMoon.addLiquidity(uint256,uint256) (#1351-1363) ignores return value by DEXV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1354-1361)
Ensure that all the return values of the function calls are used.
Additional information: link
PaybackReward.constructor(string,string)._symbol (#357) shadows:
- ERC20._symbol (#184) (state variable)
Rename the local variables that shadow another component.
Additional information: link
ShibMoon.setDevWallet(address).wallet (#1098) lacks a zero-check on :
- walletDevTeam = wallet (#1099)
Check that the address is not zero.
Additional information: link
Variable 'ShibMoon._transfer(address,address,uint256).iterations (#1308)' in ShibMoon._transfer(address,address,uint256) (#1239-1313) potentially used before declaration: ProcessedReward(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1309)
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 ShibMoonReward.processAccount(address,bool) (#765-775):
External calls:
- amount = _withdrawDividendOfUser(account) (#766)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#387)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#769)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ShibMoon.swapBack(uint256) (#1315-1349):
External calls:
- DEXV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1325-1331)
- addLiquidity(tokensTShibMoon,bnbForLiquidity) (#1340)
- DEXV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1354-1361)
- (success) = address(Reward).call{value: bnbForReflection}() (#1344)
External calls sending eth:
- addLiquidity(tokensTShibMoon,bnbForLiquidity) (#1340)
- DEXV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1354-1361)
- address(walletDevTeam).transfer(bnbForDev) (#1342)
- (success) = address(Reward).call{value: bnbForReflection}() (#1344)
Event emitted after the call(s):
- transferDividends(tokensToLiquify.mul(rewardFee).div(TotalFees),bnbForReflection) (#1347)
Apply the check-effects-interactions pattern.
Additional information: link
ShibMoon._transfer(address,address,uint256) (#1239-1313) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[from] < block.timestamp,Please wait for cooldown between buys) (#1257)
Avoid relying on block.timestamp.
Additional information: link
SafeMathInt.mul(int256,int256) (#68-75) is never used and should be removed
Remove unused functions.
Additional information: link
ShibMoon.swapTokensAtAmount (#1021) is set pre-construction with a non-constant function or state variable:
- _totalSupply
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.7 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 ShibMoon.swapBack(uint256) (#1315-1349):
- (success) = address(Reward).call{value: bnbForReflection}() (#1344)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable PanCakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#852) is too similar to PanCakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#853)
Prevent variables from having similar names.
Additional information: link
ShibMoon.slitherConstructorVariables() (#982-1370) uses literals with too many digits:
- gasForProcessing = 300000 (#999)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
ShibMoon._presalerCollected (#1011) is never used in ShibMoon (#982-1370)
Remove unused state variables.
Additional information: link
ShibMoon.rewardFee (#1007) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
dividendTokenBalanceOf(address) should be declared external:
- ShibMoon.dividendTokenBalanceOf(address) (#1138-1140)
Use the external attribute for functions never called from the contract.
Additional information: link
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.
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts