xrpld
Loading...
Searching...
No Matches
test
jtx
impl
sendmax.cpp
1
#include <test/jtx/sendmax.h>
2
3
#include <test/jtx/Env.h>
4
#include <test/jtx/JTx.h>
5
6
#include <xrpl/protocol/jss.h>
7
8
namespace
xrpl::test::jtx
{
9
10
void
11
Sendmax::operator()
(
Env
& env,
JTx
& jt)
const
12
{
13
jt.
jv
[jss::SendMax] =
amount_
.getJson(
JsonOptions::Values::None
);
14
}
15
16
}
// namespace xrpl::test::jtx
xrpl::test::jtx::Env
A transaction testing environment.
Definition
Env.h:143
xrpl::test::jtx::Sendmax::amount_
STAmount amount_
Definition
sendmax.h:15
xrpl::test::jtx::Sendmax::operator()
void operator()(Env &, JTx &jtx) const
Definition
sendmax.cpp:11
xrpl::test::jtx
Definition
Oracle_test.cpp:34
xrpl::JsonOptions::Values::None
@ None
Definition
STBase.h:22
xrpl::test::jtx::JTx
Execution context for applying a JSON transaction.
Definition
JTx.h:23
xrpl::test::jtx::JTx::jv
json::Value jv
Definition
JTx.h:24
Generated by
1.16.1