IRegistryCoordinator
Author: Layr Labs, Inc.
Functions
getOperator
Returns the operator struct for the given operator
getOperatorId
Returns the operatorId for the given operator
getOperatorFromId
Returns the operator address for the given operatorId
getOperatorStatus
Returns the status for the given operator
getQuorumBitmapIndicesByOperatorIdsAtBlockNumber
Returns the indices of the quorumBitmaps for the provided operatorIds
at the given blockNumber
getQuorumBitmapByOperatorIdAtBlockNumberByIndex
Returns the quorum bitmap for the given operatorId
at the given blockNumber
via the index
reverts if index
is incorrect
getQuorumBitmapUpdateByOperatorIdByIndex
Returns the index
th entry in the operator with operatorId
's bitmap history
getCurrentQuorumBitmapByOperatorId
Returns the current quorum bitmap for the given operatorId
getQuorumBitmapUpdateByOperatorIdLength
Returns the length of the quorum bitmap history for the given operatorId
registries
Returns the registry at the desired index
numRegistries
Returns the number of registries
registerOperatorWithCoordinator
Registers msg.sender as an operator with the middleware
Parameters
quorumNumbers
bytes
are the bytes representing the quorum numbers that the operator is registering for
registrationData
bytes
is the data that is decoded to get the operator's registration information
deregisterOperatorWithCoordinator
Deregisters the msg.sender as an operator from the middleware
Parameters
quorumNumbers
bytes
are the bytes representing the quorum numbers that the operator is registered for
deregistrationData
bytes
is the the data that is decoded to get the operator's deregistration information
Events
OperatorRegistered
Emits when an operator is registered
OperatorDeregistered
Emits when an operator is deregistered
Structs
Operator
Data structure for storing info on operators
QuorumBitmapUpdate
Data structure for storing info on quorum bitmap updates where the quorumBitmap
is the bitmap of the quorums the operator is registered for starting at (inclusive)updateBlockNumber
and ending at (exclusive) nextUpdateBlockNumber
nextUpdateBlockNumber is initialized to 0 for the latest update
Enums
OperatorStatus
Last updated