rippled
Loading...
Searching...
No Matches
include
xrpl
tx
transactors
account
tx/transactors/account/AccountDelete.h
1
#pragma once
2
3
#include <xrpl/tx/Transactor.h>
4
5
namespace
xrpl
{
6
7
class
AccountDelete
:
public
Transactor
8
{
9
public
:
10
static
constexpr
ConsequencesFactoryType
ConsequencesFactory
{
Blocker
};
11
12
explicit
AccountDelete
(
ApplyContext
& ctx) :
Transactor
(ctx)
13
{
14
}
15
16
static
bool
17
checkExtraFeatures
(
PreflightContext
const
& ctx);
18
19
static
NotTEC
20
preflight
(
PreflightContext
const
& ctx);
21
22
static
XRPAmount
23
calculateBaseFee
(
ReadView
const
&
view
,
STTx
const
& tx);
24
25
static
TER
26
preclaim
(
PreclaimContext
const
& ctx);
27
28
TER
29
doApply
()
override
;
30
};
31
32
}
// namespace xrpl
xrpl::AccountDelete
Definition
tx/transactors/account/AccountDelete.h:8
xrpl::AccountDelete::calculateBaseFee
static XRPAmount calculateBaseFee(ReadView const &view, STTx const &tx)
Definition
AccountDelete.cpp:44
xrpl::AccountDelete::doApply
TER doApply() override
Definition
AccountDelete.cpp:327
xrpl::AccountDelete::preflight
static NotTEC preflight(PreflightContext const &ctx)
Definition
AccountDelete.cpp:29
xrpl::AccountDelete::checkExtraFeatures
static bool checkExtraFeatures(PreflightContext const &ctx)
Definition
AccountDelete.cpp:23
xrpl::AccountDelete::ConsequencesFactory
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition
tx/transactors/account/AccountDelete.h:10
xrpl::AccountDelete::AccountDelete
AccountDelete(ApplyContext &ctx)
Definition
tx/transactors/account/AccountDelete.h:12
xrpl::AccountDelete::preclaim
static TER preclaim(PreclaimContext const &ctx)
Definition
AccountDelete.cpp:206
xrpl::ApplyContext
State information when applying a tx.
Definition
ApplyContext.h:15
xrpl::ReadView
A view into a ledger.
Definition
ReadView.h:31
xrpl::STTx
Definition
STTx.h:28
xrpl::TERSubset
Definition
TER.h:395
xrpl::Transactor
Definition
Transactor.h:110
xrpl::Transactor::ConsequencesFactoryType
ConsequencesFactoryType
Definition
Transactor.h:126
xrpl::Transactor::Blocker
@ Blocker
Definition
Transactor.h:126
xrpl::Transactor::view
ApplyView & view()
Definition
Transactor.h:132
xrpl::XRPAmount
Definition
XRPAmount.h:23
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