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 16, 2023
1 parent ea5e4e2 commit ccf0e78
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 ccf0e78

Please sign in to comment.