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.

Type declaration

  • newRewardAuthority: PublicKey
  • rewardAuthority: PublicKey
  • rewardIndex: number
  • whirlpool: PublicKey

Param: whirlpool

PublicKey for the whirlpool to update.

Param: rewardIndex

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

Param: rewardAuthority

The current rewardAuthority in the Whirlpool at the rewardIndex

Param: newRewardAuthority

The new rewardAuthority in the Whirlpool at the rewardIndex

Generated using TypeDoc