1 of 44

Mafia, Moloch, Monarch

Sorry but this formulation of MEV is mid

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

  • Sollicitudin
  • Consectetur
    • Condimentum
      • Magna
      • Ligula

2 of 44

This is MEV

Mafia, Moloch, Monarch

Xinyuan Sun

Research, Flashbots ⚡🤖

3 of 44

This is MEV

Mafia, Moloch, Monarch

Xinyuan Sun

Research, Flashbots ⚡🤖

4 of 44

Al Capone, Evil Deity, Louis XVI

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

  • Sollicitudin
  • Consectetur
    • Condimentum
      • Magna
      • Ligula

5 of 44

This is MEV

Al Capone, Evil Deity, Louis XVI

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

  • Sollicitudin
  • Consectetur
    • Condimentum
      • Magna
      • Ligula

6 of 44

Romance of the three MEV

Abstraction

7 of 44

Al Capone the Mafia

Mafia Extractable Value arises when one agent (coalition of agents) gains an asymmetric knowledge of another agent’s private information (asymmetric sophistication).

Examples:

  • Sandwiching
  • Generalized Frontrunning
  • Trading on limit-order-book imbalance, gain knowledge of other agent’s utility (intent): see more bid than ask, take best ask and make best bid

8 of 44

Evil Deity the Moloch

Moloch Extractable Value is the value that is surrendered to the Moloch, i.e., uncoordination.

Examples:

  • Negative externalities caused by inexpressive mechanisms, e.g., shrinked transaction quality trilemma because of spam from random ordering
  • OG “High Frequency Trading Arms Race” where arms race cost is transferred into higher spread for users
  • Lack of x-domain bundles make searchers price-in the risk, does less arbs, making market less efficient

9 of 44

Louis XVI the Monarch

Monarch Extractable Value arises from the fact that the coordinator (e.g., sequencer, validator) has the ultimate power of deciding the ordering/allocation of spec-on-state (which specification/property does the next state satisfy).

Examples:

  • Validators accrue value because they have the power of determining block content
  • X-domain market maker bridge extracting value by market making swaps
  • Colocation fees that accrue to exchanges/latency service providers, who has power of deciding the outcome

10 of 44

{Mafia, Moloch, Monarch}

Suppose M is the Monarch in our universe/game E, and W is the social welfare function.

  • MolochEV = W(M*) - W(M), where M* is the best possible mechanism for E to allocate spec-on-state
  • MonarchEV = W(M) - W(-M), where -M is the game E without M as coordinator
  • MonarchEV + MolochEV = W(M*) - W(-M), is innate to the game E and does not depend on M, so it is a constant (fixing E)
  • MafiaEV depends on the sophistication details/power of agents in M (how much ex-post knowledge, or “last look,” you can have over other agents)

The three values have distinct sources, and those sources of value are non-overlapping.

Thus, we call them 3EV, {Mafia, Moloch, Monarch} Extractable Value, sum type, perfection.

11 of 44

Future is in our hands

MafiaEV + MolochEV + MonarchEV = 100% MEV

MonarchEV + MolochEV = a constant depending only on E, but percentage depends on M. Nice link with Price of Anarchy meme (can give bound version).

MafiaEV = a constant depending on M.

Since the sources are distinct, we can adjust the percentage of the three variants by transforming one form of MEV into another (by designing a good M)

Ideally, we have 0% MafiaEV, 0% MolochEV, 100% distributed MonarchEV

12 of 44

0%, 0%, 100% with distribution

Suppose M is the Monarch in our universe/game E, and W is the social welfare function.

  • MolochEV = W(M*) - W(M), where M* is the best possible mechanism for E to allocate spec-on-state
  • MonarchEV = W(M) - W(-M), where -M is the game E without M as coordinator
  • MonarchEV + MolochEV = W(M*) - W(-M), is innate to the game E and does not depend on M, so it is a constant (fixing E)
  • MafiaEV depends on the sophistication details/power of agents in M (how much ex-post knowledge, or “last look,” you can have over other agents)

The three values have distinct sources, and those sources of value are non-overlapping.

