20 #include <test/jtx/check.h>
21 #include <ripple/protocol/jss.h>
22 #include <ripple/protocol/TxFlags.h>
Json::Value create(jtx::Account const &account, jtx::Account const &dest, STAmount const &sendMax)
Create a check.
Json::Value getJson(JsonOptions) const override
const SF_Account sfAccount(access, STI_ACCOUNT, 1, "Account")
const SF_U32 sfFlags(access, STI_UINT32, 2, "Flags")
std::string const & human() const
Returns the human readable public key.
void check(bool condition, std::string const &message)
std::string to_string(ListDisposition disposition)
const SF_Amount sfAmount(access, STI_AMOUNT, 1, "Amount")
const Json::StaticString jsonName
Json::Value cancel(jtx::Account const &dest, uint256 const &checkId)
Cancel a check.
const SF_Amount sfSendMax(access, STI_AMOUNT, 9, "SendMax")
Type used to specify DeliverMin for cashing a check.
const SF_U16 sfTransactionType(access, STI_UINT16, 2, "TransactionType")
const std::uint32_t tfUniversal
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
const SF_Amount sfDeliverMin(access, STI_AMOUNT, 10, "DeliverMin")
Json::Value cash(jtx::Account const &dest, uint256 const &checkId, STAmount const &amount)
Cash a check requiring that a specific amount be delivered.
const SF_Account sfDestination(access, STI_ACCOUNT, 3, "Destination")
const SF_U256 sfCheckID(access, STI_HASH256, 24, "CheckID")
Immutable cryptographic account descriptor.