Type Alias InitializeRewardInstruction<TProgram, TAccountRewardAuthority, TAccountFunder, TAccountWhirlpool, TAccountRewardMint, TAccountRewardVault, TAccountTokenProgram, TAccountSystemProgram, TAccountRent, TRemainingAccounts>
InitializeRewardInstruction: IInstruction<TProgram> & IInstructionWithData< Uint8Array,> & IInstructionWithAccounts< [ TAccountRewardAuthority extends string ? ReadonlySignerAccount<TAccountRewardAuthority> & IAccountSignerMeta< TAccountRewardAuthority, > : TAccountRewardAuthority, TAccountFunder extends string ? WritableSignerAccount<TAccountFunder> & IAccountSignerMeta< TAccountFunder, > : TAccountFunder, TAccountWhirlpool extends string ? WritableAccount<TAccountWhirlpool> : TAccountWhirlpool, TAccountRewardMint extends string ? ReadonlyAccount<TAccountRewardMint> : TAccountRewardMint, TAccountRewardVault extends string ? WritableSignerAccount<TAccountRewardVault> & IAccountSignerMeta< TAccountRewardVault, > : TAccountRewardVault, TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountRent extends string ? ReadonlyAccount<TAccountRent> : TAccountRent, ...TRemainingAccounts, ],> Type Parameters
- TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS
- TAccountRewardAuthority extends string | IAccountMeta<string> = string
- TAccountFunder extends string | IAccountMeta<string> = string
- TAccountWhirlpool extends string | IAccountMeta<string> = string
- TAccountRewardMint extends string | IAccountMeta<string> = string
- TAccountRewardVault extends string | IAccountMeta<string> = string
- TAccountTokenProgram extends string | IAccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
- TAccountSystemProgram extends string | IAccountMeta<string> = "11111111111111111111111111111111"
- TAccountRent extends string | IAccountMeta<string> = "SysvarRent111111111111111111111111111111111"
- TRemainingAccounts extends readonly IAccountMeta<string>[] = []