|
rippled
|
#include <Escrow.h>


Public Member Functions | |
| Escrow (std::shared_ptr< SLE const > 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). | |
| std::shared_ptr< SLE const > | getSle () const |
| Get the underlying SLE object. | |
Static Public Attributes | |
| static constexpr LedgerEntryType | entryType = ltESCROW |
Protected Attributes | |
| std::shared_ptr< SLE const > | 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. |
| SF_ACCOUNT::type::value_type xrpl::ledger_entries::Escrow::getAccount | ( | ) | const |
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::Escrow::getSequence | ( | ) | const |
Get sfSequence (soeOPTIONAL)
| bool xrpl::ledger_entries::Escrow::hasSequence | ( | ) | const |
| SF_ACCOUNT::type::value_type xrpl::ledger_entries::Escrow::getDestination | ( | ) | const |
| SF_AMOUNT::type::value_type xrpl::ledger_entries::Escrow::getAmount | ( | ) | const |
| protocol_autogen::Optional< SF_VL::type::value_type > xrpl::ledger_entries::Escrow::getCondition | ( | ) | const |
Get sfCondition (soeOPTIONAL)
| bool xrpl::ledger_entries::Escrow::hasCondition | ( | ) | const |
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::Escrow::getCancelAfter | ( | ) | const |
Get sfCancelAfter (soeOPTIONAL)
| bool xrpl::ledger_entries::Escrow::hasCancelAfter | ( | ) | const |
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::Escrow::getFinishAfter | ( | ) | const |
Get sfFinishAfter (soeOPTIONAL)
| bool xrpl::ledger_entries::Escrow::hasFinishAfter | ( | ) | const |
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::Escrow::getSourceTag | ( | ) | const |
Get sfSourceTag (soeOPTIONAL)
| bool xrpl::ledger_entries::Escrow::hasSourceTag | ( | ) | const |
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::Escrow::getDestinationTag | ( | ) | const |
Get sfDestinationTag (soeOPTIONAL)
| bool xrpl::ledger_entries::Escrow::hasDestinationTag | ( | ) | const |
| SF_UINT64::type::value_type xrpl::ledger_entries::Escrow::getOwnerNode | ( | ) | const |
| SF_UINT256::type::value_type xrpl::ledger_entries::Escrow::getPreviousTxnID | ( | ) | const |
| SF_UINT32::type::value_type xrpl::ledger_entries::Escrow::getPreviousTxnLgrSeq | ( | ) | const |
| protocol_autogen::Optional< SF_UINT64::type::value_type > xrpl::ledger_entries::Escrow::getDestinationNode | ( | ) | const |
Get sfDestinationNode (soeOPTIONAL)
| bool xrpl::ledger_entries::Escrow::hasDestinationNode | ( | ) | const |
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::Escrow::getTransferRate | ( | ) | const |
Get sfTransferRate (soeOPTIONAL)
| bool xrpl::ledger_entries::Escrow::hasTransferRate | ( | ) | const |
| protocol_autogen::Optional< SF_UINT64::type::value_type > xrpl::ledger_entries::Escrow::getIssuerNode | ( | ) | const |
Get sfIssuerNode (soeOPTIONAL)
| bool xrpl::ledger_entries::Escrow::hasIssuerNode | ( | ) | const |
|
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 |
|
protectedinherited |
The underlying serialized ledger entry being wrapped.
Definition at line 149 of file LedgerEntryBase.h.