This commit is contained in:
bthomee
2026-02-16 11:34:23 -08:00
parent 950032c39d
commit 04dc563825
454 changed files with 32219 additions and 32060 deletions

View File

@@ -513,7 +513,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="ttc" id="anamespacexrpl_html_a9642f0a8b029845edff291f4e3fe2166"><div class="ttname"><a href="namespacexrpl.html#a9642f0a8b029845edff291f4e3fe2166">xrpl::getRoundedAsset</a></div><div class="ttdeci">STAmount getRoundedAsset(Rules const &amp;rules, STAmount const &amp;balance, A const &amp;frac, IsDeposit isDeposit)</div><div class="ttdoc">Round AMM equal deposit/withdrawal amount.</div><div class="ttdef"><b>Definition</b> <a href="AMMHelpers_8h_source.html#l00596">AMMHelpers.h:596</a></div></div>
<div class="ttc" id="anamespacexrpl_html_aa0a361beb4e49cb6a4653ec984d997dc"><div class="ttname"><a href="namespacexrpl.html#aa0a361beb4e49cb6a4653ec984d997dc">xrpl::feeMult</a></div><div class="ttdeci">Number feeMult(std::uint16_t tfee)</div><div class="ttdoc">Get fee multiplier (1 - tfee) @tfee trading fee in basis points.</div><div class="ttdef"><b>Definition</b> <a href="AMMCore_8h_source.html#l00084">AMMCore.h:84</a></div></div>
<div class="ttc" id="anamespacexrpl_html_aa9ebaa68ee1380436934e0e1ab2068b2"><div class="ttname"><a href="namespacexrpl.html#aa9ebaa68ee1380436934e0e1ab2068b2">xrpl::solveQuadraticEqSmallest</a></div><div class="ttdeci">std::optional&lt; Number &gt; solveQuadraticEqSmallest(Number const &amp;a, Number const &amp;b, Number const &amp;c)</div><div class="ttdoc">Solve quadratic equation to find takerGets or takerPays.</div><div class="ttdef"><b>Definition</b> <a href="AMMHelpers_8cpp_source.html#l00225">AMMHelpers.cpp:225</a></div></div>
<div class="ttc" id="anamespacexrpl_html_ab334d11f65b71b91e2c6c907090398cb"><div class="ttname"><a href="namespacexrpl.html#ab334d11f65b71b91e2c6c907090398cb">xrpl::root2</a></div><div class="ttdeci">Number root2(Number f)</div><div class="ttdef"><b>Definition</b> <a href="Number_8cpp_source.html#l01010">Number.cpp:1010</a></div></div>
<div class="ttc" id="anamespacexrpl_html_ab334d11f65b71b91e2c6c907090398cb"><div class="ttname"><a href="namespacexrpl.html#ab334d11f65b71b91e2c6c907090398cb">xrpl::root2</a></div><div class="ttdeci">Number root2(Number f)</div><div class="ttdef"><b>Definition</b> <a href="Number_8cpp_source.html#l01011">Number.cpp:1011</a></div></div>
<div class="ttc" id="anamespacexrpl_html_abdbadb99f2819d335af25338059c024d"><div class="ttname"><a href="namespacexrpl.html#abdbadb99f2819d335af25338059c024d">xrpl::ammAssetIn</a></div><div class="ttdeci">STAmount ammAssetIn(STAmount const &amp;asset1Balance, STAmount const &amp;lptAMMBalance, STAmount const &amp;lpTokens, std::uint16_t tfee)</div><div class="ttdoc">Calculate asset deposit given LP Tokens.</div><div class="ttdef"><b>Definition</b> <a href="AMMHelpers_8cpp_source.html#l00057">AMMHelpers.cpp:57</a></div></div>
<div class="ttc" id="anamespacexrpl_html_ac53efcd7320c16cbf784266098ebf0e7"><div class="ttname"><a href="namespacexrpl.html#ac53efcd7320c16cbf784266098ebf0e7">xrpl::adjustAmountsByLPTokens</a></div><div class="ttdeci">std::tuple&lt; STAmount, std::optional&lt; STAmount &gt;, STAmount &gt; adjustAmountsByLPTokens(STAmount const &amp;amountBalance, STAmount const &amp;amount, std::optional&lt; STAmount &gt; const &amp;amount2, STAmount const &amp;lptAMMBalance, STAmount const &amp;lpTokens, std::uint16_t tfee, IsDeposit isDeposit)</div><div class="ttdoc">Calls adjustLPTokens() and adjusts deposit or withdraw amounts if the adjusted LP tokens are less tha...</div><div class="ttdef"><b>Definition</b> <a href="AMMHelpers_8cpp_source.html#l00152">AMMHelpers.cpp:152</a></div></div>
<div class="ttc" id="anamespacexrpl_html_acbd9269cc6ee148cc8fe816d4f57a399"><div class="ttname"><a href="namespacexrpl.html#acbd9269cc6ee148cc8fe816d4f57a399">xrpl::lpTokensIn</a></div><div class="ttdeci">STAmount lpTokensIn(STAmount const &amp;asset1Balance, STAmount const &amp;asset1Withdraw, STAmount const &amp;lptAMMBalance, std::uint16_t tfee)</div><div class="ttdoc">Calculate LP Tokens given asset's withdraw amount.</div><div class="ttdef"><b>Definition</b> <a href="AMMHelpers_8cpp_source.html#l00084">AMMHelpers.cpp:84</a></div></div>