Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-kamino-lending
ParsedRepayAndWithdrawAndRedeemInstruction
Interface ParsedRepayAndWithdrawAndRedeemInstruction<TProgram, TAccountMetas>
interface
ParsedRepayAndWithdrawAndRedeemInstruction
<
TProgram
extends
string
=
typeof
KAMINO_LENDING_PROGRAM_ADDRESS
,
TAccountMetas
extends
readonly
AccountMeta
[]
=
readonly
AccountMeta
[]
,
>
{
accounts
:
{
collateralFarmsAccountsObligationFarmUserState
?:
TAccountMetas
[
23
]
;
collateralFarmsAccountsReserveFarmState
?:
TAccountMetas
[
24
]
;
farmsProgram
:
TAccountMetas
[
27
]
;
repayAccountsInstructionSysvarAccount
:
TAccountMetas
[
8
]
;
repayAccountsLendingMarket
:
TAccountMetas
[
2
]
;
repayAccountsObligation
:
TAccountMetas
[
1
]
;
repayAccountsOwner
:
TAccountMetas
[
0
]
;
repayAccountsRepayReserve
:
TAccountMetas
[
3
]
;
repayAccountsReserveDestinationLiquidity
:
TAccountMetas
[
5
]
;
repayAccountsReserveLiquidityMint
:
TAccountMetas
[
4
]
;
repayAccountsTokenProgram
:
TAccountMetas
[
7
]
;
repayAccountsUserSourceLiquidity
:
TAccountMetas
[
6
]
;
repayDebtFarmsAccountsObligationFarmUserState
?:
TAccountMetas
[
25
]
;
repayDebtFarmsAccountsReserveFarmState
?:
TAccountMetas
[
26
]
;
withdrawAccountsCollateralTokenProgram
:
TAccountMetas
[
20
]
;
withdrawAccountsInstructionSysvarAccount
:
TAccountMetas
[
22
]
;
withdrawAccountsLendingMarket
:
TAccountMetas
[
11
]
;
withdrawAccountsLendingMarketAuthority
:
TAccountMetas
[
12
]
;
withdrawAccountsLiquidityTokenProgram
:
TAccountMetas
[
21
]
;
withdrawAccountsObligation
:
TAccountMetas
[
10
]
;
withdrawAccountsOwner
:
TAccountMetas
[
9
]
;
withdrawAccountsPlaceholderUserDestinationCollateral
?:
TAccountMetas
[
19
]
;
withdrawAccountsReserveCollateralMint
:
TAccountMetas
[
16
]
;
withdrawAccountsReserveLiquidityMint
:
TAccountMetas
[
14
]
;
withdrawAccountsReserveLiquiditySupply
:
TAccountMetas
[
17
]
;
withdrawAccountsReserveSourceCollateral
:
TAccountMetas
[
15
]
;
withdrawAccountsUserDestinationLiquidity
:
TAccountMetas
[
18
]
;
withdrawAccountsWithdrawReserve
:
TAccountMetas
[
13
]
;
}
;
data
:
RepayAndWithdrawAndRedeemInstructionData
;
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
:
{
collateralFarmsAccountsObligationFarmUserState
?:
TAccountMetas
[
23
]
;
collateralFarmsAccountsReserveFarmState
?:
TAccountMetas
[
24
]
;
farmsProgram
:
TAccountMetas
[
27
]
;
repayAccountsInstructionSysvarAccount
:
TAccountMetas
[
8
]
;
repayAccountsLendingMarket
:
TAccountMetas
[
2
]
;
repayAccountsObligation
:
TAccountMetas
[
1
]
;
repayAccountsOwner
:
TAccountMetas
[
0
]
;
repayAccountsRepayReserve
:
TAccountMetas
[
3
]
;
repayAccountsReserveDestinationLiquidity
:
TAccountMetas
[
5
]
;
repayAccountsReserveLiquidityMint
:
TAccountMetas
[
4
]
;
repayAccountsTokenProgram
:
TAccountMetas
[
7
]
;
repayAccountsUserSourceLiquidity
:
TAccountMetas
[
6
]
;
repayDebtFarmsAccountsObligationFarmUserState
?:
TAccountMetas
[
25
]
;
repayDebtFarmsAccountsReserveFarmState
?:
TAccountMetas
[
26
]
;
withdrawAccountsCollateralTokenProgram
:
TAccountMetas
[
20
]
;
withdrawAccountsInstructionSysvarAccount
:
TAccountMetas
[
22
]
;
withdrawAccountsLendingMarket
:
TAccountMetas
[
11
]
;
withdrawAccountsLendingMarketAuthority
:
TAccountMetas
[
12
]
;
withdrawAccountsLiquidityTokenProgram
:
TAccountMetas
[
21
]
;
withdrawAccountsObligation
:
TAccountMetas
[
10
]
;
withdrawAccountsOwner
:
TAccountMetas
[
9
]
;
withdrawAccountsPlaceholderUserDestinationCollateral
?:
TAccountMetas
[
19
]
;
withdrawAccountsReserveCollateralMint
:
TAccountMetas
[
16
]
;
withdrawAccountsReserveLiquidityMint
:
TAccountMetas
[
14
]
;
withdrawAccountsReserveLiquiditySupply
:
TAccountMetas
[
17
]
;
withdrawAccountsReserveSourceCollateral
:
TAccountMetas
[
15
]
;
withdrawAccountsUserDestinationLiquidity
:
TAccountMetas
[
18
]
;
withdrawAccountsWithdrawReserve
:
TAccountMetas
[
13
]
;
}
data
data
:
RepayAndWithdrawAndRedeemInstructionData
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...