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: https://t.co/WU8aDDsSu4
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.

More from All

॥ॐ॥
अस्य श्री गायत्री ध्यान श्लोक:
(gAyatri dhyAna shlOka)
• This shloka to meditate personified form of वेदमाता गायत्री was given by Bhagwaan Brahma to Sage yAgnavalkya (याज्ञवल्क्य).

• 14th shloka of गायत्री कवचम् which is taken from वशिष्ठ संहिता, goes as follows..


• मुक्ता-विद्रुम-हेम-नील धवलच्छायैर्मुखस्त्रीक्षणै:।
muktA vidruma hEma nIla dhavalachhAyaiH mukhaistrlkShaNaiH.

• युक्तामिन्दुकला-निबद्धमुकुटां तत्वार्थवर्णात्मिकाम्॥
yuktAmindukalA nibaddha makutAm tatvArtha varNAtmikam.

• गायत्रीं वरदाभयाङ्कुश कशां शुभ्रं कपालं गदाम्।
gAyatrIm vardAbhayANkusha kashAm shubhram kapAlam gadAm.

• शंखं चक्रमथारविन्दयुगलं हस्तैर्वहन्ती भजै॥
shankham chakramathArvinda yugalam hastairvahantIm bhajE.

This shloka describes the form of वेदमाता गायत्री.

• It says, "She has five faces which shine with the colours of a Pearl 'मुक्ता', Coral 'विद्रुम', Gold 'हेम्', Sapphire 'नील्', & a Diamond 'धवलम्'.

• These five faces are symbolic of the five primordial elements called पञ्चमहाभूत:' which makes up the entire existence.

• These are the elements of SPACE, FIRE, WIND, EARTH & WATER.

• All these five faces shine with three eyes 'त्रिक्षणै:'.
1. Mini Thread on Conflicts of Interest involving the authors of the Nature Toilet Paper:
https://t.co/VUYbsKGncx
Kristian G. Andersen
Andrew Rambaut
Ian Lipkin
Edward C. Holmes
Robert F. Garry

2. Thanks to @newboxer007 for forwarding the link to the research by an Australian in Taiwan (not on

3. K.Andersen didn't mention "competing interests"
Only Garry listed Zalgen Labs, which we will look at later.
In acknowledgements, Michael Farzan, Wellcome Trust, NIH, ERC & ARC are mentioned.
Author affiliations listed as usual.
Note the 328 Citations!
https://t.co/nmOeohM89Q


4. Kristian Andersen (1)
Andersen worked with USAMRIID & Fort Detrick scientists on research, with Robert Garry, Jens Kuhn & Sina Bavari among


5. Kristian Andersen (2)
Works at Scripps Research Institute, which WAS in serious financial trouble, haemorrhaging 20 million $ a year.
But just when the first virus cases were emerging, they received great news.
They issued a press release dated November 27, 2019:

You May Also Like

Tip from the Monkey
Pangolins, September 2019 and PLA are the key to this mystery
Stay Tuned!


1. Yang


2. A jacobin capuchin dangling a flagellin pangolin on a javelin while playing a mandolin and strangling a mannequin on a paladin's palanquin, said Saladin
More to come tomorrow!


3. Yigang Tong
https://t.co/CYtqYorhzH
Archived: https://t.co/ncz5ruwE2W


4. YT Interview
Some bats & pangolins carry viruses related with SARS-CoV-2, found in SE Asia and in Yunnan, & the pangolins carrying SARS-CoV-2 related viruses were smuggled from SE Asia, so there is a possibility that SARS-CoV-2 were coming from
Recently, the @CNIL issued a decision regarding the GDPR compliance of an unknown French adtech company named "Vectaury". It may seem like small fry, but the decision has potential wide-ranging impacts for Google, the IAB framework, and today's adtech. It's thread time! 👇

It's all in French, but if you're up for it you can read:
• Their blog post (lacks the most interesting details):
https://t.co/PHkDcOT1hy
• Their high-level legal decision: https://t.co/hwpiEvjodt
• The full notification: https://t.co/QQB7rfynha

I've read it so you needn't!

Vectaury was collecting geolocation data in order to create profiles (eg. people who often go to this or that type of shop) so as to power ad targeting. They operate through embedded SDKs and ad bidding, making them invisible to users.

The @CNIL notes that profiling based off of geolocation presents particular risks since it reveals people's movements and habits. As risky, the processing requires consent — this will be the heart of their assessment.

Interesting point: they justify the decision in part because of how many people COULD be targeted in this way (rather than how many have — though they note that too). Because it's on a phone, and many have phones, it is considered large-scale processing no matter what.