rippled
Loading...
Searching...
No Matches
include
xrpl
tx
transactors
did
tx/transactors/did/DIDDelete.h
1
#pragma once
2
3
#include <xrpl/tx/Transactor.h>
4
5
namespace
xrpl
{
6
7
class
DIDDelete
:
public
Transactor
8
{
9
public
:
10
static
constexpr
ConsequencesFactoryType
ConsequencesFactory
{
Normal
};
11
12
explicit
DIDDelete
(
ApplyContext
& ctx) :
Transactor
(ctx)
13
{
14
}
15
16
static
NotTEC
17
preflight
(
PreflightContext
const
& ctx);
18
19
static
TER
20
deleteSLE
(
ApplyContext
& ctx,
Keylet
sleKeylet,
AccountID
const
owner);
21
22
static
TER
23
deleteSLE
(
ApplyView
&
view
,
std::shared_ptr<SLE>
sle,
AccountID
const
owner,
beast::Journal
j);
24
25
TER
26
doApply
()
override
;
27
};
28
29
}
// namespace xrpl
beast::Journal
A generic endpoint for log messages.
Definition
Journal.h:40
xrpl::ApplyContext
State information when applying a tx.
Definition
ApplyContext.h:15
xrpl::ApplyView
Writeable view to a ledger, for applying a transaction.
Definition
ApplyView.h:116
xrpl::DIDDelete
Definition
tx/transactors/did/DIDDelete.h:8
xrpl::DIDDelete::preflight
static NotTEC preflight(PreflightContext const &ctx)
Definition
DIDDelete.cpp:10
xrpl::DIDDelete::ConsequencesFactory
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition
tx/transactors/did/DIDDelete.h:10
xrpl::DIDDelete::doApply
TER doApply() override
Definition
DIDDelete.cpp:54
xrpl::DIDDelete::DIDDelete
DIDDelete(ApplyContext &ctx)
Definition
tx/transactors/did/DIDDelete.h:12
xrpl::DIDDelete::deleteSLE
static TER deleteSLE(ApplyContext &ctx, Keylet sleKeylet, AccountID const owner)
Definition
DIDDelete.cpp:16
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::Transactor::view
ApplyView & view()
Definition
Transactor.h:132
xrpl::base_uint< 160, detail::AccountIDTag >
xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:5
std::shared_ptr
xrpl::Keylet
A pair of SHAMap key and LedgerEntryType.
Definition
Keylet.h:19
xrpl::PreflightContext
State information when preflighting a tx.
Definition
Transactor.h:14
Generated by
1.9.8