FRP-23: Constant Function Market Making, Social Welfare and Maximal Extractable Value

Bruno and me wrote up some initial results looking at welfare and MEV from CFMMs and would be super happy for feedback https://arxiv.org/pdf/2211.07220.pdf this is a result partly of mev-research/ FRP-23.md at main · flashbots/mev-research · GitHub

Would be delighted for feedback and directions from the comunity.

9 Likes

Nice!

questions/clarification:

  • My understanding of Walrassian Equilibria was that envy-freeness is implied. Does your definition of WE price imply envy freeness?
  • What were the parameters of the simulations you ran? How many agents and by what rule did they act/observe price updates?
  • To be clear, you are assuming the mechanism in section 4 always finds the Walrassian Allocation and that the only actions available to the validator are censorship and insertion?
  • In the setting where there is an external market price vector, is the assumption that users can trade at these prices at other venues?
  • How do you think LP fees factor into all of this?
  • I didn’t understand your very last example very well. You are showing that in some cases MEV is not minimised at WE in the presence of Walrassian Demands. Could you elaborate a bit more on that?
1 Like

Yes.

The agents have their utility and their endowments drawn from a uniform over the unit interval, they max their utility to determine their demand and observe the price when it is their turn to trade. The CFMM has initial reserves (900,1111.11), they show steady state behaviour after 25,000 trades.

yes

Yes, it is stronger assumption than that: that the amount they can trade in the other venues at that price is much bigger than the CFMM amounts.

They would break the WE prices, so don’t fit quite well in the welfare analysis. They are a hard problem and out of scope for this work I would say.

When there is congestion (more transactions than blockspace to fit them all in) there is some MEV in this formal definition, from the fact that something will get excluded and picking what is valuable.

Great thanks! Would be nice if the paper clarified some of these points :slight_smile:

We’re currently in the process of drafting the second version of the paper.

1 Like