Skip to main content

Crate chio_link

Crate chio_link 

Source
Expand description

Oracle runtime for Chio cross-currency budget enforcement.

Reads price feeds (Chainlink, Pyth) behind a pluggable backend, caches and monitors them, applies circuit-breaker thresholds, and converts amounts across currencies to back budget enforcement with conversion evidence. Evidence leaves this crate unsigned (ExchangeRate::to_conversion_evidence sets oracle_public_key and signature to None); signing happens downstream.

Modules§

cache
chainlink
circuit_breaker
config
control
convert
monitor
pyth
sequencer

Structs§

ChioLinkOracle
ExchangeRate

Enums§

PriceOracleError

Traits§

OracleBackend
PriceOracle

Type Aliases§

OracleFuture