Skip to main content

Arkiv schema

Status: recorder in progress (backend/internal/recorder). Fields below are planned (issue #32); update when recorder lands.

Common: market (BTC|ETH|HYPE|ZEC), ts (unix s).

EntityFieldsWritten
FundingRatemarket, ts, rateper funding interval
VaultDecisionmarket, ts, mode (HEDGED/FLAT), reason, CRE run refon mode decision
VaultSnapshotmarket, ts, NAV, idle USDC, spot size, perp sizeperiodic

Units: USDC 6dp, perp price 1e6, size 1e8. TODO: attribute keys / expiry / entity-key format once recorder merged.