Holdr Protocol Overview
  • Protocol Overview
  • Developer Docs
  • Product
    • Overview
    • The Vault
    • Pools
      • Weighted Pools
      • Composable Stable Pools
      • Liquidity Bootstrapping Pools (LBPs)
    • Smart Order Router
  • Concepts
    • Math
      • Weighted Math
      • Stable Math
    • Fees
  • Ecosystem
    • Governance
    • veHLDR and Gauges
      • veHLDR
        • How veHLDR Works
        • How To Use veHLDR
        • How veHLDR Boosting Works
          • Working Supply
          • Calculating My Boost
          • Minimum veHLDR for Max Boost
      • Gauges
        • How Gauges Work
  • Developers
    • Deployment Addresses
  • Getting Started
    • FAQs
      • Swapping
      • Liquidity
      • Liquidity Mining with the veHLDR and Gauge System
      • Fees
      • The Vault
      • Pools and LBPs
Powered by GitBook
On this page
  1. Ecosystem
  2. veHLDR and Gauges
  3. veHLDR
  4. How veHLDR 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 veHLDR 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 veHLDR

working supplyuser=min(0.4∗l + 0.6∗L′∗veHLDR HeldTotal veHLDR , liquidity provided(l))working \ supply_{user}=min \bigg(0.4*l \ + \ 0.6* L'* \frac{veHLDR \ Held}{Total \ veHLDR} \ , \ liquidity \ provided (l) \bigg)working supplyuser​=min(0.4∗l + 0.6∗L′∗Total veHLDRveHLDR Held​ , liquidity provided(l))

  • This equation accounts for a user's veHLDR 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 veHLDR for Max Boost

Last updated 2 years ago