rippled
Loading...
Searching...
No Matches
check.h
1#pragma once
2
3#include <test/jtx/Account.h>
4#include <test/jtx/Env.h>
5#include <test/jtx/owners.h>
6
7namespace xrpl {
8namespace test {
9namespace jtx {
10
12namespace check {
13
16cash(jtx::Account const& dest, uint256 const& checkId, STAmount const& amount);
17
20{
22 explicit DeliverMin(STAmount const& deliverMin) : value(deliverMin)
23 {
24 }
25};
26
29cash(jtx::Account const& dest, uint256 const& checkId, DeliverMin const& atLeast);
30
33cancel(jtx::Account const& dest, uint256 const& checkId);
34
35} // namespace check
36
39
40} // namespace jtx
41
42} // namespace test
43} // namespace xrpl
Represents a JSON value.
Definition json_value.h:130
Immutable cryptographic account descriptor.
Definition Account.h:19
Json::Value cash(jtx::Account const &dest, uint256 const &checkId, STAmount const &amount)
Cash a check requiring that a specific amount be delivered.
Definition check.cpp:14
Json::Value cancel(jtx::Account const &dest, uint256 const &checkId)
Cancel a check.
Definition check.cpp:38
auto const amount
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
Type used to specify DeliverMin for cashing a check.
Definition check.h:20
DeliverMin(STAmount const &deliverMin)
Definition check.h:22