|
rippled
|
Ledger Entry: LoanBroker. More...
#include <LoanBroker.h>


Public Member Functions | |
| LoanBroker (std::shared_ptr< SLE const > sle) | |
| Construct a LoanBroker ledger entry wrapper from an existing SLE object. | |
| SF_UINT256::type::value_type | getPreviousTxnID () const |
| Get sfPreviousTxnID (soeREQUIRED) | |
| SF_UINT32::type::value_type | getPreviousTxnLgrSeq () const |
| Get sfPreviousTxnLgrSeq (soeREQUIRED) | |
| SF_UINT32::type::value_type | getSequence () const |
| Get sfSequence (soeREQUIRED) | |
| SF_UINT64::type::value_type | getOwnerNode () const |
| Get sfOwnerNode (soeREQUIRED) | |
| SF_UINT64::type::value_type | getVaultNode () const |
| Get sfVaultNode (soeREQUIRED) | |
| SF_UINT256::type::value_type | getVaultID () const |
| Get sfVaultID (soeREQUIRED) | |
| SF_ACCOUNT::type::value_type | getAccount () const |
| Get sfAccount (soeREQUIRED) | |
| SF_ACCOUNT::type::value_type | getOwner () const |
| Get sfOwner (soeREQUIRED) | |
| SF_UINT32::type::value_type | getLoanSequence () const |
| Get sfLoanSequence (soeREQUIRED) | |
| protocol_autogen::Optional< SF_VL::type::value_type > | getData () const |
| Get sfData (soeDEFAULT) | |
| bool | hasData () const |
| Check if sfData is present. | |
| protocol_autogen::Optional< SF_UINT16::type::value_type > | getManagementFeeRate () const |
| Get sfManagementFeeRate (soeDEFAULT) | |
| bool | hasManagementFeeRate () const |
| Check if sfManagementFeeRate is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getOwnerCount () const |
| Get sfOwnerCount (soeDEFAULT) | |
| bool | hasOwnerCount () const |
| Check if sfOwnerCount is present. | |
| protocol_autogen::Optional< SF_NUMBER::type::value_type > | getDebtTotal () const |
| Get sfDebtTotal (soeDEFAULT) | |
| bool | hasDebtTotal () const |
| Check if sfDebtTotal is present. | |
| protocol_autogen::Optional< SF_NUMBER::type::value_type > | getDebtMaximum () const |
| Get sfDebtMaximum (soeDEFAULT) | |
| bool | hasDebtMaximum () const |
| Check if sfDebtMaximum is present. | |
| protocol_autogen::Optional< SF_NUMBER::type::value_type > | getCoverAvailable () const |
| Get sfCoverAvailable (soeDEFAULT) | |
| bool | hasCoverAvailable () const |
| Check if sfCoverAvailable is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getCoverRateMinimum () const |
| Get sfCoverRateMinimum (soeDEFAULT) | |
| bool | hasCoverRateMinimum () const |
| Check if sfCoverRateMinimum is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getCoverRateLiquidation () const |
| Get sfCoverRateLiquidation (soeDEFAULT) | |
| bool | hasCoverRateLiquidation () const |
| Check if sfCoverRateLiquidation is present. | |
| bool | validate () const |
| Validate the ledger entry. | |
| LedgerEntryType | getType () const |
| Get the ledger entry type. | |
| uint256 const & | getKey () const |
| Get the key (index) of this ledger entry. | |
| std::optional< uint256 > | getLedgerIndex () const |
| Get the ledger index (sfLedgerIndex). | |
| bool | hasLedgerIndex () const |
| Check if the ledger entry has a ledger index. | |
| uint16_t | getLedgerEntryType () const |
| Get the ledger entry type field (sfLedgerEntryType). | |
| std::uint32_t | getFlags () const |
| Get the flags field (sfFlags). | |
| std::shared_ptr< SLE const > | getSle () const |
| Get the underlying SLE object. | |
Static Public Attributes | |
| static constexpr LedgerEntryType | entryType = ltLOAN_BROKER |
Protected Attributes | |
| std::shared_ptr< SLE const > | sle_ |
| The underlying serialized ledger entry being wrapped. | |
Ledger Entry: LoanBroker.
Type: ltLOAN_BROKER (0x0088) RPC Name: loan_broker
Immutable wrapper around SLE providing type-safe field access. Use LoanBrokerBuilder to construct new ledger entries.
Definition at line 27 of file LoanBroker.h.
|
explicit |
Construct a LoanBroker ledger entry wrapper from an existing SLE object.
| std::runtime_error | if the ledger entry type doesn't match. |
Definition at line 36 of file LoanBroker.h.
| SF_UINT256::type::value_type xrpl::ledger_entries::LoanBroker::getPreviousTxnID | ( | ) | const |
Get sfPreviousTxnID (soeREQUIRED)
Definition at line 54 of file LoanBroker.h.
| SF_UINT32::type::value_type xrpl::ledger_entries::LoanBroker::getPreviousTxnLgrSeq | ( | ) | const |
Get sfPreviousTxnLgrSeq (soeREQUIRED)
Definition at line 65 of file LoanBroker.h.
| SF_UINT32::type::value_type xrpl::ledger_entries::LoanBroker::getSequence | ( | ) | const |
| SF_UINT64::type::value_type xrpl::ledger_entries::LoanBroker::getOwnerNode | ( | ) | const |
| SF_UINT64::type::value_type xrpl::ledger_entries::LoanBroker::getVaultNode | ( | ) | const |
| SF_UINT256::type::value_type xrpl::ledger_entries::LoanBroker::getVaultID | ( | ) | const |
| SF_ACCOUNT::type::value_type xrpl::ledger_entries::LoanBroker::getAccount | ( | ) | const |
| SF_ACCOUNT::type::value_type xrpl::ledger_entries::LoanBroker::getOwner | ( | ) | const |
| SF_UINT32::type::value_type xrpl::ledger_entries::LoanBroker::getLoanSequence | ( | ) | const |
Get sfLoanSequence (soeREQUIRED)
Definition at line 142 of file LoanBroker.h.
| protocol_autogen::Optional< SF_VL::type::value_type > xrpl::ledger_entries::LoanBroker::getData | ( | ) | const |
Get sfData (soeDEFAULT)
Definition at line 153 of file LoanBroker.h.
| bool xrpl::ledger_entries::LoanBroker::hasData | ( | ) | const |
Check if sfData is present.
Definition at line 166 of file LoanBroker.h.
| protocol_autogen::Optional< SF_UINT16::type::value_type > xrpl::ledger_entries::LoanBroker::getManagementFeeRate | ( | ) | const |
Get sfManagementFeeRate (soeDEFAULT)
Definition at line 177 of file LoanBroker.h.
| bool xrpl::ledger_entries::LoanBroker::hasManagementFeeRate | ( | ) | const |
Check if sfManagementFeeRate is present.
Definition at line 190 of file LoanBroker.h.
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::LoanBroker::getOwnerCount | ( | ) | const |
Get sfOwnerCount (soeDEFAULT)
Definition at line 201 of file LoanBroker.h.
| bool xrpl::ledger_entries::LoanBroker::hasOwnerCount | ( | ) | const |
Check if sfOwnerCount is present.
Definition at line 214 of file LoanBroker.h.
| protocol_autogen::Optional< SF_NUMBER::type::value_type > xrpl::ledger_entries::LoanBroker::getDebtTotal | ( | ) | const |
Get sfDebtTotal (soeDEFAULT)
Definition at line 225 of file LoanBroker.h.
| bool xrpl::ledger_entries::LoanBroker::hasDebtTotal | ( | ) | const |
Check if sfDebtTotal is present.
Definition at line 238 of file LoanBroker.h.
| protocol_autogen::Optional< SF_NUMBER::type::value_type > xrpl::ledger_entries::LoanBroker::getDebtMaximum | ( | ) | const |
Get sfDebtMaximum (soeDEFAULT)
Definition at line 249 of file LoanBroker.h.
| bool xrpl::ledger_entries::LoanBroker::hasDebtMaximum | ( | ) | const |
Check if sfDebtMaximum is present.
Definition at line 262 of file LoanBroker.h.
| protocol_autogen::Optional< SF_NUMBER::type::value_type > xrpl::ledger_entries::LoanBroker::getCoverAvailable | ( | ) | const |
Get sfCoverAvailable (soeDEFAULT)
Definition at line 273 of file LoanBroker.h.
| bool xrpl::ledger_entries::LoanBroker::hasCoverAvailable | ( | ) | const |
Check if sfCoverAvailable is present.
Definition at line 286 of file LoanBroker.h.
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::LoanBroker::getCoverRateMinimum | ( | ) | const |
Get sfCoverRateMinimum (soeDEFAULT)
Definition at line 297 of file LoanBroker.h.
| bool xrpl::ledger_entries::LoanBroker::hasCoverRateMinimum | ( | ) | const |
Check if sfCoverRateMinimum is present.
Definition at line 310 of file LoanBroker.h.
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::LoanBroker::getCoverRateLiquidation | ( | ) | const |
Get sfCoverRateLiquidation (soeDEFAULT)
Definition at line 321 of file LoanBroker.h.
| bool xrpl::ledger_entries::LoanBroker::hasCoverRateLiquidation | ( | ) | const |
Check if sfCoverRateLiquidation is present.
Definition at line 334 of file LoanBroker.h.
|
inherited |
Validate the ledger entry.
Definition at line 40 of file LedgerEntryBase.h.
|
inherited |
Get the ledger entry type.
Definition at line 57 of file LedgerEntryBase.h.
|
inherited |
Get the key (index) of this ledger entry.
The key uniquely identifies this ledger entry in the ledger state.
Definition at line 70 of file LedgerEntryBase.h.
|
inherited |
Get the ledger index (sfLedgerIndex).
This field is OPTIONAL and represents the index of the ledger entry.
Definition at line 85 of file LedgerEntryBase.h.
|
inherited |
Check if the ledger entry has a ledger index.
Definition at line 100 of file LedgerEntryBase.h.
|
inherited |
Get the ledger entry type field (sfLedgerEntryType).
This field is REQUIRED for all ledger entries and indicates the type of the ledger entry (e.g., AccountRoot, RippleState, Offer, etc.).
Definition at line 114 of file LedgerEntryBase.h.
|
inherited |
Get the flags field (sfFlags).
This field is REQUIRED for all ledger entries and contains type-specific flags that modify the behavior of the ledger entry.
Definition at line 128 of file LedgerEntryBase.h.
|
inherited |
Get the underlying SLE object.
Provides direct access to the wrapped serialized ledger entry object for cases where the type-safe accessors are insufficient.
Definition at line 142 of file LedgerEntryBase.h.
|
staticconstexpr |
Definition at line 30 of file LoanBroker.h.
|
protectedinherited |
The underlying serialized ledger entry being wrapped.
Definition at line 149 of file LedgerEntryBase.h.