File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
middlewareV2/registrar/modules Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 22pragma solidity ^ 0.8.27 ;
33
44import {IAVSRegistrar} from "eigenlayer-contracts/src/contracts/interfaces/IAVSRegistrar.sol " ;
5- import {ISocketRegistry } from "./ISocketRegistryV2.sol " ;
5+ import {ISocketRegistryV2 } from "./ISocketRegistryV2.sol " ;
66
7- interface IAVSRegistrarWithSocket is IAVSRegistrar , ISocketRegistry {}
7+ interface IAVSRegistrarWithSocket is IAVSRegistrar , ISocketRegistryV2 {}
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ interface ISocketRegistryEvents {
1414 event OperatorSocketSet (address indexed operator , string socket );
1515}
1616
17- interface ISocketRegistry is ISocketRegistryErrors , ISocketRegistryEvents {
17+ interface ISocketRegistryV2 is ISocketRegistryErrors , ISocketRegistryEvents {
1818 /**
1919 * @notice Gets the socket for an operator.
2020 * @param operator The operator to get the socket for.
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: BUSL-1.1
22pragma solidity ^ 0.8.27 ;
33
4- import {ISocketRegistry } from "../../../interfaces/ISocketRegistryV2.sol " ;
4+ import {ISocketRegistryV2 } from "../../../interfaces/ISocketRegistryV2.sol " ;
55import {SocketRegistryStorage} from "./SocketRegistryStorage.sol " ;
66import {
77 OperatorSetLib,
@@ -13,14 +13,14 @@ import {
1313abstract contract SocketRegistry is SocketRegistryStorage {
1414 using OperatorSetLib for OperatorSet;
1515
16- /// @inheritdoc ISocketRegistry
16+ /// @inheritdoc ISocketRegistryV2
1717 function getOperatorSocket (
1818 address operator
1919 ) external view returns (string memory ) {
2020 return _operatorToSocket[operator];
2121 }
2222
23- /// @inheritdoc ISocketRegistry
23+ /// @inheritdoc ISocketRegistryV2
2424 function updateSocket (address operator , string memory socket ) external {
2525 require (msg .sender == operator, CallerNotOperator ());
2626 _setOperatorSocket (operator, socket);
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: BUSL-1.1
22pragma solidity ^ 0.8.12 ;
33
4- import {ISocketRegistry } from "../../../interfaces/ISocketRegistryV2.sol " ;
4+ import {ISocketRegistryV2 } from "../../../interfaces/ISocketRegistryV2.sol " ;
55
66/**
77 * @title Storage variables for the `SocketRegistry` contract.
88 * @author Layr Labs, Inc.
99 */
10- abstract contract SocketRegistryStorage is ISocketRegistry {
10+ abstract contract SocketRegistryStorage is ISocketRegistryV2 {
1111 /**
1212 *
1313 * STATE
You can’t perform that action at this time.
0 commit comments