This commit is contained in:
ximinez
2026-01-13 11:45:59 -08:00
parent b11f969b45
commit 1ddada986a
624 changed files with 34408 additions and 29463 deletions

View File

@@ -81,11 +81,11 @@ $(document).ready(function() { init_codefold(0); });
<div class="headertitle"><div class="title">DirectStep.cpp</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#include &lt;xrpld/app/paths/Credit.h&gt;</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#include &lt;xrpld/app/paths/detail/StepChecks.h&gt;</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#include &lt;xrpld/app/paths/detail/Steps.h&gt;</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span> </div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include &lt;xrpl/basics/Log.h&gt;</span></div>
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#include &lt;xrpld/app/paths/detail/StepChecks.h&gt;</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#include &lt;xrpld/app/paths/detail/Steps.h&gt;</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include &lt;xrpl/basics/Log.h&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include &lt;xrpl/ledger/Credit.h&gt;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &lt;xrpl/ledger/PaymentSandbox.h&gt;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include &lt;xrpl/protocol/Feature.h&gt;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include &lt;xrpl/protocol/IOUAmount.h&gt;</span></div>
@@ -573,10 +573,10 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00424" name="l00424"></a><span class="lineno"> 424</span> }</div>
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno"> 425</span> </div>
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno"> 426</span> {</div>
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"> 427</span> <span class="keyword">auto</span> <span class="keyword">const</span> owed = <a class="code hl_function" href="namespacexrpl.html#a49370032ac9c5e920f3249ead6b1c89b">creditBalance</a>(ctx.<a class="code hl_variable" href="structxrpl_1_1StrandContext.html#a817d708de9c56a122c4c02bade35909e">view</a>, <a class="code hl_variable" href="classxrpl_1_1DirectStepI.html#ae712f91ef0601b4d5fbd7ae535c2f0d7">dst_</a>, <a class="code hl_variable" href="classxrpl_1_1DirectStepI.html#aa97d15ac4f0320602d740f4ef46edd6b">src_</a>, <a class="code hl_variable" href="classxrpl_1_1DirectStepI.html#ac87c670f2a55c28f8b9d314731f7e9c0">currency_</a>);</div>
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"> 427</span> <span class="keyword">auto</span> <span class="keyword">const</span> owed = <a class="code hl_function" href="namespacexrpl.html#aa02ddd7fd103324c4ac6c80efc16f1bd">creditBalance</a>(ctx.<a class="code hl_variable" href="structxrpl_1_1StrandContext.html#a817d708de9c56a122c4c02bade35909e">view</a>, <a class="code hl_variable" href="classxrpl_1_1DirectStepI.html#ae712f91ef0601b4d5fbd7ae535c2f0d7">dst_</a>, <a class="code hl_variable" href="classxrpl_1_1DirectStepI.html#aa97d15ac4f0320602d740f4ef46edd6b">src_</a>, <a class="code hl_variable" href="classxrpl_1_1DirectStepI.html#ac87c670f2a55c28f8b9d314731f7e9c0">currency_</a>);</div>
<div class="line"><a id="l00428" name="l00428"></a><span class="lineno"> 428</span> <span class="keywordflow">if</span> (owed &lt;= beast::zero)</div>
<div class="line"><a id="l00429" name="l00429"></a><span class="lineno"> 429</span> {</div>
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno"> 430</span> <span class="keyword">auto</span> <span class="keyword">const</span> limit = <a class="code hl_function" href="namespacexrpl.html#a1b74896ada9ca8bd55fcdd18753d09f5">creditLimit</a>(ctx.<a class="code hl_variable" href="structxrpl_1_1StrandContext.html#a817d708de9c56a122c4c02bade35909e">view</a>, <a class="code hl_variable" href="classxrpl_1_1DirectStepI.html#ae712f91ef0601b4d5fbd7ae535c2f0d7">dst_</a>, <a class="code hl_variable" href="classxrpl_1_1DirectStepI.html#aa97d15ac4f0320602d740f4ef46edd6b">src_</a>, <a class="code hl_variable" href="classxrpl_1_1DirectStepI.html#ac87c670f2a55c28f8b9d314731f7e9c0">currency_</a>);</div>
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno"> 430</span> <span class="keyword">auto</span> <span class="keyword">const</span> limit = <a class="code hl_function" href="namespacexrpl.html#a6827ba10f9a74582eb39009494f651a7">creditLimit</a>(ctx.<a class="code hl_variable" href="structxrpl_1_1StrandContext.html#a817d708de9c56a122c4c02bade35909e">view</a>, <a class="code hl_variable" href="classxrpl_1_1DirectStepI.html#ae712f91ef0601b4d5fbd7ae535c2f0d7">dst_</a>, <a class="code hl_variable" href="classxrpl_1_1DirectStepI.html#aa97d15ac4f0320602d740f4ef46edd6b">src_</a>, <a class="code hl_variable" href="classxrpl_1_1DirectStepI.html#ac87c670f2a55c28f8b9d314731f7e9c0">currency_</a>);</div>
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno"> 431</span> <span class="keywordflow">if</span> (-owed &gt;= limit)</div>
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno"> 432</span> {</div>
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno"> 433</span> JLOG(<a class="code hl_variable" href="classxrpl_1_1DirectStepI.html#a9cb599dcc3c34b423800b572b19c26cd">j_</a>.<a class="code hl_function" href="classbeast_1_1Journal.html#a556228cb60bcf405c225d3f64b7b01ae">debug</a>()) &lt;&lt; <span class="stringliteral">&quot;DirectStepI: dry: owed: &quot;</span> &lt;&lt; owed</div>
@@ -610,7 +610,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00457" name="l00457"></a><span class="lineno"><a class="line" href="classxrpl_1_1DirectStepI.html#acb7157ea8b7332c77bfcfd4402cefa51"> 457</a></span><a class="code hl_function" href="classxrpl_1_1DirectStepI.html#acb7157ea8b7332c77bfcfd4402cefa51">DirectStepI&lt;TDerived&gt;::maxPaymentFlow</a>(<a class="code hl_class" href="classxrpl_1_1ReadView.html">ReadView</a> <span class="keyword">const</span>&amp; sb)<span class="keyword"> const</span></div>
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno"> 458</span><span class="keyword"></span>{</div>
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno"> 459</span> <span class="keyword">auto</span> <span class="keyword">const</span> srcOwed = <a class="code hl_function" href="namespacexrpl.html#aca16307bc2bd096a064cbce3af895ac9">toAmount&lt;IOUAmount&gt;</a>(</div>
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno"> 460</span> <a class="code hl_function" href="namespacexrpl.html#a6e690a19f75d02e9bcd802518d58ab2d">accountHolds</a>(sb, src_, currency_, dst_, <a class="code hl_enumvalue" href="namespacexrpl.html#a1751722455e1d7c781d2cc897403a534aeb491d70a36a5ebbcce26afb3d50c868">fhIGNORE_FREEZE</a>, j_));</div>
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno"> 460</span> <a class="code hl_function" href="namespacexrpl.html#a4f5cf1d4503b195f0d8640b978e13edf">accountHolds</a>(sb, src_, currency_, dst_, <a class="code hl_enumvalue" href="namespacexrpl.html#a1751722455e1d7c781d2cc897403a534aeb491d70a36a5ebbcce26afb3d50c868">fhIGNORE_FREEZE</a>, j_));</div>
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno"> 461</span> </div>
<div class="line"><a id="l00462" name="l00462"></a><span class="lineno"> 462</span> <span class="keywordflow">if</span> (srcOwed.signum() &gt; 0)</div>
<div class="line"><a id="l00463" name="l00463"></a><span class="lineno"> 463</span> <span class="keywordflow">return</span> {srcOwed, <a class="code hl_enumvalue" href="namespacexrpl.html#a68545644b747368471f97d17192a054da7e611dd9f79193db43a5e9983752239e">DebtDirection::redeems</a>};</div>
@@ -632,7 +632,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00477" name="l00477"></a><span class="lineno"> 477</span> <span class="keywordflow">return</span> cache_-&gt;srcDebtDir;</div>
<div class="line"><a id="l00478" name="l00478"></a><span class="lineno"> 478</span> </div>
<div class="line"><a id="l00479" name="l00479"></a><span class="lineno"> 479</span> <span class="keyword">auto</span> <span class="keyword">const</span> srcOwed =</div>
<div class="line"><a id="l00480" name="l00480"></a><span class="lineno"> 480</span> <a class="code hl_function" href="namespacexrpl.html#a6e690a19f75d02e9bcd802518d58ab2d">accountHolds</a>(sb, src_, currency_, dst_, <a class="code hl_enumvalue" href="namespacexrpl.html#a1751722455e1d7c781d2cc897403a534aeb491d70a36a5ebbcce26afb3d50c868">fhIGNORE_FREEZE</a>, j_);</div>
<div class="line"><a id="l00480" name="l00480"></a><span class="lineno"> 480</span> <a class="code hl_function" href="namespacexrpl.html#a4f5cf1d4503b195f0d8640b978e13edf">accountHolds</a>(sb, src_, currency_, dst_, <a class="code hl_enumvalue" href="namespacexrpl.html#a1751722455e1d7c781d2cc897403a534aeb491d70a36a5ebbcce26afb3d50c868">fhIGNORE_FREEZE</a>, j_);</div>
<div class="line"><a id="l00481" name="l00481"></a><span class="lineno"> 481</span> <span class="keywordflow">return</span> srcOwed.signum() &gt; 0 ? <a class="code hl_enumvalue" href="namespacexrpl.html#a68545644b747368471f97d17192a054da7e611dd9f79193db43a5e9983752239e">DebtDirection::redeems</a></div>
<div class="line"><a id="l00482" name="l00482"></a><span class="lineno"> 482</span> : <a class="code hl_enumvalue" href="namespacexrpl.html#a68545644b747368471f97d17192a054dafe5fe0415fc3e0ff4942d8454f363d2c">DebtDirection::issues</a>;</div>
<div class="line"><a id="l00483" name="l00483"></a><span class="lineno"> 483</span>}</div>
@@ -1246,15 +1246,14 @@ $(document).ready(function() { init_codefold(0); });
<div class="ttc" id="anamespacexrpl_html_a0a6c86e55d58f0dfb3d535c11e414c72ab73d1fba31ff4030e0b64464fdfc7e89"><div class="ttname"><a href="namespacexrpl.html#a0a6c86e55d58f0dfb3d535c11e414c72ab73d1fba31ff4030e0b64464fdfc7e89">xrpl::terNO_RIPPLE</a></div><div class="ttdeci">@ terNO_RIPPLE</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00205">TER.h:205</a></div></div>
<div class="ttc" id="anamespacexrpl_html_a0a6c86e55d58f0dfb3d535c11e414c72ad71aaf9032f8c48b6fe709fbc44d431e"><div class="ttname"><a href="namespacexrpl.html#a0a6c86e55d58f0dfb3d535c11e414c72ad71aaf9032f8c48b6fe709fbc44d431e">xrpl::terNO_ACCOUNT</a></div><div class="ttdeci">@ terNO_ACCOUNT</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00198">TER.h:198</a></div></div>
<div class="ttc" id="anamespacexrpl_html_a1751722455e1d7c781d2cc897403a534aeb491d70a36a5ebbcce26afb3d50c868"><div class="ttname"><a href="namespacexrpl.html#a1751722455e1d7c781d2cc897403a534aeb491d70a36a5ebbcce26afb3d50c868">xrpl::fhIGNORE_FREEZE</a></div><div class="ttdeci">@ fhIGNORE_FREEZE</div><div class="ttdef"><b>Definition</b> <a href="View_8h_source.html#l00059">View.h:59</a></div></div>
<div class="ttc" id="anamespacexrpl_html_a1b74896ada9ca8bd55fcdd18753d09f5"><div class="ttname"><a href="namespacexrpl.html#a1b74896ada9ca8bd55fcdd18753d09f5">xrpl::creditLimit</a></div><div class="ttdeci">STAmount creditLimit(ReadView const &amp;view, AccountID const &amp;account, AccountID const &amp;issuer, Currency const &amp;currency)</div><div class="ttdoc">Calculate the maximum amount of IOUs that an account can hold.</div><div class="ttdef"><b>Definition</b> <a href="Credit_8cpp_source.html#l00009">Credit.cpp:9</a></div></div>
<div class="ttc" id="anamespacexrpl_html_a35ce7572092b98720a52fa343c6f2fa9"><div class="ttname"><a href="namespacexrpl.html#a35ce7572092b98720a52fa343c6f2fa9">xrpl::to_string</a></div><div class="ttdeci">std::string to_string(base_uint&lt; Bits, Tag &gt; const &amp;a)</div><div class="ttdef"><b>Definition</b> <a href="base__uint_8h_source.html#l00611">base_uint.h:611</a></div></div>
<div class="ttc" id="anamespacexrpl_html_a40e86ef937741d6bead51310df36a89e"><div class="ttname"><a href="namespacexrpl.html#a40e86ef937741d6bead51310df36a89e">xrpl::toSTAmount</a></div><div class="ttdeci">STAmount toSTAmount(IOUAmount const &amp;iou, Issue const &amp;iss)</div><div class="ttdef"><b>Definition</b> <a href="AmountConversions_8h_source.html#l00013">AmountConversions.h:13</a></div></div>
<div class="ttc" id="anamespacexrpl_html_a48cab8527194fbd1cfdacad90f977cf1ad82c16daf201b77d0d1b97acb35467da"><div class="ttname"><a href="namespacexrpl.html#a48cab8527194fbd1cfdacad90f977cf1ad82c16daf201b77d0d1b97acb35467da">xrpl::tefINTERNAL</a></div><div class="ttdeci">@ tefINTERNAL</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00154">TER.h:154</a></div></div>
<div class="ttc" id="anamespacexrpl_html_a49370032ac9c5e920f3249ead6b1c89b"><div class="ttname"><a href="namespacexrpl.html#a49370032ac9c5e920f3249ead6b1c89b">xrpl::creditBalance</a></div><div class="ttdeci">STAmount creditBalance(ReadView const &amp;view, AccountID const &amp;account, AccountID const &amp;issuer, Currency const &amp;currency)</div><div class="ttdoc">Returns the amount of IOUs issued by issuer that are held by an account.</div><div class="ttdef"><b>Definition</b> <a href="Credit_8cpp_source.html#l00046">Credit.cpp:46</a></div></div>
<div class="ttc" id="anamespacexrpl_html_a4f5cf1d4503b195f0d8640b978e13edf"><div class="ttname"><a href="namespacexrpl.html#a4f5cf1d4503b195f0d8640b978e13edf">xrpl::accountHolds</a></div><div class="ttdeci">STAmount accountHolds(ReadView const &amp;view, AccountID const &amp;account, Currency const &amp;currency, AccountID const &amp;issuer, FreezeHandling zeroIfFrozen, beast::Journal j, SpendableHandling includeFullBalance=shSIMPLE_BALANCE)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l00462">View.cpp:462</a></div></div>
<div class="ttc" id="anamespacexrpl_html_a6827ba10f9a74582eb39009494f651a7"><div class="ttname"><a href="namespacexrpl.html#a6827ba10f9a74582eb39009494f651a7">xrpl::creditLimit</a></div><div class="ttdeci">STAmount creditLimit(ReadView const &amp;view, AccountID const &amp;account, AccountID const &amp;issuer, Currency const &amp;currency)</div><div class="ttdoc">Calculate the maximum amount of IOUs that an account can hold.</div><div class="ttdef"><b>Definition</b> <a href="Credit_8cpp_source.html#l00009">Credit.cpp:9</a></div></div>
<div class="ttc" id="anamespacexrpl_html_a68545644b747368471f97d17192a054d"><div class="ttname"><a href="namespacexrpl.html#a68545644b747368471f97d17192a054d">xrpl::DebtDirection</a></div><div class="ttdeci">DebtDirection</div><div class="ttdef"><b>Definition</b> <a href="Steps_8h_source.html#l00023">Steps.h:23</a></div></div>
<div class="ttc" id="anamespacexrpl_html_a68545644b747368471f97d17192a054da7e611dd9f79193db43a5e9983752239e"><div class="ttname"><a href="namespacexrpl.html#a68545644b747368471f97d17192a054da7e611dd9f79193db43a5e9983752239e">xrpl::DebtDirection::redeems</a></div><div class="ttdeci">@ redeems</div></div>
<div class="ttc" id="anamespacexrpl_html_a68545644b747368471f97d17192a054dafe5fe0415fc3e0ff4942d8454f363d2c"><div class="ttname"><a href="namespacexrpl.html#a68545644b747368471f97d17192a054dafe5fe0415fc3e0ff4942d8454f363d2c">xrpl::DebtDirection::issues</a></div><div class="ttdeci">@ issues</div></div>
<div class="ttc" id="anamespacexrpl_html_a6e690a19f75d02e9bcd802518d58ab2d"><div class="ttname"><a href="namespacexrpl.html#a6e690a19f75d02e9bcd802518d58ab2d">xrpl::accountHolds</a></div><div class="ttdeci">STAmount accountHolds(ReadView const &amp;view, AccountID const &amp;account, Currency const &amp;currency, AccountID const &amp;issuer, FreezeHandling zeroIfFrozen, beast::Journal j)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l00461">View.cpp:461</a></div></div>
<div class="ttc" id="anamespacexrpl_html_a79a793a19f9bf2aad6e7b82772743ae8"><div class="ttname"><a href="namespacexrpl.html#a79a793a19f9bf2aad6e7b82772743ae8">xrpl::StrandDirection</a></div><div class="ttdeci">StrandDirection</div><div class="ttdef"><b>Definition</b> <a href="Steps_8h_source.html#l00025">Steps.h:25</a></div></div>
<div class="ttc" id="anamespacexrpl_html_a79a793a19f9bf2aad6e7b82772743ae8a4d9c2073afa3c2abb817dceb22c34de6"><div class="ttname"><a href="namespacexrpl.html#a79a793a19f9bf2aad6e7b82772743ae8a4d9c2073afa3c2abb817dceb22c34de6">xrpl::StrandDirection::reverse</a></div><div class="ttdeci">@ reverse</div></div>
<div class="ttc" id="anamespacexrpl_html_a79a793a19f9bf2aad6e7b82772743ae8a965dbaac085fc891bfbbd4f9d145bbc8"><div class="ttname"><a href="namespacexrpl.html#a79a793a19f9bf2aad6e7b82772743ae8a965dbaac085fc891bfbbd4f9d145bbc8">xrpl::StrandDirection::forward</a></div><div class="ttdeci">@ forward</div></div>
@@ -1263,8 +1262,9 @@ $(document).ready(function() { init_codefold(0); });
<div class="ttc" id="anamespacexrpl_html_a8c276c0296ec751cf0e0eb51dbc7f72da13b5bfe96f3e2fe411c9f66f4a582adf"><div class="ttname"><a href="namespacexrpl.html#a8c276c0296ec751cf0e0eb51dbc7f72da13b5bfe96f3e2fe411c9f66f4a582adf">xrpl::QualityDirection::in</a></div><div class="ttdeci">@ in</div></div>
<div class="ttc" id="anamespacexrpl_html_a8c276c0296ec751cf0e0eb51dbc7f72dac68271a63ddbc431c307beb7d2918275"><div class="ttname"><a href="namespacexrpl.html#a8c276c0296ec751cf0e0eb51dbc7f72dac68271a63ddbc431c307beb7d2918275">xrpl::QualityDirection::out</a></div><div class="ttdeci">@ out</div></div>
<div class="ttc" id="anamespacexrpl_html_a95cb9e673d3664d7921976d476b2479d"><div class="ttname"><a href="namespacexrpl.html#a95cb9e673d3664d7921976d476b2479d">xrpl::mulRatio</a></div><div class="ttdeci">IOUAmount mulRatio(IOUAmount const &amp;amt, std::uint32_t num, std::uint32_t den, bool roundUp)</div><div class="ttdef"><b>Definition</b> <a href="IOUAmount_8cpp_source.html#l00171">IOUAmount.cpp:171</a></div></div>
<div class="ttc" id="anamespacexrpl_html_a986de5f13b12ee8a23b63d3f400f6a6a"><div class="ttname"><a href="namespacexrpl.html#a986de5f13b12ee8a23b63d3f400f6a6a">xrpl::transferRate</a></div><div class="ttdeci">Rate transferRate(ReadView const &amp;view, AccountID const &amp;issuer)</div><div class="ttdoc">Returns IOU issuer transfer fee as Rate.</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l00864">View.cpp:864</a></div></div>
<div class="ttc" id="anamespacexrpl_html_a986de5f13b12ee8a23b63d3f400f6a6a"><div class="ttname"><a href="namespacexrpl.html#a986de5f13b12ee8a23b63d3f400f6a6a">xrpl::transferRate</a></div><div class="ttdeci">Rate transferRate(ReadView const &amp;view, AccountID const &amp;issuer)</div><div class="ttdoc">Returns IOU issuer transfer fee as Rate.</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l00820">View.cpp:820</a></div></div>
<div class="ttc" id="anamespacexrpl_html_aa015618994b0cce328fc694674888af9"><div class="ttname"><a href="namespacexrpl.html#aa015618994b0cce328fc694674888af9">xrpl::checkFreeze</a></div><div class="ttdeci">TER checkFreeze(ReadView const &amp;view, AccountID const &amp;src, AccountID const &amp;dst, Currency const &amp;currency)</div><div class="ttdef"><b>Definition</b> <a href="StepChecks_8h_source.html#l00014">StepChecks.h:14</a></div></div>
<div class="ttc" id="anamespacexrpl_html_aa02ddd7fd103324c4ac6c80efc16f1bd"><div class="ttname"><a href="namespacexrpl.html#aa02ddd7fd103324c4ac6c80efc16f1bd">xrpl::creditBalance</a></div><div class="ttdeci">STAmount creditBalance(ReadView const &amp;view, AccountID const &amp;account, AccountID const &amp;issuer, Currency const &amp;currency)</div><div class="ttdoc">Returns the amount of IOUs issued by issuer that are held by an account.</div><div class="ttdef"><b>Definition</b> <a href="Credit_8cpp_source.html#l00046">Credit.cpp:46</a></div></div>
<div class="ttc" id="anamespacexrpl_html_aa06bc7c24be6a54510ae1fe4c78351c7"><div class="ttname"><a href="namespacexrpl.html#aa06bc7c24be6a54510ae1fe4c78351c7">xrpl::getRate</a></div><div class="ttdeci">std::uint64_t getRate(STAmount const &amp;offerOut, STAmount const &amp;offerIn)</div><div class="ttdef"><b>Definition</b> <a href="STAmount_8cpp_source.html#l00443">STAmount.cpp:443</a></div></div>
<div class="ttc" id="anamespacexrpl_html_aa0c071fe3b43f5e8d039a58558aed77d"><div class="ttname"><a href="namespacexrpl.html#aa0c071fe3b43f5e8d039a58558aed77d">xrpl::make_DirectStepI</a></div><div class="ttdeci">std::pair&lt; TER, std::unique_ptr&lt; Step &gt; &gt; make_DirectStepI(StrandContext const &amp;ctx, AccountID const &amp;src, AccountID const &amp;dst, Currency const &amp;c)</div><div class="ttdef"><b>Definition</b> <a href="DirectStep_8cpp_source.html#l00950">DirectStep.cpp:950</a></div></div>
<div class="ttc" id="anamespacexrpl_html_aab50bc6507009d86015fe364757d6bf8"><div class="ttname"><a href="namespacexrpl.html#aab50bc6507009d86015fe364757d6bf8">xrpl::checkNear</a></div><div class="ttdeci">bool checkNear(IOUAmount const &amp;expected, IOUAmount const &amp;actual)</div><div class="ttdef"><b>Definition</b> <a href="PaySteps_8cpp_source.html#l00015">PaySteps.cpp:15</a></div></div>
@@ -1279,7 +1279,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="ttc" id="anamespacexrpl_html_ada4805619214865518ed8c0b54a71bc1ac3365ef8ec7d885fbfa5217d05c2c346"><div class="ttname"><a href="namespacexrpl.html#ada4805619214865518ed8c0b54a71bc1ac3365ef8ec7d885fbfa5217d05c2c346">xrpl::lsfHighNoRipple</a></div><div class="ttdeci">@ lsfHighNoRipple</div><div class="ttdef"><b>Definition</b> <a href="LedgerFormats_8h_source.html#l00145">LedgerFormats.h:145</a></div></div>
<div class="ttc" id="anamespacexrpl_html_ada4805619214865518ed8c0b54a71bc1aefa8ce9e509559a2073b2134e992113f"><div class="ttname"><a href="namespacexrpl.html#ada4805619214865518ed8c0b54a71bc1aefa8ce9e509559a2073b2134e992113f">xrpl::lsfHighAuth</a></div><div class="ttdeci">@ lsfHighAuth</div><div class="ttdef"><b>Definition</b> <a href="LedgerFormats_8h_source.html#l00143">LedgerFormats.h:143</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af4adbbe94a1cecf1bd3ad2c76ff1ea3da157dace29a657c58cdeb4f7fa19be976"><div class="ttname"><a href="namespacexrpl.html#af4adbbe94a1cecf1bd3ad2c76ff1ea3da157dace29a657c58cdeb4f7fa19be976">xrpl::tesSUCCESS</a></div><div class="ttdeci">@ tesSUCCESS</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00227">TER.h:226</a></div></div>
<div class="ttc" id="anamespacexrpl_html_afa8dc3855d56c8c966efa9fec5e42621"><div class="ttname"><a href="namespacexrpl.html#afa8dc3855d56c8c966efa9fec5e42621">xrpl::rippleCredit</a></div><div class="ttdeci">TER rippleCredit(ApplyView &amp;view, AccountID const &amp;uSenderID, AccountID const &amp;uReceiverID, STAmount const &amp;saAmount, bool bCheckIssuer, beast::Journal j)</div><div class="ttdoc">Calls static rippleCreditIOU if saAmount represents Issue.</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l03513">View.cpp:3513</a></div></div>
<div class="ttc" id="anamespacexrpl_html_afa8dc3855d56c8c966efa9fec5e42621"><div class="ttname"><a href="namespacexrpl.html#afa8dc3855d56c8c966efa9fec5e42621">xrpl::rippleCredit</a></div><div class="ttdeci">TER rippleCredit(ApplyView &amp;view, AccountID const &amp;uSenderID, AccountID const &amp;uReceiverID, STAmount const &amp;saAmount, bool bCheckIssuer, beast::Journal j)</div><div class="ttdoc">Calls static rippleCreditIOU if saAmount represents Issue.</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l03516">View.cpp:3516</a></div></div>
<div class="ttc" id="anumeric_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/numeric.html">numeric</a></div></div>
<div class="ttc" id="aoptional_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a></div></div>
<div class="ttc" id="apair_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a></div></div>