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
  • Finding the contracts
  • Depositing BPTs
  1. DEVELOPERS

Building on Aura

How to integrate with the Aura Finance protocol

PreviousSidechain ContractsNextBrand Guidelines

Last updated 1 year ago

These docs are still a work in progress. Reach out on Discord if you have any requests or get stuck integrating

Finding the contracts

Find all Aura contracts here:

With modified code from the Convex platform here:

Depositing BPTs

All gauge deposit pools are 4626 vaults, with the asset being Balancers LP token (BPT). Simply approve the reward pool and call the deposit function.

Find the reference implementation here:

Note: auraBAL and vlAURA reward contracts are not on the 4626 standard

Note: StashToken contracts are not ERC20 compliant. convex-platform/contracts/contracts/StashToken.sol is designed to interact only with VirtualBalanceRewardPool and ExtraRewardStashV3. AnyextraRewards is distributed by a VirtualBalanceRewardPool, which is linked to a StashToken, the StashToken wraps the extraReward as a baseToken.

Aura is price agnostic and thus does not require oracles. Flash loans or any other type of price manipulation or front running do not affect the Aura system.

๐Ÿ› ๏ธ
LogoGitHub - aurafinance/aura-contracts: Aura Finance contractsGitHub
LogoGitHub - aurafinance/convex-platform: Forked from https://github.com/convex-eth/platformGitHub
Logoconvex-platform/BaseRewardPool4626.sol at lite ยท aurafinance/convex-platformGitHub