Manuscript Offprint
arXiv:2610.23547Uniform-Price Mechanism Design for Automated Market Makers
Zhike Peng [0009-0003-1974-2012]
Department of Computer Science and Technology,
Tsinghua University, 30 Shuangqing Road, Beijing 100084, China
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 denote the optimal feasible IR uniform-price volume without additional incentive constraints, and let , where and are the upper and lower bounds on users' quantity domain. For , the mechanism achieves an expected trading volume of
We also show that full incentive compatibility over the two-dimensional type space forces a worst-case approximation ratio of at every prescribed initial reserve ratio, even when both AMM reserves are scaled by an arbitrarily large common factor and the optimal volume is arbitrarily large relative to .
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 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: clears peer-to-peer trades, lets the AMM sell to buyers, and 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 , 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 , where and are the upper and lower bounds on users' quantity domain. For , the mechanism achieves
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 and every market size N there is an instance with N buyers and N sellers, with , on which its expected volume is at most . 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 , and the approximation-ratio separation is not an artifact of the additive term in the positive guarantee or of a nearly empty pool.
Later work shifts attention from static CFAMM or CPAMM geometry to market microstructure and mechanism issues around AMMs. Milionis et al. [16] identify loss-versus-rebalancing as a central source of liquidity-provider losses. Milionis, Moallemi, and Roughgarden [15] study how fees reshape
Z. Peng
arbitrage profits and AMM performance. Adams et al. [1] propose an auction-managed AMM that auctions the right to set swap fees and collect fee revenue. In parallel, Daian et al. [10] and Qin et al. [20] show how transaction ordering on blockchains creates sandwich attacks, arbitrage races, and broader extractable-value concerns. These works explain why batch execution and auction design matter; and our study asks what can still be guaranteed once one also imposes uniform pricing and strategic reporting by both buyers and sellers.
The LND-AMM reserve constraint is closest to batch AMMs that let the pool move to a weakly higher product level rather than staying on the old constant-product curve. Canidio and Fritsch [8] introduce the FM-AMM, motivated by the observation that batching can eliminate arbitrage profits, loss-versus-rebalancing, and sandwich attacks when arbitrageurs compete inside the batch. Their AMM executes all trades in a batch at the post-batch marginal price and, for fixed prices, is equivalent to maximizing an AMM objective function. In the constant-product case, this means moving to the highest attainable product curve. Ramseyer et al. [21] study the more general problem of incorporating CFAMMs into batch exchanges. Their axiomatic framework includes uniform prices, asset conservation, best-response execution of limit orders, and the requirement that each CFAMM's trading function not decrease; they then analyze equilibrium computation, price coherence, and tradeoffs among these desiderata.
Our model takes only the nondecreasing reserve-function implication from this line of work. Unlike Canidio and Fritsch [8], we do not prescribe how the AMM chooses its post-batch reserve point at a given price. Unlike Ramseyer et al. [21], we do not study equilibrium computation for multiple CFAMMs and limit orders. The AMM reserve condition enters here only as a feasibility constraint in a strategic uniform-price double auction. The central question is how much user-side volume can be guaranteed when buyers and sellers have two-dimensional private information.
Other work explicitly treats AMMs as mechanisms. Ferreira and Parkes [11] analyze decentralized exchange design under verifiable sequencing rules. Chan, Wu, and Shi [9] construct a constant-potential batch swap mechanism that is arbitrage resilient in the plain sequencing model and strategy-proof under weak fair sequencing. Their goal is MEV resilience against strategies that may submit multiple orders; they neither require batch-wide uniform pricing nor approximate a double-auction objective, and leave welfare optimization open. Li, Shi, and Zhang [13] work in that framework and prove a qualitative trilemma: among IC, weak local efficiency (wLE), and uniform pricing, any two can be achieved but all three cannot. Here wLE is a local fulfillment condition only for orders whose limits are no more stringent than the AMM's initial marginal price.
Their trilemma and our full-IC upper bound do not imply one another. The trilemma rules out the exact conjunction IC+wLE+uniform pricing but gives no approximation rate to a global objective. Our theorem instead places a quantitative upper bound on the worst-case volume guarantee of any fully IC uniform-price mechanism, without assuming wLE; conversely, a poor global volume ratio need not witness a wLE violation. Our model also permits the reserve product to increase and covers randomized mechanisms under expected-utility IC, whereas their stated trilemma uses deterministic constant-potential mechanisms. Thus the two results identify complementary, rather than logically nested, incentive-efficiency tensions.
Because both of our main results are stated relative to a global volume benchmark, we next situate that objective in the AMM and double-auction literatures. In AMM work, trading volume has often been used as an empirical measure of market activity or as an input to fee-revenue calculations, rather than as the formal mechanism-design objective. For example, Canidio and Fritsch [8] use the scale of AMM trading volume to motivate the market-design problem, while Adams et al. [1] optimize revenue from uninformed order flow. In the double-auction literature, Niu and Parsons [19] explicitly study maximal-volume matching—maximizing the amount of commodity traded—and motivate it by transaction throughput and the interests of marketplaces whose revenue grows with trading activity. Our benchmark adopts this order-execution interpretation, while adding trades against AMM liquidity and strategic quantity reports.
Classical double-auction theory provides the relevant incentive-efficiency context. Myerson and Satterthwaite [18] show that, in the standard bilateral-trade model with independent private values and overlapping supports, IR, IC, budget balance, and ex-post allocative efficiency cannot all be satisfied; in the bilateral setting, this exact allocative efficiency is equivalent to Pareto efficiency. Our full-IC upper bound differs in both the market and the efficiency notion: the market contains many buyers and sellers plus an AMM reserve constraint, and the target is not exact surplus efficiency but approximation to the global feasible uniform-price volume . McAfee's trade-reduction mechanism [14] is a central truthful double-auction benchmark. The peer-to-peer part of our mechanism is more directly inspired by the strongly-budget-balanced double auction of Segal-Halevi, Hassidim, and Aumann [22], whose unit-demand and unit-supply structure we adapt through quantity buckets.
3 The model
The rest of the paper uses the following batch-clearing model. We first specify the AMM reserve constraint, then the users' reports and utilities, and finally the mechanism properties and benchmark.
There are two assets: a traded asset X and a numeraire asset Y. The AMM starts from positive reserves and a post-trade state is denoted . Reserve states have non-negative coordinates, and we require
We call this a liquidity-nondecreasing AMM (LND-AMM). It weakly generalizes the usual constant-product constraint by allowing the batch to end with strictly more product-liquidity.
For , define
If the AMM sells units of , then is the minimum required inflow of . For an AMM purchase of units of , the maximum outflow of is . The average sell price is increasing in , while the average buy price is decreasing in .
Users. Let and denote the buyer and seller sets, respectively. Throughout, indexes buyers, indexes sellers, and ranges over to index a generic user.
Buyer reports , where is a bid and is a demand quantity. Seller reports , where is an ask and is a supply quantity. True and reported unit values and unit costs are non-negative. All true and reported quantities lie in , where , and
Ties in sorting and allocation are resolved by a fixed report-independent priority rule. Prices, utilities, and reserve feasibility use the unperturbed numerical values.
Buyer i has true type , where is the unit value and is the true demand quantity. If the buyer receives units and pays , her utility is
Z. Peng
Seller has two-dimensional private type , where is the unit cost and is the true supply quantity. Each seller also has a public, exogenous over-supply penalty factor . If the seller sells units and receives , her utility is
The public factors may differ across sellers; larger values model the extra cost of sourcing units beyond owned supply. This term has no buyer counterpart because units beyond a buyer's demand can simply have zero marginal value, as captured by . In contrast, a seller allocated above owned supply must procure or borrow the shortfall. For a unified presentation, we take the factors to be public, so buyers and sellers both have two-dimensional private types.
Deterministic mechanisms and feasibility. These preferences are evaluated under uniform-price allocations that may leave a residual imbalance for the AMM. A deterministic mechanism maps the reported orders and the public AMM state to allocations for buyers and for sellers, and payments . It is uniform-price if it also outputs a price such that for buyers and for sellers. Write and . The AMM absorbs the net imbalance, so the induced state is
The deterministic outcome is feasible if for every buyer, for every seller, and has non-negative coordinates satisfying .
To compare reports, fix , a user with true type , all other users' reports, and the public parameters (including reserves and penalties). Here is the buyer's unit value or the seller's unit cost . Write for the buyer or seller utility defined above, evaluated at the allocation and payment that produces when reports . The true type stays fixed; the mechanism, other reports, and public parameters are suppressed in this notation.
IR means for every user, true type, other-report profile, and public parameter choice. Full IC requires for every admissible report .
Weak quantity incentive compatibility (WQIC).
Definition 1 (WQIC). A deterministic mechanism M is weak quantity incentive compatible if both conditions hold for every user, true type, other-report profile, and public parameter choice:
- For every admissible report ,
- For every ,
Thus, once the quantity report is fixed, truthful unit-value reporting weakly maximizes the user's utility among all unit-value reports whenever the truthful unit-value report yields non-negative utility at that quantity. If the truthful unit-value report yields non-positive utility at that quantity, then no unit-value report with the same quantity can yield positive utility. In addition, a user cannot gain by understating demand or supply at the truthful unit value.
The distinction between the non-negative and non-positive cases in the first condition is needed because a large quantity overstatement can make the truthful unit value undesirable. Reporting a quantity far above the true quantity may cause the allocation to exceed the user's true demand or supply, in which case the user may prefer to report a less competitive unit value in order to avoid trade. The first condition therefore requires truthful unit-value reporting to be optimal only when it yields non-negative utility, and otherwise requires that no unit-value report at the same quantity can yield positive utility.
For a deterministic IR, WQIC mechanism, the definition also gives a useful reduction in the set of reports that need to be considered. A deviation giving non-positive utility is weakly dominated by truthful reporting , which gives non-negative utility by IR. If instead gives positive utility, then must also give positive utility: otherwise the first WQIC condition would rule out every positive-utility value report at . Applying that condition again shows that weakly dominates . If , the second condition further gives dominance by . Consequently, only quantity overstatements at the truthful unit value remain as potentially profitable deviations.
These conditions reflect the user-side-volume objective: quantity withholding reduces the amount offered for execution, whereas larger quantity reports leave room for additional trades.
Randomized mechanisms and ex-post properties. A randomized mechanism is a family of deterministic mechanisms with a report-independent seed distribution. It satisfies ex-post feasibility, IR, or full IC if every satisfies the corresponding deterministic property. Full IC in expected utility requires truthful reporting to maximize expected utility over both report dimensions. Ex-post full IC implies full IC in expected utility by averaging the incentive inequalities.
For a randomized mechanism, ex-post WQIC means that the deterministic definition holds for every , using the same seed across the reports being compared. The preceding reduction applies separately to each realization. In particular, ex-post WQIC and ex-post IR imply that, at the truthful quantity, truthful unit-value reporting weakly maximizes realized utility among all unit-value reports with that quantity.
Benchmark. We separate the approximation target from these incentive constraints. For an allocation, define user-side volume
Let be the maximum volume among all feasible IR uniform-price allocations for the reported instance. This benchmark imposes no incentive constraints beyond IR: it is the best volume that could be obtained by a feasible IR uniform-price allocation if the reported types were taken as fixed inputs and strategic misreporting were ignored. Equivalently, after all user reports are fixed, we compare our mechanism and the benchmark on that same reported instance. Thus is an upper bound on what one can hope to achieve under additional incentive requirements such as WQIC or full IC. Partially served users are permitted in this benchmark.
Volume is deliberate rather than a proxy for welfare. It measures how much submitted user demand and supply the batch executes, including orders cleared against the AMM. A peer-to-peer trade of q units executes two user orders and therefore contributes 2q, whereas a user-AMM trade of q units executes one user order and contributes q. For user-to-user trades, the gains-from-trade objective instead weights the traded quantity by the buyer-seller surplus margin, so neither objective generally approximates the other. Extending gains from trade or social welfare to user-AMM trades would additionally require an external valuation of changes in the pool's reserve inventory, which wasn't considered in the AMM mechanism-design literature closest to our setting. Studying gains from trade for AMMs is an interesting direction for future work. Our results should therefore be read as user-side order-execution guarantees, not as welfare guarantees. This choice is consistent with maximal-volume matching in double auctions and with the operational role of executed order flow in AMM markets. We do not claim that volume is universally preferable to gains from trade or social welfare.
Z. Peng
4 Our mechanism
With the model and benchmark established, we now introduce our randomized mechanism M.
Let
For buyers, define buckets by
and
Seller buckets are defined analogously. The full mechanism samples uniformly from and runs . Thus, in this mechanism, the random realization consists only of the selected mode and the selected bucket threshold or thresholds used by that mode.
The three modes correspond to the three ways in which the optimal uniform-price allocation can create volume: handles peer-to-peer user matching, handles the case in which the AMM sells net quantity to buyers, and handles the case in which sellers sell net quantity to the AMM.
The central and most technically difficult case is . It is inspired by the strongly-budget-balanced double auction of Segal-Halevi, Hassidim, and Aumann [22]. Their mechanism is designed for unit-demand buyers and unit-supply sellers, where the allocation problem is essentially single-parameter and IC can be handled by standard critical-price arguments. Here, by contrast, users have heterogeneous quantities and two-dimensional types. The bucket thresholds in convert reported quantities into unit-like blocks, allowing a related trade-reduction idea to be applied while preserving feasibility and the WQIC guarantee. Appendix A gives a numerical example of its clearing index, boundary ask, and both clearing branches.
: Peer-to-peer clearing. Sample buyer and seller thresholds independently and uniformly from . Let
Retain buyers in and sort them by decreasing bid . Retain sellers in and sort them by increasing ask . Assume ; otherwise this case is trivial.
Suppose first that and set . One buyer and sellers form one candidate trade set. The effective seller ask of the th trade set is
Let
If , no trade occurs. Otherwise define
If , set the price and trade the first buyers and first sellers. Each winning buyer receives and each winning seller sells .
If , perform trade reduction. Set , trade only the first buyers, and let
The sellers in split the required quantity equally, so each sells . The case gives zero trade.
Suppose next that and set . One seller and buyers form one candidate trade set. The effective buyer bid of the th trade set is
Let
If , no trade occurs. Otherwise define
If , set the price and trade the first buyers and first sellers. Each winning buyer receives and each winning seller sells .
If , perform trade reduction. Set , trade only the first sellers, and let
The buyers in split the required quantity equally, so each buys . The case gives zero trade.
: AMM-to-buyer clearing. The remaining two modes use the same threshold idea but isolate one-sided trades against the AMM. Sample uniformly, set , retain buyers in , and sort them by decreasing bid. If no buyer is retained, no trade occurs. Otherwise, choose
If , no trade occurs. Otherwise, the first buyers each buy units from the AMM at uniform price .
: Seller-to-AMM clearing. Sample uniformly, set , retain sellers in , and sort them by increasing ask. If no seller is retained, no trade occurs. Otherwise, choose
If , no trade occurs. Otherwise, the first sellers each sell units to the AMM at uniform price .
5 Analysis
Having described the rule, we turn to its incentive and volume guarantees. We first verify that every realization of the mechanism is a feasible uniform-price allocation and that truthful users satisfy ex-post IR. We then state the ex-post WQIC and volume-approximation guarantees, giving the main intuition for each; their full proofs appear in the appendix. The mechanism neither elicits nor uses the public penalty factors, and the guarantees hold for every vector with .
Theorem 1 (Feasibility and ex-post IR). The mechanism M is feasible and uniform-price in every realization. It satisfies ex-post IR under truthful reporting.
Z. Peng
Proof. Uniform pricing is immediate from construction. We first check feasibility. For , assume ; the other case is symmetric. In the no-reduction branch, buyers each receive and sellers each sell , where . The two sides therefore trade the same total quantity, so the AMM state is unchanged. In the trade-reduction branch, buyers each receive and sellers in jointly supply , so the AMM again has zero net exchange.
Each retained buyer has reported quantity at least . In the no-reduction branch each retained seller has reported quantity at least . In the reduction branch, , so each selected seller supplies at most
Thus user quantity feasibility holds in .
For , if , then no trade occurs and feasibility is trivial. Otherwise, let and . By definition, and . Therefore
For , if , then no trade occurs and feasibility is trivial. Otherwise, let and . The definition gives , and therefore
It remains to check IR. In every submechanism, a truthful winning buyer trades at a price no larger than her unit value, and a truthful winning seller trades at a price no smaller than her unit value. Feasibility also ensures that a truthful winner is never allocated more than her true quantity, so the over-supply penalty is zero for truthful sellers. Each truthful realized utility is therefore non-negative.
Theorem 2 (Ex-post WQIC). The mechanism M satisfies ex-post WQIC.
This theorem is the incentive guarantee behind the mechanism. It shows that the randomization is used only for approximation, not to average away incentive violations: after the mode and thresholds are realized, the resulting deterministic clearing rule is already strategically well behaved in the WQIC sense. The proof fixes an arbitrary realization and analyzes the induced deterministic mechanism. For the peer-to-peer mode, consider the case ; the other case is symmetric. In the AMM-only modes, and for the buyer side of the peer-to-peer mode, users face standard critical-price rules once their quantity report is fixed. The only delicate case is the seller side of the peer-to-peer mode, where trade reduction may split supply among several sellers; there the proof uses monotonicity of the clearing index and boundary price to show that ask deviations cannot improve utility in the cases allowed by WQIC. The quantity-understatement part follows from the threshold structure: an understatement either leaves the user in the same bucket decision and changes nothing, or removes the user from eligibility and gives zero utility. The full proof is in Appendix B.
Theorem 3 (Volume approximation). For every , the user-side volume of satisfies
The bound is uniformly for , and has the original form as . If , the quantity domain is a singleton and . There are no quantity deviations; Theorems 1 and 2 therefore give full IC and a constant-factor volume guarantee up to the additive term.
This theorem is the performance guarantee behind the bucket construction. The proof compares the mechanism to a fixed optimal feasible IR uniform-price allocation and decomposes that optimum into the three kinds of volume that our modes target: peer-to-peer volume, AMM-to-buyer volume, and seller-to-AMM volume. For the AMM-only modes, a random threshold keeps a logarithmic fraction of the optimal truncated quantity, and the constant-product average-price monotonicity preserves AMM feasibility up to one critical-price boundary block. For the peer-to-peer mode, the main obstacle is that buyer and seller quantities may fall in different buckets. The proof uses a transportation decomposition between buyer-bucket mass and seller-bucket mass and then averages over the two independent thresholds; a threshold pair captures a constant fraction of each bucket-pair contribution in aggregate, producing the extra logarithmic loss. We state a key lemma for the peer-to-peer mode here; it is the local threshold guarantee that lets the global transportation argument reduce to bounding truncated mass on the two sides. Its proof appears in Appendix C.
Lemma 1 (Threshold guarantee for ). Fix a feasible IR uniform-price allocation at price and a threshold pair . Let and . Let be the retained buyers with bid at least , and let be the retained sellers with ask at most . Then, under with thresholds , the one-sided matched volume is at least
Appendix C proves Lemma 1 and completes the proof of Theorem 3 by aggregating this local guarantee over all bucket pairs and combining it with the AMM-only modes.
6 Why Full IC Is Too Strong
The positive result achieves a polylogarithmic volume guarantee under ex-post WQIC. The following theorem bounds worst-case volume under ex-post full IC by an fraction of the benchmark . In fact, the bound holds for the larger class of mechanisms that are fully IC in expected utility. Since ex-post full IC implies full IC in expected utility, this establishes the claimed separation between the two ex-post incentive requirements.
Theorem 4 (Full IC upper bound). For every randomized uniform-price mechanism that is feasible, ex-post IR, and fully IC in expected utility, for every , integer , reserve scale , reserve ratio , and vector of public seller penalty factors , there is an instance with buyers and sellers, public penalty vector , initial AMM state , and , such that
The construction applies at every prescribed initial reserve ratio and allows the common reserve scale to be arbitrarily large. The user values are rescaled with , so this is an existential worst-case construction for each reserve composition rather than a claim that one fixed user profile is hard for all reserve ratios. Because , the positive result's additive loss is after normalization. Our positive-result mechanism also matches the dependence up to constants: fixing all of its bucket thresholds to gives a fully IC variant with an guarantee up to the boundary loss.
Appendix D gives the complete proof of Theorem 4. To show that the limitation also holds when the AMM is active in the benchmark, we give the following companion result.
Z. Peng
Proposition 1 (AMM-active full-IC upper bound). For every randomized uniform-price mechanism that is feasible, ex-post IR, and fully IC in expected utility, for every , integer , reserve scale , reserve ratio , and vector of public seller penalty factors , there is an instance with sellers and no buyers, public penalty vector , initial AMM state , and quantity bounds and , such that
The benchmark trades all units from the sellers to the AMM.
Thus the full-IC limitation is not confined to an inactive AMM. The proof of Proposition 1 is in Appendix D.
7 Conclusion
Our results separate two ways of handling private quantities in uniform-price AMM markets. Full two-dimensional IC limits worst-case user-side volume to an fraction of the feasible optimum. Binary quantity thresholds, combined with per-realization WQIC, recover a polylogarithmic guarantee up to an additive boundary loss while preserving uniform pricing, individual rationality, and the pool's reserve constraint. The upper bound applies at every initial reserve ratio and at arbitrary reserve scale, even when optimal volume is large relative to any individual order. Thus adding liquidity alone does not remove this incentive obstruction. The AMM-active construction further shows that the obstruction can persist when the benchmark trades entirely against the pool.
The constructive proof identifies the role of quantity heterogeneity. Thresholds replace heterogeneous reported quantities by fixed blocks, making critical-price reasoning possible; independently selecting a threshold on each side costs in peer-to-peer volume. Coordinating these thresholds may offer sharper guarantees. Whether ex-post WQIC admits an or constant-factor guarantee, or instead requires some logarithmic loss, remains open.
The threshold design links the incentive and volume arguments. Once a mode and its thresholds are fixed, retained orders trade in blocks whose sizes are independent of the exact quantity reports above the thresholds. Critical prices and the sharing rule then establish WQIC for each realized clearing rule. Randomizing over these rules recovers volume across quantity scales while preserving their ex-post guarantees. Together with the upper bound for full IC in expected utility, this establishes a separation in worst-case volume between ex-post WQIC and ex-post full IC.
Another direction is to study the symmetric relaxation in the value dimension. Our WQIC notion conditionally protects unit-value reports at each fixed quantity report and rules out quantity understatements at the truthful value. One could instead ask for mechanisms that are fully IC in quantities but satisfy only a weak form of value IC, for example ruling out only value understatements or overstatements that preserve non-negative realized utility. Such a “weak value IC” relaxation may lead to a different tradeoff between volume, uniform pricing, and AMM feasibility.
Finally, the objective measures executed user order flow. Our approximation compares a mechanism and the feasible optimum on the same input; it is not a welfare or equilibrium-volume guarantee. A welfare analysis would need to account for surplus margins and the value of the AMM's ending inventory. Other reserve functions, fees, multiple pools, and dynamic batches offer further directions, but also change the feasibility and pricing arguments. The central question in these extensions is which strategic protections can coexist with substantial order execution at a uniform price.
References
-
Adams, A., Moallemi, C.C., Reynolds, S., Robinson, D.: am-AMM: An auction-managed automated market maker. In: Financial Cryptography and Data Security (FC 2025). Lecture Notes in Computer Science (LNCS), vol. 15751, pp. 93–108. Springer (2026)
-
Adams, H.: Uniswap whitepaper (2018), Uniswap v1 whitepaper
-
Angeris, G., Chitra, T.: Improved price oracles: Constant function market makers. In: Proceedings of the 2nd ACM Conference on Advances in Financial Technologies (AFT 2020). pp. 80–91. Association for Computing Machinery (2020)
-
Angeris, G., Kao, H.T., Chiang, R., Noyes, C., Chitra, T.: An analysis of Uniswap markets. Cryptoeconomic Systems 1(1) (2021), online article
-
Bartoletti, M., Chiang, J.H.y., Lluch-Lafuente, A.: A theory of automated market makers in DeFi. Logical Methods in Computer Science (LMCS) 18(4), 12:1–12:46 (2022)
-
Budish, E., Cramton, P., Shim, J.: The high-frequency trading arms race: Frequent batch auctions as a market design response. The Quarterly Journal of Economics (QJE) 130(4), 1547–1621 (2015)
-
Buterin, V.: On path independence (Jun 2017), technical blog post
-
Canidio, A., Fritsch, R.: Batching trades on automated market makers. In: 5th Conference on Advances in Financial Technologies (AFT 2023). Leibniz International Proceedings in Informatics (LIPIcs), vol. 282, pp. 24:1–24:17. Schloss Dagstuhl – Leibniz-Zentrum fuer Informatik (2023)
-
Chan, T.H.H., Wu, K., Shi, E.: Mechanism design for automated market makers. In: 7th Conference on Advances in Financial Technologies (AFT 2025). Leibniz International Proceedings in Informatics (LIPIcs), vol. 354, pp. 7:1–7:22. Schloss Dagstuhl – Leibniz-Zentrum fuer Informatik (2025)
-
Daian, P., Goldfeder, S., Kell, T., Li, Y., Zhao, X., Bentov, I., Breidenbach, L., Juels, A.: Flash boys 2.0: Frontrunning in decentralized exchanges, miner extractable value, and consensus instability. In: 2020 IEEE Symposium on Security and Privacy (SP). pp. 910–927. IEEE (2020)
-
Ferreira, M.V.X., Parkes, D.C.: Credible decentralized exchange design via verifiable sequencing rules. In: Proceedings of the 55th Annual ACM Symposium on Theory of Computing (STOC 2023). pp. 723–736. Association for Computing Machinery (2023)
-
Hanson, R.: Logarithmic market scoring rules for modular combinatorial information aggregation. The Journal of Prediction Markets (JPM) 1(1), 3–15 (2007)
-
Li, Y., Shi, E., Zhang, M.: A trilemma in AMM mechanism design. In: Financial Cryptography and Data Security (FC 2026) (2026), pre-proceedings
-
McAfee, R.P.: A dominant strategy double auction. Journal of Economic Theory (JET) 56(2), 434–450 (1992)
-
Milionis, J., Moallemi, C.C., Roughgarden, T.: Automated market making and arbitrage profits in the presence of fees. In: Financial Cryptography and Data Security (FC 2024). Lecture Notes in Computer Science (LNCS), vol. 14744, pp. 159–171. Springer (2025)
-
Milionis, J., Moallemi, C.C., Roughgarden, T., Zhang, A.L.: Automated market making and loss-versus-rebalancing (2022), arXiv:2208.06046
-
Mohan, V.: Automated market makers and decentralized exchanges: A DeFi primer. Financial Innovation 8(1) (2022), article 20
-
Myerson, R.B., Satterthwaite, M.A.: Efficient mechanisms for bilateral trading. Journal of Economic Theory (JET) 29(2), 265–281 (1983)
-
Niu, J., Parsons, S.: Maximizing matching in double-sided auctions (extended abstract). In: Proceedings of the 12th International Conference on Autonomous Agents and Multiagent Systems (AAMAS 2013). pp. 1283–1284. International Foundation for Autonomous Agents and Multiagent Systems (2013)
-
Qin, K., Zhou, L., Gervais, A.: Quantifying blockchain extractable value: How dark is the forest? In: 2022 IEEE Symposium on Security and Privacy (SP). pp. 198–214. IEEE (2022)
-
Ramseyer, G., Goyal, M., Goel, A., Mazières, D.: Augmenting batch exchanges with constant function market makers. In: Proceedings of the 25th ACM Conference on Economics and Computation (EC 2024). pp. 986–1016. Association for Computing Machinery (2024)
-
Segal-Halevi, E., Hassidim, A., Aumann, Y.: SBBA: A strongly-budget-balanced double-auction mechanism. In: Algorithmic Game Theory (SAGT 2016). Lecture Notes in Computer Science (LNCS), vol. 9928, pp. 260–272. Springer (2016)
Z. Peng
A A Concrete Example for
Consider thresholds and , so : one buyer block is paired with two seller blocks. Every retained buyer reports quantity at least 4, and every retained seller reports quantity at least 2. Listed in the mechanism's sorted order, suppose the retained bids are
and the retained asks are
The effective seller asks are , , and . Hence the first two candidate trade sets satisfy the crossing condition ( and ), while the third does not ( ), so . The boundary ask is , and the mechanism therefore uses trade reduction. It sets the uniform price to 8, trades only the first buyer for four units, and forms
These three sellers split the four units equally, each selling . The winning buyer receives . Total buyer and seller allocations are both four, so the AMM is unchanged; every winner accepts the uniform price; and the marginal buyer, who sets that price, is removed.
For comparison, replace the ask profile by . The clearing index is still , but now . The no-reduction branch trades the first two buyers for four units each and the first four sellers for two units each, all at price 7.5. This illustrates how the single boundary comparison selects between the no-reduction and trade-reduction branches.
B Proof of Theorem 2
Proof. Fix a realization of the randomization. Thus the selected mode and the sampled threshold or thresholds are fixed. We prove the two WQIC requirements for the deterministic mechanism .
Throughout the proof, all ties are resolved by the fixed report-independent priority rule. In every critical-price statement below, equality with the numerical threshold is subject to this rule; a tied user need not win. For , we prove the case and set ; the case is symmetric after exchanging the roles of buyers and sellers.
Critical-price fact. Suppose a buyer with true type receives a fixed block Q iff her bid is at least a threshold that is independent of her own bid, receives zero otherwise, and pays whenever she receives Q. Then every winning bid gives the same utility
and every losing bid gives utility zero. Hence truthful bidding is optimal among all bid reports whenever truthful bidding gives non-negative realized utility; moreover, if truthful bidding gives non-positive realized utility, then every bid report gives non-positive realized utility. The seller analogue holds when a seller sells a fixed block Q iff her ask is at most a threshold that is independent of her own ask, receives zero otherwise, and is paid whenever she sells.
Table 1 records the cases in which the critical-price fact applies directly.
For , fix the sampled block size and all other retained buyer reports. Let buyer i be the distinguished retained buyer, and write the other retained buyer bids as
Table 1. Direct critical-price cases; equality is resolved by the fixed priority rule.
| Mode | Side | Winning set | Block | Critical price |
|---|---|---|---|---|
| Buyer | ||||
| Seller | ||||
| Buyer |
If buyer is among the first buyers in the full order, then the first losing bid is . Hence the AMM feasibility test for clearing buyers is
which is independent of buyer 's own bid. Let
where ranges over available other buyers, with if the set is empty. The bids decrease with , while increases, so feasible positive indices form an initial segment. If , buyer never wins. If , buyer wins iff her bid is at least , receives , and pays . Thus buyer faces a critical bid .
The argument for is symmetric. Fix the sampled block size and all other retained seller reports. Let seller be the distinguished retained seller, and write the other retained seller asks as
If seller is among the first sellers in the full order, then the first losing ask is , so the AMM feasibility test for clearing sellers is
which is independent of seller 's own ask. Let
where ranges over available other sellers, with if the set is empty. The asks increase with , while decreases, so feasible positive indices form an initial segment. If , seller never wins. If , seller faces a critical ask , sells iff her ask is at most , and is paid . This proves the unit-value WQIC condition for buyers in and sellers in , including the case in which truthful unit-value reporting gives non-positive utility. The inactive side in each mode receives zero for all unit-value reports.
We now handle the buyer side of . Fix all seller reports and all other buyer reports. Let buyer be the distinguished retained buyer. Write the other retained buyer bids as
with the convention , and write the retained seller asks as
Define
Z. Peng
Here n is the total number of retained buyers. If , buyer i is never allocated. If , define
where if .
If , buyer never wins. Otherwise, we claim that buyer wins iff her bid is at least , and whenever she wins she receives and pays . If , then the no-reduction branch applies at index : the first losing seller ask is , and the price is . If instead , then the trade-reduction branch applies, the marginal buyer bid is , and the price is . In either case, buyer receives the fixed block exactly when her bid reaches , and pays whenever she wins. The critical-value fact proves the unit-value WQIC condition for buyers in , including the case in which truthful bidding gives non-positive utility.
It remains to handle the seller side of , where the trade-reduction branch may allocate a shared fractional amount. Fix all buyer reports and all seller reports except seller 's ask. Let seller have true type and public factor . For an ask report of seller , let be the clearing index, the resulting uniform price, and seller 's allocated quantity. Also write
Changing seller 's ask changes each count by at most one. Lowering the ask can only weakly increase the set of feasible indices, while raising the ask can only weakly decrease it.
We first record two boundary facts:
For (B1), let . Since index becomes feasible after the lower-ask deviation but was not feasible under truthful asking, seller must be newly counted at a buyer boundary price at which she was not counted truthfully. Hence
The new uniform price is at most : in the trade-reduction branch it is exactly , while in the no-reduction branch it is the first losing seller-side boundary ask and is no larger than . Therefore .
For (B2), let . If , no trade occurs. Otherwise, since index was feasible under truthful asking but is not feasible after the higher-ask deviation, seller j must have been counted at the buyer boundary price under truthful asking and not counted there after the deviation. Thus
After the deviation, exactly other sellers have asks at most , and hence at least sellers are ranked ahead of seller . If the new outcome at index is a no-reduction outcome, these sellers fill all seller slots, so seller is not traded. If the new outcome is a trade-reduction outcome, seller could be in the reduction set only if . But then the same sellers counted at , together with seller , would imply
contradicting the fact that the mechanism entered the reduction branch at index h. Hence .
Table 2. Seller-side deviations in (first four rows: truthful winner).
| Case | Effect on | Key fact | Conclusion |
|---|---|---|---|
| unchanged | same price and share | ||
| increases | (B1): | ||
| unchanged | same outcome or exit | ||
| decreases | (B2): no allocation | ||
| - | remains unallocated | ||
| - | new trade at |
Table 2 summarizes the deviations. In its first four rows, assume . Write for truthful realized utility and for utility after the deviation. The quantity report is fixed and may exceed the true quantity, so need not be non-negative.
Suppose first that seller trades truthfully. Lowering her ask while keeping the index unchanged leaves her price and quantity unchanged. In the no-reduction branch, the price is an order statistic outside the traded set; lowering a winning ask does not change this boundary. In the reduction branch, the price is the fixed marginal buyer bid. The seller already qualifies at this price, so the qualifying set and every equal share remain unchanged. A lower ask that increases the index instead satisfies (B1), so any positive allocation gives non-positive utility. This proves the first two rows. Crucially, the second row asserts , not when .
For a higher ask at an unchanged index, if the seller continues trading, the same outside boundary or marginal buyer bid sets the price. She remains within the selected set or the same reduction set, respectively, so her quantity is unchanged too. If she leaves this set she gets zero. A higher ask that reduces the index gives zero by (B2). Thus every deviation by a truthful winner yields either or non-positive utility.
Suppose now that seller does not trade truthfully. Raising her ask cannot select her: at an unchanged index she remains outside the winning set, and at a smaller index (B2) applies. If lowering her ask increases the index, (B1) applies. At an unchanged index, entry into a reduction outcome requires crossing the buyer price, which is at most . Entry into a no-reduction outcome places her among the first sellers; the displaced seller determines the new outside boundary, at most her original ask . Thus any new allocation is paid at most , and its utility is non-positive. Equality at a tie causes no difficulty; all allocation ties use the fixed priority rule.
Consequently, if , no deviation yields more than ; if , every deviation gives non-positive utility. This establishes both sign clauses without assuming that the fixed quantity report is truthful. The over-supply penalty only reduces utility in the cases paid at or below the true unit cost.
For , the fixed-block side is the seller, and the buyer side shares quantity in the reduction branch. Exchange the two sides in the boundary argument: a higher buyer bid that increases the index pays above true value, and a lower bid that decreases it receives zero. At an unchanged index, a continuing winner has the same price and quantity; a truthful loser can enter only at a price at least her true value. Since units beyond a buyer's true demand have zero marginal value, these newly obtained allocations have non-positive utility. The same two sign clauses follow for buyers; fixed-block seller incentives follow from the critical-price fact.
Combining Table 1 with Table 2, truthful unit-value reporting satisfies the first WQIC requirement for every user in the fixed realization : if truthful unit-value reporting with the fixed quantity report gives non-negative utility, no unit-value deviation gives higher utility; and if it gives non-positive utility, then every unit-value report with the same quantity report gives non-positive utility.
Z. Peng
We now prove the quantity-understatement requirement. Fix a user, her truthful unit value, her true quantity q, and all other reports. Compare truthful quantity reporting with an understated report .
In the fixed realization , let be the sampled threshold block size relevant for this user: for or this is the sampled block size, and for it is for a buyer and for a seller. If both and are below , the user is not retained under either report and receives zero utility in both cases. If both reports are at least , then the user is retained under both reports. Conditional on retention, the mechanism uses only the fixed block size and the unit-value ordering; the exact reported quantity above the threshold does not affect the clearing index, branch, price, allocation, or payment. Hence the two reports give identical utility.
The only remaining case is
Then the understated report removes the user from the retained set and gives zero utility. Under truthful quantity reporting, feasibility gives an allocation of at most the true quantity q. Since the unit value is truthful, a truthful winning buyer pays no more than her value per unit, and a truthful winning seller is paid no less than her value per unit and incurs no over-supply penalty. Thus truthful quantity reporting gives non-negative realized utility, while the understated report gives zero utility. Both WQIC requirements hold for the arbitrary realization , so M satisfies ex-post WQIC.
C Proof of Theorem 3
We first prove Lemma 1, the local threshold guarantee for the peer-to-peer submechanism , and then use it to prove Theorem 3.
Proof (of Lemma 1). Write and . Suppose first that and set . For every
the th retained buyer has bid at least , and the seller at position has ask at most . Therefore
so the mechanism's clearing index satisfies
Hence trades at least
buyer blocks. Its one-sided matched volume is therefore at least
Since , this lower bound is at least
Now suppose that and set . For every , the th retained seller has ask at most , and the buyer at position has bid at least . Thus , so
Hence trades at least seller blocks, and its one-sided matched volume is at least
Because , this is at least
This proves the lemma.
Proof (of Theorem 3). Fix an optimal feasible IR allocation at price p, with total buyer and seller quantities . Put , , and , where . Decompose actual allocated quantities into a peer-to-peer component of one-sided volume Q and residual AMM components . This can split an individual allocation and requires no removal of partially served users. In particular,
Every served buyer has value at least p and every served seller has value at most p. Let count these buyers and sellers in bucket k, and define their retained truncated capacities
AMM components. For , feasibility of the optimal allocation implies and . Average-price monotonicity implies for . For threshold block , the integer
is feasible for whenever : its losing bid is at least , and . Consequently, including the case ,
The cap by is essential; alone need not be AMM-feasible. Let be the residual AMM allocation to buyers in bucket . Then and , including the closed last bucket. Therefore
Thus , and averaging (1) gives . If this inequality is trivial. For , feasibility gives , and the average buy price is decreasing. Repeating the argument with sellers gives .
Peer-to-peer component. Let be its buyer and seller bucket masses, both summing to . Choose a non-negative transportation matrix with these row and column sums. Since and , for every ,
Z. Peng
Using for non-negative families and summing over thresholds,
The last inequality uses the term . By Lemma 1, the user-side volume at is at least . Hence . Finally, each mode is selected with probability , so
The fixed-threshold fully IC variant. For completeness, fix every threshold at and keep uniform random selection of the three modes. Every permitted quantity report is retained and has no effect on the outcome. Every allocation is at most , hence at most the true quantity. The value part of WQIC and IR therefore give dominant truthful value reporting for every realization, and quantity reports are immaterial. This proves full IC, including joint deviations and expected-utility IC.
Use the same optimal-allocation decomposition as above, and let count its served buyers and sellers. Since each contributes at most , we have and , . Lemma 1 gives peer user volume at least . The capped one-sided argument gives at least in and in , because and symmetrically for sellers. Averaging the modes yields
This supplies the claimed matching dependence on , up to constants and the boundary loss, without changing the randomized-threshold mechanism.
D Full-IC Upper Bounds
We first prove Theorem 4 and then prove its complementary AMM-active version, Proposition 1.
Proof (Theorem 4). Fix an arbitrary vector of public penalty factors . Set
so for every . Let and . All buyers in the profiles below have high type , and all sellers have high type . For each seller , define the auxiliary low type . For the prescribed and , choose AMM reserves and . These auxiliary low types may differ across sellers, but each is used only in the corresponding profile below; the hard profile retains the same high type for every seller.
Let be the all-high profile with high buyers and high sellers; this will be the instance . In , the benchmark can match every buyer and every seller peer-to-peer for units at any price in , leaving the AMM unchanged. Hence
Fix a seller . Let be the profile obtained from by changing only seller to her auxiliary low type . Write for seller 's random allocation and receipt in , and for the corresponding random variables when the low seller reports truthfully in .
First bound the low seller's truthful utility
Since seller reports capacity in , feasibility gives in every realization. If some buyer receives a positive allocation in that realization, buyer realized IR and value imply , and so . If no buyer receives a positive allocation but seller does, the AMM net buys . LND feasibility gives
and hence
Thus, realization by realization,
Full IC for seller in says that the low seller cannot gain by reporting . Under that deviation the reported profile is exactly , while the true type remains and the public factor remains . Therefore
In , seller is a truthful high seller. Realized IR gives in every realization. Combining the last two displays,
Since and ,
Summing over all sellers gives
In each realization of , let and . Suppose, toward a contradiction, that , and set . Some buyer then receives a positive allocation, so ex-post IR implies . On the other hand, using , LND feasibility requires
After expansion, this is
But reserve non-negativity and imply
a contradiction. Therefore in every realization. Taking expectations,
Z. Peng
Dividing by gives
The prescribed and were arbitrary, so the bound holds at every reserve scale and every prescribed reserve ratio. The construction sets the hard-instance buyers' common unit value equal to ; IR then prevents a positive net AMM sale to buyers. The user profile therefore depends on the prescribed ratio.
Proof (Proposition 1). Fix an arbitrary vector of public penalty factors . Let
These seller-specific low types are used only in the auxiliary profiles below; all sellers in the hard profile have the same high type. There are no buyers. Let be the profile of sellers, each with high type and public penalty factor , and let the initial AMM state be . At the uniform price , all sellers can sell units to the AMM. The total sale is , and the final AMM state is , whose reserve product equals the initial product. Thus this allocation is feasible and IR. Seller capacities also give the matching upper bound, so
Fix a seller , and let be the profile obtained by changing only this seller to her auxiliary low type . Under truthful reporting in , feasibility gives . If seller trades in a realization, the AMM's total net purchase is positive, and LND feasibility implies
Consequently the low seller's expected truthful utility satisfies .
Full IC for the deviation from to , with the public factor held fixed, followed by ex-post IR for the high type in , gives
Therefore . Summing over the sellers and using the absence of buyers,
All benchmark volume in this construction is seller-to-AMM volume.
☐