Aave StarkNet Phase I - Aave <> StarkNet Bridge deployment/activation by Aave governance
Simple Summary
This governance proposal deploys and activates the different smart contract components result of the community project to create a bridge of Aave v2 Ethereum aTokens from/to StarkNet.
Motivation
All the information regarding the project is explained on https://governance.aave.com/t/aave-starknet-phase-i-release/10428.
In summary, with the previous approval of the project via governance, the Aave community has decided to start its expansion to StarkNet, a validity rollup, starting with smart contracts for bridging infrastructure of Aave v2 Ethereum aTokens.
Additionally, this also sets the foundation for the connection of instances of Aave in other networks (e.g. Polygon, Avalanche) with StarkNet.
Specification
This proposal’s payload does the following:
Ethereum side
- Deploys the
Bridgesmart contract, main component on Ethereum of the system, by calling a transparent proxy factory. - Initializes the Ethereum
Bridgeto accept bridging of aUSDC, aUSDT and aDAI, with a 30’000 total ceiling for each one of them (in units of each asset, which in this case is relatively equivalent to USD). - Sends a message via the StarkNet core messaging smart contract to activate the smart contract components on the StarkNet side.
StarkNet side
- The message is received by the Governance Relay contract (proxy HERE and implementation HERE), which executes the payload on https://starkscan.co/class/0x00be3e7fe64939ef463bc80b76703b93c10a61944de34df5bb2dbc7b734e3159#code via delegatecall.
- The payload connects and activates all the components: activates rewAAVE (representing AAVE rewards on StarkNet), connects the L1 Bridge to the L2 side of it, and connects the L1 aTokens to their static versions on L2.
The payload smart contract for Ethereum can be found HERE,
The payload smart contract for StarkNet can be found HERE.
All the other components are also present in the same repository.
After this proposal gets approved and executed, the Bridge will be fully operative on https://etherscan.io/address/0x25c0667E46a704AfCF5305B0A586CC24c171E94D (no code at the moment, being a counterfactual/CREATE2 deployment).
Security procedures
This proposal has been tested using the available tools to be as close as possible to fork both Ethereum and StarkNet mainnets.
In addition, all the components apart from the payload had gone through the security procedures enumerated on the Aave governance forum HERE.
Bored Ghost Developing has reviewed the proposal payload too.
Deployed Contracts
https://github.com/aave-starknet-project/aave-starknet-bridge#deployed-contracts
Copyright
Copyright and related rights waived via CC0.
| Voter | Cast Power | Vote & Rationale |
|---|---|---|
0xaFDA...353a6E | 97,046 | YAE |
FranklinDAO (Prev. Penn Blockchain) | 90,344 | YAE |
0x62a4...96816a | 81,306 | YAE |
0x13BD...138548 | 80,291 | YAE |
0xB83b...Fbcf5C | 80,291 | YAE |
VOTE POWER
Proposal Status
- Published Onchain
0xB85f...1a8A7c
- Thu December 01 2022, 11:15 amVoting Period Starts
- Sun December 04 2022, 03:34 amEnd Voting Period
- Mon December 05 2022, 12:53 pmQueue Proposal
- Tue December 06 2022, 01:02 pmExecute Proposal
Current Results
1-YAE
512,435.22
2-NAY
50.344
