This commit is contained in:
intelliot
2023-08-21 23:24:10 +00:00
parent 6f1ca2cba3
commit 2082d336dc
2389 changed files with 122140 additions and 114310 deletions

View File

@@ -186,40 +186,51 @@ $(function() {
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; lptAMMBalance,</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; ePrice,</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> tfee);</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160;};</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; </div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160;} <span class="comment">// namespace ripple</span></div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; </div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;<span class="preprocessor">#endif // RIPPLE_TX_AMMDEPOSIT_H_INCLUDED</span></div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; </div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;TER, STAmount&gt;</a></div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; <a class="code" href="classripple_1_1AMMDeposit.html#ac9c59cc740132fad1337d18c074a477a">equalDepositInEmptyState</a>(</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; <a class="code" href="classripple_1_1Sandbox.html">Sandbox</a>&amp; <a class="code" href="classripple_1_1Transactor.html#a1ac5d16d7b21e8af9cc94d7af39a85d5">view</a>,</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp; ammAccount,</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; amount,</div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; amount2,</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; <a class="code" href="classripple_1_1Issue.html">Issue</a> <span class="keyword">const</span>&amp; lptIssue,</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> tfee);</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160;};</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; </div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160;} <span class="comment">// namespace ripple</span></div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; </div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160;<span class="preprocessor">#endif // RIPPLE_TX_AMMDEPOSIT_H_INCLUDED</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclassripple_1_1AMMDeposit_html"><div class="ttname"><a href="classripple_1_1AMMDeposit.html">ripple::AMMDeposit</a></div><div class="ttdoc">AMMDeposit implements AMM deposit Transactor.</div><div class="ttdef"><b>Definition:</b> <a href="AMMDeposit_8h_source.html#l00062">AMMDeposit.h:62</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMDeposit_html_ad27c911271e84c57234e36978b8160bb"><div class="ttname"><a href="classripple_1_1AMMDeposit.html#ad27c911271e84c57234e36978b8160bb">ripple::AMMDeposit::singleDepositTokens</a></div><div class="ttdeci">std::pair&lt; TER, STAmount &gt; singleDepositTokens(Sandbox &amp;view, AccountID const &amp;ammAccount, STAmount const &amp;amountBalance, STAmount const &amp;amount, STAmount const &amp;lptAMMBalance, STAmount const &amp;lpTokensDeposit, std::uint16_t tfee)</div><div class="ttdoc">Single asset deposit (Asset1In, LPTokens) by the tokens.</div><div class="ttdef"><b>Definition:</b> <a href="AMMDeposit_8cpp_source.html#l00708">AMMDeposit.cpp:708</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMDeposit_html_ac92c10f978f5a831447bd7cdc5a0d1ef"><div class="ttname"><a href="classripple_1_1AMMDeposit.html#ac92c10f978f5a831447bd7cdc5a0d1ef">ripple::AMMDeposit::doApply</a></div><div class="ttdeci">TER doApply() override</div><div class="ttdef"><b>Definition:</b> <a href="AMMDeposit_8cpp_source.html#l00401">AMMDeposit.cpp:401</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMDeposit_html_ad27c911271e84c57234e36978b8160bb"><div class="ttname"><a href="classripple_1_1AMMDeposit.html#ad27c911271e84c57234e36978b8160bb">ripple::AMMDeposit::singleDepositTokens</a></div><div class="ttdeci">std::pair&lt; TER, STAmount &gt; singleDepositTokens(Sandbox &amp;view, AccountID const &amp;ammAccount, STAmount const &amp;amountBalance, STAmount const &amp;amount, STAmount const &amp;lptAMMBalance, STAmount const &amp;lpTokensDeposit, std::uint16_t tfee)</div><div class="ttdoc">Single asset deposit (Asset1In, LPTokens) by the tokens.</div><div class="ttdef"><b>Definition:</b> <a href="AMMDeposit_8cpp_source.html#l00752">AMMDeposit.cpp:752</a></div></div>
<div class="ttc" id="aclassripple_1_1Issue_html"><div class="ttname"><a href="classripple_1_1Issue.html">ripple::Issue</a></div><div class="ttdoc">A currency issued by an account.</div><div class="ttdef"><b>Definition:</b> <a href="Issue_8h_source.html#l00035">Issue.h:35</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMDeposit_html_ac92c10f978f5a831447bd7cdc5a0d1ef"><div class="ttname"><a href="classripple_1_1AMMDeposit.html#ac92c10f978f5a831447bd7cdc5a0d1ef">ripple::AMMDeposit::doApply</a></div><div class="ttdeci">TER doApply() override</div><div class="ttdef"><b>Definition:</b> <a href="AMMDeposit_8cpp_source.html#l00445">AMMDeposit.cpp:445</a></div></div>
<div class="ttc" id="aclassripple_1_1Transactor_html"><div class="ttname"><a href="classripple_1_1Transactor.html">ripple::Transactor</a></div><div class="ttdef"><b>Definition:</b> <a href="Transactor_8h_source.html#l00085">Transactor.h:85</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>
<div class="ttc" id="aclassripple_1_1AMMDeposit_html_ab8190e434de81091a994e511dd4d293f"><div class="ttname"><a href="classripple_1_1AMMDeposit.html#ab8190e434de81091a994e511dd4d293f">ripple::AMMDeposit::ConsequencesFactory</a></div><div class="ttdeci">static constexpr ConsequencesFactoryType ConsequencesFactory</div><div class="ttdef"><b>Definition:</b> <a href="AMMDeposit_8h_source.html#l00065">AMMDeposit.h:65</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMDeposit_html_a5cd7c6df65846108840ff91aa3a814f5"><div class="ttname"><a href="classripple_1_1AMMDeposit.html#a5cd7c6df65846108840ff91aa3a814f5">ripple::AMMDeposit::preclaim</a></div><div class="ttdeci">static TER preclaim(PreclaimContext const &amp;ctx)</div><div class="ttdef"><b>Definition:</b> <a href="AMMDeposit_8cpp_source.html#l00155">AMMDeposit.cpp:155</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMDeposit_html_a5cd7c6df65846108840ff91aa3a814f5"><div class="ttname"><a href="classripple_1_1AMMDeposit.html#a5cd7c6df65846108840ff91aa3a814f5">ripple::AMMDeposit::preclaim</a></div><div class="ttdeci">static TER preclaim(PreclaimContext const &amp;ctx)</div><div class="ttdef"><b>Definition:</b> <a href="AMMDeposit_8cpp_source.html#l00169">AMMDeposit.cpp:169</a></div></div>
<div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint</a></div><div class="ttdoc">Integers of any length that is a multiple of 32-bits.</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00082">base_uint.h:82</a></div></div>
<div class="ttc" id="aclassripple_1_1Transactor_html_a5c6d16e9402d182a835f50b37ce9a938"><div class="ttname"><a href="classripple_1_1Transactor.html#a5c6d16e9402d182a835f50b37ce9a938">ripple::Transactor::ConsequencesFactoryType</a></div><div class="ttdeci">ConsequencesFactoryType</div><div class="ttdef"><b>Definition:</b> <a href="Transactor_8h_source.html#l00101">Transactor.h:101</a></div></div>
<div class="ttc" id="aclassripple_1_1TERSubset_html"><div class="ttname"><a href="classripple_1_1TERSubset.html">ripple::TERSubset</a></div><div class="ttdef"><b>Definition:</b> <a href="TER_8h_source.html#l00347">TER.h:347</a></div></div>
<div class="ttc" id="aclassripple_1_1TERSubset_html"><div class="ttname"><a href="classripple_1_1TERSubset.html">ripple::TERSubset</a></div><div class="ttdef"><b>Definition:</b> <a href="TER_8h_source.html#l00352">TER.h:352</a></div></div>
<div class="ttc" id="aclassripple_1_1Sandbox_html"><div class="ttname"><a href="classripple_1_1Sandbox.html">ripple::Sandbox</a></div><div class="ttdoc">Discardable, editable view to a ledger.</div><div class="ttdef"><b>Definition:</b> <a href="Sandbox_8h_source.html#l00034">Sandbox.h:34</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMDeposit_html_af63010c83c7bc12b999a81c5b26aa023"><div class="ttname"><a href="classripple_1_1AMMDeposit.html#af63010c83c7bc12b999a81c5b26aa023">ripple::AMMDeposit::AMMDeposit</a></div><div class="ttdeci">AMMDeposit(ApplyContext &amp;ctx)</div><div class="ttdef"><b>Definition:</b> <a href="AMMDeposit_8h_source.html#l00067">AMMDeposit.h:67</a></div></div>
<div class="ttc" id="aclassripple_1_1STAmount_html"><div class="ttname"><a href="classripple_1_1STAmount.html">ripple::STAmount</a></div><div class="ttdef"><b>Definition:</b> <a href="STAmount_8h_source.html#l00045">STAmount.h:45</a></div></div>
<div class="ttc" id="aclassripple_1_1ApplyContext_html"><div class="ttname"><a href="classripple_1_1ApplyContext.html">ripple::ApplyContext</a></div><div class="ttdoc">State information when applying a tx.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyContext_8h_source.html#l00035">ApplyContext.h:35</a></div></div>
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMDeposit_html_a5775a9ff666de25c0c0ad243b79b9d0e"><div class="ttname"><a href="classripple_1_1AMMDeposit.html#a5775a9ff666de25c0c0ad243b79b9d0e">ripple::AMMDeposit::singleDepositEPrice</a></div><div class="ttdeci">std::pair&lt; TER, STAmount &gt; singleDepositEPrice(Sandbox &amp;view, AccountID const &amp;ammAccount, STAmount const &amp;amountBalance, STAmount const &amp;amount, STAmount const &amp;lptAMMBalance, STAmount const &amp;ePrice, std::uint16_t tfee)</div><div class="ttdoc">Single asset deposit (Asset1In, EPrice) with two constraints.</div><div class="ttdef"><b>Definition:</b> <a href="AMMDeposit_8cpp_source.html#l00761">AMMDeposit.cpp:761</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMDeposit_html_a11321a8e5c8d6a60a0dc2baa64ac98a6"><div class="ttname"><a href="classripple_1_1AMMDeposit.html#a11321a8e5c8d6a60a0dc2baa64ac98a6">ripple::AMMDeposit::equalDepositLimit</a></div><div class="ttdeci">std::pair&lt; TER, STAmount &gt; equalDepositLimit(Sandbox &amp;view, AccountID const &amp;ammAccount, STAmount const &amp;amountBalance, STAmount const &amp;amount2Balance, STAmount const &amp;lptAMMBalance, STAmount const &amp;amount, STAmount const &amp;amount2, std::optional&lt; STAmount &gt; const &amp;lpTokensDepositMin, std::uint16_t tfee)</div><div class="ttdoc">Equal asset deposit (Asset1In, Asset2In) with the constraint on the maximum amount of both assets tha...</div><div class="ttdef"><b>Definition:</b> <a href="AMMDeposit_8cpp_source.html#l00615">AMMDeposit.cpp:615</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMDeposit_html_a5775a9ff666de25c0c0ad243b79b9d0e"><div class="ttname"><a href="classripple_1_1AMMDeposit.html#a5775a9ff666de25c0c0ad243b79b9d0e">ripple::AMMDeposit::singleDepositEPrice</a></div><div class="ttdeci">std::pair&lt; TER, STAmount &gt; singleDepositEPrice(Sandbox &amp;view, AccountID const &amp;ammAccount, STAmount const &amp;amountBalance, STAmount const &amp;amount, STAmount const &amp;lptAMMBalance, STAmount const &amp;ePrice, std::uint16_t tfee)</div><div class="ttdoc">Single asset deposit (Asset1In, EPrice) with two constraints.</div><div class="ttdef"><b>Definition:</b> <a href="AMMDeposit_8cpp_source.html#l00805">AMMDeposit.cpp:805</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMDeposit_html_a11321a8e5c8d6a60a0dc2baa64ac98a6"><div class="ttname"><a href="classripple_1_1AMMDeposit.html#a11321a8e5c8d6a60a0dc2baa64ac98a6">ripple::AMMDeposit::equalDepositLimit</a></div><div class="ttdeci">std::pair&lt; TER, STAmount &gt; equalDepositLimit(Sandbox &amp;view, AccountID const &amp;ammAccount, STAmount const &amp;amountBalance, STAmount const &amp;amount2Balance, STAmount const &amp;lptAMMBalance, STAmount const &amp;amount, STAmount const &amp;amount2, std::optional&lt; STAmount &gt; const &amp;lpTokensDepositMin, std::uint16_t tfee)</div><div class="ttdoc">Equal asset deposit (Asset1In, Asset2In) with the constraint on the maximum amount of both assets tha...</div><div class="ttdef"><b>Definition:</b> <a href="AMMDeposit_8cpp_source.html#l00659">AMMDeposit.cpp:659</a></div></div>
<div class="ttc" id="astructripple_1_1PreclaimContext_html"><div class="ttname"><a href="structripple_1_1PreclaimContext.html">ripple::PreclaimContext</a></div><div class="ttdoc">State information when determining if a tx is likely to claim a fee.</div><div class="ttdef"><b>Definition:</b> <a href="Transactor_8h_source.html#l00052">Transactor.h:52</a></div></div>
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMDeposit_html_a0494829d8e22b029e7dfb90ee970fda1"><div class="ttname"><a href="classripple_1_1AMMDeposit.html#a0494829d8e22b029e7dfb90ee970fda1">ripple::AMMDeposit::applyGuts</a></div><div class="ttdeci">std::pair&lt; TER, bool &gt; applyGuts(Sandbox &amp;view)</div><div class="ttdef"><b>Definition:</b> <a href="AMMDeposit_8cpp_source.html#l00305">AMMDeposit.cpp:305</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMDeposit_html_aaf3f2a49ffb3a83e42b3daf49f33319f"><div class="ttname"><a href="classripple_1_1AMMDeposit.html#aaf3f2a49ffb3a83e42b3daf49f33319f">ripple::AMMDeposit::equalDepositTokens</a></div><div class="ttdeci">std::pair&lt; TER, STAmount &gt; equalDepositTokens(Sandbox &amp;view, AccountID const &amp;ammAccount, STAmount const &amp;amountBalance, STAmount const &amp;amount2Balance, STAmount const &amp;lptAMMBalance, STAmount const &amp;lpTokensDeposit, std::optional&lt; STAmount &gt; const &amp;depositMin, std::optional&lt; STAmount &gt; const &amp;deposit2Min, std::uint16_t tfee)</div><div class="ttdoc">Equal asset deposit (LPTokens) for the specified share of the AMM instance pools.</div><div class="ttdef"><b>Definition:</b> <a href="AMMDeposit_8cpp_source.html#l00550">AMMDeposit.cpp:550</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMDeposit_html_a0494829d8e22b029e7dfb90ee970fda1"><div class="ttname"><a href="classripple_1_1AMMDeposit.html#a0494829d8e22b029e7dfb90ee970fda1">ripple::AMMDeposit::applyGuts</a></div><div class="ttdeci">std::pair&lt; TER, bool &gt; applyGuts(Sandbox &amp;view)</div><div class="ttdef"><b>Definition:</b> <a href="AMMDeposit_8cpp_source.html#l00334">AMMDeposit.cpp:334</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMDeposit_html_aaf3f2a49ffb3a83e42b3daf49f33319f"><div class="ttname"><a href="classripple_1_1AMMDeposit.html#aaf3f2a49ffb3a83e42b3daf49f33319f">ripple::AMMDeposit::equalDepositTokens</a></div><div class="ttdeci">std::pair&lt; TER, STAmount &gt; equalDepositTokens(Sandbox &amp;view, AccountID const &amp;ammAccount, STAmount const &amp;amountBalance, STAmount const &amp;amount2Balance, STAmount const &amp;lptAMMBalance, STAmount const &amp;lpTokensDeposit, std::optional&lt; STAmount &gt; const &amp;depositMin, std::optional&lt; STAmount &gt; const &amp;deposit2Min, std::uint16_t tfee)</div><div class="ttdoc">Equal asset deposit (LPTokens) for the specified share of the AMM instance pools.</div><div class="ttdef"><b>Definition:</b> <a href="AMMDeposit_8cpp_source.html#l00594">AMMDeposit.cpp:594</a></div></div>
<div class="ttc" id="aclassripple_1_1Transactor_html_a1ac5d16d7b21e8af9cc94d7af39a85d5"><div class="ttname"><a href="classripple_1_1Transactor.html#a1ac5d16d7b21e8af9cc94d7af39a85d5">ripple::Transactor::view</a></div><div class="ttdeci">ApplyView &amp; view()</div><div class="ttdef"><b>Definition:</b> <a href="Transactor_8h_source.html#l00107">Transactor.h:107</a></div></div>
<div class="ttc" id="aclassripple_1_1Transactor_html_a5c6d16e9402d182a835f50b37ce9a938aa45cb725337de0d627f42b7ebf4be91f"><div class="ttname"><a href="classripple_1_1Transactor.html#a5c6d16e9402d182a835f50b37ce9a938aa45cb725337de0d627f42b7ebf4be91f">ripple::Transactor::Normal</a></div><div class="ttdeci">@ Normal</div><div class="ttdef"><b>Definition:</b> <a href="Transactor_8h_source.html#l00101">Transactor.h:101</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMDeposit_html_a9a77c5ee8dcce8013ddb3b875e8a8b05"><div class="ttname"><a href="classripple_1_1AMMDeposit.html#a9a77c5ee8dcce8013ddb3b875e8a8b05">ripple::AMMDeposit::preflight</a></div><div class="ttdeci">static NotTEC preflight(PreflightContext const &amp;ctx)</div><div class="ttdef"><b>Definition:</b> <a href="AMMDeposit_8cpp_source.html#l00036">AMMDeposit.cpp:36</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMDeposit_html_a7242a93c72c9cb498849fb149ded3501"><div class="ttname"><a href="classripple_1_1AMMDeposit.html#a7242a93c72c9cb498849fb149ded3501">ripple::AMMDeposit::singleDeposit</a></div><div class="ttdeci">std::pair&lt; TER, STAmount &gt; singleDeposit(Sandbox &amp;view, AccountID const &amp;ammAccount, STAmount const &amp;amountBalance, STAmount const &amp;lptAMMBalance, STAmount const &amp;amount, std::optional&lt; STAmount &gt; const &amp;lpTokensDepositMin, std::uint16_t tfee)</div><div class="ttdoc">Single asset deposit (Asset1In) by the amount.</div><div class="ttdef"><b>Definition:</b> <a href="AMMDeposit_8cpp_source.html#l00674">AMMDeposit.cpp:674</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMDeposit_html_a7242a93c72c9cb498849fb149ded3501"><div class="ttname"><a href="classripple_1_1AMMDeposit.html#a7242a93c72c9cb498849fb149ded3501">ripple::AMMDeposit::singleDeposit</a></div><div class="ttdeci">std::pair&lt; TER, STAmount &gt; singleDeposit(Sandbox &amp;view, AccountID const &amp;ammAccount, STAmount const &amp;amountBalance, STAmount const &amp;lptAMMBalance, STAmount const &amp;amount, std::optional&lt; STAmount &gt; const &amp;lpTokensDepositMin, std::uint16_t tfee)</div><div class="ttdoc">Single asset deposit (Asset1In) by the amount.</div><div class="ttdef"><b>Definition:</b> <a href="AMMDeposit_8cpp_source.html#l00718">AMMDeposit.cpp:718</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&lt; STAmount &gt;</a></div></div>
<div class="ttc" id="astructripple_1_1PreflightContext_html"><div class="ttname"><a href="structripple_1_1PreflightContext.html">ripple::PreflightContext</a></div><div class="ttdoc">State information when preflighting a tx.</div><div class="ttdef"><b>Definition:</b> <a href="Transactor_8h_source.html#l00031">Transactor.h:31</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMDeposit_html_adcf4670f2b402a00f166d0f342a75714"><div class="ttname"><a href="classripple_1_1AMMDeposit.html#adcf4670f2b402a00f166d0f342a75714">ripple::AMMDeposit::deposit</a></div><div class="ttdeci">std::pair&lt; TER, STAmount &gt; deposit(Sandbox &amp;view, AccountID const &amp;ammAccount, STAmount const &amp;amountBalance, STAmount const &amp;amountDeposit, std::optional&lt; STAmount &gt; const &amp;amount2Deposit, STAmount const &amp;lptAMMBalance, STAmount const &amp;lpTokensDeposit, std::optional&lt; STAmount &gt; const &amp;depositMin, std::optional&lt; STAmount &gt; const &amp;deposit2Min, std::optional&lt; STAmount &gt; const &amp;lpTokensDepositMin, std::uint16_t tfee)</div><div class="ttdoc">Deposit requested assets and token amount into LP account.</div><div class="ttdef"><b>Definition:</b> <a href="AMMDeposit_8cpp_source.html#l00415">AMMDeposit.cpp:415</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMDeposit_html_adcf4670f2b402a00f166d0f342a75714"><div class="ttname"><a href="classripple_1_1AMMDeposit.html#adcf4670f2b402a00f166d0f342a75714">ripple::AMMDeposit::deposit</a></div><div class="ttdeci">std::pair&lt; TER, STAmount &gt; deposit(Sandbox &amp;view, AccountID const &amp;ammAccount, STAmount const &amp;amountBalance, STAmount const &amp;amountDeposit, std::optional&lt; STAmount &gt; const &amp;amount2Deposit, STAmount const &amp;lptAMMBalance, STAmount const &amp;lpTokensDeposit, std::optional&lt; STAmount &gt; const &amp;depositMin, std::optional&lt; STAmount &gt; const &amp;deposit2Min, std::optional&lt; STAmount &gt; const &amp;lpTokensDepositMin, std::uint16_t tfee)</div><div class="ttdoc">Deposit requested assets and token amount into LP account.</div><div class="ttdef"><b>Definition:</b> <a href="AMMDeposit_8cpp_source.html#l00459">AMMDeposit.cpp:459</a></div></div>
<div class="ttc" id="aclassripple_1_1AMMDeposit_html_ac9c59cc740132fad1337d18c074a477a"><div class="ttname"><a href="classripple_1_1AMMDeposit.html#ac9c59cc740132fad1337d18c074a477a">ripple::AMMDeposit::equalDepositInEmptyState</a></div><div class="ttdeci">std::pair&lt; TER, STAmount &gt; equalDepositInEmptyState(Sandbox &amp;view, AccountID const &amp;ammAccount, STAmount const &amp;amount, STAmount const &amp;amount2, Issue const &amp;lptIssue, std::uint16_t tfee)</div><div class="ttdoc">Equal deposit in empty AMM state (LP tokens balance is 0)</div><div class="ttdef"><b>Definition:</b> <a href="AMMDeposit_8cpp_source.html#l00882">AMMDeposit.cpp:882</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">