rippled
Loading...
Searching...
No Matches
MPTInvariant.h
1#pragma once
2
3#include <xrpl/beast/utility/Journal.h>
4#include <xrpl/ledger/ReadView.h>
5#include <xrpl/protocol/STTx.h>
6#include <xrpl/protocol/TER.h>
7
8#include <cstdint>
9
10namespace xrpl {
11
13{
16
19 // non-MPT transactions may attempt to create
20 // MPToken by an issuer
21 bool mptCreatedByIssuer_ = false;
22
23public:
24 void
26
27 bool
28 finalize(STTx const&, TER const, XRPAmount const, ReadView const&, beast::Journal const&) const;
29};
30
31} // namespace xrpl
A generic endpoint for log messages.
Definition Journal.h:40
A view into a ledger.
Definition ReadView.h:31
std::uint32_t mptokensCreated_
void visitEntry(bool, std::shared_ptr< SLE const > const &, std::shared_ptr< SLE const > const &)
std::uint32_t mptokensDeleted_
std::uint32_t mptIssuancesCreated_
bool finalize(STTx const &, TER const, XRPAmount const, ReadView const &, beast::Journal const &) const
std::uint32_t mptIssuancesDeleted_
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5