rippled
Loading...
Searching...
No Matches
offer.h
1#ifndef XRPL_TEST_JTX_OFFER_H_INCLUDED
2#define XRPL_TEST_JTX_OFFER_H_INCLUDED
3
4#include <test/jtx/Account.h>
5
6#include <xrpl/json/json_value.h>
7#include <xrpl/protocol/STAmount.h>
8
9namespace ripple {
10namespace test {
11namespace jtx {
12
15offer(
16 Account const& account,
17 STAmount const& takerPays,
18 STAmount const& takerGets,
19 std::uint32_t flags = 0);
20
23offer_cancel(Account const& account, std::uint32_t offerSeq);
24
25} // namespace jtx
26} // namespace test
27} // namespace ripple
28
29#endif
Represents a JSON value.
Definition json_value.h:130
Json::Value offer(Account const &account, STAmount const &takerPays, STAmount const &takerGets, std::uint32_t flags)
Create an offer.
Definition offer.cpp:10
Json::Value offer_cancel(Account const &account, std::uint32_t offerSeq)
Cancel an offer.
Definition offer.cpp:27
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6