
The index and the keeper
The cumulative index
post(feed, hour, rate):
require hour == lastHour + 1 // one per hour, in order, never twice
require hour * 3600 <= block.timestamp // the hour has ended
clamped = clamp(rate, -0.04%/h, +0.04%/h)
cumulative[hour] = cumulative[hour - 1] + clamped
anchor += clamp(avg(last 24 prints) - anchor, -0.0002%/h, +0.0002%/h)Because the index is a running sum, a position never needs per-hour bookkeeping: its floating leg between any two hours is one subtraction. The oracle stores the index for every hour, so any position can be valued at any past hour exactly.
The cap
A print beyond ±0.04% per hour (about 350% a year) is recorded at the cap. Over the 40 days of HYPE, BTC and ETH prints read on 26 November 2026, none came near it: the largest HYPE print was about 0.022% per hour, BTC and ETH stayed under 0.008%. The cap bounds what any single print can do to a position and to the pool. It is a rule of the product, like a cap and floor on a floating rate.
What the keeper can and cannot do
Today one keeper key held by the operator posts the prints. It reads Hyperliquid's fundingHistory every five minutes and posts each new hour for the three markets in one transaction.
- It can post one print per market per hour, only after that hour has ended, only in order.
- It cannot post a value beyond the cap, edit or delete a posted print, touch margins, LP deposits or fees, pause a market or change a parameter.
- It can be late. A late print pauses opens, closes and LP moves until it lands (see Freshness and freeze).
- A wrong value within the cap would be final on chain. Every print is public on Hyperliquid, and the app and
/api/fundingcompare each posted value withfundingHistory, hour by hour.
Liquidations and settlements are open to anyone; the keeper runs them too, after each print.
Cadence and cost
One transaction an hour posts the three markets. Measured on a fork of Elysium: about 159,000 gas for the three prints of one hour, so about 0.0019 HYPE a day at the 0.5 gwei base fee, with no priority fee. The cadence is the product's own: Hyperliquid pays hourly, so the index moves hourly. The keeper checks every five minutes and only sends when a new print exists or a position needs liquidating or settling.
The anchor
The pool's quotes start from an anchor that follows the average of the last 24 posted prints, moving at most 0.0002% per hour per print. At deploy it starts at the average of the previous 168 real prints. A slow anchor means a single spike barely moves quotes; the pool's exposure moves them faster (see The LP pool).