Sub topic 11
Algorithmic stablecoins and why they are fragile
This chapter assumes you know how redemption and arbitrage hold a peg, and how reserve-backed and crypto-backed designs differ. It builds on those ideas to explain why designs that replace backing with rules and incentives have failed so often.
What "algorithmic" means
An algorithmic stablecoin tries to hold its peg mainly through code that changes the token supply or the incentives to trade. It does not rely on a reserve of dollars or on overcollateralized crypto. The usual goal is a token worth 1 USD with no one holding 1 USD of assets per token.
The idea is appealing. There is no custodian, no bank account, and no locked collateral that ties up capital. The cost is that nothing outside the system stands behind the token. Its value depends on people continuing to believe the mechanism works.
"Algorithmic" is a spectrum, not a single category.
| Design | How it tries to hold the peg | Backing | Examples |
|---|---|---|---|
| Rebase | Changes every holder's balance so the price drifts toward target | None | Ampleforth |
| Seigniorage (two or three token) | Mints or burns a companion token to expand or shrink the stablecoin supply | The companion token's market value | Basis Cash, Terra's UST |
| Fractional | Part collateral, part algorithmic | Partial reserves plus a companion token | Frax in its early form |
Seigniorage is the profit from issuing money. In these systems, the "profit" from expanding supply goes to holders of the companion token.
The two-token mechanism
The best-known design is the one Terra used. It has two tokens:
- The stablecoin (UST), meant to trade at 1 USD.
- The companion token (LUNA), which floats freely and absorbs the system's gains and losses.
The protocol offers a fixed-value swap at the on-chain oracle price:
- Burn 1 UST and receive 1 USD worth of LUNA.
- Burn 1 USD worth of LUNA and receive 1 UST.
This works like the redemption arbitrage from earlier chapters, with one change. The "redeem" side pays in LUNA, not dollars.
Suppose UST trades at 0.98. An arbitrageur buys UST for 0.98, burns it, receives 1.00 worth of LUNA, and sells the LUNA. That earns about 0.02 per token, and the buying pressure lifts UST toward 1.00. The burn also shrinks UST supply, which helps.
If UST trades at 1.02, the swap runs the other way. Someone burns 1.00 worth of LUNA, receives 1 UST, and sells it for 1.02.
Both directions work when LUNA is valuable and people trust it. The arbitrage only works if the LUNA received can be sold for roughly its oracle value.
Why the mechanism is fragile
The backing is the token's own confidence
In a fiat-backed design, a dollar sits in an account whether or not anyone is optimistic. In a two-token design, the "backing" is LUNA's market value, and that value depends on demand for UST. If people want UST, LUNA is valuable. If they stop wanting it, LUNA loses value. This circularity is called reflexivity: the asset and its support rise and fall together.
The circularity shows up in a standard sanity check. In a healthy state, the market cap of LUNA exceeds the UST supply, so a full redemption is covered on paper. That coverage is measured in a token that is itself falling.
Redemption creates dilution
Redeeming UST for LUNA mints new LUNA. More supply with the same demand means a lower price. Arbitrageurs get paid in the very asset their own trade is pushing down, so each redemption makes the next one less profitable. Past a certain size, the redeemer receives less than 1 USD in value, because the price drops between the oracle quote and the sale.
You can see this in a small simulation. It is a toy model, not a model of Terra. It assumes LUNA's market cap shrinks by a fixed percentage each round as confidence leaves, and it lets holders redeem UST each round.
def simulate(luna_supply, luna_price, ust_supply,
redeem_per_round, cap_decay, rounds):
"""Toy death-spiral model for a two-token stablecoin."""
cap = luna_supply * luna_price
print(f"{'round':>5} {'LUNA supply':>12} {'LUNA price':>11} "
f"{'UST left':>9} {'USD per UST':>12}")
for r in range(1, rounds + 1):
redeemed = min(redeem_per_round, ust_supply)
if redeemed == 0:
break
minted = redeemed / luna_price # oracle price before the sale
luna_supply += minted
ust_supply -= redeemed
cap *= (1 - cap_decay) # confidence leaves the market
luna_price = cap / luna_supply # more supply, lower cap
received = minted * luna_price / redeemed
print(f"{r:>5} {luna_supply:>12,.1f} {luna_price:>11.3f} "
f"{ust_supply:>9,.0f} {received:>12.3f}")
simulate(luna_supply=100.0, luna_price=10.0, ust_supply=400.0,
redeem_per_round=150.0, cap_decay=0.30, rounds=4)Run it and read the last column. It shows how many dollars a redeemer actually receives per UST burned. In every round it is below 1, and it gets worse as the price falls and supply grows. Holders who understand this have a reason to leave before everyone else does.
A bank-run structure with no lender of last resort
A fiat-backed issuer facing heavy redemptions can sell Treasury bills. A two-token system has no outside assets to sell. Its only response to a rush for the exit is to mint more of the token that is falling. The faster people leave, the weaker the remaining claim becomes, so the incentive is to be first.
Demand was often subsidized
Many algorithmic designs attract holders with yield that the protocol pays out of its own token emissions. Terra's Anchor protocol offered about 20% on UST deposits. That rate was high enough to pull in large deposits, and it was not covered by real earnings. When the yield is the main reason to hold the token, the demand disappears as soon as confidence in the yield does.
Historical cases
- Basis Cash (2020 to 2021). A seigniorage design modeled on the earlier Basis project. Its price spent long periods below 1 USD, and the expansion mechanism had no good way to restore it. Demand faded and it never recovered.
- Iron Finance (June 2021). A partially collateralized design with a token called TITAN. A rush of redemptions minted large amounts of TITAN, and its price fell to nearly zero within a day. The stablecoin (IRON) lost its peg.
- Terra UST (May 2022). UST fell below 1 USD after large withdrawals and sales. Redemptions minted LUNA at an accelerating rate, and LUNA supply grew from hundreds of millions of tokens to trillions within days. The price of both tokens collapsed to nearly zero, and tens of billions of dollars in market value were erased. A bitcoin reserve held by an affiliated foundation was spent trying to defend the peg and did not stop the run.
A rebase design like Ampleforth fails differently. It does not collapse in a spiral, but it also does not give holders a stable balance of value. Your token count changes while the price oscillates around the target, so it works poorly as a unit of account or a payment.
Common errors when evaluating these designs
- Counting the companion token as collateral. Backing that is worth 1.5 USD in a calm market may be worth almost nothing in a run. Judge coverage by assets that don't depend on the stablecoin's own success.
- Treating a long run near 1.00 as evidence of stability. A peg that holds in good conditions says little about behavior under stress. These designs tend to look healthy right up to the failure.
- Assuming arbitrage is guaranteed. Arbitrage only pulls the price back if the redemption asset keeps its value while the trade is executed.
- Ignoring where the yield comes from. If the return is paid in newly issued tokens or by the protocol's own treasury, it is a subsidy, and it ends when the subsidy does.
- Confusing partial backing with full backing. A fractional design is only as strong as the backing share, and the algorithmic remainder carries the fragility described above.
What survivors changed
Projects that lasted tended to move toward real collateral. Frax began as a fractional design and later shifted to full collateralization backed by assets such as dollar-equivalent reserves. The common lesson is that an algorithm can adjust incentives, but it cannot create value from nothing. A system with no external backing has to find a buyer for its losses, and when confidence drops there is none.
Key points
- Algorithmic stablecoins rely on supply rules and incentives, not on external assets.
- Two-token designs let users swap the stablecoin for 1 USD of a companion token, which makes arbitrage depend on that token's price.
- Redemptions mint more companion tokens, so selling pressure feeds on itself.
- The failures of Basis Cash, Iron Finance and Terra UST share the same shape: weakening confidence, rising supply, a falling companion token, and a broken peg.
- Evaluate backing by what is left after the stablecoin's own token is excluded.
Exercise
In the toy simulation, change cap_decay from 0.30 to 0.0 so that LUNA's market cap stays constant while redemptions continue. Does a redeemer still receive less than 1 USD per UST? Explain what this shows about where the loss in the spiral comes from.
Show answer
Yes, still slightly less than 1 USD in later rounds, but much closer to it. With a constant market cap, the only loss comes from dilution: new LUNA is minted at the old price, then the price falls to cap divided by the larger supply, so the redeemer receives somewhat less than the oracle value. In round 1, for example, 15 LUNA are minted at price 10 and the new price is 1000 / 115, about 8.70, so the redeemer receives about 130.4 USD for 150 UST, or roughly 0.87 per UST. This shows that dilution alone hurts redeemers, and that a falling market cap (the loss of confidence) makes it much worse. The spiral needs both effects.
Exercise
A protocol claims that its stablecoin is "fully backed" because the market cap of its companion token is 3 times the stablecoin supply. Give two reasons this claim is weaker than the reserve coverage check for a fiat-backed coin.
Show answer
First, the backing is the protocol's own token, so its value depends on confidence in the stablecoin. If holders lose trust, the backing falls at the same moment it is needed (reflexivity). Second, market cap is not the amount that can be sold. Redemptions mint new companion tokens, and selling them pushes the price down, so holders cannot realize the quoted value. A fiat-backed reserve of cash and Treasury bills keeps its value independently of the token's popularity and can be sold with little price impact.