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 APRs from Aura pool yield

  • BAL APR

    const rewardPerYear = exactToSimple(rewardRate) * (86_400 * 365);
    const rewardPerYearUsd = rewardPerYear * rewardTokenPrice;
    const value = (rewardPerYearUsd / poolTVL) * 100;
  • AURA APR

💡 Use the getAuraMintAmount() mentioned in the first section

const auraPerYear = getAuraMintAmount(balApr.rewardPerYear, auraStaticQuery.data.global);
const auraPerYearUsd = exactToSimple(auraPerYear) * auraPrice;
const value = (auraPerYearUsd / tvl) * 100;
PreviousSee reward tokens / yield on Aura PoolsNextCalculate pool boost

Last updated 1 year ago

🛠️