# Oracle

The **Oracle** contract serves as a bridge for retrieving asset price data, using **Redstone** as the underlying data provider. It integrates with the Pool contract to deliver real-time asset prices, ensuring that all operations involving collateral and liquidation are calculated based on up-to-date market data.

**Key Features:**

1. **Price Retrieval with Redstone**: The Oracle fetches asset prices from Redstone's decentralized data providers. This enables the Pool contract to perform accurate calculations for borrow limits, collateral values, and liquidation thresholds.
2. **Stateless Design**: The Oracle does not persist any pricing information internally. It processes requests in real time, ensuring that price data is fresh and relevant.
3. **Permissionless Access**: The Oracle can be queried by any contract (such as Pool) to retrieve price data for various assets.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.affluent.org/factorial-legacy/oracle.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
