Skip to main content

How Is the Invariant Formula for a Multi-Asset Pool, like Balancer’s Value Function, Different from the Constant Product Formula?

Balancer's Value Function is a generalization of the constant product formula (x y=k). It is a weighted geometric mean, expressed as V = product(B_i ^ W_i), where B is the balance of each token and W is its weight.

Unlike the 50/50 split in the constant product model, this allows for pools with custom weights, such as 80% of one asset and 20% of another. This flexibility enables the creation of pools that can act as index funds and alters the impermanent loss profile based on the asset weightings.

How Would This Formula Change for a Liquidity Pool Governed by a Constant Mean or Constant Sum Formula?
How Do Balancer’s Multi-Asset Pools Change the IL Profile?
How Do Hybrid AMM Models, like Curve’s StableSwap Invariant, Improve upon the Constant Product Formula for Stablecoin Trading?
What Is the Significance of the “Invariant” in Curve Finance’s StableSwap AMM?