Coda by Ian Macalinao
Preparing search index...
@solana-programs/orca-whirlpools
TwoHopSwapV2Input
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
Properties
amount
amount
Specified
Is
Input
a
To
B
One
a
To
B
Two
memo
Program?
oracle
One
oracle
Two
other
Amount
Threshold
remaining
Accounts
Info
sqrt
Price
Limit
One
sqrt
Price
Limit
Two
tick
Array
One0
tick
Array
One1
tick
Array
One2
tick
Array
Two0
tick
Array
Two1
tick
Array
Two2
token
Authority
token
Mint
Input
token
Mint
Intermediate
token
Mint
Output
token
Owner
Account
Input
token
Owner
Account
Output
token
Program
Input
token
Program
Intermediate
token
Program
Output
token
Vault
One
Input
token
Vault
One
Intermediate
token
Vault
Two
Intermediate
token
Vault
Two
Output
whirlpool
One
whirlpool
Two
Properties
amount
amount
:
TwoHopSwapV2InstructionDataArgs
[
"amount"
]
amount
Specified
Is
Input
amountSpecifiedIsInput
:
TwoHopSwapV2InstructionDataArgs
[
"amountSpecifiedIsInput"
]
a
To
B
One
aToBOne
:
TwoHopSwapV2InstructionDataArgs
[
"aToBOne"
]
a
To
B
Two
aToBTwo
:
TwoHopSwapV2InstructionDataArgs
[
"aToBTwo"
]
Optional
memo
Program
memoProgram
?:
TAccountMemoProgram
oracle
One
oracleOne
:
TAccountOracleOne
oracle
Two
oracleTwo
:
TAccountOracleTwo
other
Amount
Threshold
otherAmountThreshold
:
TwoHopSwapV2InstructionDataArgs
[
"otherAmountThreshold"
]
remaining
Accounts
Info
remainingAccountsInfo
:
TwoHopSwapV2InstructionDataArgs
[
"remainingAccountsInfo"
]
sqrt
Price
Limit
One
sqrtPriceLimitOne
:
TwoHopSwapV2InstructionDataArgs
[
"sqrtPriceLimitOne"
]
sqrt
Price
Limit
Two
sqrtPriceLimitTwo
:
TwoHopSwapV2InstructionDataArgs
[
"sqrtPriceLimitTwo"
]
tick
Array
One0
tickArrayOne0
:
TAccountTickArrayOne0
tick
Array
One1
tickArrayOne1
:
TAccountTickArrayOne1
tick
Array
One2
tickArrayOne2
:
TAccountTickArrayOne2
tick
Array
Two0
tickArrayTwo0
:
TAccountTickArrayTwo0
tick
Array
Two1
tickArrayTwo1
:
TAccountTickArrayTwo1
tick
Array
Two2
tickArrayTwo2
:
TAccountTickArrayTwo2
token
Authority
tokenAuthority
:
TAccountTokenAuthority
token
Mint
Input
tokenMintInput
:
TAccountTokenMintInput
token
Mint
Intermediate
tokenMintIntermediate
:
TAccountTokenMintIntermediate
token
Mint
Output
tokenMintOutput
:
TAccountTokenMintOutput
token
Owner
Account
Input
tokenOwnerAccountInput
:
TAccountTokenOwnerAccountInput
token
Owner
Account
Output
tokenOwnerAccountOutput
:
TAccountTokenOwnerAccountOutput
token
Program
Input
tokenProgramInput
:
TAccountTokenProgramInput
token
Program
Intermediate
tokenProgramIntermediate
:
TAccountTokenProgramIntermediate
token
Program
Output
tokenProgramOutput
:
TAccountTokenProgramOutput
token
Vault
One
Input
tokenVaultOneInput
:
TAccountTokenVaultOneInput
token
Vault
One
Intermediate
tokenVaultOneIntermediate
:
TAccountTokenVaultOneIntermediate
token
Vault
Two
Intermediate
tokenVaultTwoIntermediate
:
TAccountTokenVaultTwoIntermediate
token
Vault
Two
Output
tokenVaultTwoOutput
:
TAccountTokenVaultTwoOutput
whirlpool
One
whirlpoolOne
:
TAccountWhirlpoolOne
whirlpool
Two
whirlpoolTwo
:
TAccountWhirlpoolTwo
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
amount
amount
Specified
Is
Input
a
To
B
One
a
To
B
Two
memo
Program
oracle
One
oracle
Two
other
Amount
Threshold
remaining
Accounts
Info
sqrt
Price
Limit
One
sqrt
Price
Limit
Two
tick
Array
One0
tick
Array
One1
tick
Array
One2
tick
Array
Two0
tick
Array
Two1
tick
Array
Two2
token
Authority
token
Mint
Input
token
Mint
Intermediate
token
Mint
Output
token
Owner
Account
Input
token
Owner
Account
Output
token
Program
Input
token
Program
Intermediate
token
Program
Output
token
Vault
One
Input
token
Vault
One
Intermediate
token
Vault
Two
Intermediate
token
Vault
Two
Output
whirlpool
One
whirlpool
Two
Coda by Ian Macalinao
Loading...