NEAR - Sponsor Image NEAR - Confidential swaps across 35+ chains Friend & Sponsor Learn more
01:09:51 · 3 years ago
Podcast

Hasu & Hart on Oval & The Recapturing of Billions in DeFi Liquidations

The solution is complex, but necessary

Up next

All episodes

Inside the episode

Today on the show, we’re talking about Oval, a new DeFi primitive that Hart Lambur from UMA is introducing to the world of DeFi’s biggest lending markets. Billions of dollars have been liquidated from protocols like Aave, Compound, and MakerDAO over the years, and these liquidations have been extremely inefficiently priced, due to reasons! Reasons that we will discuss here on the show today.

Hasu also joins us on this conversation today to discuss the way that MEV share from Flashbots is a part of this conversation, and he helps illuminate what this means for DeFi going forward as a whole.


TIMESTAMPS

0:00 Intro

7:15 MEV & Oracle Foundations

11:19 Why Solving MEV is Important

21:16 High-Level Patterns

28:19 The Oval Mechanism

42:23 MEV Share Parameters

48:36 Decentralization of the MEV Share

54:30 Auction Length

56:08 Oval B/D Adoption

58:05 Uniswap v4

1:02:31 Oval Cut Upside

1:05:45 Future Questions to be Answered

1:08:42 Closing & Disclaimers


RESOURCES

What is SUAVE? FlashBots Phil Daian and Andrew Miller explain

https://youtu.be/j3ZM2ZdUWXU

Oval

https://uma.xyz/

https://twitter.com/UMAprotocol

Hart

https://twitter.com/hal2001

Hasu

https://twitter.com/hasufl

Transcript
00:04
David

Welcome to Bankless, where we explore the frontier of DeFi market structure and capital efficiency. Today on the show, we're talking about Oval, a new DeFi primitive that Heartlamber from Uma is introducing to the world of DeFi's biggest lending markets. Billions of dollars have been liquidated from protocols like Ave, Compound, and MakerDAO over the years, and these liquidations have been extremely inefficiently priced due to reasons. Reasons that we'll be discussed here on the show today. The long arc of DeFi has been one that trends towards capital efficiency, efficient price discovery, and ultimately better quality products for its users. This episode today discusses a new mechanism to further DeFi's maturity on this very important arc. Hazu also joins us on this conversation today to discuss the way that MEV share from Flashbots is a part of this conversation, as well as helping illuminate the further direction that DeFi is going forward as a whole with mechanisms like this. One more part to this conversation that I want to add here that was unsaid in the podcast. This conversation is about bringing mechanisms into DeFi that allows DeFi to leak less value to MEV bots, allowing DeFi customers and users to retain all of that value and also increasing the economic viability of the DeFi app layer on Ethereum and in crypto broadly. This is a transfer of value away from MEV arbitragers to DeFi apps. What this ultimately means is that this is a transfer of value away from ETH validators, the ultimate beneficiaries of MEV, and towards the users and customers of DeFi products on the Ethereum app layer. As long been known that the ultimate destination of the DeFi landscape, no matter what chain we're talking about, Ethereum, Cosmos, whatever, is that the value that MEV has will ultimately be retained by the source of that MEV, not by any downstream actors. The reason for this is obvious. If you're an application that creates MEV, you're also the entity that has the most optionality of directing where that MEV goes and its conditions for capture. So why wouldn't you just capture it for yourself and improve your bottom line and the quality of your product for your users? This early hypothesis has been stated by many in the MEV world, and it's the thing that the Cosmos app chain believers have been chanting about for a while now. And it's being shown to come true within the innovation being discussed today on the podcast. So enough of my table setting. Let's go ahead and get right into the episode with Hart Lamber from Uma and Hazu from Flashbots. But first, a moment to talk about some of these fantastic sponsors. Bankless Nation, I'm super excited to introduce you to Hart Lamber, the founder and CEO of UMA. Hart, welcome to the show.

02:35
Hart Lambur

Thanks, David. Thanks for having me.

02:36
David

Hart, we had you on two years ago, I think, to talk about bridges way back in the day. Uh it's good to have you back, my man.

02:44
Hart Lambur

Yeah, good to be back. Good to see you.

02:46
David

And a reoccurring guest on the podcast. Well, I guess both are reoccurring, but Hazu's been on a few more times than you, Hart. Hazu, uh, strategy lead at Flashbots, as well as just ecosystem researcher and crypto economic enthusiast, Hazu. Welcome back to the podcast.

02:59
Hart Lambur

Hey David, nice to meet you. Hi Hart. Don't think we've met yet on a podcast, but I'm looking forward to this.

03:04
Hart Lambur

I I like the uh crypto economic enthusiast uh moniker. That's a good one.

