Type Alias OpenPositionWithMetadataInput<TAccountFunder, TAccountOwner, TAccountPosition, TAccountPositionMint, TAccountPositionMetadataAccount, TAccountPositionTokenAccount, TAccountWhirlpool, TAccountTokenProgram, TAccountSystemProgram, TAccountRent, TAccountAssociatedTokenProgram, TAccountMetadataProgram, TAccountMetadataUpdateAuth>

OpenPositionWithMetadataInput: {
    associatedTokenProgram: Address<TAccountAssociatedTokenProgram>;
    funder: TransactionSigner<TAccountFunder>;
    metadataBump: OpenPositionWithMetadataInstructionDataArgs["metadataBump"];
    metadataProgram: Address<TAccountMetadataProgram>;
    metadataUpdateAuth: Address<TAccountMetadataUpdateAuth>;
    owner: Address<TAccountOwner>;
    position: Address<TAccountPosition>;
    positionBump: OpenPositionWithMetadataInstructionDataArgs["positionBump"];
    positionMetadataAccount: Address<TAccountPositionMetadataAccount>;
    positionMint: TransactionSigner<TAccountPositionMint>;
    positionTokenAccount: Address<TAccountPositionTokenAccount>;
    rent?: Address<TAccountRent>;
    systemProgram?: Address<TAccountSystemProgram>;
    tickLowerIndex: OpenPositionWithMetadataInstructionDataArgs["tickLowerIndex"];
    tickUpperIndex: OpenPositionWithMetadataInstructionDataArgs["tickUpperIndex"];
    tokenProgram?: Address<TAccountTokenProgram>;
    whirlpool: Address<TAccountWhirlpool>;
}

Type Parameters

  • TAccountFunder extends string = string
  • TAccountOwner extends string = string
  • TAccountPosition extends string = string
  • TAccountPositionMint extends string = string
  • TAccountPositionMetadataAccount extends string = string
  • TAccountPositionTokenAccount extends string = string
  • TAccountWhirlpool extends string = string
  • TAccountTokenProgram extends string = string
  • TAccountSystemProgram extends string = string
  • TAccountRent extends string = string
  • TAccountAssociatedTokenProgram extends string = string
  • TAccountMetadataProgram extends string = string
  • TAccountMetadataUpdateAuth extends string = string

Type declaration