Skip to main content

Constant Potential Function

Definition

A constant potential function is a mathematical construct utilized in automated market makers (AMMs) and decentralized exchanges (DEXs) to maintain a specific invariant across liquidity pools. This function ensures that the product or sum of the quantities of pooled assets remains constant, even as trades occur. It governs the pricing mechanism and the ratio of assets within the pool, enabling continuous trading without relying on traditional order books. The constant potential function is a core element in the design of many decentralized finance (DeFi) protocols.