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