This commit is contained in:
bthomee
2025-10-13 07:59:26 -07:00
parent 4aaf7703d2
commit 940050298d
174 changed files with 10473 additions and 10348 deletions

View File

@@ -444,9 +444,9 @@ $(document).ready(function() { init_codefold(0); });
<div class="ttc" id="aclassripple_1_1AMMClawback_html_a81351d30eff66cec6858aa664b961fc7"><div class="ttname"><a href="classripple_1_1AMMClawback.html#a81351d30eff66cec6858aa664b961fc7">ripple::AMMClawback::preflight</a></div><div class="ttdeci">static NotTEC preflight(PreflightContext const &amp;ctx)</div><div class="ttdef"><b>Definition</b> <a href="AMMClawback_8cpp_source.html#l00043">AMMClawback.cpp:43</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMClawback_html_aace60cabd38c9365446f5254cb1c7ec7"><div class="ttname"><a href="classripple_1_1AMMClawback.html#aace60cabd38c9365446f5254cb1c7ec7">ripple::AMMClawback::preclaim</a></div><div class="ttdeci">static TER preclaim(PreclaimContext const &amp;ctx)</div><div class="ttdef"><b>Definition</b> <a href="AMMClawback_8cpp_source.html#l00093">AMMClawback.cpp:93</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMClawback_html_aed580c876c05c5630e6da8601f4281bc"><div class="ttname"><a href="classripple_1_1AMMClawback.html#aed580c876c05c5630e6da8601f4281bc">ripple::AMMClawback::equalWithdrawMatchingOneAmount</a></div><div class="ttdeci">std::tuple&lt; TER, STAmount, STAmount, std::optional&lt; STAmount &gt; &gt; equalWithdrawMatchingOneAmount(Sandbox &amp;view, SLE const &amp;ammSle, AccountID const &amp;holder, AccountID const &amp;ammAccount, STAmount const &amp;amountBalance, STAmount const &amp;amount2Balance, STAmount const &amp;lptAMMBalance, STAmount const &amp;holdLPtokens, STAmount const &amp;amount)</div><div class="ttdoc">Withdraw both assets by providing maximum amount of asset1, asset2's amount will be calculated accord...</div><div class="ttdef"><b>Definition</b> <a href="AMMClawback_8cpp_source.html#l00251">AMMClawback.cpp:251</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMWithdraw_html_a64842cf86a14dfe5dcc9019eb55511d0"><div class="ttname"><a href="classripple_1_1AMMWithdraw.html#a64842cf86a14dfe5dcc9019eb55511d0">ripple::AMMWithdraw::equalWithdrawTokens</a></div><div class="ttdeci">static std::tuple&lt; TER, STAmount, STAmount, std::optional&lt; STAmount &gt; &gt; equalWithdrawTokens(Sandbox &amp;view, SLE const &amp;ammSle, AccountID const account, AccountID const &amp;ammAccount, STAmount const &amp;amountBalance, STAmount const &amp;amount2Balance, STAmount const &amp;lptAMMBalance, STAmount const &amp;lpTokens, STAmount const &amp;lpTokensWithdraw, std::uint16_t tfee, FreezeHandling freezeHanding, WithdrawAll withdrawAll, XRPAmount const &amp;priorBalance, beast::Journal const &amp;journal)</div><div class="ttdoc">Equal-asset withdrawal (LPTokens) of some AMM instance pools shares represented by the number of LPTo...</div><div class="ttdef"><b>Definition</b> <a href="AMMWithdraw_8cpp_source.html#l00751">AMMWithdraw.cpp:751</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMWithdraw_html_ab62952f0d0ed8f24c7a5dddcbbc5c9ae"><div class="ttname"><a href="classripple_1_1AMMWithdraw.html#ab62952f0d0ed8f24c7a5dddcbbc5c9ae">ripple::AMMWithdraw::deleteAMMAccountIfEmpty</a></div><div class="ttdeci">static std::pair&lt; TER, bool &gt; deleteAMMAccountIfEmpty(Sandbox &amp;sb, std::shared_ptr&lt; SLE &gt; const ammSle, STAmount const &amp;lpTokenBalance, Issue const &amp;issue1, Issue const &amp;issue2, beast::Journal const &amp;journal)</div><div class="ttdef"><b>Definition</b> <a href="AMMWithdraw_8cpp_source.html#l00720">AMMWithdraw.cpp:720</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMWithdraw_html_ad1c31e18b3be405513e9e68004e72f09"><div class="ttname"><a href="classripple_1_1AMMWithdraw.html#ad1c31e18b3be405513e9e68004e72f09">ripple::AMMWithdraw::withdraw</a></div><div class="ttdeci">static std::tuple&lt; TER, STAmount, STAmount, std::optional&lt; STAmount &gt; &gt; withdraw(Sandbox &amp;view, SLE const &amp;ammSle, AccountID const &amp;ammAccount, AccountID const &amp;account, STAmount const &amp;amountBalance, STAmount const &amp;amountWithdraw, std::optional&lt; STAmount &gt; const &amp;amount2Withdraw, STAmount const &amp;lpTokensAMMBalance, STAmount const &amp;lpTokensWithdraw, std::uint16_t tfee, FreezeHandling freezeHandling, WithdrawAll withdrawAll, XRPAmount const &amp;priorBalance, beast::Journal const &amp;journal)</div><div class="ttdoc">Withdraw requested assets and token from AMM into LP account.</div><div class="ttdef"><b>Definition</b> <a href="AMMWithdraw_8cpp_source.html#l00469">AMMWithdraw.cpp:469</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMWithdraw_html_a64842cf86a14dfe5dcc9019eb55511d0"><div class="ttname"><a href="classripple_1_1AMMWithdraw.html#a64842cf86a14dfe5dcc9019eb55511d0">ripple::AMMWithdraw::equalWithdrawTokens</a></div><div class="ttdeci">static std::tuple&lt; TER, STAmount, STAmount, std::optional&lt; STAmount &gt; &gt; equalWithdrawTokens(Sandbox &amp;view, SLE const &amp;ammSle, AccountID const account, AccountID const &amp;ammAccount, STAmount const &amp;amountBalance, STAmount const &amp;amount2Balance, STAmount const &amp;lptAMMBalance, STAmount const &amp;lpTokens, STAmount const &amp;lpTokensWithdraw, std::uint16_t tfee, FreezeHandling freezeHanding, WithdrawAll withdrawAll, XRPAmount const &amp;priorBalance, beast::Journal const &amp;journal)</div><div class="ttdoc">Equal-asset withdrawal (LPTokens) of some AMM instance pools shares represented by the number of LPTo...</div><div class="ttdef"><b>Definition</b> <a href="AMMWithdraw_8cpp_source.html#l00753">AMMWithdraw.cpp:753</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMWithdraw_html_ab62952f0d0ed8f24c7a5dddcbbc5c9ae"><div class="ttname"><a href="classripple_1_1AMMWithdraw.html#ab62952f0d0ed8f24c7a5dddcbbc5c9ae">ripple::AMMWithdraw::deleteAMMAccountIfEmpty</a></div><div class="ttdeci">static std::pair&lt; TER, bool &gt; deleteAMMAccountIfEmpty(Sandbox &amp;sb, std::shared_ptr&lt; SLE &gt; const ammSle, STAmount const &amp;lpTokenBalance, Issue const &amp;issue1, Issue const &amp;issue2, beast::Journal const &amp;journal)</div><div class="ttdef"><b>Definition</b> <a href="AMMWithdraw_8cpp_source.html#l00722">AMMWithdraw.cpp:722</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMWithdraw_html_ad1c31e18b3be405513e9e68004e72f09"><div class="ttname"><a href="classripple_1_1AMMWithdraw.html#ad1c31e18b3be405513e9e68004e72f09">ripple::AMMWithdraw::withdraw</a></div><div class="ttdeci">static std::tuple&lt; TER, STAmount, STAmount, std::optional&lt; STAmount &gt; &gt; withdraw(Sandbox &amp;view, SLE const &amp;ammSle, AccountID const &amp;ammAccount, AccountID const &amp;account, STAmount const &amp;amountBalance, STAmount const &amp;amountWithdraw, std::optional&lt; STAmount &gt; const &amp;amount2Withdraw, STAmount const &amp;lpTokensAMMBalance, STAmount const &amp;lpTokensWithdraw, std::uint16_t tfee, FreezeHandling freezeHandling, WithdrawAll withdrawAll, XRPAmount const &amp;priorBalance, beast::Journal const &amp;journal)</div><div class="ttdoc">Withdraw requested assets and token from AMM into LP account.</div><div class="ttdef"><b>Definition</b> <a href="AMMWithdraw_8cpp_source.html#l00471">AMMWithdraw.cpp:471</a></div></div>
<div class="ttc" id="aclassripple_1_1ApplyContext_html_a1e569090b00ae5425ebb48c1befe794f"><div class="ttname"><a href="classripple_1_1ApplyContext.html#a1e569090b00ae5425ebb48c1befe794f">ripple::ApplyContext::rawView</a></div><div class="ttdeci">RawView &amp; rawView()</div><div class="ttdef"><b>Definition</b> <a href="ApplyContext_8h_source.html#l00091">ApplyContext.h:91</a></div></div>
<div class="ttc" id="aclassripple_1_1ApplyContext_html_a44c249b16b2cedb1224a96592407558d"><div class="ttname"><a href="classripple_1_1ApplyContext.html#a44c249b16b2cedb1224a96592407558d">ripple::ApplyContext::view</a></div><div class="ttdeci">ApplyView &amp; view()</div><div class="ttdef"><b>Definition</b> <a href="ApplyContext_8h_source.html#l00078">ApplyContext.h:78</a></div></div>
<div class="ttc" id="aclassripple_1_1ApplyContext_html_a7b78c8e924babce4d14359970f55ba02"><div class="ttname"><a href="classripple_1_1ApplyContext.html#a7b78c8e924babce4d14359970f55ba02">ripple::ApplyContext::journal</a></div><div class="ttdeci">beast::Journal const journal</div><div class="ttdef"><b>Definition</b> <a href="ApplyContext_8h_source.html#l00075">ApplyContext.h:75</a></div></div>
@@ -492,7 +492,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="ttc" id="anamespaceripple_html_aa298e929e02f59c2b05a30ee8805b38ca9af7057961bc54674f4a6c2dd8ed6ab9"><div class="ttname"><a href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38ca9af7057961bc54674f4a6c2dd8ed6ab9">ripple::tecNO_PERMISSION</a></div><div class="ttdeci">@ tecNO_PERMISSION</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00305">TER.h:305</a></div></div>
<div class="ttc" id="anamespaceripple_html_aa298e929e02f59c2b05a30ee8805b38cae04fb0979694245c81c59f9cb35181e9"><div class="ttname"><a href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38cae04fb0979694245c81c59f9cb35181e9">ripple::tecAMM_INVALID_TOKENS</a></div><div class="ttdeci">@ tecAMM_INVALID_TOKENS</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00331">TER.h:331</a></div></div>
<div class="ttc" id="anamespaceripple_html_aa298e929e02f59c2b05a30ee8805b38cae64cec73f40a04653c193fbee09733c5"><div class="ttname"><a href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38cae64cec73f40a04653c193fbee09733c5">ripple::tecAMM_BALANCE</a></div><div class="ttdeci">@ tecAMM_BALANCE</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00329">TER.h:329</a></div></div>
<div class="ttc" id="anamespaceripple_html_aa41db33791d7383170c31ad3910bcb33"><div class="ttname"><a href="namespaceripple.html#aa41db33791d7383170c31ad3910bcb33">ripple::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#l02833">View.cpp:2833</a></div></div>
<div class="ttc" id="anamespaceripple_html_aa41db33791d7383170c31ad3910bcb33"><div class="ttname"><a href="namespaceripple.html#aa41db33791d7383170c31ad3910bcb33">ripple::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#l02850">View.cpp:2850</a></div></div>
<div class="ttc" id="anamespaceripple_html_aa9819bf6e2ef44707a0144da6c874890abafd7322c6e97d25b6299b5d6fe8920b"><div class="ttname"><a href="namespaceripple.html#aa9819bf6e2ef44707a0144da6c874890abafd7322c6e97d25b6299b5d6fe8920b">ripple::IsDeposit::No</a></div><div class="ttdeci">@ No</div></div>
<div class="ttc" id="anamespaceripple_html_aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151"><div class="ttname"><a href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">ripple::tesSUCCESS</a></div><div class="ttdeci">@ tesSUCCESS</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00245">TER.h:244</a></div></div>
<div class="ttc" id="anamespaceripple_html_ab656cc4e3a94b007e52a53420c2d2460"><div class="ttname"><a href="namespaceripple.html#ab656cc4e3a94b007e52a53420c2d2460">ripple::ammHolds</a></div><div class="ttdeci">Expected&lt; std::tuple&lt; STAmount, STAmount, STAmount &gt;, TER &gt; ammHolds(ReadView const &amp;view, SLE const &amp;ammSle, std::optional&lt; Issue &gt; const &amp;optIssue1, std::optional&lt; Issue &gt; const &amp;optIssue2, FreezeHandling freezeHandling, beast::Journal const j)</div><div class="ttdoc">Get AMM pool and LP token balances.</div><div class="ttdef"><b>Definition</b> <a href="AMMUtils_8cpp_source.html#l00047">AMMUtils.cpp:47</a></div></div>