Building on Aura
How to integrate with the Aura Finance protocol
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.
Last updated