Function getIncreaseLiquidityInstruction
- getIncreaseLiquidityInstruction<
TAccountWhirlpool extends string,
TAccountTokenProgram extends string,
TAccountPositionAuthority extends string,
TAccountPosition extends string,
TAccountPositionTokenAccount extends string,
TAccountTokenOwnerAccountA extends string,
TAccountTokenOwnerAccountB extends string,
TAccountTokenVaultA extends string,
TAccountTokenVaultB extends string,
TAccountTickArrayLower extends string,
TAccountTickArrayUpper extends string,
TProgramAddress extends
Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">,
>(
input: IncreaseLiquidityInput<
TAccountWhirlpool,
TAccountTokenProgram,
TAccountPositionAuthority,
TAccountPosition,
TAccountPositionTokenAccount,
TAccountTokenOwnerAccountA,
TAccountTokenOwnerAccountB,
TAccountTokenVaultA,
TAccountTokenVaultB,
TAccountTickArrayLower,
TAccountTickArrayUpper,
>,
config?: { programAddress?: TProgramAddress },
): IncreaseLiquidityInstruction<
TProgramAddress,
TAccountWhirlpool,
TAccountTokenProgram,
TAccountPositionAuthority,
TAccountPosition,
TAccountPositionTokenAccount,
TAccountTokenOwnerAccountA,
TAccountTokenOwnerAccountB,
TAccountTokenVaultA,
TAccountTokenVaultB,
TAccountTickArrayLower,
TAccountTickArrayUpper,
> Type Parameters
- TAccountWhirlpool extends string
- TAccountTokenProgram extends string
- TAccountPositionAuthority extends string
- TAccountPosition extends string
- TAccountPositionTokenAccount extends string
- TAccountTokenOwnerAccountA extends string
- TAccountTokenOwnerAccountB extends string
- TAccountTokenVaultA extends string
- TAccountTokenVaultB extends string
- TAccountTickArrayLower extends string
- TAccountTickArrayUpper extends string
- TProgramAddress extends Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">
Parameters
- input: IncreaseLiquidityInput<
TAccountWhirlpool,
TAccountTokenProgram,
TAccountPositionAuthority,
TAccountPosition,
TAccountPositionTokenAccount,
TAccountTokenOwnerAccountA,
TAccountTokenOwnerAccountB,
TAccountTokenVaultA,
TAccountTokenVaultB,
TAccountTickArrayLower,
TAccountTickArrayUpper,
> Optional
config: { programAddress?: TProgramAddress }