Inherits: IFacetRegistry, FacetRegistryBase
Registers a new facet.
Parameters
Name | Type | Description |
---|---|---|
Removes a facet from the registry.
Parameters
Name | Type | Description |
---|---|---|
Deploys a new facet and registers it.
Parameters
Returns
Computes the address of a facet deployed with the given salt and creation code.
Parameters
Returns the selectors of a registered facet.
Parameters
Returns
Returns the addresses of all registered facets.
Returns
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
facet
address
Address of the facet to add.
selectors
bytes4[]
Function selectors of the facet.
facet
address
Address of the facet to remove.
salt
bytes32
Salt used to create the address of the new facet.
creationCode
bytes
Creation code of the new facet.
selectors
bytes4[]
Function selectors of the new facet.
facet
address
Address of the new facet.
salt
bytes32
Salt used to create the address of the new facet.
creationCode
bytes
Creation code of the new facet.
facet
address
The address of the facet.
<none>
bytes4[]
selectors The selectors of the facet.
<none>
address[]
facets The addresses of all registered facets.