|
xrpld
|
#include <Escrow.h>


Public Member Functions | |
| Escrow (SLE::const_pointer sle) | |
| Construct a Escrow ledger entry wrapper from an existing SLE object. | |
| SF_ACCOUNT::type::value_type | getAccount () const |
| Get sfAccount (SoeRequired). | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getSequence () const |
| Get sfSequence (SoeOptional). | |
| bool | hasSequence () const |
| Check if sfSequence is present. | |
| SF_ACCOUNT::type::value_type | getDestination () const |
| Get sfDestination (SoeRequired). | |
| SF_AMOUNT::type::value_type | getAmount () const |
| Get sfAmount (SoeRequired). | |
| protocol_autogen::Optional< SF_VL::type::value_type > | getCondition () const |
| Get sfCondition (SoeOptional). | |
| bool | hasCondition () const |
| Check if sfCondition is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getCancelAfter () const |
| Get sfCancelAfter (SoeOptional). | |
| bool | hasCancelAfter () const |
| Check if sfCancelAfter is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getFinishAfter () const |
| Get sfFinishAfter (SoeOptional). | |
| bool | hasFinishAfter () const |
| Check if sfFinishAfter is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getSourceTag () const |
| Get sfSourceTag (SoeOptional). | |
| bool | hasSourceTag () const |
| Check if sfSourceTag is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getDestinationTag () const |
| Get sfDestinationTag (SoeOptional). | |
| bool | hasDestinationTag () const |
| Check if sfDestinationTag 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). | |
| protocol_autogen::Optional< SF_UINT64::type::value_type > | getDestinationNode () const |
| Get sfDestinationNode (SoeOptional). | |
| bool | hasDestinationNode () const |
| Check if sfDestinationNode is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getTransferRate () const |
| Get sfTransferRate (SoeOptional). | |
| bool | hasTransferRate () const |
| Check if sfTransferRate is present. | |
| protocol_autogen::Optional< SF_UINT64::type::value_type > | getIssuerNode () const |
| Get sfIssuerNode (SoeOptional). | |
| bool | hasIssuerNode () const |
| Check if sfIssuerNode 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 = ltESCROW |
Protected Attributes | |
| SLE::const_pointer | sle_ |
| The underlying serialized ledger entry being wrapped. | |
Type: ltESCROW (0x0075) RPC Name: escrow
Immutable wrapper around SLE providing type-safe field access. Use EscrowBuilder to construct new ledger entries.
|
explicit |
Construct a Escrow ledger entry wrapper from an existing SLE object.
| std::runtime_error | if the ledger entry type doesn't match. |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
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 |
|
protectedinherited |
The underlying serialized ledger entry being wrapped.
Definition at line 162 of file LedgerEntryBase.h.