arXiv:2610.23547cs.GTOct 2026

Manuscript Offprint

arXiv:2610.23547

Uniform-Price Mechanism Design for Automated Market Makers

Zhike Peng

Zhike Peng ∗^{*}[0009-0003-1974-2012]

Department of Computer Science and Technology,

Tsinghua University, 30 Shuangqing Road, Beijing 100084, China

pzk22@mails.tsinghua.edu.cn

Abstract. Automated market makers (AMMs) are a central source of liquidity in decentralized exchanges, but their reserve curves make mechanism design substantially different from classical double auctions.

We study a batch double auction with buyers, sellers, and a liquidity-nondecreasing AMM: post-trade reserves must have weakly larger product than the initial reserves. Each user has two-dimensional private information: a unit value and a demand or supply quantity. The mechanism must clear user trades at one uniform price while keeping the post-trade AMM state feasible. The objective is user-side trading volume, benchmarked against the optimal feasible individually rational (IR) uniform-price allocation. We give a randomized uniform-price mechanism based on binary quantity buckets. It randomly chooses one of three clearing modes: peer-to-peer matching, AMM sales to buyers, and seller sales to the AMM. Every deterministic realization of the mechanism is ex-post feasible and satisfies IR and weak quantity incentive compatibility: conditional on any quantity report, truthful unit-value reporting is dominant whenever it gives a non-negative utility, no unit-value deviation gives a positive utility if the truthful one doesn't, and users cannot benefit by under-reporting the quantity together with their truthful unit value. Let V∗V^* denote the optimal feasible IR uniform-price volume without additional incentive constraints, and let γ=qˉ/q‾\gamma = \bar{q}/\underline{q}, where qˉ\bar{q} and q‾\underline{q} are the upper and lower bounds on users' quantity domain. For γ≥1\gamma \geq 1, the mechanism achieves an expected trading volume of

Ω(1/(1+log⁡γ)2)V∗−O(qˉ).\Omega(1/(1+\log\gamma)^{2})V^{*}-O(\bar{q}).

We also show that full incentive compatibility over the two-dimensional type space forces a worst-case approximation ratio of O(1/γ)O(1/\gamma) at every prescribed initial reserve ratio, even when both AMM reserves are scaled by an arbitrarily large common factor and the optimal volume V∗V^* is arbitrarily large relative to qˉ\bar{q}.

Keywords: Automated market makers · double auctions · uniform pricing · mechanism design · approximation guarantees

∗^{*} Corresponding author. The author thanks Jing Chen for her guidance and support, and Jichen Li, Xuanzhi Xia, Wentao Zhou, and the anonymous reviewers for helpful comments. This work is partially supported by the Beijing Advanced Innovation Center for Future Blockchain and Privacy Computing.

Z. Peng

1 Introduction

Public blockchains have made financial applications programmable and continuously settled on a shared ledger. Decentralized exchanges are among the most important examples, and automated market makers (AMMs) are their main source of on-chain liquidity: constant-function automated market makers (CFAMMs) have been reported to handle daily trading volumes between USD 3 billion and USD 6 billion [8], and they are now standard infrastructure in decentralized finance [17]. Instead of maintaining an order book, an AMM replaces counterparty search with a deterministic trading rule maintained by a liquidity pool. Early theory mostly focused on CFAMMs, especially constant-product automated market makers (CPAMMs), and characterizes the geometry of these pools, including their prices, slippage, and arbitrage behavior [3, 4].

The blockchain execution environment also shapes the relevant market design problem. Transactions are ordered and executed block by block. On a decentralized exchange, users broadcast transactions and validators or builders select an execution ordering within each block; for an AMM, that ordering determines the sequence of reserve states and hence the prices faced by contemporaneous traders [11]. Sequential execution therefore creates ordering externalities, arbitrage races, and sandwich attacks [10, 20]. Batch execution is a natural design response. By collecting orders over a clearing interval and executing them at one uniform price, a batch mechanism treats contemporaneous orders symmetrically and reduces the value of manipulating transaction order. This follows the same broad market-design logic as frequent batch auctions, which replace continuous serial processing with discrete-time uniform-price clearing [6].

