It’s all about the swaps. Why order flow auctions make DEXs better

The priority is to get MEV back to the users, Miller says

article-image

stockce/Shutterstock modified by Blockworks

share

Flashbots product lead and steward Robert Miller describes a better decentralized exchange experience, enabled by mechanisms like intents and order flow auctions. 

A user might simply sign their intent to trade USDC for [ether], for example, leaving the system to determine the best way to make it happen. “There’s many ways to do this,” Miller says. “Usually, they involve some form of competition among many different parties to give the users the best execution possible.”

This is where order flow auctions, or OFAs, come into play. On the Bell Curve podcast (Spotify/Apple), Uniswap Labs research scientist Xin Wan explains that an array of orders are constantly flowing into decentralized exchange or DEX markets to be processed, mostly consisting of swaps.  

Participants “assign value to these transactions,” he explains, and “pay for the opportunity to interact with these orders.”

“The order flow auction is just the auction for them to bid on the opportunity to interact.”

Paradigm general partner Dan Robinson adds that ideally, the proceeds of the auction go to the user who initially created the transaction or intent. In some cases, proceeds might also be sent to the interface that originated the transaction. 

Ultimately, the goal is to return the maximal extractable value, or MEV, to users rather than allowing it to be siphoned away by parasitic actors in the system. 

“In the last year,” Miller says, “we’ve seen a huge explosion of different types of order flow auctions.”

“They’re working with individual Ethereum transactions, but also order flow auctions work with intents, like Uniswap X.” 

With intent-based swapping systems like Uniswap X, many complexities of trading are abstracted away from the users, simplifying the experience and ideally, lowering transaction costs. Users simply sign their intent and let the system take care of all the complexities.

MEV finds a way

Flashbots has succeeded in helping mitigate MEV with order flow auctions that pay the value back to users, Miller says, but he is concerned about the potential centralizing effects of the off-chain elements that run the auctions.

“Our answer to this new form of centralization in the market is Suave,” he says. Developers can use Suave to create order flow auctions and other types of MEV infrastructure as smart contracts on a decentralized blockchain, with built-in credibility and privacy, according to Miller.

In today’s decentralized exchange market, Miller says the majority of MEV comes from swaps. “To that end,” he says, “an OFA that addresses swaps is going to address the majority of the market space.”

But it’s not immediately clear to Miller that this will continue to be the case in the future. “MEV finds a way — and it’s oftentimes popping up in unexpected places,” he says. He mentions that a lot of MEV takes place on the Web3 social app, Friend.tech, for example, which “look like swaps” but are conceptualized differently. 

Read more: Web3 Watch: SocialFi apps secure funding despite investment lull

“So who knows where it will come in the future,” he says, adding, “maybe a gaming use case, maybe something else. But today, definitely, the majority of MEV is coming from swaps.”

Wan notes that swaps are, of course, Uniswap’s specialty. “That’s what we are good at,” he says, “and Uniswap, for its history, has always almost exclusively done swaps.”

“We never tried to branch out into lending or other DeFi stuff. No stablecoin, no anything else. Just swaps.” 

“There’s so many MEV and other execution related problems with the way swaps happen on-chain,” he says. “Uniswap X is just a nice way to improve the user experience.”

“Maybe in the future, there’s a ton more activities — and I would love to see that,” he says. “Right now, we’re still taking a somewhat more specialized approach.”


Start your day with top crypto insights from David Canellis and Katherine Ross. Subscribe to the Empire newsletter.

Explore the growing intersection between crypto, macroeconomics, policy and finance with Ben Strack, Casey Wagner and Felix Jauvin. Subscribe to the Forward Guidance newsletter.

Get alpha directly in your inbox with the 0xResearch newsletter — market highlights, charts, degen trade ideas, governance updates, and more.

The Lightspeed newsletter is all things Solana, in your inbox, every day. Subscribe to daily Solana news from Jack Kubinec and Jeff Albus.

Tags

Upcoming Events

Javits Center North | 445 11th Ave

Tues - Thurs, March 18 - 20, 2025

Blockworks’ Digital Asset Summit (DAS) will feature conversations between the builders, allocators, and legislators who will shape the trajectory of the digital asset ecosystem in the US and abroad.

recent research

Research Report Templates (6).png

Research

In recent months, a number of highly accretive developments were implemented across the protocol to improve fee capture, expand product functionality, and ultimately drive value accrual to the RUNE token, with more upgrades on the immediate horizon. These developments include hiking the minimum swap fee parameter to increase revenue, adding a Burn System Income Lever to reduce the RUNE supply, the addition of COSM-WASM smart contracting and IBC to enable an application layer, new chain integrations, and more.

article-image

Plus, Celestia looks about to flip Ethereum data availability usage

article-image

Decentralization is still a core tenet of crypto, even if it’s not exactly pragmatic these days

article-image

Crypto.com said it received a Wells notice from the SEC in late August

article-image

A repayment plan has officially been approved, nearly two years after FTX went bust

article-image

Coinbase filed an interlocutory appeal in its case against the SEC earlier this year

article-image

FTX “never had the crypto” to make in-kind distributions, witness says at FTX’s confirmation hearing