1#ifndef XRPL_TEST_JTX_ORACLE_H_INCLUDED 
    2#define XRPL_TEST_JTX_ORACLE_H_INCLUDED 
  149    [[nodiscard]] 
static bool 
  180        strm << oracle.ledgerEntry().toStyledString();
 
 
 
A transaction testing environment.
 
Set a multisignature on a JTx.
 
Oracle class facilitates unit-testing of the Price Oracle feature.
 
static Json::Value aggregatePrice(Env &env, std::optional< AnyValue > const &baseAsset, std::optional< AnyValue > const "eAsset, std::optional< OraclesData > const &oracles=std::nullopt, std::optional< AnyValue > const &trim=std::nullopt, std::optional< AnyValue > const &timeTreshold=std::nullopt)
 
static Json::Value ledgerEntry(Env &env, std::optional< std::variant< AccountID, std::string > > const &account, std::optional< AnyValue > const &documentID, std::optional< std::string > const &index=std::nullopt)
 
Json::Value ledgerEntry(std::optional< std::string > const &index=std::nullopt) const
 
void set(CreateArg const &arg)
 
friend std::ostream & operator<<(std::ostream &strm, Oracle const &oracle)
 
std::uint32_t documentID_
 
void remove(RemoveArg const &arg)
 
bool expectPrice(DataSeries const &pricess) const
 
bool expectLastUpdateTime(std::uint32_t lastUpdateTime) const
 
std::uint32_t documentID() const
 
static void setFee(std::uint32_t f)
 
void submit(Json::Value const &jv, std::optional< jtx::msig > const &msig, std::optional< jtx::seq > const &seq, std::optional< ter > const &err)
 
Keylet oracle(AccountID const &account, std::uint32_t const &documentID) noexcept
 
static constexpr std::chrono::seconds testStartTime
 
constexpr char const  * UnquotedNone
 
std::uint32_t asUInt(AnyValue const &v)
 
void toJson(Json::Value &jv, AnyValue const &v)
 
constexpr char const  * NonePattern
 
bool validDocumentID(AnyValue const &v)
 
constexpr char const  * NoneTag
 
void toJsonHex(Json::Value &jv, AnyValue const &v)
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
static constexpr std::chrono::seconds epoch_offset
Clock for measuring the network time.
 
std::optional< AnyValue > uri
 
std::optional< AnyValue > documentID
 
std::optional< AnyValue > lastUpdateTime
 
std::optional< AnyValue > assetClass
 
std::optional< AccountID > owner
 
std::optional< AnyValue > provider
 
std::optional< AccountID > const  & owner
 
std::optional< AnyValue > const  & documentID
 
std::optional< ter > const  & err
 
std::optional< AnyValue > uri
 
std::optional< AnyValue > assetClass
 
std::optional< AnyValue > documentID
 
std::optional< AnyValue > lastUpdateTime
 
std::optional< AccountID > owner
 
std::optional< AnyValue > provider
 
Set the sequence number on a JTx.