xrpld
Loading...
Searching...
No Matches
xrpl::test::jtx::check Namespace Reference

Check operations. More...

Classes

struct  DeliverMin
 Type used to specify DeliverMin for cashing a check. More...

Functions

json::Value cash (jtx::Account const &dest, uint256 const &checkId, STAmount const &amount)
 Cash a check requiring that a specific amount be delivered.
json::Value cash (jtx::Account const &dest, uint256 const &checkId, DeliverMin const &atLeast)
 Cash a check requiring that at least a minimum amount be delivered.
json::Value cancel (jtx::Account const &dest, uint256 const &checkId)
 Cancel a check.
template<typename A>
json::Value create (A const &account, A const &dest, STAmount const &sendMax)
 Create a check.
json::Value create (jtx::Account const &account, jtx::Account const &dest, STAmount const &sendMax)

Detailed Description

Check operations.

Function Documentation

◆ cash() [1/2]

json::Value xrpl::test::jtx::check::cash ( jtx::Account const & dest,
uint256 const & checkId,
STAmount const & amount )

Cash a check requiring that a specific amount be delivered.

Definition at line 15 of file check.cpp.

◆ cash() [2/2]

json::Value xrpl::test::jtx::check::cash ( jtx::Account const & dest,
uint256 const & checkId,
DeliverMin const & atLeast )

Cash a check requiring that at least a minimum amount be delivered.

Definition at line 27 of file check.cpp.

◆ cancel()

json::Value xrpl::test::jtx::check::cancel ( jtx::Account const & dest,
uint256 const & checkId )

Cancel a check.

Definition at line 39 of file check.cpp.

◆ create() [1/2]

template<typename A>
json::Value xrpl::test::jtx::check::create ( A const & account,
A const & dest,
STAmount const & sendMax )

Create a check.

Definition at line 716 of file jtx/TestHelpers.h.

◆ create() [2/2]

json::Value xrpl::test::jtx::check::create ( jtx::Account const & account,
jtx::Account const & dest,
STAmount const & sendMax )

Definition at line 727 of file jtx/TestHelpers.h.