xrpld
Loading...
Searching...
No Matches
tx/transactors/token/ConfidentialMPTConvertBack.h
1#pragma once
2
3#include <xrpl/tx/Transactor.h>
4
5namespace xrpl {
6
27{
28public:
30
32 {
33 }
34
35 static NotTEC
36 preflight(PreflightContext const& ctx);
37
38 static XRPAmount
39 calculateBaseFee(ReadView const& view, STTx const& tx);
40
41 static TER
42 preclaim(PreclaimContext const& ctx);
43
44 TER
45 doApply() override;
46
47 void
49 bool isDelete,
50 std::shared_ptr<SLE const> const& before,
51 std::shared_ptr<SLE const> const& after) override;
52
53 [[nodiscard]] bool
55 STTx const& tx,
56 TER result,
57 XRPAmount fee,
58 ReadView const& view,
59 beast::Journal const& j) override;
60};
61
62} // namespace xrpl
A generic endpoint for log messages.
Definition Journal.h:38
State information when applying a tx.
void visitInvariantEntry(bool isDelete, std::shared_ptr< SLE const > const &before, std::shared_ptr< SLE const > const &after) override
static TER preclaim(PreclaimContext const &ctx)
static XRPAmount calculateBaseFee(ReadView const &view, STTx const &tx)
bool finalizeInvariants(STTx const &tx, TER result, XRPAmount fee, ReadView const &view, beast::Journal const &j) override
Check transaction-specific post-conditions after all entries have been visited.
static NotTEC preflight(PreflightContext const &ctx)
A view into a ledger.
Definition ReadView.h:31
ApplyView & view()
Definition Transactor.h:136
Transactor(Transactor const &)=delete
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
TERSubset< CanCvtToNotTEC > NotTEC
Definition TER.h:594
bool after(NetClock::time_point now, std::uint32_t mark)
Has the specified time passed?
Definition View.cpp:554
TERSubset< CanCvtToTER > TER
Definition TER.h:634
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:18