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