Balancer
Balancer V2
Balancer V2
  • Protocol Overview
  • Developer Docs
  • Products
    • The Vault
      • Flash Loans
    • Balancer Pools
      • Weighted Pools
      • Composable Stable Pools
      • Liquidity Bootstrapping Pools (LBPs)
      • Managed Pools
        • Asset Managers
      • Boosted Pools
      • Custom Pools
    • Smart Order Router
    • Balancer CoW Protocol
    • Oracles (deprecated)
  • Concepts
    • Math
      • Weighted Math
      • Stable Math
    • Fees
  • Ecosystem
    • Governance
      • Governance Process
        • RFC/Proposal Forum Post Template
      • BAL Governance Token
      • Snapshot
      • Multisig
        • Other DAO Multisigs
      • Governable Protocol Fees
      • Emergency subDAO
    • Community
      • Ballers
      • Delegation
      • Grants
    • veBAL and Gauges
      • veBAL
        • How veBAL Works
        • How To Use veBAL
        • How veBAL Boosting Works
          • Working Supply
          • Calculating My Boost
          • Minimum veBAL for Max Boost
        • BIP19 and Yield Bearing Tokens
      • Gauges
        • How Gauges Work
        • How To Use Gauges
  • Security
    • Audits
    • Bug Bounties
    • Emergency Pause
    • Token Compatibility
    • Balancer x Certora Accelerator
  • Getting Started
    • FAQs
      • Swapping
      • Liquidity
      • Liquidity Mining with the veBAL and Gauge System
      • Liquidity Mining (Legacy)
      • Fees
      • Governance
      • The Vault
      • Pools and LBPs
      • Asset Managers
      • Oracles
      • About Balancer Protocol and Labs
      • V2 in a Nutshell
      • V1 ➝ V2 Migration
    • Walkthroughs
      • Trade
      • Invest
    • Contribution Guide
  • Community
    • Discord
    • Forums
    • Medium
    • Dune Analytics
  • Developers (Deprecated)
    • !!! DEPRECATED !!! ⛔
    • Guides
      • Pool Verification
    • Smart Order Router V2
    • GitHub
Powered by GitBook
On this page

Was this helpful?

  1. Ecosystem
  2. veBAL and Gauges
  3. veBAL
  4. How veBAL Boosting Works

Calculating My Boost

To determine a user's boost their portion of staked liquidity in a pool as well as their share of total veBAL must be considered. First, a user's "non-boosted" and actual working supply are calculated as such:

Non−boosted working supplyuser=0.4∗lNon-boosted \ working \ supply_{user} = 0.4*lNon−boosted working supplyuser​=0.4∗l
  • This equation assumes a user holds no veBAL

working supplyuser=min(0.4∗l + 0.6∗L′∗veBAL HeldTotal veBAL , liquidity provided(l))working \ supply_{user}=min \bigg(0.4*l \ + \ 0.6* L'* \frac{veBAL \ Held}{Total \ veBAL} \ , \ liquidity \ provided (l) \bigg)working supplyuser​=min(0.4∗l + 0.6∗L′∗Total veBALveBAL Held​ , liquidity provided(l))
  • This equation accounts for a user's veBAL holdings, while bounding boost between 1x and 2.5x

The boost a user receives is the the ratio of their working supply over the new total working supply, divided by the minimum case of their working supply entering a pool.

Boost=working supplyuserworking supplyuser+total working supplypoolNon−boosted working supplyuserNon−boosted working supplyuser+total working supplypoolBoost = \frac{\frac{working \ supply_{user}}{working \ supply_{user} + total \ working \ supply_{pool}}}{\frac{Non-boosted \ working \ supply_{user}}{Non-boosted \ working \ supply_{user} + total \ working \ supply_{pool}}}Boost=Non−boosted working supplyuser​+total working supplypool​Non−boosted working supplyuser​​working supplyuser​+total working supplypool​working supplyuser​​​
  • The total working supply can be pulled from a pool's gauge contract or simulated.

In the case of already being in the pool and depositing further liquidity, further adjustments to the calculation must be considered.

PreviousWorking SupplyNextMinimum veBAL for Max Boost

Last updated 2 years ago

Was this helpful?