Skip to main content

Oracles on Stellar

Two oracle contracts bring outside data on chain. Neither accepts a value from a single submitter.

Pool oracle: settlement rates​

RuleValue
OperatorsA registered set (2 on testnet); independent operators are planned
RoundOne per protection contract, opened after its end time
AgreementAt least 2 fresh submissions within 1% of each other; the agreed rate is their average
FreshnessA submission older than 15 minutes no longer counts
Cooldown5 minutes between one operator's submissions
After agreementThe rate is final and the contract can be settled by anyone

The currency pool checks these rules on the oracle before every settlement.

Rate oracle: interest-rate benchmarks​

RuleValue
BenchmarksSOFR, EFFR, €STR, Bank of England rate, and Ghanaian, Kenyan and Nigerian policy and interbank rates
FixingOne per benchmark and day, formed when the quorum submits exactly the same value
UnitsMillionths of a percent (3.87% = 3,870,000)
IndexA compounded index per benchmark, like the SOFR Index, used to settle interest-rate protection
FinalityOnce formed, a fixing never changes

The rate oracle is public: any Stellar contract can read a fixing or an index.