Docs · The rate

Mechanism

The rate

Source

kHYPE's value in HYPE is set by Kinetiq's StakingAccountant on HyperEVM (0x9209648Ec9D448EF57116B73A2f081835643dc7A): kHYPEToHYPE(1e18). kHYPE on Elysium (0x248888D396A546A69A188f3Deb476964e581E9d0) is the bridged token; nothing on Elysium accrues it. Fixium reads the rate where it lives.

The HyperEVM lane

RateSnapshotter on HyperEVM (0x16fC094F35916ea27f1e20BD110467a5410810A7) reads, in one call, the rate, the HyperEVM block and timestamp, and HyperCore's HYPE and KNTQ spot prices (precompile 0x808, spot indexes 107 and 334). It sends them to Elysium as a retryable ticket through Elysium's Inbox on HyperEVM (0xce59f8B65ad41C9DAE4c07A0571a39824bD92cff). Elysium executes the ticket from the snapshotter's aliased address. The first delivery took 5 seconds.

snapshot() is open to anyone; the caller pays the ticket. Fixium's keeper sends one every hour and whenever the rate changes, after a guard check that the read is newer than the last delivered one and that no ticket is still in flight.

RateBook

RateBook (0x0a4f27A79D355dC0abD363A315c212eb0C4810E7) accepts values only from the aliased snapshotter. Each entry stores the raw rate, the highest rate seen so far, the HyperEVM block and time, the Elysium landing time and both prices. A ticket older than the last delivered one is rejected. The owner set the snapshotter once (setSnapshotter cannot be called again) and has no power over values.

indexRate() returns the highest rate delivered. That is the index SY reports, so it never decreases. The raw rates stay in the book.

Settlement at maturity

A maturity settles from the first snapshot read on HyperEVM at or after the maturity time: settle(expiry, id) checks that snapshotid has l1Time ≥ expiry and that snapshot id − 1 does not. Anyone can call it, so settlement never waits on us. The settlement index is the highest rate seen up to that snapshot. The YT contract picks it up on its next call or through settle().