Type Alias SetRewardAuthorityBySuperAuthorityParams

SetRewardAuthorityBySuperAuthorityParams: {
    newRewardAuthority: PublicKey;
    rewardEmissionsSuperAuthority: PublicKey;
    rewardIndex: number;
    whirlpool: PublicKey;
    whirlpoolsConfig: PublicKey;
}

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

PublicKey for the whirlpool to update. This whirlpool has to be part of the provided WhirlpoolsConfig space.

The public key for the WhirlpoolsConfig this pool is initialized in

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

The current rewardEmissionsSuperAuthority in the WhirlpoolsConfig

The new rewardAuthority in the Whirlpool at the rewardIndex