-
Module Affected
Rust Version1.75.0 Operating System
Issue DescriptionIs there a list of current Facets used by the DiamondProxy on mainnet? I am trying to map them out but so far was unable to find especially the GettersFacet and AdminFacet. I figured i could use the loupe of the GettersFacet to go deeper afterwards? Expected BehaviorThere should be a list of deployed smart contracts somewhere. Current BehaviorNo such list, can only find some contracts via google/etherscan. Repository Link (if applicable)No response Additional DetailsNo response Prior Research
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
This comment was marked as spam.
This comment was marked as spam.
-
I went deeper and found out some things on the way in case anyone has similar noob questions ;) In case you are using some cmdline tool for interacting with the diamond you can use the diamond's address but the ABI of the facet whose function you're trying to call. Usually diamonds have a loupe facet (in zksync era gettersFacet) that has a Current important addresses:Matter Labs MultiSig: Main diamond Current Facets: Verifier: Governance (for optional timelock and transparency): Validator Timelock: Validator: L1ERC20Bridge: |
Beta Was this translation helpful? Give feedback.
I went deeper and found out some things on the way in case anyone has similar noob questions ;)
As you cannot easily derive the diamond facets on etherscan, there is nice tools that can, for example louper.dev. (This site also lets you interact with the facets functions like with contracts on etherscan)
In case you are using some cmdline tool for interacting with the diamond you can use the diamond's address but the ABI of the facet whose function you're trying to call. Usually diamonds have a loupe facet (in zksync era gettersFacet) that has a
facetAddresses()
function to list all current facetsCurrent important addresses:
Matter Labs MultiSig:
https://etherscan.io/address/0x4e494334684…