rippled
Loading...
Searching...
No Matches
Flow.h
1#pragma once
2
3#include <xrpl/protocol/Quality.h>
4#include <xrpl/tx/paths/RippleCalc.h>
5#include <xrpl/tx/paths/detail/Steps.h>
6
7namespace xrpl {
8
9namespace path {
10namespace detail {
11struct FlowDebugInfo;
12} // namespace detail
13} // namespace path
14
35path::RippleCalc::Output
36flow(
37 PaymentSandbox& view,
38 STAmount const& deliver,
39 AccountID const& src,
40 AccountID const& dst,
41 STPathSet const& paths,
42 bool defaultPaths,
43 bool partialPayment,
44 bool ownerPaysTransferFee,
45 OfferCrossing offerCrossing,
46 std::optional<Quality> const& limitQuality,
47 std::optional<STAmount> const& sendMax,
48 std::optional<uint256> const& domainID,
50 path::detail::FlowDebugInfo* flowDebugInfo = nullptr);
51
52} // 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:82
OfferCrossing
Definition Steps.h:24