rippled
Loading...
Searching...
No Matches
MPTokenIssuanceCreate.h
1#ifndef XRPL_TX_MPTOKENISSUANCECREATE_H_INCLUDED
2#define XRPL_TX_MPTOKENISSUANCECREATE_H_INCLUDED
3
4#include <xrpld/app/tx/detail/Transactor.h>
5
6#include <xrpl/basics/Expected.h>
7#include <xrpl/protocol/UintTypes.h>
8
9namespace ripple {
10
24
26{
27public:
29
31 {
32 }
33
34 static bool
36
37 static std::uint32_t
39
40 static NotTEC
41 preflight(PreflightContext const& ctx);
42
43 TER
44 doApply() override;
45
47 create(ApplyView& view, beast::Journal journal, MPTCreateArgs const& args);
48};
49
50} // namespace ripple
51
52#endif
A generic endpoint for log messages.
Definition Journal.h:41
State information when applying a tx.
Writeable view to a ledger, for applying a transaction.
Definition ApplyView.h:124
static bool checkExtraFeatures(PreflightContext const &ctx)
static constexpr ConsequencesFactoryType ConsequencesFactory
static Expected< MPTID, TER > create(ApplyView &view, beast::Journal journal, MPTCreateArgs const &args)
static NotTEC preflight(PreflightContext const &ctx)
static std::uint32_t getFlagsMask(PreflightContext const &ctx)
ApplyView & view()
Definition Transactor.h:144
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6
std::optional< std::uint16_t > transferFee
std::optional< XRPAmount > priorBalance
std::optional< std::uint32_t > mutableFlags
std::optional< std::uint8_t > assetScale
std::optional< uint256 > domainId
std::optional< std::uint64_t > maxAmount
std::optional< Slice > const & metadata
State information when preflighting a tx.
Definition Transactor.h:16