rippled
Loading...
Searching...
No Matches
tx/transactors/dex/AMMVote.h
1#pragma once
2
3#include <xrpl/tx/Transactor.h>
4
5namespace xrpl {
6
30class AMMVote : public Transactor
31{
32public:
34
35 explicit AMMVote(ApplyContext& ctx) : Transactor(ctx)
36 {
37 }
38
39 static bool
41
42 static NotTEC
43 preflight(PreflightContext const& ctx);
44
45 static TER
46 preclaim(PreclaimContext const& ctx);
47
48 TER
49 doApply() override;
50};
51
52} // namespace xrpl
AMMVote implements AMM vote Transactor.
static NotTEC preflight(PreflightContext const &ctx)
Definition AMMVote.cpp:17
static TER preclaim(PreclaimContext const &ctx)
Definition AMMVote.cpp:36
static constexpr ConsequencesFactoryType ConsequencesFactory
static bool checkExtraFeatures(PreflightContext const &ctx)
Definition AMMVote.cpp:11
AMMVote(ApplyContext &ctx)
TER doApply() override
Definition AMMVote.cpp:211
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