HOPPY has 1 public audit report from CertiK; dated 17 Jul 2024; no critical findings reported. It also holds 1 deployed contract on 1 chain.
Last updated . It holds audits and findings, contracts and incidents up to Nov 2026. Trustblock does not review code.
Newest first
| Report | Security firm | Date | Scope | Critical findings | Findings | Source |
|---|---|---|---|---|---|---|
| HOPPY - Audit | Security firm: CertiK | Date: | Scope: 1 address on Ethereum | None open | Findings: 8 low 2 fixed · 6 open | skynet.certik.com ↗ |
Statuses are the security firms’ own
6 findings are still open or acknowledged in the firms’ reports: 6 low (all open).
Inconsistent Tax Logic
HOPPY - Audit · CertiK · 17 Jul 2024 · Report ↗
Miscalculation of Max Holding
HOPPY - Audit · CertiK · 17 Jul 2024 · Report ↗
Potential Sandwich Attacks
HOPPY - Audit · CertiK · 17 Jul 2024 · Report ↗
State variables that could be declared constant
HOPPY - Audit · CertiK · 17 Jul 2024 · Report ↗
Third-Party Dependency Usage
HOPPY - Audit · CertiK · 17 Jul 2024 · Report ↗
Variables That Could Be Declared as Immutable
HOPPY - Audit · CertiK · 17 Jul 2024 · Report ↗
Statuses are the security firm’s own, from each report.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 0 | 0 | 0 |
| Medium | 0 | 0 | 0 |
| Low | 6 | 0 | 2 |
**Transfer Tax Anomaly:** When the Hoppy contract sells tokens via the `swapTokensForEth()` function, a transfer tax is applied instead of a sell tax. Similarly, when the `_taxWallet` EOA buys tokens, a transfer tax is applied instead of a buy tax. **High Transfer Tax:** The transfer tax is significantly higher than both the buy and sell taxes until the `removeTransferTax()` function is executed. This discrepancy can lead to unexpectedly high fees during certain transactions, especially those involving the contract or tax wallet. **Detail Analysis:** 1. Initial Buy: Before the first buy transaction, the buy tax is applied. 2. Subsequent Buys: - Condition: If the recipient is not excluded from the fee (exclusions: owner, Hoppy contract, and `_taxWallet` EOA). - Action: Buy tax is applied. 3. Sell Transactions: - Condition: If the sender is not the Hoppy contract itself. - Action: Sell tax is applied. 4. Other cases: - Condition: For transfers not covered by the above conditions. - Action: A transfer tax of 75% is applied.
Open the reportThe transaction may be charged fees, so the max holding of the receiver should be the sum of the held tokens and the amount received from the transfer. The fees should not be included in the max holding. ```solidity=243 require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize."); ```
Open the reportA sandwich attack might happen when an attacker observes a transaction swapping tokens or adding liquidity without setting restrictions on slippage or minimum output amount. The attacker can manipulate the exchange rate by frontrunning (before the transaction being attacked) a transaction to purchase one of the assets and make profits by back running (after the transaction being attacked) a transaction to sell the asset. The following function is called without setting restrictions on slippage or minimum output amount, so transactions triggering this function are vulnerable to sandwich attacks, especially when the input amount is large: - `uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens()` Additionally, the `_taxSwapThreshold` is set excessively high (1% of _tTotal), creating an arbitrage opportunity that can be monitored and exploited by MEV bots before the `swapTokensForEth()` function is executed.
Open the reportState variables that are not updated following deployment should be declared constant to save gas.
Open the reportThe contract is serving as the underlying entity to interact with one or more third party protocols. The scope of the audit treats third party entities as black boxes and assumes their functional correctness. However, in the real world, third parties can be compromised and this may lead to lost or stolen assets. In addition, upgrades of third parties can possibly create severe impacts, such as increasing fees of third parties, migrating to new LP pools, etc. --- ```solidity IUniswapV2Router02 private uniswapV2Router; uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); ``` - The contract `Hoppy` interacts with third party contract with `IUniswapV2Router02` interface via `uniswapV2Router`. --- ```solidity uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH()); IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max); ``` - The contract `Hoppy` interacts with third party contract with `IUniswapV2Factory` interface via `uniswapV2Router.factory()`. - The contract `Hoppy` interacts with third party contract with `IERC20` interface via `uniswapV2Pair`.
Open the reportThe linked variables assigned in the constructor can be declared as `immutable`. Immutable state variables can be assigned during contract creation but will remain constant throughout the lifetime of a deployed contract. A big advantage of immutable variables is that reading them is significantly cheaper than reading from regular state variables since they will not be stored in storage.
Open the report| Address | Chain | Source code |
|---|---|---|
| 0x6e79…66150x6e79b51959cf968d87826592f46f819f92466615 | Chain: Ethereum | Source code: Verified source |
Trustblock holds 1 public audit report for HOPPY, dated 17 Jul 2024. The latest is by CertiK (“HOPPY - Audit”).
CertiK wrote the report Trustblock holds for HOPPY.
6 findings are still open or acknowledged in the firms’ reports: 6 low (all open). No critical finding is reported. Statuses are the security firms’ own.
Is this your project? Show this record on your own website. The label states what the record holds, links to this page and updates by itself. It is free and needs no sign-in.
Automatic: the three strongest facts of this project’s own record (its last audit and two more), highlighted. They update with the record. Picking a fact turns Automatic off.
<head><script src="https://widget.trustblock.run/project-widget.min.js" defer></script></head><body><divdata-tb-project-widgetdata-tb-project-slug="hoppy-2"></div></body>
Paste the code where the label should appear. It uses no API credit and updates by itself.
Something 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