Claims
Filing
- The keeper watches every active cover every five minutes. When the wick rule is met it calls
proposeClaim(coverId, data)with no bond. - The holder can file the same claim with a 25 USDC bond, which comes back when the claim pays, by calling
proposeClaimwith the evidence fields; the wick check and the SDK give every value.
The claim data is: liquidation time, liquidation mark, trade id, recovery candle time and close, payout and a hash of the full evidence JSON. The contract checks the data against the cover: timing, side, the 0.5% tolerance, the 60-minute window and payout at most the margin.
Dispute window
For two hours after filing, anyone can call dispute(claimId) with a 25 USDC bond. The owner resolves a dispute:
- claim upheld: the holder is paid, the disputer's bond goes to the pool;
- claim rejected: the disputer gets the bond back, a holder's filing bond goes to the pool, and the cover returns to active.
If a dispute is not resolved within 72 hours, anyone can call voidStale: the holder gets the premium back (net of the protocol share), both bonds are returned and the locked collateral is released.
Settlement
After the window, anyone can call settle(claimId). The keeper settles automatically. The payout is sent to the holder in the same transaction.
Expiry
A cover with no claim is released by expire(coverId) six hours after its end. Anyone can call it.