@cashlab/moria
Preparing search index...
moria1
compiler
liquidateLoan
Function liquidateLoan
liquidateLoan
(
context
:
MoriaCompilerContext
,
utxos
:
{
delphi
:
UTXOWithNFT
;
loan
:
UTXOWithNFT
;
moria
:
UTXOWithNFT
}
,
funding_coins
:
SpendableCoin
[]
,
payout_rules
:
PayoutRule
[]
,
)
:
TxResult
&
{
batonminter_utxo
:
null
|
UTXOWithNFT
;
borrower_p2nfth_utxo
:
null
|
UTXO
;
bporacle_utxo
:
null
|
UTXOWithNFT
;
delphi_utxo
:
UTXOWithNFT
;
fees
:
{
batonminter_mint_fee
?:
bigint
;
bporacle_use_fee
?:
bigint
;
delphi_use_fee
?:
bigint
;
total
:
bigint
;
}
;
interest_utxo
:
null
|
UTXOWithFT
;
loan_agent_utxo
:
null
|
UTXOWithNFT
;
loan_utxo
:
null
|
UTXOWithNFT
;
moria_utxo
:
UTXOWithNFT
;
}
&
{
interest_utxo
:
UTXOWithFT
}
Parameters
context
:
MoriaCompilerContext
utxos
:
{
delphi
:
UTXOWithNFT
;
loan
:
UTXOWithNFT
;
moria
:
UTXOWithNFT
}
funding_coins
:
SpendableCoin
[]
payout_rules
:
PayoutRule
[]
Returns
TxResult
&
{
batonminter_utxo
:
null
|
UTXOWithNFT
;
borrower_p2nfth_utxo
:
null
|
UTXO
;
bporacle_utxo
:
null
|
UTXOWithNFT
;
delphi_utxo
:
UTXOWithNFT
;
fees
:
{
batonminter_mint_fee
?:
bigint
;
bporacle_use_fee
?:
bigint
;
delphi_use_fee
?:
bigint
;
total
:
bigint
;
}
;
interest_utxo
:
null
|
UTXOWithFT
;
loan_agent_utxo
:
null
|
UTXOWithNFT
;
loan_utxo
:
null
|
UTXOWithNFT
;
moria_utxo
:
UTXOWithNFT
;
}
&
{
interest_utxo
:
UTXOWithFT
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@cashlab/moria
Loading...