rippled
Loading...
Searching...
No Matches
Flow.h
1#pragma once
2
3#include <xrpld/app/paths/RippleCalc.h>
4#include <xrpld/app/paths/detail/Steps.h>
5
6#include <xrpl/protocol/Quality.h>
7
8namespace xrpl {
9
10namespace path {
11namespace detail {
12struct FlowDebugInfo;
13}
14} // namespace path
15
36path::RippleCalc::Output
37flow(
38 PaymentSandbox& view,
39 STAmount const& deliver,
40 AccountID const& src,
41 AccountID const& dst,
42 STPathSet const& paths,
43 bool defaultPaths,
44 bool partialPayment,
45 bool ownerPaysTransferFee,
46 OfferCrossing offerCrossing,
47 std::optional<Quality> const& limitQuality,
48 std::optional<STAmount> const& sendMax,
49 std::optional<uint256> const& domainID,
51 path::detail::FlowDebugInfo* flowDebugInfo = nullptr);
52
53} // namespace xrpl
A generic endpoint for log messages.
Definition Journal.h:40
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
base_uint< 160, detail::AccountIDTag > AccountID
A 160-bit unsigned that uniquely identifies an account.
Definition AccountID.h:28
StrandResult< TInAmt, TOutAmt > flow(PaymentSandbox const &baseView, Strand const &strand, std::optional< TInAmt > const &maxIn, TOutAmt const &out, beast::Journal j)
Request out amount from a strand.
Definition StrandFlow.h:81
OfferCrossing
Definition Steps.h:25