Coda by Ian Macalinao
Preparing search index...
@solana-programs/kamino-lending
getSocializeLossInstruction
Function getSocializeLossInstruction
getSocializeLossInstruction
<
TAccountRiskCouncil
extends
InstructionSignerInput
,
TAccountObligation
extends
InstructionAccountInput
,
TAccountLendingMarket
extends
InstructionAccountInput
,
TAccountReserve
extends
InstructionAccountInput
,
TAccountInstructionSysvarAccount
extends
InstructionAccountInput
,
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
,
>
(
input
:
SocializeLossInput
<
TAccountRiskCouncil
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountReserve
,
TAccountInstructionSysvarAccount
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
SocializeLossInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountRiskCouncil
,
InstructionAccountInputAddress
<
TAccountRiskCouncil
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountObligation
,
InstructionAccountInputAddress
<
TAccountObligation
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarket
,
InstructionAccountInputAddress
<
TAccountLendingMarket
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserve
,
InstructionAccountInputAddress
<
TAccountReserve
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountInstructionSysvarAccount
,
InstructionAccountInputAddress
<
TAccountInstructionSysvarAccount
>
,
>
,
>
Type Parameters
TAccountRiskCouncil
extends
InstructionSignerInput
TAccountObligation
extends
InstructionAccountInput
TAccountLendingMarket
extends
InstructionAccountInput
TAccountReserve
extends
InstructionAccountInput
TAccountInstructionSysvarAccount
extends
InstructionAccountInput
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
Parameters
input
:
SocializeLossInput
<
TAccountRiskCouncil
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountReserve
,
TAccountInstructionSysvarAccount
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
SocializeLossInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountRiskCouncil
,
InstructionAccountInputAddress
<
TAccountRiskCouncil
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountObligation
,
InstructionAccountInputAddress
<
TAccountObligation
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarket
,
InstructionAccountInputAddress
<
TAccountLendingMarket
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserve
,
InstructionAccountInputAddress
<
TAccountReserve
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountInstructionSysvarAccount
,
InstructionAccountInputAddress
<
TAccountInstructionSysvarAccount
>
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...