Last updated
Was this helpful?
Last updated
Was this helpful?
Based on EIP-2535: Diamonds (https://eips.ethereum.org/EIPS/eip-2535) Follows diamond-3 implementation (https://github.com/mudgen/diamond-3-hardhat/) One of the diamond standard interfaces, used to inspect the diamond like a magnifying glass.
These functions are expected to be called frequently by tools.
Gets all facet addresses and their four byte function selectors.
Gets all the function selectors supported by a specific facet.
Get all the facet addresses used by a diamond.
Gets the facet that supports the given selector.
If facet is not found return address(0).
_facet
address
The facet address.
facetFunctionSelectors_
bytes4[]
facetAddresses_
address[]
_functionSelector
bytes4
The function selector.
facetAddress_
address
The facet address.
facets_
Facet