Circuit breaker on price deviation
Stargate Finance's assessment for RD-F-057 — scored gray on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.
Evidence summary #
Circuit breaker on price deviation | Partial. FeeLibraryV07 has PRICE_DEPEG_THRESHOLD (150 bps) that switches the fee tier to Depeg state, disabling drift fees. This is a soft circuit breaker on fee behavior, NOT a bridge halt. Does not prevent token release. | FeeLibraryV07 `_getPriceDiffAndDeviationState()` returns PriceDeviationState.Depeg when deviation > 150bps; this affects fee calculation only. | YELLOW
Sources #
- Curator noteExtracted from 03-oracle-deps.md — RD-F-057; no URL citedretrieved 2026-04-28
Methodology #
Determine whether the protocol halts or reverts if the oracle-reported price deviates by more than X% from a reference within Y blocks.
See the full factor methodology and distribution across all protocols →