Aave StarkNet Phase I - Aave <> StarkNet Bridge deployment/activation by Aave governance
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.
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.
This proposal's payload does the following:
- 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.
- 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).
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.
Copyright and related rights waived via CC0.
Your voting info
30 Nov 2022, 11:05 UTC +00:00
1 Dec 2022, 11:15 UTC +00:00
4 Dec 2022, 03:15 UTC +00:00
6 Dec 2022, 12:53 UTC +00:00
Aave on StarkNet