Coda by Ian Macalinao
Preparing search index...
@solana-programs/orca-whirlpools
TwoHopSwapInput
Type Alias TwoHopSwapInput<TAccountTokenProgram, TAccountTokenAuthority, TAccountWhirlpoolOne, TAccountWhirlpoolTwo, TAccountTokenOwnerAccountOneA, TAccountTokenVaultOneA, TAccountTokenOwnerAccountOneB, TAccountTokenVaultOneB, TAccountTokenOwnerAccountTwoA, TAccountTokenVaultTwoA, TAccountTokenOwnerAccountTwoB, TAccountTokenVaultTwoB, TAccountTickArrayOne0, TAccountTickArrayOne1, TAccountTickArrayOne2, TAccountTickArrayTwo0, TAccountTickArrayTwo1, TAccountTickArrayTwo2, TAccountOracleOne, TAccountOracleTwo>
type
TwoHopSwapInput
<
TAccountTokenProgram
extends
InstructionAccountInput
=
InstructionAccountInput
,
TAccountTokenAuthority
extends
InstructionSignerInput
=
InstructionSignerInput
,
TAccountWhirlpoolOne
extends
InstructionAccountInput
=
InstructionAccountInput
,
TAccountWhirlpoolTwo
extends
InstructionAccountInput
=
InstructionAccountInput
,
TAccountTokenOwnerAccountOneA
extends
InstructionAccountInput
=
InstructionAccountInput
,
TAccountTokenVaultOneA
extends
InstructionAccountInput
=
InstructionAccountInput
,
TAccountTokenOwnerAccountOneB
extends
InstructionAccountInput
=
InstructionAccountInput
,
TAccountTokenVaultOneB
extends
InstructionAccountInput
=
InstructionAccountInput
,
TAccountTokenOwnerAccountTwoA
extends
InstructionAccountInput
=
InstructionAccountInput
,
TAccountTokenVaultTwoA
extends
InstructionAccountInput
=
InstructionAccountInput
,
TAccountTokenOwnerAccountTwoB
extends
InstructionAccountInput
=
InstructionAccountInput
,
TAccountTokenVaultTwoB
extends
InstructionAccountInput
=
InstructionAccountInput
,
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
,
>
=
{
amount
:
TwoHopSwapInstructionDataArgs
[
"amount"
]
;
amountSpecifiedIsInput
:
TwoHopSwapInstructionDataArgs
[
"amountSpecifiedIsInput"
]
;
aToBOne
:
TwoHopSwapInstructionDataArgs
[
"aToBOne"
]
;
aToBTwo
:
TwoHopSwapInstructionDataArgs
[
"aToBTwo"
]
;
oracleOne
:
TAccountOracleOne
;
oracleTwo
:
TAccountOracleTwo
;
otherAmountThreshold
:
TwoHopSwapInstructionDataArgs
[
"otherAmountThreshold"
]
;
sqrtPriceLimitOne
:
TwoHopSwapInstructionDataArgs
[
"sqrtPriceLimitOne"
]
;
sqrtPriceLimitTwo
:
TwoHopSwapInstructionDataArgs
[
"sqrtPriceLimitTwo"
]
;
tickArrayOne0
:
TAccountTickArrayOne0
;
tickArrayOne1
:
TAccountTickArrayOne1
;
tickArrayOne2
:
TAccountTickArrayOne2
;
tickArrayTwo0
:
TAccountTickArrayTwo0
;
tickArrayTwo1
:
TAccountTickArrayTwo1
;
tickArrayTwo2
:
TAccountTickArrayTwo2
;
tokenAuthority
:
TAccountTokenAuthority
;
tokenOwnerAccountOneA
:
TAccountTokenOwnerAccountOneA
;
tokenOwnerAccountOneB
:
TAccountTokenOwnerAccountOneB
;
tokenOwnerAccountTwoA
:
TAccountTokenOwnerAccountTwoA
;
tokenOwnerAccountTwoB
:
TAccountTokenOwnerAccountTwoB
;
tokenProgram
?:
TAccountTokenProgram
;
tokenVaultOneA
:
TAccountTokenVaultOneA
;
tokenVaultOneB
:
TAccountTokenVaultOneB
;
tokenVaultTwoA
:
TAccountTokenVaultTwoA
;
tokenVaultTwoB
:
TAccountTokenVaultTwoB
;
whirlpoolOne
:
TAccountWhirlpoolOne
;
whirlpoolTwo
:
TAccountWhirlpoolTwo
;
}
Type Parameters
TAccountTokenProgram
extends
InstructionAccountInput
=
InstructionAccountInput
TAccountTokenAuthority
extends
InstructionSignerInput
=
InstructionSignerInput
TAccountWhirlpoolOne
extends
InstructionAccountInput
=
InstructionAccountInput
TAccountWhirlpoolTwo
extends
InstructionAccountInput
=
InstructionAccountInput
TAccountTokenOwnerAccountOneA
extends
InstructionAccountInput
=
InstructionAccountInput
TAccountTokenVaultOneA
extends
InstructionAccountInput
=
InstructionAccountInput
TAccountTokenOwnerAccountOneB
extends
InstructionAccountInput
=
InstructionAccountInput
TAccountTokenVaultOneB
extends
InstructionAccountInput
=
InstructionAccountInput
TAccountTokenOwnerAccountTwoA
extends
InstructionAccountInput
=
InstructionAccountInput
TAccountTokenVaultTwoA
extends
InstructionAccountInput
=
InstructionAccountInput
TAccountTokenOwnerAccountTwoB
extends
InstructionAccountInput
=
InstructionAccountInput
TAccountTokenVaultTwoB
extends
InstructionAccountInput
=
InstructionAccountInput
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
Index
Properties
amount
amount
Specified
Is
Input
a
To
B
One
a
To
B
Two
oracle
One
oracle
Two
other
Amount
Threshold
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
Owner
Account
One
A
token
Owner
Account
One
B
token
Owner
Account
Two
A
token
Owner
Account
Two
B
token
Program?
token
Vault
One
A
token
Vault
One
B
token
Vault
Two
A
token
Vault
Two
B
whirlpool
One
whirlpool
Two
Properties
amount
amount
:
TwoHopSwapInstructionDataArgs
[
"amount"
]
amount
Specified
Is
Input
amountSpecifiedIsInput
:
TwoHopSwapInstructionDataArgs
[
"amountSpecifiedIsInput"
]
a
To
B
One
aToBOne
:
TwoHopSwapInstructionDataArgs
[
"aToBOne"
]
a
To
B
Two
aToBTwo
:
TwoHopSwapInstructionDataArgs
[
"aToBTwo"
]
oracle
One
oracleOne
:
TAccountOracleOne
oracle
Two
oracleTwo
:
TAccountOracleTwo
other
Amount
Threshold
otherAmountThreshold
:
TwoHopSwapInstructionDataArgs
[
"otherAmountThreshold"
]
sqrt
Price
Limit
One
sqrtPriceLimitOne
:
TwoHopSwapInstructionDataArgs
[
"sqrtPriceLimitOne"
]
sqrt
Price
Limit
Two
sqrtPriceLimitTwo
:
TwoHopSwapInstructionDataArgs
[
"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
Owner
Account
One
A
tokenOwnerAccountOneA
:
TAccountTokenOwnerAccountOneA
token
Owner
Account
One
B
tokenOwnerAccountOneB
:
TAccountTokenOwnerAccountOneB
token
Owner
Account
Two
A
tokenOwnerAccountTwoA
:
TAccountTokenOwnerAccountTwoA
token
Owner
Account
Two
B
tokenOwnerAccountTwoB
:
TAccountTokenOwnerAccountTwoB
Optional
token
Program
tokenProgram
?:
TAccountTokenProgram
token
Vault
One
A
tokenVaultOneA
:
TAccountTokenVaultOneA
token
Vault
One
B
tokenVaultOneB
:
TAccountTokenVaultOneB
token
Vault
Two
A
tokenVaultTwoA
:
TAccountTokenVaultTwoA
token
Vault
Two
B
tokenVaultTwoB
:
TAccountTokenVaultTwoB
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
oracle
One
oracle
Two
other
Amount
Threshold
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
Owner
Account
One
A
token
Owner
Account
One
B
token
Owner
Account
Two
A
token
Owner
Account
Two
B
token
Program
token
Vault
One
A
token
Vault
One
B
token
Vault
Two
A
token
Vault
Two
B
whirlpool
One
whirlpool
Two
Coda by Ian Macalinao
Loading...