@@ -34,9 +34,7 @@ interface IIndexRegistryEvents is IIndexRegistryTypes {
3434 /// @param quorumNumber The identifier of the quorum.
3535 /// @param newOperatorIndex The new index assigned to the operator.
3636 event QuorumIndexUpdate (
37- bytes32 indexed operatorId ,
38- uint8 quorumNumber ,
39- uint32 newOperatorIndex
37+ bytes32 indexed operatorId , uint8 quorumNumber , uint32 newOperatorIndex
4038 );
4139}
4240
@@ -49,18 +47,18 @@ interface IIndexRegistry is IIndexRegistryErrors, IIndexRegistryEvents {
4947 /// @return The address of the RegistryCoordinator.
5048 function registryCoordinator () external view returns (address );
5149
52- /// @notice Returns the current index of an operator with ID `operatorId` in quorum `quorumNumber`.
50+ /// @notice Returns the current index of an operator with ID `operatorId` in quorum `quorumNumber`.
5351 /// @dev This mapping is NOT updated when an operator is deregistered,
5452 /// so it's possible that an index retrieved from this mapping is inaccurate.
5553 /// If you're querying for an operator that might be deregistered, ALWAYS
5654 /// check this index against the latest `_operatorIndexHistory` entry.
5755 /// @param quorumNumber The identifier of the quorum.
5856 /// @param operatorId The unique identifier of the operator.
5957 /// @return The current index of the operator.
60- function currentOperatorIndex (uint8 quorumNumber , bytes32 operatorId )
61- external
62- view
63- returns (uint32 );
58+ function currentOperatorIndex (
59+ uint8 quorumNumber ,
60+ bytes32 operatorId
61+ ) external view returns (uint32 );
6462
6563 // ACTIONS
6664
@@ -89,17 +87,16 @@ interface IIndexRegistry is IIndexRegistryErrors, IIndexRegistryEvents {
8987 /// 3) `quorumNumbers` is ordered in ascending order
9088 /// 4) the operator is not already deregistered
9189 /// 5) `quorumNumbers` is a subset of the quorumNumbers that the operator is registered for
92- function deregisterOperator (
93- bytes32 operatorId ,
94- bytes calldata quorumNumbers
95- ) external ;
90+ function deregisterOperator (bytes32 operatorId , bytes calldata quorumNumbers ) external ;
9691
9792 /// @notice Initializes a new quorum `quorumNumber`.
9893 /// @param quorumNumber The identifier of the quorum to initialize.
99- function initializeQuorum (uint8 quorumNumber ) external ;
94+ function initializeQuorum (
95+ uint8 quorumNumber
96+ ) external ;
10097
10198 // VIEW
102-
99+
103100 /// @notice Returns the operator update at index `arrayIndex` for operator at index `operatorIndex` in quorum `quorumNumber`.
104101 /// @param quorumNumber The identifier of the quorum.
105102 /// @param operatorIndex The index of the operator.
@@ -151,4 +148,4 @@ interface IIndexRegistry is IIndexRegistryErrors, IIndexRegistryEvents {
151148 function totalOperatorsForQuorum (
152149 uint8 quorumNumber
153150 ) external view returns (uint32 );
154- }
151+ }
0 commit comments