rippled
Loading...
Searching...
No Matches
xrpld
app
tx
detail
DeleteOracle.h
1
#pragma once
2
3
#include <xrpld/app/tx/detail/Transactor.h>
4
5
namespace
xrpl
{
6
16
class
DeleteOracle
:
public
Transactor
17
{
18
public
:
19
static
constexpr
ConsequencesFactoryType
ConsequencesFactory
{
Normal
};
20
21
explicit
DeleteOracle
(
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
(
ApplyView
&
view
,
std::shared_ptr<SLE>
const
& sle,
AccountID
const
& account,
beast::Journal
j);
36
};
37
38
using
OracleDelete
=
DeleteOracle
;
39
40
}
// 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:17
xrpl::ApplyView
Writeable view to a ledger, for applying a transaction.
Definition
ApplyView.h:114
xrpl::DeleteOracle
Price Oracle is a system that acts as a bridge between a blockchain network and the external world,...
Definition
DeleteOracle.h:17
xrpl::DeleteOracle::preflight
static NotTEC preflight(PreflightContext const &ctx)
Definition
DeleteOracle.cpp:11
xrpl::DeleteOracle::ConsequencesFactory
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition
DeleteOracle.h:19
xrpl::DeleteOracle::preclaim
static TER preclaim(PreclaimContext const &ctx)
Definition
DeleteOracle.cpp:17
xrpl::DeleteOracle::doApply
TER doApply() override
Definition
DeleteOracle.cpp:67
xrpl::DeleteOracle::deleteOracle
static TER deleteOracle(ApplyView &view, std::shared_ptr< SLE > const &sle, AccountID const &account, beast::Journal j)
Definition
DeleteOracle.cpp:40
xrpl::DeleteOracle::DeleteOracle
DeleteOracle(ApplyContext &ctx)
Definition
DeleteOracle.h:21
xrpl::TERSubset
Definition
TER.h:395
xrpl::Transactor
Definition
Transactor.h:106
xrpl::Transactor::ConsequencesFactoryType
ConsequencesFactoryType
Definition
Transactor.h:122
xrpl::Transactor::Normal
@ Normal
Definition
Transactor.h:122
xrpl::Transactor::view
ApplyView & view()
Definition
Transactor.h:128
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:53
xrpl::PreflightContext
State information when preflighting a tx.
Definition
Transactor.h:15
Generated by
1.9.8