UIP-005: Add Aave V3 Support on Arbitrum
Intro
This is a change to the protocol, and therefore will go through the UIP process.
Motivation
Currently, all unlent DAI in Union on Arbitrum is stored in a puretoken DAI adapter. Now that aave V3 has been deployed to Arbitrum, an adapter can be written to support depositing a portion of deposited DAI in aave V3 to earn interest.
Proposal / Solution
Create an AssetManager Adapter that works with Aave V3 to deposit a portion of unlent DAI to Aave V3 on Arbitrum to earn interest and rewards.
Main functions:
- deposit() - deposit DAI in AssetManager to Aave to earn interest.
- withdraw() - withdraw DAI from Aave and move to AssetManager.
- claimRewards() - get the rewarded Aave token.
Parameters
- Set AaveV3Adapter floor to 10,000 DAI
- Set AaveV3Adapter ceiling to 50,000 DAI
Defining Success
Be able to deposit to / withdraw from Aave, and be able to claim rewards token from Aave on Arbitrum.
Backwards Compatibility
No issues with backward compatibility for this proposal.
Test Cases
Tests and simulations can be found here: Link to PR
Implementation
Before creating the proposal:
- Create and deploy AaveV3Adapter on Arbitrum
- Set AaveV3Adapter floor to 10,000 DAI
- Set AaveV3Adapter ceiling to 50,000 DAI
- Set AaveV3Adapter mapTokenToAToken
In the proposal:
- Call AssetManager.addAdapter() to add AaveV3Adapter.
| Voter | Cast Power | Vote & Rationale |
|---|---|---|
0xb815...335Bbc | 50.026M | FOR |
0xBABE...c97438 | 10M | FOR |
0x7a0C...022Be4 | 8M | FOR |
0xcc0C...9cE4C3 | 14,198 | FOR |
0x710d...438209 | 10,563 | FOR |
VOTE POWER
Proposal Status
- Published Onchain
0xCbD1...65beEb
- Sat July 02 2022, 03:36 pmVoting Period Starts
- Tue July 05 2022, 04:47 pmEnd Voting Period
- Wed July 06 2022, 08:21 amQueue Proposal
- Thu July 07 2022, 10:13 amExecute Proposal
Current Results
1-FOR
68.065M
2-AGAINST
N/A Tokens
3-ABSTAIN
N/A Tokens
