I'm sure someone else has explained this, but it is just so cool and I want to explain how this works.
So Curve is awesome for swaps between similar assets, right? The fact that they trade very close to each other is a key part about how Curve works, using it's custom swap invariant function.

That's step 1
Step 2 is that Synthetix is awesome for creating "synthetic assets" (aka synths) which are assets that trade like other assets, that are backed by another, entirely different asset. Basically, a plastic banana that I can buy and sell like a real banana.
Synthetix has a feature that lets you swap between any two synths with zero slippage and a flat fee. That's because it is simply converting the sythentic asset into another synthetic asset, the backing for the synth doesn't change it just uses a different price oracle now.
This is important. Absolutely no slippage, at any size

Swap $1m sUSD for $1m sBTC? flat 0.3% fee

Swap $10m sUSD for $10m sBTC? flat 0.3% fee

swap $100m sUSD for $100m sBTC? Well, there isn't that many synths in Curve, yet but you get the point. The only limit is the pool depth
Okay, so that's awesome. We have two building blocks:
1. Curve lets you swap like-assets with extremely low slippage and a low fee
2. Synthetix lets you convert synths to other synths, with no slippage and a low fee

What happens if we just... combine them?
So here's the flow:
1. I swap my "real asset" (e.g. USDC) for a "synthetic" one (e.g. sUSD)
2. I exchange one synthetic asset for another (e.g. sUSD -> sBTC)
3. I swap my new synthetic asset to a "real" asset again (e.g. wBTC)
"But, that's so much more complicated than swapping on another AMM!"

It is. It's not cheap either, at over 1m gas to execute. And to make matters worse, due to how a Synthetix swap works, you actually have to wait a few minutes between the swap, so it isn't even full atomic!
"It's not fully atomic! Why would I do this???"

The answer is capital efficiency. AMMs with a curve that allows trading assets that are dissimilar are inefficient with larger and larger swaps.

For example, a $10m USDC -> wBTC swap on Uniswap right now has >13% slippage!
Conversely, with this feature, a $10m USDC -> sUSD/sBTC -> wBTC swap has less than 1% slippage (you actually even get a boost right now, due to the balance of sBTC/wBTC pool)

Of course you would pick this option now!
There's lots of limitations to this, and it's really only efficient with large swaps (~$1m or more), but as Curve and Synthetix (and AMMs like Uniswap) grow, the range where this is profitable will change.

But on principle, this will be the best way to perform a high-value swap!
Why is that important?

I think as we have seen, gas fees are just going up and up and up. Optimism soft-launched their L2 today, but Ethereum's success means that block space will always be at a premium.

The gas costs will not be coming down as much as you'd think!
Instead, what we will see happen is that with the increase of cheap transactional capacity on L2, Ethereum will be at *more* of a premium (not less) as it will be used by high-valued settlement transactions and large capital movements (and exchanges, etc.)
So this is my prediction:
This more efficient means of large-value swaps will see a lot of use on base layer Ethereum, as gas prices continue to grow.
Hobbyist/frequent traders will move to Layer 2, where smaller value trades will be economically more efficient.
(Potentially) We will see these two boundaries blur using this building block: a popular, lower-value, high-frequency AMM operating on L2 will settle activity back to Ethereum, with large capital movements settling between these L2s using this new swap primitive.
This is the natural progression of things. The ecosystem will only get more complex as this year moves forward, and navigating from a purely synchronous/atomic environment to newer primitives that play with atomicity and/or asychnronous behaviors is the major DeFi story of 2021
I hope this is helpful to people. This is a really complex new feature from @CurveFinance, but one that unlocks something really awesome, and plays to it's strengths as a high-valued swap engine (and popular yield lego!)
Muting this, y'all animals too excited lol

• • •

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

Keep Current with I'm just a doggie boi

I'm just a doggie boi 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!

More from @fubuloubu

14 Jan
Whoa, this is actually kind of nuts

So this psuedo-cartel of US miners only processes "compliant" transactions, meaning that they use their hashrate to exclude transactions from countries on the US financial sanctions list

But they only have 8% hashrate, so what's the big deal?
Well, that's all good and fine. That means 92% of Bitcoin hashrate should, in theory, process the remaining transactions, because it is economically profitable to do so. This mining cartel even says it themselves, they take a 0.35% hit to profits to provide this service
This doesn't sound so bad at all. Bitcoin works as intended, it might take a little longer to mine your transaction, but one of the non-US mining pools will include it, eventually.

What's the big deal?
Read 12 tweets
23 Dec 20
This is excellent:
The EIP repo is seen as a place where EIPs are drafted and kept as records. The hard-fork coordination process now is a separate process that passes EIPs “into law.”

Excellent job @EthCatHerders!
Some background: past EIP-related "governance blowups" (such as ProgPoW) stemmed from a mis-use/mis-consideration of the EIP process by most. An EIP being moved to Accepted signaled to some that it was "official", where the reality is anything but.
By making this change to streamline the EIP process to Standardization-only, we remove the space for politics to derail important technical work in Ethereum. With this change, an EIP can move all the way to Final if it meets the technical requirements of the EIP process.
Read 12 tweets
29 Oct 20
Let's say you have a protocol token that earns dividends.

It earns $20m in fees per year (on average). Those fees are split evenly among it's holders.

Let's say there are 20k tokens. That means each token earns $1k per year (this is called earnings)

What should the price be?
Well, if you're naive about it, then the price could be $1k per token. That means if you held it for a year, it would effectively pay for itself. Almost no asset trades at a price to earnings ratio (P/E) of 1:1. No one is that conservative!

Typical P/E ratio is more like 5-30
Why is that? Well, the asset has underlying value above and beyond it's earnings potential, such as it's *potential* to keep increasing it's earnings potential, which makes it trade at a premium to the simple considerations of earnings.

So our example should trade at $15k or so!
Read 8 tweets
8 Oct 20
When you are investing in a token, you are *not* investing in the software it runs on.

Not in the technical community members who pour their energy into new creative ideas.

You are not investing in someone else, you are *asking* to join a community and build value for yourself.
The software? It's meaningless. Just bits and lost ether.

Technical community members can add a lot of value through their creativity, but that value ultimately doesn't matter without a community that cares enough to use it (and use it correctly).

A token isn't just a meme.
I mean, a lot of people treat it like this. They think smart people are going to make their bags moon, a lot of other people think they can make money betting against it.

This is the marketplace of ideas, made liquid. Buy and sell ideas, but ideas are meaningless without action.
Read 7 tweets
8 Oct 20
And sometimes you just need someone chad enough to stick themselves into that probe. Our job is to keep those brave souls as safe as possible while exploring the new frontiers of DeFi!

This is my personal design philosophy I bring when I contribute to yearn.
Me, watching our brave chadstronauts from my safe space
btw, "chad" is a state of being, not an identity
Read 4 tweets
7 Oct 20
I don't always generate GPG keys, but when I do it's in a coffeeshop using unsecured wifi
2017 me, setting up a new seed phrase:
- constructs electronic clean room
- puts phone in a hermetically sealed lockbox
- visually inspects hardware for tampering

2020 me, setting up a new seed phrase:
- in a coffee shop
- generated on phone
- yells the 24 random words out loud
Read 4 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

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

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!