HIP-4 in one page
Everything about Hyperliquid's outcome markets that the vault relies on, in the words of the protocol.
Outcomes and sides
An outcome is a fully collateralised contract with two sides, each its own token, listed in the outcomeMeta info response. The first recurring market settles daily at 06:00 UTC to the BTC mark price on HyperCore; more classes (price ranges, touches, sports) are listed by deployers.
The merged book
The YES and NO books of one outcome share liquidity. A bid for YES at p is the same order as an ask for NO at 1 − p. At one merged price level, resting sells sort before buy duals. For a maker this means one quote serves both sides of the market.
Asset ids
| Form | Value | Example (outcome 1, side 0) |
|---|---|---|
| encoding | 10 × outcome + side | 10 |
| spot coin (info API) | #<encoding> | #10 |
| token name | +<encoding> | +10 |
| order asset id | 100,000,000 + encoding | 100000010 |
Split and merge
Anyone can split 1 USDC into 1 YES + 1 NO, and merge a pair back into 1 USDC. HyperEVM contracts reach the same operation through CoreWriter action 17, (uint8 op, uint32 question, uint32 outcome, uint64 wei), with ops SplitOutcome, MergeOutcome, MergeQuestion and NegateOutcome. Action 17 moves shares; it does not place orders.
Settlement
At settlement YES converts to settleFraction USDC and NO to 1 − settleFraction: 1 and 0 for a binary yes, 0 and 1 for a binary no. Outcome trades carry no maker rebate and are charged on close or settle, so a maker earns the spread, not rebates.