1#include <test/jtx/escrow.h> 
    3#include <xrpl/protocol/TxFlags.h> 
    4#include <xrpl/protocol/jss.h> 
   17    jv[jss::TransactionType] = jss::EscrowCreate;
 
 
   29    jv[jss::TransactionType] = jss::EscrowFinish;
 
   33    jv[sfOfferSequence.jsonName] = 
seq;
 
 
   41    jv[jss::TransactionType] = jss::EscrowCancel;
 
   44    jv[sfOwner.jsonName] = from.
human();
 
   45    jv[sfOfferSequence.jsonName] = 
seq;
 
 
   53    if (sle->isFieldPresent(sfTransferRate))
 
 
Json::Value getJson(JsonOptions=JsonOptions::none) const override
 
Immutable cryptographic account descriptor.
 
std::string const & human() const
Returns the human readable public key.
 
A transaction testing environment.
 
std::shared_ptr< SLE const > le(Account const &account) const
Return an account root.
 
Keylet escrow(AccountID const &src, std::uint32_t seq) noexcept
An escrow entry.
 
Json::Value create(AccountID const &account, AccountID const &to, STAmount const &amount)
 
Rate rate(Env &env, Account const &account, std::uint32_t const &seq)
 
Json::Value cancel(AccountID const &account, Account const &from, std::uint32_t seq)
 
Json::Value finish(AccountID const &account, AccountID const &from, std::uint32_t seq)
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
std::string to_string(base_uint< Bits, Tag > const &a)
 
constexpr std::uint32_t tfFullyCanonicalSig
Transaction flags.
 
Represents a transfer rate.
 
Set the sequence number on a JTx.