Papers for

decentralized exchange developers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

Hooks cause hidden fees in decentralized exchanges costing millions

An Empirical Study of Undisclosed Charges in Hook-Based Decentralized Exchanges

Abstract: Many decentralized exchanges use automated market makers (AMMs) to trade assets against liquidity pools. Modern AMMs allow third-party contracts, called Hooks, to customize this process. However, Hooks can impose additional deductions that fee breakdowns based on standard pool parameters do not itemize. We present, to the best of our knowledge, the first large-scale empirical study of the production Hook ecosystem, focusing on these undisclosed settlement charges. Our study covers 7,873 Hook deployments, 50,011 pools, and 296M pool events on Uniswap v4 and PancakeSwap Infinity across Ethereum and BNB Smart Chain (BSC) through August 1, 2026. We develop a bytecode analysis that reconstructs how Hooks change traders' payments and receipts, separating charges from exchanged assets and standard fees. We then reconstruct historical settlements to measure charging frequency and economic burden. We find that direct settlement adjustment is the dominant Hook capability, supported by 71.37% of registered Hooks. Charging capability is widespread and often exercised: 24.30% of Hooks can impose undisclosed deductions, and these deductions occur in 59.23% of accounted swaps involving such Hooks. These charges generate millions of dollars in revenue, with $3.97M recorded across Hooks with available token prices. These findings reveal a gap between standard fee displays and actual trading costs, motivating explicit disclosure of Hook deductions alongside standard fees.

Tue 27 OctCryptography and Security
The gist
Decentralized exchanges let users trade cryptocurrencies automatically through pools. The study finds that special programs called Hooks can secretly take extra fees not shown in the usual fee reports. The researchers checked thousands of these Hooks and millions of trades on popular platforms to measure how often and how much these hidden fees add up to. They discovered that many Hooks do charge undisclosed fees, costing traders millions of dollars in total. This shows that traders don't see the full cost upfront, highlighting the need for clearer fee disclosures.
Open → 2610.36682v1

Uniform-price trades boost volume with new automated market maker design

Uniform-Price Mechanism Design for Automated Market Makers

Abstract: Automated market makers (AMMs) are central to decentralized exchanges, but their reserve curves make mechanism design 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. User trades clear at one uniform price subject to AMM feasibility. 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^\ast$ be the optimal feasible IR uniform-price volume without incentive constraints, and let $γ=\bar q/\underline q$, where $\bar q$ and $\underline q$ are the quantity-domain bounds. For $γ\ge1$, the mechanism achieves an expected trading volume of $ Ω(1/(1+\logγ)^2)V^\ast - 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/γ)$ at every prescribed initial reserve ratio, even when both AMM reserves are scaled by an arbitrarily large common factor and the optimal volume $V^\ast$ is arbitrarily large relative to $\bar q$.

Fri 16 OctComputer Science and Game Theory
The gist
Automated market makers (AMMs) are tools used in decentralized exchanges to match buyers and sellers automatically. This paper studies how to design a fair trading mechanism where everyone trades at one uniform price, even when trades change the AMM's reserves in special ways. The authors propose a new randomized trading method that balances peer trades and trades with the AMM, ensuring users report their true values and quantities honestly. Their design achieves a good portion of the best possible trade volume while keeping incentives aligned for participants.
Open → 2610.23547v1