HOPPY audit reports

Ethereumhoppy.vipX

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.

Critical findings
No open critical findings
In 1 report.
Open the latest report
Your label, live
Get the label for your site

Last updated . It holds audits and findings, contracts and incidents up to Nov 2026. Trustblock does not review code.

Audits1

Newest first

ReportSecurity firmDateScopeCritical findingsFindingsSource
HOPPY - AuditSecurity firm: CertiKDate: Scope: 1 address on EthereumNone openFindings: 8 low
2 fixed · 6 open
skynet.certik.com ↗

Open findings across every firm6

Statuses are the security firms’ own

6 findings are still open or acknowledged in the firms’ reports: 6 low (all open).

Low
6
  • Low Open

    Inconsistent Tax Logic

    HOPPY - Audit · CertiK · 17 Jul 2024 · Report ↗

  • Low Open

    Miscalculation of Max Holding

    HOPPY - Audit · CertiK · 17 Jul 2024 · Report ↗

  • Low Open

    Potential Sandwich Attacks

    HOPPY - Audit · CertiK · 17 Jul 2024 · Report ↗

  • Low Open

    State variables that could be declared constant

    HOPPY - Audit · CertiK · 17 Jul 2024 · Report ↗

  • Low Open

    Third-Party Dependency Usage

    HOPPY - Audit · CertiK · 17 Jul 2024 · Report ↗

  • Low Open

    Variables That Could Be Declared as Immutable

    HOPPY - Audit · CertiK · 17 Jul 2024 · Report ↗

Findings8

Statuses are the security firm’s own, from each report.

SeverityOpenAcknowledgedFixed
Critical000
High000
Medium000
Low602
LowInconsistent Tax LogicHOPPY - Audit · CertiK · 17 Jul 2024Open

**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 report
LowMiscalculation of Max HoldingHOPPY - Audit · CertiK · 17 Jul 2024Open

The 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 report
LowPotential Sandwich AttacksHOPPY - Audit · CertiK · 17 Jul 2024Open

A 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 report
LowState variables that could be declared constantHOPPY - Audit · CertiK · 17 Jul 2024Open

State variables that are not updated following deployment should be declared constant to save gas.

Open the report
LowThird-Party Dependency UsageHOPPY - Audit · CertiK · 17 Jul 2024Open

The 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 report
LowVariables That Could Be Declared as ImmutableHOPPY - Audit · CertiK · 17 Jul 2024Open

The 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

Contracts1

AddressChainSource code
0x6e79b51959cf968d87826592f46f819f92466615Chain: EthereumSource code: Verified source

HOPPY: questions

Is HOPPY audited?

Trustblock holds 1 public audit report for HOPPY, dated 17 Jul 2024. The latest is by CertiK (“HOPPY - Audit”).

Who audited HOPPY?

CertiK wrote the report Trustblock holds for HOPPY.

Are there open findings in HOPPY’s audits?

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.

Show this on your site

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.

Content

Facts

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.

Fixed as
Language

Style

Layout
Theme
Accent
Corners

Format

Size
Date
Embed as
HTML
<head>
<script src="https://widget.trustblock.run/project-widget.min.js" defer></script>
</head>
<body>
<div
data-tb-project-widget
data-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