rippled
Loading...
Searching...
No Matches
include
xrpl
tx
transactors
dex
tx/transactors/dex/AMMVote.h
1
#pragma once
2
3
#include <xrpl/tx/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
tx/transactors/dex/AMMVote.h:31
xrpl::AMMVote::preflight
static NotTEC preflight(PreflightContext const &ctx)
Definition
AMMVote.cpp:17
xrpl::AMMVote::preclaim
static TER preclaim(PreclaimContext const &ctx)
Definition
AMMVote.cpp:36
xrpl::AMMVote::ConsequencesFactory
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition
tx/transactors/dex/AMMVote.h:33
xrpl::AMMVote::checkExtraFeatures
static bool checkExtraFeatures(PreflightContext const &ctx)
Definition
AMMVote.cpp:11
xrpl::AMMVote::AMMVote
AMMVote(ApplyContext &ctx)
Definition
tx/transactors/dex/AMMVote.h:35
xrpl::AMMVote::doApply
TER doApply() override
Definition
AMMVote.cpp:211
xrpl::ApplyContext
State information when applying a tx.
Definition
ApplyContext.h:15
xrpl::TERSubset
Definition
TER.h:395
xrpl::Transactor
Definition
Transactor.h:110
xrpl::Transactor::ConsequencesFactoryType
ConsequencesFactoryType
Definition
Transactor.h:126
xrpl::Transactor::Normal
@ Normal
Definition
Transactor.h:126
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:57
xrpl::PreflightContext
State information when preflighting a tx.
Definition
Transactor.h:14
Generated by
1.9.8