Coda by Ian Macalinao
    Preparing search index...

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

    type OpenPositionInput<
        TAccountFunder extends InstructionSignerInput = InstructionSignerInput,
        TAccountOwner extends InstructionAccountInput = InstructionAccountInput,
        TAccountPosition extends InstructionAccountInput = InstructionAccountInput,
        TAccountPositionMint extends
            InstructionSignerInput = InstructionSignerInput,
        TAccountPositionTokenAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountWhirlpool extends InstructionAccountInput = InstructionAccountInput,
        TAccountTokenProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountSystemProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountRent extends InstructionAccountInput = InstructionAccountInput,
        TAccountAssociatedTokenProgram extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        associatedTokenProgram?: TAccountAssociatedTokenProgram;
        bumps: OpenPositionInstructionDataArgs["bumps"];
        funder: TAccountFunder;
        owner: TAccountOwner;
        position: TAccountPosition;
        positionMint: TAccountPositionMint;
        positionTokenAccount: TAccountPositionTokenAccount;
        rent?: TAccountRent;
        systemProgram?: TAccountSystemProgram;
        tickLowerIndex: OpenPositionInstructionDataArgs["tickLowerIndex"];
        tickUpperIndex: OpenPositionInstructionDataArgs["tickUpperIndex"];
        tokenProgram?: TAccountTokenProgram;
        whirlpool: TAccountWhirlpool;
    }

    Type Parameters

    • TAccountFunder extends InstructionSignerInput = InstructionSignerInput
    • TAccountOwner extends InstructionAccountInput = InstructionAccountInput
    • TAccountPosition extends InstructionAccountInput = InstructionAccountInput
    • TAccountPositionMint extends InstructionSignerInput = InstructionSignerInput
    • TAccountPositionTokenAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountWhirlpool extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountRent extends InstructionAccountInput = InstructionAccountInput
    • TAccountAssociatedTokenProgram extends InstructionAccountInput = InstructionAccountInput
    Index
    associatedTokenProgram?: TAccountAssociatedTokenProgram
    positionMint: TAccountPositionMint
    positionTokenAccount: TAccountPositionTokenAccount
    systemProgram?: TAccountSystemProgram
    tokenProgram?: TAccountTokenProgram