L2 Flashminter following AAVE Governance limitation from the Mainnet and returns Rewards to L1
GHO Flash loans can't be available on L2 in their original form, where tokens can be minted no more than the AAVE Governance limitation allows. The way it can be executed in the most permissionless and trustless manner is by providing a zk storage proof about the AAVE Governance decision to L2 GHO ERC20 Smart Contract
The core instance of the idea is a Relayer that has a few responsibilities:
Also, the GHO ERC20 L2 Contract has to be modified to facilitate burn/mint Rewards to forwarding rewards from the FalshLoan to L1 AAVE Treasury
GHO ZK Facilitator utilizes zk proofs based on circuits written in the Noir language. The project consists of several parts: