Constant Product Market Maker (CPMM)
An automated pricing model in DeFi that maintains a constant product of asset reserves in a liquidity pool to determine prices.
What is Constant Product Market Maker (CPMM)?
The Constant Product Market Maker (CPMM) is the foundational algorithm for many decentralized exchanges, governed by the formula x * y = k, where x and y are the quantities of two assets in a pool, and k remains constant during trades. Pioneered by Uniswap, this model allows users to trade directly against the pool without needing counterparties, with prices adjusting based on reserve ratios. For example, in an ETH/USDC pool with 1,000 ETH and 4,500,000 USDC (k=4,500,000,000), swapping 10 ETH requires depositing about 45,454.55 USDC, resulting in an effective price of 4,545.45 USDC per ETH.
CPMMs excel in spot trading for digital assets, facilitating over $2 trillion in cumulative volume on Uniswap alone, but struggle with perpetual futures due to oracle dependencies and lack of precise price discovery. They distribute liquidity across an infinite price range, leading to inefficiencies where most capital sits idle, as seen in stablecoin pairs like USDC/DAI trading tightly around $1.
Evolutions like Uniswap v3 address some limitations through concentrated liquidity, but core CPMM mechanics remain vulnerable to impermanent loss, where arbitrageurs rebalance pools after external price changes, often leaving providers with more of the depreciating asset. Platforms like SushiSwap and Balancer also employ CPMM variants, supporting multi-asset pools for enhanced flexibility in DeFi.
Related Terms
Hash
A fixed-length string generated by a cryptographic function to uniquely represent data in the Bitcoin blockchain.
U.S. Treasury-backed Stablecoin
A digital asset backed by U.S. Treasury securities, offering yield and regulatory alignment.
Digital Asset Treasury (DAT)
Public companies that strategically accumulate digital assets(primarily BTC or ETH) as core treasury reserves to drive shareholder value and provide digital asset market exposure.
Consensus Layer
The protocol layer responsible for achieving agreement among nodes on the state of a blockchain network.
Diamond Hands
A term describing traders or investors who hold onto their digital assets through market volatility, demonstrating strong conviction and risk tolerance.
Decentralization (Prediction Market)
The distribution of control and data across multiple nodes in a prediction market, reducing reliance on a single authority.