- Price Feed Keeper: Submits prices routinely for swaps.
- Position Keeper: Submits prices when executing a position.
- If the keeper price is 50,000 to $51,500.
- When opening a long position, the higher price ($51,500) is used.
- When closing a long position, the lower price ($50,000) is used.
- For short positions, the lower price is used when opening, and the higher price when closing.
- Price expiry: Keeper prices expire after five minutes, reverting toResilient Price Oracle prices if no update is received.
- Liquidation constraints: Liquidations can only occur if the Resilient Price Oracle price reaches the liquidation price for a position.
- Watcher nodes: These verify that keeper-submitted prices haven’t been tampered with, enforcing spreads if discrepancies are detected.
- Fallback Price Feeds: When a price feed from a connected oracle provider stales, the Resilient Price Oracle utilizes fallback feeds to ensure continuity of protocol operations and mitigate miss-pricing risks