rippled
Loading...
Searching...
No Matches
sendmax.h
1#ifndef XRPL_TEST_JTX_SENDMAX_H_INCLUDED
2#define XRPL_TEST_JTX_SENDMAX_H_INCLUDED
3
4#include <test/jtx/Env.h>
5
6#include <xrpl/protocol/STAmount.h>
7
8namespace ripple {
9namespace test {
10namespace jtx {
11
14{
15private:
17
18public:
19 sendmax(STAmount const& amount) : amount_(amount)
20 {
21 }
22
23 void
24 operator()(Env&, JTx& jtx) const;
25};
26
27} // namespace jtx
28} // namespace test
29} // namespace ripple
30
31#endif
A transaction testing environment.
Definition Env.h:102
Sets the SendMax on a JTx.
Definition sendmax.h:14
void operator()(Env &, JTx &jtx) const
Definition sendmax.cpp:10
sendmax(STAmount const &amount)
Definition sendmax.h:19
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6
Execution context for applying a JSON transaction.
Definition JTx.h:26