Can We Return the MEV Left Behind by a Swap to the User?
In 2022, a DeFi swap could finish in seconds. Its economic afterlife did not.
A user makes a large swap through an AMM. The pool's reserve ratio moves, opening a price gap against another DEX. A searcher spots the gap and immediately submits the opposite trade. The two prices that had drifted apart move closer again, and the searcher captures the arbitrage profit.
The market appears to have worked as intended: arbitrage brought prices back into line. But the transaction leaves an uneasy ending for the trader. The user's action created the price gap, and the user paid the slippage and gas. The value created by that trade went instead to whoever followed it fastest.
At the end of 2022, our question began there.
What if the arbitrage did not have to wait outside the user's transaction? Could the protocol capture it first and return the remaining value to the user?