Arkiv risk attestations

Wallet-owned risk summaries written to Arkiv Rabdi, expiring 300 seconds after each write — 150 blocks at 2 seconds per block. A keeper reads them for discovery only; the contract recomputes the margin before any settlement moves collateral.

Keeper query

Keeper query — runnable on Rabdi 7794095
arkiv.schema = str('zeromargin.span_attestations') AND status = str('UNWIND_ELIGIBLE') AND marginRatioBps < i32(10000) ORDER BY $key ASC

span_attestations — 3 entities in the window

checking RabdiCACHE — entities from GET /api/arkiv/query in cache mode; the live writer replaces this feed with an access key.
portfoliostatusmargin ratioLP / shortnet IMequityttl
GV-01-OPEN
0x7fa3…c41d (demo burner)
active hedged250%$100,000 / $95,000$10,000$25,000T−38s
T−262s
UNWIND-01-SETTLED
0x7fa3…c41d (demo burner)
active hedged197%$100,000 / $95,000$10,000$19,700T−259s
T−41s
GV-04-WITHDRAWAL-GUARD
0x7fa3…c41d (demo burner)
unwind eligible72%$20,000 / $95,000$16,500$12,000T−291s
T−9s

schema fields: portfolioId str, trader addr, status str, marginRatioBps i32, notionals dec, equityUsdc dec, ttl ExpirationTime.fromMinutes(5). The amber tick marks 100% coverage; left of it, the book is UNWIND_ELIGIBLE.