rippled
Loading...
Searching...
No Matches
AMMDelete.h
1#ifndef XRPL_TX_AMMDELETE_H_INCLUDED
2#define XRPL_TX_AMMDELETE_H_INCLUDED
3
4#include <xrpld/app/tx/detail/Transactor.h>
5
6namespace ripple {
7
14class AMMDelete : public Transactor
15{
16public:
18
19 explicit AMMDelete(ApplyContext& ctx) : Transactor(ctx)
20 {
21 }
22
23 static bool
25
26 static NotTEC
27 preflight(PreflightContext const& ctx);
28
29 static TER
30 preclaim(PreclaimContext const& ctx);
31
32 TER
33 doApply() override;
34};
35
36} // namespace ripple
37
38#endif // XRPL_TX_AMMDELETE_H_INCLUDED
AMMDelete implements AMM delete transactor.
Definition AMMDelete.h:15
static NotTEC preflight(PreflightContext const &ctx)
Definition AMMDelete.cpp:18
TER doApply() override
Definition AMMDelete.cpp:42
AMMDelete(ApplyContext &ctx)
Definition AMMDelete.h:19
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition AMMDelete.h:17
static TER preclaim(PreclaimContext const &ctx)
Definition AMMDelete.cpp:24
static bool checkExtraFeatures(PreflightContext const &ctx)
Definition AMMDelete.cpp:12
State information when applying a tx.
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