返回 Expert 笔记
Expert Day 107

Cross-domain MEV / 跨域 MEV

跨域 MEV 的形态、SUAVE Kettle 架构、Atlas Protocol 的 solver-centric 设计

2026-08-16
Phase 2 - MEV与DEX量化 (Day 103-116)
SUAVEAtlasCrossDomainMEVL2

日期: 2026-08-16 方向: MEV / DEX量化 阶段: Phase 2 - MEV与DEX量化 (Day 103-116) 标签: #SUAVE #Atlas #CrossDomain #MEV #L2


今日目标 / Today's Objectives

类型内容
学习跨域 MEV 的形态、SUAVE Kettle 架构、Atlas Protocol 的 solver-centric 设计
实操阅读 SUAVE 白皮书核心节,研究其 confidential compute + universal preference space
产出笔记 — SUAVE/Atlas/Espresso 三种跨域 MEV 解决方案对比

1. 核心机制 / Core Mechanics

1.1 什么是 Cross-Domain MEV

定义:当一个 MEV 机会涉及多个 domain(Layer1、Layer2、CEX、不同 chain)时的 MEV。 核心难点:不同 domain 的区块时间、共识、信任假设都不同,无法用单一 builder 原子化执行。

典型场景:

  1. CEX-DEX Arb: ETH 在 Binance 价格 $3010,Uniswap $3000 → CEX-DEX arber 同时在 CEX 卖、在 DEX 买
  2. L1-L2 Arb: 套利者在 Arbitrum DEX 与 Ethereum DEX 间套价差
  3. Cross-chain Liquidation: 一笔抵押品在 Optimism、负债在 Ethereum 的复合头寸需要多链协调清算

1.2 当前 Cross-domain MEV 占比

根据 Eigen Phi 2024 数据:

  • L1 内 MEV: ~$700M
  • Cross-domain MEV: ~$200M+ (未完全计入,CEX-DEX 难以测量)
  • CEX-DEX arb 总额估算: $1.5-2B/年(远超 on-chain MEV)

1.3 SUAVE 架构(Single Unified Auction for Value Expression)

Flashbots 2023-04 提出,目标:把所有 MEV 抽象到一个统一的 mempool + 拍卖层。

核心组件

┌──────────────── SUAVE Chain ────────────────────┐
│                                                  │
│  ┌─── Universal Preference Environment ──────┐  │
│  │  Users post intents:                       │  │
│  │   "swap 100 ETH → max USDC,                │  │
│  │     deadline 3 blocks,                     │  │
│  │     allow Ethereum + Arbitrum routes"      │  │
│  └────────────────────────────────────────────┘  │
│                                                   │
│  ┌─── Optimal Execution Market ───────────────┐  │
│  │  Solvers / Builders bid on intents         │  │
│  │  Sealed-bid auction in TEE Kettle          │  │
│  └────────────────────────────────────────────┘  │
│                                                   │
│  ┌─── Decentralized Block Building ───────────┐  │
│  │  TEE-based Kettles run builder code        │  │
│  │  Output signed bundles for target chains   │  │
│  └────────────────────────────────────────────┘  │
└───────────────────────────────────────────────────┘
                       │
                       ▼ Bundle export
                ┌──────┴──────┐
                ▼             ▼
        Ethereum        Arbitrum / OP / Base
        (mev-boost)     (sequencer)

Kettle:在 TEE(Trusted Execution Environment, e.g. Intel SGX)中运行的 SUAVE 节点,可以:

  • 接收加密的 user intent
  • 在 TEE 内 simulate 多链状态
  • 输出 sealed bundle 给 target chain

关键洞察:Kettle 的 TEE 提供 confidential compute —— builder 看不到 user 的 raw intent,但能 compute 最优 bundle。这是 SUAVE 区别于 Flashbots 当前方案的核心。

1.4 Atlas Protocol(FastLane 出品)

目标: solver-centric MEV 拍卖框架,应用方(DApp)自主选择 solver。 核心抽象: UserOperation + SolverOperation + MetaCall

流程:

1. User 调用 DApp(如 swap function)
2. DApp 把 call 转给 Atlas EntryPoint
3. Atlas 公布 UserOperation 给所有注册 solver
4. Solver 在 deadline 内 submit SolverOperation(含 backrun 等)
5. Atlas EntryPoint 选最高 bid solver, 执行 [SolverOp_pre, UserOp, SolverOp_post]
6. Solver 把利润分给 DApp / User / Validator

与 SUAVE 区别:

  • SUAVE: chain-level,跨多链
  • Atlas: app-level,单链内但 application-aware

1.5 Espresso & Shared Sequencer

Espresso Systems 的方案: 共享 sequencer 给多个 L2 → 跨 L2 atomic composability → 解决 L2 之间的 MEV 套利无法原子化的问题。

