HoodShiba aims to put the first Thug dog on the moon. With a dedicated team of developers, shillers and huge marketing plans, HoodShiba is ready for liftoff
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
HoodShiba.swapBack() (#1153-1187) sends eth to arbitrary user
Dangerous calls:
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1178)
HoodShiba.addLiquidity(uint256,uint256) (#1212-1222) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1214-1221)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in HoodShiba._transfer(address,address,uint256) (#1041-1151):
External calls:
- swapBack() (#1113)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1214-1221)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1194-1200)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1177)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1178)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1185)
External calls sending eth:
- swapBack() (#1113)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1214-1221)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1177)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1178)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1185)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1149)
- _liquidityTokensToSwap += tLiquidity * _buyLiquidityFee / _liquidityFee (#1425)
- _liquidityTokensToSwap += tLiquidity * _sellLiquidityFee / _liquidityFee (#1429)
- _tokenTransfer(from,to,amount,takeFee) (#1149)
- _marketingTokensToSwap += tLiquidity * _buyMarketingFee / _liquidityFee (#1427)
- _marketingTokensToSwap += tLiquidity * _sellMarketingFee / _liquidityFee (#1431)
- _tokenTransfer(from,to,amount,takeFee) (#1149)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1258)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1278)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1300)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1321)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1259)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1280)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1301)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1323)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1435)
- _tokenTransfer(from,to,amount,takeFee) (#1149)
- _rTotal = _rTotal.sub(rFee) (#1330)
- _tokenTransfer(from,to,amount,takeFee) (#1149)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1320)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1299)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1279)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1322)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1437)
- _tokenTransfer(from,to,amount,takeFee) (#1149)
- _teamTokensToSwap += tLiquidity * _buyTeamFee / _liquidityFee (#1426)
- _teamTokensToSwap += tLiquidity * _sellTeamFee / _liquidityFee (#1430)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable._lockTime (#229) is never initialized. It is used in:
- Ownable.getUnlockTime() (#265-267)
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
HoodShiba._transfer(address,address,uint256) (#1041-1151) uses a dangerous strict equality:
- from != owner() && to != uniswapV2Pair && block.number == tradingActiveBlock (#1076)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
HoodShiba.swapBack().success (#1177) is written in both
(success) = address(teamAddress).call{value: bnbForTeam}() (#1177)
(success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1178)
Fix or remove the writes.
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.
HoodShiba._previousTaxFee (#665) is set pre-construction with a non-constant function or state variable:
- _taxFee
HoodShiba._previousLiquidityFee (#668) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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 version0.8.9 (#23) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.9 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 HoodShiba.swapBack() (#1153-1187):
External calls:
- swapTokensForBNB(amountToSwapForBNB) (#1164)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1194-1200)
State variables written after the call(s):
- _liquidityTokensToSwap = 0 (#1173)
- _marketingTokensToSwap = 0 (#1174)
- _teamTokensToSwap = 0 (#1175)
Apply the check-effects-interactions pattern.
Additional information: link
HoodShiba.manage_Snipers(address[],bool).i (#1546) is a local variable never initialized
HoodShiba.manage_trusted(address[]).i (#1554) 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
HoodShiba.addLiquidity(uint256,uint256) (#1212-1222) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1214-1221)
Ensure that all the return values of the function calls are used.
Additional information: link
HoodShiba.allowance(address,address).owner (#830) shadows:
- Ownable.owner() (#242-244) (function)
HoodShiba._approve(address,address,uint256).owner (#1030) shadows:
- Ownable.owner() (#242-244) (function)
Rename the local variables that shadow another component.
Additional information: link
HoodShiba.enableTrading(bool,uint256) (#907-916) should emit an event for:
- deadBlocks = _deadBlocks (#914)
HoodShiba.setGasPriceLimit(uint256) (#953-956) should emit an event for:
- gasPriceLimit = gas * 1000000000 (#955)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in HoodShiba._transfer(address,address,uint256) (#1041-1151):
External calls:
- swapBack() (#1113)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1214-1221)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1194-1200)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1177)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1178)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1185)
External calls sending eth:
- swapBack() (#1113)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1214-1221)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1177)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1178)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1185)
State variables written after the call(s):
- removeAllFee() (#1126)
- _liquidityFee = 0 (#1459)
- _liquidityFee = _buyLiquidityFee + _buyMarketingFee + _buyTeamFee (#1128)
- removeAllFee() (#1133)
- _liquidityFee = 0 (#1459)
- _liquidityFee = _sellLiquidityFee + _sellMarketingFee + _sellTeamFee (#1135)
- _liquidityFee = _liquidityFee * 3 (#1140)
- removeAllFee() (#1144)
- _liquidityFee = 0 (#1459)
- _tokenTransfer(from,to,amount,takeFee) (#1149)
- _liquidityFee = _previousLiquidityFee (#1464)
- _liquidityFee = 0 (#1459)
- removeAllFee() (#1126)
- _previousLiquidityFee = _liquidityFee (#1456)
- removeAllFee() (#1133)
- _previousLiquidityFee = _liquidityFee (#1456)
- removeAllFee() (#1144)
- _previousLiquidityFee = _liquidityFee (#1456)
- _tokenTransfer(from,to,amount,takeFee) (#1149)
- _previousLiquidityFee = _liquidityFee (#1456)
- removeAllFee() (#1126)
- _previousTaxFee = _taxFee (#1455)
- removeAllFee() (#1133)
- _previousTaxFee = _taxFee (#1455)
- removeAllFee() (#1144)
- _previousTaxFee = _taxFee (#1455)
- _tokenTransfer(from,to,amount,takeFee) (#1149)
- _previousTaxFee = _taxFee (#1455)
- _tokenTransfer(from,to,amount,takeFee) (#1149)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1331)
- removeAllFee() (#1126)
- _taxFee = 0 (#1458)
- _taxFee = _buyTaxFee (#1127)
- removeAllFee() (#1133)
- _taxFee = 0 (#1458)
- _taxFee = _sellTaxFee (#1134)
- _taxFee = _taxFee * 3 (#1139)
- removeAllFee() (#1144)
- _taxFee = 0 (#1458)
- _tokenTransfer(from,to,amount,takeFee) (#1149)
- _taxFee = _previousTaxFee (#1463)
- _taxFee = 0 (#1458)
- buyOrSellSwitch = TRANSFER (#1122)
- buyOrSellSwitch = BUY (#1129)
- buyOrSellSwitch = SELL (#1136)
- buyOrSellSwitch = TRANSFER (#1145)
Reentrancy in HoodShiba.changeRouterVersion(address) (#1560-1584):
External calls:
- _pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1574-1577)
State variables written after the call(s):
- uniswapV2Pair = _pair (#1579)
- uniswapV2Router = _uniswapV2Router (#1582)
Reentrancy in HoodShiba.constructor() (#760-798):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#773-774)
State variables written after the call(s):
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#779)
- _excluded[i] = _excluded[_excluded.length - 1] (#1012)
- _excluded.push(account) (#1005)
- _excluded.pop() (#1015)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#779)
- _isExcluded[account] = true (#1004)
- _isExcluded[account] = false (#1014)
- _isExcludedFromFee[owner()] = true (#781)
- _isExcludedFromFee[address(this)] = true (#782)
- _isExcludedFromFee[marketingAddress] = true (#783)
- _isExcludedFromFee[liquidityAddress] = true (#784)
- _isExcludedFromFee[teamAddress] = true (#785)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#779)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1022)
- excludeFromMaxTransaction(owner(),true) (#787)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1022)
- excludeFromMaxTransaction(address(this),true) (#788)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1022)
- excludeFromMaxTransaction(address(0xdead),true) (#789)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1022)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#779)
- _isExcludedMaxWalletAmount[updAds] = isEx (#1026)
- excludeFromWalletAmount(owner(),true) (#791)
- _isExcludedMaxWalletAmount[updAds] = isEx (#1026)
- excludeFromWalletAmount(address(this),true) (#792)
- _isExcludedMaxWalletAmount[updAds] = isEx (#1026)
- excludeFromWalletAmount(address(0xdead),true) (#793)
- _isExcludedMaxWalletAmount[updAds] = isEx (#1026)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#779)
- _tOwned[account] = tokenFromReflection(_rOwned[account]) (#1002)
- _tOwned[account] = 0 (#1013)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#779)
- automatedMarketMakerPairs[pair] = value (#939)
- uniswapV2Pair = _uniswapV2Pair (#777)
- uniswapV2Router = _uniswapV2Router (#776)
Reentrancy in HoodShiba.swapBack() (#1153-1187):
External calls:
- swapTokensForBNB(amountToSwapForBNB) (#1164)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1194-1200)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1177)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1178)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1180)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1214-1221)
External calls sending eth:
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1177)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1178)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1180)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1214-1221)
State variables written after the call(s):
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1180)
- _allowances[owner][spender] = amount (#1037)
Reentrancy in HoodShiba.transferFrom(address,address,uint256) (#848-863):
External calls:
- _transfer(sender,recipient,amount) (#853)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1214-1221)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1194-1200)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1177)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1178)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1185)
External calls sending eth:
- _transfer(sender,recipient,amount) (#853)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1214-1221)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1177)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1178)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1185)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#854-861)
- _allowances[owner][spender] = amount (#1037)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in HoodShiba._transfer(address,address,uint256) (#1041-1151):
External calls:
- swapBack() (#1113)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1214-1221)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1194-1200)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1177)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1178)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1185)
External calls sending eth:
- swapBack() (#1113)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1214-1221)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1177)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1178)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1185)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1262)
- _tokenTransfer(from,to,amount,takeFee) (#1149)
- Transfer(sender,recipient,tTransferAmount) (#1283)
- _tokenTransfer(from,to,amount,takeFee) (#1149)
- Transfer(sender,recipient,tTransferAmount) (#1304)
- _tokenTransfer(from,to,amount,takeFee) (#1149)
- Transfer(sender,recipient,tTransferAmount) (#1326)
- _tokenTransfer(from,to,amount,takeFee) (#1149)
Reentrancy in HoodShiba.changeRouterVersion(address) (#1560-1584):
External calls:
- _pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1574-1577)
Event emitted after the call(s):
- UpdatedRouter(_router) (#1583)
Reentrancy in HoodShiba.constructor() (#760-798):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#773-774)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#946)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#779)
- Transfer(address(0),_msgSender(),_tTotal) (#797)
Reentrancy in HoodShiba.swapBack() (#1153-1187):
External calls:
- swapTokensForBNB(amountToSwapForBNB) (#1164)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1194-1200)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1177)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1178)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1180)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1214-1221)
External calls sending eth:
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1177)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1178)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1180)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1214-1221)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1038)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1180)
- SwapAndLiquify(amountToSwapForBNB,bnbForLiquidity,tokensForLiquidity) (#1181)
Reentrancy in HoodShiba.transferForeignToken(address,address) (#1589-1599):
External calls:
- _sent = IERC20(_token).transfer(_to,_contractBalance) (#1597)
Event emitted after the call(s):
- TransferForeignToken(_token,_contractBalance) (#1598)
Reentrancy in HoodShiba.transferFrom(address,address,uint256) (#848-863):
External calls:
- _transfer(sender,recipient,amount) (#853)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1214-1221)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1194-1200)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1177)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1178)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1185)
External calls sending eth:
- _transfer(sender,recipient,amount) (#853)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1214-1221)
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1177)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1178)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1185)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1038)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#854-861)
Apply the check-effects-interactions pattern.
Additional information: link
HoodShiba._transfer(address,address,uint256) (#1041-1151) uses timestamp for comparisons
Dangerous comparisons:
- boughtEarly[from] && earlyBuyPenaltyEnd <= block.number (#1138)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#131-142) uses assembly
- INLINE ASM (#138-140)
Address._functionCallWithValue(address,bytes,uint256,string) (#200-223) uses assembly
- INLINE ASM (#215-218)
Do not use evm assembly.
Additional information: link
HoodShiba.includeInReward(address) (#1008-1019) has costly operations inside a loop:
- _excluded.pop() (#1015)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#200-223) is never used and should be removed
Address.functionCall(address,bytes) (#158-163) is never used and should be removed
Address.functionCall(address,bytes,string) (#165-171) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#173-185) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#187-198) is never used and should be removed
Address.isContract(address) (#131-142) is never used and should be removed
Address.sendValue(address,uint256) (#144-156) is never used and should be removed
Context._msgData() (#30-33) is never used and should be removed
SafeMath.mod(uint256,uint256) (#116-118) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#120-127) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#144-156):
- (success) = recipient.call{value: amount}() (#151)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#200-223):
- (success,returndata) = target.call{value: weiValue}(data) (#208-210)
Low level call in HoodShiba.swapBack() (#1153-1187):
- (success) = address(teamAddress).call{value: bnbForTeam}() (#1177)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1178)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1185)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#339) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#341) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#371) is not in mixedCase
Function IUniswapV2Router01.WETH() (#415) is not in mixedCase
Parameter HoodShiba.enableTrading(bool,uint256)._status (#907) is not in mixedCase
Parameter HoodShiba.enableTrading(bool,uint256)._deadBlocks (#907) is not in mixedCase
Parameter HoodShiba.addPresaleAddressForExclusions(address,address)._presaleAddress (#919) is not in mixedCase
Parameter HoodShiba.addPresaleAddressForExclusions(address,address)._presaleRouterAddress (#919) is not in mixedCase
Parameter HoodShiba.calculateTaxFee(uint256)._amount (#1440) is not in mixedCase
Parameter HoodShiba.calculateLiquidityFee(uint256)._amount (#1444) is not in mixedCase
Parameter HoodShiba.setMarketingAddress(address)._marketingAddress (#1511) is not in mixedCase
Parameter HoodShiba.setTeamAddress(address)._teamAddress (#1518) is not in mixedCase
Parameter HoodShiba.setLiquidityAddress(address)._liquidityAddress (#1525) is not in mixedCase
Parameter HoodShiba.setSwapAndLiquifyEnabled(bool)._enabled (#1532) is not in mixedCase
Function HoodShiba.manage_Snipers(address[],bool) (#1545-1551) is not in mixedCase
Function HoodShiba.manage_trusted(address[]) (#1553-1557) is not in mixedCase
Parameter HoodShiba.changeRouterVersion(address)._router (#1560) is not in mixedCase
Parameter HoodShiba.transferForeignToken(address,address)._token (#1589) is not in mixedCase
Parameter HoodShiba.transferForeignToken(address,address)._to (#1589) is not in mixedCase
Constant HoodShiba._tTotal (#647) is not in UPPER_CASE_WITH_UNDERSCORES
Constant HoodShiba._name (#653) is not in UPPER_CASE_WITH_UNDERSCORES
Constant HoodShiba._symbol (#654) is not in UPPER_CASE_WITH_UNDERSCORES
Constant HoodShiba._decimals (#656) is not in UPPER_CASE_WITH_UNDERSCORES
Variable HoodShiba._buyTaxFee (#670) is not in mixedCase
Variable HoodShiba._buyLiquidityFee (#671) is not in mixedCase
Variable HoodShiba._buyMarketingFee (#672) is not in mixedCase
Variable HoodShiba._buyTeamFee (#673) is not in mixedCase
Variable HoodShiba._sellTaxFee (#675) is not in mixedCase
Variable HoodShiba._sellLiquidityFee (#676) is not in mixedCase
Variable HoodShiba._sellMarketingFee (#677) is not in mixedCase
Variable HoodShiba._sellTeamFee (#678) is not in mixedCase
Variable HoodShiba._isExcludedMaxTransactionAmount (#694) is not in mixedCase
Variable HoodShiba._isExcludedMaxWalletAmount (#695) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#31)" inContext (#25-34)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#420) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#421)
Variable HoodShiba._transferFromExcluded(address,address,uint256).rTransferAmount (#1293) is too similar to HoodShiba._transferToExcluded(address,address,uint256).tTransferAmount (#1274)
Variable HoodShiba._transferFromExcluded(address,address,uint256).rTransferAmount (#1293) is too similar to HoodShiba._getValues(uint256).tTransferAmount (#1347)
Variable HoodShiba._transferBothExcluded(address,address,uint256).rTransferAmount (#1314) is too similar to HoodShiba._transferToExcluded(address,address,uint256).tTransferAmount (#1274)
Variable HoodShiba._getValues(uint256).rTransferAmount (#1351) is too similar to HoodShiba._getTValues(uint256).tTransferAmount (#1378)
Variable HoodShiba.reflectionFromToken(uint256,bool).rTransferAmount (#980) is too similar to HoodShiba._transferStandard(address,address,uint256).tTransferAmount (#1254)
Variable HoodShiba._transferFromExcluded(address,address,uint256).rTransferAmount (#1293) is too similar to HoodShiba._transferStandard(address,address,uint256).tTransferAmount (#1254)
Variable HoodShiba._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1399) is too similar to HoodShiba._transferToExcluded(address,address,uint256).tTransferAmount (#1274)
Variable HoodShiba._transferBothExcluded(address,address,uint256).rTransferAmount (#1314) is too similar to HoodShiba._transferStandard(address,address,uint256).tTransferAmount (#1254)
Variable HoodShiba._transferToExcluded(address,address,uint256).rTransferAmount (#1272) is too similar to HoodShiba._transferToExcluded(address,address,uint256).tTransferAmount (#1274)
Variable HoodShiba._transferFromExcluded(address,address,uint256).rTransferAmount (#1293) is too similar to HoodShiba._getTValues(uint256).tTransferAmount (#1378)
Variable HoodShiba._transferBothExcluded(address,address,uint256).rTransferAmount (#1314) is too similar to HoodShiba._getTValues(uint256).tTransferAmount (#1378)
Variable HoodShiba.reflectionFromToken(uint256,bool).rTransferAmount (#980) is too similar to HoodShiba._getTValues(uint256).tTransferAmount (#1378)
Variable HoodShiba._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1399) is too similar to HoodShiba._transferStandard(address,address,uint256).tTransferAmount (#1254)
Variable HoodShiba._transferToExcluded(address,address,uint256).rTransferAmount (#1272) is too similar to HoodShiba._transferStandard(address,address,uint256).tTransferAmount (#1254)
Variable HoodShiba._getValues(uint256).rTransferAmount (#1351) is too similar to HoodShiba._transferToExcluded(address,address,uint256).tTransferAmount (#1274)
Variable HoodShiba._transferFromExcluded(address,address,uint256).rTransferAmount (#1293) is too similar to HoodShiba._transferFromExcluded(address,address,uint256).tTransferAmount (#1295)
Variable HoodShiba._transferStandard(address,address,uint256).rTransferAmount (#1252) is too similar to HoodShiba._transferStandard(address,address,uint256).tTransferAmount (#1254)
Variable HoodShiba._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1399) is too similar to HoodShiba._getTValues(uint256).tTransferAmount (#1378)
Variable HoodShiba._transferFromExcluded(address,address,uint256).rTransferAmount (#1293) is too similar to HoodShiba._transferBothExcluded(address,address,uint256).tTransferAmount (#1316)
Variable HoodShiba._transferToExcluded(address,address,uint256).rTransferAmount (#1272) is too similar to HoodShiba._getTValues(uint256).tTransferAmount (#1378)
Variable HoodShiba._getValues(uint256).rTransferAmount (#1351) is too similar to HoodShiba._transferStandard(address,address,uint256).tTransferAmount (#1254)
Variable HoodShiba._transferStandard(address,address,uint256).rTransferAmount (#1252) is too similar to HoodShiba._getTValues(uint256).tTransferAmount (#1378)
Variable HoodShiba.reflectionFromToken(uint256,bool).rTransferAmount (#980) is too similar to HoodShiba._transferToExcluded(address,address,uint256).tTransferAmount (#1274)
Variable HoodShiba._transferStandard(address,address,uint256).rTransferAmount (#1252) is too similar to HoodShiba._transferBothExcluded(address,address,uint256).tTransferAmount (#1316)
Variable HoodShiba.reflectionFromToken(uint256,bool).rTransferAmount (#980) is too similar to HoodShiba._transferBothExcluded(address,address,uint256).tTransferAmount (#1316)
Variable HoodShiba._transferBothExcluded(address,address,uint256).rTransferAmount (#1314) is too similar to HoodShiba._transferFromExcluded(address,address,uint256).tTransferAmount (#1295)
Variable HoodShiba._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1399) is too similar to HoodShiba._transferBothExcluded(address,address,uint256).tTransferAmount (#1316)
Variable HoodShiba._transferBothExcluded(address,address,uint256).rTransferAmount (#1314) is too similar to HoodShiba._getValues(uint256).tTransferAmount (#1347)
Variable HoodShiba._transferToExcluded(address,address,uint256).rTransferAmount (#1272) is too similar to HoodShiba._transferFromExcluded(address,address,uint256).tTransferAmount (#1295)
Variable HoodShiba._getValues(uint256).rTransferAmount (#1351) is too similar to HoodShiba._transferBothExcluded(address,address,uint256).tTransferAmount (#1316)
Variable HoodShiba._transferToExcluded(address,address,uint256).rTransferAmount (#1272) is too similar to HoodShiba._getValues(uint256).tTransferAmount (#1347)
Variable HoodShiba._transferStandard(address,address,uint256).rTransferAmount (#1252) is too similar to HoodShiba._transferFromExcluded(address,address,uint256).tTransferAmount (#1295)
Variable HoodShiba._transferBothExcluded(address,address,uint256).rTransferAmount (#1314) is too similar to HoodShiba._transferBothExcluded(address,address,uint256).tTransferAmount (#1316)
Variable HoodShiba.reflectionFromToken(uint256,bool).rTransferAmount (#980) is too similar to HoodShiba._transferFromExcluded(address,address,uint256).tTransferAmount (#1295)
Variable HoodShiba._transferStandard(address,address,uint256).rTransferAmount (#1252) is too similar to HoodShiba._getValues(uint256).tTransferAmount (#1347)
Variable HoodShiba.reflectionFromToken(uint256,bool).rTransferAmount (#980) is too similar to HoodShiba._getValues(uint256).tTransferAmount (#1347)
Variable HoodShiba._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1399) is too similar to HoodShiba._transferFromExcluded(address,address,uint256).tTransferAmount (#1295)
Variable HoodShiba._transferToExcluded(address,address,uint256).rTransferAmount (#1272) is too similar to HoodShiba._transferBothExcluded(address,address,uint256).tTransferAmount (#1316)
Variable HoodShiba._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1399) is too similar to HoodShiba._getValues(uint256).tTransferAmount (#1347)
Variable HoodShiba._getValues(uint256).rTransferAmount (#1351) is too similar to HoodShiba._transferFromExcluded(address,address,uint256).tTransferAmount (#1295)
Variable HoodShiba._transferStandard(address,address,uint256).rTransferAmount (#1252) is too similar to HoodShiba._transferToExcluded(address,address,uint256).tTransferAmount (#1274)
Variable HoodShiba._getValues(uint256).rTransferAmount (#1351) is too similar to HoodShiba._getValues(uint256).tTransferAmount (#1347)
Prevent variables from having similar names.
Additional information: link
HoodShiba.slitherConstructorVariables() (#618-1602) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#631-632)
HoodShiba.slitherConstructorVariables() (#618-1602) uses literals with too many digits:
- gasMaxLimit = 50000000 (#690)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (#228) is never used in HoodShiba (#618-1602)
Remove unused state variables.
Additional information: link
HoodShiba.minimumTokensBeforeSwap (#704) should be constant
Ownable._lockTime (#229) should be constant
Ownable._previousOwner (#228) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#265-267)
getTime() should be declared external:
- Ownable.getTime() (#269-271)
authorize(address) should be declared external:
- HoodShiba.authorize(address) (#1203-1205)
unauthorize(address) should be declared external:
- HoodShiba.unauthorize(address) (#1207-1209)
setSwapAndLiquifyEnabled(bool) should be declared external:
- HoodShiba.setSwapAndLiquifyEnabled(bool) (#1532-1535)
isSniper(address) should be declared external:
- HoodShiba.isSniper(address) (#1541-1543)
manage_Snipers(address[],bool) should be declared external:
- HoodShiba.manage_Snipers(address[],bool) (#1545-1551)
manage_trusted(address[]) should be declared external:
- HoodShiba.manage_trusted(address[]) (#1553-1557)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
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 Twitter link on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Twitter account has relatively few followers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account