|
xrpld
|
This structure captures the parts of a loan state. More...
#include <LendingHelpers.h>

Public Member Functions | |
| Number | interestOutstanding () const |
Public Attributes | |
| Number | valueOutstanding |
| Number | principalOutstanding |
| Number | interestDue |
| Number | managementFeeDue |
This structure captures the parts of a loan state.
Whether the values are theoretical (unrounded) or rounded will depend on how it was computed.
Many of the fields can be derived from each other, but they're all provided here to reduce code duplication and possible mistakes. e.g.
Definition at line 144 of file LendingHelpers.h.
|
nodiscard |
Definition at line 159 of file LendingHelpers.h.
| Number xrpl::LoanState::valueOutstanding |
Definition at line 147 of file LendingHelpers.h.
| Number xrpl::LoanState::principalOutstanding |
Definition at line 149 of file LendingHelpers.h.
| Number xrpl::LoanState::interestDue |
Definition at line 152 of file LendingHelpers.h.
| Number xrpl::LoanState::managementFeeDue |
Definition at line 155 of file LendingHelpers.h.