Price feed and guardians

Sable values HYPE at the mid of the HYPE book on HyperCore, read through Hyperliquid's public info API (l2Book) and carried to Elysium by a keeper. Nothing that moves money uses a price that is not usable.

Two-phase prices

  • The keeper proposes the mid with the HyperCore time of the book. The read must be at most 120 seconds old and newer than the last proposal.
  • A proposal waits 3 minutes. During that window any guardian (a separate key; at least 2 registered) can dispute it: it is dropped and the feed is suspended.
  • A move of more than 15 % from the last final price, and any proposal while suspended, needs a guardian's co-sign; the window then restarts so another guardian can still dispute. A co-signed price that becomes final lifts the suspension.
  • After the window an undisputed proposal becomes final; every market finalizes before it reads.

When a price is usable

  • its HyperCore read is at most 15 minutes old;
  • it is within 8 % of the Elysium v4 HYPE/USDC pool's 10-minute time-weighted average. The feed builds that average from its own pool observations (one at most every 30 seconds, on every proposal and finalize and by anyone through observe()), each moving at most 200 ticks per 30 seconds, so a single-block push of the pool barely moves it. The pool can only veto a price, never set one.

The guardians' rule

A proposal must lie inside the HyperCore one-minute HYPE candle of the minute it was read in, widened by 0.25 % on each side. Two guardian keys run that check every minute on the site's server; /guard/sable-guardian.mjs is the same check as one open file anyone can run, read-only without a key.

Keeper cadence and cost

The keeper runs every minute and proposes when nothing is pending and either 8 minutes have passed since the last final read or the mid moved 0.5 %. That is about 180 proposals a day in a calm market, at most one per window (480). Measured on an Elysium fork, a proposal costs about 134,000 gas with its transaction, so about 0.012 HYPE a day at the 0.5 gwei base fee, 0.032 HYPE at the most.

Who can do what

The keeper key can propose, nothing else: it cannot finalize early, edit a final price or touch any funds. Guardians can delay a price, never insert or alter one. The owner registers keepers and guardians; once the first price is final, every change waits 24 hours in a public queue (queueRole, then applyRole by anyone). The owner can lift a suspension after rotating a keeper. The read precompile that will let contracts read HyperCore directly on Elysium arrives with an ArbOS upgrade; the feed's rules stay the same until then.

LiquidationFees and $SABLE