Skip to content

Commit

Permalink
IApplicationWithOperator: added method operatorToStakingProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
vzotova committed Nov 20, 2023
1 parent e728a20 commit 93d5b92
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contracts/staking/IApplicationWithOperator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 93d5b92

Please sign in to comment.