Prior work on batch AMMs shows that batching can be combined with reserve-state rules that differ from the usual constant-function execution rule. Canidio and Fritsch [8] propose the function-maximizing AMM (FM-AMM), in which batched trades execute at the post-batch marginal price and, in the constant-product case, the pool may move to a higher product level. Ramseyer et al. [21] study CFAMMs in batch exchanges under a nondecreasing trading-function requirement. Motivated by this reserve-state feature, we abstract away from the AMM response rule itself and impose only that, after batch clearing, the constant-product AMM's reserve product is weakly larger than before. This abstraction gives the batch mechanism additional flexibility in clearing order imbalances while preserving a minimal liquidity-nondecreasing requirement on the AMM. We call an AMM satisfying this reserve feasibility constraint a liquidity-nondecreasing AMM (LND-AMM).

This leads to a different question from the existing batch-AMM literature. Buyers and sellers submit both a unit value and a quantity. A mechanism chooses user allocations and payments at one uniform price, while the AMM absorbs the residual net imbalance induced by those allocations subject to the LND feasibility constraint. Inspired by maximal-volume matching in the double-auction literature [19], and by the importance of executed order flow in AMM markets [8, 1], we measure efficiency by total user-side trading volume. Thus a peer-to-peer trade of q units contributes 2q, while a user-AMM trade of q units contributes q. Accordingly, the objective counts executed user quantities, including orders executed against AMM liquidity, without assigning the AMM an external value for its ending inventory; we discuss its relation to welfare and gains from trade below. Uniform pricing alone does not remove the standard tension between incentives and efficiency in double auctions [18, 14]; here that tension is compounded by the nonlinear reserve feasibility imposed by the AMM.

Two technical difficulties drive the study. First, each user has private information in both a unit value and a quantity. This makes full incentive compatibility (IC) much more restrictive than in single-parameter double auctions and forces us to distinguish value incentives from quantity incentives. Second, the AMM constraint is global and nonlinear: the feasibility of serving a set of users depends not only on who trades at the uniform price, but also on the net imbalance absorbed by the AMM. The benchmark is therefore not a local matching objective, but the best feasible IR uniform-price batch allocation.

Contributions. First, we formulate a uniform-price double auction with an LND-AMM and two-dimensional user types. The benchmark V∗V^{*} is the maximum user-side volume among all feasible IR uniform-price allocations.

Second, we give a randomized uniform-price mechanism. It groups reported quantities into binary buckets and randomly chooses one of three submechanisms: M1M_{1} clears peer-to-peer trades, M2M_{2} lets the AMM sell to buyers, and M3M_{3} lets sellers sell to the AMM. For a fixed random realization, clearing is computed by sorting retained orders and scanning once. The most important and technically difficult component is M1M_{1}, which is inspired by the strongly-budget-balanced double auction of Segal-Halevi, Hassidim, and Aumann [22]. Their mechanism handles unit-demand and unit-supply agents, whereas our bucket thresholds convert heterogeneous quantities into unit-like blocks while preserving feasibility.

Third, we prove that every deterministic realization of the mechanism is feasible and satisfies individual rationality (IR) and weak quantity incentive compatibility (WQIC). Let γ=qˉ/q‾\gamma = \bar{q}/\underline{q}, where qˉ\bar{q} and q‾\underline{q} are the upper and lower bounds on users' quantity domain. For γ≥1\gamma \geq 1, the mechanism achieves

E[VM]≥Ω(1/(1+log⁡γ)2)V∗−O(qˉ).\mathbb{E}[V_{M}]\geq\varOmega(1/(1+\log\gamma)^{2})V^{*}-O(\bar{q}).

The quadratic logarithmic loss comes from the binary quantity thresholds; the additive term comes from boundary orders, threshold truncation, and trade reduction.

Finally, we show that some relaxation of full two-dimensional IC is structurally necessary for a logarithmic guarantee in this framework. If a feasible, ex-post IR randomized uniform-price mechanism is required to be fully IC over the complete two-dimensional type space, even in the expected-utility sense rather than the ex-post sense, then for every γ>1\gamma > 1 and every market size N there is an instance with N buyers and N sellers, with V∗=2NqˉV^* = 2N\bar{q}, on which its expected volume is at most (3/γ)V∗(3/\gamma)V^*. This remains true at every prescribed initial reserve ratio and under an arbitrarily large common scaling of the two initial reserves. Thus the worst-case approximation ratio achievable under full IC is O(1/γ)O(1/\gamma), and the approximation-ratio separation is not an artifact of the additive O(qˉ)O(\bar{q}) term in the positive guarantee or of a nearly empty pool.