↪ dual-oracles
DualOracle contracts
Certain assets use DualOracles, which can switch between different price sources.
Code can be found on Github.
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
Last updated