rippled
Loading...
Searching...
No Matches
xrpld
app
tx
detail
AMMVote.h
1
#pragma once
2
3
#include <xrpld/app/tx/detail/Transactor.h>
4
5
namespace
xrpl
{
6
30
class
AMMVote
:
public
Transactor
31
{
32
public
:
33
static
constexpr
ConsequencesFactoryType
ConsequencesFactory
{
Normal
};
34
35
explicit
AMMVote
(
ApplyContext
& ctx) :
Transactor
(ctx)
36
{
37
}
38
39
static
bool
40
checkExtraFeatures
(
PreflightContext
const
& ctx);
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
xrpl::AMMVote
AMMVote implements AMM vote Transactor.
Definition
AMMVote.h:31
xrpl::AMMVote::preflight
static NotTEC preflight(PreflightContext const &ctx)
Definition
AMMVote.cpp:18
xrpl::AMMVote::preclaim
static TER preclaim(PreclaimContext const &ctx)
Definition
AMMVote.cpp:36
xrpl::AMMVote::ConsequencesFactory
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition
AMMVote.h:33
xrpl::AMMVote::checkExtraFeatures
static bool checkExtraFeatures(PreflightContext const &ctx)
Definition
AMMVote.cpp:12
xrpl::AMMVote::AMMVote
AMMVote(ApplyContext &ctx)
Definition
AMMVote.h:35
xrpl::AMMVote::doApply
TER doApply() override
Definition
AMMVote.cpp:195
xrpl::ApplyContext
State information when applying a tx.
Definition
ApplyContext.h:17
xrpl::TERSubset
Definition
TER.h:395
xrpl::Transactor
Definition
Transactor.h:106
xrpl::Transactor::ConsequencesFactoryType
ConsequencesFactoryType
Definition
Transactor.h:122
xrpl::Transactor::Normal
@ Normal
Definition
Transactor.h:122
xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:5
xrpl::PreclaimContext
State information when determining if a tx is likely to claim a fee.
Definition
Transactor.h:53
xrpl::PreflightContext
State information when preflighting a tx.
Definition
Transactor.h:15
Generated by
1.9.8