EL1Read will put the HyperCore mid inside the swap. The hook stays the same: only the adapter's source changes.Read the log

Channels and the adapter

Any hook can read HyperCore through the shared adapter, and anyone can list a pricing channel against a $LQDS stake.

HyperCoreAdapter

mid(market) returns the HyperCore mid, the basis, the HyperCore time and the post time. referenceOf(market) returns mid × basis as a sqrtPriceX96. Both are free views for any contract.

IChannel

interface IChannel {
  function quote(PoolKey calldata key, bool zeroForOne, uint160 sqrtPriceX96)
    external view returns (uint160 sqrtRefX96, uint64 updatedAt);
}
Hook
staticcall, 60,000 gas
→
Channel
returns a reference
→
Clamp
fee in [0.05%, 3%]
→
Revert or stale
0.30% fallback

Register a channel

Deploy a contract that implements IChannel, approve the minimum $LQDS stake to the registry and call register(impl, name). The author earns 5% of the gap part of every pool that runs on the channel, in HYPE, claimable from the fee router. A pool's channel is fixed for life. Until the team records $LQDS in the registry through the timelock, register reverts and nothing can be staked.

Pause and slash

The guardian can pause a dangerous channel at once; its pools fall back to the house channel. After a 72-hour public notice the timelock burns its whole stake. After EL1Read, anyone will be able to prove a fault onchain (a reference more than 2% from the EL1Read mid × basis): 90% of the stake is burned and 10% goes to the challenger. Exiting takes 7 days.