03:10
David

I think that's the right title for Hazu. I think that's the right title for most people that come on this podcast, but Hazu, especially.

03:14
Hart Lambur

That doesn't make it very special, David, you know?

03:19
David

The lead cryptoeconomic enthusiast that I know. My preferred.

03:25
David

Okay, guys, we're gonna get into a conversation that I think bankless listeners will be familiar with, longtime bankless listeners. Um, this is inside of the subject matter of MEV, uh maximally extractable value, minor extractable value, uh later rebranded to maximally since we no longer have miners in Ethereum. Uh, but we're talking about a specific kind of MEV, which has been dubbed uh Oracle extractable value. Uh so I think this just falls inside of the category of MEV, but it's uh around a certain uh set of how the MEV arises, which is through Oracles. Uh and this is going to be a conversation that I think talks about uh the way that applications on Ethereum produce MEV through Oracles, uh the sustainability of applications, the healthiness of the aggregate DeFi applications, uh, a lot of these different subject matters. So it's probably gonna be a decently technical episode, uh, but I think we can also make it uh pretty understandable for people who already know what MEV is. Um, Hart, can I ask you to maybe just set up the context of what we are talking about, the foundations for what's going on? Like, like I said, bankless listeners will know what MEV is, uh, but applying it in an Oracle um framing might be a little bit new for them. What is the landscape? What is the problem set that we are going to be addressing here on this episode today?

04:43
Hart Lambur

Yeah, absolutely. Um and we can make it concrete and then maybe generalize it a little bit more too. But um today, Oracle updates, and let's talk about like chain link updates. Chain link updates uh drop into the public mempool on Ethereum.

04:59
Hart Lambur

Chainlink

04:59
David

Yeah.

05:00
Hart Lambur

Price updates, correct. Chainlink price updates get dropped into the public mem pool in Ethereum, and then they get used by DeFi protocols.

05:09
Hart Lambur

And if a chain link price update triggers a liquidation, if that price update drops below a liquidation target on a uh Ave or compound position,

05:19
Hart Lambur

um that liquidation then

05:22
Hart Lambur

triggers a bunch of bunch of things, but basically collateral getting sold.

05:27
Hart Lambur

I mean uh

05:28
Hart Lambur

and it triggers MEV. It's it's not dissimilar from a user submitting a Uniswap trade with slippage.

05:36
Hart Lambur

Um, into the public mempool, which we all understand creates MEV and like creates a sandwich attack and creates other things where

05:45
Hart Lambur

searchers will construct transactions to extract the maximum value possible from uh that uniswap transaction.

05:54
Hart Lambur

Well, basically we have the same thing going on with chain link price updates, where the chain link price update looks very conceptually similar to an unprotected uh Uniswap uh transaction with slippage. And it creates MEV that gets leaked and ultimately captured by Ethereum validators.

06:13
David

And I believe that the amount of MEV that's captured from Ave compound liquidations can be quite large. I think this probably happens more. This amount of MEV capture is more when there's times of volatility and probably times of bull markets as well. And really, just to set this stay the stage here, we are talking about MEV. We're talking about MEV. This is MEV. It just uh we're talking about specifically MEV that happens as a result of.

06:39
David

Price oracle updates, which most of DeFi is chain link. Uh so like Ether is at $1,000, it drops down to very quickly $950. A bunch of DGMs get liquidated, but then there is the fight to be the liquidator of uh these positions. What uh Hart, is there like a some numbers or some measurements or metrics about like how valuable this MEV is, like how much value is being squeezed out of these applications?

07:06
Hart Lambur

Yeah, totally. I mean

07:08
Hart Lambur

estimating MEV uh is quite difficult. Um but within like Ave and Compound, we can have a very clear theoretical kind of bound. Um

07:17
Hart Lambur

and the way Ave and Compound work is when a chain link update price update comes in that causes liquidation, uh Ave and Compound then sell collateral at a discount.

07:27
Hart Lambur

And the reason why they sell that collateral at a discount is because they really want to make sure the collateral gets sold to keep the protocol healthy.

07:34
Hart Lambur

So that discount is between 5 and 10%, depending on the asset.

07:39
Hart Lambur

And if we look back over the history of Abe V2 and V3 and Compound V2 and V3 over the last about two years, we can see that $150 million ish of liquidation discounts have been sold. So there's been liquidations, a billion and a half dollars of liquidations that have caused uh discounts of about $150 million. And that money has been lost to MEV.

08:07
Hart Lambur

Um, if we zoom out and go a little bit further and look at kind of you kind of think of Ave and compound since their existence, I think that number is much bigger. It's like quarter million or quarter billion, 300 million uh uh type number uh that has been lost because of liquidations that are are really selling collateral too cheap.

