> For the complete documentation index, see [llms.txt](https://docs.usdd.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.usdd.io/developers/oracle.md).

# Oracle

An oracle module is deployed for each collateral type, feeding it the price data for a corresponding collateral type to the `Vat`. Every oracle module contains three main contracts: `Median, OSM, Spot`.

### Procedure

1. Median computes a price from a list of supported price feeds.
2. OSM updates the current price and the next price according to the price from Median.
3. Spot reads the current price from OSM and updates `ilk.spot` in `vat`.

*USDD use Chainlink and WinkLink Data Feeds as its primary Oracles.*
