|
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 124 of file LendingHelpers.h.
|
nodiscard |
Definition at line 139 of file LendingHelpers.h.
| Number xrpl::LoanState::valueOutstanding |
Definition at line 127 of file LendingHelpers.h.
| Number xrpl::LoanState::principalOutstanding |
Definition at line 129 of file LendingHelpers.h.
| Number xrpl::LoanState::interestDue |
Definition at line 132 of file LendingHelpers.h.
| Number xrpl::LoanState::managementFeeDue |
Definition at line 135 of file LendingHelpers.h.