Skip to content
ARRANGEDocumentation
Browse documentation
On this page

DocumentationResearch Foundations

Constant Function Market Makers

Reserve functions, marginal price and payoff-specific construction.

#Reserves and trading functions

A CFMM admits trades that keep a reserve function at or above a specified level. In equality form, trades move reserves along an invariant surface.

ψ(x, y) = k
Marginal price under regularity assumptions
p_pool = (∂ψ/∂x) / (∂ψ/∂y)

#Generic and payoff-specific

CFMMStarting pointLP exposure
Constant productx × y = kDerived from the constant-product curve
Constant meanWeighted reserve productDetermined by weights and rebalancing
RMMTarget payoff VRecovered to match or approximate V in its domain

#Value after arbitrage

Conceptual CFMM portfolio-value problem
V(c) = inf { cᵀR : ψ(R) ≥ k }

External prices c value feasible reserves R. Arbitrage moves the pool toward the reserve state that minimizes value at those prices, producing the LP value function.

  1. Replicating Market Makers

    Angeris, Evans and Chitra's primary paper on constructing CFMM trading functions from target payoff functions.

ARRANGE Documentation