Skip to content

Commit

Permalink
fix: apply consistent mapping order inside IHorizonStakingMain.sol (O…
Browse files Browse the repository at this point in the history
…Z_N-05)
  • Loading branch information
MoonBoi9001 committed Oct 3, 2024
1 parent bf97048 commit aad3171
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ interface IHorizonStakingMain {
* @param serviceProvider The service provider address
* @param verifier The verifier address
*/
error HorizonStakingNotAuthorized(address caller, address serviceProvider, address verifier);
error HorizonStakingNotAuthorized(address serviceProvider, address caller, address verifier);

/**
* @notice Thrown when attempting to create a provision with an invalid maximum verifier cut.
Expand Down Expand Up @@ -882,10 +882,10 @@ interface IHorizonStakingMain {

/**
* @notice Check if an operator is authorized for the caller on a specific verifier / data service.
* @param operator The address to check for auth
* @param serviceProvider The service provider on behalf of whom they're claiming to act
* @param operator The address to check for auth
* @param verifier The verifier / data service on which they're claiming to act
* @return Whether the operator is authorized or not
*/
function isAuthorized(address operator, address serviceProvider, address verifier) external view returns (bool);
function isAuthorized(address serviceProvider, address operator, address verifier) external view returns (bool);
}

0 comments on commit aad3171

Please sign in to comment.