Skip to main content

Invariant Function Models

Meaning

Invariant Function Models are mathematical frameworks, prominently used in decentralized finance (DeFi), particularly by Automated Market Makers (AMMs) on decentralized exchanges (DEXs), to define the relationship between reserves of different assets in a liquidity pool. The “invariant” aspect means that the product or sum of the reserves, or some other function of them, remains constant during swaps, excluding fees. These models are fundamental to how decentralized exchange liquidity is provided and how prices are determined in a permissionless environment.