jonwu.eth Profile picture
May 9 β€’ 35 tweets β€’ 8 min read
An $18 billion stablecoin is losing its dollar peg with all the magical chaos of algorithmic stables, with a dash of Bitcoin systemic risk drama.

Here's everything you need to know.

The $UST Depeg Thread:

$UST is a dollar-pegged stablecoin that has depegged twice in the last few days, now hovering around $0.90 to the dollar.
Just a reminder on how $UST works:

You can always redeem $LUNA for $UST dollar-for-dollar, and vice versa.

If $LUNA is at $50, you can redeem it for 50 $UST.

Similarly you can redeem 50 $UST for 1 $LUNA.

It's worth noting you can always redeem 1 $UST for $1 worth of $LUNA, even if $UST is worth <$1.

It's meant to be a stabilizing mechanism:

If $UST is trading at $0.99, arbitrageurs can buy it and redeem it for $1 of $LUNA.
We all know Stablecoins Require Utilityβ„’ to maintain demand and defend their peg.

So where does $UST get utility?

Simple, Anchor Protocol.

Anchor Protocol is (nominally) a money market, but the important tl;dr is it pays you 19.5% to stake $UST.
A huge proportion of $UST's circulating supply is in Anchor.

Right now, it's only ~40%, but it's been as high as 70%+ historically.

So, why hold $UST?

Easy: because they're paying you 20% per year to hold it.
Two obvious questions:

1) if something is paying you 20% risk-free, why not just borrow a ton of money and make it pay you like, 100%+?

Oh uhm, that's exactly what Abracadabra / $MIM's degenbox did:

Degenbox and the rest of the Frog Nation DeFi ecosystem unwound in January, depegging $UST and sending $LUNA from $100 down to $46.

Sound kinda familiar?

Something something history may not repeat itself but it can rhyme.
2) How does one give out 20% in free money every year?

Well that's also easy, the LFG (Luna Foundation Guard), overseers of Terra's multi-billion dollar ecosystem fund.

We'll come back to that.
First we need to figure out what the $LUNA token does:

I'm not going to focus on what drives its fundamental value and focus instead narrative:

~Every $UST in circulation reduces the circulation of $LUNA~

The win scenario is every single $LUNA on earth gets burned for $UST.
You can see the basic appeal:

The more $UST, the less $LUNA.

Holders should want to diamond-hands $LUNA:

If there's unstoppable demand for $UST and you're the last $LUNA holder on earth, you have immense redemption power.

It's right on their site:
That's kind of why the $LUNA mcap < the $UST mcap is FUD.

It doesn't matter what the total implied value of $LUNA is.

What matters is the marginal value of each $LUNA that is redeemed for $UST, or vice versa, aka $LUNA's price.

But what's even MORE important is the directionality and stability of $LUNA's price.

It's a Big Motherfucking Problem if the average redemption price of $LUNA for $UST is high relative to $LUNA's current price.
Let me slow that one down:

- $LUNA price high
- $LUNA burned, many $UST minted
- $LUNA's price fall
- $UST redeemed for many $LUNA

πŸ‘‰ That is bad mmkay?
It's useful to illustrate using extremes.

Say the price of $LUNA is $1 billion.

Then someone could mint 1 billion $UST by burning a single $LUNA.

Then let's say the price of $LUNA falls to $1 for no good reason.

That person could redeem their UST for 1 billion $LUNA.
So suddenly--again, for no good reason at all--there's a shit-ton more $LUNA in circulation being dumped on the open market.

This is--in essence--what's happening today.
So now back to the Luna Foundation Guard:

$UST has the same dynamics as many other algo-stables, except in addition to the "algo" part they also have LFG.

In other words, UST is stabilized by:

1) Contracts.
2) The gigantic gravity well created by the size of Do Kwon's nuts.
Previously the LFG was in charge of the Anchor bootstrapping strategy:

Take treasury $LUNA, sell it, and fill up the Anchor Protocol Reserve (the big slush fund that pays $UST stakers 20%).

