Glossary

Peg Stability Module (PSM)

A Peg Stability Module allows direct 1:1 swaps between a stablecoin and approved collateral assets to maintain price stability.

Key Takeaways

  • A Peg Stability Module (PSM) is a smart contract mechanism that allows users to swap between a decentralized stablecoin and an approved reserve asset at a fixed 1:1 exchange rate, creating a hard floor and ceiling for the stablecoin's price.
  • Pioneered by MakerDAO for DAI, the PSM dramatically improved peg stability but introduced a key tradeoff: heavy reliance on centralized stablecoins like USDC in the protocol's reserves.
  • PSMs represent one approach within a broader toolkit of peg mechanisms: they sacrifice some decentralization for tight peg accuracy, contrasting with purely algorithmic approaches that avoid centralized collateral but accept wider price deviations.

What Is a Peg Stability Module?

A Peg Stability Module (PSM) is a smart contract that enables direct, fixed-rate swaps between a decentralized stablecoin and one or more approved collateral assets. Unlike variable-rate exchanges on a DEX or AMM, a PSM always quotes a 1:1 price (minus a small fee), effectively creating a price band within which the stablecoin must trade.

The concept was introduced by MakerDAO in December 2020 through governance proposal MIP29. Before the PSM, DAI frequently traded above $1.00 during periods of high DeFi demand: users wanted DAI for yield farming, but generating new DAI required opening a Vault and locking volatile collateral. The PSM solved this by letting anyone mint DAI simply by depositing USDC at a fixed rate, dramatically increasing supply elasticity.

Today, PSMs exist in several protocols beyond Maker (now rebranded as Sky). The pattern has become a standard tool for any decentralized stablecoin that needs to maintain a tight peg while retaining some degree of decentralization in its broader collateral system.

How It Works

A PSM operates through two directional swap functions, each enforcing the fixed exchange rate:

  1. Sell collateral to the PSM (e.g., deposit USDC, receive DAI): a user sends an approved stablecoin like USDC to the PSM contract. The PSM mints DAI at a 1:1 rate and sends it to the user, minus a small "tin" fee.
  2. Buy collateral from the PSM (e.g., deposit DAI, receive USDC): a user sends DAI to the PSM contract. The PSM burns the DAI and returns USDC from its reserves at a 1:1 rate, minus a small "tout" fee.

The two swap directions create a price band. If DAI trades above $1.00 on the open market, arbitrageurs deposit USDC into the PSM, mint DAI at $1.00, and sell it for more than $1.00 on a DEX. This selling pressure pushes DAI back toward $1.00. If DAI trades below $1.00, arbitrageurs buy cheap DAI on the open market and redeem it for USDC through the PSM at $1.00, profiting from the spread. This buying pressure pushes DAI back up.

Fee Parameters

MakerDAO's PSM uses two fee parameters controlled by governance:

  • tin (toll in): the fee charged when depositing collateral to mint DAI. Historically set between 0% and 0.1%.
  • tout (toll out): the fee charged when redeeming DAI for collateral. Also historically set between 0% and 0.1%.

When both fees are set to 0%, the peg band narrows to an exact 1:1 rate. When fees are positive, the peg trades within a narrow band: for example, with a 0.1% tin and 0.1% tout, DAI would trade between approximately $0.999 and $1.001. Governance adjusts these fees to balance peg tightness against protocol revenue and reserve composition goals.

Debt Ceilings

Each PSM has a debt ceiling that limits how much DAI can be minted through that specific module. This prevents any single collateral type from dominating the reserve composition. MakerDAO set PSM debt ceilings in the billions of dollars: the USDC PSM alone held over $3 billion in reserves at its peak in early 2023. Governance can raise or lower these ceilings to manage the protocol's exposure to any particular asset.

Smart Contract Flow

The PSM contract interacts with Maker's core Vault system under the hood. When a user deposits USDC, the PSM opens a specialized Vault with a 100% collateral ratio and zero stability fee: no overcollateralization is required because the collateral is itself a dollar-pegged stablecoin. The simplified flow:

// Simplified PSM swap flow (Solidity-style pseudocode)

function sellGem(address usr, uint256 gemAmt) external {
    // 1. Transfer collateral (e.g., USDC) from user
    gem.transferFrom(msg.sender, address(this), gemAmt);

    // 2. Calculate DAI amount after tin fee
    uint256 daiAmt = gemAmt * (1 - tin);

    // 3. Mint DAI via internal Vault at 1:1 ratio
    vat.frob(ilk, address(this), daiAmt);

    // 4. Send DAI to user
    daiJoin.exit(usr, daiAmt);
}

function buyGem(address usr, uint256 gemAmt) external {
    // 1. Calculate DAI needed including tout fee
    uint256 daiAmt = gemAmt * (1 + tout);

    // 2. Pull DAI from user and burn it
    daiJoin.join(address(this), daiAmt);
    vat.frob(ilk, address(this), -daiAmt);

    // 3. Return collateral to user
    gem.transfer(usr, gemAmt);
}

Comparison with Other Peg Mechanisms

PSMs are one of several approaches to maintaining a stablecoin's peg. Each involves different tradeoffs between peg accuracy, decentralization, and capital efficiency:

MechanismPeg AccuracyDecentralizationCapital Efficiency
PSM (fixed-rate swap)Very tight (<0.1%)Low (relies on centralized collateral)High (1:1 ratio)
Overcollateralized VaultsModerate (1-3% bands)High (crypto-native collateral)Low (150%+ ratio)
Algorithmic rebalancingVariable (depends on market conditions)High (no external collateral)Very high (often undercollateralized)
Curve pool incentivesGood (low-fee AMM pools)High (decentralized liquidity)Moderate (LP capital required)

