Documentation
    Preparing search index...

    Type Alias InitializeRewardParams

    Parameters to initialize a rewards for a Whirlpool

    PublicKey for the whirlpool config space that the fee-tier will be initialized for.

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

    PublicKey for the reward mint that we'd use for the reward index.

    Keypair of the vault for this reward index.

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

    The account that would fund the creation of this account

    type InitializeRewardParams = {
        funder: PublicKey;
        rewardAuthority: PublicKey;
        rewardIndex: number;
        rewardMint: PublicKey;
        rewardVaultKeypair: Keypair;
        whirlpool: PublicKey;
    }
    Index

    Properties

    funder: PublicKey
    rewardAuthority: PublicKey
    rewardIndex: number
    rewardMint: PublicKey
    rewardVaultKeypair: Keypair
    whirlpool: PublicKey