Glossary

Liquidity Gauge

A liquidity gauge is a smart contract that measures liquidity provision and distributes protocol token emissions to stakers.

Key Takeaways

  • A liquidity gauge is a smart contract where liquidity providers stake their LP tokens to earn protocol token emissions, pioneered by Curve Finance and now used across dozens of DeFi protocols.
  • Gauge weights determine each pool's share of emissions and are set through gauge voting by veToken holders, creating a market for liquidity direction.
  • The gauge model aligns protocol incentives with liquidity needs, but also introduces complexities like gauge wars, vote buying through bribe marketplaces, and concentration of governance power.

What Is a Liquidity Gauge?

A liquidity gauge is a staking contract that tracks how much liquidity each user provides to a specific pool and distributes newly minted protocol tokens proportionally. The term "gauge" refers to the measurement function: the contract gauges (measures) each depositor's contribution over time and calculates their fair share of token emissions.

Curve Finance introduced liquidity gauges in 2020 as the core mechanism for distributing CRV token emissions to liquidity providers. Rather than handing out tokens on a fixed schedule to all pools equally, Curve let its governance community decide which pools deserved the most rewards. Each pool received its own gauge contract, and the percentage of total emissions flowing to each gauge was determined by community votes.

This design has since become a standard pattern in DeFi. Protocols like Balancer (with veBAL gauges), Velodrome on Optimism, and Aerodrome on Base all use gauge-based emission systems to direct incentives toward the pools where liquidity is most needed.

How It Works

The gauge system consists of several interacting contracts: gauge contracts (one per pool), a gauge controller that tracks all gauges and their weights, and a minter contract that creates new tokens according to the emission schedule.

Staking LP Tokens

After depositing assets into a liquidity pool and receiving LP tokens, a user stakes those LP tokens into the pool's gauge contract. The gauge tracks each depositor's balance and the duration of their stake. Rewards accrue continuously based on the user's share of total deposits in the gauge.

  1. Provide liquidity to an AMM pool and receive LP tokens
  2. Approve the gauge contract to spend your LP tokens
  3. Call the gauge's deposit function to stake your LP tokens
  4. Earn protocol token emissions proportional to your share of the gauge
  5. Claim accrued rewards at any time, or withdraw your LP tokens to exit

Gauge Weights and the Controller

The gauge controller is a central registry that tracks every active gauge and assigns each one a weight. These weights determine what fraction of total weekly emissions each gauge receives. If a gauge holds 10% of the total vote weight, it receives 10% of that period's token emissions.

In Curve's system, gauge weight voting happens on a weekly cycle. Holders of veCRV (vote-escrowed CRV) allocate their voting power across gauges, and the new weights take effect every Thursday at 00:00 UTC. Users can change their vote allocation once every 10 days.

Reward Calculation

Gauges use an integral-based accounting system to track rewards over time. The contract maintains a running integral of the reward rate per token staked. When a user deposits, withdraws, or claims, the contract computes the difference between the current integral and the user's last recorded checkpoint to determine owed rewards.

// Simplified reward calculation logic
reward = user_balance * (current_integral - user_checkpoint_integral)

// Where:
// current_integral += (reward_rate * time_elapsed) / total_staked
// user_checkpoint_integral is set on deposit, withdraw, or claim

Boosting with veTokens

Curve introduced a boosting mechanism that lets veCRV holders amplify their gauge rewards by up to 2.5x. The boost depends on the ratio of a user's veCRV balance to the total veCRV supply, relative to their share of the gauge's deposits. Users with no veCRV receive a base reward rate, while those with proportionally large veCRV holdings earn up to 2.5 times more from the same liquidity position.

Only native protocol emissions (CRV rewards) are subject to boosting. Third-party reward tokens distributed through the gauge are allocated purely based on liquidity share, with no boost applied.

The Gauge Wars

Because gauge votes direct valuable token emissions, they became a strategic resource. Protocols that operate liquidity pools want high gauge weights to attract more depositors with richer rewards. This competition for gauge votes became known as the "gauge wars" or, in Curve's case, the Curve Wars.

The wars play out through several mechanisms:

  • Accumulation: protocols like Convex Finance aggregate CRV deposits from individual holders, permanently lock them as veCRV, and use the combined voting power to direct emissions. At its peak, Convex controlled a significant share of all veCRV.
  • Bribing: projects pay veToken holders directly in exchange for their gauge votes. Bribe marketplaces like Votium and Hidden Hand formalized this, creating a secondary market where governance votes have a measurable price.
  • Vote buying efficiency: protocols compare the cost of bribes against the value of emissions directed to their pool. If $1 in bribes directs $3 in CRV emissions, the bribe is profitable for the protocol seeking liquidity.

