rippled
Loading...
Searching...
No Matches
test
jtx
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
8
namespace
xrpl
{
9
namespace
test {
10
namespace
jtx {
11
13
Json::Value
14
offer
(Account
const
& account, STAmount
const
& takerPays, STAmount
const
& takerGets,
std::uint32_t
flags = 0);
15
17
Json::Value
18
offer_cancel
(Account
const
& account,
std::uint32_t
offerSeq);
19
20
}
// namespace jtx
21
}
// namespace test
22
}
// namespace xrpl
Json::Value
Represents a JSON value.
Definition
json_value.h:130
std::uint32_t
xrpl::test::jtx::offer_cancel
Json::Value offer_cancel(Account const &account, std::uint32_t offerSeq)
Cancel an offer.
Definition
offer.cpp:23
xrpl::test::jtx::offer
Json::Value offer(Account const &account, STAmount const &takerPays, STAmount const &takerGets, std::uint32_t flags)
Create an offer.
Definition
offer.cpp:10
xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:5
Generated by
1.9.8