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∗l This equation assumes a user holds no veHLDR
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=Non−boosted working supplyuser+total working supplypoolNon−boosted working supplyuserworking supplyuser+total working supplypoolworking 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.