11// SPDX-License-Identifier: BUSL-1.1
22pragma solidity ^ 0.8.27 ;
33
4- import {IRegistryCoordinator } from "./interfaces/IRegistryCoordinator .sol " ;
4+ import {ISlashingRegistryCoordinator } from "./interfaces/ISlashingRegistryCoordinator .sol " ;
55import {IBLSApkRegistry} from "./interfaces/IBLSApkRegistry.sol " ;
66import {IStakeRegistry} from "./interfaces/IStakeRegistry.sol " ;
77import {IIndexRegistry} from "./interfaces/IIndexRegistry.sol " ;
@@ -40,7 +40,7 @@ contract OperatorStateRetriever {
4040 * was a part of at `blockNumber`, an ordered list of operators.
4141 */
4242 function getOperatorState (
43- IRegistryCoordinator registryCoordinator ,
43+ ISlashingRegistryCoordinator registryCoordinator ,
4444 bytes32 operatorId ,
4545 uint32 blockNumber
4646 ) external view returns (uint256 , Operator[][] memory ) {
@@ -66,7 +66,7 @@ contract OperatorStateRetriever {
6666 * @return 2d array of Operators. For each quorum, an ordered list of Operators
6767 */
6868 function getOperatorState (
69- IRegistryCoordinator registryCoordinator ,
69+ ISlashingRegistryCoordinator registryCoordinator ,
7070 bytes memory quorumNumbers ,
7171 uint32 blockNumber
7272 ) public view returns (Operator[][] memory ) {
@@ -109,7 +109,7 @@ contract OperatorStateRetriever {
109109 * 4) the indices of the quorum apks for each of the provided quorums at the given blocknumber
110110 */
111111 function getCheckSignaturesIndices (
112- IRegistryCoordinator registryCoordinator ,
112+ ISlashingRegistryCoordinator registryCoordinator ,
113113 uint32 referenceBlockNumber ,
114114 bytes calldata quorumNumbers ,
115115 bytes32 [] calldata nonSignerOperatorIds
@@ -185,7 +185,7 @@ contract OperatorStateRetriever {
185185 * @param blockNumber is the block number to get the quorumBitmaps for
186186 */
187187 function getQuorumBitmapsAtBlockNumber (
188- IRegistryCoordinator registryCoordinator ,
188+ ISlashingRegistryCoordinator registryCoordinator ,
189189 bytes32 [] memory operatorIds ,
190190 uint32 blockNumber
191191 ) external view returns (uint256 [] memory ) {
@@ -207,7 +207,7 @@ contract OperatorStateRetriever {
207207 * @dev if an operator is not registered, the operatorId will be 0
208208 */
209209 function getBatchOperatorId (
210- IRegistryCoordinator registryCoordinator ,
210+ ISlashingRegistryCoordinator registryCoordinator ,
211211 address [] memory operators
212212 ) external view returns (bytes32 [] memory operatorIds ) {
213213 operatorIds = new bytes32 [](operators.length );
@@ -223,7 +223,7 @@ contract OperatorStateRetriever {
223223 * @dev if an operator is not registered, the operator address will be 0
224224 */
225225 function getBatchOperatorFromId (
226- IRegistryCoordinator registryCoordinator ,
226+ ISlashingRegistryCoordinator registryCoordinator ,
227227 bytes32 [] memory operatorIds
228228 ) external view returns (address [] memory operators ) {
229229 operators = new address [](operatorIds.length );
0 commit comments