Liquidity Lu saysMakerDAO’s Peg Stability Module lets anyone swap USDC for DAI at 1:1 (minus a tiny fee) — pinning DAI to the dollar via instant arbitrage.
Algorithmic stables are hard; MakerDAO's Peg Stability Module uses a different trick. The PSM holds USDC as collateral and lets anyone swap USDC ↔ DAI at 1:1 minus a tiny fee (typically 0.1%). If DAI trades above $1.005 on the open market, arbs mint DAI from the PSM at $1.001 and sell, pushing the price down. If DAI trades below $0.995, arbs buy cheap DAI on market and redeem for USDC at $0.999.
The peg holds tightly as a result, at the cost of growing USDC reliance. The demo runs a swap each way through the PSM.
Power-ups you unlock
PSM swaps USDC ↔ DAI at 1:1 minus a tiny fee
Arbs keep DAI pinned to the dollar
Trades DAI premium for arbitrageur profit
Cost: growing centralized-collateral exposure
Inspired similar peg modules across DeFi
The Sandwich Bot attacks — common mistakes
Confusing PSM with classic Maker vault minting (collateralized debt)
Ignoring the centralization risk from USDC custodian
Assuming the PSM eliminates all peg risk (USDC depeg cascades)
Treating PSM as the whole peg story
Boss battleRun a $1000 swap through the PSM each way and compute the fee on each.