Documentation
    Preparing search index...

    Type Alias InitializeRewardV2WithPubkeyParams

    InitializeRewardV2WithPubkeyParams: InitializeRewardV2BaseParams & {
        rewardVault: PublicKey;
    }

    Parameters to initialize a rewards for a Whirlpool when the reward vault account already exists and signing is handled externally (e.g. Squads, other multisig, or an external signer).

    In this flow, the SDK does not include the reward vault keypair in the returned signers.

    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.

    PublicKey for the TokenBadge for this reward mint.

    PublicKey of the existing 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

    PublicKey for the token program.