Docs / Protocol
Keeper
The keeper is a scheduled job that runs every five minutes. Each round it:
- reads every active cover from the pool;
- fetches the holder's fills since the cover started (
userFillsByTime) and keeps the liquidation fills on the covered market and side; - for each liquidation, fetches 62 one-minute candles and applies the wick rule;
- files the claim with its evidence, settles claims whose window has passed and expires finished covers.
It also signs quotes on request: mark price, realized volatility and recovery rate per market, valid for 120 seconds. Its transactions use twice the base fee with no priority fee and skip a round if Elysium gas spikes. If it stops, holders can still file their own claims and every finished cover can be expired by anyone.