hcaAdmin
List the 7 hcaAdmin actions of @ensforge/hca and whether each reads, writes or signs. Covers getGovernance, grantUpgradeSetRoles, renounceGovernance.
7 actions · 1 read · 6 writes
Since v1.0.0View source
Call them as ens.hcaAdmin.<action>(options) on a client, or Actions.hcaAdmin.<action>(client, options).
Reads
| Action | Description |
|---|---|
getGovernance (batchable) | Reads who governs ENS HCAs: the factory owner and whether implementations are approved. |
Writes
| Action | Description |
|---|---|
grantUpgradeSetRoles | Grants root roles on the HCA upgrade set (role admins only). |
renounceGovernance | Renounces ownership of the HCA factory, freezing its implementation approvals (factory owner only). |
revokeUpgradeSetRoles | Revokes root roles on the HCA upgrade set (role admins only). |
setDeploymentApproval | Approves or revokes an implementation for new HCA deployments (factory owner only). |
setUpgradeApproval | Approves or revokes an implementation in the HCA upgrade set (role holders only). |
transferGovernance | Transfers ownership of the HCA factory (factory owner only). |
Was this page helpful?