1#ifndef XRPL_TEST_JTX_FLAGS_H_INCLUDED 
    2#define XRPL_TEST_JTX_FLAGS_H_INCLUDED 
    4#include <test/jtx/Env.h> 
    6#include <xrpl/basics/contract.h> 
    7#include <xrpl/protocol/LedgerFormats.h> 
    8#include <xrpl/protocol/TxFlags.h> 
   68                Throw<std::runtime_error>(
"unknown flag");
 
 
   72    template <
class Flag, 
class... Args>
 
   77        if constexpr (
sizeof...(args))
 
 
   82    template <
class... Args>
 
 
  104    return fset(account, 0, off);
 
 
  114    template <
class... Args>
 
 
  131    template <
class... Args>
 
 
void set_args(std::uint32_t flag, Args... args)
 
flags_helper(Args... args)
 
void set_args(std::uint32_t flag)
 
Immutable cryptographic account descriptor.
 
A transaction testing environment.
 
flags(Account const &account, Args... args)
 
void operator()(Env &env) const
 
Match clear account flags.
 
nflags(Account const &account, Args... args)
 
void operator()(Env &env) const
 
Json::Value fclear(Account const &account, std::uint32_t off)
Remove account flag.
 
Json::Value fset(Account const &account, std::uint32_t on, std::uint32_t off=0)
Add and/or remove flag.
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
constexpr std::uint32_t asfGlobalFreeze
 
constexpr std::uint32_t asfDepositAuth
 
constexpr std::uint32_t asfDisallowIncomingNFTokenOffer
 
constexpr std::uint32_t asfAllowTrustLineLocking
 
constexpr std::uint32_t asfRequireDest
 
@ lsfDisallowIncomingCheck
 
@ lsfAllowTrustLineClawback
 
@ lsfDisallowIncomingPayChan
 
@ lsfDisallowIncomingTrustline
 
@ lsfAllowTrustLineLocking
 
@ lsfDisallowIncomingNFTokenOffer
 
constexpr std::uint32_t asfNoFreeze
 
constexpr std::uint32_t asfDisableMaster
 
constexpr std::uint32_t asfDisallowIncomingTrustline
 
constexpr std::uint32_t asfDefaultRipple
 
constexpr std::uint32_t asfDisallowIncomingCheck
 
constexpr std::uint32_t asfDisallowIncomingPayChan
 
constexpr std::uint32_t asfAllowTrustLineClawback
 
constexpr std::uint32_t asfRequireAuth
 
constexpr std::uint32_t asfDisallowXRP