Ember Ledger Dispatch

DeFi

What an Oracle Price Can Tell a Protocol

A price feed publishes observations on a chain. Applications need to know the scope and freshness of the value they consume.

A feed is a measurement

A feed can represent an asset pair, a unit and a method of gathering data. Its output should be interpreted using those definitions. Problems can arise if two values use different quote currencies or one interface scales a number differently.

Observe the update policy

Feeds can update according to a time policy, a change threshold or other rules. A quiet period may legitimately produce fewer updates. Understanding that policy helps explain why a feed value can differ from a fast-moving exchange quote.

Read the application’s safeguards

A protocol chooses how to use the feed and what to do if a value is old or unavailable. Inspect the application’s public documentation rather than assuming that every integration applies the same check.

Sources