rippled
Loading...
Searching...
No Matches
check.h
1#ifndef XRPL_TEST_JTX_CHECK_H_INCLUDED
2#define XRPL_TEST_JTX_CHECK_H_INCLUDED
3
4#include <test/jtx/Account.h>
5#include <test/jtx/Env.h>
6#include <test/jtx/owners.h>
7
8namespace ripple {
9namespace test {
10namespace jtx {
11
13namespace check {
14
17cash(jtx::Account const& dest, uint256 const& checkId, STAmount const& amount);
18
21{
23 explicit DeliverMin(STAmount const& deliverMin) : value(deliverMin)
24 {
25 }
26};
27
30cash(
31 jtx::Account const& dest,
32 uint256 const& checkId,
33 DeliverMin const& atLeast);
34
37cancel(jtx::Account const& dest, uint256 const& checkId);
38
39} // namespace check
40
43
44} // namespace jtx
45
46} // namespace test
47} // namespace ripple
48
49#endif
Represents a JSON value.
Definition json_value.h:130
Immutable cryptographic account descriptor.
Definition Account.h:20
Json::Value cancel(jtx::Account const &dest, uint256 const &checkId)
Cancel a check.
Definition check.cpp:41
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
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6
Type used to specify DeliverMin for cashing a check.
Definition check.h:21
DeliverMin(STAmount const &deliverMin)
Definition check.h:23