rippled
Loading...
Searching...
No Matches
MPTokenAuthorize.h
1#pragma once
2
3#include <xrpld/app/tx/detail/Transactor.h>
4
5namespace xrpl {
6
15
17{
18public:
20
22 {
23 }
24
25 static std::uint32_t
27
28 static NotTEC
29 preflight(PreflightContext const& ctx);
30
31 static TER
32 preclaim(PreclaimContext const& ctx);
33
34 static TER
35 createMPToken(ApplyView& view, MPTID const& mptIssuanceID, AccountID const& account, std::uint32_t const flags);
36
37 TER
38 doApply() override;
39};
40
41} // namespace xrpl
State information when applying a tx.
Writeable view to a ledger, for applying a transaction.
Definition ApplyView.h:114
static std::uint32_t getFlagsMask(PreflightContext const &ctx)
MPTokenAuthorize(ApplyContext &ctx)
static TER preclaim(PreclaimContext const &ctx)
static NotTEC preflight(PreflightContext const &ctx)
static constexpr ConsequencesFactoryType ConsequencesFactory
static TER createMPToken(ApplyView &view, MPTID const &mptIssuanceID, AccountID const &account, std::uint32_t const flags)
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< AccountID > holderID
AccountID const & account
XRPAmount const & priorBalance
State information when determining if a tx is likely to claim a fee.
Definition Transactor.h:53
State information when preflighting a tx.
Definition Transactor.h:15