Ethereum v2 Reserve Factor - aFEI Holding Update
This proposal proposes unwinding the aFEI holding for DAI and depositing the DAI into the Aave v2 Ethereum Pool DAI Reserve.
Due to recent events within the Tribe DAO community, the FEI stablecoin is being removed from circulation. This proposal details how Aave DAO will enable anyone with an EOA to convert the DAO’s aFEI holding to an aDAI holding.
Based upon available FEI liquidity in the FEI Reserve, Aave DAO’s aFEI will be redeemed for FEI, swapped for DAI, and then deposited into the DAI Reserve on Ethereum. The Reserve Factor will transition from holding aFEI to aDAI over time.
Aave DAO is currently holding 94.3% (624,866.75 units) of aFEI supply while there are only 80,069.50 units of FEI in the FEI Reserve available for redeeming aFEI to FEI, .
The Reserve currently supports 662,518.93 units of aFEI, with 582,449.43 units of debt and 80,069.50 units available for lenders to redeem their collateral from or for users to borrow, [3,4]. Any user seeking to claim 80,069.50 units or less is able to do so now, but this may change as others start redeeming aFEI.
Migrating Aave’s aFEI holding in the Reserve Factor to aDAI can not be performed in a single transaction and therefore must occur gradually over time as FEI liquidity becomes available.
The below provides a broad, high level summary of how any EOA calling the
swapAllAvailable function from the Swapper contract will convert aFEI to aDAI.
The contract determines the maximum amount of aFEI to be redeemed by assessing the amount of aFEI held in the Reserve Factor and the amount FEI in the FEI Reserve. The lower of the two amounts will be used to redeem aFEI to FEI.
All FEI held within the Reserve Factor will then be swapped for DAI via Tribe DAO’s SimpleFeiDaiPSM. There are no fees, the exchange rate is fixed at 1:1 (Example: unwrapping wETH to ETH), and there is around $57.4 Million of liquidity at the time of writing, .
DAI is then deposited into the DAI Reserve and the Ethereum Reserve Factor will receive aDAI.
This proposal has been tested and peer reviewed by Bored Ghost Developing, .
Test cases, payload, and Swapper can be found at reference ,  &  respectively.
The governance payload is deployed at , the Swapper contract is deployed at .
The payload gives the Swapper aFEI max allowance from the Aave Ethereum Reserve Factor and calls the
swapAllAvailable function on the Swapper.
When called, Swapper transfers all possible aFEI from the Aave Ethereum Reserve Factor (0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c) to the payload contract via the Aave Ecosystem Controller (0x3d569673dAa0575c936c7c67c4E6AedA69CC630C) transfer function.
The proposal redeems aFEI for FEI via the FEI Reserve (0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9).
The proposal redeems all available FEI for DAI via the Tribe DAO Fixed Price PSM (0x2A188F9EB761F70ECEa083bA6c2A40145078dfc2), depositing all DAI in the Aave V2 Ethereum DAI Reserve with the Aave Ethereum Reserve Factor (0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c) as the beneficiary.
Copyright and related rights waived via CC0.
Your voting info
Top 10 addresses