A Weighted Pool is a type of automated market maker (AMM) liquidity pool where the assets are allocated according to predefined, non-equal weights, such as 80/20 or 60/40, which remain constant. This contrasts with a Constant Product Market Maker (CPMM) like Uniswap V2, where all assets in a pair have an equal 50/50 weight. The fixed weights determine each asset's relative influence on the pool's price and the swap fees generated for liquidity providers, allowing for pools optimized for specific asset pairings where equal weighting is suboptimal.
Weighted Pool
What is a Weighted Pool?
A technical definition of the Weighted Pool, a core automated market maker (AMM) design for decentralized exchanges.
The core mechanism is governed by the Constant Weighted Geometric Mean formula: β B_i^w_i = k, where B_i is the balance of token i and w_i is its fixed weight. This formula ensures the weighted product of the token balances remains constant. A swap that changes the balances must maintain this invariant, which dictates the pricing curve. Pools with more extreme weightings (e.g., 90/10) exhibit greater price stability for the heavily weighted asset but provide less liquidity depth for the minor asset, creating a customized trading environment.
This design enables several key use cases. A common example is a Balancer 80/20 pool, where a protocol's governance token is paired with a stablecoin like DAI; the high weight on the stablecoin reduces impermanent loss for liquidity providers primarily interested in earning fees on the volatile asset. Weighted Pools are also foundational for index funds or customized portfolios within DeFi, allowing a single pool to hold up to eight assets (on Balancer V2) in a specific, rebalancing allocation without requiring an external manager.
How a Weighted Pool Works
A weighted pool is a type of automated market maker (AMM) liquidity pool where the relative prices of its assets are determined by a fixed, pre-defined ratio of token weights, rather than a 50/50 split.
At its core, a weighted pool operates on the Constant Product Market Maker (CPMM) formula, but with a crucial modification: each token is assigned a static weight, expressed as a percentage. The core invariant is Ξ (Balance_token)^(Weight_token) = k, where the product of each token's reserve raised to the power of its weight remains constant. For example, an 80/20 ETH/DAX pool gives the ETH reserve an 80% influence on the price calculation and the DAX reserve a 20% influence. This fixed weighting creates a predictable and stable price curve tailored to the pool's specific use case.
The primary function of the weight ratio is to control price impact and capital efficiency. In an 80/20 pool, a trade that buys the 20%-weighted token (e.g., a governance token) will cause its price to rise more sharply compared to a 50/50 pool, as its smaller weight amplifies the effect of changes in its reserve. This design is intentional, often used to concentrate liquidity around a target price for a stablecoin pair (e.g., a 98/2 pool for USDC/DAI) or to provide deep liquidity for a primary asset like WETH paired with a smaller-cap token.
Impermanent Loss (IL) dynamics are also directly tied to the weights. Pools with more balanced weights (e.g., 50/50) are more exposed to IL when the prices of the two assets diverge. Conversely, pools with highly asymmetric weights (e.g., 95/5) significantly reduce IL for liquidity providers (LPs) of the dominant asset, as the pool's value is heavily anchored to it. This makes weighted pools a flexible tool, allowing LPs to choose their exposure and risk profile based on the asset composition.
In practice, protocols like Balancer generalized this model, enabling pools with two or more tokens (e.g., a 3-token pool with weights of 33/33/33 or 50/25/25) and allowing the pool itself to function as a self-balancing weighted portfolio. The fixed weights are enforced by the smart contract's bonding curve, ensuring that arbitrageurs constantly trade against the pool to restore the proper price ratio whenever external market prices drift, thereby generating fee income for LPs.
Key Features of Weighted Pools
Weighted pools are a foundational Automated Market Maker (AMM) design where liquidity is allocated according to predefined, static ratios. This structure enables efficient trading of assets with different risk profiles and market capitalizations.
Constant Weight Invariant
The core mathematical formula governing a weighted pool is the Constant Weight Invariant: β (Balance_i)^(Weight_i) = k. Unlike a Constant Product Market Maker (CPMM), this invariant ensures the weighted geometric mean of the token reserves remains constant. This allows for customizable liquidity depth for each asset, making it suitable for pools where assets are not expected to maintain a 1:1 value ratio.
Static Token Weights
Each token in the pool is assigned a fixed, immutable percentage weight (e.g., 80/20, 60/40, 33/33/33). These weights determine:
- Price impact sensitivity: A token with a lower weight experiences greater price impact per trade.
- Portfolio allocation: Liquidity providers (LPs) must deposit assets in the exact proportion of the weights.
- Use case fit: Common for stablecoin pools (e.g., 50/50 DAI/USDC) or blue-chip/volatile asset pairs (e.g., 80/20 wETH/XYZ).
Spot Price & Slippage
The spot price in a weighted pool is derived from the ratio of the token balances, adjusted by their weights: (Balance_A / Weight_A) / (Balance_B / Weight_B). Slippage is non-linear and more complex than in a 50/50 pool. The effective liquidity for a trade depends heavily on the weight of the asset being sold; selling a low-weight token results in higher slippage due to the pool's designed imbalance.
Liquidity Provider (LP) Tokens & Fees
LPs receive pool tokens representing their share of the total liquidity. Trading fees (e.g., 0.3%) are accrued proportionally and increase the value of these tokens. Impermanent Loss (IL) dynamics are unique: LPs are most exposed to IL when the price ratio of the assets diverges from the ratio implied by their weights. An 80/20 pool, for instance, is more tolerant of price movement in the 20% asset.
Comparison to Other AMM Designs
Weighted pools differ from other major AMM types:
- vs. Constant Product (50/50): Allows asymmetric liquidity, better for non-pegged assets.
- vs. StableSwap/Curve: Uses a constant sum invariant near parity; optimized for low-slippage stablecoin trades.
- vs. Concentrated Liquidity: Liquidity is spread across the entire price curve (0, β), not concentrated in a specific range. This makes it simpler but potentially less capital efficient for correlated assets.
Common Implementations & Examples
Weighted pools are a standard feature of generalized AMMs. Balancer V2 is the most prominent protocol built specifically around this model, allowing up to 8 tokens with custom weights. They are also widely used on Uniswap V2-style DEXs for 2-asset pools (typically 50/50) and on other platforms for index funds or custom portfolio pools. A real-world example is a pool containing 50% wBTC, 30% wETH, and 20% LINK.
Protocol Examples & Use Cases
A Weighted Pool is a type of Automated Market Maker (AMM) liquidity pool where assets are held at fixed, non-equal ratios, allowing for customized liquidity structures beyond the standard 50/50 split.
Use Case: Liquidity Bootstrapping Pools (LBPs)
Weighted pools are the core mechanism for Liquidity Bootstrapping Pools, used for fair token launches. A typical setup:
- Starts with a high weight (e.g., 95%) on the new token and a low weight (5%) on a stablecoin.
- Weights automatically shift over time (e.g., to 50/50), creating a descending price pressure that discourages front-running and allows market discovery.
- Platforms like Balancer and Fjord Foundry specialize in this use case.
Use Case: Customized Index Pools
Weighted pools enable the creation of on-chain index funds or token baskets with bespoke allocations. Examples include:
- DeFi Index: A pool with weights allocated to UNI, AAVE, COMP, and MKR based on market cap.
- Stablecoin Yield Optimizer: A pool holding USDC, DAI, and USDT with weights adjusted to deposit into the highest-yielding lending protocols automatically.
- Thematic Baskets: A "Layer 1" pool with weighted allocations to ETH, SOL, AVAX, etc.
Technical Mechanism & Math
A Weighted Pool operates on the Constant Mean Market Maker formula, a generalization of Uniswap's constant product formula:
β (Balance_i ^ Weight_i) = k
Where:
Balance_iis the reserve of tokeni.Weight_iis the fixed, normalized weight (sum of all weights = 1).kis the invariant constant. Key Property: The pool maintains the weighted geometric mean of its reserves. A token with a higher weight requires a larger trade volume to shift its price significantly.
Weighted Pool vs. Constant Product Pool
A technical comparison of the two foundational Automated Market Maker (AMM) pool designs, highlighting their core mechanisms, use cases, and trade-offs.
| Feature | Weighted Pool (e.g., Balancer) | Constant Product Pool (e.g., Uniswap V2) |
|---|---|---|
Core Pricing Formula | x^w_x * y^w_y = k (Weighted Constant Product) | x * y = k (Constant Product) |
Token Weight Flexibility | ||
Standard Token Ratio | Configurable (e.g., 80/20, 60/40) | Fixed 50/50 |
Capital Efficiency for Stable/Correlated Assets | Higher (via balanced weights) | Lower |
Impermanent Loss Profile | Asymmetric (varies by weights) | Symmetric (equal for both assets) |
Primary Use Case | Custom portfolios, stable pairs, governance pools | General trading pairs, price discovery |
Swap Fee Structure | Typically static (e.g., 0.1% - 1%) | Typically static (e.g., 0.3%) |
Protocol Example | Balancer V2, Beethoven X | Uniswap V2, SushiSwap |
Benefits for Liquidity Providers (LPs)
Weighted pools provide LPs with unique advantages by allowing them to define the relative influence of each asset in the pool, enabling specialized strategies beyond standard 50/50 pools.
Customizable Asset Ratios
LPs can deposit assets in non-equal proportions (e.g., 80/20 or 95/5), allowing them to maintain a desired portfolio bias. This is crucial for pools containing a stablecoin paired with a volatile asset, where LPs may want to reduce exposure to impermanent loss by holding more of the stable asset.
Targeted Fee Generation
Fees are distributed proportionally to an LP's share of the pool, but the weighting influences trading dynamics. A pool with a high weight on a less liquid asset can attract more arbitrage trades against that asset, potentially generating higher fee revenue for LPs providing that specific liquidity.
Reduced Impermanent Loss for Stable Pairs
In pools like 80% stablecoin / 20% volatile asset, the impact of price divergence is significantly dampened for LPs compared to a 50/50 pool. The LP's overall portfolio value is more stable because the majority of their capital is in the non-volatile asset.
Capital Efficiency for Correlated Assets
Weighted pools excel for highly correlated assets (e.g., different stablecoins or wrapped versions of the same asset). Using a 50/50/50 split for three stablecoins is inefficient. A 33/33/33 weighted pool concentrates liquidity more effectively, allowing the same capital to support larger trades with lower slippage.
Protocol-Specific Incentive Alignment
Many DeFi protocols and DAOs create weighted pools to bootstrap liquidity for their native token. They often offer additional liquidity mining rewards or governance power to LPs in these pools, providing yield beyond trading fees. An example is a protocol creating a 90/10 pool with its governance token.
Exposure to Asymmetric Opportunities
Sophisticated LPs can use weighted pools to express a market view. For instance, an LP believing a token is undervalued might provide liquidity in a 95/5 pool, committing a small amount of the speculative asset against a large amount of stablecoin, aiming to accumulate more of the token via fees and arbitrage if its price rises.
Security & Economic Considerations
A Weighted Pool is a type of Automated Market Maker (AMM) liquidity pool where assets are allocated according to predefined, non-equal weights. This design introduces specific security and economic trade-offs compared to 50/50 pools.
Capital Efficiency & Tailored Exposure
Weighted Pools allow liquidity providers (LPs) to customize their capital allocation. For example, an 80/20 ETH/DAI pool concentrates capital on the more volatile asset, which can increase fee revenue for that trading pair but also concentrates impermanent loss (IL) risk. This is a deliberate economic trade-off for pools with assets of differing volatility or expected demand.
Concentrated Risk of Impermanent Loss
The asymmetric weighting amplifies impermanent loss for the token with the higher weight if its price increases significantly relative to the pool's other assets. LPs in an 80/20 pool are more exposed to ETH's price movement than DAI's. This is a fundamental economic consideration that must be modeled by LPs before providing liquidity.
Manipulation Resistance & Oracle Security
Weighted Pools, especially those with a heavy weight (e.g., 90/10), can be more vulnerable to price manipulation within a single block because less capital defends the weighted asset's price. However, they can also be designed as highly secure on-chain oracles (e.g., Balancer's 80/20 ETH/USDC pools), where the heavily weighted asset provides price stability and the lightweight asset acts as a low-liquidity checkpoint, making manipulation costly.
Protocol Fee Mechanics
Fee structures in Weighted Pools must account for the unequal capital allocation. Protocols often take a percentage of swap fees, which are generated disproportionately from the more heavily weighted asset. The economic security of the protocol depends on accurately calculating and collecting these fees without distorting the pool's intended balance or creating arbitrage vulnerabilities.
Composability & Integration Risk
While Weighted Pools enable novel DeFi products (like index pools or stablecoin pools with a governance token), they introduce integration complexity. Smart contracts interacting with these pools must correctly handle the weighted math for swaps, joins, and exits. Incorrect integration is a security risk that can lead to lost funds or exploited arbitrage.
Governance & Parameter Setting
The weights and swap fee parameters are critical to a pool's security and economic viability. If these are upgradeable, control often rests with protocol governance or the pool creator. Malicious or poorly calibrated parameter changes (e.g., setting a 99/1 weight) can drain liquidity or make the pool unusable, representing a key governance risk.
Frequently Asked Questions (FAQ)
Common questions about Weighted Pools, a core Automated Market Maker (AMM) design used by protocols like Balancer for flexible liquidity provision.
A Weighted Pool is an Automated Market Maker (AMM) pool where each token is assigned a specific, customizable weight that influences its price impact and the pool's composition. Unlike a Constant Product Market Maker (CPMM) like Uniswap V2, which uses a 50/50 weight for its two assets, a Weighted Pool's invariant formula is V = β (B_k)^(W_k), where B_k is the balance of token k and W_k is its normalized weight. This allows for pools with multiple tokens (e.g., 80/20 or 33/33/33 distributions), where tokens with higher weights experience less price slippage per unit traded but make up a larger portion of the liquidity. The pool rebalances automatically as trades occur, maintaining the target weight ratios over time.
Get In Touch
today.
Our experts will offer a free quote and a 30min call to discuss your project.