Skip to content

Latest commit

 

History

History
109 lines (66 loc) · 4.3 KB

93-mai-listing-on-aave-v3-polygon.md

File metadata and controls

109 lines (66 loc) · 4.3 KB

Proposal 93. Listing of MAI (miMATIC) on Aave v3 Polygon


Voting link

https://app.aave.com/governance/proposal/?proposalId=93


Governance forum discussion

https://governance.aave.com/t/add-mai-on-aave-v3/7630


BGD analysis


Proposal types

💎 🆕 asset-listing

🔮 oracle-addition

🔗 🌉 cross-chain execution


Context

This proposal lists the MAI (miMATIC) asset into Aave v3 Polygon, via a cross-chain governance action.


Proposal creation

Transaction: https://etherscan.io/tx/0x38241b647138bbead36061d1e53aec415c57c85784b286ede534e4a971c9881a

- id: 93
- creator: 0x985a29e88e75394dbdae41a269409f701ccf6a43
- executor: 0xee56e2b3d491590b5b31738cc34d5232f378a8d5
- targets: [0x158a6bc04f0828318821bae797f50b0a1299d45b]
- values: [0]
- signatures: [execute(address)]
- calldatas: [0x00000000000000000000000083fba23163662149b33dbc05cf1312df6dcba72b]
- withDelegatecalls: [true]
- startBlock: 15396902
- endBlock: 15416102
- strategy: 0xb7e383ef9b1e9189fc0f71fb30af8aa14377429e
- ipfsHash: 0xf6e50d5a3f824f5ab4ffa15fb79f4fa1871b8bf7af9e9b32c1aaaa9ea633006d

Aave Seatbelt report

Aave Seatbelt supports now cross-chain governance proposals as first-class citizen of the verification procedure, generating one report for the Ethereum side of the proposal, and another for the final action happening on the execution chain, Polygon in this case.

Ethereum report:

https://github.com/bgd-labs/seatbelt-for-ghosts/blob/main/reports/Aave/0xEC568fffba86c094cf06b22134B23074DFE2252c/093.md

Polygon report:

https://github.com/bgd-labs/seatbelt-for-ghosts/blob/main/reports/Aave/0xEC568fffba86c094cf06b22134B23074DFE2252c/093_fx_0.md

IMPORTANT. We have noticed some problems on the Tenderly simulation infrastructure, not reporting correctly storage changes on newly deployed contracts, for example on the a/v/s proxies. We have checked manually those addresses, confirming that everything is correct, and contact Tenderly to improve the support of that use case.


Technical analysis

This proposal lists MAI on Polygon, following the example and procedure present on https://github.com/bgd-labs/aave-v3-crosschain-listing-template. BGD has supported the proposer on the technical aspects of the proposal payload, given that is the first time a listing happens cross-chain using this procedure.

We have verified that the listing is consistent with the parameters defined on the governance forum and Snapshot, with those not defined just following the same approach as similar-nature assets, already listed.

A summary:

  • A new oracle feed is properly configured for the asset.
  • The asset is enabled to borrow, on variable mode only. It is not borrowable against other assets in isolation.
  • Isolated as collateral, with a debt ceiling of 2'000'000 USD. The collateral parameters in isolation are:
    • LTV: 75%
    • Liquidation Threshold: 80%
    • Liquidation Bonus: 5%
  • Supply cap: 100'000'000 MAI.
  • eMode category: 1, USD-correlated assets (stablecoins).
  • Reserve factor: 10%
  • Liquidation protocol fee: 10%

The proposal payload can be found on https://polygonscan.com/address/0x83fba23163662149b33dbc05cf1312df6dcba72b#code


BGD validations

✅ The code on the proposal payload corresponds to the proposal specification.

✅ The proposal includes a proper tests suite, checking all necessary post-conditions.

✅ BGD reviewed the payload before the proposal was submitted.

✅ Only one payload used via delegatecall

✅ BGD reviewed the procedure followed to submit the proposal.