Type Alias OpenPositionInput<TAccountFunder, TAccountOwner, TAccountPosition, TAccountPositionMint, TAccountPositionTokenAccount, TAccountWhirlpool, TAccountTokenProgram, TAccountSystemProgram, TAccountRent, TAccountAssociatedTokenProgram>

OpenPositionInput: {
    associatedTokenProgram: Address<TAccountAssociatedTokenProgram>;
    funder: TransactionSigner<TAccountFunder>;
    owner: Address<TAccountOwner>;
    position: Address<TAccountPosition>;
    positionBump: OpenPositionInstructionDataArgs["positionBump"];
    positionMint: TransactionSigner<TAccountPositionMint>;
    positionTokenAccount: Address<TAccountPositionTokenAccount>;
    rent?: Address<TAccountRent>;
    systemProgram?: Address<TAccountSystemProgram>;
    tickLowerIndex: OpenPositionInstructionDataArgs["tickLowerIndex"];
    tickUpperIndex: OpenPositionInstructionDataArgs["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
  • TAccountPositionTokenAccount extends string = string
  • TAccountWhirlpool extends string = string
  • TAccountTokenProgram extends string = string
  • TAccountSystemProgram extends string = string
  • TAccountRent extends string = string
  • TAccountAssociatedTokenProgram extends string = string

Type declaration