@cashlab/moria
    Preparing search index...

    Function liquidateLoan

    • 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 }