rippled
Loading...
Searching...
No Matches
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
6namespace ripple {
7
18{
19public:
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
38 std::shared_ptr<SLE> const& sle,
39 AccountID const& account,
41};
42
44
45} // namespace ripple
46
47#endif // XRPL_TX_DELETEORACLE_H_INCLUDED
A generic endpoint for log messages.
Definition Journal.h:41
State information when applying a tx.
Writeable view to a ledger, for applying a transaction.
Definition ApplyView.h:124
Price Oracle is a system that acts as a bridge between a blockchain network and the external world,...
static constexpr ConsequencesFactoryType ConsequencesFactory
static TER deleteOracle(ApplyView &view, std::shared_ptr< SLE > const &sle, AccountID const &account, beast::Journal j)
static NotTEC preflight(PreflightContext const &ctx)
TER doApply() override
static TER preclaim(PreclaimContext const &ctx)
DeleteOracle(ApplyContext &ctx)
ApplyView & view()
Definition Transactor.h:144
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6
State information when determining if a tx is likely to claim a fee.
Definition Transactor.h:61
State information when preflighting a tx.
Definition Transactor.h:16