rippled
Loading...
Searching...
No Matches
Clawback.h
1#ifndef XRPL_TX_CLAWBACK_H_INCLUDED
2#define XRPL_TX_CLAWBACK_H_INCLUDED
3
4#include <xrpld/app/tx/detail/Transactor.h>
5
6namespace ripple {
7
8class Clawback : public Transactor
9{
10public:
12
13 explicit Clawback(ApplyContext& ctx) : Transactor(ctx)
14 {
15 }
16
17 static std::uint32_t
19
20 static NotTEC
21 preflight(PreflightContext const& ctx);
22
23 static TER
24 preclaim(PreclaimContext const& ctx);
25
26 TER
27 doApply() override;
28};
29
30} // namespace ripple
31
32#endif
State information when applying a tx.
static NotTEC preflight(PreflightContext const &ctx)
Definition Clawback.cpp:66
static TER preclaim(PreclaimContext const &ctx)
Definition Clawback.cpp:176
TER doApply() override
Definition Clawback.cpp:266
static std::uint32_t getFlagsMask(PreflightContext const &ctx)
Definition Clawback.cpp:60
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition Clawback.h:11
Clawback(ApplyContext &ctx)
Definition Clawback.h:13
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6
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