Inherits: IDiamondLoupe, DiamondLoupeBase, Facet
Gets all facet addresses and the selectors of supported functions.
Returns
Name | Type | Description |
---|---|---|
Gets all the function selectors supported by a specific facet.
Parameters
Name | Type | Description |
---|---|---|
Returns
Get all the facet addresses used by a diamond.
Returns
Gets the facet that supports the given selector.
If facet is not found return address(0).
Parameters
Returns
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
<none>
Facet[]
facetInfo An array of Facet structs.
facet
address
The facet address.
<none>
bytes4[]
selectors An array of function selectors.
<none>
address[]
facets The facet addresses.
selector
bytes4
The function selector.
<none>
address
facetAddress The facet address.