> For the complete documentation index, see [llms.txt](https://docs.helio.bet/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.helio.bet/contracts-and-deployment.md).

# Contracts and deployment

This page records the hTEST pilot on Robinhood mainnet, chain ID 4663. It is the deployment described by the website source at `main` commit `5663b9923232694c1fb6582bdb6c387e2ed3ec76`.

## Core addresses

| Contract                    | Address                                                                                                                                |
| --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| HelioExchange               | [0xd4566db42fabe3d9cb96ea28fe3422602bc47e1a](https://robinhoodchain.blockscout.com/address/0xd4566db42fabe3d9cb96ea28fe3422602bc47e1a) |
| HelioRoundManager           | [0x2929d6e78611d924cfb8db63552282967a8a921b](https://robinhoodchain.blockscout.com/address/0x2929d6e78611d924cfb8db63552282967a8a921b) |
| HelioTestUSDG, symbol hTEST | [0xb774734cab324a18f71562245f76a40be3259a90](https://robinhoodchain.blockscout.com/address/0xb774734cab324a18f71562245f76a40be3259a90) |

The six oracle addresses and underlying pools are listed in [Markets and price sources](/markets-and-price-sources.md). The deployment contains nine contracts in total. No vault, vault factory, or index adapter is included in its manifest.

## Responsibilities and permissions

**HelioExchange** holds deposited collateral, maintains funded orders and outcome balances, matches trades, and accounts for settlement payouts. Its owner can bind a round manager once and withdraw accrued protocol fees. The deployed manager is already bound. User withdrawals debit the caller's free balance and send funds to the caller.

**HelioRoundManager** registers series, opens eligible rounds, and resolves historical prices. Its owner can create series and pause or unpause future openings. Existing series sources and rules cannot be replaced, and the manager has no owner outcome override. Ownership transfers use a two-step process.

**UniswapV3HistoricalOracle** has immutable pool and methodology settings. It returns a price for a requested historical boundary and window.

**HelioTestUSDG** is an owner-minted ERC20 with six decimals, no redemption backing, and a total supply cap of 10,000,000 hTEST. It is not the USDG token used to quote the settlement pools.

At block 57519546, the owner reported by the collateral, exchange, and manager was `0x93a73b60b41b9f271C70d7b1708e55FEbEc567f0`.

## Verification snapshot

Read-only checks completed at **2026-09-08 07:41:19 UTC**, pinned to **block 57519546**.

* Bytecode was present at all nine manifest addresses.
* The exchange's collateral and manager matched the manifest, and the manager pointed back to the exchange.
* All six registered series matched the documented oracle, timing, fee, and escrow-cap configuration.
* All six series were paused.
* Every oracle returned a positive current 30-second reference.
* User ledger collateral and aggregate round escrow were zero.
* The exchange held 0.011520 hTEST, exactly equal to its accrued protocol fees.

These checks establish address/configuration consistency and state at that block. They do not establish audited safety or complete source-to-bytecode equivalence. The repository's pilot report states that source was not submitted for public explorer verification.

## Source record

The documentation was written from an isolated snapshot of the live website commit. Principal records were:

* `contracts/src/v2/HelioExchange.sol`
* `contracts/src/v2/HelioRoundManager.sol`
* `contracts/src/v2/oracles/UniswapV3HistoricalOracle.sol`
* `contracts/src/pilot/HelioTestUSDG.sol` and `PilotMarkets.sol`
* `contracts/script/DeployPilot.s.sol`
* `reports/pilot/mainnet-deployment-verified.json`
* `reports/pilot/mainnet-pilot-results-2026-09-08.md`
* The exchange interface, ABI, and order-building code at the same commit.

Older README and architecture text describes earlier AMM and Chainlink designs. Those descriptions are not used as the current pilot's trading or settlement specification.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.helio.bet/contracts-and-deployment.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
