rippled
Loading...
Searching...
No Matches
VaultCreate.h
1#ifndef XRPL_TX_VAULTCREATE_H_INCLUDED
2#define XRPL_TX_VAULTCREATE_H_INCLUDED
3
4#include <xrpld/app/tx/detail/Transactor.h>
5
6namespace ripple {
7
8class VaultCreate : public Transactor
9{
10public:
12
13 explicit VaultCreate(ApplyContext& ctx) : Transactor(ctx)
14 {
15 }
16
17 static bool
19
20 static std::uint32_t
22
23 static NotTEC
24 preflight(PreflightContext const& ctx);
25
26 static XRPAmount
27 calculateBaseFee(ReadView const& view, STTx const& tx);
28
29 static TER
30 preclaim(PreclaimContext const& ctx);
31
32 TER
33 doApply() override;
34};
35
36} // namespace ripple
37
38#endif
State information when applying a tx.
A view into a ledger.
Definition ReadView.h:32
ApplyView & view()
Definition Transactor.h:144
VaultCreate(ApplyContext &ctx)
Definition VaultCreate.h:13
TER doApply() override
static TER preclaim(PreclaimContext const &ctx)
static NotTEC preflight(PreflightContext const &ctx)
static bool checkExtraFeatures(PreflightContext const &ctx)
static std::uint32_t getFlagsMask(PreflightContext const &ctx)
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition VaultCreate.h:11
static XRPAmount calculateBaseFee(ReadView const &view, STTx const &tx)
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