SUAVE vs Espresso:

  • SUAVE: 不需要共享 sequencer,通过 TEE simulation 即可
  • Espresso: 需要 L2 接入共享 sequencer,但能提供真正的 atomic cross-rollup tx

2. 架构图与数据流 / Architecture & Data Flow

                    ┌─── User wallet ───┐
                    │ "Swap 100 ETH for │
                    │  max USDC across  │
                    │  any chain"       │
                    └────────┬──────────┘
                             │ encrypted intent
                             ▼
                    ┌─── SUAVE Kettle ────┐
                    │  (TEE: Intel SGX)   │
                    │   - decrypt intent  │
                    │   - state from L1+L2│
                    │   - simulate routes │
                    └────────┬─────────────┘
                             │ broadcast intent (encrypted/MPC) to solver pool
                             ▼
                    ┌────── Solver Pool ──────┐
                    │  Wintermute / Jump /    │
                    │  MMs that crypto-bid    │
                    └────────┬─────────────────┘
                             │ sealed bids (in-Kettle)
                             ▼
                    Winning solver gets:
                       - Execution rights
                       - Sub-bundles for L1 + L2
                             │
                             ├──► Ethereum mev-boost ──► block
                             └──► Arbitrum sequencer ──► L2 block
                             
Settlement:
  user 收到承诺的 USDC 数量 (atomicity guaranteed by TEE attestation + bonds)

3. 代码实现 / Code Implementation

由于 SUAVE 还在 testnet (Toliman),这里展示一个简化的 Atlas Protocol DApp 集成。

"""
atlas_demo.py — Submit a UserOperation to Atlas Protocol.
Real Atlas requires Solidity contracts (Atlas EntryPoint + DAppControl).
This is a Python client showing the user-side flow.
"""
from web3 import Web3
import os

w3 = Web3(Web3.HTTPProvider(os.environ["ETH_RPC"]))

ATLAS_ENTRY_POINT = w3.to_checksum_address("0xF1A...PROD-ADDRESS")
SWAP_DAPP_CONTROL = w3.to_checksum_address("0xABC...SWAP-DAPP")


def build_user_op(from_addr: str, to_token: str, amount_in: int, min_out: int, deadline: int):
    """Build an Atlas UserOperation struct."""
    return {
        "from": from_addr,
        "to": SWAP_DAPP_CONTROL,
        "value": 0,
        "gas": 200_000,
        "maxFeePerGas": Web3.to_wei(50, "gwei"),
        "nonce": w3.eth.get_transaction_count(from_addr),
        "deadline": deadline,
        "dapp": SWAP_DAPP_CONTROL,
        "control": SWAP_DAPP_CONTROL,
        "callConfig": 0,
        "sessionKey": "0x" + "00" * 20,
        "data": encode_swap_call(to_token, amount_in, min_out),
        "signature": "",
    }


def encode_swap_call(token: str, amount_in: int, min_out: int) -> bytes:
    sig = w3.keccak(text="swap(address,uint256,uint256)")[:4]
    payload = (
        bytes.fromhex(token[2:].zfill(64))
        + amount_in.to_bytes(32, "big")
        + min_out.to_bytes(32, "big")
    )
    return sig + payload


def submit_to_atlas(user_op):
    """Atlas auctioneer endpoint receives the userOp + collects solver bids."""
    # Atlas auctioneer is an off-chain service that runs the auction; HTTP API.
    import requests
    r = requests.post(
        "https://auctioneer.atlas-protocol.io/v1/userOps",
        json=user_op, timeout=10,
    )
    return r.json()


# Example invocation
if __name__ == "__main__":
    op = build_user_op(
        from_addr=Web3.to_checksum_address("0xYOUR_ADDRESS"),
        to_token="0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",  # USDC
        amount_in=100 * 10**18,
        min_out=290_000 * 10**6,
        deadline=int(__import__("time").time()) + 60,
    )
    result = submit_to_atlas(op)
    print("Atlas auction result:", result)

4. 真实数据 / Real Data

项目StatusTVL/Volume备注
SUAVE Toliman testnet2024-Q4 launchedN/A (testnet)TEE-based block building
Atlas ProtocolMainnet 2024-Q3$50M+ cumulative volumeFastLane Labs
Espresso SystemsMainnet 2025Caldera, Polygon CDK 等接入Shared sequencer
AnomaTestnetN/AIntent-centric, related concept
Cross-domain MEV 估算数值
CEX-DEX arb 年总额$1.5-2B
L1-L2 arb 年总额$80-150M
Cross-rollup arb$20-50M (early stage)
占整体 MEV 比例~30% (rising)

5. 经济学分析 / Economic Analysis

5.1 SUAVE 的价值流向

User intent → SUAVE Kettle → Solver auction → Multi-chain bundle export

User 收益: 更好的执行价 (intent 之间竞争)
Solver 收益: bid price - actual execution cost
Kettle operator 收益: protocol fee (TEE 服务费)
原 builder/searcher 受影响: 部分 MEV alpha 被 SUAVE 重新分配

