How it works
1. Cover
The trader connects the wallet they trade with on Hyperliquid. Hyperliquid accounts are EVM addresses, so the same address exists on Elysium. The app reads open positions from the public clearinghouseState endpoint and fills in the coin, side, size, liquidation price and margin. The trader picks a term (24 hours or 7 days) and pays the premium in USDC. The cover records the holder, market, side, liquidation price, covered margin, start and end.
2. Liquidation
Positions stay on Hyperliquid, untouched. If HyperCore liquidates the account, the liquidation shows up in the account's fills: each fill carries a liquidation object with liquidatedUser, markPx and method, plus closedPnl, fee and a trade id tid.
3. Recovery
Soter then reads the next 60 one-minute candles of that market. If one of them closes back across the liquidation mark (above it for a long, below it for a short), the liquidation was a wick.
4. Claim and payout
The keeper posts the claim on Elysium with the evidence. The contract checks it against the cover. A two-hour dispute window opens; then anyone can call settle and the payout goes to the holder: the realized loss of the liquidation fills, up to the covered margin.
5. Underwriters
Every cover locks its full payout in the pool when it is bought. Premiums flow to the pool, minus the protocol share. Underwriters hold pool shares and withdraw free liquidity whenever they want after a 24-hour hold.