Stability Pools: earn RD + MOAI
The Stability Pool is the first line of defense against undercollateralized debt. You deposit RD, the protocol uses it to absorb liquidations, and you receive collateral (usually at a discount to oracle price), a share of borrow interest (in RD), and MOAI token emissions in return.
One Stability Pool per branch. The WETH branch has its own pool, the wstETH branch has its own pool, etc. You choose which to deposit into.
Overview
- You deposit RD into a branch Stability Pool
- Your RD deposit grows slowly, collecting fees from borrower interest.
- A liquidation hits the pool, the pool burns RD equal to the liquidated debt and receives the trove's collateral. Your deposit shrinks by your pro-rata share of the burned RD; your accumulated collateral gain grows by your pro-rata share of the seized collateral.
- The pool receives collateral worth up to 105% of the burned debt at par (the 5% liquidation penalty), after the liquidator's 0.5% collateral slice; any collateral above that cap goes back to the borrower. That spread is the depositor's economic upside.
- You also accrue MOAI emissions continuously, released by
SpIssuance.
In a normal market, the discounted collateral plus MOAI rewards can more than compensate for the burned RD. In an extreme price drop where troves fall well below MCR before being liquidated, gains can be smaller and occasionally negative.
What you should know before depositing
- You can't choose which liquidation hits you. Every liquidation in your branch hits the pool pro-rata.
- Your balance changes silently. Liquidations shrink your RD and grow your collateral gain; interest grows your RD. No tx required.
- Your collateral gain is in the branch's collateral token. Deposits to the WETH pool give you WETH gains; deposits to the wstETH pool give you wstETH gains.
- No more RD than your deposit can be burned. The entire deposit can be consumed, and the collateral received in exchange can be worth less than the RD that was burned.
- Deposits are capped per branch. Total deposits in a pool can't exceed the branch's total debt; a deposit that would exceed it reverts.
- Withdrawals have a short lockup. You can't withdraw RD for 1 day after your last deposit, and no one can withdraw RD while the branch has a trove below MCR waiting to be liquidated.
Depositing and withdrawing
You deposit RD with provideToSP and can withdraw part or all of it with withdrawFromSP (subject to the lockup and below-MCR check above); any deposit or withdrawal also pays out your accumulated collateral gain and MOAI rewards. To claim rewards without touching your deposit, withdraw zero. Before taking your deposit, the pool first tries to liquidate up to 10 troves it can fully absorb, so a new deposit can't capture gains that existing depositors could already cover.
The app checks the pool's remaining deposit capacity before submission and shows an input error if your amount is too large. The available room can change as debt and other deposits change, so review it again when submitting.
In the app's Rewards box, Claim rewards sends collateral and MOAI gains to your wallet without changing your RD deposit. If you also have an active trove on this branch and rewards to claim, a second action can claim and recycle through that trove: collateral gains are added to it, eligible newly borrowed RD is deposited back into the Stability Pool, and MOAI gains are staked. When you have only MOAI gains, it claims and stakes them in one transaction. These recycle actions require an active trove; without one, claim to your wallet and stake MOAI separately. Staking MOAI starts or restarts your MOAI stake lock.
Developer reference: Earning for the deposit and withdraw calls.
How rewards work
Each branch's Stability Pool has its own MOAI emission stream, drawn from the global SP issuance budget of 31.5M MOAI released over 48 months on the MOAI emission curve. It is split across pools by weight, each pool's weight being its branch's utilization target (WETH 20%, wstETH 30%, WBTC 20%, rETH 5%, weETH 5%, tBTC 5%, PAXG 15%). You earn MOAI in proportion to:
- How much RD you have in the pool.
- How long it's been there.
Your share is calculated whenever the pool's state is touched, so the math is exact.
Pool earns a dynamic share of branch interest
Beyond MOAI emissions and liquidation gains, the pool receives a slice of the branch's borrow interest, folded straight into your RD balance. How big that slice is depends on how full the pool is relative to its target (25% of branch debt, smoothed by a 72-hour EMA): when the pool is thin, the router sends more to pull deposits in; when it's over-supplied, it sends less. The share is bounded to 10%–60% at launch (the floor rises to 35% as MOAI emissions taper) and rests at a 50% bias near target. If the pool has no deposits, it receives nothing.
The full split, including the deadband and where the rest of the interest goes, is in Fees.
Moving collateral gain back into a trove
If you have an open trove on the same branch, you can route your collateral gain straight into it instead of receiving it — gas-efficient if you were going to top up the trove with the gain anyway. See Earning for the call.
When to use the Stability Pool
- You're long the collateral. Depositing on the WETH pool gives you collateral exposure to ETH at a discount on every liquidation. Net long bias.
- You want variable RD yield. A branch with a higher current borrow rate can route more interest into its Stability Pool, but realized yield also depends on pool size, liquidations, and controller allocation.
- You want MOAI exposure. SP deposits share 31.5M MOAI of emissions, the same amount as LP staking.
If you want pure RD exposure without Stability Pool liquidation risk, hold RD or use an external venue whose separate risks you understand.
Risks
- Price collapse during a liquidation cascade. If collateral drops fast enough that troves are liquidated below 100% collateralization, the pool's seized collateral can be worth less than the RD it burns.
- Branch shutdown. If your branch is shut down, MOAI emissions for that pool stop accruing and the branch stops earning interest. Gains stay claimable through
withdrawFromSP(0). Withdrawing RD still requires every trove on the branch to be at or above MCR. After an oracle-failure shutdown, liquidations are disabled, so any trove that was below MCR at the last good price keeps RD withdrawals blocked until shutdown redemptions remove it. See Collateral shutdown. - Collateral with weird semantics. Some collateral tokens have rebase or blacklist behavior that can interfere with SP accounting. See Risks.
Deep dive
- Liquidation paths: exactly what happens when a liquidation hits the pool.
- Borrower view: same event, other side.