21 lines
644 B
Markdown
21 lines
644 B
Markdown
# Oracles (Non-Negotiable for PMM Pegged Systems)
|
|
|
|
## Minimum viable
|
|
|
|
- **USD tokens**: `P_oracle = 1.00` (with external sanity check)
|
|
- **EUR tokens**: **EURUSD** feed
|
|
- Optional: stablecoin health feeds (depeg detection)
|
|
|
|
## Requirements
|
|
|
|
- **Median of multiple sources** (or fallback hierarchy)
|
|
- **Heartbeat + staleness checks**
|
|
- **If oracle stale** → widen bands or pause active trades
|
|
|
|
## Policy
|
|
|
|
- Do not trade against a stale oracle; treat staleness as a risk trigger.
|
|
- Document fallback order (e.g. primary chainlink, secondary Pyth, tertiary internal).
|
|
|
|
Config and peg bands: [../config/peg-bands.json](../config/peg-bands.json).
|