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


Public Member Functions | |
| MPTokenIssuance (std::shared_ptr< SLE const > sle) | |
| Construct a MPTokenIssuance ledger entry wrapper from an existing SLE object. | |
| SF_ACCOUNT::type::value_type | getIssuer () const |
| Get sfIssuer (soeREQUIRED) | |
| SF_UINT32::type::value_type | getSequence () const |
| Get sfSequence (soeREQUIRED) | |
| protocol_autogen::Optional< SF_UINT16::type::value_type > | getTransferFee () const |
| Get sfTransferFee (soeDEFAULT) | |
| bool | hasTransferFee () const |
| Check if sfTransferFee is present. | |
| SF_UINT64::type::value_type | getOwnerNode () const |
| Get sfOwnerNode (soeREQUIRED) | |
| protocol_autogen::Optional< SF_UINT8::type::value_type > | getAssetScale () const |
| Get sfAssetScale (soeDEFAULT) | |
| bool | hasAssetScale () const |
| Check if sfAssetScale is present. | |
| protocol_autogen::Optional< SF_UINT64::type::value_type > | getMaximumAmount () const |
| Get sfMaximumAmount (soeOPTIONAL) | |
| bool | hasMaximumAmount () const |
| Check if sfMaximumAmount is present. | |
| SF_UINT64::type::value_type | getOutstandingAmount () const |
| Get sfOutstandingAmount (soeREQUIRED) | |
| protocol_autogen::Optional< SF_UINT64::type::value_type > | getLockedAmount () const |
| Get sfLockedAmount (soeOPTIONAL) | |
| bool | hasLockedAmount () const |
| Check if sfLockedAmount is present. | |
| protocol_autogen::Optional< SF_VL::type::value_type > | getMPTokenMetadata () const |
| Get sfMPTokenMetadata (soeOPTIONAL) | |
| bool | hasMPTokenMetadata () const |
| Check if sfMPTokenMetadata is present. | |
| SF_UINT256::type::value_type | getPreviousTxnID () const |
| Get sfPreviousTxnID (soeREQUIRED) | |
| SF_UINT32::type::value_type | getPreviousTxnLgrSeq () const |
| Get sfPreviousTxnLgrSeq (soeREQUIRED) | |
| protocol_autogen::Optional< SF_UINT256::type::value_type > | getDomainID () const |
| Get sfDomainID (soeOPTIONAL) | |
| bool | hasDomainID () const |
| Check if sfDomainID is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getMutableFlags () const |
| Get sfMutableFlags (soeDEFAULT) | |
| bool | hasMutableFlags () const |
| Check if sfMutableFlags 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 = ltMPTOKEN_ISSUANCE |
Protected Attributes | |
| std::shared_ptr< SLE const > | sle_ |
| The underlying serialized ledger entry being wrapped. | |
Ledger Entry: MPTokenIssuance.
Type: ltMPTOKEN_ISSUANCE (0x007e) RPC Name: mpt_issuance
Immutable wrapper around SLE providing type-safe field access. Use MPTokenIssuanceBuilder to construct new ledger entries.
Definition at line 27 of file MPTokenIssuance.h.
|
explicit |
Construct a MPTokenIssuance 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 MPTokenIssuance.h.
| SF_ACCOUNT::type::value_type xrpl::ledger_entries::MPTokenIssuance::getIssuer | ( | ) | const |
| SF_UINT32::type::value_type xrpl::ledger_entries::MPTokenIssuance::getSequence | ( | ) | const |
Get sfSequence (soeREQUIRED)
Definition at line 65 of file MPTokenIssuance.h.
| protocol_autogen::Optional< SF_UINT16::type::value_type > xrpl::ledger_entries::MPTokenIssuance::getTransferFee | ( | ) | const |
Get sfTransferFee (soeDEFAULT)
Definition at line 76 of file MPTokenIssuance.h.
| bool xrpl::ledger_entries::MPTokenIssuance::hasTransferFee | ( | ) | const |
Check if sfTransferFee is present.
Definition at line 89 of file MPTokenIssuance.h.
| SF_UINT64::type::value_type xrpl::ledger_entries::MPTokenIssuance::getOwnerNode | ( | ) | const |
Get sfOwnerNode (soeREQUIRED)
Definition at line 100 of file MPTokenIssuance.h.
| protocol_autogen::Optional< SF_UINT8::type::value_type > xrpl::ledger_entries::MPTokenIssuance::getAssetScale | ( | ) | const |
Get sfAssetScale (soeDEFAULT)
Definition at line 111 of file MPTokenIssuance.h.
| bool xrpl::ledger_entries::MPTokenIssuance::hasAssetScale | ( | ) | const |
Check if sfAssetScale is present.
Definition at line 124 of file MPTokenIssuance.h.
| protocol_autogen::Optional< SF_UINT64::type::value_type > xrpl::ledger_entries::MPTokenIssuance::getMaximumAmount | ( | ) | const |
Get sfMaximumAmount (soeOPTIONAL)
Definition at line 135 of file MPTokenIssuance.h.
| bool xrpl::ledger_entries::MPTokenIssuance::hasMaximumAmount | ( | ) | const |
Check if sfMaximumAmount is present.
Definition at line 148 of file MPTokenIssuance.h.
| SF_UINT64::type::value_type xrpl::ledger_entries::MPTokenIssuance::getOutstandingAmount | ( | ) | const |
Get sfOutstandingAmount (soeREQUIRED)
Definition at line 159 of file MPTokenIssuance.h.
| protocol_autogen::Optional< SF_UINT64::type::value_type > xrpl::ledger_entries::MPTokenIssuance::getLockedAmount | ( | ) | const |
Get sfLockedAmount (soeOPTIONAL)
Definition at line 170 of file MPTokenIssuance.h.
| bool xrpl::ledger_entries::MPTokenIssuance::hasLockedAmount | ( | ) | const |
Check if sfLockedAmount is present.
Definition at line 183 of file MPTokenIssuance.h.
| protocol_autogen::Optional< SF_VL::type::value_type > xrpl::ledger_entries::MPTokenIssuance::getMPTokenMetadata | ( | ) | const |
Get sfMPTokenMetadata (soeOPTIONAL)
Definition at line 194 of file MPTokenIssuance.h.
| bool xrpl::ledger_entries::MPTokenIssuance::hasMPTokenMetadata | ( | ) | const |
Check if sfMPTokenMetadata is present.
Definition at line 207 of file MPTokenIssuance.h.
| SF_UINT256::type::value_type xrpl::ledger_entries::MPTokenIssuance::getPreviousTxnID | ( | ) | const |
Get sfPreviousTxnID (soeREQUIRED)
Definition at line 218 of file MPTokenIssuance.h.
| SF_UINT32::type::value_type xrpl::ledger_entries::MPTokenIssuance::getPreviousTxnLgrSeq | ( | ) | const |
Get sfPreviousTxnLgrSeq (soeREQUIRED)
Definition at line 229 of file MPTokenIssuance.h.
| protocol_autogen::Optional< SF_UINT256::type::value_type > xrpl::ledger_entries::MPTokenIssuance::getDomainID | ( | ) | const |
Get sfDomainID (soeOPTIONAL)
Definition at line 240 of file MPTokenIssuance.h.
| bool xrpl::ledger_entries::MPTokenIssuance::hasDomainID | ( | ) | const |
Check if sfDomainID is present.
Definition at line 253 of file MPTokenIssuance.h.
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::MPTokenIssuance::getMutableFlags | ( | ) | const |
Get sfMutableFlags (soeDEFAULT)
Definition at line 264 of file MPTokenIssuance.h.
| bool xrpl::ledger_entries::MPTokenIssuance::hasMutableFlags | ( | ) | const |
Check if sfMutableFlags is present.
Definition at line 277 of file MPTokenIssuance.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 MPTokenIssuance.h.
|
protectedinherited |
The underlying serialized ledger entry being wrapped.
Definition at line 149 of file LedgerEntryBase.h.