Aura Finance
English
English
  • 🙌Welcome
  • 📖Aura
    • What is Aura?
      • For Liquidity Providers
      • For $BAL Stakers
      • For $AURA Lockers
      • Fees
    • Governance
      • Multisig Composition
      • Multisig Rights
      • Gauge Voting
    • Security
      • Risks
    • $AURA
      • Distribution
        • Allocation Scaling Process
      • Vote Locking
  • 🛠️DEVELOPERS
    • Aura Subgraphs
    • Deployed Addresses
      • Canonical Deployment Addresses
      • Sidechain Deployment Addresses
    • Solidity API
      • AuraBalVault - Compounder
      • Sidechain Contracts
    • Building on Aura
    • Brand Guidelines
    • How To ___
      • See reward tokens / yield on Aura Pools
      • Calculate APRs from Aura pool yield
      • Calculate pool boost
      • Calculate projected APRs
      • Get Balancer LP price
      • Add extra incentives to Aura pools
    • Frequently Asked Questions
  • 🔗Links
    • Twitter
    • Discord
    • Forum
    • Github
    • Aura Finance
    • Terms and Conditions
Powered by GitBook
On this page
  1. DEVELOPERS
  2. How To ___

Calculate pool boost

PreviousCalculate APRs from Aura pool yieldNextCalculate projected APRs

Last updated 1 year ago

function getBoost() {
  const adjustedGaugeBalance =
    0.4 * gaugeBalance + ((0.6 * vebalBalance) / vebalTotalSupply) * gaugeTotalSupply;
  
  const workingBalance =
    gaugeBalance < adjustedGaugeBalance ? gaugeBalance : adjustedGaugeBalance;
  
  const zeroBoostWorkingBalance = 0.4 * gaugeBalance;
  const zeroBoostWorkingSupply = gaugeWorkingSupply - workingBalance + zeroBoostWorkingBalance;
  
  const boostedFraction = workingBalance / gaugeWorkingSupply;
  const unboostedFraction = zeroBoostWorkingBalance / zeroBoostWorkingSupply;
  
  return boostedFraction / unboostedFraction;
}
🛠️
LogoAPR CalculationDevelopers