Function getInitializeRewardInstruction
- getInitializeRewardInstruction<
TAccountRewardAuthority extends string,
TAccountFunder extends string,
TAccountWhirlpool extends string,
TAccountRewardMint extends string,
TAccountRewardVault extends string,
TAccountTokenProgram extends string,
TAccountSystemProgram extends string,
TAccountRent extends string,
TProgramAddress extends
Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">,
>(
input: InitializeRewardInput<
TAccountRewardAuthority,
TAccountFunder,
TAccountWhirlpool,
TAccountRewardMint,
TAccountRewardVault,
TAccountTokenProgram,
TAccountSystemProgram,
TAccountRent,
>,
config?: { programAddress?: TProgramAddress },
): InitializeRewardInstruction<
TProgramAddress,
TAccountRewardAuthority,
TAccountFunder,
TAccountWhirlpool,
TAccountRewardMint,
TAccountRewardVault,
TAccountTokenProgram,
TAccountSystemProgram,
TAccountRent,
> Type Parameters
- TAccountRewardAuthority extends string
- TAccountFunder extends string
- TAccountWhirlpool extends string
- TAccountRewardMint extends string
- TAccountRewardVault extends string
- TAccountTokenProgram extends string
- TAccountSystemProgram extends string
- TAccountRent extends string
- TProgramAddress extends Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">