rippled
Loading...
Searching...
No Matches
tx/transactors/token/MPTokenAuthorize.h
1#pragma once
2
3#include <xrpl/tx/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
37 MPTID const& mptIssuanceID,
38 AccountID const& account,
39 std::uint32_t const flags);
40
41 TER
42 doApply() override;
43};
44
45} // namespace xrpl
State information when applying a tx.
Writeable view to a ledger, for applying a transaction.
Definition ApplyView.h:116
static std::uint32_t getFlagsMask(PreflightContext const &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:132
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
State information when determining if a tx is likely to claim a fee.
Definition Transactor.h:57
State information when preflighting a tx.
Definition Transactor.h:14