RAI · interactive mechanism simulation

Vault owners mint RAI against ETH. An on-chain PID controller compares RAI's market price to its own floating redemption price and sets a redemption rate that nudges them back together — no dollar peg to defend. Edit the parameters and watch the control loop run.
Vault owners deposit ETH → mint RAI CDP vault (Safe) ratio: — Secondary market market price: $0.00 PID controller redemption rate: 0.0%/yr redemption price: $3.140 no fixed peg — target itself moves FLX backstop 0 FLX minted (auction) covers liquidation shortfall
RAI supply
0
Market price
$0.00
Redemption price
$3.140
ETH collateral locked
0 ETH
Collateralization ratio
Parameters — edit me
1.5
145%
1.0/s
0.30
Controls

Illustrative simulation. Mirrors the researched RAI mechanism (ETH-only CDP vaults, a P-controller-style redemption rate that moves the redemption price toward the market price, and an FLX backstop auction on liquidation shortfall) starting near RAI's real ~$3.14 (pi) launch reference — but ETH price, vault sizes, and timing are randomized for visualization, not live onchain data. Drag the sliders or trigger the ETH crash to see the control loop respond. Part of The Onchain Experiment Atlas.