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


Public Member Functions | |
| FeeSettings (std::shared_ptr< SLE const > sle) | |
| Construct a FeeSettings ledger entry wrapper from an existing SLE object. | |
| protocol_autogen::Optional< SF_UINT64::type::value_type > | getBaseFee () const |
| Get sfBaseFee (soeOPTIONAL) | |
| bool | hasBaseFee () const |
| Check if sfBaseFee is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getReferenceFeeUnits () const |
| Get sfReferenceFeeUnits (soeOPTIONAL) | |
| bool | hasReferenceFeeUnits () const |
| Check if sfReferenceFeeUnits is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getReserveBase () const |
| Get sfReserveBase (soeOPTIONAL) | |
| bool | hasReserveBase () const |
| Check if sfReserveBase is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getReserveIncrement () const |
| Get sfReserveIncrement (soeOPTIONAL) | |
| bool | hasReserveIncrement () const |
| Check if sfReserveIncrement is present. | |
| protocol_autogen::Optional< SF_AMOUNT::type::value_type > | getBaseFeeDrops () const |
| Get sfBaseFeeDrops (soeOPTIONAL) | |
| bool | hasBaseFeeDrops () const |
| Check if sfBaseFeeDrops is present. | |
| protocol_autogen::Optional< SF_AMOUNT::type::value_type > | getReserveBaseDrops () const |
| Get sfReserveBaseDrops (soeOPTIONAL) | |
| bool | hasReserveBaseDrops () const |
| Check if sfReserveBaseDrops is present. | |
| protocol_autogen::Optional< SF_AMOUNT::type::value_type > | getReserveIncrementDrops () const |
| Get sfReserveIncrementDrops (soeOPTIONAL) | |
| bool | hasReserveIncrementDrops () const |
| Check if sfReserveIncrementDrops is present. | |
| protocol_autogen::Optional< SF_UINT256::type::value_type > | getPreviousTxnID () const |
| Get sfPreviousTxnID (soeOPTIONAL) | |
| bool | hasPreviousTxnID () const |
| Check if sfPreviousTxnID is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getPreviousTxnLgrSeq () const |
| Get sfPreviousTxnLgrSeq (soeOPTIONAL) | |
| bool | hasPreviousTxnLgrSeq () const |
| Check if sfPreviousTxnLgrSeq 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 = ltFEE_SETTINGS |
Protected Attributes | |
| std::shared_ptr< SLE const > | sle_ |
| The underlying serialized ledger entry being wrapped. | |
Ledger Entry: FeeSettings.
Type: ltFEE_SETTINGS (0x0073) RPC Name: fee
Immutable wrapper around SLE providing type-safe field access. Use FeeSettingsBuilder to construct new ledger entries.
Definition at line 27 of file FeeSettings.h.
|
explicit |
Construct a FeeSettings 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 FeeSettings.h.
| protocol_autogen::Optional< SF_UINT64::type::value_type > xrpl::ledger_entries::FeeSettings::getBaseFee | ( | ) | const |
Get sfBaseFee (soeOPTIONAL)
Definition at line 54 of file FeeSettings.h.
| bool xrpl::ledger_entries::FeeSettings::hasBaseFee | ( | ) | const |
Check if sfBaseFee is present.
Definition at line 67 of file FeeSettings.h.
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::FeeSettings::getReferenceFeeUnits | ( | ) | const |
Get sfReferenceFeeUnits (soeOPTIONAL)
Definition at line 78 of file FeeSettings.h.
| bool xrpl::ledger_entries::FeeSettings::hasReferenceFeeUnits | ( | ) | const |
Check if sfReferenceFeeUnits is present.
Definition at line 91 of file FeeSettings.h.
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::FeeSettings::getReserveBase | ( | ) | const |
Get sfReserveBase (soeOPTIONAL)
Definition at line 102 of file FeeSettings.h.
| bool xrpl::ledger_entries::FeeSettings::hasReserveBase | ( | ) | const |
Check if sfReserveBase is present.
Definition at line 115 of file FeeSettings.h.
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::FeeSettings::getReserveIncrement | ( | ) | const |
Get sfReserveIncrement (soeOPTIONAL)
Definition at line 126 of file FeeSettings.h.
| bool xrpl::ledger_entries::FeeSettings::hasReserveIncrement | ( | ) | const |
Check if sfReserveIncrement is present.
Definition at line 139 of file FeeSettings.h.
| protocol_autogen::Optional< SF_AMOUNT::type::value_type > xrpl::ledger_entries::FeeSettings::getBaseFeeDrops | ( | ) | const |
Get sfBaseFeeDrops (soeOPTIONAL)
Definition at line 150 of file FeeSettings.h.
| bool xrpl::ledger_entries::FeeSettings::hasBaseFeeDrops | ( | ) | const |
Check if sfBaseFeeDrops is present.
Definition at line 163 of file FeeSettings.h.
| protocol_autogen::Optional< SF_AMOUNT::type::value_type > xrpl::ledger_entries::FeeSettings::getReserveBaseDrops | ( | ) | const |
Get sfReserveBaseDrops (soeOPTIONAL)
Definition at line 174 of file FeeSettings.h.
| bool xrpl::ledger_entries::FeeSettings::hasReserveBaseDrops | ( | ) | const |
Check if sfReserveBaseDrops is present.
Definition at line 187 of file FeeSettings.h.
| protocol_autogen::Optional< SF_AMOUNT::type::value_type > xrpl::ledger_entries::FeeSettings::getReserveIncrementDrops | ( | ) | const |
Get sfReserveIncrementDrops (soeOPTIONAL)
Definition at line 198 of file FeeSettings.h.
| bool xrpl::ledger_entries::FeeSettings::hasReserveIncrementDrops | ( | ) | const |
Check if sfReserveIncrementDrops is present.
Definition at line 211 of file FeeSettings.h.
| protocol_autogen::Optional< SF_UINT256::type::value_type > xrpl::ledger_entries::FeeSettings::getPreviousTxnID | ( | ) | const |
Get sfPreviousTxnID (soeOPTIONAL)
Definition at line 222 of file FeeSettings.h.
| bool xrpl::ledger_entries::FeeSettings::hasPreviousTxnID | ( | ) | const |
Check if sfPreviousTxnID is present.
Definition at line 235 of file FeeSettings.h.
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::FeeSettings::getPreviousTxnLgrSeq | ( | ) | const |
Get sfPreviousTxnLgrSeq (soeOPTIONAL)
Definition at line 246 of file FeeSettings.h.
| bool xrpl::ledger_entries::FeeSettings::hasPreviousTxnLgrSeq | ( | ) | const |
Check if sfPreviousTxnLgrSeq is present.
Definition at line 259 of file FeeSettings.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 FeeSettings.h.
|
protectedinherited |
The underlying serialized ledger entry being wrapped.
Definition at line 149 of file LedgerEntryBase.h.