# &#x20;↪ dual-oracles

#### DualOracle contracts

Certain assets use DualOracles, which can switch between different price sources.

Code can be found on [Github](https://github.com/hyperlendx/hyperevm-oracle/blob/master/contracts/adapters/DualFallbackOracle.sol).

Primary source is used most of the time. If primary source data is stale (threshold defined per contract), the fallback source is used.

Market governance can also manually switch to an emergency price source.

***

Currently, they are used for:

* kHYPE market:
  * Primary source: RedStone Price Feed for kHYPE\_FUNDAMENTAL/USD
  * Fallback source: Chainlink HYPE/USD \* Chainlink KHYPE-HYPE Exchange Rate
  * Emergency source: Chainlink kHYPE/USD Market Rate

* wstHYPE market:
  * Primary source: RedStone Price Feed for HYPE/USD \* wstHYPE/HYPE Ratio
  * Fallback source: Chainlink HYPE/USD \* Chainlink wstHYPE-HYPE Exchange Rate
  * Emergency source: RedStone wstHYPE/USD Market Rate

***


---

# 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.hyperlend.finance/developer-documentation/core-pools/dual-oracles.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.
