Skip to main content

Balancer

Type: DEX

Balancer is an AMM protocol that generalizes the constant product formula to multi-token pools with arbitrary weights, functioning as both a DEX and an automated portfolio manager. It introduced weighted pools, composable stable pools, and boosted pools that route idle liquidity to lending protocols.

Market Microstructure Analysis

Balancer's weighted pool invariant generalizes the constant product AMM to N tokens with arbitrary weights: the weighted geometric mean of token balances raised to their respective weights stays constant. This enables pools where token ratios aren't 50/50 — for example, an 80/20 pool where one token dominates, reducing impermanent loss for the minority token while still providing liquidity depth. The price impact of a trade is determined by the size of the trade relative to the balance of the specific token being bought, weighted by the pool's weight configuration. Balancer pools can hold up to 8 tokens, functioning as automated index funds where rebalancing happens through arbitrage (not active management). Boosted pools lend idle liquidity to Aave or other lending protocols, earning additional yield for LPs beyond swap fees. The protocol's composable stable pools allow nesting: a pool of pools, enabling efficient routing between stablecoin pools and weighted pools.

Key Innovations

  • Multi-token weighted pools: N tokens with arbitrary weights
  • Boosted pools: idle LP capital deployed in lending protocols
  • Composable stable pools: nested pool architecture for efficient routing
  • 80/20 pools: reduced IL for minority tokens