[Paper Review] Credible Decentralized Exchange Design via Verifiable Sequencing Rules
This paper proposes verifiable sequencing rules to prevent miner front-running in decentralized exchanges (DEXs), ensuring users receive fair execution prices. It proves an impossibility result for any sequencing rule to fully eliminate risk-free profits, but introduces a verifiable rule that guarantees users either get at least their standalone price or the miner gains nothing when including their trade—without requiring user-side countermeasures.
Trading on decentralized exchanges has been one of the primary use cases for permissionless blockchains with daily trading volume exceeding billions of U.S.~dollars. In the status quo, users broadcast transactions and miners are responsible for composing a block of transactions and picking an execution ordering -- the order in which transactions execute in the exchange. Due to the lack of a regulatory framework, it is common to observe miners exploiting their privileged position by front-running transactions and obtaining risk-fee profits. In this work, we propose to modify the interaction between miners and users and initiate the study of {\em verifiable sequencing rules}. As in the status quo, miners can determine the content of a block; however, they commit to respecting a sequencing rule that constrains the execution ordering and is verifiable (there is a polynomial time algorithm that can verify if the execution ordering satisfies such constraints). Thus in the event a miner deviates from the sequencing rule, anyone can generate a proof of non-compliance. We ask if there are sequencing rules that limit price manipulation from miners in a two-token liquidity pool exchange. Our first result is an impossibility theorem: for any sequencing rule, there is an instance of user transactions where the miner can obtain non-zero risk-free profits. In light of this impossibility result, our main result is a verifiable sequencing rule that provides execution price guarantees for users. In particular, for any user transaction A, it ensures that either (1) the execution price of A is at least as good as if A was the only transaction in the block, or (2) the execution price of A is worse than this ``standalone'' price and the miner does not gain (or lose) when including A in the block.
Motivation & Objective
- To address the problem of miner front-running in decentralized exchanges (DEXs), where miners exploit their block-sequencing power to extract risk-free profits.
- To design a framework that ensures credible, verifiable sequencing rules that constrain miner behavior and prevent price manipulation in constant function market makers (e.g., Uniswap-style DEXs).
- To eliminate the need for users to employ defensive strategies like limit orders or transaction splitting to avoid predatory trading.
- To formally analyze whether sequencing rules can credibly limit miner extractable value (MEV) in a way that is both enforceable and verifiable.
- To provide a practical, deployable rule that offers strong price guarantees under realistic market conditions without relying on trust in miners.
Proposed method
- Introduces the concept of verifiable sequencing rules—rules that constrain transaction ordering in a block and can be efficiently verified by any party using a polynomial-time algorithm.
- Designs a novel sequencing rule that ensures, for any user transaction A, either (1) the execution price is at least as good as if A were alone in the block, or (2) if the price is worse, the miner gains no profit from including A.
- Uses cryptographic and game-theoretic techniques to ensure that any deviation from the rule can be publicly proven, enabling on-chain enforcement.
- Applies the framework to two-token liquidity pools using constant function market maker (CFMM) models, such as Uniswap.
- Employs a formal model of miner incentives and user order submission to analyze strategic behavior under the proposed rule.
- Demonstrates that the rule is computationally efficient and compatible with existing blockchain infrastructure, requiring no changes to user behavior or smart contract logic.
Experimental results
Research questions
- RQ1Can any sequencing rule credibly prevent miners from extracting risk-free profits through front-running in a decentralized exchange?
- RQ2Is it possible to design a verifiable sequencing rule that guarantees fair execution prices without requiring users to adopt defensive strategies?
- RQ3What are the fundamental limitations of sequencing rules in preventing miner manipulation in CFMM-based DEXs?
- RQ4Can a sequencing rule be constructed such that deviations are detectable and provable, enabling on-chain enforcement?
- RQ5Under what conditions does a miner gain no profit when including a transaction that results in a worse execution price for the user?
Key findings
- The paper establishes an impossibility theorem: for any sequencing rule, there exists a set of user transactions where a miner can extract non-zero risk-free profits.
- Despite this impossibility, the authors design a verifiable sequencing rule that ensures users either receive at least their standalone execution price or the miner gains no profit when including their transaction.
- The proposed rule guarantees that no miner can profit from manipulating the order of transactions in a way that harms users, provided the rule is correctly enforced.
- The rule is verifiable via a polynomial-time algorithm, enabling anyone to detect and prove miner non-compliance on-chain.
- The framework does not require users to set limit prices, split transactions, or use other countermeasures, improving user experience.
- The result holds under standard assumptions for CFMMs (e.g., Uniswap-style pools), making it directly applicable to real-world DEXs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.