xrpld
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::test::jtx {
9
11json::Value
12offer(
13 Account const& account,
14 STAmount const& takerPays,
15 STAmount const& takerGets,
16 std::uint32_t flags = 0);
17
19json::Value
20offerCancel(Account const& account, std::uint32_t offerSeq);
21
22} // namespace xrpl::test::jtx
Immutable cryptographic account descriptor.
Definition jtx/Account.h:17
json::Value offerCancel(Account const &account, std::uint32_t offerSeq)
Cancel an offer.
Definition offer.cpp:31
json::Value offer(Account const &account, STAmount const &takerPays, STAmount const &takerGets, std::uint32_t flags)
Create an offer.
Definition offer.cpp:14