rippled
Loading...
Searching...
No Matches
MPTokenIssuanceCreate.h
1#pragma once
2
3#include <xrpld/app/tx/detail/Transactor.h>
4
5#include <xrpl/basics/Expected.h>
6#include <xrpl/protocol/UintTypes.h>
7
8namespace xrpl {
9
23
25{
26public:
28
30 {
31 }
32
33 static bool
35
36 static std::uint32_t
38
39 static NotTEC
40 preflight(PreflightContext const& ctx);
41
42 TER
43 doApply() override;
44
46 create(ApplyView& view, beast::Journal journal, MPTCreateArgs const& args);
47};
48
49} // namespace xrpl
A generic endpoint for log messages.
Definition Journal.h:40
State information when applying a tx.
Writeable view to a ledger, for applying a transaction.
Definition ApplyView.h:114
static constexpr ConsequencesFactoryType ConsequencesFactory
static bool checkExtraFeatures(PreflightContext const &ctx)
static std::uint32_t getFlagsMask(PreflightContext const &ctx)
static NotTEC preflight(PreflightContext const &ctx)
MPTokenIssuanceCreate(ApplyContext &ctx)
static Expected< MPTID, TER > create(ApplyView &view, beast::Journal journal, MPTCreateArgs const &args)
ApplyView & view()
Definition Transactor.h:128
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
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< XRPAmount > priorBalance
std::optional< Slice > const & metadata
std::optional< std::uint8_t > assetScale
State information when preflighting a tx.
Definition Transactor.h:15