Every other L1 eco fund does shit like this, just less directly.

Don't @ me.
The bet?

- $UST burned for staking
- $LUNA price goes up
- Sell more $LUNA to fund the Protocol Reserve

And, longer term:

- $UST takes off as a widely-used stable before LFG runs out of money
- $LUNA goes to the moon
- Everyone happy

Hence this tweet:

This was all challenged in January when Degenbox collapsed.

That implosion took down a big push for $UST to be used in a 10-figure cross-chain ecosystem headed by Daniele Sesta.

That's when Jump, 3AC, and others piled into the $1 billion Luna OTC deal to buy Bitcoin.
The story there?

1) Get the Bitcoin gang on board (every cycle needs one crazy billionaire to go hard for the King)

2) Give redemptions a $UST -> $BTC offramp in addition to the existing $UST -> $LUNA one.

Now there's been a full weekend of gigantic, 9-figure moves market-selling $UST and pressuring the peg.

As with all algo stables, the downside cycle is the opposite of the upside:

- $UST unstaked and dumped
- $UST depegs due to downward pressure
- $UST holders redeem for $1 of $LUNA
- Dump $LUNA

What complicates things is all the Bitcoin in the treasury.
Recall WHEN the LFG was buying Bitcoin.

Remember the $1 billion OTC news?

That triggered a massive run-up in $LUNA, which allowed for tons of high-basis $UST minting.

Simultaneously, the LFG DCA'd into Bitcoin at an average price north of $40K.
Now, Bitcoin is being driven lower due to macro and (ironically) expectations that LFG will be forced Bitcoin sellers due to $UST peg pressure.

Any redemptions of $UST -> $BTC now will essentially be booked losses for LFG, when they could have just sat on stables instead.
So now what's the plan?

As of this morning, commit $1.5B to defending the $UST peg, collateralized against Bitcoin reserves:


The deeper the liquidity the harder it is for any one actor to "dig out" and move the price (even further) away from $1:

Liquidity, peg defense, market making?

That's why Jump Capital and 3AC are involved (they were part of the consortium that bought $1 billion of Luna OTC in February).

They're deep-pocketed, sophisticated traders willing to do whatever it takes to prevent a $UST death-spiral.
So what's next?

Friendly marketmakers go to work on deploying a piece of the $BTC treasury to market-buy $UST and keep the peg up.

Hope is there's more (falling-knife) $BTC collateral in LFG than there is bank-run pressure from people fudding $UST.
Possible outcomes:

1) The treasury gets drained, but $UST stabilizes.

For now, $BTC seems to have stopped dumping on liquidations and liquidation fears.
1a) The LFG also seems aware & intent on buying $BTC back at low basis.

There's a win where:

βœ… $BTC gets pressured to $30K
βœ… $UST peg restores
βœ… LFG buys back into $BTC at lower basis
"Sell" BTC, restore peg, buy BTC.


Better yet, $BTC somehow moons and we get a @feiprotocol situation where despite a difficult situation, the underlying collateral goes up in value and the protocol ends up fully collateralized.
And for completeness, since it would never happen:

2) Do Kwon and the LFG cease their $UST defense, annihilating Luna holders and allowing the $UST to settle at collateral value


$UST is 100 magic dollars backed by 20 bitcorns and 80 magic beans, but some people don't think it's worth 100 real dollars, so LFG is selling bitcorns to buy more magic dollars to convince people they're worth 100 real dollars, all so the magic bean holders don't get sad
Oh and follow me if you want to learn more about DeFi, scaling, and crypto privacy πŸ™πŸ½ appreciate chy’all

β€’ β€’ β€’

Missing some Tweet in this thread? You can try to force a refresh

Keep Current with jonwu.eth

jonwu.eth Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!


Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @jonwu_

Apr 29
No bullshit I think I just interviewed a North Korean hacker.

Terrifying, hilarious, and a reminder to be paranoid and triple-check your OpSec practices.

Here's how it went:

