3#include <xrpl/ledger/helpers/LendingHelpers.h>
4#include <xrpl/tx/Transactor.h>
A generic endpoint for log messages.
State information when applying a tx.
static std::uint32_t getFlagsMask(PreflightContext const &ctx)
static TER preclaim(PreclaimContext const &ctx)
static XRPAmount calculateBaseFee(ReadView const &view, STTx const &tx)
static constexpr std::uint32_t kDefaultPaymentTotal
static constexpr auto kConsequencesFactory
static constexpr std::uint32_t kMinPaymentTotal
static std::vector< OptionaledField< STNumber > > const & getValueFields()
static NotTEC preflight(PreflightContext const &ctx)
LoanSet(ApplyContext &ctx)
static NotTEC checkSign(PreclaimContext const &ctx)
static constexpr std::uint32_t kDefaultPaymentInterval
static constexpr std::uint32_t kMinPaymentInterval
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 bool checkExtraFeatures(PreflightContext const &ctx)
void visitInvariantEntry(bool isDelete, SLE::const_ref before, SLE::const_ref after) override
Inspect a single ledger entry modified by this transaction.
static constexpr std::uint32_t kDefaultGracePeriod
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.