rippled
Loading...
Searching...
No Matches
CancelOffer.h
1#ifndef XRPL_TX_CANCELOFFER_H_INCLUDED
2#define XRPL_TX_CANCELOFFER_H_INCLUDED
3
4#include <xrpld/app/tx/detail/Transactor.h>
5
6#include <xrpl/protocol/TxFlags.h>
7
8namespace ripple {
9
10class CancelOffer : public Transactor
11{
12public:
14
15 explicit CancelOffer(ApplyContext& ctx) : Transactor(ctx)
16 {
17 }
18
19 static NotTEC
20 preflight(PreflightContext const& ctx);
21
22 static TER
23 preclaim(PreclaimContext const& ctx);
24
25 TER
26 doApply() override;
27};
28
30
31} // namespace ripple
32
33#endif
State information when applying a tx.
static TER preclaim(PreclaimContext const &ctx)
static NotTEC preflight(PreflightContext const &ctx)
TER doApply() override
CancelOffer(ApplyContext &ctx)
Definition CancelOffer.h:15
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition CancelOffer.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