Documentation
    Preparing search index...

    Type Alias SetRewardAuthorityParams

    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

    type SetRewardAuthorityParams = {
        newRewardAuthority: PublicKey;
        rewardAuthority: PublicKey;
        rewardIndex: number;
        whirlpool: PublicKey;
    }
    Index

    Properties

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