InvaraINVARA CoreDOCS
Protocol

Oracle

How prices reach the vault, and the safety checks applied to them.

Pyth pull model#

INVARA Core reads prices from Pyth on Robinhood Chain (0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a). Pyth is a pull oracle: a price only lands on-chain when someone submits a signed update. Equity feeds have not been pushed on Robinhood Chain yet, so the first update creates them.

Safety checks#

CheckRuleEffect
FreshnessPrice published ≤ 15 seconds agoOlder prices revert
ConfidenceConfidence interval ≤ 0.5% of priceVolatile prices revert
SignPrice > 0Zero/negative revert
ScaleNormalized to 18 decimals—

Pushing a price#

Signed updates come from Pyth Hermes, which now requires an API key. The app proxies Hermes server-side (PYTH_API_KEY) so the key never reaches the browser, then submits the update through InvaraOracleAdapter.updatePriceFeeds or directly to Pyth from Oracle Status.