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(Account const& account, STAmount const& takerPays, STAmount const& takerGets, std::uint32_t flags = 0);
15
18offer_cancel(Account const& account, std::uint32_t offerSeq);
19
20} // namespace jtx
21} // namespace test
22} // 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:23
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