3#include <xrpl/basics/Log.h>
4#include <xrpl/protocol/Indexes.h>
5#include <xrpl/tx/Transactor.h>
56 ttLOAN_BROKER_COVER_DEPOSIT,
57 ttLOAN_BROKER_COVER_WITHDRAW,
58 ttLOAN_BROKER_COVER_CLAWBACK,
A generic endpoint for log messages.
State information when applying a tx.
void visitInvariantEntry(bool isDelete, SLE::const_ref before, SLE::const_ref after) override
Inspect a single ledger entry modified by this transaction.
static XRPAmount calculateBaseFee(ReadView const &view, STTx const &tx)
Calculates the total base fee for a batch transaction.
static NotTEC preflight(PreflightContext const &ctx)
Performs preflight validation checks for a Batch transaction.
static NotTEC checkSign(PreclaimContext const &ctx)
Checks the validity of signatures for a batch transaction.
TER doApply() override
Applies the outer batch transaction.
bool finalizeInvariants(STTx const &tx, TER result, XRPAmount fee, ReadView const &view, beast::Journal const &j) override
Check transaction-specific post-conditions after all entries have been visited.
static constexpr auto kConsequencesFactory
static std::uint32_t getFlagsMask(PreflightContext const &ctx)
static constexpr auto kDisabledTxTypes
static NotTEC preflightSigValidated(PreflightContext const &ctx)
std::shared_ptr< STLedgerEntry const > const & const_ref
Transactor(Transactor const &)=delete
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
TERSubset< CanCvtToNotTEC > NotTEC
bool after(NetClock::time_point now, std::uint32_t mark)
Has the specified time passed?
TERSubset< CanCvtToTER > TER
State information when determining if a tx is likely to claim a fee.
State information when preflighting a tx.