Interactive: Peg Control
This is the peg controller described in Peg control — deadbands,
sign-asymmetric gains, dwell timers, slew limits, integrator leak, output clamps, and the
liquidity-authority gate, ported constant-for-constant from RateParControl.sol — running live
against an agent-based market: redemption arbitrageurs, mint-and-sell speculators, carry traders,
and scenario-driven shocks.
Pick a scenario and press play. Drag on any chart to scrub; hover for exact values. The narration line explains each phase as it happens.
Shareable versions
- PAR handoff, simplified: a focused explanation with no liquidity-authority detail.
- Collateral impairment + liquidity crisis: the full low-authority, dual-timer fallback story.
- More Visualizations: both animations and their X-ready previews.