5.2 Atlas 的 Application MEV Capture

Atlas 的核心创新:让 DApp 拿走部分 MEV。 传统 PBS 中 MEV 流向:searcher → builder → validator。 Atlas 加入 DApp:searcher → DApp → user (DApp 可选 share with user)。

实证: 在某个 swap DApp 上,10K 笔 swap 通过 Atlas 路由,DApp 拿到 0.05-0.15% 的额外收入(比传统 fee tier 多)。

5.3 Cross-domain MEV 的合规问题

机构关心:cross-domain arb 是否构成 wash trading?

  • CEX-DEX arb: 通常被视为合法 market making
  • L1-L2 arb: 单实体在两个 venue 同时操作,需 KYC 一致性
  • Statistical arb cross-chain: 美国 CFTC 已开始关注

6. 机构视角 / Institutional Perspective

机构如何参与 cross-domain MEV:

机构类型角色切入点
HFT 量化 (Jump, Wintermute)CEX-DEX 主力套利Co-locate Binance + Uniswap node
MM (GSR, Amber)OFA solverUniswapX / 1inch Fusion filler
Crypto-native infra (Flashbots, FastLane)协议开发SUAVE Kettle / Atlas Auctioneer
Validator pools (Lido)mev-boost 客户决定支持哪些 SUAVE-relayed bundle

机构 PM 的关键问题: 如果 SUAVE 成功,当前 Flashbots 中心地位会被削弱吗? 答案是:Flashbots 自己就是 SUAVE 的主导者,相当于自我革命。机构应配置:(a) 与 Flashbots 关系(base case),(b) 多个备选(Atlas、Espresso)(hedge)。

RWA / 机构客户的核心 demand: 跨链原子结算(cross-chain atomic settlement)。SUAVE 是技术答案,但合规和审计仍未解决。


7. 风险与陷阱 / Risks & Pitfalls

  1. TEE 信任假设: SUAVE Kettle 依赖 Intel SGX 等 TEE,SGX 已多次被旁路攻击(如 Foreshadow, SGAxe)。Side channel 攻击可能 leak 加密 intent。
  2. Solver 集中: SUAVE / Atlas 都依赖少数 sophisticated solver,仍然有中心化趋势。
  3. 跨链原子性失败: 即使 SUAVE 通过 attestation 保证 intent 满足,跨链 bundle 单边失败导致用户库存暴露的风险仍存在。需要 bond / insurance 机制。
  4. Espresso shared sequencer 的活性风险: 一旦 sequencer 失效,所有接入 L2 同时受影响。
  5. Builder vs Solver 边界模糊: SUAVE 把 builder 角色泛化,会引发现有 PBS 利益方的反弹(Flashbots 内部 OK,但 Beaverbuild 不一定愿意)。
  6. 审计缺失: SUAVE 的 confidential compute 让传统 auditor 无法直接审查 bundle 选择逻辑。

8. 关键速查 / Quick Reference

项目链接
SUAVE Whitepaperhttps://writings.flashbots.net/the-future-of-mev-is-suave
SUAVE Toliman testnethttps://suave.flashbots.net
Atlas Protocol Docshttps://docs.atlas-protocol.io
Atlas EntryPoint (Mainnet)0xF1A... (查 Etherscan FastLaneLabs)
Espresso Systemshttps://espressosys.com
Anoma intent docshttps://anoma.net
Eigen Phi cross-domain dashboardhttps://eigenphi.io/cross-domain

核心术语:

  • Kettle: SUAVE 的 TEE 计算节点
  • Universal preference: 跨链通用 intent 表达
  • MetaCall: Atlas 中包含 [pre-solver-op, user-op, post-solver-op] 的原子调用
  • Atomic composability: 多笔操作要么全成要么全失败的能力

9. 面试题 / Interview Questions

  1. 解释 SUAVE 的 Kettle 设计如何同时实现 confidentiality 和 decentralization。它的核心信任假设是什么?
  2. Atlas Protocol 让 DApp 拿走部分 MEV,这会改变 PBS 的 builder 经济学吗?为什么?
  3. Espresso 的 shared sequencer 与 SUAVE 的 cross-domain bundle 是竞争关系还是互补关系?请论证。
  4. 如果你是一家做市商的策略主管,SUAVE 上线后你会调整 CEX-DEX arb 策略吗?具体调整哪些维度?
  5. TEE-based MEV 的 supply chain 风险(SGX 漏洞、芯片厂商关停服务)你如何评估?给出 mitigation 框架。

10. 明日预告 / Tomorrow

Day 108: Order Flow Auction — UniswapX、CoW Protocol、1inch Fusion 是当前 OFA 三巨头。我们将对比三家的 solver/filler 机制、价格改善(price improvement)数据、以及其对零售用户和机构的影响。