xVault Docs
Operations

Keeper and oracle operations

Job cadence, stale data limits, quote handling, and automated pause behavior.

The keeper is the operational core of xVault. It maintains fresh oracle data, scans for drift, executes rebalances, watches corporate actions, and prepares reward distribution epochs.

Core jobs

JobPurposeCadence
nav-pushFetch prices and multipliers, then write oracle snapshotsEvery 15s in market hours, 60s off-hours
drift-scanCompare current weights against target weightsEvery 60s
rebalance-execRequest xChange RFQs, validate, co-sign, and submitTriggered by drift
corp-action-watcherDetect upcoming actions that require pausingHourly
epoch-distributorPublish weekly reward distribution rootsWeekly

Freshness and fallback

  • Market-hours NAV should remain fresh within roughly 60 seconds.
  • Off-hours tolerances can be looser, but stale NAV should still block NAV-sensitive actions.
  • xStocks /v2/oracles is the primary price source.
  • /public/assets/{symbol}/price-data is only a fallback indicative quote.

Corporate-action response

Automatic pause behavior is required for:

  • spin-offs,
  • merger events,
  • redemption,
  • worthless removal,
  • rights distribution.

These are operationally sensitive and should not be handled as silent background changes.

On this page