Academic research has confirmed that gauge votes strongly follow bribe incentives, meaning emission direction is largely determined by which protocols spend the most on bribes rather than organic community preference.

Adoption Beyond Curve

The gauge model has been adopted and adapted by many protocols:

  • Balancer uses veBAL gauges with the same vote-escrow mechanics to direct BAL emissions across its weighted pools and boosted pools
  • Velodrome on Optimism and Aerodrome on Base use a Solidly-inspired gauge model where 100% of trading fees flow to veToken voters rather than LPs, aligning voter incentives with fee-generating pools
  • Frax Finance uses gauge-weighted emissions for its Fraxswap and Fraxlend products, with veFXS holders directing FXS incentives

Each implementation varies in details: some cap individual gauge weights, some use epoch-based rather than continuous distribution, and some route trading fees through gauges as additional rewards. The Velodrome/Aerodrome model is notable for channeling all swap fees to gauge voters, creating a direct link between voting for a productive pool and earning its revenue.

Use Cases

Directing Liquidity Where It Matters

Gauges solve the cold-start problem for new pools. A protocol launching a new trading pair can campaign for gauge votes (or offer bribes) to direct emissions toward its pool, attracting liquidity providers with competitive yields. Without gauges, new pools must rely on the protocol treasury to fund manual liquidity mining programs.

Protocol-Owned Liquidity Strategies

Protocols that hold their own LP positions can stake them in gauges to earn emissions, effectively turning protocol-owned liquidity into a revenue-generating asset. Combined with accumulated veTokens, a protocol can direct emissions to its own pools at no ongoing cost.

Sustainable Tokenomics Design

The gauge model provides a framework for sustainable token economics. Rather than distributing emissions uniformly across all pools, gauges let governance concentrate rewards on pools that generate real trading volume and fees. This helps protocols avoid the common pitfall of paying emissions to mercenary capital in low-activity pools.

Technical Architecture

Core Contracts

A typical gauge system consists of three primary contracts:

  • Gauge Controller: the registry of all gauges and their current weights. It processes votes, computes relative weights, and exposes them to the minter
  • Liquidity Gauge (per pool): accepts LP token deposits, tracks balances and time-weighted stakes, computes per-user reward integrals, and handles claims
  • Minter: creates new tokens according to the emission schedule and distributes them to gauges based on the controller's weight data

Adding a new gauge to the controller requires a governance proposal and vote. This prevents spam gauges from diluting emissions and ensures the community approves which pools receive incentives.

Cross-Chain Gauges

As DeFi expanded across multiple chains, gauge systems adapted. Curve uses a root gauge on Ethereum that bridges emissions to child gauges on other networks. The child gauge tracks LP deposits on its local chain while the emission allocation is still determined by mainnet veCRV votes. This architecture keeps governance centralized on Ethereum while distributing rewards across chains.

Emission Schedule

In Curve's system, the total CRV emission rate decreases by approximately 16% each year (reduced by a factor of 2^(1/4) annually, with the reduction taking effect each August). This declining emission curve means gauge-directed rewards naturally decrease over time, increasing the importance of trading fees as a sustainable revenue source for liquidity providers.

Risks and Considerations

Governance Centralization

Gauge voting power tends to concentrate among a few large holders and aggregator protocols. When a single entity like Convex controls a large share of veTokens, it effectively controls emission direction for the entire protocol. This concentration can undermine the decentralized governance that the system is designed to provide. Smaller governance token holders may find their votes have negligible impact.

Bribe-Driven Misallocation

If gauge votes follow bribes rather than genuine liquidity needs, emissions may flow to pools that generate little trading volume or fees. A pool with heavy bribe spending but minimal organic demand still receives emissions, potentially wasting protocol resources. The gauge system works best when voters balance bribe income against the long-term health of the protocol.

Smart Contract Risk

Staking LP tokens in a gauge adds another layer of smart contract risk. Users are exposed to bugs in both the underlying pool contract and the gauge contract. A vulnerability in the gauge controller could affect all gauges simultaneously, making it a critical piece of infrastructure.

Opportunity Cost and Lock-Up

The vote-escrow model requires locking tokens for extended periods (up to 4 years for maximum veCRV). During this time, the locked tokens cannot be sold, used as collateral, or transferred. If the protocol's token price declines, locked holders bear the full loss with no ability to exit. Liquid wrappers like Convex's cvxCRV partially mitigate this, but they introduce additional smart contract and peg risk.

Emission Dependency

Pools that rely heavily on gauge emissions for yield face sustainability risk as emission rates decline. If a pool cannot generate sufficient trading fees to retain liquidity on its own, a reduction in gauge weight or overall emission rate can trigger rapid liquidity withdrawal. This creates a dependency cycle where pools need emissions to attract liquidity, but the emissions themselves are a depreciating resource.

This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.