rippled
Loading...
Searching...
No Matches
include
xrpl
tx
transactors
oracle
tx/transactors/oracle/OracleDelete.h
1
#pragma once
2
3
#include <xrpl/tx/Transactor.h>
4
5
namespace
xrpl
{
6
16
class
OracleDelete
:
public
Transactor
17
{
18
public
:
19
static
constexpr
ConsequencesFactoryType
ConsequencesFactory
{
Normal
};
20
21
explicit
OracleDelete
(
ApplyContext
& ctx) :
Transactor
(ctx)
22
{
23
}
24
25
static
NotTEC
26
preflight
(
PreflightContext
const
& ctx);
27
28
static
TER
29
preclaim
(
PreclaimContext
const
& ctx);
30
31
TER
32
doApply
()
override
;
33
34
static
TER
35
deleteOracle
(
36
ApplyView
&
view
,
37
std::shared_ptr<SLE>
const
& sle,
38
AccountID
const
& account,
39
beast::Journal
j);
40
};
41
42
}
// 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::OracleDelete
Price Oracle is a system that acts as a bridge between a blockchain network and the external world,...
Definition
tx/transactors/oracle/OracleDelete.h:17
xrpl::OracleDelete::deleteOracle
static TER deleteOracle(ApplyView &view, std::shared_ptr< SLE > const &sle, AccountID const &account, beast::Journal j)
Definition
OracleDelete.cpp:42
xrpl::OracleDelete::doApply
TER doApply() override
Definition
OracleDelete.cpp:73
xrpl::OracleDelete::OracleDelete
OracleDelete(ApplyContext &ctx)
Definition
tx/transactors/oracle/OracleDelete.h:21
xrpl::OracleDelete::preflight
static NotTEC preflight(PreflightContext const &ctx)
Definition
OracleDelete.cpp:11
xrpl::OracleDelete::preclaim
static TER preclaim(PreclaimContext const &ctx)
Definition
OracleDelete.cpp:17
xrpl::OracleDelete::ConsequencesFactory
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition
tx/transactors/oracle/OracleDelete.h:19
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::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