rippled
Loading...
Searching...
No Matches
AMMVote.h
1#ifndef XRPL_TX_AMMVOTE_H_INCLUDED
2#define XRPL_TX_AMMVOTE_H_INCLUDED
3
4#include <xrpld/app/tx/detail/Transactor.h>
5
6namespace ripple {
7
31class AMMVote : public Transactor
32{
33public:
35
36 explicit AMMVote(ApplyContext& ctx) : Transactor(ctx)
37 {
38 }
39
40 static bool
42
43 static NotTEC
44 preflight(PreflightContext const& ctx);
45
46 static TER
47 preclaim(PreclaimContext const& ctx);
48
49 TER
50 doApply() override;
51};
52
53} // namespace ripple
54
55#endif // XRPL_TX_AMMVOTE_H_INCLUDED
AMMVote implements AMM vote Transactor.
Definition AMMVote.h:32
static NotTEC preflight(PreflightContext const &ctx)
Definition AMMVote.cpp:18
static TER preclaim(PreclaimContext const &ctx)
Definition AMMVote.cpp:37
TER doApply() override
Definition AMMVote.cpp:214
static bool checkExtraFeatures(PreflightContext const &ctx)
Definition AMMVote.cpp:12
AMMVote(ApplyContext &ctx)
Definition AMMVote.h:36
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition AMMVote.h:34
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