1#ifndef XRPL_TEST_JTX_OWNERS_H_INCLUDED
2#define XRPL_TEST_JTX_OWNERS_H_INCLUDED
4#include <test/jtx/Env.h>
6#include <xrpl/ledger/View.h>
7#include <xrpl/protocol/LedgerFormats.h>
8#include <xrpl/protocol/UintTypes.h>
32template <LedgerEntryType Type>
Immutable cryptographic account descriptor.
AccountID id() const
Returns the Account ID.
A transaction testing environment.
void operator()(Env &env) const
owner_count(Account const &account, std::uint32_t value)
Match the number of items in the account's owner directory.
owners(Account const &account, std::uint32_t value)
void operator()(Env &env) const
void owned_count_helper(test::jtx::Env &env, AccountID const &id, LedgerEntryType type, std::uint32_t value)
std::uint32_t owned_count_of(ReadView const &view, AccountID const &id, LedgerEntryType type)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
base_uint< 160, detail::AccountIDTag > AccountID
A 160-bit unsigned that uniquely identifies an account.
LedgerEntryType
Identifiers for on-ledger objects.