Docs · Mechanics

Settlement

Settlement turns 30 minutes of HIP-3 marks into one price, without anyone typing a number.

The sampler

From 19:30 to 20:00 UTC, anyone can call SettleSampler.sample(market, expiry) on HyperEVM. The window has 30 one-minute slots and each slot keeps the first read made in it. Anyone can call it, and nobody can overwrite a slot.

19:30 UTC20:0028 reads kept · 2 slots empty · average sent at 20:00 by ticket
One read per minute slot. Empty slots are skipped; at least 20 reads are needed to settle.

The window and its extension

At 20:00, finalize averages the stored reads. A missing minute blocks nothing. With fewer than 20 reads the window extends once by 30 minutes, from 20:00 to 20:30, and the extra reads join the same average. If the extended window still has fewer than 10 good reads, the market settles as paused.

Gap guard

Each read also takes the oracle price from 0x807. When the mark is further from the oracle than the market's bound in basis points, the read is counted as gapped and left out of the average. If more than a third of the window's reads are gapped, the market settles as paused: buyers get their premium back and writers their collateral.

The ticket to Elysium

finalize is payable. It sends the result through Elysium's inbox on HyperEVM as a retryable ticket that calls SettleBook.post. Elysium rewrites the sender to the sampler's aliased address, and SettleBook accepts posts from that address only. Each market and expiry settles once. If a ticket was sent with too little gas to land, anyone can call resend: it carries the same result, and SettleBook keeps the first copy that arrives.

If no ticket arrives

If nothing has settled seven days after expiry, redeem pays every buyer their premium back and writers reclaim the rest of their collateral. SettleBook refuses any ticket that arrives after that, so a refunded series stays refunded. Nobody else has to act.