We can adjust the percentage of MonarchEV + MolochEV = 100%

13 of 44

Monarch - Caveats

W(-M) depends on the game E.

Assume M represents a domain/builder/some coalition of agents, we give an inter-domain coalition factor k, where k=1 if M is monopolistic across all domain (including time as a domain, so k is a discounted n-dimensional preference curve), and k=0 if M is powerless.

Forming a larger coalition means higher k, enables more credible extortion, with MonarchEV for M = k*MonarchEV if M and -M forms a grand coalition.

Users can be Monarch if they have a large enough k, similar for validators, searchers, builders, etc,. The inter-domain coalition factor represents your collective bargaining power, which determines how M is setup within E

14 of 44

Monarch - Caveats

However, core of this cooperative game might not exist if we have too many inter-temporal coalitions, i.e., non-monotonicity of coordination/efficiency & incompleteness theorem of MEV.

The specific values of k depends on how we setup the game. We can throne or dethrone different monarchs, ultimately, we want to choose M* that is most incentive aligned with long-term prosperity and is most capable of coordination.

Reason for Monarch abstraction is because outcome is not common knowledge and depends on agents’ private information which other agents don’t have prior to MEV-time. So it’s hard to analyze equilibria (esp. sophistication semantics), thus we reduce guarantee to have bounds on incentive compatibility and individual rationality.

15 of 44

Case Studies

Concretization

16 of 44

On Frequent-batch-auction style first-come-first-serve

Vanilla-FCFS

v.s.

FBA-FCFS

Instead of reporting a strict ordering (by receive-order time) of transaction, each individual node report a partial ordering to the leader of the ordering consensus protocol.

>, >=

After aggregating each individual nodes’ preferences, the Monarch (leader) gets a weak ordering (by FCFS) with unordered batches in it (caused by condorcet paradoxes and the initial partial ordering). Now the Monarch tries to resolve the order of the unordered batch using auctions

17 of 44

Vanilla-FCFS

v.s.

FBA-FCFS

65%+ of Uniswap volume is from (statistical) arbitrage, and among the other 35% it’s a few big market makers.

The burst period on Ethereum (arises from public information reveal) takes around 1.2s, and 75% of the conflict of preferences happen in 4% of the time. Vanilla FCFS compared with FBA-FCFS, will be bearing extra negative externalities (e.g., centralization, higher fees, worse UX, etc,.) from 12x more conflict of preferences.

Bursts of conflict of preferences are significant, and just adding some partial ordering in FCFS mitigates most.

If we compared 3EV of vanilla-FCFS with FBA-FCFS:

Mafia: same, 0%, (assuming programmable privacy)

Moloch: much more, from uncoordination and a naive ultra-simplified social choice function that does not coordinate burst period MEV (permissionless, price discovery, atomic)

Monarch: much less (by def), also it throned the wrong king (AWS, Google Cloud), the Monarch is not incentive aligned and is more centralizing

18 of 44

Transformation of 3EV

19 of 44

Spread charged by Market Maker bridges

20 of 44

If miners go rogue and steal bundles

21 of 44

When you go from public mempool to vanilla-FCFS

22 of 44

A malicious coordinator that pockets all surplus

23 of 44

Programmable privacy

24 of 44

DAO governance (non-monotonic decentralization)

25 of 44

Implications

Concretization

26 of 44

Implications

How to achieve 0%, 0%, and a distributed 100%?

MafiaEV: programmable privacy, which allows full expressivity and agents control how their information is used along the path of determination of outcome by M.

MolochEV: efficiency, Price of Anarchy elimination via refinement of society ie specialization. Slack v.s., Eula.

MonarchEV: value division in a way such that maximizes welfare/future returns. Don’t focus on tiny kickbacks to existing 1x users, focus on onboarding the invisible 99x users, as MonarchEV grows superlinearly (dMEVdt). For example, investments into wallets, or retroPGF.

27 of 44

Evolution

How to achieve 0%, 0%, and a distributed 100%?

3EV was defined by source of value

Sink of value is different, e.g., MafiaEV sinks to Monarch

