OperatorRegistryV1Admin
State Variables
MAX_OPERATOR_COUNT
The maximum number of operators allowed in the registry.
MAX_ACTIVE_OPERATOR_COUNT
The maximum number of active operators allowed. This may be increased to 64
in the future.
VALIDATOR_DETAILS_POSITION
The validator details storage position.
Functions
addOperator
Adds a new operator to the registry, deploying a delegator contract and delegating to the provided operator
.
Parameters
Name | Type | Description |
---|---|---|
|
| The operator registry v1 storage accessor. |
|
| The address of the liquid restaking token. |
|
| The operator delegator beacon address. |
|
| The new operator's configuration. |
activateOperator
Activates an operator.
Parameters
Name | Type | Description |
---|---|---|
|
| The operator registry v1 storage accessor. |
|
| The operator's ID. |
deactivateOperator
Deactivates an operator, exiting all remaining stake to the deposit pool.
Parameters
Name | Type | Description |
---|---|---|
|
| The operator registry v1 storage accessor. |
|
| The asset registry contract. |
|
| The operator's ID. |
queueOperatorStrategyExit
Queues a complete exit from the specified strategy for the provided operator.
Parameters
Name | Type | Description |
---|---|---|
|
| The storage accessor for the operator that's exiting. |
|
| The operator's ID. |
|
| The strategy to exit. |
setOperatorStrategyShareCaps
Sets the operator's strategy share allocation caps.
Parameters
Name | Type | Description |
---|---|---|
|
| The operator registry v1 storage accessor. |
|
| The operator's ID. |
|
| The new strategy share allocation caps. |
setSecurityDaemon
Sets the security daemon to a new account (newSecurityDaemon
).
Parameters
Name | Type | Description |
---|---|---|
|
| The operator registry v1 storage accessor. |
|
| The new security daemon address. |
setProofUploader
Sets the proof uploader to a new account (newProofUploader
).
Parameters
Name | Type | Description |
---|---|---|
|
| The operator registry v1 storage accessor. |
|
| The new proof uploader address. |
setMinStakerOptOutBlocks
Sets the minimum acceptable delay between an operator signaling intent to register
Parameters
Name | Type | Description |
---|---|---|
|
| The operator registry v1 storage accessor. |
|
| The new min staker opt out blocks. |
setValidatorKeyReviewPeriod
Sets the amount of time (in seconds) before uploaded validator keys are considered "vetted".
Parameters
Name | Type | Description |
---|---|---|
|
| The operator registry v1 storage accessor. |
|
| The new validator key review period. |
setOperatorValidatorCap
Sets the operator's maximum active validator cap.
Parameters
Name | Type | Description |
---|---|---|
|
| The operator registry v1 storage accessor. |
|
| The unique identifier of the operator. |
|
| The new maximum active validator cap. |
setOperatorStrategyCap
Sets the strategy share cap for a given operator.
Parameters
Name | Type | Description |
---|---|---|
|
| The operator registry v1 storage accessor. |
|
| The unique identifier of the operator. |
|
| The new share cap details including the strategy and cap. |
setOperatorValidatorCapInternal
Sets the operator's maximum active validator cap.
Parameters
Name | Type | Description |
---|---|---|
|
| The operator registry v1 storage accessor. |
|
| The unique identifier of the operator. |
|
| The new maximum active validator cap. |
getOperatorUtilizationHeapForStrategy
Returns the operator utilization heap for the specified strategy. Utilization is calculated as the operator's current allocation divided by their cap, unless the cap is 0, in which case the operator is considered to have max utilization.
Parameters
Name | Type | Description |
---|---|---|
|
| The operator registry v1 storage accessor. |
|
| The strategy to get the heap for. |
getOperatorUtilizationHeapForETH
Returns the ETH deposit operator utilization heap. Utilization is calculated as the operator's active deposit count divided by their cap, unless the cap is 0, in which case the operator is considered to have max utilization.
Parameters
Name | Type | Description |
---|---|---|
|
| The operator registry v1 storage accessor. |
computeOperatorSalt
Computes the salt for an operator delegator, which is the operator ID converted to bytes32
.
Parameters
Name | Type | Description |
---|---|---|
|
| The operator's ID. |
Last updated