3#include <xrpl/protocol/AccountID.h>
4#include <xrpl/protocol/UintTypes.h>
32 [[nodiscard]]
constexpr MPTID const&
116template <
class Hasher>
125toJson(MPTIssue
const& mptIssue);
friend constexpr std::weak_ordering operator<=>(MPTIssue const &lhs, MPTIssue const &rhs)
constexpr MPTID const & getMptID() const
friend constexpr bool operator==(MPTIssue const &lhs, MPTIssue const &rhs)
AccountID const & getIssuer() const
void setJson(json::Value &jv) const
std::string getText() const
std::enable_if_t< IsContiguouslyHashable< T, Hasher >::value > hash_append(Hasher &h, T const &t) noexcept
Logically concatenate input data to a Hasher.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
constexpr bool operator==(BaseUInt< Bits, Tag > const &lhs, BaseUInt< Bits, Tag > const &rhs)
bool isXRP(AccountID const &c)
MPTIssue mptIssueFromJson(json::Value const &jv)
std::ostream & operator<<(std::ostream &out, BaseUInt< Bits, Tag > const &u)
AccountID getMPTIssuer(MPTID const &mptid)
std::string to_string(BaseUInt< Bits, Tag > const &a)
json::Value toJson(Asset const &asset)
constexpr std::strong_ordering operator<=>(BaseUInt< Bits, Tag > const &lhs, BaseUInt< Bits, Tag > const &rhs)
BaseUInt< 192 > MPTID
MPTID is a 192-bit value representing MPT Issuance ID, which is a concatenation of a 32-bit sequence ...
BaseUInt< 160, detail::AccountIDTag > AccountID
A 160-bit unsigned that uniquely identifies an account.
AccountID const & noAccount()
A placeholder for empty accounts.
void hash_append(Hasher &h, Slice const &v)
AccountID const & xrpAccount()
Compute AccountID from public key.