Sink of value impacts the source of value

Controlling sink allows controlling source, via the magic of credible commitments

  • Builder as rollup (zk/op, optimistic social sequencing)
  • Expressivity of bidding language (incompleteness theorem), semantics lattice
  • Decentralization of building (parametrized Themis)
  • SGX, tokens, revelation principles, etc,.

But all of this conditions on a low enough inter-domain coalition factor, i.e., high enough competition (contestable).

28 of 44

Philosophical Foundation

For “This is NOT MEV”

Utterance

29 of 44

Presuppositions and Utterances

“X is MEV”

“There exists a game E and an allocation mechanism/ordering protocol M, and that within (M, E) using the 3EV definitions we can indeed see X is constituted by a type (or multiple types) of 3EV.”

Utterance of “X is MEV” has a presupposition of the existence condition of E and M and X being indeed in the set 3EV(E, M). Thus, if there does not exists such E and M (absent of the Monarch), then the utterance is false. X is NOT MEV

30 of 44

Example

The value Kim and Don is extracting absent a Monarch, i.e., (1,1), is NOT MEV

31 of 44

Language Games

“X is MEV”

The sentence might be true, as the context of the utterance is social and we might agree on some notion of the game.

If the sentence is presented without context, then the sentence is nonsense and has no truth value.

Thus, ultimately the test of MEV conditions on which philosophical interpretation of language you agree with, if you are Wittgenstein and believes that the utterance is within the context where it is socially agreed that the Monarch is existent (which is often the case, as we can say physics is the Monarch), then that value is indeed MEV.

32 of 44

Let’s change the “Language Game”

Aren’t you tired of “Miner” or “Maximal?” (where the grammar isn’t even correct, we say maximal MEV all the time)

We should just say MEV, and it conveniently represents a short hand for the sum type of

{Mafia, Moloch, Monarch} Extractable Value

33 of 44

MEV = {Mafia,Moloch,Monarch}

Extractable Value

Benefits:

  • Distinct values (source)
  • Formalizable (social process)
  • Settles “bad” MEV
  • Tradeoff (transform) space clear
  • Implies clear solution recipe
    • Research MonarchEV distribution!
    • Research programmable privacy!
  • Presupposition test (context clear)

34 of 44

3EV 3EV 3EV 3EV 3EV 3EV 3EV 3EV 3EV 3EV

3EV 3EV 3EV 3EV 3EV

3EV 3EV 3EV 3EV 3EV

3EV 3EV 3EV 3EV 3EV

3EV 3EV 3EV 3EV 3EV

3EV 3EV 3EV 3EV 3EV

3EV 3EV 3EV 3EV 3EV

3EV 3EV 3EV 3EV 3EV

3EV 3EV 3EV 3EV 3EV

3EV 3EV 3EV 3EV 3EV

35 of 44

3EV: {Monarch, Moloch, Mafia} Extractable Value

Xinyuan Sun

Research, Flashbots ⚡🤖

xinyuan@flashbots.net

@sxysun1

36 of 44

37 of 44

38 of 44

39 of 44

Improvements

Vanilla-FCFS

v.s.

FBA-FCFS

  • Robustness
    • instability <> dishonesty is encouraged with minimal risk
    • long-term prosperity <> honesty <> incentive alignment and recognizing monarchy
  • Fairness
    • Creates centralization which harms geographical decentralization, network security, censorship resistance and liveness
    • Externality channeled by sophisticated users to unsophisticated users in the form of a less efficient market and worse UX
    • Thrones AWS/Google as Monarch, who isn’t incentive aligned with crypto in the prosperity of the domain and its long-term value accrue/user acquisition

40 of 44

Taxonomy

Concretization

41 of 44

42 of 44

Formalization

Abstraction

43 of 44

Axiomatic Approach

Sophistication Semantics

  • Collusion
  • Knowledge
  • Strategic

Axioms

  • Opaque Coordinator
  • Colluding Monotonicity
  • Self-awareness
  • Strategic Coordinator

44 of 44

Axiomatic Approach

(Coalitional) Extortion

(Coalitional) Stealing