Show / Hide Table of Contents

Class LoanBrokerCoverQuote

What a change to a loan broker's first-loss cover would do, or why the node would refuse it: the result of LoanBrokerCover. Amounts are in the vault asset's own unit - drops for XRP - as the LoanBroker fields are.

Inheritance
object
LoanBrokerCoverQuote
Namespace: Xrpl.Sugar
Assembly: Xrpl.dll
Syntax
public sealed class LoanBrokerCoverQuote

Properties

| Edit this page View Source

Amount

What moves: the amount a deposit credits to the cover once rounded to its scale, the amount a withdrawal takes out, or what a clawback takes back. Zero when refused.

Declaration
public decimal Amount { get; init; }
Property Value
Type Description
decimal
| Edit this page View Source

CoverAfter

The broker's CoverAvailable after the transaction; CoverBefore when refused.

Declaration
public decimal CoverAfter { get; init; }
Property Value
Type Description
decimal
| Edit this page View Source

CoverBefore

The broker's CoverAvailable before the transaction.

Declaration
public decimal CoverBefore { get; init; }
Property Value
Type Description
decimal
| Edit this page View Source

IsAccepted

Whether the transaction passes the checks LoanBrokerCover repeats.

Declaration
public bool IsAccepted { get; }
Property Value
Type Description
bool
| Edit this page View Source

MinimumCover

The minimum cover the transaction checks against: the one LoanBrokerCoverClawback keeps for a clawback, the one LoanBrokerCoverWithdraw keeps otherwise.

Declaration
public decimal MinimumCover { get; init; }
Property Value
Type Description
decimal
| Edit this page View Source

Refusal

The result the node would give instead, such as tecINSUFFICIENT_FUNDS or tecPRECISION_LOSS; null when these checks pass.

Declaration
public string Refusal { get; init; }
Property Value
Type Description
string
| Edit this page View Source

RefusalReason

Why the node would refuse, in words; null when these checks pass.

Declaration
public string RefusalReason { get; init; }
Property Value
Type Description
string
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX