Type Alias SetRewardAuthorityParams

SetRewardAuthorityParams: {
    newRewardAuthority: PublicKey;
    rewardAuthority: PublicKey;
    rewardIndex: number;
    whirlpool: PublicKey;
}

Parameters to update the reward authority at a particular rewardIndex on a Whirlpool.

PublicKey for the whirlpool to update.

The reward index that we'd like to update. (0 <= index <= NUM_REWARDS).

The current rewardAuthority in the Whirlpool at the rewardIndex

The new rewardAuthority in the Whirlpool at the rewardIndex