An Analysis of Uniswap Markets

Uniswap — and other constant product markets — appear to work well in practice despite their simplicity. In this paper, we give a simple formal analysis of constant product markets and their generalizations, showing that, under some common conditions, these markets must closely track the reference market price. We also show that Uniswap satisfies many other desirable properties and numerically demonstrate, via a large-scale agent-based simulation, that Uniswap is stable under a wide range of market conditions.

[1]  B. Øksendal Stochastic differential equations : an introduction with applications , 1987 .

[2]  George L. Nemhauser,et al.  Handbooks in operations research and management science , 1989 .

[3]  Jean-Philippe Bouchaud,et al.  Relation between bid–ask spread, impact and volatility in order-driven markets , 2006, physics/0603084.

[4]  Stephen P. Boyd,et al.  Disciplined geometric programming , 2018, Optimization Letters.

[5]  Stephen P. Boyd,et al.  ECOS: An SOCP solver for embedded systems , 2013, 2013 European Control Conference (ECC).

[6]  Stephen P. Boyd,et al.  Convex Optimization , 2004, Algorithms and Theory of Computation Handbook.

[7]  Christian Decker,et al.  Bitcoin Transaction Malleability and MtGox , 2014, ESORICS.

[8]  E. Thorp,et al.  The Kelly Capital Growth Investment Criterion: Theory and Practice , 2011 .

[9]  SandholmTuomas,et al.  A Practical Liquidity-Sensitive Automated Market Maker , 2013 .

[10]  C. Walck Hand-book on statistical distributions for experimentalists , 1996 .

[11]  Marek Olszewski,et al.  Celo: A Multi-Asset Cryptographic Protocol for Decentralized Social Payments , 2019 .

[12]  Ari Juels,et al.  Flash Boys 2.0: Frontrunning, Transaction Reordering, and Consensus Instability in Decentralized Exchanges , 2019, ArXiv.

[13]  David M. Pennock,et al.  A practical liquidity-sensitive automated market maker , 2010, EC '10.

[14]  Daniel Davis Wood,et al.  ETHEREUM: A SECURE DECENTRALISED GENERALISED TRANSACTION LEDGER , 2014 .

[15]  Robin Hanson,et al.  Combinatorial Information Market Design , 2003, Inf. Syst. Frontiers.

[16]  Verzekeren Naar Sparen,et al.  Cambridge , 1969, Humphrey Burton: In My Own Time.

[17]  Stephen Boyd,et al.  A Rewriting System for Convex Optimization Problems , 2017, ArXiv.