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
Namespace: Xrpl.Sugar
Assembly: Xrpl.dll
Syntax
public sealed class LoanBrokerCoverQuote
Properties
| Edit this page View SourceAmount
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 |
CoverAfter
The broker's CoverAvailable after the transaction; CoverBefore when refused.
Declaration
public decimal CoverAfter { get; init; }
Property Value
| Type | Description |
|---|---|
| decimal |
CoverBefore
The broker's CoverAvailable before the transaction.
Declaration
public decimal CoverBefore { get; init; }
Property Value
| Type | Description |
|---|---|
| decimal |
IsAccepted
Whether the transaction passes the checks LoanBrokerCover repeats.
Declaration
public bool IsAccepted { get; }
Property Value
| Type | Description |
|---|---|
| bool |
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 |
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 |
RefusalReason
Why the node would refuse, in words; null when these checks pass.
Declaration
public string RefusalReason { get; init; }
Property Value
| Type | Description |
|---|---|
| string |