It starts with us (@aztecnetwork -- we're hiring!) getting an inbound application on @Greenhouse for "Bobby Sierra - Solidity Engineer."

After internal review the system auto-assigns me an interview, and I go through the usual non-technical pre-interview process.
Resume scan:

Name: Bobby Sierra
Applying for: Solidity Engineer
Location: Ontario
Language: English & some Chinese

Experience: F2pool, with a few DAO and NFT side-projects on his resume.

Remember this. It's relevant later.
Read 24 tweets
Apr 28
If DevConnect Amsterdam was any indication, the Ethereum developer community is more fired up than ever.

Here are 5 takeaways on what's coming for Ethereum:

1. The world needs to learn how to think in SNARKs.

ZK tech is still nascent, and brain power is laser focused on cryptographic breakthroughs.

Writing secure, custom zk circuits is hard.
Building great apps is hard.

There are very few brains that can do both well.
We still live in a public blockchain paradigm.

SNARK thinking has yet to reach tipping point awareness among the app developer community.

When it does, watch out.

The power of zk goes far beyond scaling, and gaming, identity, DAOs, and DeFi will be transformed.
Read 16 tweets
Apr 15
My favorite saying of all time is "The prize for winning the pie eating contest is more pie."

When we do things we don't want to do, it earns us more opportunities to do things we don't want to do.

People think you need discipline.

Let me make the argument for hedonism:
First of all, "the prize for winning the pie eating contest is more pie" evocative.

I love the imagery.

You can just imagine some guy burying his face in pie, grimace on his face, with a giant sign overhead saying:

"Big Prize for Winner of the Pie Eating Contest!"
The pie eating contest ends.

The fastest pie-eater smiles, cherry in his teeth, pie tins all around him.

He throws his hands up in elation.

He asks between uncomfortable burps:

"So, what did I get??"
Read 12 tweets
Apr 12
You might've heard of Ichi, a protocol best known for defending its token value with a "price wall."

Well, $ICHI is down -90% from all time highs after skyrocketing 6x in 2 months.

What happened??

Here's everything you need to know about the Fall of the Ichi Wall:

Ichi is supposed to be "currency for every community."

If you're a burgeoning protocol with a volatile native token, and you want to see token price number go up, you need to do two things:

1) Get people to buy your token
2) Get people to not sell your token
Ichi promised people-will-buy-your-token-and-never-sell-it-as-a-service via white-label stablecoins called oneTokens.

Users put in volatile token, and mint stables.

Think @MakerDAO but instead of major assets in, Dai out, it's: protocolToken in, oneTokens out.
Read 29 tweets
Mar 25
The math of zkRollups is pretty simple and only comprises three components:

- Fixed cost of posting a proof to the settlement chain
- # of transactions verified by that proof
- Variable cost of transaction call data

Here's how zkRollups will scale: Image
First off the simple equation:

Proof verification cost / txn per proof + call data cost per txn

= total txn cost

So how do we make it scale? Image
1) Lower the fixed cost of proof verification

There's a bit of an efficient frontier between huge proofs / many txns and small proofs / fewer txn.

Starks: 5 million gas / 10s of 1,000s of txn
Snarks: 100's of thousands of gas / thousands of txn
Read 12 tweets
Mar 23
DeFi legend @ARTHUR0X got hacked yesterday for $1.7m in Azukis and other NFTs.

This looks to be a specific targeted attack by repeat hackers Lazarus Group.

If it can happen to one of the all-time greats, it can happen to you and me.

Privacy + security best practices: Image
First off, a quick overview of the incident as presented by Arthur himself.

This is a sophisticated spearphishing / malware attack that specifically targeted Arthur from a spoofed e-mail that looked like one of his portfolio companies:

The key here:

Clicking a download link installs malware that modifies a local version of the M*tamask extension and then points Chrome to it.

It includes:
- Keystroke monitoring
- MM transaction listeners
- Ability to spoof fake transactions
Read 11 tweets

Did Thread Reader help you today?

Support us! We are indie developers!

This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!


0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy


3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!