From 93d5b9287cf542689321087f911d129b4ee7c8f1 Mon Sep 17 00:00:00 2001 From: Victoria Zotova Date: Thu, 16 Nov 2023 13:56:16 -0500 Subject: [PATCH] IApplicationWithOperator: added method `operatorToStakingProvider` --- contracts/staking/IApplicationWithOperator.sol | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/contracts/staking/IApplicationWithOperator.sol b/contracts/staking/IApplicationWithOperator.sol index 6750194e..d68724f0 100644 --- a/contracts/staking/IApplicationWithOperator.sol +++ b/contracts/staking/IApplicationWithOperator.sol @@ -25,6 +25,12 @@ interface IApplicationWithOperator is IApplication { view returns (address); + /// @notice Returns staking provider of the given operator. + function operatorToStakingProvider(address operator) + external + view + returns (address); + /// @notice Used by staking provider to set operator address that will /// operate a node. The operator address must be unique. /// Reverts if the operator is already set for the staking provider