Coda by Ian Macalinao
    Preparing search index...

    Type Alias TwoHopSwapV2Input<TAccountWhirlpoolOne, TAccountWhirlpoolTwo, TAccountTokenMintInput, TAccountTokenMintIntermediate, TAccountTokenMintOutput, TAccountTokenProgramInput, TAccountTokenProgramIntermediate, TAccountTokenProgramOutput, TAccountTokenOwnerAccountInput, TAccountTokenVaultOneInput, TAccountTokenVaultOneIntermediate, TAccountTokenVaultTwoIntermediate, TAccountTokenVaultTwoOutput, TAccountTokenOwnerAccountOutput, TAccountTokenAuthority, TAccountTickArrayOne0, TAccountTickArrayOne1, TAccountTickArrayOne2, TAccountTickArrayTwo0, TAccountTickArrayTwo1, TAccountTickArrayTwo2, TAccountOracleOne, TAccountOracleTwo, TAccountMemoProgram>

    type TwoHopSwapV2Input<
        TAccountWhirlpoolOne extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountWhirlpoolTwo extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenMintInput extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenMintIntermediate extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenMintOutput extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenProgramInput extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenProgramIntermediate extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenProgramOutput extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenOwnerAccountInput extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenVaultOneInput extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenVaultOneIntermediate extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenVaultTwoIntermediate extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenVaultTwoOutput extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenOwnerAccountOutput extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenAuthority extends
            InstructionSignerInput = InstructionSignerInput,
        TAccountTickArrayOne0 extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTickArrayOne1 extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTickArrayOne2 extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTickArrayTwo0 extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTickArrayTwo1 extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTickArrayTwo2 extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountOracleOne extends InstructionAccountInput = InstructionAccountInput,
        TAccountOracleTwo extends InstructionAccountInput = InstructionAccountInput,
        TAccountMemoProgram extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        amount: TwoHopSwapV2InstructionDataArgs["amount"];
        amountSpecifiedIsInput: TwoHopSwapV2InstructionDataArgs["amountSpecifiedIsInput"];
        aToBOne: TwoHopSwapV2InstructionDataArgs["aToBOne"];
        aToBTwo: TwoHopSwapV2InstructionDataArgs["aToBTwo"];
        memoProgram?: TAccountMemoProgram;
        oracleOne: TAccountOracleOne;
        oracleTwo: TAccountOracleTwo;
        otherAmountThreshold: TwoHopSwapV2InstructionDataArgs["otherAmountThreshold"];
        remainingAccountsInfo: TwoHopSwapV2InstructionDataArgs["remainingAccountsInfo"];
        sqrtPriceLimitOne: TwoHopSwapV2InstructionDataArgs["sqrtPriceLimitOne"];
        sqrtPriceLimitTwo: TwoHopSwapV2InstructionDataArgs["sqrtPriceLimitTwo"];
        tickArrayOne0: TAccountTickArrayOne0;
        tickArrayOne1: TAccountTickArrayOne1;
        tickArrayOne2: TAccountTickArrayOne2;
        tickArrayTwo0: TAccountTickArrayTwo0;
        tickArrayTwo1: TAccountTickArrayTwo1;
        tickArrayTwo2: TAccountTickArrayTwo2;
        tokenAuthority: TAccountTokenAuthority;
        tokenMintInput: TAccountTokenMintInput;
        tokenMintIntermediate: TAccountTokenMintIntermediate;
        tokenMintOutput: TAccountTokenMintOutput;
        tokenOwnerAccountInput: TAccountTokenOwnerAccountInput;
        tokenOwnerAccountOutput: TAccountTokenOwnerAccountOutput;
        tokenProgramInput: TAccountTokenProgramInput;
        tokenProgramIntermediate: TAccountTokenProgramIntermediate;
        tokenProgramOutput: TAccountTokenProgramOutput;
        tokenVaultOneInput: TAccountTokenVaultOneInput;
        tokenVaultOneIntermediate: TAccountTokenVaultOneIntermediate;
        tokenVaultTwoIntermediate: TAccountTokenVaultTwoIntermediate;
        tokenVaultTwoOutput: TAccountTokenVaultTwoOutput;
        whirlpoolOne: TAccountWhirlpoolOne;
        whirlpoolTwo: TAccountWhirlpoolTwo;
    }

    Type Parameters

    • TAccountWhirlpoolOne extends InstructionAccountInput = InstructionAccountInput
    • TAccountWhirlpoolTwo extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenMintInput extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenMintIntermediate extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenMintOutput extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenProgramInput extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenProgramIntermediate extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenProgramOutput extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenOwnerAccountInput extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenVaultOneInput extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenVaultOneIntermediate extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenVaultTwoIntermediate extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenVaultTwoOutput extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenOwnerAccountOutput extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenAuthority extends InstructionSignerInput = InstructionSignerInput
    • TAccountTickArrayOne0 extends InstructionAccountInput = InstructionAccountInput
    • TAccountTickArrayOne1 extends InstructionAccountInput = InstructionAccountInput
    • TAccountTickArrayOne2 extends InstructionAccountInput = InstructionAccountInput
    • TAccountTickArrayTwo0 extends InstructionAccountInput = InstructionAccountInput
    • TAccountTickArrayTwo1 extends InstructionAccountInput = InstructionAccountInput
    • TAccountTickArrayTwo2 extends InstructionAccountInput = InstructionAccountInput
    • TAccountOracleOne extends InstructionAccountInput = InstructionAccountInput
    • TAccountOracleTwo extends InstructionAccountInput = InstructionAccountInput
    • TAccountMemoProgram extends InstructionAccountInput = InstructionAccountInput
    Index
    memoProgram?: TAccountMemoProgram
    tickArrayOne0: TAccountTickArrayOne0
    tickArrayOne1: TAccountTickArrayOne1
    tickArrayOne2: TAccountTickArrayOne2
    tickArrayTwo0: TAccountTickArrayTwo0
    tickArrayTwo1: TAccountTickArrayTwo1
    tickArrayTwo2: TAccountTickArrayTwo2
    tokenAuthority: TAccountTokenAuthority
    tokenMintInput: TAccountTokenMintInput
    tokenMintIntermediate: TAccountTokenMintIntermediate
    tokenMintOutput: TAccountTokenMintOutput
    tokenOwnerAccountInput: TAccountTokenOwnerAccountInput
    tokenOwnerAccountOutput: TAccountTokenOwnerAccountOutput
    tokenProgramInput: TAccountTokenProgramInput
    tokenProgramIntermediate: TAccountTokenProgramIntermediate
    tokenProgramOutput: TAccountTokenProgramOutput
    tokenVaultOneInput: TAccountTokenVaultOneInput
    tokenVaultOneIntermediate: TAccountTokenVaultOneIntermediate
    tokenVaultTwoIntermediate: TAccountTokenVaultTwoIntermediate
    tokenVaultTwoOutput: TAccountTokenVaultTwoOutput
    whirlpoolOne: TAccountWhirlpoolOne
    whirlpoolTwo: TAccountWhirlpoolTwo