08:26
David

Hazu, I want to get your perspective on what would happen if this uh were left unchecked. Uh Hart talked about um some parameters about collateral ether or maybe less liquid assets being sold at a discount. Maybe you could talk about um why it's being sold at a discount uh and what uh why that's important to the protocol. And then overall, uh if this version of MEV uh is left unchecked, Oracle extractable value, like uh what would happen into the future? Because we all want, you know, Ethereum, DeFi, any DeFi on any chain to be the world's global financial system. Uh, why do we have to solve this problem? Why is it why is it important?

09:03
Hart Lambur

Yeah, so to your to the uh the first part of your question. So why is it sold at a discount, I think. Um

09:11
Hart Lambur

Hart actually gave a very good explanation here. So when you want to sell or when you want to buy a token on Unisop and the token is quite volatile, then you don't exactly know what slippage to set, right? And so if you set a very tight slippage, then you risk not getting in the next block because maybe the price moves against you, right? And the same is true for a lending market. So if they want to sell a token now, they have this trade off between basically setting a higher slippage, maximizing the chance to

09:43
Hart Lambur

get into the next block, uh, or setting uh basically a lower slippage and risking that maybe the uh the price doesn't take place in the first block, maybe it takes for longer time, right? And so you have this.

09:55
David

So it's just a protective mechanism that they need to sell this collateral because they must not have bad debt.

10:02
Hart Lambur

Yeah, so I mean this is really a design choice by the protocol itself, I would say. So if you're on Unisop and trading shit coins, okay, so what's the worst that can happen if you don't get to buy this position now? Okay, you maybe incur some kind of opportunity cost. But the lending market, um uh you could argue has a much higher responsibility to that capital, right? So they uh manage the the money effectively of many different depositors, right? And so if they let someone get away with bad debt, then that must that has to bad debt has to be socialized somehow. So uh in the first tranche probably would go, in the first instance, it would probably go to the token holders.

10:42
Hart Lambur

of that project as a first line of defense. And if if that doesn't help, then at some point you have to socialize um the money on uh depositors effectively because there's nobody else there, right, in in crypto. You can't you don't have any legal recourse or anything like that. And so that's why traditionally

11:02
Hart Lambur

Uh lending markets have chosen to be very

11:05
Hart Lambur

rigid uh about how fast they want to liquidate in order to minimize the risk that they

11:13
Hart Lambur

internalize any of that bad debt either to their token holders or to

11:18
Hart Lambur

uh even to their depositors.

11:21
Hart Lambur

And um

11:24
Hart Lambur

I think that paradigm

11:27
Hart Lambur

I guess is changing a little bit. Um so I mean if you look if you look kind of uh at at the the slippage that, for example, a protocol like Aave or Compan has been quoting.

11:38
Hart Lambur

Five to ten percent is a lot, and it's more than maybe they need to. And so they tend to bleed a lot of money by doing that. And um

11:49
Hart Lambur

we've seen some protocols basically handle this problem by spinning up their own auction mechanisms.

11:55
Hart Lambur

Um, like Maker, for example. Makeer has um

12:00
Hart Lambur

I believe uh a reverse Dutch auction. So basically the the money that they uh the the price that they charge

12:08
Hart Lambur

um to liquidate this collateral basically starts low and then it increases every block. And and so this is at the opposite on opposite end of the spectrum, right? So where compound says uh I must liquidate this in one block, and so I'm willing to pay a lot for this, or I'm willing to accept a low price, you could also say on the other end. Uh Maker says, you know.

12:31
Hart Lambur

I'm fine. You know, what Make actually does is they only bring Oracle updates on chain with one hour delay.

12:39
Hart Lambur

So the Oracle update comes on chain, but it can only be used for liquidation after one hour. So they actually say, Hey borrowers, we're gonna give you a big fat warning.

12:49
Hart Lambur

Your position is underwater now, right now.

12:53
Hart Lambur

And if you like if you don't actually top it up within the hour, then we'll start liquidating you. But even then, they have this

13:01
Hart Lambur

increasing price auction where they give the

13:04
Hart Lambur

Borrower, even more time, right? Basically, to top it up. And sometimes

13:09
Hart Lambur

transactions take uh or like that takes longer to uh liquidate in Maker. So Maker is a protocol that's very borrower friendly.

13:17
Hart Lambur

And then

13:19
Hart Lambur

a protocol like RV or compound is much more lender friendly, I would say. And so you have these different sides of this of the spectrum. And it's really a design choice, you know, because they compete in the market and

David Hoffman

1490 posts

Co-owner at Bankless. Optimistic storyteller of frontier technology.

No Responses