Issue To Be Solved
Pause liquidations and rebalancing involving asset X automatically if no trustworthy price is available for asset X.
This is an important disaster prevention mechanism, i.e. a hard rule that FCM must always abide to:
If no trustworthy price is available for asset X, user positions (both collateral and debt) in asset X are not to be touched!
Suggested Solution
The Oracle should abort [..] if "the price seems weird".
Reasons to conclude that "the price seems weird":
- At least one of our price sources (including, perhaps, multiple off-chain oracles and multiple on-chain dexes) deviates by more than X% from the other price sources
- At least one of our price sources (or the median price itself) has changed by more than Y% in the last Z seconds
Further reading
slack thread where this is discussed https://flow-foundation.slack.com/archives/C08QF29F7TK/p1769540691604539 (in addition, this slack thread also discusses an independent governance mechanism for pausing liquidations, as described in issue #126)