rippled
Loading...
Searching...
No Matches
MPTokenAuthorize.h
1#ifndef XRPL_TX_MPTOKENAUTHORIZE_H_INCLUDED
2#define XRPL_TX_MPTOKENAUTHORIZE_H_INCLUDED
3
4#include <xrpld/app/tx/detail/Transactor.h>
5
6namespace ripple {
7
16
18{
19public:
21
23 {
24 }
25
26 static std::uint32_t
28
29 static NotTEC
30 preflight(PreflightContext const& ctx);
31
32 static TER
33 preclaim(PreclaimContext const& ctx);
34
35 static TER
38 MPTID const& mptIssuanceID,
39 AccountID const& account,
40 std::uint32_t const flags);
41
42 TER
43 doApply() override;
44};
45
46} // namespace ripple
47
48#endif
State information when applying a tx.
Writeable view to a ledger, for applying a transaction.
Definition ApplyView.h:124
static std::uint32_t getFlagsMask(PreflightContext const &ctx)
static TER createMPToken(ApplyView &view, MPTID const &mptIssuanceID, AccountID const &account, std::uint32_t const flags)
MPTokenAuthorize(ApplyContext &ctx)
static NotTEC preflight(PreflightContext const &ctx)
static constexpr ConsequencesFactoryType ConsequencesFactory
static TER preclaim(PreclaimContext 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
AccountID const & account
std::optional< AccountID > holderID
XRPAmount const & priorBalance
State information when determining if a tx is likely to claim a fee.
Definition Transactor.h:61
State information when preflighting a tx.
Definition Transactor.h:16