xrpld
Loading...
Searching...
No Matches
sendmax.h
1#pragma once
2
3#include <test/jtx/Env.h>
4
5#include <xrpl/protocol/STAmount.h>
6
7#include <utility>
8
9namespace xrpl::test::jtx {
10
13{
14private:
16
17public:
18 Sendmax(STAmount amount) : amount_(std::move(amount))
19 {
20 }
21
22 void
23 operator()(Env&, JTx& jtx) const;
24};
25
26} // namespace xrpl::test::jtx
A transaction testing environment.
Definition Env.h:143
void operator()(Env &, JTx &jtx) const
Definition sendmax.cpp:11
Sendmax(STAmount amount)
Definition sendmax.h:18
STL namespace.
Execution context for applying a JSON transaction.
Definition JTx.h:23