|
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 258 of file LendingHelpers.h.
|
nodiscard |
Definition at line 273 of file LendingHelpers.h.
| Number xrpl::LoanState::valueOutstanding |
Definition at line 261 of file LendingHelpers.h.
| Number xrpl::LoanState::principalOutstanding |
Definition at line 263 of file LendingHelpers.h.
| Number xrpl::LoanState::interestDue |
Definition at line 266 of file LendingHelpers.h.
| Number xrpl::LoanState::managementFeeDue |
Definition at line 269 of file LendingHelpers.h.