Function getInitializeRewardV2Instruction
- getInitializeRewardV2Instruction<
TAccountRewardAuthority extends string,
TAccountFunder extends string,
TAccountWhirlpool extends string,
TAccountRewardMint extends string,
TAccountRewardTokenBadge extends string,
TAccountRewardVault extends string,
TAccountRewardTokenProgram extends string,
TAccountSystemProgram extends string,
TAccountRent extends string,
TProgramAddress extends
Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">,
>(
input: InitializeRewardV2Input<
TAccountRewardAuthority,
TAccountFunder,
TAccountWhirlpool,
TAccountRewardMint,
TAccountRewardTokenBadge,
TAccountRewardVault,
TAccountRewardTokenProgram,
TAccountSystemProgram,
TAccountRent,
>,
config?: { programAddress?: TProgramAddress },
): InitializeRewardV2Instruction<
TProgramAddress,
TAccountRewardAuthority,
TAccountFunder,
TAccountWhirlpool,
TAccountRewardMint,
TAccountRewardTokenBadge,
TAccountRewardVault,
TAccountRewardTokenProgram,
TAccountSystemProgram,
TAccountRent,
> Type Parameters
- TAccountRewardAuthority extends string
- TAccountFunder extends string
- TAccountWhirlpool extends string
- TAccountRewardMint extends string
- TAccountRewardTokenBadge extends string
- TAccountRewardVault extends string
- TAccountRewardTokenProgram extends string
- TAccountSystemProgram extends string
- TAccountRent extends string
- TProgramAddress extends Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">