Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-kamino-lending
ParsedDepositAndWithdrawInstruction
Interface ParsedDepositAndWithdrawInstruction<TProgram, TAccountMetas>
interface
ParsedDepositAndWithdrawInstruction
<
TProgram
extends
string
=
typeof
KAMINO_LENDING_PROGRAM_ADDRESS
,
TAccountMetas
extends
readonly
AccountMeta
[]
=
readonly
AccountMeta
[]
,
>
{
accounts
:
{
depositAccountsCollateralTokenProgram
:
TAccountMetas
[
11
]
;
depositAccountsInstructionSysvarAccount
:
TAccountMetas
[
13
]
;
depositAccountsLendingMarket
:
TAccountMetas
[
2
]
;
depositAccountsLendingMarketAuthority
:
TAccountMetas
[
3
]
;
depositAccountsLiquidityTokenProgram
:
TAccountMetas
[
12
]
;
depositAccountsObligation
:
TAccountMetas
[
1
]
;
depositAccountsOwner
:
TAccountMetas
[
0
]
;
depositAccountsPlaceholderUserDestinationCollateral
?:
TAccountMetas
[
10
]
;
depositAccountsReserve
:
TAccountMetas
[
4
]
;
depositAccountsReserveCollateralMint
:
TAccountMetas
[
7
]
;
depositAccountsReserveDestinationDepositCollateral
:
TAccountMetas
[
8
]
;
depositAccountsReserveLiquidityMint
:
TAccountMetas
[
5
]
;
depositAccountsReserveLiquiditySupply
:
TAccountMetas
[
6
]
;
depositAccountsUserSourceLiquidity
:
TAccountMetas
[
9
]
;
depositFarmsAccountsObligationFarmUserState
?:
TAccountMetas
[
28
]
;
depositFarmsAccountsReserveFarmState
?:
TAccountMetas
[
29
]
;
farmsProgram
:
TAccountMetas
[
32
]
;
withdrawAccountsCollateralTokenProgram
:
TAccountMetas
[
25
]
;
withdrawAccountsInstructionSysvarAccount
:
TAccountMetas
[
27
]
;
withdrawAccountsLendingMarket
:
TAccountMetas
[
16
]
;
withdrawAccountsLendingMarketAuthority
:
TAccountMetas
[
17
]
;
withdrawAccountsLiquidityTokenProgram
:
TAccountMetas
[
26
]
;
withdrawAccountsObligation
:
TAccountMetas
[
15
]
;
withdrawAccountsOwner
:
TAccountMetas
[
14
]
;
withdrawAccountsPlaceholderUserDestinationCollateral
?:
TAccountMetas
[
24
]
;
withdrawAccountsReserveCollateralMint
:
TAccountMetas
[
21
]
;
withdrawAccountsReserveLiquidityMint
:
TAccountMetas
[
19
]
;
withdrawAccountsReserveLiquiditySupply
:
TAccountMetas
[
22
]
;
withdrawAccountsReserveSourceCollateral
:
TAccountMetas
[
20
]
;
withdrawAccountsUserDestinationLiquidity
:
TAccountMetas
[
23
]
;
withdrawAccountsWithdrawReserve
:
TAccountMetas
[
18
]
;
withdrawFarmsAccountsObligationFarmUserState
?:
TAccountMetas
[
30
]
;
withdrawFarmsAccountsReserveFarmState
?:
TAccountMetas
[
31
]
;
}
;
data
:
DepositAndWithdrawInstructionData
;
programAddress
:
Address
<
TProgram
>
;
}
Type Parameters
TProgram
extends
string
=
typeof
KAMINO_LENDING_PROGRAM_ADDRESS
TAccountMetas
extends
readonly
AccountMeta
[]
=
readonly
AccountMeta
[]
Index
Properties
accounts
data
program
Address
Properties
accounts
accounts
:
{
depositAccountsCollateralTokenProgram
:
TAccountMetas
[
11
]
;
depositAccountsInstructionSysvarAccount
:
TAccountMetas
[
13
]
;
depositAccountsLendingMarket
:
TAccountMetas
[
2
]
;
depositAccountsLendingMarketAuthority
:
TAccountMetas
[
3
]
;
depositAccountsLiquidityTokenProgram
:
TAccountMetas
[
12
]
;
depositAccountsObligation
:
TAccountMetas
[
1
]
;
depositAccountsOwner
:
TAccountMetas
[
0
]
;
depositAccountsPlaceholderUserDestinationCollateral
?:
TAccountMetas
[
10
]
;
depositAccountsReserve
:
TAccountMetas
[
4
]
;
depositAccountsReserveCollateralMint
:
TAccountMetas
[
7
]
;
depositAccountsReserveDestinationDepositCollateral
:
TAccountMetas
[
8
]
;
depositAccountsReserveLiquidityMint
:
TAccountMetas
[
5
]
;
depositAccountsReserveLiquiditySupply
:
TAccountMetas
[
6
]
;
depositAccountsUserSourceLiquidity
:
TAccountMetas
[
9
]
;
depositFarmsAccountsObligationFarmUserState
?:
TAccountMetas
[
28
]
;
depositFarmsAccountsReserveFarmState
?:
TAccountMetas
[
29
]
;
farmsProgram
:
TAccountMetas
[
32
]
;
withdrawAccountsCollateralTokenProgram
:
TAccountMetas
[
25
]
;
withdrawAccountsInstructionSysvarAccount
:
TAccountMetas
[
27
]
;
withdrawAccountsLendingMarket
:
TAccountMetas
[
16
]
;
withdrawAccountsLendingMarketAuthority
:
TAccountMetas
[
17
]
;
withdrawAccountsLiquidityTokenProgram
:
TAccountMetas
[
26
]
;
withdrawAccountsObligation
:
TAccountMetas
[
15
]
;
withdrawAccountsOwner
:
TAccountMetas
[
14
]
;
withdrawAccountsPlaceholderUserDestinationCollateral
?:
TAccountMetas
[
24
]
;
withdrawAccountsReserveCollateralMint
:
TAccountMetas
[
21
]
;
withdrawAccountsReserveLiquidityMint
:
TAccountMetas
[
19
]
;
withdrawAccountsReserveLiquiditySupply
:
TAccountMetas
[
22
]
;
withdrawAccountsReserveSourceCollateral
:
TAccountMetas
[
20
]
;
withdrawAccountsUserDestinationLiquidity
:
TAccountMetas
[
23
]
;
withdrawAccountsWithdrawReserve
:
TAccountMetas
[
18
]
;
withdrawFarmsAccountsObligationFarmUserState
?:
TAccountMetas
[
30
]
;
withdrawFarmsAccountsReserveFarmState
?:
TAccountMetas
[
31
]
;
}
data
data
:
DepositAndWithdrawInstructionData
program
Address
programAddress
:
Address
<
TProgram
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
accounts
data
program
Address
Coda by Ian Macalinao
Loading...