xrpld
Loading...
Searching...
No Matches
include
xrpl
tx
paths
Flow.h
1
#pragma once
2
3
#include <xrpl/basics/base_uint.h>
4
#include <xrpl/beast/utility/Journal.h>
5
#include <xrpl/protocol/AccountID.h>
6
#include <xrpl/protocol/Quality.h>
7
#include <xrpl/protocol/STAmount.h>
8
#include <xrpl/protocol/STPathSet.h>
9
#include <xrpl/tx/paths/RippleCalc.h>
10
#include <xrpl/tx/paths/detail/Steps.h>
11
12
#include <
optional
>
13
14
namespace
xrpl
{
15
16
namespace
path::detail
{
17
struct
FlowDebugInfo
;
18
}
// namespace path::detail
19
40
path::RippleCalc::Output
41
flow
(
42
PaymentSandbox
& view,
43
STAmount
const
& deliver,
44
AccountID
const
& src,
45
AccountID
const
& dst,
46
STPathSet
const
& paths,
47
bool
defaultPaths,
48
bool
partialPayment,
49
bool
ownerPaysTransferFee,
50
OfferCrossing
offerCrossing,
51
std::optional<Quality>
const
& limitQuality,
52
std::optional<STAmount>
const
& sendMax,
53
std::optional<uint256>
const
& domainID,
54
beast::Journal j,
55
path::detail::FlowDebugInfo
* flowDebugInfo =
nullptr
);
56
57
}
// namespace xrpl
xrpl::PaymentSandbox
A wrapper which makes credits unavailable to balances.
Definition
PaymentSandbox.h:149
xrpl::STAmount
Definition
STAmount.h:46
xrpl::STPathSet
Definition
STPathSet.h:189
xrpl::path::detail
Definition
FlowDebugInfo.h:21
xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:5
xrpl::flow
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:103
xrpl::AccountID
BaseUInt< 160, detail::AccountIDTag > AccountID
A 160-bit unsigned that uniquely identifies an account.
Definition
AccountID.h:34
xrpl::OfferCrossing
OfferCrossing
Definition
Steps.h:38
optional
xrpl::path::RippleCalc::Output
Definition
RippleCalc.h:42
xrpl::path::detail::FlowDebugInfo
Definition
FlowDebugInfo.h:24
Generated by
1.16.1