CertiK reviewed HOPPY (HOPPY - Audit) on 17 Jul 2024: 8 findings, 0 critical; 2 marked fixed, 6 open.
Report hosted on skynet.certik.com.
Trustblock does not review code.
Statuses are the security firm’s own, from its report.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 0 | 0 | 0 |
| Medium | 0 | 0 | 0 |
| Low | 6 | 0 | 2 |
The `openTrading()` function allows the contract owner to enable trading and create a liquidity pool. This function is designed to set the `swapEnabled` and `tradingOpen` flags to true to facilitate trading. However, if someone external to the contract creates the trading pair before `openTrading` is called, the function will fail. As a result, the `swapEnabled` and `tradingOpen` variables remain `false`.
In the `reduceFee()` function, which is invoked by `_taxWallet` to reduce the fee, there is a logical flaw. The function checks if the `_newFee` is less than `_finalBuyTax` at line 341. Since `_finalBuyTax` is initialized to 0, the function can only succeed if `_newFee` is set to 0. This effectively prevents the reduceFee function from reducing fees to any value other than zero, rendering it ineffective for its intended purpose of flexible fee adjustment. ```solidity=339 function reduceFee(uint256 _newFee) external{ require(_msgSender()==_taxWallet); require(_newFee<=_finalBuyTax && _newFee<=_finalSellTax); _finalBuyTax=_newFee; _finalSellTax=_newFee; } ```
| Address | Chain | Source code |
|---|---|---|
| 0x6e79…66150x6e79b51959cf968d87826592f46f819f92466615 | Chain: Ethereum | Source code: Verified source |
1,044 projects reviewed · 1,375 reports · latest May 2025
See CertiK’s auditsSomething wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.
Tell us