rippled
Loading...
Searching...
No Matches
trust.h
1#pragma once
2
3#include <test/jtx/Account.h>
4
5#include <xrpl/json/json_value.h>
6#include <xrpl/protocol/STAmount.h>
7
8namespace xrpl {
9namespace test {
10namespace jtx {
11
14trust(Account const& account, STAmount const& amount, std::uint32_t flags = 0);
15
18trust(Account const& account, STAmount const& amount, Account const& peer, std::uint32_t flags);
19
21claw(Account const& account, STAmount const& amount, std::optional<Account> const& mptHolder = std::nullopt);
22
23} // namespace jtx
24} // namespace test
25} // namespace xrpl
Represents a JSON value.
Definition json_value.h:130
T is_same_v
Json::Value claw(Account const &account, STAmount const &amount, std::optional< Account > const &mptHolder)
Definition trust.cpp:46
Json::Value trust(Account const &account, STAmount const &amount, std::uint32_t flags)
Modify a trust line.
Definition trust.cpp:13
auto const amount
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5