rippled
Loading...
Searching...
No Matches
trust.h
1#ifndef XRPL_TEST_JTX_TRUST_H_INCLUDED
2#define XRPL_TEST_JTX_TRUST_H_INCLUDED
3
4#include <test/jtx/Account.h>
5
6#include <xrpl/json/json_value.h>
7#include <xrpl/protocol/STAmount.h>
8
9namespace ripple {
10namespace test {
11namespace jtx {
12
15trust(Account const& account, STAmount const& amount, std::uint32_t flags = 0);
16
19trust(
20 Account const& account,
21 STAmount const& amount,
22 Account const& peer,
23 std::uint32_t flags);
24
26claw(
27 Account const& account,
28 STAmount const& amount,
29 std::optional<Account> const& mptHolder = std::nullopt);
30
31} // namespace jtx
32} // namespace test
33} // namespace ripple
34
35#endif
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:50
Json::Value trust(Account const &account, STAmount const &amount, std::uint32_t flags)
Modify a trust line.
Definition trust.cpp:13
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6