Coda by Ian Macalinao
Preparing search index...
@solana-programs/orca-whirlpools
SwapV2Input
Type Alias SwapV2Input<TAccountTokenProgramA, TAccountTokenProgramB, TAccountMemoProgram, TAccountTokenAuthority, TAccountWhirlpool, TAccountTokenMintA, TAccountTokenMintB, TAccountTokenOwnerAccountA, TAccountTokenVaultA, TAccountTokenOwnerAccountB, TAccountTokenVaultB, TAccountTickArray0, TAccountTickArray1, TAccountTickArray2, TAccountOracle>
type
SwapV2Input
<
TAccountTokenProgramA
extends
InstructionAccountInput
=
InstructionAccountInput
,
TAccountTokenProgramB
extends
InstructionAccountInput
=
InstructionAccountInput
,
TAccountMemoProgram
extends
InstructionAccountInput
=
InstructionAccountInput
,
TAccountTokenAuthority
extends
InstructionSignerInput
=
InstructionSignerInput
,
TAccountWhirlpool
extends
InstructionAccountInput
=
InstructionAccountInput
,
TAccountTokenMintA
extends
InstructionAccountInput
=
InstructionAccountInput
,
TAccountTokenMintB
extends
InstructionAccountInput
=
InstructionAccountInput
,
TAccountTokenOwnerAccountA
extends
InstructionAccountInput
=
InstructionAccountInput
,
TAccountTokenVaultA
extends
InstructionAccountInput
=
InstructionAccountInput
,
TAccountTokenOwnerAccountB
extends
InstructionAccountInput
=
InstructionAccountInput
,
TAccountTokenVaultB
extends
InstructionAccountInput
=
InstructionAccountInput
,
TAccountTickArray0
extends
InstructionAccountInput
=
InstructionAccountInput
,
TAccountTickArray1
extends
InstructionAccountInput
=
InstructionAccountInput
,
TAccountTickArray2
extends
InstructionAccountInput
=
InstructionAccountInput
,
TAccountOracle
extends
InstructionAccountInput
=
InstructionAccountInput
,
>
=
{
amount
:
SwapV2InstructionDataArgs
[
"amount"
]
;
amountSpecifiedIsInput
:
SwapV2InstructionDataArgs
[
"amountSpecifiedIsInput"
]
;
aToB
:
SwapV2InstructionDataArgs
[
"aToB"
]
;
memoProgram
?:
TAccountMemoProgram
;
oracle
:
TAccountOracle
;
otherAmountThreshold
:
SwapV2InstructionDataArgs
[
"otherAmountThreshold"
]
;
remainingAccountsInfo
:
SwapV2InstructionDataArgs
[
"remainingAccountsInfo"
]
;
sqrtPriceLimit
:
SwapV2InstructionDataArgs
[
"sqrtPriceLimit"
]
;
tickArray0
:
TAccountTickArray0
;
tickArray1
:
TAccountTickArray1
;
tickArray2
:
TAccountTickArray2
;
tokenAuthority
:
TAccountTokenAuthority
;
tokenMintA
:
TAccountTokenMintA
;
tokenMintB
:
TAccountTokenMintB
;
tokenOwnerAccountA
:
TAccountTokenOwnerAccountA
;
tokenOwnerAccountB
:
TAccountTokenOwnerAccountB
;
tokenProgramA
:
TAccountTokenProgramA
;
tokenProgramB
:
TAccountTokenProgramB
;
tokenVaultA
:
TAccountTokenVaultA
;
tokenVaultB
:
TAccountTokenVaultB
;
whirlpool
:
TAccountWhirlpool
;
}
Type Parameters
TAccountTokenProgramA
extends
InstructionAccountInput
=
InstructionAccountInput
TAccountTokenProgramB
extends
InstructionAccountInput
=
InstructionAccountInput
TAccountMemoProgram
extends
InstructionAccountInput
=
InstructionAccountInput
TAccountTokenAuthority
extends
InstructionSignerInput
=
InstructionSignerInput
TAccountWhirlpool
extends
InstructionAccountInput
=
InstructionAccountInput
TAccountTokenMintA
extends
InstructionAccountInput
=
InstructionAccountInput
TAccountTokenMintB
extends
InstructionAccountInput
=
InstructionAccountInput
TAccountTokenOwnerAccountA
extends
InstructionAccountInput
=
InstructionAccountInput
TAccountTokenVaultA
extends
InstructionAccountInput
=
InstructionAccountInput
TAccountTokenOwnerAccountB
extends
InstructionAccountInput
=
InstructionAccountInput
TAccountTokenVaultB
extends
InstructionAccountInput
=
InstructionAccountInput
TAccountTickArray0
extends
InstructionAccountInput
=
InstructionAccountInput
TAccountTickArray1
extends
InstructionAccountInput
=
InstructionAccountInput
TAccountTickArray2
extends
InstructionAccountInput
=
InstructionAccountInput
TAccountOracle
extends
InstructionAccountInput
=
InstructionAccountInput
Index
Properties
amount
amount
Specified
Is
Input
a
To
B
memo
Program?
oracle
other
Amount
Threshold
remaining
Accounts
Info
sqrt
Price
Limit
tick
Array0
tick
Array1
tick
Array2
token
Authority
token
Mint
A
token
Mint
B
token
Owner
Account
A
token
Owner
Account
B
token
Program
A
token
Program
B
token
Vault
A
token
Vault
B
whirlpool
Properties
amount
amount
:
SwapV2InstructionDataArgs
[
"amount"
]
amount
Specified
Is
Input
amountSpecifiedIsInput
:
SwapV2InstructionDataArgs
[
"amountSpecifiedIsInput"
]
a
To
B
aToB
:
SwapV2InstructionDataArgs
[
"aToB"
]
Optional
memo
Program
memoProgram
?:
TAccountMemoProgram
oracle
oracle
:
TAccountOracle
other
Amount
Threshold
otherAmountThreshold
:
SwapV2InstructionDataArgs
[
"otherAmountThreshold"
]
remaining
Accounts
Info
remainingAccountsInfo
:
SwapV2InstructionDataArgs
[
"remainingAccountsInfo"
]
sqrt
Price
Limit
sqrtPriceLimit
:
SwapV2InstructionDataArgs
[
"sqrtPriceLimit"
]
tick
Array0
tickArray0
:
TAccountTickArray0
tick
Array1
tickArray1
:
TAccountTickArray1
tick
Array2
tickArray2
:
TAccountTickArray2
token
Authority
tokenAuthority
:
TAccountTokenAuthority
token
Mint
A
tokenMintA
:
TAccountTokenMintA
token
Mint
B
tokenMintB
:
TAccountTokenMintB
token
Owner
Account
A
tokenOwnerAccountA
:
TAccountTokenOwnerAccountA
token
Owner
Account
B
tokenOwnerAccountB
:
TAccountTokenOwnerAccountB
token
Program
A
tokenProgramA
:
TAccountTokenProgramA
token
Program
B
tokenProgramB
:
TAccountTokenProgramB
token
Vault
A
tokenVaultA
:
TAccountTokenVaultA
token
Vault
B
tokenVaultB
:
TAccountTokenVaultB
whirlpool
whirlpool
:
TAccountWhirlpool
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
amount
amount
Specified
Is
Input
a
To
B
memo
Program
oracle
other
Amount
Threshold
remaining
Accounts
Info
sqrt
Price
Limit
tick
Array0
tick
Array1
tick
Array2
token
Authority
token
Mint
A
token
Mint
B
token
Owner
Account
A
token
Owner
Account
B
token
Program
A
token
Program
B
token
Vault
A
token
Vault
B
whirlpool
Coda by Ian Macalinao
Loading...