Purely algorithmic approaches avoid centralized collateral entirely but are vulnerable to death spirals under market stress: the collapse of UST in May 2022 demonstrated this risk. PSMs sit at the opposite end of the spectrum: extremely reliable peg maintenance at the cost of centralization exposure.

Why It Matters

PSMs transformed how decentralized stablecoins maintain their peg. Before MakerDAO introduced its USDC PSM, DAI regularly traded 2-5% above $1.00 during DeFi demand surges in mid-2020. After the PSM launched, DAI's peg stability improved dramatically: deviations typically remained well within 0.5% of $1.00. This reliability made DAI practical for payments, DeFi composability, and use as a unit of account.

The mechanism also matters as a case study in stablecoin design tradeoffs. The stablecoin trilemma suggests that no stablecoin can simultaneously achieve perfect peg stability, full decentralization, and capital efficiency. PSMs explicitly choose peg stability at the expense of decentralization: a pragmatic choice that sparked extensive debate within the Maker community and the broader DeFi ecosystem.

For protocols building on stablecoin infrastructure, understanding PSMs is essential. The comparison of peg mechanisms explains how different stablecoins balance these tradeoffs in practice. Platforms like Spark that facilitate stablecoin payments benefit from the peg reliability that PSMs provide: tighter pegs mean less slippage and more predictable settlement values.

Use Cases

Arbitrage-Driven Peg Maintenance

The primary use case is automated peg enforcement. When DAI deviates from $1.00 on secondary markets, arbitrageurs use the PSM to profit from the deviation. This process is self-correcting: the larger the deviation, the greater the arbitrage opportunity, and the faster the peg restores.

Large-Volume Stablecoin Swaps

PSMs allow large stablecoin-to-stablecoin swaps with zero slippage. Unlike AMM pools where large trades move the price, PSM swaps execute at a fixed rate regardless of size (up to the debt ceiling). This makes them attractive for institutional users and treasury operations that need to move millions between stablecoins without market impact.

Protocol Revenue

PSM fees generate revenue for the protocol. While individual fees are small (often 0-0.1%), the volume flowing through PSMs can be substantial. Governance can adjust tin and tout fees strategically: raising fees to discourage inflows of a particular collateral type, or lowering them to attract deposits when the protocol wants more of that asset.

Reserve Composition Management

PSMs give governance a lever to manage what assets back the stablecoin. By adjusting debt ceilings and fees across multiple PSMs (USDC, GUSD, USDP), the protocol can diversify its reserves across multiple issuers. If one issuer faces regulatory risk, governance can lower that PSM's ceiling and raise others.

Risks and Considerations

Centralization Exposure

The most significant criticism of PSMs is that they can make a supposedly decentralized stablecoin heavily dependent on centralized assets. At its peak, over 50% of DAI's backing came from USDC deposited through the PSM. This meant a USDC blacklist or depegging event could cascade into a DAI crisis: a concern that materialized briefly during the March 2023 USDC depeg event when Silicon Valley Bank collapsed.

MakerDAO's "Endgame" plan under the Sky rebrand explicitly aimed to reduce PSM-driven centralization by diversifying collateral toward real-world assets and adjusting PSM parameters. This reflects a broader tension: PSMs work precisely because they use trusted, stable collateral, but that trust comes with counterparty risk.

Regulatory Risk

PSMs create a direct link between decentralized protocols and regulated stablecoin issuers. If regulators restrict a collateral asset (forcing USDC to freeze addresses interacting with certain contracts, for example), the PSM becomes a transmission mechanism for regulatory pressure into decentralized systems. The stablecoin blacklist mechanism used by centralized issuers means PSM reserves could theoretically be frozen.

Depeg Contagion

If a collateral asset in the PSM depegs, the stablecoin using it inherits that risk. During the March 2023 USDC depeg, DAI briefly dropped to around $0.90 because the PSM held billions in USDC. The market priced in the possibility that USDC reserves might not be fully recoverable. Diversifying PSM collateral across multiple issuers mitigates but does not eliminate this risk.

Opportunity Cost

Assets sitting in a PSM earn no yield for the protocol unless governance deploys them into yield-generating strategies. Billions in USDC locked in a PSM represent significant capital that could otherwise earn Treasury bill yields. MakerDAO addressed this by investing PSM reserves into short-term Treasuries through real-world asset vaults, but this adds complexity and introduces traditional finance counterparty risk.

Governance Attack Surface

PSM parameters (fees, debt ceilings, approved collateral types) are controlled by governance token holders. A governance attack could manipulate PSM settings to drain reserves or destabilize the peg. Protocols mitigate this with time delays on parameter changes and executive vote safeguards.

PSM Implementations Beyond Maker

The PSM pattern has been adopted by other stablecoin protocols:

  • Angle Protocol implemented a PSM-like module for its agEUR stablecoin, allowing 1:1 swaps between agEUR and approved euro-denominated collateral to maintain the euro peg.
  • Frax Finance used an AMO (Algorithmic Market Operations) controller that functions similarly to a PSM, deploying idle USDC collateral into yield strategies while maintaining swap availability.
  • GHO from Aave uses facilitators that share conceptual overlap with PSMs: approved contracts that can mint GHO under specific conditions and debt ceilings.

Each implementation adapts the core PSM concept to its protocol's specific needs, but the fundamental tradeoff remains consistent: using stable, trusted collateral to enforce a tight peg at the cost of decentralization purity.

This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.