|
xrpld
|
Ledger Entry: DepositPreauth. More...
#include <DepositPreauth.h>


Public Member Functions | |
| DepositPreauth (SLE::const_pointer sle) | |
| Construct a DepositPreauth ledger entry wrapper from an existing SLE object. | |
| SF_ACCOUNT::type::value_type | getAccount () const |
| Get sfAccount (SoeRequired). | |
| protocol_autogen::Optional< SF_ACCOUNT::type::value_type > | getAuthorize () const |
| Get sfAuthorize (SoeOptional). | |
| bool | hasAuthorize () const |
| Check if sfAuthorize is present. | |
| SF_UINT64::type::value_type | getOwnerNode () const |
| Get sfOwnerNode (SoeRequired). | |
| SF_UINT256::type::value_type | getPreviousTxnID () const |
| Get sfPreviousTxnID (SoeRequired). | |
| SF_UINT32::type::value_type | getPreviousTxnLgrSeq () const |
| Get sfPreviousTxnLgrSeq (SoeRequired). | |
| std::optional< std::reference_wrapper< STArray const > > | getAuthorizeCredentials () const |
| Get sfAuthorizeCredentials (SoeOptional). | |
| bool | hasAuthorizeCredentials () const |
| Check if sfAuthorizeCredentials 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). | |
| bool | isFlag (std::uint32_t f) const |
| Check if a specific flag is set. | |
| SLE::const_pointer | getSle () const |
| Get the underlying SLE object. | |
Static Public Attributes | |
| static constexpr LedgerEntryType | entryType = ltDEPOSIT_PREAUTH |
Protected Attributes | |
| SLE::const_pointer | sle_ |
| The underlying serialized ledger entry being wrapped. | |
Ledger Entry: DepositPreauth.
Type: ltDEPOSIT_PREAUTH (0x0070) RPC Name: deposit_preauth
Immutable wrapper around SLE providing type-safe field access. Use DepositPreauthBuilder to construct new ledger entries.
Definition at line 27 of file protocol_autogen/ledger_entries/DepositPreauth.h.
|
explicit |
Construct a DepositPreauth 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 protocol_autogen/ledger_entries/DepositPreauth.h.
|
nodiscard |
Get sfAccount (SoeRequired).
Definition at line 54 of file protocol_autogen/ledger_entries/DepositPreauth.h.
|
nodiscard |
Get sfAuthorize (SoeOptional).
Definition at line 65 of file protocol_autogen/ledger_entries/DepositPreauth.h.
|
nodiscard |
Check if sfAuthorize is present.
Definition at line 78 of file protocol_autogen/ledger_entries/DepositPreauth.h.
|
nodiscard |
Get sfOwnerNode (SoeRequired).
Definition at line 89 of file protocol_autogen/ledger_entries/DepositPreauth.h.
|
nodiscard |
Get sfPreviousTxnID (SoeRequired).
Definition at line 100 of file protocol_autogen/ledger_entries/DepositPreauth.h.
|
nodiscard |
Get sfPreviousTxnLgrSeq (SoeRequired).
Definition at line 111 of file protocol_autogen/ledger_entries/DepositPreauth.h.
|
nodiscard |
Get sfAuthorizeCredentials (SoeOptional).
Definition at line 123 of file protocol_autogen/ledger_entries/DepositPreauth.h.
|
nodiscard |
Check if sfAuthorizeCredentials is present.
Definition at line 136 of file protocol_autogen/ledger_entries/DepositPreauth.h.
|
nodiscardinherited |
Validate the ledger entry.
Definition at line 40 of file LedgerEntryBase.h.
|
nodiscardinherited |
Get the ledger entry type.
Definition at line 57 of file LedgerEntryBase.h.
|
nodiscardinherited |
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.
|
nodiscardinherited |
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.
|
nodiscardinherited |
Check if the ledger entry has a ledger index.
Definition at line 100 of file LedgerEntryBase.h.
|
nodiscardinherited |
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.
|
nodiscardinherited |
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.
|
nodiscardinherited |
Check if a specific flag is set.
| f | The flag bitmask to check |
Definition at line 141 of file LedgerEntryBase.h.
|
nodiscardinherited |
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 155 of file LedgerEntryBase.h.
|
staticconstexpr |
Definition at line 30 of file protocol_autogen/ledger_entries/DepositPreauth.h.
|
protectedinherited |
The underlying serialized ledger entry being wrapped.
Definition at line 162 of file LedgerEntryBase.h.