Type alias SetRewardEmissionsV2Params

SetRewardEmissionsV2Params: {
    emissionsPerSecondX64: BN;
    rewardAuthority: PublicKey;
    rewardIndex: number;
    rewardVaultKey: PublicKey;
    whirlpool: PublicKey;
}

Parameters to set rewards emissions for a reward in a Whirlpool

Type declaration

  • emissionsPerSecondX64: BN
  • rewardAuthority: PublicKey
  • rewardIndex: number
  • rewardVaultKey: PublicKey
  • whirlpool: PublicKey

Param: whirlpool

PublicKey for the whirlpool which the reward resides in.

Param: rewardIndex

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

Param: rewardVaultKey

PublicKey of the vault for this reward index.

Param: rewardAuthority

Assigned authority by the reward_super_authority for the specified reward-index in this Whirlpool

Param: emissionsPerSecondX64

The new emissions per second to set for this reward.

Generated using TypeDoc