It's ETHCC time, the Ethereum Community Conference where groundbreaking announcements are made. And ahead of the conference, Uniswap Labs has already released their latest protocol, Uniswap X, a game-changing addition to the Uniswap ecosystem. Uniswap X is the missing piece that makes Uniswap the ultimate destination for token swappers.
In this episode, we have Hayden Adams, the creator of Uniswap, revealing the ins and outs of Uniswap X. This protocol ensures competitive order execution in DeFi, safeguarding swappers from MEV extractors, arbitrageurs, and front runners, so that everyday users can secure the best possible deals.
Discover how Uniswap X employs a Dutch auction to maximize returns, while reducing bridge risks and enhancing efficiency in DeFi trading.
------ 🚀 Join Ryan & David at Permissionless in September. Bankless Citizens get 30% off. 🚀 https://bankless.cc/GoToPermissionless
------ BANKLESS SPONSOR TOOLS:
🐙KRAKEN | MOST-TRUSTED CRYPTO EXCHANGE
🦊METAMASK PORTFOLIO | TRACK & MANAGE YOUR WEB3 EVERYTHING
⚖️ ARBITRUM | SCALING ETHEREUM
🛞MANTLE | MODULAR LAYER 2 NETWORK
👾POLYGON | VALUE LAYER OF THE INTERNET https://polygon.technology/roadmap
------
Timestamps
0:00 Intro 4:30 Uniswap is Shipping 7:30 Decentralizing 10:25 Competitive Marketplaces 14:50 What’s New in UniswapX? 19:30 Value to the Users 23:08 What is Uniswap Now? 26:14 Formalizing New Players 30:55 Pushing the Ecosystem 36:00 How UniswapX Works 42:30 User Preferences 48:30 Changing MEV 52:45 Cross-Chain Swapping 1:00:00 Bridge Difficulties 1:05:45 Harnessing Complexity 1:09:13 The Beta Launch 1:14:15 More on the Way
----- Resources
Hayden Adams: https://twitter.com/haydenzadams?s=20
UniswapX: https://twitter.com/Uniswap/status/1680955621343129600?s=20
------
Not financial or tax advice. This channel is strictly educational and is not investment advice or a solicitation to buy or sell any assets or to make any financial decisions. This video is not tax advice. Talk to your accountant. Do your own research.
Disclosure. From time-to-time I may add links in this newsletter to products I use. I may receive commission if you make a purchase through one of these links. Additionally, the Bankless writers hold crypto assets. See our investment disclosures here: https://www.bankless.com/disclosures
No summary for this episode yet.
When I think about decentralized finance, and what we're trying to achieve, we can't just iterate in our small world. We have to innovate and push beyond it. I'm extremely bullish AMM's as a market structure, but I think that there are also other market structures that could exist in the future, and then I think we also want to discover them and have them be part of the Uniswap ecosystem. Bienvenue, a bankless nation. It is that time of year again, ETHCC, the Ethereum community conference in Paris, France. All the teams, all the projects, all the protocols, save some of their biggest announcements for ETHCC, except for the ones saving it for permissionless, of course.
You might remember last year, ETHCC was marked by the time in which three teams all had the first ZK EVM. Yeah, that was a year ago at ETHCC. And today, the day I'm recording this, sent Sunday, the day before ETHCC begins. We already have a massive release out of Uniswap Labs, a brand new protocol called UniswapX, a new half of Uniswap that complements the rest of the Uniswap protocol, the YIN to the Yang of UniswapX V1 through 4. Something brand new that fills in the picture of the Uniswap project. Seriously, the best way to describe this is that it's the other half of Uniswap. It's the half of Uniswap that is meant to make Uniswap the best place for swappers to swap tokens.
Today on the show, we have Hayden Adams. The day before he gives his ETHCC main stage talk, releasing UniswapX into the wild. What is UniswapX? I'm glad you asked. UniswapX is a protocol for competitive order execution in DeFi, is a protocol that exists on top of Uniswap's one through four, as well as all the other liquidity sources in DeFi, that ensures that the market produces the best possible order execution for anyone looking to swap tokens using UniswapX. The idea behind UniswapX is that it maximally protects swappers. A head of MEV extractors, a head of arbitrageers, a head of front runners, to ensure that the average Joe, who just wants to swap some tokens, gets the best possible a deal that the market will allow for.
In this episode with Hayden, we go under the hood of UniswapX. What it is, how it works, why it's needed. So you'll learn about UniswapX and how it uses a Dutch auction to maximize swap our returns. How this Dutch auction mechanism also ensures that MEV is maximally retained by swappers. Also how UniswapX massively reduces bridge risk and almost entirely abstracts away bridging altogether, freeing up capital to not have to be stuck inside of bridges where it's vulnerable. And also how UniswapX formalizes a new kind of player in the game of making trading in DeFi maximally efficient. As a disclosure, of course, Uniswap is a sponsor of bankless and bankless also does hold some uni tokens, which you can see all the details of, as well as all of our other disclosures at bankless.
com slash disclosures. So let's go and get talking to Hayden Adams all about this new UniswapX protocol. But first, we're gonna talk about our preferred centralized exchange for crypto in 2023, Crackin. Because you gotta get your fiat boomer bucks into the world of crypto somehow. So use Crackin, again, our preferred exchange in 2023. If you do not have an account with Crackin, consider clicking the link in the show notes to sign up with one today. Crackin Pro has easily become the best crypto trading platform in the industry. The place I use to check the charts and the crypto prices, even when I'm not looking to place a trade.
On Crackin Pro, you'll have access to advanced charting tools, real-time market data, and lightning fast trade execution. All inside, there's spiffy new modular interface. Crackin's new customizable modular layout lets you tailor your trading experience to suit your needs. Pick and choose your favorite modules and place them anywhere you want in your screen. With Crackin Pro, you have that power. Whether you are a seasoned pro or just starting out, join thousands of traders who trust Crackin Pro for their crypto trading needs. Visit pro.crackin.com to get started today. Introducing Polygon 2.0, the value layer for the internet.
For too long, the limitations of blockchains have held back app development and stifled user adoption. The internet allows anyone to create an exchange information. What's missing is a value layer that lets anyone exchange, store, and program value. That's where Polygon 2.0 comes in. Polygon Labs has unveiled a series of innovations that will radically alter the Polygon ecosystem and Web3 as a whole. By leveraging groundbreaking ZK innovations, such as Polygon ZK EVM, the next iteration of the best-in-class plonky-2 proving system, and a first of its kind, ZK-powered interoperability layer, Polygon 2.
0 will give users and devs unlimited scalability and unified liquidity. Right now, there is a Polygon Improvement proposal regarding a potential ZK-powered upgrade of Polygon Proof of Stake. If approved, Polygon Proof of Stake would become a layer to ZK EVM Villadium. So make your voice heard on this proposal by joining the Polygon Discord today. You have a chance to help the Polygon community give the internet the value layer it deserves. Bonjour, Bankless Nation. It is the Sunday before ETC, and I'm here with Hayden Adams, who has yet another announcement out of the Uniswap ecosystem. Hayden, what's going on, man?
How you doing? Well, you're great to be here. First time in Paris, and first time at ETC. But yeah, you know, you know, you swap, we are keep cranking out the hits, you know? Been pretty busy, hard at work. And you know, most recently we announced the Uniswap P4, which is new version of the Uniswap Protocol, and you know, currently being built in public. And it, you know, basically makes it easier for, you know, people to create customized liquidity pools. We talked about this last time, hooks, and you know, what you start to see is there is this thing called the routing problem. And you know, as AMMs, you know, get more flexible and basically what happens is routing gets harder over time.
And routing was already actually pretty hard. So today we have hundreds of thousands of tokens. We have four versions of the protocol. We have multiple chains. We have, you know, other liquidity sources. And then you also start to think about things like MEV and, you know, trade-offs between slippage and latency and, you know, best execution. And it starts to get really complicated. And definitely the, you know, with Uniswap V4, and hooks, it actually gets even, you know, one step more complicated. Right. And, you know, traditionally today we've had a, we have a, our current like open source, we call it the auto router, which optimizes routing across Uniswap V3, V2.
And, you know, what we've been working on today, I guess, a long build up is what we call Uniswap X, which is a Dutch auction based protocol for routing and aggregating liquidity. And, you know, we think it's really powerful and we think it will help provide, it basically, you know, one, you know, improved prices, but also has a bunch of UX benefits, allows for gas-free trading, you know, no slippage on field transactions. It starts to internalize, you know, some MEV and provides a bunch of other cool features. I don't know, maybe I don't know if I say the next, the other big one. Well, we'll get to every single bit here.
And for the bankless listeners out there that aren't familiar, each CC is the place where you announce things, is where announcements comes to be. And like I said, this is the Sunday before. So we're going to be seeing a slew of announcements coming out and we're getting the first one here with Uniswap X, which is this new thing. This is the thing, the Uniswap is announcing this thing called Uniswap X. But I want to actually set more of the stage. And you did a good job, but I want to make sure that we are talking about the problem being addressed here. Uniswap is cool because every single token gets its own exchange, it gets its own pool.
Same thing with Uniswap V2, V3 made it even more complex, if you will, with this concentrated liquidity. And then when we had you on not too long ago, like four weeks ago or something about Uniswap V4, that whole thing, a Uniswap V4 was even more expressivity in Uniswap pools, more complexity. And the big takeaway, I called it Uniswap's hook-centric roadmap to go in parallel with Ethereum's roll-up-centric roadmap, where Ethereum's doing this thing, where it's pushing complexity to the edges. It's like, hey, roll-ups, you do all the execution stuff, and we will just settle. And Uniswap's kind of doing something similar with its hooks in Uniswap V4.
It's, hey, there's a world of expressivity and features and different ways of constructing a pool that we want to enable Uniswap pool builders, AMMs, to be able to build. And what you're, I think you're leading up to, is like, that's all the great. We have as much expressivity as we need in Uniswap pools, except we're still left with a bunch of complexity, even though it's been pushed to the margins, and Uniswap as a base is simple, the complexity still exists. There's so many pools. Now pools are different. There are different standards of pools. And so Uniswap X is a solution to harness all of that complexity, would you say?
Yeah, and I'd say also, when I was on last time, we talked about different ways of achieving decentralization. And there's the most pure form of decentralization of automation, and you should automate, well, you can automate with immutable smart contracts. And then the next level of achieving decentralization, and we talked about this more in the lens of governance, but the next level is just like incentivization and markets. And if you have a competitive market structure where people are incentivized to do what they should do, then that's more decentralized than something that needs to be governed, which is the third tier.
And for that, you achieve that through just greater distribution of governance rights. And so what we're talking about here is taking, we've already talked about this in the context of the protocol, which is highly highly decentralized. And what we're trying to do is do that for the routing problem, which is, it's people tend to think about like AMMs as both swapping and routing as well as liquidity provision, all bundled together. Routing, swapping, and liquidity- Yeah, already different things. But like, or whilst swapping, how do you route the swaps through liquidity? But people think of it as like, OK, you have the AMM and you try to find the best price to it.
But I think you can start to unbundle them a bit, right? Because today most interfaces have different strategies for how they route through pools, right? And there's various aggregators, and they're trying to find every possible liquidity source. There's the Uniswap UI, which today basically just has like, tries to discover across Uniswap pools. And what we're trying to do here with Uniswap X is create a competitive marketplace for routing. It's almost a way of like, achieving more efficiency through decentralization, like the more people that can participate in finding the best routes, discovering the best routes, discovering the best pools, the better, discovering all the different liquidity, the better prices you can get in the long run.
If you can create a competitive marketplace. And so what we're trying to do with Uniswap X is create a competitive marketplace for routing across liquidity. And that liquidity can be off-chain, but yeah, that's essentially what we're trying to do here. Creating a competitive marketplace for routing. So with this Uniswap, even it's early as days in V1, was an explosion of pools. The cool thing about Uniswap is you can list any token. And that only got furthered with Uniswap V2, V3, and V4. Now we have pools all over the place. And so the routing problem, maybe to define the routing is that with all of these pools and all these different sources of liquidity, getting the best price for your trade is a computational problem because there's so many pools out there.
And so I think what you're trying to do with Uniswap X, a marketplace for competitive order routing, is you're just giving that up to the market and saying, hey, market, instead of this one, instead of the Uniswap router being the thing that manages all of that complexity, you're just giving it up to the marketplace and allowing routers to come in and service that role to make sure that traders and swappers get the best liquidity, get the best offer. Yes, and I think the thing I had to add to that is that because we're doing this on a blockchain, it starts to touch on a bunch of other problems.
In complexity, we have like, you could do this in Tradify. Or you could think about purely in Tradify terms, and it's just like optimizing routes. But we also deal with things like gas, and then we deal with things like the fact that validators exist, and they get to choose the order of transactions within a given block, and that starts to take us into what people call. I only found out recently that it was rebranded from minor extractable value to maximal extractable value. But then it takes you into like, I mean, the territory, gas optimizations, and latency, and there's all these other things as well.
Another thing is that there's also another area of price improvement is batching. People talk about batching all the time. If people are trading in the same direction at the same time, if you just like route it through a Uniswap pool in the back, then that's less optimal than netting it all together. So by creating a competitive marketplace for it in where people are competing in an auction, it basically forces people to find the most sophisticated strategies that offer the most price improvement. And so sometimes it might mean executing multiple transactions at the same time. And in that way, you're saving some gas costs, and you're also maybe internalizing some of the price improvement for swappers.
But yeah, the real goal is to deliver the value to users at the end of the day. And then the other thing I'll mention is that again, because we're on blockchains, there's a bunch of UX implications of just like gas. So with Uniswap X orders are off-chain signatures that are then, rather than like signing transactions that are sent directly to the chain, users sign off-chain signatures, express their intent as a word of the moment in crypto. And that is sort of an auction, a price decaying auction. And then people are competing as soon as the price hits a point where people are willing to fill it, the fillers, a new class participant are submitting it to the chain.
And those fillers look similar to the block builders of today, and likely will be allowed of overlap, or similar to like the trading firms and arbitrageers. Because orders just start off as off-chain signatures, you also get benefits like if your transaction is going to fail, it never gets submitted, and also just like being able to abstract away gas for users. So if I want to swap USDC for die, I don't want to think about like ETH as an input. Today when you swap USDC for a die, your ETH balance goes down a little bit. Here with Uniswap X, you just sign a message. Someone else pays the ETH, and that's reflected in the price that you get.
So this is a bunch of other benefits as well, but yeah, there is the first thing you said as well. Yeah, yeah, so there's a lot of things under the hood there that I want to unpack, like the gas, the MEV, all that kind of stuff, but really just to start at the very, very top, how is this different, just to make sure that we're setting the table appropriately? How is this different from like a DEX aggregator, or some of the other liquidity optimizer services that are out there, like if we take a peek under the hood, like how should people think about this in its new form? Yeah, I say that like you know, most DEX aggregators and photos where there is a prior work in this other like teams that are attempting to do things that like are categorically similar, but like in terms of like a traditional model for a DEX aggregator, you know, what people are doing is just like, like you have like a single team that is like integrating liquidity sources one by one.
Right. And you know, in doing that like you're hoping to get as much liquidity coverage as possible, that was like the kind of traditional DEX aggregator. It's definitely like, you know, various experiments, you know, like, like CASWOP, Infusion and stuff that like get into close to territory of what we're doing with Unisop X. But here, you know, rather than like trying to like manually find all the liquidity sources here, we're basically saying anyone can do that and they're competing against each other. And so it's a marketplace. It's a little bit more meta than a DEX aggregator. So a DEX aggregator.
That was the name on the, there was a Unisop meta was one name we considered, but naming things the third, yeah. And I think meta kind of, I think meta kind of ruined it. Meta is now taken, that box has been checked sadly. So, okay, so a DEX aggregator provides a singular solution to getting the best liquidity. And that is their solution. And what you're saying is in order to improve that product, the teams behind every DEX aggregator needs to serially, manually, one by one, integrate with liquidity pools and in order to prove their product. And what you're saying is Unisop X is not that. It is actually a place for all of those solutions to compete in the marketplace.
Yeah. And maybe at this point, complexity around Unisop is so large that knowing the correct way of producing the best outcome is perhaps impossible, which is why you need to leave it up to the free market. Yeah, that's definitely it. And there's also like other liquidity sources that can start to be integrated there as well. I'd also add that like signed off chain order based auctions are like a really powerful primitive. Let's dive down into that. So like the current, if I go to Unisop, I sign a transaction, I broadcast it to Ethereum in 12 to 24 seconds, it gets included in the blockchain.
That is the current Unisop user experience that people are used to. With Unisop X, we have this new thing. Can you unpack that a little bit? Yeah, I think that something that's funny is that actually every, like you already have an auction happening every transaction, right? Because there's like an auction for block space. But people are like competing to like, you know, there's like, I'd say that like one thing that's interesting is that if you imagine there's like a price curve and then there's a gas price curve. And today, like whether or not your order gets included is based purely on the gas price curve, not the asset price curve.
And so like this combines everything. Like you just have the price curve. Like the nice thing is it kind of like combines like the gas and the price into a single thing, which is like, which is part of it. But yeah, like users sign off chain orders. They're broadcast. They can be broadcast in a variety of ways and signing off chain orders as opposed to signing agent transactions. And then people have talked about these for a long time, like meta transactions or sponsored transactions. All these, it's like a similar category of things. But we're like bundling the gas auction if you're getting included in a block with the price auction of trying to optimize your price at the same time.
And so there's like a nice efficiency thing there where sometimes for example, in the past, and definitely things improved a lot with $11.59, EIP $11.59, but sometimes in the past, for example, like the gas, like your transaction would wait until like the gas dropped, a significant amount to get included, but in that time, the token that you were selling also dropped. And so it would have been better for you to pay more gas sooner, but your transaction has no awareness of like, like there's no, like, and that's where when people talk about like MEV awareness, like if the fee that you're paying has no awareness of the transaction that you're doing, then you're like really not optimizing.
And so part of this is around that, there's also just like a gas, like there's like a UX benefit, like people don't like thinking about gas, you know, when I'm trading, you know, USDC for die, I just don't wanna think about E, and it's confusing and that's something that confuses users a lot. I think something that maybe it makes you to swap a little bit unique in, not totally unique, but like somewhat unique in like how we are able to develop and design things is we just have a lot of users and we hear a lot from them. And you know, some of how we approach solving problems is we're like, okay, like what is holding us back today?
Like why, what are our users struggling with right now? And that part of what like led to us creating a wallet is our users were struggling with wallet UX. And you know, it's part of what led to some of our design decision to here is it's like, you know, it's just like how do we continue to, you know, pushing forward. I wanna drill down on this off-chain order thing and just a little bit more. Cause I think it's a great microcosm for the solutions being put forth by you and swap X as a whole to begin with. So in this, and you know, swap in its current form, like I said, I sign a transaction, I broadcast that transaction.
The gas fee that I pay is hard coded into that transaction and that is independent from the trade that I'm making. And so these are two different variables that are not talking to each other and can produce suboptimal results because maybe that like you said, the token moves against me in the time that I tried to save two dollars of gas, I lost $15 off my trade. With a signing an off-chain order, which is signing a transaction, but not broadcasting it and just leaving it for somebody, a filler, a taker to take and fulfill that. They are allowed to combine the computation between optimizing for gas fees and optimizing for the actual swap.
And so they take that complexity and do that computation to produce the best outcome and because it was left off-chain, it was assigned an off-chain order, some sort of off-chained service provider, some filler who's managing this order routing and all the other complexity, they're able to manage the complexity between the gas and the swap to produce a better outcome for a user. And that's just like one piece of many pieces of combined complexity that allows for a better swapping experience. Something I'll add is that I might be like, oh, there's an off-chain service. What does that mean for decentralization?
I think it's worth noting that today, the way it works, it's not actually, there's no magic user signs that go straight to the chain right there. We have mempools, we have block builders, we have all these things in between. And what we're trying to do is say, let's optimize what's in between to optimize for the best outcomes for users. Because today, block builders aren't optimizing to give users the most money, they're optimizing to take the most money for themselves. And often, actually, fun enough a lot of that money is going to e-tholders through efficient MEV auctions. But, so actually, e-tholders are making a lot of that profit, but we ultimately want to give a lot of that value back to swappers, I know we like e-th, but we also like UX and value retention by end users.
I also mentioned that I mentioned off-chain orders. Like signed off-chain orders is like a general permanent. I think something that's really powerful with new Swapp X is actually opened up a world for cross-chain swapping as well. So today, we're launching a, or today is, oh, it depends on when this gets. Hopefully on Monday. Yeah, Monday, Monday, the United States time, July 17th, something like that. The, you know, there's going to be like an opt-in beta. People can sign up to, or people can opt in in the UI to start having some small percentage of their orders out through this, we're starting small, we're, you know, it's only for certain pairs, for certain trade sizes, et cetera.
And it's going to, you know, so that we can continue to, like, give time for more fillers to come into the ecosystem and continue optimizing how we parameterize the system. But, you know, starting to, like, today we'll have like a version that's just like on main on Ethereum. But in the long run, we can really make this cross-chain, and you can sign orders that, you know, this method of like signed off-chain orders is like a really powerful and expressive and allows for, you know, really good user experience and efficient cross-chain swapping as well. And so, you know, not today, but maybe like, hopefully like later in this year, we'll see like cross-chain trading, and that will also be really cool.
I want to try and define the landscape of what Uniswap is now, because we have on-chain on Ethereum and the layer twos, we have Uniswaps 1 through 4, which are AMMs. And then now we also have Uniswap X, which is an order routing protocol. It's another protocol. And so this is a new protocol. This is not AMM. This is actually something completely new compared to all the, you know, Uniswaps 1 through 4. This is not a Uniswap 5. This is something completely different. This is a parallel and complementary. Parallel and complementary. Like the pieces fit really, really well together. But I really want to kind of carve out what the definition is of Uniswap X.
I'm gonna do my best, and you can correct me because I'm only get so far. Uniswap X is a protocol, an open-ended protocol for service providers, fillers, trade, executors to come in, fulfill the best trade according to the parameters of a swapper. And so a swapper comes to Uniswap X, and they say, hey, I want to do something. And Uniswap X puts that into a package that fillers can all compete on. And so it's like a protocol, what do protocols do? They bundle things and easy to manage packages of information. So that other service providers, fillers, swappers, liquidity providers, whatever in the Ethereum ecosystem can all come and compete on that vector of providing that one swapper the best swap possible.
And this is, again, complementary with Uniswap X1 through 4, but it's a completely different protocol, correct? Yeah, I mean, look, yeah, you could start to think of like AMM's as ways of creating liquidity, building on top of liquidity as a building block. There's like, you know, on-chain integrations. And it's just a really cool, expressive, and efficient, on-chain way of providing liquidity. But I'd say that like naive routing solutions through AMMs in the long term are not going to make it. Like you kind of need your routing solutions to be aware of things like MEV, aware of, you know, kind of more expressive in user-intense.
And so the, you know, you could think of this as like, we already have a routing layer. We already have this thing. We call the auto router. We all should have this thing. We call clients routing. So we have a, like in our web app today, you can actually toggle between two types of routing. I don't know if you know that, but like, there's like client side which basically turns off the API entirely and just speaks directly to the chain. And that's like, maximally, like, provable and decent. But then we have like to make it like better for users. You kind of need to have, you know, smarter routing.
And so we have this like smart router, you know, auto router thing we call. And that is like a little bit faster and discovers more routes. But there's an API behind it. But it's open source. And so, you know, Goli, and I would think of this as like a protocol that lives in that domain, not as a protocol that lives in the like AMM. So like we already have this like the routing side of the system already exists. And we're, and we're just kind of like, you know, updating it with a new protocol. And I'll also mention that like the Uniswap X does have like this like on chain smart contracts that settle orders, they're a mutable, actually open source, GPL, GPL open source.
And then there's, you know, wait, you just have, and then you have like front ends that broadcast orders, that have to like discover those broadcasted orders. And yeah, and then the fillers basically can submit them directly to the smart contracts. So I think what Uniswap X is really doing is they're enabling a new type of player in the Uniswap Arena. So we have, we have swappers already. Most people listen to this or swappers. Some people listen to this might be liquidity providers. And they are providing liquidity into the AMM. So we have the AMMs, which are Uniswap's one through four. We have the liquidity providers.
We have the swappers, the traders who trade on Uniswap. And but now Uniswap X is enabling this new type of player called a filler. Yeah, I think it's worth noting that like they're not new. We're just have a routing system that is aware of them. Not formalizing them. We're formalizing them in a way that can put constraints on them because right now that they do, you can think of them as today as like the people that do like, you know, the most advanced trading strategies, the people that do a lot of the arbitrage, the block builders, the MEV extractors, right? And what we're trying to do is like put constraints on them and it take value that would go to them and give them back to the swappers.
So the players exist. We're just formalizing them and we're having them compete with each other in a way that tries to drive as much value back to swappers as possible. So swappers, the people who trade on Uniswap just to trade tokens, meme tokens, USDC, Ether. Are now going to be pointed towards Uniswap X. So to trade on Uniswap now in the future, and now with Uniswap X means to be trading through Uniswap X, correct? Well, first, like there is like the routing system we're going to build is like, you know, direct your order wherever you think so we'll get you the best price. And so, you know, especially at launch with the beta, like a lot of orders will just throughout, you know, through our existing routing system.
I'd say that like over time, probably more volume will go through Uniswap X, but I think that over time also most Uniswap X volume will go through Uniswap the AMM protocol. Right, so Uniswap X people will trade on Uniswap, they can use Uniswap X. And then Uniswap X for as in its nascent time, we'll just say, oh, you know what's most efficient? The Uniswap order router. Yeah. But as it develops and grows in the chairs, it might find a better pricing and better, better just sources over time. Yeah. But for what is worth, like that sort of already have, like we're already in that world, which is, you know, like today, like if, if you don't get best prices going to Uniswap, then people will go somewhere else.
And so like there's always like other liquidity. Like I think that like, you know, the goal of the Uniswap the AMM is to have like the, you know, the best liquidity in the most assets possible. And I think that, you know, Uniswap before is like a really, really powerful way of achieving that. And I'd say that, you know, it's so funny that the, you know, one thing that's like really interesting is when I was developing Uniswap V1, you know, way back in the day, there was like the framing, the mental framework was like, do AMMs have a place in this world? The frame wasn't like, you know, was like, I'm going to be able to best AMM that's going to take over all the liquid.
It was like, like, like, this is like a new way to do like liquidity creation. And like, I wonder if it will like work and like have a place in the world. And I think we saw that it does. And it's like a really efficient, cool way of creating liquidity and unlock some really powerful new things. Like they believe for anyone to create, you know, liquidity at like sort of any, like, it's sort of, you know, anyone can create liquidity. Not anyone can create liquidity as efficiently or effectively as citadel, but anyone can do it at some level, right? And that's why a lot of the earliest, you know, pools that were big on Uniswap were like these, like longer tail pools that were struggling to get exchange listings, et cetera.
And, you know, like MKR and Die were like very big in the early days because they were, like, it was like the only place to trade them. And so like, AMMs are like, have these like new unlocks. They're like, oh, like, anyone can provide liquidity. It also has like on-chain integrations, which are like, like, like, money Legos. It's like a really big unlock. I think that like, you know, like, when I think about decentralized finance and like what we're trying to achieve, right? Like, we can't just kind of like iterate in our like small world. Like, we have to like kind of innovate and push beyond it.
And I'd say that like, I think that like, AMMs are like, I can be like, you know, I'm extremely bullish AMMs at like a market structure, but I think that there are also other market structures that like could, you know, exist in the future. And then I think we also want to discover them and have them be part of the Uniswap ecosystem. And, and have them be like complimentary. And so like, you could think of this as like, oh, some, you know, some volume might go, you know, elsewhere, but like, that volume might go elsewhere anyway because if Uniswap isn't offering the best prices. And so I'd say that like, you know, other liquidity sources are going to exist whether or not we, you know, are aware of them and look for them.
And so, you know, also we're mentioning that like today, you know, Uniswap has like a pretty like, it's the funny things that we've actually seen this play out in aggregators like Uniswap still is like the largest liquidity source for every aggregator that's out there, even though they all have like private market makers other liquidity sources. And I think that like the sort of network effects that can build up around V4 will also be like, really helpful. So what you're saying with all of that is that Uniswap X is not a Uniswap Maximalist protocol. Well, it has the word Uniswap. I'd say that like, it's, it is a, it's not a Uniswap.
It's, I'd say that like, I don't want to go that far. Like, I'm pretty AMM Maxi in many ways, but I'd say that like, it's like expressive and starts to push the Uniswap ecosystem to go beyond strictly AMMs. But I'd say that like, it still is like also the best way to route across AMMs, which is I think really important. Like you could, like, for anything that is like lost to other liquidity sources is like also gains, I think in like routing efficiency. And also really importantly, when you start to think around like, you know, when we jump back to like that hooks problem, like one of the biggest questions that we got after then the sort of announcement of our vision for Uniswap V4 was like, okay, I'm a team.
I create a hook. And how do I make sure that people like, you know, front end, like, one of the nice things about Uniswap is like, I create a pool. I know that like routing is gonna, it's gonna be discovered in like routing engines. Like, if I create a new hook that has some new like, you know, like, let's say it has like two AM in it, two AM, if you're routing through a two AM pool, you need to be aware of like the two AM component because that affects the price you got. And you can't just look at the liquidity. Or if I create some other custom hook, like, how do I know that my, you know, maybe people are afraid that it will like, you know, it's not safe and they have to audit it and they take some time to audit and they don't care about me.
And so like, how does my liquidity get discovered? And this is like the solution to that, right? It's like, if someone creates a new custom pool, a new custom hook, you know, rather than needing like, Uniswap Labs team to audit their hook and integrate it into our front end, you know, which is like, you know, a, not the, like, it's not the ideal process, right? And like, let's say they're like, maybe we're gonna be in a world where there's a million hooks. Right. Or I'll tell you what, a million, like, like right now we already have hundreds of thousands of pools. We're gonna be in a world that has like, millions, probably eventually hundreds of millions of pools.
And you can't like have a single kind of team just as route. And so like, you can think of this as like, now all you need is to find one liquidity, one filler who's willing to integrate your hook. And then that hook is like represented in the liquidity that you find in front ends, like you can swap front end. So when you go, so someone can like, not only create their liquidity pool on Uniswap, they can like, you know, find one of any filler in the world or create, that's willing to like, you know, include that hook and then, you know, from, you know, immediately that liquidity is represented in the Uniswap UI.
And so I think that like, you could think of it as like, like adversarial, but I kind of think of it as like, almost like strictly required to like make it work in the long run. And so yeah, you know, pretty excited. Metamask has something new. Introducing Metamask Portfolio. Metamask Portfolio is the best way to view your crypto portfolio from a holistic level. See everything across all the chains all at once. In your portfolio, Metamask will report the aggregate value of all the assets in your Metamask wallets. And even the other wallets you import too. But Metamask Portfolio isn't just a passive portfolio viewer.
It is a place to do all of the money verbs that make DeFi so powerful. You can buy, swap, bridge, and stake your crypto assets. So not only is Metamask the easiest place to see your wallets in aggregate, but it's also a powerful battle station for all of your DeFi moves. So go check out your Metamask Portfolio because it's waiting for you to open it up. Check it out at portfolio.metamask.io. Arbitrum is accelerating the Web3 landscape with a suite of secure Ethereum scaling solutions. Hundreds of projects have already deployed onto Arbitrum 1 with a flourishing DeFi and NFT ecosystem. Arbitrum Nova is quickly becoming a Web3 gaming hub and social apps like Reddit are also calling Arbitrum home.
And now Arbitrum Orbit allows you to use Arbitrum secure scaling technology to build your own layer 3, giving you access to interoperable customizable permissions with dedicated throughput. All of these technologies leverage the security and decentralization of Ethereum and provide a builder experience that's intuitive, familiar, and fully EVM compatible. Faster transaction speeds and significantly lower gas fees. Are you a dev, but you don't know solidity? With Stylus, Arbitrum's upcoming proposal for a programming environment upgrade, developers can write smart contracts in Rust, C, C++, and many more coding languages.
Arbitrum empowers you to explore and build without compromise. Visit Arbitrum.io where you can join the community dive into the developer docs, bridge your assets, and start building your first app on Arbitrum. Mantle, formerly known as BitDow, is the first Dow-led Web3 ecosystem all built on top of Mantle's first core product, the Mantle network. A brand new high-performance Ethereum layer 2 built using the OP stack, but uses eigenlayers data availability solution instead of the expensive Ethereum layer 1. Not only does this reduce Mantle network's gas fees by 80%, but it also reduces gas fee volatility, providing a more stable foundation for Mantle's applications.
The Mantle treasury is one of the biggest Dow-owned treasuries, which is seeding an ecosystem of projects from all around the Web3 space for Mantle. Mantle already has subcommunities from around Web3 onboard it, like game 7 for Web3 gaming and buy a bit for TVL and liquidity and on-rounds. So if you want to build on the Mantle network, Mantle is offering a grants program that provides milestone-based funding to promising projects that help expand, secure, and decentralized Mantle. If you want to get started working with the first Dow-led layer 2 ecosystem, check out Mantle at Mantle.xyz and follow them on Twitter at 0xMantle.
I think this is just overall a really good, elegant lesson as to how markets harness complexity really, really well. There's be no way where one single player could manage all of this complexity with all these different pools and versus the competition of just like, how just like, oh, this is too complex, just make the market deal with it. I want to run through how Uniswap X actually works. I mean, we've talked a lot about the contours of it, but maybe we can run through the life cycle of a transaction and how Uniswap X actually ensures that that transaction gets the best actual output of whatever it's trying to do possible.
So maybe you can run it through yeah, Uniswap X under the hood. Yeah, so I mean, I guess we can start with like the Uniswap front end. For swappers in the Uniswap front end, it actually looks and feels very, very similar. Okay. You know, no new skills are required here. No new skills, hopefully fewer skills in the long run. But you know, when you go to, you choose the tokens you want to trade, you like kind of like, you click like swap. The big, the first difference is actually that you'll see that there's no gas for your swap. There is still, I'll caveat that like, there is still like one initial approve for token of like the permit contract.
We created these permit contracts that you've probably seen that'll like basically allow any signature to do signature. Any token that you approve on this contract can now do signature based approvals forever for you. So that's like what permit is, and this is building on top of that. So you do have to do an approved transaction every once in a while for new tokens that you haven't traded, and that does cost gas. And there's no way to avoid that unless the token itself includes gasless signatures, or you're using a smart contract wallet. But for tokens that do have, you know, signature based approvals eventually, but anyway, like once we have our token approvals, which is our, you know, from that point on, that you make a swap, and instead of paying gas, and then instead of, you know, signing a transaction, and you know, if you're using Metamask, you know, it looks a little different, you use a smart wallet, then a regular transaction, it just says, you know, you're trying to sign it, you're just like, signing a signature.
So you sign the signature, and then at that moment, it feels very similar, you know, it then goes to a pending transaction state for the user. One noticeable difference is that when you sign a transaction, you can immediately go to either scan and start like waiting for it. Here, it's just an off-chain signature. So the order hasn't been executed, we don't know what the transaction the hash will be yet. At this point, it's not even in the mempool. Yeah. It's in the pre-mempool. Yeah. At this point, you know, the order is broadcast to like a network of fillers from the front end, and there's like a kind of a go.
Yeah. There's an API for that, and then, you know, it's similar to like our outer routers, there's an API. And the order is broadcast to a network of fillers, and I'm gonna start with the base case, and then mention that there's like an optimal, there's an additional like ability to parameterize through RFQ, but just like the base case of the order, the sign an option order, it's broadcast, your order is basically like a decaying price auction, so like at the moment you sign it, you're like willing to accept 100, you know, like one price, and then like the price goes down a little bit over time.
And what that does, yeah, and so you start at like, you know, maybe it starts at a little bit above the price you expect, and then the case over time. And what that does is, you know, the moment that it's worth for someone to fill, they will. And so that's like what creates a competition. Right. And that's what in theory produces the best possible outcome because so long as somebody is some rational actor saying, hey, that's profitable, I'll do that, you'll get the first profitable actor that'll do that. Yeah, the person is willing to take the lowest margin or has like the best strategy, and they're competing against other people, and they wanna make sure they get it so they try to give the best price.
Now, and then, you know, then at that moment, the filler not you submits the transaction, meaning they're paying the gas. And then what that does is it pulls your tokens out of your wallet, you know, you've approved it, you know, and there's a smart contract that you fill through, and it enforces that they can only take the tokens out of your wallet if they send you the required amount of tokens based on the moment at which it executes, right? Because it's like a timestamp component. And that's about it, right? You sign an order, a filler, you know, the first filler that's willing to fill it takes it and submits it on chain and pays the gas, and that does the transaction.
I think that's something that, you know, starts to happen here is you think about like, like latency. So back in the day, pre-1159, you know, self-transactions used to take like a few minutes sometimes, people would like the gas markets weren't very good or very efficient. Today with, you know, today it's a little bit faster, about 75% of units who have trades execute in the first block after they sign it, and about, you know, 90% in the second block, by the end of the second block. And, you know, so I think that there is like, definitely a need for the auctions to happen very quickly. And so to, you know, there's an optional component for the system, you know, like optional to smart contract level, right, you guys can do whatever, but that allows you like layer an RFQ on top of it, which basically means you use an RFQ system, requests for quote, they're called, you know, ask a bunch of people, what is the best price they'll give me?
And you use that to inform what the actual market price is rather than like guessing at the, when you're parameterizing the auction. To incentivize people to like give you their best quotes, you do have to like, you know, give them something sort of in return. And so the way that that looks in the smart contracts is if you use the optional RFQ parameterization, then you can, then basically, there's like a slight priority given to the RFQ winner for the first, you know, maybe few blocks. So what it looks like is like, I sign my order. I get, if I'm doing, you know, a transaction with an RFQ, I ask, you know, the best quote, I sign an order that says, this person can fill at their quote, anyone can fill, if they have real price improvement, they can fill and they can come in before them.
But there's like some margin of price improvement that they have to offer. So you can't offer like one way higher. It's like you have to offer like, you know, maybe 0.5% higher. Something like that. So there's still a public auction component where someone can come in with price improvement and outcompete the RFQ winner, which is important. But there is like a, for a few blocks, a slight priority given to RFQ winner, which allows you to basically get, you know, very efficient, very fast price discovery. And, you know, in that way, you know, maybe most transactions are filled through the, that include the RFQ can execute maybe in like, you know, one to two blocks, as opposed to if you weren't using the RFQ, maybe you would take like, you know, five to 10 blocks if something like that.
Yeah. With this model, this decreasing price auction, which is a Dutch transaction, which is existing from the 1700s, which is why we know it's really a primitive, you know, where it comes from. The Dutch? Yes, but you know, it's from tulip auction. Yeah, whenever I think Dutch, I'm like, was it the tulips? Yeah, it was the tulips. It was tulips. Yeah, it was flower auctions. We'll put a pin in that one. Yeah. First tulips, now dogs. You have the option of extending the time and the, or slowing down the decreasing price for a very long time. Like, you know, you could go up to 10 blocks or you could go up to 10 days for whoever wants to do that for whatever reason, what would be the advantage for extending that period of time?
Like, why would someone do that? Yeah, I'd say that, you know, you can, so one thing is if you don't want to like depend on this, or, you know, this RFQ system, or if the RFQ system is not like optimal for whatever reason for your trade, some people might just be comfortable and make it happen. Like part of it is like, you know, there's sort of an assumption in what I'm saying that users need their transaction to execute in the same one to two blocks. And I think a lot of users, that's really important. And it's like a reason that like, that's like, like, you know, when we, when we build things that use swap, we have to be able to consider what our users care about.
And, and so, you know, having this like RFQ component allows it for users who want their trade to execute in like the next block, it allows that. But if users are like comfortable waiting like a minute or two, you, you might have, there's definitely that, you know, there's a lot of debates you could get into about whether or not it's like, there's price improvement, it probably depends on like the size of the order. All right, if you're making like a large order, giving some people time to like, the source liquidity can optimize the price, so waiting a little bit longer, giving more time for it to propagate, more people discover it, et cetera.
There is risk that the price moves, like that the price moves against you during that time, and not like, you know, this, this sort of like, you are, like if you have an order that executes more slowly, there is risk that you are taking on like price risk that like maybe the like the trade will like go down, you know, the price will go down, not up for the token you're selling. And so, it's not like strictly better, but it is, it does let you like remove the RFQ system. And it also, you know, I say that like, you know, waiting one to two minutes, like you're not really expecting much price movement, and it might actually like, optimize price a little bit.
But it's, it's, I don't want to like, it's like such a kind of a interesting design and trade-off space that it's like, I'd also mentioned that, you know, one reason that might actually be, is that like, batching within the system, like if you have orders that execute slowly, maybe someone else makes an order in another direction within that time, and then it's more efficient to net against them. Something that like, maybe I'll, people ever know is like the story, not everyone, but most people know the story of like Carl, and you know, my first friend in the space, and he gets me into A&M's.
I don't know, you know, my second, the second person I met, the first three people in order that I met in the space were Carl, then Phil Dianne, then Dan Robinson. That's a pretty good lineup. Good lineup. So the second person I met in the space was Phil, and you know, the founder, you know, co-founder of Flashbox, and like MEV, inventor of the term MEV, I believe. Discover of MEV. Yeah, yeah, yeah, and you know, he released like the Flashboy's 2.0 paper, right? And so we've been talking about this like, design space since like, well before, and like, you know, the first, like, you know, the first kind of version of Unisfar, right?
He was like, oh, I mean, like, yeah, like this like leaks MEV kind of. I mean, we didn't have the word MEV yet, but he's, you know. And he sent me a paper by this guy, Eric Boudish, called like, it was something like, frequent batch auctions. Something trading arms race, you know, frequent batch, like basically gets into like, the whole like Flashboy's 2.0, and like basically like, postulates that like, if time is continuous, like if you treat time as like a continuous thing, then like, these like, HFT games are like inevitable. Right. That like, there's always people, like front running is like inevitable.
If like, time happens in order. And like, the only thing that like, to like create fairer systems that don't favor like, you know, like, like an arms race, you kind of have to like break time up into discrete intervals and do batching within those intervals. And so there's sort of like, you know, and definitely like there were like, have been earlier attempts at it in Ethereum, but I think there's like, often like, UX issues around it. So I think what we're partially trying to do is like experiment with and explore this like, this tradeoff space of like, how do we like create fairer outcomes that don't have this like, this like, like maximize power in like, in like the most sophisticated traders in the world purely.
And I think part of that is like, starting to like enable things to be execute in batch and starting to be like more aware of things like MEV. And so I don't even remember a question you asked at this point. I'm kind of just ranting, but we're going through how did just the lifecycle of the token and then also just the time for why someone would extend out a long, long period of blocks. Yeah, all that to say like, users have their preferences for like, how they're ordered, like if someone really cares about executing their order immediately, they probably are gonna get a slightly less optimized trade because they have to kind of like rely on like, like you can't very efficiently discover the options allow you to like efficiently discover the right price.
But the slower the, like if the auction is too fast, it's not very efficient. It's hard. You have to like know how to parameterize your auction and you don't know how to, and so like the fast you need it to converge, like in some ways there's like less time for optimization. And so like having like, yeah, slower orders over time, like might just let you like get more optimal prices where you feel better about like, they're not being someone who's like, extracting some value from your transaction. If you don't care and you just want your order to happen right now, you know, like then like, you're always gonna, then like things like, you know, we can do much, much better than today, but like, there's going to be some trade-off space of like, if you want the instant fastest transaction, you might have to pay a little bit more in the long run than people who have slower transactions, right?
What about MEV? How is MEV as a mechanism, like start, how has Uniswap X stopped the leakage of MEV? Yeah, I'd say that like not, you know, I don't want to use phrases like stop the leakage of MEV because there's like such a like, there's even like different ways of like, thinking about it, some people say like, oh, MEV exists no matter what. It's just like, you've internalized it or some people or it's like gone to a different party. It existed and you just, you know, if you generally think about it as like, you know, someone wants to make a trade, you know, like that creates some value somewhere.
And like, you know, like there's a lot of forms of MEV, right? People are talking about like sandwiching, front running, back running, you know, reordering transactions, reorgs. I don't know if I'm over time-bending to tax. Okay, I'll rephrase the question. No, no, no, no, how has Uniswap X changed the way MEV is expressed? Yeah, yeah, no. I think that like generally what we're trying to do is have value that today leaks out to block builders and validators through MEV markets, right? Right now until it makes a trade, like it is actually also broadcast publicly. It's brought, like right now basically, you know, someone makes a trade on Uniswap.
Like people are just like competing with each other, but they're not competing with each other to offer the best price to the Uniswap user. They're competing with each other to extract the most value from the Uniswap user. That's what like, that's what current MEV markets are and that's what current like block building networks are. And what we're trying to say is like, can we change how we encode transactions such that that competition that like, rather than like to get a bunch of sophisticated people competing to like extract value from swappers, like the competing with each other and as much of that value is humanly possible.
Like some of it, like some value will always have to go to Ethereum miners or validators. Some value will always go to like block builders, but like how do we just maximize the percentage of the MEV that goes back to the swapper because they are competing with each other, right? Like if they're competing, right now they are competing with each other, but they're competing with each other to take all of the money. Now we want them to compete with each other to like have most of that value go back to the swapper. So it just has to do with how you like encode your transactions and having like, you know, an auction is a way of doing that because if they're, you know, today like a Uniswap order is like executing it like, basically like a, you know, it says like, I will make this trade as long as I get better than the minimum slippage, my slippage tolerance.
What that means is like a validator can like, front run the order up to the slippage tolerance and take that money for free if you're mining a block, right? And we don't want that. And so by having like a price decay over time, as soon as it's, like, as soon as it's profitable for someone to like, to like include that transaction, they will and, and so it, I guess one way to put it is that like today, like depending on the size of the trade, like it can be profitable to like front run up to your slippage tolerance. And this one, it doesn't go to the minimum price because it usually actually, like your slippage tolerance is still expressed as like the minimum price of the auction, but the order is filled well before it hits your minimum price.
And it can't be hit your minimum price until the end of the auction by which time it's already been profitable. So the first moment it's profitable, that's when it's filled. And so you don't like just get like, front run up to your slippage tolerance, which is kind of how it works. Right. This is the beauty of the mechanism design of a Dutch auction where just the mirror system itself of making sure a somebody fills that order at the first profitable opportunity is the MEV protection mechanism. I'd say that also, that's like the mechanism of protection. I'd say that there's other ways that it's improved and it's like things like just the fact that if you have a bunch of transactions at once that are off-chain orders, one filler can discover all of them and complete them all at the same time.
That means it can be profitable to fill them all even earlier in their lifecycle. Because someone might have an order and it's own, it's not profitable for the filler to include it in a block or like a block builder. But like, if you have another order that's going the other direction, then maybe you can. And so when you think about that as like, the earlier up you are, like the higher up you are in your Dutch auction, like it's a decaying price. The higher up you are, the less value has been leaked. And so we're trying to like, you know, the more optimal, you know, that we can like make these filler networks and the better we can parameterize these orders, like the less value will be leaked.
Okay. Are we ready for the bridge conversation? Cross-chain that? Cross-chain swapping? Yes, cross-chain swapping. How do we, how do I enter this conversation? Yeah. What's the point of entry here? I can start and basically, you know, when you have orders expressed as off-chain signatures, we initially like started this project kind of thinking about what we might want to do in the aggregation space. And I think that what we discovered in the process, like if you express your orders as off-chain signatures, there are like other things you can do. And I think one thing we discovered is that you can actually do very efficient, very, you know, powerful, good UX cross-chain swapping.
And, you know, so instead of signing an order that says, I wanna swap this token for this token on Ethereum, you could sign an order that says, I wanna talk swap this token on optimism for this token on arbitrum or this, you know, swapping, you know, a cross-chains. And the sort of beauty of it is that from a swapers perspective, the user experience is exactly the same. And even like the UX of like, you know, it actually can fill very quickly. And the, you know, these fillers that are filling orders on you, you know, we've already talked about, they actually can handle like the complexity and latency of using bridges and figuring out settlement.
And so, you know, we basically think that like, the cross-chain version of this is really powerful. I guess one way to put it is that, and if you have the benefits that you might see is, one, it allows for like native asset swaps. So like right now, a lot of value currently lives in, like when people are doing like moving funds between chains and making trades across them, usually what you're doing is like you're bridging an asset, then you have a bridge representation of that asset on another chain that is like sitting in a passive, in like a liquidity pool. And then you're swapping in that liquidity, like you might like bridge east to, maybe it would be more concrete, you might bridge east to polygon, and then swap your polygon east to, to Maddox tokens on polygon.
I guess they're branded their token. So soon, yeah. Something like that. With approval, yeah. Something like that. But, you know, in that, and you know, bridges are, like, I mean, look, we've looked at this world of bridge. Like we've had so many bridge hacks, funds that passively sit in bridges are just like, you know, risk for the industry. More or less, look, the more, you know, obviously like some bridges are much better than others. And like, we've had like these L2 bridges have been held up pretty well so far for the most part. But what you can do with, you know, Swap X is you could just say, I'm going to swap ETH on Mainnet for a Matic on Polygon and, you know, a filler basically, you know, I, should I talk to the lifecycle maybe?
Maybe that would help. They're like, you know, so like a Swap in my sign in order that says like, I want to swap ETH on Mainnet for Matic on Polygon and a filler. And then, just like the previous, you know, version, like you have like this decaying price auction for how much, you know, Matic you need to fill to, you know, to get that the input ETH. And the order is actually completed on the input chain as well. So the filler, when, as soon as there's a price at which they're willing to fill, they like, you know, they, they initiated a transaction that like claims the order and they transfer the users input, you know, tokens into a kind of like an escrow contract and they put up a little bond.
And now, you know, they're basically responsible for sending you those tokens on the output chain. And so the next thing that the filler does is they send you those tokens on the output chain. And, you know, now the filler, from the Swapers perspective, they like have just like made a cross-chain swap. And then the filler basically has to like prove that they did that to claim the users input tokens on the input chain. And if they don't do the proof eventually, it would go back to the Swapers because they, you know, never proved that they filled. Now, how do you do a proof? You can, you know, do any, like, any possible bridge.
So that's one of the really cool things about it is that like, you know, Swap X cross-chain variant basically can support any possible message, you know, bridge messaging, or like any cross-chain messaging protocol or even like any other use system for how you settle these cross-chain orders. It's like kind of completely agnostic to that. But, you know, we have initial, some initial smart contracts which I think will probably be going open source around the same time as that basically allow you to, that work for like the canonical optimism, arbitragem, and polygon bridges. But yeah, basically like, you know, the filler has to prove through a bridge or they could do it optimistically like, you know, one way to do it is like, it's assumed the filler fills unless someone challenges it.
And then it kicks off the force to do it through a bridge. It's like a similar design space to like optimistic roll ups or something where like, but that shouldn't happen in most cases like because you have bonds to prevent that. But generally speaking, maybe I'm, you know, user signs off-chain order that is an auction. Filler, you know, initiates a transaction that puts their tokens onto the, into the escrow contract, then fills in the output chain and does a proof. And that proof can be an optimistic proof, which means that like, it's assumed that they do it unless it's proven that they don't.
And then in that way, you have like very, you know, fast, good UX cross-chain swaps. And like definitely if you go to a challenge period, then it might be like, like if you have you challenge a swap where you need to prove it through like the, you know, the optimism or arbitragem bridges, which are seven days, then you have a seven day lockup period of the input assets. But that only happens if a filler lies and then they lose their bond. And so you have to like parameterize these bonds to be such that it's not incentive. It's, you know, not optimal to fade. To carry this through with one of the themes I established at the beginning, which we talked about with all Unisob v4 and 1 through 4, there's all these pools and all this complexity.
And so this beautiful elegant mechanism of an off-chain signed order, an off-chain order, that doesn't just solve the complexity problem of pools, it also solves the complexity problem of bridges. And bridges and pools are kind of similar in that regard. And so since we are just signing these transactions, signing these messages, off these off-chain orders that say, I have this token and I would like this other token, on this other chain, all of that gets abstracted by the same service providers, the same fillers. And so they can manage the bridge complexity, they can manage the timing and the latency of that and just provide the swap or the thing that they want, which is the maximum number of tokens in the place that they want it.
And all of that complexity is just, again, once again, the whole theme of this seems to be left up to the free market, left up to the fillers. Yeah, and there's like smart contracts on them, like the input chain that like enforce that the swap actually gets what they wanted, right? Because you do have to choose like, what is your source of truth for whether or not the order was filled? And that's specified in the order as it's being broadcast. And so it's likely that in our UI, once we have this live in our UI, you'll probably use mostly canonical bridges. So for swaps between optimism and maybe we'll use the optimism bridge.
And you can use the optimistic pattern to make it so that you don't actually have to have seven-day delays. And I'll also mention one thing that's kind of cool is that it's not just for like, you can think of it as also like for like fast L2 exits, you can use this, right? Some people might be willing to like pay you. If you have, you know, eth on main net and want eth on optimism, someone who's on optimism who wants to exit my view, willing to pay you a little bit to do that, right? And so you can use this for fast exits as well. I'd say that like definitely the reduced amount of, one thing that's like a little bit different from like most existing kind of like bridging protocols is most bridging protocols have passive exposure to bridge risk.
Passive exposure to bridge risk, what is that? So like if basically like liquidity providers in them are like, it's like, you hear about like bridge hacks. Like basically like like, yeah, yeah, yeah. Like you hear about bridge hacks all the time. There was like, I think there was a billion dollar one like last week or something. Last week? I thought so, maybe not. I've been gone for 10 days. This is the first thing I've done in crypto in the last 10 days, so you have some catching up to do. Well, we don't, I don't know if we know how much, I think it was like minimum, I don't know if it was like, anyway, we don't need to get into specific.
But yeah, like, you know, bridge hacks are a thing. And it's because people are like, they're holding, you know, deposit a token on one chain and it has a rep. And then at that point, the bridge is kind of like, almost like a multi-sig holding all those tokens and they have representations of those tokens on other chains. And the sort of like risk, and for as long as those tokens live on the other chain in any form, and if you want to have like liquidity for people that like make trades, then like liquidity providers need to hold those like bridge representations of tokens on the other chains.
And so like, eth on another chain is always gonna be worse than eth on Vaynet. And you know, there's maybe one exception and like USDC on any chain is probably like equally the same. It's kind of interesting, and that's why it's interesting that they have a bridge. And by the way, we did do an experiment that made it so that we could use the like the circle USDC bridge as a settlement system for the cross chain variant of you know, swap X, but that's sort of an aside. But you know, yeah, it again speaks to like, you can like basically have like, I think we're gonna eventually have a world where like most assets live on the chain in which they were originated or like whatever chain, in whatever chain that they're like most secure, or as like most canonical for that asset, there might be some assets that are like on multiple chains, like things that are common stores of value, and like you know, currencies, so like you know, top stable coins and maybe eth and a few others, but like, but generally speaking like, allowing, you know, if you're a liquidity provider, you're just letting you kind of like hold most of your, like let's say that like, you know, I wanna feel, like I could have like some native tokens on each chain, and like if I wanna fill an order, like let's say I do a cross chain swap from some, some random native asset to optimism from, from Maynet.
Like even if you don't have like, like there might be AMMs on optimism that are between like, you know, the optimism native tokens and other optimism native tokens, and on Maynet between maynet native tokens, and so like the filler, they can basically just like, maybe they have like, they're holding a OP tokens on optimism, they buy some other optimism native token, fill your order on, and fill your order on optimism, and then they like, never, and then like, they can just like receive ETH on Maynet, and they never at any moment in time had to have like, fun, like they never had to hold like, ETH wrapped on optimism, or it just like reduces the amount of like the size of these bridge honey pots and lets people just like, swap between native assets.
Well, it seems to really minimize the use of bridges in the first place, like rather than have bridges being, bridges for acts assets, bridges in this model are simply just used to pass the final message, data, not assets, of approval that the bridge was actually the trade, the swap was actually executed appropriately. Right, and so it's one small use of a bridge to pass a small packet of data, rather than having hosting long-term liquidity inside of these bridges. And you don't even need that data packet unless, either like the swap, like the filler is lying. Like if the filler, like actually fills your order, you don't even need to pass that data.
Is it fair to call it minimum viable bridging? Yeah, we're basically like trying to minimize the amount of like assets only living in bridges. You know, like there are assets like users that are only exposed to bridge risk while transactions are in flight. Once like, you know, like the swapper has there, like once the swapper has the outpatocans and the filler has the inpatocans, there's like no more bridge risk for either party, unless those tokens are happened to be like, wrapped bridge assets, but they don't need to be. So yeah, we're like minimizing the extent to which people need bridges.
We're also kind of like abstracting them away a little bit. Like this system can kind of support any possible bridge. It, you could think of it as a bridge aggregator. It's important to like note that like the, you know, when I've, the bridge use for settlement is like different from like, like fillers can use any bridge they want to like move liquidity around. You know, they could use centralized exchanges, they could use bridges, whatever. But then like each trade does have a specific bridge or what, you know, what we use, we use a term settlement oracle, which is, which is can be any bridge.
It could also technically be any other system. You could technically use like a multi-sig or a governance system or a single party if you wanted. If you wanted to, you could also trust the filler. If you like are like, I trust the filler and then like, you could trust them to be, and they could be the, and then you say anything that they say have like, technically you could do whatever you want. Right. You just need some system to say that, yeah. Yes, that said that trade that swap was fulfilled. And this protocol is like completely agnostic to that system. It like can support any possible system.
We have like, you know, initial smart contract designs that like work with like, you know, as I mentioned, like the main up to, you know, like the canonical L2 bridges for optimism arbitral polygon. We have a design that works with like a circle bridge. But it can really work with all of the other, every bridge you hear about in the space, like theoretically you could have like an adapter that could use that bridge. And then bridges are competing on like, offering security and latency for like, messaging, passing messages and not like, you know, having like billions of dollars of liquidity stored in them passively, which is like real, you know, which is like a security risk.
And we've seen how that plays out. I just, again, the theme of this whole thing is seems to be harnessing complexity. And Uniswap X, the naming also I think is intuitive because we have Uniswap's one through four, right? Which are AMMs. And again, Uniswap X is not an AMM. It is a order router, an order optimizer. And so we have all of this expressive liquidity protocols that we call AMMs, Uniswap's one through four. And then we have this other expressive order fulfillment service called Uniswap X. It really kind of seems to be like a Yin and a Yang, like two sides of the same coin, where if you smash these things together, now you have Uniswap.
That is Uniswap, right? Right, yeah, I say that like this is definitely like a moment. And it's not the first moment, but it is a moment where Uniswap has an ecosystem can like step slightly beyond what it's done and kind of continue pushing into new territory. But yeah, definitely new frontiers, please. New frontiers. Yeah, I say that like definitely the end goal, right, is we want to create like decentralized markets and we want to today, right? People use decentralized markets because they are decentralized, but there's like a trade-off, right? The user experience is still a little bit worse.
They're still not as efficient. They're still not as much liquidity. It's still, you know, like you kind of like, people use it like despite the flaw, but we think that like in the long run, like decentralized markets can actually be like more powerful and stronger and like a better user experience and you know, more efficient market structures, right? Like, you know, we speak to like, like even like when you think about like a market-based approach to something versus like a single company that's trying to like, you know, optimize for, you know, for you, right, like moving into these models, we just think that like, you know, and using also like all these like new tricks that we've learned in blockchains and with crypto, you know, new novel cryptography and eventually we'll have like ZK Tech and like that's gonna be a part of the story.
Like this is like a first step. That's a really important thing I want to get across, like building like we want to build like the ultimate kind of like decentralized kind of order flow, you know, network and there's like a broader industry around us that are also working on these problems. We want to do it like collaboratively, right? Like teams like, you know, like flashbacks, et cetera. Like there was like all these other teams that are also working towards like, how do we like decentralized order flow? And this is like part of that story, but I think it's a really big moment for the industry because Uniswap is, and part because like, of how dominant Uniswap is from a like, you know, in terms of like volume and users.
Like something like probably like 30 plus percentage of all gas on Ethereum is Uniswap trades and it's a, and I guarantee it's a higher percentage of MEV because, you know, Uniswap trades generate more MEV than transfers. And so it might, you know, and so like, like having, you know, like, I think that like Uniswap, like us kind of stuffing this space like and like, is like really important for kind of helping push the industry forward and also like having users and like being able to like learn from them and kind of optimize and improve, you know, for real people that are really transacting.
Like it is like really useful and important. And you know, again, we're like really excited to do it collaboratively and like, and you know, if these other kind of like models also end up working out like things like swaps, like could like, you know, be directly tied into things like, you know, uswap X, like they're not like, also automatically competitive. We're all kind of like working towards like, decentralized order flow, generally. So what's the rollout plan for Uniswap X? How does it get started? Today, Monday, the 17th. Yeah, it's actually Sunday, but for us, but for you guys, we're hearing this on Monday.
What's the rollout plan? How does this actually launch? Yeah, so today, what we have is the, you know, single chain and main variant is in like an early kind of opt-in beta stage, meaning that when you make it transact, you know, when you go to Uniswap Web App, you can go into settings and you can turn it on. You can also just like make transactions and if there's a transaction that, you know, the interface thinks you will get a better price if you use Uniswap X, or if not a better price, like it's like, or, and I think again, it's like, this is like the first, like it's sort of like an early beta.
And so it's like, yeah, you know, it will suggest it to you and you can turn it on. Even once you've turned it on, it doesn't mean 100% of trades will wrap through it. It's actually gonna be like a, probably like a smaller percentage of trades. Only like certain tokens, only certain, you know, trade sizes, only certain pairs, only certain, you know, like it's, this is again, like the earliest beta rollout, we wanna really like test the system before we, you know, rolled out to more user, to like a full user base and for like, you know, all orders. And so, and, you know, so, you know, today, what we have is a working system for the main net version and the ability to opt in and have some percentage of your trades execute through it.
When you do, you will see that your order is now no longer cost gas, there's some mining UX tweaks that show like there's like no gas being paid. It will be a signature instead of a transaction. When the transaction is pending, you don't, you can't go to EtherScan, because the transaction has hasn't been created, because it's just an off-chain signature. So there's like a few things. It's kind of like a slow rollout. We really like, you know, this is like a big moment and a big change in a complex protocol. We wanna like optimize parameterization. We wanna give time for, you know, a competitive marketplace only exists when people join it.
That's really participatory. And so we have like some, you know, know a little bit of work to onboard some initial kind of fillers as to help like test the system. But like we really wanna give time for more people to onboard. And interact before, you know, before it becomes like the full thing. And so this is like an early version. And now in terms of like the cross-chain variant, unclear, we have some of our contracts right now, like stuff like parameterization, you know how long it will take fillers to start to integrate cross-chain. They're still probably gonna have to wrap their head around the single chain variant.
And that will take some time, as well as like the front end considerations of cross-chain trading. There's like some other changes that probably need to be made to like let you swap, you know, between different chains, like in terms of how we handle network connection and other things. So we're starting to like work on improvements in our web app today that like make it more multi-chain native. If you look at our wallet, our wallet is very like handles multi-chain very cleanly in our web app. It's like not quite there. And so like as we're like optimizing the single chain variant, we're gonna start like optimizing our web app to be better for multi-chain generally.
And then you know, hopefully like later this year, we have the cross-chain variant in our web app as well. And people will be able to make trades. But yeah, what service providers or what other people infrastructure is needed in order to actually get this thing up and rolling, like who do you, who do you need to hear from? Who do you need to get onboarded? Yeah, I'd say that like, you know, a lot of it already is like like like like, you know, swappers just need to use the web app as normal. The quiddy varieties just need to create the quiddy and the swap protocol is normal. I'd say that like what's new is there are definitely fillers and there's sort of, you know, initially like, there's initially just like an API that broadcasts, you know, orders.
And so in integrating that and being able to like fill orders, you know, there's already like, there's all these like people that do block building that can start tapping into that. So we need fillers to start discovering orders. Also, you know, for the RFQ variant, definitely there's a need of like people who provide quotes up front. That's about it. I'd say that like probably like wallets having like good UX around signature based orders will help. They all have signatures and like all other sites have done like signature based orders before. But the more like the wallets can be aware of like the UX implications of this, the better.
You know, I'd say that like people can start like, you know, looking at the cross-chain smart contracts and thinking about how to build adapters for other bridges. They wanted if Devs want to get involved in that. Generally like infrastructure around, you know, alternatives like a cool thing is that like, when a user signs an order, they're incentivized to like broadcast that order as broadly as possible. They want as many fillers to discover that as possible. Similarly, if you're a filler, you want to discover as many orders as possible. And so having like we done it and see if they're like broadcasting layer like, you know, like today we have a mempools and whatever for Ethereum transactions, like having like alternate like, you know, APIs for hosting signed orders stuff like that can could be helpful or interesting.
I think over time, they'll be like, it won't just be like one API for hosting these signed orders, right? And that's not the goal. So, you know, things that like help further the decentralization and I guess is also desired. But yeah, I don't know, that's a bunch of stuff. That's a lot of surrounding infrastructure. Again, a lot of moving parts, a lot of complexity, but also protocols that harness complexity is kind of a core theme of not just the Uniswap in the last year or so, but really crypto at large, I would say. I hate it, and it's been a crazy year for Uniswap in 2023. You got the mobile wallet, Uniswap V4, now Uniswap X.
Is there, I mean, we're only halfway through the year. Are you gonna be on again before the end of the year? I think I'll be on, I'm expecting two to three more times. In 2023? Probably, two. Oh my God, what else is coming now? We got some, we got some things lined up. I can show you privately after this. After this podcast. All right, well, apparently bank location, you can hold your breath because Hayden Adams will be back from more Uniswap releases. Just the absolute juggernaut in 2023. Hayden, thank you for being such a strong bear market builder and really pushing the space forward. Thank you, thanks for having me on and always love coming on bank lists.
And yeah, we're trying to decentralize finance, though. Yes, we are, it's we are. And we're doing a little bit jet lag at the very start of ECC. Both Hayden and I landed coming from the East Coast just a number of hours ago. So that's a big into ECC with the podcast. Hayden, thank you so much for joining me on bank lists today. Thanks for having me on. Cheers. Bank list nation, you know the deal. Crypto is risky, DeFi is risky. Uniswap X is a brand new protocol. It's probably also risky too, just because all things are. You can lose what you put in. We are headed west, however, it's not for everyone, but we are glad you are with us on the bank list journey.
Thanks a lot.