Skip to content

Commit

Permalink
Add docs to new validator-manager interface methods
Browse files Browse the repository at this point in the history
  • Loading branch information
richardpringle committed Nov 21, 2024
1 parent bfc4320 commit 637e13e
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ interface IPoSValidatorManager is IValidatorManager {
bool includeUptimeProof,
uint32 messageIndex
) external;

/**
* @notice See {IPoSValidatorManager-initializeEndDelegation} for details of the first three parameters
* @param recipientAddress The address to receive the rewards.
Expand Down Expand Up @@ -291,7 +292,14 @@ interface IPoSValidatorManager is IValidatorManager {
*/
function claimDelegationFees(bytes32 validationID) external;

/**
* @notice Changes the address of the recipient of the rewards for a validator. This method can be called any time before {completeEndValidation}.
* @param validationID The ID of the validation period being ended.
* @param recipient The address to receive the rewards.
*/
function changeValidatorRewardRecipient(bytes32 validationID, address recipient) external;

/**
*/
function changeDelegatorRewardRecipient(bytes32 delegationID, address recipient) external;
}

0 comments on commit 637e13e

Please sign in to comment.