rippled
Loading...
Searching...
No Matches
xrpld
app
tx
detail
DeleteOracle.h
1
#ifndef XRPL_TX_DELETEORACLE_H_INCLUDED
2
#define XRPL_TX_DELETEORACLE_H_INCLUDED
3
4
#include <xrpld/app/tx/detail/Transactor.h>
5
6
namespace
ripple
{
7
17
class
DeleteOracle
:
public
Transactor
18
{
19
public
:
20
static
constexpr
ConsequencesFactoryType
ConsequencesFactory
{
Normal
};
21
22
explicit
DeleteOracle
(
ApplyContext
& ctx) :
Transactor
(ctx)
23
{
24
}
25
26
static
NotTEC
27
preflight
(
PreflightContext
const
& ctx);
28
29
static
TER
30
preclaim
(
PreclaimContext
const
& ctx);
31
32
TER
33
doApply
()
override
;
34
35
static
TER
36
deleteOracle
(
37
ApplyView
&
view
,
38
std::shared_ptr<SLE>
const
& sle,
39
AccountID
const
& account,
40
beast::Journal
j);
41
};
42
43
using
OracleDelete
=
DeleteOracle
;
44
45
}
// namespace ripple
46
47
#endif
// XRPL_TX_DELETEORACLE_H_INCLUDED
beast::Journal
A generic endpoint for log messages.
Definition
Journal.h:41
ripple::ApplyContext
State information when applying a tx.
Definition
ApplyContext.h:18
ripple::ApplyView
Writeable view to a ledger, for applying a transaction.
Definition
ApplyView.h:124
ripple::DeleteOracle
Price Oracle is a system that acts as a bridge between a blockchain network and the external world,...
Definition
DeleteOracle.h:18
ripple::DeleteOracle::ConsequencesFactory
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition
DeleteOracle.h:20
ripple::DeleteOracle::deleteOracle
static TER deleteOracle(ApplyView &view, std::shared_ptr< SLE > const &sle, AccountID const &account, beast::Journal j)
Definition
DeleteOracle.cpp:41
ripple::DeleteOracle::preflight
static NotTEC preflight(PreflightContext const &ctx)
Definition
DeleteOracle.cpp:11
ripple::DeleteOracle::doApply
TER doApply() override
Definition
DeleteOracle.cpp:74
ripple::DeleteOracle::preclaim
static TER preclaim(PreclaimContext const &ctx)
Definition
DeleteOracle.cpp:17
ripple::DeleteOracle::DeleteOracle
DeleteOracle(ApplyContext &ctx)
Definition
DeleteOracle.h:22
ripple::TERSubset
Definition
TER.h:396
ripple::Transactor
Definition
Transactor.h:122
ripple::Transactor::ConsequencesFactoryType
ConsequencesFactoryType
Definition
Transactor.h:138
ripple::Transactor::Normal
@ Normal
Definition
Transactor.h:138
ripple::Transactor::view
ApplyView & view()
Definition
Transactor.h:144
ripple::base_uint< 160, detail::AccountIDTag >
ripple
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:6
std::shared_ptr
ripple::PreclaimContext
State information when determining if a tx is likely to claim a fee.
Definition
Transactor.h:61
ripple::PreflightContext
State information when preflighting a tx.
Definition
Transactor.h:16
Generated by
1.9.8