rippled
Loading...
Searching...
No Matches
AMMVote.h
1#pragma once
2
3#include <xrpld/app/tx/detail/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.
Definition AMMVote.h:31
static NotTEC preflight(PreflightContext const &ctx)
Definition AMMVote.cpp:18
static TER preclaim(PreclaimContext const &ctx)
Definition AMMVote.cpp:36
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition AMMVote.h:33
static bool checkExtraFeatures(PreflightContext const &ctx)
Definition AMMVote.cpp:12
AMMVote(ApplyContext &ctx)
Definition AMMVote.h:35
TER doApply() override
Definition AMMVote.cpp:195
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:53
State information when preflighting a tx.
Definition Transactor.h:15