rippled
Loading...
Searching...
No Matches
xrpld
app
tx
detail
AMMDelete.h
1
#ifndef XRPL_TX_AMMDELETE_H_INCLUDED
2
#define XRPL_TX_AMMDELETE_H_INCLUDED
3
4
#include <xrpld/app/tx/detail/Transactor.h>
5
6
namespace
ripple
{
7
14
class
AMMDelete
:
public
Transactor
15
{
16
public
:
17
static
constexpr
ConsequencesFactoryType
ConsequencesFactory
{
Normal
};
18
19
explicit
AMMDelete
(
ApplyContext
& ctx) :
Transactor
(ctx)
20
{
21
}
22
23
static
bool
24
checkExtraFeatures
(
PreflightContext
const
& ctx);
25
26
static
NotTEC
27
preflight
(
PreflightContext
const
& ctx);
28
29
static
TER
30
preclaim
(
PreclaimContext
const
& ctx);
31
32
TER
33
doApply
()
override
;
34
};
35
36
}
// namespace ripple
37
38
#endif
// XRPL_TX_AMMDELETE_H_INCLUDED
ripple::AMMDelete
AMMDelete implements AMM delete transactor.
Definition
AMMDelete.h:15
ripple::AMMDelete::preflight
static NotTEC preflight(PreflightContext const &ctx)
Definition
AMMDelete.cpp:18
ripple::AMMDelete::doApply
TER doApply() override
Definition
AMMDelete.cpp:42
ripple::AMMDelete::AMMDelete
AMMDelete(ApplyContext &ctx)
Definition
AMMDelete.h:19
ripple::AMMDelete::ConsequencesFactory
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition
AMMDelete.h:17
ripple::AMMDelete::preclaim
static TER preclaim(PreclaimContext const &ctx)
Definition
AMMDelete.cpp:24
ripple::AMMDelete::checkExtraFeatures
static bool checkExtraFeatures(PreflightContext const &ctx)
Definition
AMMDelete.cpp:12
ripple::ApplyContext
State information when applying a tx.
Definition
ApplyContext.h:18
ripple::TERSubset
Definition
TER.h:396
ripple::Transactor
Definition
Transactor.h:122
ripple::Transactor::ConsequencesFactoryType
ConsequencesFactoryType
Definition
Transactor.h:138
ripple::Transactor::Normal
@ Normal
Definition
Transactor.h:138
ripple
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:6
ripple::PreclaimContext
State information when determining if a tx is likely to claim a fee.
Definition
Transactor.h:61
ripple::PreflightContext
State information when preflighting a tx.
Definition
Transactor.h:16
Generated by
1.9.8