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