HyperBoost seeks to touch the world by showing off his tricks, including its one of a kind tokenomics and a true utility use case project.
HyperBoost.addLiquidity(uint256,uint256) (#972-981) sends eth to arbitrary user
Dangerous calls:
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#973-980)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in HyperBoost.transferOwner(address) (#522-540):
External calls:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#534)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,pairPath,address(this),block.timestamp) (#950-956)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#973-980)
- dexRouter.swapExactETHForTokens{value: ethAmount}(0,path,DEAD,block.timestamp) (#964-969)
External calls sending eth:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#534)
- _maintenanceWallet.transfer((amt * _maintenanceRatio) / _totalFee) (#944)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#973-980)
- _manualBuybackWallet.transfer((amt * _manualBuybackRatio) / _totalFee) (#945)
- _marketingWallet.transfer((amt * _marketingRatio) / _totalFee) (#946)
- dexRouter.swapExactETHForTokens{value: ethAmount}(0,path,DEAD,block.timestamp) (#964-969)
State variables written after the call(s):
- _owner = newOwner (#537)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
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.
HyperBoost._getValues(address,address,uint256,bool).values (#1090) 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
HyperBoost.addLiquidity(uint256,uint256) (#972-981) ignores return value by dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#973-980)
Ensure that all the return values of the function calls are used.
Additional information: link
HyperBoost.setSwapSettings(uint256,uint256,uint256,uint256) (#797-800) should emit an event for:
- swapThreshold = (_tTotal * thresholdPercent) / thresholdDivisor (#798)
- swapAmount = (_tTotal * amountPercent) / amountDivisor (#799)
Emit an event for critical parameter changes.
Additional information: link
HyperBoost.setWallets(address,address,address).manualBuybackWallet (#802) lacks a zero-check on :
- _manualBuybackWallet = address(manualBuybackWallet) (#805)
Check that the address is not zero.
Additional information: link
Reentrancy in HyperBoost.setNewRouter(address) (#603-613):
External calls:
- lpPair = IUniswapV2Factory(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#607)
State variables written after the call(s):
- dexRouter = _newRouter (#612)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in HyperBoost.transferOwner(address) (#522-540):
External calls:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#534)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,pairPath,address(this),block.timestamp) (#950-956)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#973-980)
- dexRouter.swapExactETHForTokens{value: ethAmount}(0,path,DEAD,block.timestamp) (#964-969)
External calls sending eth:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#534)
- _maintenanceWallet.transfer((amt * _maintenanceRatio) / _totalFee) (#944)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#973-980)
- _manualBuybackWallet.transfer((amt * _manualBuybackRatio) / _totalFee) (#945)
- _marketingWallet.transfer((amt * _marketingRatio) / _totalFee) (#946)
- dexRouter.swapExactETHForTokens{value: ethAmount}(0,path,DEAD,block.timestamp) (#964-969)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (#538)
Apply the check-effects-interactions pattern.
Additional information: link
HyperBoost._transfer(address,address,uint256) (#848-918) uses timestamp for comparisons
Dangerous comparisons:
- lpPairs[from] && block.timestamp <= _liqAddStamp + 300 (#859)
- block.timestamp - sellValues[from].userSellTime >= maxSellTimeLimit (#874)
- block.timestamp >= lastBuyback + buybackCooldownPeriod (#886)
Avoid relying on block.timestamp.
Additional information: link
HyperBoost.setExcludedFromReward(address,bool) (#639-659) compares to a boolean constant:
-enabled == true (#640)
Remove the equality to the boolean constant.
Additional information: link
Context._msgData() (#9-12) is never used and should be removed
Remove unused functions.
Additional information: link
HyperBoost.swapAmount (#400) is set pre-construction with a non-constant function or state variable:
- (_tTotal * 5) / 1000
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.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
Variable HyperBoost._hasLiqBeenAdded (#405) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#10)" inContext (#4-13)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in HyperBoost.transferOwner(address) (#522-540):
External calls:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#534)
- _maintenanceWallet.transfer((amt * _maintenanceRatio) / _totalFee) (#944)
- _manualBuybackWallet.transfer((amt * _manualBuybackRatio) / _totalFee) (#945)
- _marketingWallet.transfer((amt * _marketingRatio) / _totalFee) (#946)
External calls sending eth:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#534)
- _maintenanceWallet.transfer((amt * _maintenanceRatio) / _totalFee) (#944)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#973-980)
- _manualBuybackWallet.transfer((amt * _manualBuybackRatio) / _totalFee) (#945)
- _marketingWallet.transfer((amt * _marketingRatio) / _totalFee) (#946)
- dexRouter.swapExactETHForTokens{value: ethAmount}(0,path,DEAD,block.timestamp) (#964-969)
State variables written after the call(s):
- _owner = newOwner (#537)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (#538)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#168) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#169)
Prevent variables from having similar names.
Additional information: link
HyperBoost.slitherConstructorVariables() (#296-1169) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#379)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
HyperBoost._previousMaxWalletSize (#396) is never used in HyperBoost (#296-1169)
Remove unused state variables.
Additional information: link
HyperBoost.startingSupply (#317) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
enableTrading() should be declared external:
- HyperBoost.enableTrading() (#1002-1019)
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.
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
Token was delisted (assigned to inactive / untracked listing) from 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 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 CoinMarketCap listing / rank
Token has relatively low CoinGecko rank
Twitter account link seems to be invalid
Unable to find Youtube account