Type Alias OpenPositionWithTokenExtensionsInput<TAccountFunder, TAccountOwner, TAccountPosition, TAccountPositionMint, TAccountPositionTokenAccount, TAccountWhirlpool, TAccountToken2022Program, TAccountSystemProgram, TAccountAssociatedTokenProgram, TAccountMetadataUpdateAuth>

OpenPositionWithTokenExtensionsInput: {
    associatedTokenProgram: Address<TAccountAssociatedTokenProgram>;
    funder: TransactionSigner<TAccountFunder>;
    metadataUpdateAuth: Address<TAccountMetadataUpdateAuth>;
    owner: Address<TAccountOwner>;
    position: Address<TAccountPosition>;
    positionMint: TransactionSigner<TAccountPositionMint>;
    positionTokenAccount: Address<TAccountPositionTokenAccount>;
    systemProgram?: Address<TAccountSystemProgram>;
    tickLowerIndex: OpenPositionWithTokenExtensionsInstructionDataArgs["tickLowerIndex"];
    tickUpperIndex: OpenPositionWithTokenExtensionsInstructionDataArgs["tickUpperIndex"];
    token2022Program: Address<TAccountToken2022Program>;
    whirlpool: Address<TAccountWhirlpool>;
    withTokenMetadataExtension: OpenPositionWithTokenExtensionsInstructionDataArgs["withTokenMetadataExtension"];
}

Type Parameters

  • TAccountFunder extends string = string
  • TAccountOwner extends string = string
  • TAccountPosition extends string = string
  • TAccountPositionMint extends string = string
  • TAccountPositionTokenAccount extends string = string
  • TAccountWhirlpool extends string = string
  • TAccountToken2022Program extends string = string
  • TAccountSystemProgram extends string = string
  • TAccountAssociatedTokenProgram extends string = string
  • TAccountMetadataUpdateAuth extends string = string

Type declaration