xrpld
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::test::jtx {
9
11json::Value
12trust(Account const& account, STAmount const& amount, std::uint32_t flags = 0);
13
15json::Value
16trust(Account const& account, STAmount const& amount, Account const& peer, std::uint32_t flags);
17
18json::Value
19claw(
20 Account const& account,
21 STAmount const& amount,
22 std::optional<Account> const& mptHolder = std::nullopt);
23
24} // namespace xrpl::test::jtx
Immutable cryptographic account descriptor.
Definition jtx/Account.h:17
json::Value claw(Account const &account, STAmount const &amount, std::optional< Account > const &mptHolder)
Definition trust.cpp:51
json::Value trust(Account const &account, STAmount const &amount, std::uint32_t flags)
Modify a trust line.
Definition trust.cpp:18