0xavarek | 0536 Profile picture
May 10 16 tweets 8 min read
Why $ust's peg has everything to do with @CurveFinance's #3pool

A thread on $ust's collapse with @dicksonlai_ @GabrielGFoo @themlpx 🧵

@TheSpartanGroup @nansen_ai

#luna
1/ The story begins - believe it or not - with $DAI, and how it maintains its peg.

As a stablecoin backed by collateralized debt positions, the outstanding loans within DAI’s economy play an important role with regard to DAI’s ability to maintain its peg.
2/ When DAI is above peg, borrowers will be incentivized to take more loans with their collateral and sell DAI off on the market.

As a result, this increases DAI’s circulating supply, bringing DAI back to peg.

Vice versa.

Diagram by @dicksonlai_:
3/ However, if we were to observe from DAI’s price chart, it becomes pretty apparent that even after the release of Multi-Collateral DAI (DAI), DAI was still experiencing volatility that went beyond the levels of what a stablecoin should see.
4/
It was only after the deployment of the 3pool that we could start to see the volatility of DAI being managed more effectively.

The improvement was significant; DAI was able to consistently maintain its peg within a much tighter margin of deviation.
5/ From here, let's draw a hypothesis 1: DAI’s ability to maintain its peg as a stablecoin is very much heavily premised on the 3pool (and the PSM).

This is logical, for the deep liquidity that DAI enjoys with USDT and USDC via the 3pool definitely helps
6/ + the fact that Curve offers a highly efficient way to swap tokens at low slippage and fees is another factor that we cannot underestimate wrt to the maintenance of DAI’s peg.

In essence, DAI is directly pegging themselves to USDC and USDT via the 3pool
7/ Here's the link to $ust:

$frax and $ust are amongst 2 of the largest contributors of TVL to the 3pool, and both have pushed out significant bribes to incentivize deep liquidity in it.

The 3pool must count for something wrt their abilities to keep peg
8/ From this, let's draw a hypothesis 2: that most stablecoins (and certainly all algo ones) are only able to keep their pegs bc of their pegs to the 3pool.

me and @dicksonlai_ were never able to prove it, until today.
9/ before that, a caveat - many factors that have come tgt to cause this saga.

here's a non-exhaustive list by @Defi_Maestro:

- 3pool liquidity dip

- Anchor rates drop

- Usdd 30% yield

- Ust futures from ftx

- Lack of automation for LFG peg protection
10/ i am well aware of that, but i truly believe that #1 is the most crucial factor.

By some horrible luck, just as @stablekwon and #TFL were withdrawing 150m worth of $ust from the 3pool to prep for the 4pool, 84m of ust was bridged to eth by the attacker
11/ tfl then withdrew another 100m to lessen the imbalance (quoted from @Mudit_Gupta), but this ended up draining more liquidity from 3pool.

150 + 100 = 500m worth of LP from the 3pool, which is a staggering ~40% of their 3pool holdings, a v significant sum.
12/ tfl and do may/may not have known it at that point yet, but this severely weakened their ability to defend any attacks on their peg, and I guess the attacker knew that too.

here's a thread by @4484 on what happened next:
13/ with this significant amount of $ust withdrawn from the 3pool by #tfl and #dokwon, $ust's liquidity on Curve became very thin, creating an opportune moment for the attacker to strike.

And strike he did; the rest is history.

What can we learn from this?
14/ while many have been pushing for the emergence of truly decentralized stablecoins, that is very much still a holy grail of sorts that is extremely difficult to achieve.

the fact that this saga has proved me and @dicksonlai_'s hypothesis 2 reinforces that
15/ if most (if not all) extant stablecoins' pegs are only kept bc of their pegs to the 3pool, and by extension, USDC and USDT - then how decentralized can they really be?

this is something for all of us within this space to think about.

• • •

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

Keep Current with 0xavarek | 0536

0xavarek | 0536 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!

PDF

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!

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!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(