3#include <xrpl/protocol/UintTypes.h>
4#include <xrpl/tx/Transactor.h>
65 static std::expected<MPTID, TER>
A generic endpoint for log messages.
State information when applying a tx.
Writeable view to a ledger, for applying a transaction.
static constexpr auto kConsequencesFactory
bool finalizeInvariants(STTx const &tx, TER result, XRPAmount fee, ReadView const &view, beast::Journal const &j) override
Check transaction-specific post-conditions after all entries have been visited.
void visitInvariantEntry(bool isDelete, SLE::const_ref before, SLE::const_ref after) override
Inspect a single ledger entry modified by this transaction.
static bool checkExtraFeatures(PreflightContext const &ctx)
static std::uint32_t getFlagsMask(PreflightContext const &ctx)
static NotTEC preflight(PreflightContext const &ctx)
MPTokenIssuanceCreate(ApplyContext &ctx)
static std::expected< MPTID, TER > create(ApplyView &view, beast::Journal journal, MPTCreateArgs const &args)
std::shared_ptr< STLedgerEntry const > const & const_ref
Transactor(Transactor const &)=delete
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
TERSubset< CanCvtToNotTEC > NotTEC
bool after(NetClock::time_point now, std::uint32_t mark)
Has the specified time passed?
BaseUInt< 160, detail::AccountIDTag > AccountID
A 160-bit unsigned that uniquely identifies an account.
TERSubset< CanCvtToTER > TER
std::optional< std::uint32_t > mutableFlags
AccountID const & account
std::optional< std::uint64_t > maxAmount
std::optional< std::uint16_t > transferFee
std::optional< uint256 > domainId
std::optional< uint256 > referenceHolding
std::optional< XRPAmount > priorBalance
std::optional< Slice > const & metadata
std::optional< std::uint8_t > assetScale
State information when preflighting a tx.