Function getOpenPositionWithTokenExtensionsInstruction
- getOpenPositionWithTokenExtensionsInstruction<
TAccountFunder extends string,
TAccountOwner extends string,
TAccountPosition extends string,
TAccountPositionMint extends string,
TAccountPositionTokenAccount extends string,
TAccountWhirlpool extends string,
TAccountToken2022Program extends string,
TAccountSystemProgram extends string,
TAccountAssociatedTokenProgram extends string,
TAccountMetadataUpdateAuth extends string,
TProgramAddress extends
Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">,
>(
input: OpenPositionWithTokenExtensionsInput<
TAccountFunder,
TAccountOwner,
TAccountPosition,
TAccountPositionMint,
TAccountPositionTokenAccount,
TAccountWhirlpool,
TAccountToken2022Program,
TAccountSystemProgram,
TAccountAssociatedTokenProgram,
TAccountMetadataUpdateAuth,
>,
config?: { programAddress?: TProgramAddress },
): OpenPositionWithTokenExtensionsInstruction<
TProgramAddress,
TAccountFunder,
TAccountOwner,
TAccountPosition,
TAccountPositionMint,
TAccountPositionTokenAccount,
TAccountWhirlpool,
TAccountToken2022Program,
TAccountSystemProgram,
TAccountAssociatedTokenProgram,
TAccountMetadataUpdateAuth,
> Type Parameters
- TAccountFunder extends string
- TAccountOwner extends string
- TAccountPosition extends string
- TAccountPositionMint extends string
- TAccountPositionTokenAccount extends string
- TAccountWhirlpool extends string
- TAccountToken2022Program extends string
- TAccountSystemProgram extends string
- TAccountAssociatedTokenProgram extends string
- TAccountMetadataUpdateAuth extends string
- TProgramAddress extends Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">
Parameters
- input: OpenPositionWithTokenExtensionsInput<
TAccountFunder,
TAccountOwner,
TAccountPosition,
TAccountPositionMint,
TAccountPositionTokenAccount,
TAccountWhirlpool,
TAccountToken2022Program,
TAccountSystemProgram,
TAccountAssociatedTokenProgram,
TAccountMetadataUpdateAuth,
> Optional
config: { programAddress?: TProgramAddress }