pith. sign in

arxiv: 2107.12484 · v1 · pith:O42GM7UAnew · submitted 2021-07-26 · 🧮 math.OC · q-fin.CP· q-fin.TR

Constant Function Market Makers: Multi-Asset Trades via Convex Optimization

classification 🧮 math.OC q-fin.CPq-fin.TR
keywords tradescfmmsfunctiontradeassetsconstantconvexdexs
0
0 comments X
read the original abstract

The rise of Ethereum and other blockchains that support smart contracts has led to the creation of decentralized exchanges (DEXs), such as Uniswap, Balancer, Curve, mStable, and SushiSwap, which enable agents to trade cryptocurrencies without trusting a centralized authority. While traditional exchanges use order books to match and execute trades, DEXs are typically organized as constant function market makers (CFMMs). CFMMs accept and reject proposed trades based on the evaluation of a function that depends on the proposed trade and the current reserves of the DEX. For trades that involve only two assets, CFMMs are easy to understand, via two functions that give the quantity of one asset that must be tendered to receive a given quantity of the other, and vice versa. When more than two assets are being exchanged, it is harder to understand the landscape of possible trades. We observe that various problems of choosing a multi-asset trade can be formulated as convex optimization problems, and can therefore be reliably and efficiently solved.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. From Swap Axioms to Weighted Geometric Means: A Characterization of AMMs

    cs.DC 2026-04 accept novelty 8.0 full

    Trading orbits of two-asset AMMs are level sets of weighted geometric means x^w y^{1-w} derived from validity invariance, Pareto efficiency, and unit invariance.