rippled
Loading...
Searching...
No Matches
tx/transactors/dex/AMMDelete.h
1#pragma once
2
3#include <xrpl/tx/Transactor.h>
4
5namespace xrpl {
6
13class AMMDelete : public Transactor
14{
15public:
17
18 explicit AMMDelete(ApplyContext& ctx) : Transactor(ctx)
19 {
20 }
21
22 static bool
24
25 static NotTEC
26 preflight(PreflightContext const& ctx);
27
28 static TER
29 preclaim(PreclaimContext const& ctx);
30
31 TER
32 doApply() override;
33};
34
35} // namespace xrpl
AMMDelete implements AMM delete transactor.
static TER preclaim(PreclaimContext const &ctx)
Definition AMMDelete.cpp:23
TER doApply() override
Definition AMMDelete.cpp:40
static bool checkExtraFeatures(PreflightContext const &ctx)
Definition AMMDelete.cpp:11
static NotTEC preflight(PreflightContext const &ctx)
Definition AMMDelete.cpp:17
static constexpr ConsequencesFactoryType ConsequencesFactory
State information when applying a tx.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
State information when determining if a tx is likely to claim a fee.
Definition Transactor.h:57
State information when preflighting a tx.
Definition Transactor.h:14