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