This commit is contained in:
intelliot
2024-02-07 22:01:12 +00:00
parent 6cab3a6828
commit f426cf6490
1144 changed files with 40847 additions and 37891 deletions

View File

@@ -128,391 +128,507 @@ $(function() {
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; }</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;};</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html"> 62</a></span>&#160;<span class="keyword">class </span><a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html">AMM</a></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;{</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#aae249db9ffedb46900882e8530bcac8d"> 64</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1Env.html">Env</a>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#aae249db9ffedb46900882e8530bcac8d">env_</a>;</div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#ab92cc678463ff8013be07f41e94f7598"> 65</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#ab92cc678463ff8013be07f41e94f7598">creatorAccount_</a>;</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#af4ee836d38bc169c99d9332308680cd5"> 66</a></span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#af4ee836d38bc169c99d9332308680cd5">asset1_</a>;</div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a8a270bad11d1b02d5452394d50d356a4"> 67</a></span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a8a270bad11d1b02d5452394d50d356a4">asset2_</a>;</div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#afbc3273984de999bcecb2733e4785e7f"> 68</a></span>&#160; <a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#afbc3273984de999bcecb2733e4785e7f">ammID_</a>;</div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#ac83568dd2ef59ba5c3fd79d16d65b434"> 69</a></span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#ac83568dd2ef59ba5c3fd79d16d65b434">initialLPTokens_</a>;</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#abe05a4da48aafd8510c6045b0e311a5a"> 70</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#abe05a4da48aafd8510c6045b0e311a5a">log_</a>;</div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a125d9a56aa8c1fa8fade044c3e1d9f6a"> 71</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a125d9a56aa8c1fa8fade044c3e1d9f6a">doClose_</a>;</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <span class="comment">// Predict next purchase price</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a6e054aa935ddb33c8ff55f4b1174ce88"> 73</a></span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a6e054aa935ddb33c8ff55f4b1174ce88">lastPurchasePrice_</a>;</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a00b299ba3194ac21a35cd5960c3dd843"> 74</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;IOUAmount&gt;</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a00b299ba3194ac21a35cd5960c3dd843">bidMin_</a>;</div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a9d186dce947ff880fc490464e7280c58"> 75</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;IOUAmount&gt;</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a9d186dce947ff880fc490464e7280c58">bidMax_</a>;</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="comment">// Multi-signature</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a2e7a0f8190e83a01eedde8b960910b2b"> 77</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;msig&gt;</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a2e7a0f8190e83a01eedde8b960910b2b">msig_</a>;</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="comment">// Transaction fee</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a925636a831a76719ae42710c789610fa"> 79</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a925636a831a76719ae42710c789610fa">fee_</a>;</div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#acb338203016494d6b34694e7cc09afab"> 80</a></span>&#160; <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#acb338203016494d6b34694e7cc09afab">ammAccount_</a>;</div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a507e17962f812b547cb8486ec2a3d618"> 81</a></span>&#160; <a class="code" href="classripple_1_1Issue.html">Issue</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a507e17962f812b547cb8486ec2a3d618">lptIssue_</a>;</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; </div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#aff01a1fdb7523ebe814b369efba38162">AMM</a>(<a class="code" href="classripple_1_1test_1_1jtx_1_1Env.html">Env</a>&amp; env,</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset1,</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset2,</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a62d83e288719faaef062c61320cabeb0">log</a> = <span class="keyword">false</span>,</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> tfee = 0,</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1fee.html">fee</a> = 0,</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint32_t&gt;</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a> = std::nullopt,</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::seq&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a> = std::nullopt,</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::msig&gt;</a> ms = std::nullopt,</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#aff01a1fdb7523ebe814b369efba38162">AMM</a>(<a class="code" href="classripple_1_1test_1_1jtx_1_1Env.html">Env</a>&amp; env,</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset1,</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset2,</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a>,</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a62d83e288719faaef062c61320cabeb0">log</a> = <span class="keyword">false</span>);</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#aab89fad9aeda19edcdd159ca4f6cdc7f">ammRpcInfo</a>(</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;AccountID&gt;</a> <span class="keyword">const</span>&amp; account = std::nullopt,</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::string&gt;</a> <span class="keyword">const</span>&amp; ledgerIndex = std::nullopt,</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Issue&gt;</a> issue1 = std::nullopt,</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Issue&gt;</a> issue2 = std::nullopt,</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;AccountID&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#af08bba3a1d76ab155417ad1c0f843caa">ammAccount</a> = std::nullopt,</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="keywordtype">bool</span> ignoreParams = <span class="keyword">false</span>) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; [[nodiscard]] <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a88653ee0b6d0c6312c031bea9479ebe5">expectBalances</a>(</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset1,</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset2,</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a> <span class="keyword">const</span>&amp; lpt,</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;AccountID&gt;</a> <span class="keyword">const</span>&amp; account = std::nullopt) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; </div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/tuple.html">std::tuple&lt;STAmount, STAmount, STAmount&gt;</a></div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a55dac3d3f1fdb7a12456cdedd00838d2">balances</a>(</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; <a class="code" href="classripple_1_1Issue.html">Issue</a> <span class="keyword">const</span>&amp; issue1,</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <a class="code" href="classripple_1_1Issue.html">Issue</a> <span class="keyword">const</span>&amp; issue2,</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;AccountID&gt;</a> <span class="keyword">const</span>&amp; account = std::nullopt) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; </div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; [[nodiscard]] <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#afc51e85c60292ed3e9c38ae056ec564f">expectLPTokens</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp; account, <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a698d79806ae1471df7682814db3018c9">tokens</a>) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; </div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; [[nodiscard]] <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a40f978b02390af8c727e8c0a9fa7d03f">expectAuctionSlot</a>(</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1fee.html">fee</a>,</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint8_t&gt;</a> timeSlot,</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a> expectedPrice) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1CreateArg.html"> 60</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structripple_1_1test_1_1jtx_1_1CreateArg.html">CreateArg</a></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;{</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1CreateArg.html#a0550a9f87a6e078a1c6d2afb0ce12fbd"> 62</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="structripple_1_1test_1_1jtx_1_1CreateArg.html#a0550a9f87a6e078a1c6d2afb0ce12fbd">log</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1CreateArg.html#aa7b3e7ecae0466de44c00a5d3ff63aaa"> 63</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1CreateArg.html#aa7b3e7ecae0466de44c00a5d3ff63aaa">tfee</a> = 0;</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1CreateArg.html#aaf0b658fd839652c695694cec168c7c4"> 64</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1fee.html">fee</a> = 0;</div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1CreateArg.html#a00821adcd5ab1cc90a4f5de532d0d365"> 65</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint32_t&gt;</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a> = std::nullopt;</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1CreateArg.html#a3558eebb0cd18ea63b501469923efea3"> 66</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::seq&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a> = std::nullopt;</div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1CreateArg.html#ac0d9784f090273321d817523e809f007"> 67</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::msig&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1CreateArg.html#ac0d9784f090273321d817523e809f007">ms</a> = std::nullopt;</div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1CreateArg.html#aa68ab19b5f3c32d57d5ec630d84b8d6e"> 68</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1CreateArg.html#aa68ab19b5f3c32d57d5ec630d84b8d6e">err</a> = std::nullopt;</div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1CreateArg.html#a1933e277bb0f71b1a012d4c5176cf497"> 69</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="structripple_1_1test_1_1jtx_1_1CreateArg.html#a1933e277bb0f71b1a012d4c5176cf497">close</a> = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;};</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1DepositArg.html"> 72</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structripple_1_1test_1_1jtx_1_1DepositArg.html">DepositArg</a></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;{</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1DepositArg.html#a4342874799b85d8ff3c754476a807256"> 74</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1DepositArg.html#a4342874799b85d8ff3c754476a807256">account</a> = std::nullopt;</div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1DepositArg.html#af0ba418b897f2bfc9885348678264e34"> 75</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;LPToken&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1DepositArg.html#af0ba418b897f2bfc9885348678264e34">tokens</a> = std::nullopt;</div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1DepositArg.html#a509183bb05aaccee7030461cdd7c463b"> 76</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1DepositArg.html#a509183bb05aaccee7030461cdd7c463b">asset1In</a> = std::nullopt;</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1DepositArg.html#ac1618c76060c8af5a9dcb4cd87ef5ea9"> 77</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1DepositArg.html#ac1618c76060c8af5a9dcb4cd87ef5ea9">asset2In</a> = std::nullopt;</div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1DepositArg.html#abbe4635340d9a2a0f9fd2f65803e5221"> 78</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1DepositArg.html#abbe4635340d9a2a0f9fd2f65803e5221">maxEP</a> = std::nullopt;</div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1DepositArg.html#a1915bce9d95e0b91b80d022869ea153e"> 79</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint32_t&gt;</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a> = std::nullopt;</div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1DepositArg.html#a886de7d7aa9b010bd17b7938009b761f"> 80</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::pair&lt;Issue, Issue&gt;</a>&gt; <a class="code" href="structripple_1_1test_1_1jtx_1_1DepositArg.html#a886de7d7aa9b010bd17b7938009b761f">assets</a> = std::nullopt;</div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1DepositArg.html#a3cc04718d1ee50a0fba92e09857f8a59"> 81</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::seq&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a> = std::nullopt;</div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1DepositArg.html#ad98095fa6fcfb67c860f6b9d94f6cf09"> 82</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint16_t&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1DepositArg.html#ad98095fa6fcfb67c860f6b9d94f6cf09">tfee</a> = std::nullopt;</div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1DepositArg.html#ab8ac03924ead996d1ba2ebc487cf8ac2"> 83</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1DepositArg.html#ab8ac03924ead996d1ba2ebc487cf8ac2">err</a> = std::nullopt;</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;};</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; </div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html"> 86</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html">WithdrawArg</a></div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;{</div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html#a5b55d842b157d46d4d65475b02e44534"> 88</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html#a5b55d842b157d46d4d65475b02e44534">account</a> = std::nullopt;</div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html#ab47e2d7bdcf0b84db17740f576f9a365"> 89</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;LPToken&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html#ab47e2d7bdcf0b84db17740f576f9a365">tokens</a> = std::nullopt;</div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html#a8fb303a4bcff6d3ddc6f9fda25ed2a9b"> 90</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html#a8fb303a4bcff6d3ddc6f9fda25ed2a9b">asset1Out</a> = std::nullopt;</div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html#a0d12552ef653b2965d2fc71bd890d016"> 91</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html#a0d12552ef653b2965d2fc71bd890d016">asset2Out</a> = std::nullopt;</div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html#a2f26044f8526f13c3d5be440c1eeec92"> 92</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;IOUAmount&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html#a2f26044f8526f13c3d5be440c1eeec92">maxEP</a> = std::nullopt;</div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html#a7ce8971283aabb6397441b744d6e1b1c"> 93</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint32_t&gt;</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a> = std::nullopt;</div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html#a95f160e9be771d51d7ef132a37315f96"> 94</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::pair&lt;Issue, Issue&gt;</a>&gt; <a class="code" href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html#a95f160e9be771d51d7ef132a37315f96">assets</a> = std::nullopt;</div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html#adbf411d38fbc98c215bfeb29b9dc239c"> 95</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::seq&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a> = std::nullopt;</div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html#acdd40438c48e85588ca879d90a07e33e"> 96</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html#acdd40438c48e85588ca879d90a07e33e">err</a> = std::nullopt;</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;};</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; </div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1VoteArg.html"> 99</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structripple_1_1test_1_1jtx_1_1VoteArg.html">VoteArg</a></div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;{</div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1VoteArg.html#a4c7a07c0b4fb537f43fcf4183003b6dd"> 101</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1VoteArg.html#a4c7a07c0b4fb537f43fcf4183003b6dd">account</a> = std::nullopt;</div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1VoteArg.html#a68066dc844cd41e430f56a166a0f6335"> 102</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1VoteArg.html#a68066dc844cd41e430f56a166a0f6335">tfee</a> = 0;</div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1VoteArg.html#abc40677a68b7b8f22e4d219f5102adcd"> 103</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint32_t&gt;</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a> = std::nullopt;</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1VoteArg.html#a8524c15a7914359721a71b4df075215e"> 104</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::seq&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a> = std::nullopt;</div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1VoteArg.html#abe8e448464a870b11eec6ebd0e24693a"> 105</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::pair&lt;Issue, Issue&gt;</a>&gt; <a class="code" href="structripple_1_1test_1_1jtx_1_1VoteArg.html#abe8e448464a870b11eec6ebd0e24693a">assets</a> = std::nullopt;</div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1VoteArg.html#a4bf318cdf8d15d405f656f5bacd8e029"> 106</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1VoteArg.html#a4bf318cdf8d15d405f656f5bacd8e029">err</a> = std::nullopt;</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;};</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; </div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1BidArg.html"> 109</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structripple_1_1test_1_1jtx_1_1BidArg.html">BidArg</a></div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;{</div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1BidArg.html#a9a3968adaa3e6165e33190ef68487303"> 111</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1BidArg.html#a9a3968adaa3e6165e33190ef68487303">account</a> = std::nullopt;</div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1BidArg.html#a2051f8e0b034315adc94a488b488357a"> 112</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::variant&lt;int, IOUAmount, STAmount&gt;</a>&gt; <a class="code" href="structripple_1_1test_1_1jtx_1_1BidArg.html#a2051f8e0b034315adc94a488b488357a">bidMin</a> = std::nullopt;</div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1BidArg.html#a7b0a784c1c45f6054d1ebce7bd7035e1"> 113</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::variant&lt;int, IOUAmount, STAmount&gt;</a>&gt; <a class="code" href="structripple_1_1test_1_1jtx_1_1BidArg.html#a7b0a784c1c45f6054d1ebce7bd7035e1">bidMax</a> = std::nullopt;</div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1BidArg.html#a1a9879429034a0b5fb9cfabb80801a21"> 114</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;Account&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1BidArg.html#a1a9879429034a0b5fb9cfabb80801a21">authAccounts</a> = {};</div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1BidArg.html#a3ca674c7a9ab91d4cb0899b416d7570e"> 115</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint32_t&gt;</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a> = std::nullopt;</div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1BidArg.html#a5f326d630adf33e07dd4f10427909632"> 116</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::seq&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a> = std::nullopt;</div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1BidArg.html#adf7b3d8e7c85d79d470caec4e718f894"> 117</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::pair&lt;Issue, Issue&gt;</a>&gt; <a class="code" href="structripple_1_1test_1_1jtx_1_1BidArg.html#adf7b3d8e7c85d79d470caec4e718f894">assets</a> = std::nullopt;</div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1BidArg.html#a739eb4cfc1e8bc3a57f0ed45c8d3b314"> 118</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1BidArg.html#a739eb4cfc1e8bc3a57f0ed45c8d3b314">err</a> = std::nullopt;</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;};</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; </div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html"> 123</a></span>&#160;<span class="keyword">class </span><a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html">AMM</a></div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;{</div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#aae249db9ffedb46900882e8530bcac8d"> 125</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1Env.html">Env</a>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#aae249db9ffedb46900882e8530bcac8d">env_</a>;</div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#ab92cc678463ff8013be07f41e94f7598"> 126</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#ab92cc678463ff8013be07f41e94f7598">creatorAccount_</a>;</div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#af4ee836d38bc169c99d9332308680cd5"> 127</a></span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#af4ee836d38bc169c99d9332308680cd5">asset1_</a>;</div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a8a270bad11d1b02d5452394d50d356a4"> 128</a></span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a8a270bad11d1b02d5452394d50d356a4">asset2_</a>;</div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#afbc3273984de999bcecb2733e4785e7f"> 129</a></span>&#160; <a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#afbc3273984de999bcecb2733e4785e7f">ammID_</a>;</div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#ac83568dd2ef59ba5c3fd79d16d65b434"> 130</a></span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#ac83568dd2ef59ba5c3fd79d16d65b434">initialLPTokens_</a>;</div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#abe05a4da48aafd8510c6045b0e311a5a"> 131</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#abe05a4da48aafd8510c6045b0e311a5a">log_</a>;</div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a125d9a56aa8c1fa8fade044c3e1d9f6a"> 132</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a125d9a56aa8c1fa8fade044c3e1d9f6a">doClose_</a>;</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="comment">// Predict next purchase price</span></div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a6e054aa935ddb33c8ff55f4b1174ce88"> 134</a></span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a6e054aa935ddb33c8ff55f4b1174ce88">lastPurchasePrice_</a>;</div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a00b299ba3194ac21a35cd5960c3dd843"> 135</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;IOUAmount&gt;</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a00b299ba3194ac21a35cd5960c3dd843">bidMin_</a>;</div>
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a9d186dce947ff880fc490464e7280c58"> 136</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;IOUAmount&gt;</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a9d186dce947ff880fc490464e7280c58">bidMax_</a>;</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="comment">// Multi-signature</span></div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a2e7a0f8190e83a01eedde8b960910b2b"> 138</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;msig&gt;</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a2e7a0f8190e83a01eedde8b960910b2b">msig_</a>;</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <span class="comment">// Transaction fee</span></div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a925636a831a76719ae42710c789610fa"> 140</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a925636a831a76719ae42710c789610fa">fee_</a>;</div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#acb338203016494d6b34694e7cc09afab"> 141</a></span>&#160; <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#acb338203016494d6b34694e7cc09afab">ammAccount_</a>;</div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a507e17962f812b547cb8486ec2a3d618"> 142</a></span>&#160; <a class="code" href="classripple_1_1Issue.html">Issue</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a507e17962f812b547cb8486ec2a3d618">lptIssue_</a>;</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; </div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; [[nodiscard]] <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a40f978b02390af8c727e8c0a9fa7d03f">expectAuctionSlot</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;AccountID&gt;</a> <span class="keyword">const</span>&amp; authAccount) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; </div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; [[nodiscard]] <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a7b8b82f23b5bda291a992947b10abc3e">expectTradingFee</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1fee.html">fee</a>) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; </div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; [[nodiscard]] <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#abf5ddd6697c83d3c07abd23dbb6dba2e">expectAmmRpcInfo</a>(</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset1,</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset2,</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1balance.html">balance</a>,</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;AccountID&gt;</a> <span class="keyword">const</span>&amp; account = std::nullopt,</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::string&gt;</a> <span class="keyword">const</span>&amp; ledger_index = std::nullopt,</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;AccountID&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#af08bba3a1d76ab155417ad1c0f843caa">ammAccount</a> = std::nullopt) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; </div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; [[nodiscard]] <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#af06beaeb3698cdfc2cfb69b89cdebd3d">ammExists</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; </div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a8f755873bcc0f4ac06f99f27618e0cd5">deposit</a>(</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1LPToken.html">LPToken</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a698d79806ae1471df7682814db3018c9">tokens</a>,</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <span class="keyword">const</span>&amp; asset1InDetails = std::nullopt,</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint32_t&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a> = std::nullopt,</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#ae9e04ea7f8ff71ef40fb017c8603a384">AMM</a>(<a class="code" href="classripple_1_1test_1_1jtx_1_1Env.html">Env</a>&amp; env,</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset1,</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset2,</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a62d83e288719faaef062c61320cabeb0">log</a> = <span class="keyword">false</span>,</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> tfee = 0,</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1fee.html">fee</a> = 0,</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint32_t&gt;</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a> = std::nullopt,</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::seq&gt;</a> <a class="code" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a> = std::nullopt,</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::msig&gt;</a> ms = std::nullopt,</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt,</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="keywordtype">bool</span> close = <span class="keyword">true</span>);</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#ae9e04ea7f8ff71ef40fb017c8603a384">AMM</a>(<a class="code" href="classripple_1_1test_1_1jtx_1_1Env.html">Env</a>&amp; env,</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset1,</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset2,</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a>,</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a62d83e288719faaef062c61320cabeb0">log</a> = <span class="keyword">false</span>,</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <span class="keywordtype">bool</span> close = <span class="keyword">true</span>);</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#ae9e04ea7f8ff71ef40fb017c8603a384">AMM</a>(<a class="code" href="classripple_1_1test_1_1jtx_1_1Env.html">Env</a>&amp; env,</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset1,</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset2,</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; <a class="code" href="structripple_1_1test_1_1jtx_1_1CreateArg.html">CreateArg</a> <span class="keyword">const</span>&amp; arg);</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; </div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a8f755873bcc0f4ac06f99f27618e0cd5">deposit</a>(</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset1InDetails,</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <span class="keyword">const</span>&amp; asset2InAmount = std::nullopt,</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <span class="keyword">const</span>&amp; maxEP = std::nullopt,</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint32_t&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a> = std::nullopt,</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; </div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a8f755873bcc0f4ac06f99f27618e0cd5">deposit</a>(</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;LPToken&gt;</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a698d79806ae1471df7682814db3018c9">tokens</a>,</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <span class="keyword">const</span>&amp; asset1In,</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <span class="keyword">const</span>&amp; asset2In,</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <span class="keyword">const</span>&amp; maxEP,</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint32_t&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a>,</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;Issue, Issue&gt;</a>&gt; <span class="keyword">const</span>&amp; assets,</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::seq&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a>,</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint16_t&gt;</a> <span class="keyword">const</span>&amp; tfee = std::nullopt,</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; </div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a857bda17195c076d9fa61883f03984fe">withdraw</a>(</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;LPToken&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a698d79806ae1471df7682814db3018c9">tokens</a>,</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <span class="keyword">const</span>&amp; asset1OutDetails = std::nullopt,</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint32_t&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a> = std::nullopt,</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; </div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#ac1f6c526842d09844df8ab096122d5e9"> 201</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#ac1f6c526842d09844df8ab096122d5e9">withdrawAll</a>(</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <span class="keyword">const</span>&amp; asset1OutDetails = std::nullopt)</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; {</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a857bda17195c076d9fa61883f03984fe">withdraw</a>(</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; account,</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; std::nullopt,</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; asset1OutDetails,</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; asset1OutDetails ? <a class="code" href="namespaceripple.html#a0cebcc733182bb6794d2d4067a29fb2a">tfOneAssetWithdrawAll</a> : <a class="code" href="namespaceripple.html#a8383eb169324b23c0b4b49d6c2d2c877">tfWithdrawAll</a>,</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; std::nullopt);</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; }</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; </div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a857bda17195c076d9fa61883f03984fe">withdraw</a>(</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset1Out,</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <span class="keyword">const</span>&amp; asset2Out = std::nullopt,</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;IOUAmount&gt;</a> <span class="keyword">const</span>&amp; maxEP = std::nullopt,</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; </div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a857bda17195c076d9fa61883f03984fe">withdraw</a>(</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;LPToken&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a698d79806ae1471df7682814db3018c9">tokens</a>,</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <span class="keyword">const</span>&amp; asset1Out,</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <span class="keyword">const</span>&amp; asset2Out,</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;IOUAmount&gt;</a> <span class="keyword">const</span>&amp; maxEP,</div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint32_t&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a>,</div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;Issue, Issue&gt;</a>&gt; <span class="keyword">const</span>&amp; assets,</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::seq&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a>,</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; </div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a5cb150b609244a234be2517e97b76338">vote</a>(</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/optional.html">std::optional&lt;Account&gt;</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> feeVal,</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint32_t&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a> = std::nullopt,</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::seq&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a> = std::nullopt,</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;Issue, Issue&gt;</a>&gt; <span class="keyword">const</span>&amp; assets = std::nullopt,</div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; </div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a0f4692faeaa9086b53bfe76b985b2850">bid</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/variant.html">std::variant&lt;int, IOUAmount, STAmount&gt;</a>&gt; <span class="keyword">const</span>&amp; bidMin =</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; std::nullopt,</div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/variant.html">std::variant&lt;int, IOUAmount, STAmount&gt;</a>&gt; <span class="keyword">const</span>&amp; bidMax =</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; std::nullopt,</div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;Account&gt;</a> <span class="keyword">const</span>&amp; authAccounts = {},</div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint32_t&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a> = std::nullopt,</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::seq&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a> = std::nullopt,</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::pair&lt;Issue, Issue&gt;</a>&gt; <span class="keyword">const</span>&amp; assets = std::nullopt,</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; </div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp;</div>
<div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#af08bba3a1d76ab155417ad1c0f843caa"> 255</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#af08bba3a1d76ab155417ad1c0f843caa">ammAccount</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#acb338203016494d6b34694e7cc09afab">ammAccount_</a>;</div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; }</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#aab89fad9aeda19edcdd159ca4f6cdc7f">ammRpcInfo</a>(</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;AccountID&gt;</a> <span class="keyword">const</span>&amp; account = std::nullopt,</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::string&gt;</a> <span class="keyword">const</span>&amp; ledgerIndex = std::nullopt,</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Issue&gt;</a> issue1 = std::nullopt,</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Issue&gt;</a> issue2 = std::nullopt,</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;AccountID&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#af08bba3a1d76ab155417ad1c0f843caa">ammAccount</a> = std::nullopt,</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <span class="keywordtype">bool</span> ignoreParams = <span class="keyword">false</span>) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; </div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; [[nodiscard]] <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a88653ee0b6d0c6312c031bea9479ebe5">expectBalances</a>(</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset1,</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset2,</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a> <span class="keyword">const</span>&amp; lpt,</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;AccountID&gt;</a> <span class="keyword">const</span>&amp; account = std::nullopt) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; </div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/tuple.html">std::tuple&lt;STAmount, STAmount, STAmount&gt;</a></div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a55dac3d3f1fdb7a12456cdedd00838d2">balances</a>(</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; <a class="code" href="classripple_1_1Issue.html">Issue</a> <span class="keyword">const</span>&amp; issue1,</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <a class="code" href="classripple_1_1Issue.html">Issue</a> <span class="keyword">const</span>&amp; issue2,</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;AccountID&gt;</a> <span class="keyword">const</span>&amp; account = std::nullopt) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; </div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; [[nodiscard]] <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#afc51e85c60292ed3e9c38ae056ec564f">expectLPTokens</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp; account, <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a698d79806ae1471df7682814db3018c9">tokens</a>) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; </div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; [[nodiscard]] <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a40f978b02390af8c727e8c0a9fa7d03f">expectAuctionSlot</a>(</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1fee.html">fee</a>,</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint8_t&gt;</a> timeSlot,</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a> expectedPrice) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; </div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; [[nodiscard]] <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a40f978b02390af8c727e8c0a9fa7d03f">expectAuctionSlot</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;AccountID&gt;</a> <span class="keyword">const</span>&amp; authAccount) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; </div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; [[nodiscard]] <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a7b8b82f23b5bda291a992947b10abc3e">expectTradingFee</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1fee.html">fee</a>) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; </div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; [[nodiscard]] <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#abf5ddd6697c83d3c07abd23dbb6dba2e">expectAmmRpcInfo</a>(</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset1,</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset2,</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1balance.html">balance</a>,</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;AccountID&gt;</a> <span class="keyword">const</span>&amp; account = std::nullopt,</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::string&gt;</a> <span class="keyword">const</span>&amp; ledger_index = std::nullopt,</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;AccountID&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#af08bba3a1d76ab155417ad1c0f843caa">ammAccount</a> = std::nullopt) <span class="keyword">const</span>;</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; [[nodiscard]] <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#af06beaeb3698cdfc2cfb69b89cdebd3d">ammExists</a>() <span class="keyword">const</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; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a8f755873bcc0f4ac06f99f27618e0cd5">deposit</a>(</div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1LPToken.html">LPToken</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a698d79806ae1471df7682814db3018c9">tokens</a>,</div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <span class="keyword">const</span>&amp; asset1InDetails = std::nullopt,</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/optional.html">std::optional&lt;std::uint32_t&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a> = std::nullopt,</div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; </div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a8f755873bcc0f4ac06f99f27618e0cd5">deposit</a>(</div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset1InDetails,</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <span class="keyword">const</span>&amp; asset2InAmount = std::nullopt,</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <span class="keyword">const</span>&amp; maxEP = std::nullopt,</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint32_t&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a> = std::nullopt,</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</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; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a8f755873bcc0f4ac06f99f27618e0cd5">deposit</a>(</div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;LPToken&gt;</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a698d79806ae1471df7682814db3018c9">tokens</a>,</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <span class="keyword">const</span>&amp; asset1In,</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <span class="keyword">const</span>&amp; asset2In,</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <span class="keyword">const</span>&amp; maxEP,</div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint32_t&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a>,</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;Issue, Issue&gt;</a>&gt; <span class="keyword">const</span>&amp; assets,</div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::seq&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a>,</div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint16_t&gt;</a> <span class="keyword">const</span>&amp; tfee = std::nullopt,</div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; </div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; <a class="code" href="classripple_1_1Issue.html">Issue</a></div>
<div class="line"><a name="l00261"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a8a8b817de45852e6e1b6dec83570522b"> 261</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a8a8b817de45852e6e1b6dec83570522b">lptIssue</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a507e17962f812b547cb8486ec2a3d618">lptIssue_</a>;</div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; }</div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; </div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a698d79806ae1471df7682814db3018c9"> 267</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a698d79806ae1471df7682814db3018c9">tokens</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#ac83568dd2ef59ba5c3fd79d16d65b434">initialLPTokens_</a>;</div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; }</div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; </div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#aafca8293f4320e30ad2356bf43d9ee02">getLPTokensBalance</a>(</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;AccountID&gt;</a> <span class="keyword">const</span>&amp; account = std::nullopt) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; </div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; <span class="keyword">friend</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::ostream</a>&amp;</div>
<div class="line"><a name="l00277"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#add639145aa9c4884496630b6e78dce3f"> 277</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#add639145aa9c4884496630b6e78dce3f">operator&lt;&lt;</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::ostream</a>&amp; s, <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html">AMM</a> <span class="keyword">const</span>&amp; amm)</div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; {</div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; <span class="keywordflow">if</span> (<span class="keyword">auto</span> <span class="keyword">const</span> res = amm.ammRpcInfo())</div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; s &lt;&lt; res.toStyledString();</div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; <span class="keywordflow">return</span> s;</div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; }</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; </div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
<div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a5144aeedf81177c477a9a98fb6d08b72"> 285</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a5144aeedf81177c477a9a98fb6d08b72">operator[]</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp; lp)</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; {</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#aab89fad9aeda19edcdd159ca4f6cdc7f">ammRpcInfo</a>(lp).<a class="code" href="classJson_1_1Value.html#a3696d34c1a1833742b4bf8e5b247f125">toStyledString</a>();</div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; }</div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; </div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="line"><a name="l00291"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a7c37d21f42f36634953734028b935da7"> 291</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a7c37d21f42f36634953734028b935da7">operator()</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp; lp)</div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; {</div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#aab89fad9aeda19edcdd159ca4f6cdc7f">ammRpcInfo</a>(lp);</div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; }</div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; </div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a61b3d325bf73a05f236a4f6016d9ca88">ammDelete</a>(</div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp; deleter,</div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; </div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a6df32e84d1b6e13392cb9c2eb7df074d"> 302</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a6df32e84d1b6e13392cb9c2eb7df074d">setClose</a>(<span class="keywordtype">bool</span> close)</div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; {</div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a125d9a56aa8c1fa8fade044c3e1d9f6a">doClose_</a> = close;</div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; }</div>
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; </div>
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160; <a class="code" href="classripple_1_1base__uint.html">uint256</a></div>
<div class="line"><a name="l00308"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#af67589f05b013f7f65ee1db095ac8f77"> 308</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#af67589f05b013f7f65ee1db095ac8f77">ammID</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#afbc3273984de999bcecb2733e4785e7f">ammID_</a>;</div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160; }</div>
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160; </div>
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a5e0fca9fe28787aa7573d83ca74709fb">setTokens</a>(</div>
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160; <a class="code" href="classJson_1_1Value.html">Json::Value</a>&amp; jv,</div>
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;Issue, Issue&gt;</a>&gt; <span class="keyword">const</span>&amp; assets = std::nullopt);</div>
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160; </div>
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160; <a class="code" href="classripple_1_1base__uint.html">AccountID</a></div>
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a3a014fe84c4ba40e2ff401d394487b5c">create</a>(</div>
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> tfee = 0,</div>
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint32_t&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a> = std::nullopt,</div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::seq&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a> = std::nullopt,</div>
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160; </div>
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a8f755873bcc0f4ac06f99f27618e0cd5">deposit</a>(</div>
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160; <a class="code" href="classJson_1_1Value.html">Json::Value</a>&amp; jv,</div>
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;Issue, Issue&gt;</a>&gt; <span class="keyword">const</span>&amp; assets = std::nullopt,</div>
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::seq&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a> = std::nullopt,</div>
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160; </div>
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a857bda17195c076d9fa61883f03984fe">withdraw</a>(</div>
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160; <a class="code" href="classJson_1_1Value.html">Json::Value</a>&amp; jv,</div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::seq&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a>,</div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;Issue, Issue&gt;</a>&gt; <span class="keyword">const</span>&amp; assets = std::nullopt,</div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160; </div>
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00343"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a62d83e288719faaef062c61320cabeb0"> 343</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a62d83e288719faaef062c61320cabeb0">log</a>(<span class="keywordtype">bool</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a62d83e288719faaef062c61320cabeb0">log</a>)</div>
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>&#160; {</div>
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#abe05a4da48aafd8510c6045b0e311a5a">log_</a> = <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a62d83e288719faaef062c61320cabeb0">log</a>;</div>
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160; }</div>
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160; </div>
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160; [[nodiscard]] <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a6c1525214e62f7a937701363798afdd2">expectAmmInfo</a>(</div>
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset1,</div>
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset2,</div>
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1balance.html">balance</a>,</div>
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>&#160; <a class="code" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>&amp; jv) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>&#160; </div>
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a165d006b17159de10fb14fd03a74e0de">submit</a>(</div>
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>&#160; <a class="code" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>&amp; jv,</div>
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::seq&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a>,</div>
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a>);</div>
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>&#160; </div>
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160; [[nodiscard]] <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a40f978b02390af8c727e8c0a9fa7d03f">expectAuctionSlot</a>(<span class="keyword">auto</span>&amp;&amp; cb) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160;};</div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a8f755873bcc0f4ac06f99f27618e0cd5">deposit</a>(<a class="code" href="structripple_1_1test_1_1jtx_1_1DepositArg.html">DepositArg</a> <span class="keyword">const</span>&amp; arg);</div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; </div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a857bda17195c076d9fa61883f03984fe">withdraw</a>(</div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;LPToken&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a698d79806ae1471df7682814db3018c9">tokens</a>,</div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <span class="keyword">const</span>&amp; asset1OutDetails = std::nullopt,</div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint32_t&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a> = std::nullopt,</div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; </div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#af265a803fd70db46ba4cee4e748c93fe"> 272</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#af265a803fd70db46ba4cee4e748c93fe">withdrawAll</a>(</div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <span class="keyword">const</span>&amp; asset1OutDetails = std::nullopt,</div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt)</div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; {</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a857bda17195c076d9fa61883f03984fe">withdraw</a>(</div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; account,</div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; std::nullopt,</div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; asset1OutDetails,</div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; asset1OutDetails ? <a class="code" href="namespaceripple.html#a0cebcc733182bb6794d2d4067a29fb2a">tfOneAssetWithdrawAll</a> : <a class="code" href="namespaceripple.html#a8383eb169324b23c0b4b49d6c2d2c877">tfWithdrawAll</a>,</div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a>);</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; }</div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; </div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a857bda17195c076d9fa61883f03984fe">withdraw</a>(</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset1Out,</div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <span class="keyword">const</span>&amp; asset2Out = std::nullopt,</div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;IOUAmount&gt;</a> <span class="keyword">const</span>&amp; maxEP = std::nullopt,</div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; </div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a857bda17195c076d9fa61883f03984fe">withdraw</a>(</div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;LPToken&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a698d79806ae1471df7682814db3018c9">tokens</a>,</div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <span class="keyword">const</span>&amp; asset1Out,</div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <span class="keyword">const</span>&amp; asset2Out,</div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;IOUAmount&gt;</a> <span class="keyword">const</span>&amp; maxEP,</div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint32_t&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a>,</div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;Issue, Issue&gt;</a>&gt; <span class="keyword">const</span>&amp; assets,</div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::seq&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a>,</div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; </div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a857bda17195c076d9fa61883f03984fe">withdraw</a>(<a class="code" href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html">WithdrawArg</a> <span class="keyword">const</span>&amp; arg);</div>
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160; </div>
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a5cb150b609244a234be2517e97b76338">vote</a>(</div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> feeVal,</div>
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint32_t&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a> = std::nullopt,</div>
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::seq&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a> = std::nullopt,</div>
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;Issue, Issue&gt;</a>&gt; <span class="keyword">const</span>&amp; assets = std::nullopt,</div>
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160; </div>
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a5cb150b609244a234be2517e97b76338">vote</a>(<a class="code" href="structripple_1_1test_1_1jtx_1_1VoteArg.html">VoteArg</a> <span class="keyword">const</span>&amp; arg);</div>
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160; </div>
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a0f4692faeaa9086b53bfe76b985b2850">bid</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/variant.html">std::variant&lt;int, IOUAmount, STAmount&gt;</a>&gt; <span class="keyword">const</span>&amp; bidMin =</div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160; std::nullopt,</div>
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/variant.html">std::variant&lt;int, IOUAmount, STAmount&gt;</a>&gt; <span class="keyword">const</span>&amp; bidMax =</div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160; std::nullopt,</div>
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;Account&gt;</a> <span class="keyword">const</span>&amp; authAccounts = {},</div>
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint32_t&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a> = std::nullopt,</div>
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::seq&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a> = std::nullopt,</div>
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::pair&lt;Issue, Issue&gt;</a>&gt; <span class="keyword">const</span>&amp; assets = std::nullopt,</div>
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160; </div>
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a0f4692faeaa9086b53bfe76b985b2850">bid</a>(<a class="code" href="structripple_1_1test_1_1jtx_1_1BidArg.html">BidArg</a> <span class="keyword">const</span>&amp; arg);</div>
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160; </div>
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160; <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp;</div>
<div class="line"><a name="l00336"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#af08bba3a1d76ab155417ad1c0f843caa"> 336</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#af08bba3a1d76ab155417ad1c0f843caa">ammAccount</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#acb338203016494d6b34694e7cc09afab">ammAccount_</a>;</div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160; }</div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; </div>
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160; <a class="code" href="classripple_1_1Issue.html">Issue</a></div>
<div class="line"><a name="l00342"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a8a8b817de45852e6e1b6dec83570522b"> 342</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a8a8b817de45852e6e1b6dec83570522b">lptIssue</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a507e17962f812b547cb8486ec2a3d618">lptIssue_</a>;</div>
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160; }</div>
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160; </div>
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00348"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a698d79806ae1471df7682814db3018c9"> 348</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a698d79806ae1471df7682814db3018c9">tokens</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#ac83568dd2ef59ba5c3fd79d16d65b434">initialLPTokens_</a>;</div>
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span>&#160; }</div>
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>&#160; </div>
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#aafca8293f4320e30ad2356bf43d9ee02">getLPTokensBalance</a>(</div>
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;AccountID&gt;</a> <span class="keyword">const</span>&amp; account = std::nullopt) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>&#160; </div>
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>&#160; <span class="keyword">friend</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::ostream</a>&amp;</div>
<div class="line"><a name="l00358"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#add639145aa9c4884496630b6e78dce3f"> 358</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#add639145aa9c4884496630b6e78dce3f">operator&lt;&lt;</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::ostream</a>&amp; s, <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html">AMM</a> <span class="keyword">const</span>&amp; amm)</div>
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160; {</div>
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>&#160; <span class="keywordflow">if</span> (<span class="keyword">auto</span> <span class="keyword">const</span> res = amm.ammRpcInfo())</div>
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160; s &lt;&lt; res.toStyledString();</div>
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>&#160; <span class="keywordflow">return</span> s;</div>
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160; }</div>
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>&#160; </div>
<div class="line"><a name="l00365"></a><span class="lineno"><a class="line" href="namespaceripple_1_1test_1_1jtx_1_1amm.html"> 365</a></span>&#160;<span class="keyword">namespace </span>amm {</div>
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>&#160;<a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160;<a class="code" href="namespaceripple_1_1test_1_1jtx_1_1amm.html#a405e123375285ad8f0bc427953749fe2">trust</a>(</div>
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160; <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00369"></a><span class="lineno"> 369</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="l00370"></a><span class="lineno"> 370</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a> = 0);</div>
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160;<a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span>&#160;<a class="code" href="namespaceripple_1_1test_1_1jtx_1_1amm.html#ad598bf10f0d1bde849bb8b6333f2edb3">pay</a>(<a class="code" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp; account, <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp; to, <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; amount);</div>
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span>&#160;} <span class="comment">// namespace amm</span></div>
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span>&#160; </div>
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>&#160;} <span class="comment">// namespace jtx</span></div>
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>&#160;} <span class="comment">// namespace test</span></div>
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>&#160;} <span class="comment">// namespace ripple</span></div>
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>&#160; </div>
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>&#160;<span class="preprocessor">#endif // RIPPLE_TEST_JTX_AMM_H_INCLUDED</span></div>
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
<div class="line"><a name="l00366"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a5144aeedf81177c477a9a98fb6d08b72"> 366</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a5144aeedf81177c477a9a98fb6d08b72">operator[]</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp; lp)</div>
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160; {</div>
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#aab89fad9aeda19edcdd159ca4f6cdc7f">ammRpcInfo</a>(lp).<a class="code" href="classJson_1_1Value.html#a3696d34c1a1833742b4bf8e5b247f125">toStyledString</a>();</div>
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160; }</div>
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>&#160; </div>
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160; <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="line"><a name="l00372"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a7c37d21f42f36634953734028b935da7"> 372</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a7c37d21f42f36634953734028b935da7">operator()</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp; lp)</div>
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span>&#160; {</div>
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#aab89fad9aeda19edcdd159ca4f6cdc7f">ammRpcInfo</a>(lp);</div>
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>&#160; }</div>
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>&#160; </div>
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a61b3d325bf73a05f236a4f6016d9ca88">ammDelete</a>(</div>
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>&#160; <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp; deleter,</div>
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00381"></a><span class="lineno"> 381</span>&#160; </div>
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00383"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a6df32e84d1b6e13392cb9c2eb7df074d"> 383</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a6df32e84d1b6e13392cb9c2eb7df074d">setClose</a>(<span class="keywordtype">bool</span> close)</div>
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span>&#160; {</div>
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a125d9a56aa8c1fa8fade044c3e1d9f6a">doClose_</a> = close;</div>
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160; }</div>
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>&#160; </div>
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span>&#160; <a class="code" href="classripple_1_1base__uint.html">uint256</a></div>
<div class="line"><a name="l00389"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#af67589f05b013f7f65ee1db095ac8f77"> 389</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#af67589f05b013f7f65ee1db095ac8f77">ammID</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#afbc3273984de999bcecb2733e4785e7f">ammID_</a>;</div>
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span>&#160; }</div>
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span>&#160; </div>
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00396"></a><span class="lineno"> 396</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a5e0fca9fe28787aa7573d83ca74709fb">setTokens</a>(</div>
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span>&#160; <a class="code" href="classJson_1_1Value.html">Json::Value</a>&amp; jv,</div>
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;Issue, Issue&gt;</a>&gt; <span class="keyword">const</span>&amp; assets = std::nullopt);</div>
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span>&#160; </div>
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span>&#160; <a class="code" href="classripple_1_1base__uint.html">AccountID</a></div>
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a3a014fe84c4ba40e2ff401d394487b5c">create</a>(</div>
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> tfee = 0,</div>
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint32_t&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a> = std::nullopt,</div>
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::seq&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a> = std::nullopt,</div>
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00406"></a><span class="lineno"> 406</span>&#160; </div>
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a8f755873bcc0f4ac06f99f27618e0cd5">deposit</a>(</div>
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>&#160; <a class="code" href="classJson_1_1Value.html">Json::Value</a>&amp; jv,</div>
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;Issue, Issue&gt;</a>&gt; <span class="keyword">const</span>&amp; assets = std::nullopt,</div>
<div class="line"><a name="l00412"></a><span class="lineno"> 412</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::seq&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a> = std::nullopt,</div>
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span>&#160; </div>
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a></div>
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a857bda17195c076d9fa61883f03984fe">withdraw</a>(</div>
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Account&gt;</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span>&#160; <a class="code" href="classJson_1_1Value.html">Json::Value</a>&amp; jv,</div>
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::seq&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a>,</div>
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;Issue, Issue&gt;</a>&gt; <span class="keyword">const</span>&amp; assets = std::nullopt,</div>
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = std::nullopt);</div>
<div class="line"><a name="l00422"></a><span class="lineno"> 422</span>&#160; </div>
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00424"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1AMM.html#a62d83e288719faaef062c61320cabeb0"> 424</a></span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a62d83e288719faaef062c61320cabeb0">log</a>(<span class="keywordtype">bool</span> <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a62d83e288719faaef062c61320cabeb0">log</a>)</div>
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span>&#160; {</div>
<div class="line"><a name="l00426"></a><span class="lineno"> 426</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#abe05a4da48aafd8510c6045b0e311a5a">log_</a> = <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a62d83e288719faaef062c61320cabeb0">log</a>;</div>
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span>&#160; }</div>
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span>&#160; </div>
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span>&#160; [[nodiscard]] <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a6c1525214e62f7a937701363798afdd2">expectAmmInfo</a>(</div>
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset1,</div>
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; asset2,</div>
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span>&#160; <a class="code" href="classripple_1_1IOUAmount.html">IOUAmount</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1balance.html">balance</a>,</div>
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span>&#160; <a class="code" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>&amp; jv) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>&#160; </div>
<div class="line"><a name="l00436"></a><span class="lineno"> 436</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a165d006b17159de10fb14fd03a74e0de">submit</a>(</div>
<div class="line"><a name="l00438"></a><span class="lineno"> 438</span>&#160; <a class="code" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>&amp; jv,</div>
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;jtx::seq&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a>,</div>
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;ter&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a>);</div>
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span>&#160; </div>
<div class="line"><a name="l00442"></a><span class="lineno"> 442</span>&#160; [[nodiscard]] <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00443"></a><span class="lineno"> 443</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1AMM.html#a40f978b02390af8c727e8c0a9fa7d03f">expectAuctionSlot</a>(<span class="keyword">auto</span>&amp;&amp; cb) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00444"></a><span class="lineno"> 444</span>&#160;};</div>
<div class="line"><a name="l00445"></a><span class="lineno"> 445</span>&#160; </div>
<div class="line"><a name="l00446"></a><span class="lineno"><a class="line" href="namespaceripple_1_1test_1_1jtx_1_1amm.html"> 446</a></span>&#160;<span class="keyword">namespace </span>amm {</div>
<div class="line"><a name="l00447"></a><span class="lineno"> 447</span>&#160;<a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="line"><a name="l00448"></a><span class="lineno"> 448</span>&#160;<a class="code" href="namespaceripple_1_1test_1_1jtx_1_1amm.html#a405e123375285ad8f0bc427953749fe2">trust</a>(</div>
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span>&#160; <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00450"></a><span class="lineno"> 450</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="l00451"></a><span class="lineno"> 451</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a> = 0);</div>
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span>&#160;<a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="line"><a name="l00453"></a><span class="lineno"> 453</span>&#160;<a class="code" href="namespaceripple_1_1test_1_1jtx_1_1amm.html#ad598bf10f0d1bde849bb8b6333f2edb3">pay</a>(<a class="code" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp; account, <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp; to, <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; amount);</div>
<div class="line"><a name="l00454"></a><span class="lineno"> 454</span>&#160;} <span class="comment">// namespace amm</span></div>
<div class="line"><a name="l00455"></a><span class="lineno"> 455</span>&#160; </div>
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span>&#160;} <span class="comment">// namespace jtx</span></div>
<div class="line"><a name="l00457"></a><span class="lineno"> 457</span>&#160;} <span class="comment">// namespace test</span></div>
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span>&#160;} <span class="comment">// namespace ripple</span></div>
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span>&#160; </div>
<div class="line"><a name="l00460"></a><span class="lineno"> 460</span>&#160;<span class="preprocessor">#endif // RIPPLE_TEST_JTX_AMM_H_INCLUDED</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1WithdrawArg_html_a0d12552ef653b2965d2fc71bd890d016"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html#a0d12552ef653b2965d2fc71bd890d016">ripple::test::jtx::WithdrawArg::asset2Out</a></div><div class="ttdeci">std::optional&lt; STAmount &gt; asset2Out</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00091">AMM.h:91</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="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a61b3d325bf73a05f236a4f6016d9ca88"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a61b3d325bf73a05f236a4f6016d9ca88">ripple::test::jtx::AMM::ammDelete</a></div><div class="ttdeci">void ammDelete(AccountID const &amp;deleter, std::optional&lt; ter &gt; const &amp;ter=std::nullopt)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00721">AMM.cpp:721</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a2e7a0f8190e83a01eedde8b960910b2b"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a2e7a0f8190e83a01eedde8b960910b2b">ripple::test::jtx::AMM::msig_</a></div><div class="ttdeci">const std::optional&lt; msig &gt; msig_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00077">AMM.h:77</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_af08bba3a1d76ab155417ad1c0f843caa"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#af08bba3a1d76ab155417ad1c0f843caa">ripple::test::jtx::AMM::ammAccount</a></div><div class="ttdeci">AccountID const &amp; ammAccount() const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00255">AMM.h:255</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a61b3d325bf73a05f236a4f6016d9ca88"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a61b3d325bf73a05f236a4f6016d9ca88">ripple::test::jtx::AMM::ammDelete</a></div><div class="ttdeci">void ammDelete(AccountID const &amp;deleter, std::optional&lt; ter &gt; const &amp;ter=std::nullopt)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00809">AMM.cpp:809</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1CreateArg_html"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1CreateArg.html">ripple::test::jtx::CreateArg</a></div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00060">AMM.h:60</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1WithdrawArg_html"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html">ripple::test::jtx::WithdrawArg</a></div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00086">AMM.h:86</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a2e7a0f8190e83a01eedde8b960910b2b"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a2e7a0f8190e83a01eedde8b960910b2b">ripple::test::jtx::AMM::msig_</a></div><div class="ttdeci">const std::optional&lt; msig &gt; msig_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00138">AMM.h:138</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_af08bba3a1d76ab155417ad1c0f843caa"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#af08bba3a1d76ab155417ad1c0f843caa">ripple::test::jtx::AMM::ammAccount</a></div><div class="ttdeci">AccountID const &amp; ammAccount() const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00336">AMM.h:336</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1ter_html"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1ter.html">ripple::test::jtx::ter</a></div><div class="ttdoc">Set the expected result code for a JTx The test will fail if the code doesn't match.</div><div class="ttdef"><b>Definition:</b> <a href="ter_8h_source.html#l00033">ter.h:33</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a6df32e84d1b6e13392cb9c2eb7df074d"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a6df32e84d1b6e13392cb9c2eb7df074d">ripple::test::jtx::AMM::setClose</a></div><div class="ttdeci">void setClose(bool close)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00302">AMM.h:302</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a6df32e84d1b6e13392cb9c2eb7df074d"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a6df32e84d1b6e13392cb9c2eb7df074d">ripple::test::jtx::AMM::setClose</a></div><div class="ttdeci">void setClose(bool close)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00383">AMM.h:383</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="astructripple_1_1test_1_1jtx_1_1DepositArg_html_ad98095fa6fcfb67c860f6b9d94f6cf09"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1DepositArg.html#ad98095fa6fcfb67c860f6b9d94f6cf09">ripple::test::jtx::DepositArg::tfee</a></div><div class="ttdeci">std::optional&lt; std::uint16_t &gt; tfee</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00082">AMM.h:82</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_ae9e04ea7f8ff71ef40fb017c8603a384"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#ae9e04ea7f8ff71ef40fb017c8603a384">ripple::test::jtx::AMM::AMM</a></div><div class="ttdeci">AMM(Env &amp;env, Account const &amp;account, STAmount const &amp;asset1, STAmount const &amp;asset2, bool log=false, std::uint16_t tfee=0, std::uint32_t fee=0, std::optional&lt; std::uint32_t &gt; flags=std::nullopt, std::optional&lt; jtx::seq &gt; seq=std::nullopt, std::optional&lt; jtx::msig &gt; ms=std::nullopt, std::optional&lt; ter &gt; const &amp;ter=std::nullopt, bool close=true)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00049">AMM.cpp:49</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1balance_html"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1balance.html">ripple::test::jtx::balance</a></div><div class="ttdoc">A balance matches.</div><div class="ttdef"><b>Definition:</b> <a href="balance_8h_source.html#l00038">balance.h:38</a></div></div>
<div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1WithdrawArg_html_a2f26044f8526f13c3d5be440c1eeec92"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html#a2f26044f8526f13c3d5be440c1eeec92">ripple::test::jtx::WithdrawArg::maxEP</a></div><div class="ttdeci">std::optional&lt; IOUAmount &gt; maxEP</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00092">AMM.h:92</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1DepositArg_html_a509183bb05aaccee7030461cdd7c463b"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1DepositArg.html#a509183bb05aaccee7030461cdd7c463b">ripple::test::jtx::DepositArg::asset1In</a></div><div class="ttdeci">std::optional&lt; STAmount &gt; asset1In</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00076">AMM.h:76</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1BidArg_html_a739eb4cfc1e8bc3a57f0ed45c8d3b314"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1BidArg.html#a739eb4cfc1e8bc3a57f0ed45c8d3b314">ripple::test::jtx::BidArg::err</a></div><div class="ttdeci">std::optional&lt; ter &gt; err</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00118">AMM.h:118</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1LPToken_html_a008e65cd16ed4df01a31a267bd3b996d"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1LPToken.html#a008e65cd16ed4df01a31a267bd3b996d">ripple::test::jtx::LPToken::LPToken</a></div><div class="ttdeci">LPToken(std::uint64_t tokens)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00042">AMM.h:42</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a7c37d21f42f36634953734028b935da7"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a7c37d21f42f36634953734028b935da7">ripple::test::jtx::AMM::operator()</a></div><div class="ttdeci">Json::Value operator()(AccountID const &amp;lp)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00291">AMM.h:291</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a5cb150b609244a234be2517e97b76338"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a5cb150b609244a234be2517e97b76338">ripple::test::jtx::AMM::vote</a></div><div class="ttdeci">void vote(std::optional&lt; Account &gt; const &amp;account, std::uint32_t feeVal, std::optional&lt; std::uint32_t &gt; const &amp;flags=std::nullopt, std::optional&lt; jtx::seq &gt; const &amp;seq=std::nullopt, std::optional&lt; std::pair&lt; Issue, Issue &gt;&gt; const &amp;assets=std::nullopt, std::optional&lt; ter &gt; const &amp;ter=std::nullopt)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00578">AMM.cpp:578</a></div></div>
<div class="ttc" id="anamespaceripple_1_1test_1_1jtx_1_1amm_html_ad598bf10f0d1bde849bb8b6333f2edb3"><div class="ttname"><a href="namespaceripple_1_1test_1_1jtx_1_1amm.html#ad598bf10f0d1bde849bb8b6333f2edb3">ripple::test::jtx::amm::pay</a></div><div class="ttdeci">Json::Value pay(Account const &amp;account, AccountID const &amp;to, STAmount const &amp;amount)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00746">AMM.cpp:746</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a8f755873bcc0f4ac06f99f27618e0cd5"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a8f755873bcc0f4ac06f99f27618e0cd5">ripple::test::jtx::AMM::deposit</a></div><div class="ttdeci">IOUAmount deposit(std::optional&lt; Account &gt; const &amp;account, LPToken tokens, std::optional&lt; STAmount &gt; const &amp;asset1InDetails=std::nullopt, std::optional&lt; std::uint32_t &gt; const &amp;flags=std::nullopt, std::optional&lt; ter &gt; const &amp;ter=std::nullopt)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00383">AMM.cpp:383</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a7c37d21f42f36634953734028b935da7"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a7c37d21f42f36634953734028b935da7">ripple::test::jtx::AMM::operator()</a></div><div class="ttdeci">Json::Value operator()(AccountID const &amp;lp)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00372">AMM.h:372</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a5cb150b609244a234be2517e97b76338"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a5cb150b609244a234be2517e97b76338">ripple::test::jtx::AMM::vote</a></div><div class="ttdeci">void vote(std::optional&lt; Account &gt; const &amp;account, std::uint32_t feeVal, std::optional&lt; std::uint32_t &gt; const &amp;flags=std::nullopt, std::optional&lt; jtx::seq &gt; const &amp;seq=std::nullopt, std::optional&lt; std::pair&lt; Issue, Issue &gt;&gt; const &amp;assets=std::nullopt, std::optional&lt; ter &gt; const &amp;ter=std::nullopt)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00633">AMM.cpp:633</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1WithdrawArg_html_a8fb303a4bcff6d3ddc6f9fda25ed2a9b"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html#a8fb303a4bcff6d3ddc6f9fda25ed2a9b">ripple::test::jtx::WithdrawArg::asset1Out</a></div><div class="ttdeci">std::optional&lt; STAmount &gt; asset1Out</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00090">AMM.h:90</a></div></div>
<div class="ttc" id="anamespaceripple_1_1test_1_1jtx_1_1amm_html_ad598bf10f0d1bde849bb8b6333f2edb3"><div class="ttname"><a href="namespaceripple_1_1test_1_1jtx_1_1amm.html#ad598bf10f0d1bde849bb8b6333f2edb3">ripple::test::jtx::amm::pay</a></div><div class="ttdeci">Json::Value pay(Account const &amp;account, AccountID const &amp;to, STAmount const &amp;amount)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00834">AMM.cpp:834</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a8f755873bcc0f4ac06f99f27618e0cd5"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a8f755873bcc0f4ac06f99f27618e0cd5">ripple::test::jtx::AMM::deposit</a></div><div class="ttdeci">IOUAmount deposit(std::optional&lt; Account &gt; const &amp;account, LPToken tokens, std::optional&lt; STAmount &gt; const &amp;asset1InDetails=std::nullopt, std::optional&lt; std::uint32_t &gt; const &amp;flags=std::nullopt, std::optional&lt; ter &gt; const &amp;ter=std::nullopt)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00407">AMM.cpp:407</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1CreateArg_html_a1933e277bb0f71b1a012d4c5176cf497"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1CreateArg.html#a1933e277bb0f71b1a012d4c5176cf497">ripple::test::jtx::CreateArg::close</a></div><div class="ttdeci">bool close</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00069">AMM.h:69</a></div></div>
<div class="ttc" id="atuple_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/tuple.html">std::tuple</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a0f4692faeaa9086b53bfe76b985b2850"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a0f4692faeaa9086b53bfe76b985b2850">ripple::test::jtx::AMM::bid</a></div><div class="ttdeci">void bid(std::optional&lt; Account &gt; const &amp;account, std::optional&lt; std::variant&lt; int, IOUAmount, STAmount &gt;&gt; const &amp;bidMin=std::nullopt, std::optional&lt; std::variant&lt; int, IOUAmount, STAmount &gt;&gt; const &amp;bidMax=std::nullopt, std::vector&lt; Account &gt; const &amp;authAccounts={}, std::optional&lt; std::uint32_t &gt; const &amp;flags=std::nullopt, std::optional&lt; jtx::seq &gt; const &amp;seq=std::nullopt, std::optional&lt; std::pair&lt; Issue, Issue &gt;&gt; const &amp;assets=std::nullopt, std::optional&lt; ter &gt; const &amp;ter=std::nullopt)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00599">AMM.cpp:599</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a0f4692faeaa9086b53bfe76b985b2850"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a0f4692faeaa9086b53bfe76b985b2850">ripple::test::jtx::AMM::bid</a></div><div class="ttdeci">void bid(std::optional&lt; Account &gt; const &amp;account, std::optional&lt; std::variant&lt; int, IOUAmount, STAmount &gt;&gt; const &amp;bidMin=std::nullopt, std::optional&lt; std::variant&lt; int, IOUAmount, STAmount &gt;&gt; const &amp;bidMax=std::nullopt, std::vector&lt; Account &gt; const &amp;authAccounts={}, std::optional&lt; std::uint32_t &gt; const &amp;flags=std::nullopt, std::optional&lt; jtx::seq &gt; const &amp;seq=std::nullopt, std::optional&lt; std::pair&lt; Issue, Issue &gt;&gt; const &amp;assets=std::nullopt, std::optional&lt; ter &gt; const &amp;ter=std::nullopt)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00660">AMM.cpp:660</a></div></div>
<div class="ttc" id="aclassripple_1_1IOUAmount_html"><div class="ttname"><a href="classripple_1_1IOUAmount.html">ripple::IOUAmount</a></div><div class="ttdoc">Floating point representation of amounts with high dynamic range.</div><div class="ttdef"><b>Definition:</b> <a href="IOUAmount_8h_source.html#l00043">IOUAmount.h:43</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html">ripple::test::jtx::AMM</a></div><div class="ttdoc">Convenience class to test AMM functionality.</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00062">AMM.h:62</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html">ripple::test::jtx::AMM</a></div><div class="ttdoc">Convenience class to test AMM functionality.</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00123">AMM.h:123</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1DepositArg_html_ac1618c76060c8af5a9dcb4cd87ef5ea9"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1DepositArg.html#ac1618c76060c8af5a9dcb4cd87ef5ea9">ripple::test::jtx::DepositArg::asset2In</a></div><div class="ttdeci">std::optional&lt; STAmount &gt; asset2In</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00077">AMM.h:77</a></div></div>
<div class="ttc" id="aclassJson_1_1Value_html_a3696d34c1a1833742b4bf8e5b247f125"><div class="ttname"><a href="classJson_1_1Value.html#a3696d34c1a1833742b4bf8e5b247f125">Json::Value::toStyledString</a></div><div class="ttdeci">std::string toStyledString() const</div><div class="ttdef"><b>Definition:</b> <a href="json__value_8cpp_source.html#l01039">json_value.cpp:1039</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a6c1525214e62f7a937701363798afdd2"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a6c1525214e62f7a937701363798afdd2">ripple::test::jtx::AMM::expectAmmInfo</a></div><div class="ttdeci">bool expectAmmInfo(STAmount const &amp;asset1, STAmount const &amp;asset2, IOUAmount const &amp;balance, Json::Value const &amp;jv) const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00314">AMM.cpp:314</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_ab92cc678463ff8013be07f41e94f7598"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#ab92cc678463ff8013be07f41e94f7598">ripple::test::jtx::AMM::creatorAccount_</a></div><div class="ttdeci">const Account creatorAccount_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00065">AMM.h:65</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a88653ee0b6d0c6312c031bea9479ebe5"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a88653ee0b6d0c6312c031bea9479ebe5">ripple::test::jtx::AMM::expectBalances</a></div><div class="ttdeci">bool expectBalances(STAmount const &amp;asset1, STAmount const &amp;asset2, IOUAmount const &amp;lpt, std::optional&lt; AccountID &gt; const &amp;account=std::nullopt) const</div><div class="ttdoc">Verify the AMM balances.</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00203">AMM.cpp:203</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1DepositArg_html_ab8ac03924ead996d1ba2ebc487cf8ac2"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1DepositArg.html#ab8ac03924ead996d1ba2ebc487cf8ac2">ripple::test::jtx::DepositArg::err</a></div><div class="ttdeci">std::optional&lt; ter &gt; err</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00083">AMM.h:83</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a6c1525214e62f7a937701363798afdd2"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a6c1525214e62f7a937701363798afdd2">ripple::test::jtx::AMM::expectAmmInfo</a></div><div class="ttdeci">bool expectAmmInfo(STAmount const &amp;asset1, STAmount const &amp;asset2, IOUAmount const &amp;balance, Json::Value const &amp;jv) const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00338">AMM.cpp:338</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1VoteArg_html_a4bf318cdf8d15d405f656f5bacd8e029"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1VoteArg.html#a4bf318cdf8d15d405f656f5bacd8e029">ripple::test::jtx::VoteArg::err</a></div><div class="ttdeci">std::optional&lt; ter &gt; err</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00106">AMM.h:106</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_ab92cc678463ff8013be07f41e94f7598"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#ab92cc678463ff8013be07f41e94f7598">ripple::test::jtx::AMM::creatorAccount_</a></div><div class="ttdeci">const Account creatorAccount_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00126">AMM.h:126</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1VoteArg_html"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1VoteArg.html">ripple::test::jtx::VoteArg</a></div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00099">AMM.h:99</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a88653ee0b6d0c6312c031bea9479ebe5"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a88653ee0b6d0c6312c031bea9479ebe5">ripple::test::jtx::AMM::expectBalances</a></div><div class="ttdeci">bool expectBalances(STAmount const &amp;asset1, STAmount const &amp;asset2, IOUAmount const &amp;lpt, std::optional&lt; AccountID &gt; const &amp;account=std::nullopt) const</div><div class="ttdoc">Verify the AMM balances.</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00227">AMM.cpp:227</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_af265a803fd70db46ba4cee4e748c93fe"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#af265a803fd70db46ba4cee4e748c93fe">ripple::test::jtx::AMM::withdrawAll</a></div><div class="ttdeci">IOUAmount withdrawAll(std::optional&lt; Account &gt; const &amp;account, std::optional&lt; STAmount &gt; const &amp;asset1OutDetails=std::nullopt, std::optional&lt; ter &gt; const &amp;ter=std::nullopt)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00272">AMM.h:272</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1BidArg_html_a1a9879429034a0b5fb9cfabb80801a21"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1BidArg.html#a1a9879429034a0b5fb9cfabb80801a21">ripple::test::jtx::BidArg::authAccounts</a></div><div class="ttdeci">std::vector&lt; Account &gt; authAccounts</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00114">AMM.h:114</a></div></div>
<div class="ttc" id="anamespaceripple_html_a0cebcc733182bb6794d2d4067a29fb2a"><div class="ttname"><a href="namespaceripple.html#a0cebcc733182bb6794d2d4067a29fb2a">ripple::tfOneAssetWithdrawAll</a></div><div class="ttdeci">constexpr std::uint32_t tfOneAssetWithdrawAll</div><div class="ttdef"><b>Definition:</b> <a href="TxFlags_8h_source.html#l00169">TxFlags.h:169</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_aab89fad9aeda19edcdd159ca4f6cdc7f"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#aab89fad9aeda19edcdd159ca4f6cdc7f">ripple::test::jtx::AMM::ammRpcInfo</a></div><div class="ttdeci">Json::Value ammRpcInfo(std::optional&lt; AccountID &gt; const &amp;account=std::nullopt, std::optional&lt; std::string &gt; const &amp;ledgerIndex=std::nullopt, std::optional&lt; Issue &gt; issue1=std::nullopt, std::optional&lt; Issue &gt; issue2=std::nullopt, std::optional&lt; AccountID &gt; const &amp;ammAccount=std::nullopt, bool ignoreParams=false) const</div><div class="ttdoc">Send amm_info RPC command.</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00136">AMM.cpp:136</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_aab89fad9aeda19edcdd159ca4f6cdc7f"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#aab89fad9aeda19edcdd159ca4f6cdc7f">ripple::test::jtx::AMM::ammRpcInfo</a></div><div class="ttdeci">Json::Value ammRpcInfo(std::optional&lt; AccountID &gt; const &amp;account=std::nullopt, std::optional&lt; std::string &gt; const &amp;ledgerIndex=std::nullopt, std::optional&lt; Issue &gt; issue1=std::nullopt, std::optional&lt; Issue &gt; issue2=std::nullopt, std::optional&lt; AccountID &gt; const &amp;ammAccount=std::nullopt, bool ignoreParams=false) const</div><div class="ttdoc">Send amm_info RPC command.</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00160">AMM.cpp:160</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1DepositArg_html_af0ba418b897f2bfc9885348678264e34"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1DepositArg.html#af0ba418b897f2bfc9885348678264e34">ripple::test::jtx::DepositArg::tokens</a></div><div class="ttdeci">std::optional&lt; LPToken &gt; tokens</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00075">AMM.h:75</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&lt; 256 &gt;</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_abf5ddd6697c83d3c07abd23dbb6dba2e"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#abf5ddd6697c83d3c07abd23dbb6dba2e">ripple::test::jtx::AMM::expectAmmRpcInfo</a></div><div class="ttdeci">bool expectAmmRpcInfo(STAmount const &amp;asset1, STAmount const &amp;asset2, IOUAmount const &amp;balance, std::optional&lt; AccountID &gt; const &amp;account=std::nullopt, std::optional&lt; std::string &gt; const &amp;ledger_index=std::nullopt, std::optional&lt; AccountID &gt; const &amp;ammAccount=std::nullopt) const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00300">AMM.cpp:300</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_abf5ddd6697c83d3c07abd23dbb6dba2e"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#abf5ddd6697c83d3c07abd23dbb6dba2e">ripple::test::jtx::AMM::expectAmmRpcInfo</a></div><div class="ttdeci">bool expectAmmRpcInfo(STAmount const &amp;asset1, STAmount const &amp;asset2, IOUAmount const &amp;balance, std::optional&lt; AccountID &gt; const &amp;account=std::nullopt, std::optional&lt; std::string &gt; const &amp;ledger_index=std::nullopt, std::optional&lt; AccountID &gt; const &amp;ammAccount=std::nullopt) const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00324">AMM.cpp:324</a></div></div>
<div class="ttc" id="anamespaceripple_html_a8383eb169324b23c0b4b49d6c2d2c877"><div class="ttname"><a href="namespaceripple.html#a8383eb169324b23c0b4b49d6c2d2c877">ripple::tfWithdrawAll</a></div><div class="ttdeci">constexpr std::uint32_t tfWithdrawAll</div><div class="ttdef"><b>Definition:</b> <a href="TxFlags_8h_source.html#l00168">TxFlags.h:168</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_afc51e85c60292ed3e9c38ae056ec564f"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#afc51e85c60292ed3e9c38ae056ec564f">ripple::test::jtx::AMM::expectLPTokens</a></div><div class="ttdeci">bool expectLPTokens(AccountID const &amp;account, IOUAmount const &amp;tokens) const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00234">AMM.cpp:234</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_ac83568dd2ef59ba5c3fd79d16d65b434"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#ac83568dd2ef59ba5c3fd79d16d65b434">ripple::test::jtx::AMM::initialLPTokens_</a></div><div class="ttdeci">const IOUAmount initialLPTokens_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00069">AMM.h:69</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_afc51e85c60292ed3e9c38ae056ec564f"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#afc51e85c60292ed3e9c38ae056ec564f">ripple::test::jtx::AMM::expectLPTokens</a></div><div class="ttdeci">bool expectLPTokens(AccountID const &amp;account, IOUAmount const &amp;tokens) const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00258">AMM.cpp:258</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_ac83568dd2ef59ba5c3fd79d16d65b434"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#ac83568dd2ef59ba5c3fd79d16d65b434">ripple::test::jtx::AMM::initialLPTokens_</a></div><div class="ttdeci">const IOUAmount initialLPTokens_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00130">AMM.h:130</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1WithdrawArg_html_acdd40438c48e85588ca879d90a07e33e"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html#acdd40438c48e85588ca879d90a07e33e">ripple::test::jtx::WithdrawArg::err</a></div><div class="ttdeci">std::optional&lt; ter &gt; err</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00096">AMM.h:96</a></div></div>
<div class="ttc" id="abasic_ostream_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::ostream</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a6e054aa935ddb33c8ff55f4b1174ce88"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a6e054aa935ddb33c8ff55f4b1174ce88">ripple::test::jtx::AMM::lastPurchasePrice_</a></div><div class="ttdeci">IOUAmount lastPurchasePrice_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00073">AMM.h:73</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a62d83e288719faaef062c61320cabeb0"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a62d83e288719faaef062c61320cabeb0">ripple::test::jtx::AMM::log</a></div><div class="ttdeci">void log(bool log)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00343">AMM.h:343</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a5144aeedf81177c477a9a98fb6d08b72"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a5144aeedf81177c477a9a98fb6d08b72">ripple::test::jtx::AMM::operator[]</a></div><div class="ttdeci">std::string operator[](AccountID const &amp;lp)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00285">AMM.h:285</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_abe05a4da48aafd8510c6045b0e311a5a"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#abe05a4da48aafd8510c6045b0e311a5a">ripple::test::jtx::AMM::log_</a></div><div class="ttdeci">bool log_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00070">AMM.h:70</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_aae249db9ffedb46900882e8530bcac8d"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#aae249db9ffedb46900882e8530bcac8d">ripple::test::jtx::AMM::env_</a></div><div class="ttdeci">Env &amp; env_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00064">AMM.h:64</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a507e17962f812b547cb8486ec2a3d618"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a507e17962f812b547cb8486ec2a3d618">ripple::test::jtx::AMM::lptIssue_</a></div><div class="ttdeci">const Issue lptIssue_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00081">AMM.h:81</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a9d186dce947ff880fc490464e7280c58"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a9d186dce947ff880fc490464e7280c58">ripple::test::jtx::AMM::bidMax_</a></div><div class="ttdeci">std::optional&lt; IOUAmount &gt; bidMax_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00075">AMM.h:75</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1VoteArg_html_a68066dc844cd41e430f56a166a0f6335"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1VoteArg.html#a68066dc844cd41e430f56a166a0f6335">ripple::test::jtx::VoteArg::tfee</a></div><div class="ttdeci">std::uint32_t tfee</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00102">AMM.h:102</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a6e054aa935ddb33c8ff55f4b1174ce88"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a6e054aa935ddb33c8ff55f4b1174ce88">ripple::test::jtx::AMM::lastPurchasePrice_</a></div><div class="ttdeci">IOUAmount lastPurchasePrice_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00134">AMM.h:134</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a62d83e288719faaef062c61320cabeb0"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a62d83e288719faaef062c61320cabeb0">ripple::test::jtx::AMM::log</a></div><div class="ttdeci">void log(bool log)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00424">AMM.h:424</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a5144aeedf81177c477a9a98fb6d08b72"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a5144aeedf81177c477a9a98fb6d08b72">ripple::test::jtx::AMM::operator[]</a></div><div class="ttdeci">std::string operator[](AccountID const &amp;lp)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00366">AMM.h:366</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_abe05a4da48aafd8510c6045b0e311a5a"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#abe05a4da48aafd8510c6045b0e311a5a">ripple::test::jtx::AMM::log_</a></div><div class="ttdeci">bool log_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00131">AMM.h:131</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_aae249db9ffedb46900882e8530bcac8d"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#aae249db9ffedb46900882e8530bcac8d">ripple::test::jtx::AMM::env_</a></div><div class="ttdeci">Env &amp; env_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00125">AMM.h:125</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1CreateArg_html_ac0d9784f090273321d817523e809f007"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1CreateArg.html#ac0d9784f090273321d817523e809f007">ripple::test::jtx::CreateArg::ms</a></div><div class="ttdeci">std::optional&lt; jtx::msig &gt; ms</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00067">AMM.h:67</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a507e17962f812b547cb8486ec2a3d618"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a507e17962f812b547cb8486ec2a3d618">ripple::test::jtx::AMM::lptIssue_</a></div><div class="ttdeci">const Issue lptIssue_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00142">AMM.h:142</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a9d186dce947ff880fc490464e7280c58"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a9d186dce947ff880fc490464e7280c58">ripple::test::jtx::AMM::bidMax_</a></div><div class="ttdeci">std::optional&lt; IOUAmount &gt; bidMax_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00136">AMM.h:136</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#l00046">STAmount.h:46</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_afbc3273984de999bcecb2733e4785e7f"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#afbc3273984de999bcecb2733e4785e7f">ripple::test::jtx::AMM::ammID_</a></div><div class="ttdeci">const uint256 ammID_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00068">AMM.h:68</a></div></div>
<div class="ttc" id="anamespaceripple_1_1test_1_1jtx_1_1amm_html_a405e123375285ad8f0bc427953749fe2"><div class="ttname"><a href="namespaceripple_1_1test_1_1jtx_1_1amm.html#a405e123375285ad8f0bc427953749fe2">ripple::test::jtx::amm::trust</a></div><div class="ttdeci">Json::Value trust(AccountID const &amp;account, STAmount const &amp;amount, std::uint32_t flags=0)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00734">AMM.cpp:734</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_aff01a1fdb7523ebe814b369efba38162"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#aff01a1fdb7523ebe814b369efba38162">ripple::test::jtx::AMM::AMM</a></div><div class="ttdeci">AMM(Env &amp;env, Account const &amp;account, STAmount const &amp;asset1, STAmount const &amp;asset2, bool log=false, std::uint16_t tfee=0, std::uint32_t fee=0, std::optional&lt; std::uint32_t &gt; flags=std::nullopt, std::optional&lt; jtx::seq &gt; seq=std::nullopt, std::optional&lt; jtx::msig &gt; ms=std::nullopt, std::optional&lt; ter &gt; const &amp;ter=std::nullopt)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00049">AMM.cpp:49</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_afbc3273984de999bcecb2733e4785e7f"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#afbc3273984de999bcecb2733e4785e7f">ripple::test::jtx::AMM::ammID_</a></div><div class="ttdeci">const uint256 ammID_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00129">AMM.h:129</a></div></div>
<div class="ttc" id="anamespaceripple_1_1test_1_1jtx_1_1amm_html_a405e123375285ad8f0bc427953749fe2"><div class="ttname"><a href="namespaceripple_1_1test_1_1jtx_1_1amm.html#a405e123375285ad8f0bc427953749fe2">ripple::test::jtx::amm::trust</a></div><div class="ttdeci">Json::Value trust(AccountID const &amp;account, STAmount const &amp;amount, std::uint32_t flags=0)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00822">AMM.cpp:822</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1VoteArg_html_abe8e448464a870b11eec6ebd0e24693a"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1VoteArg.html#abe8e448464a870b11eec6ebd0e24693a">ripple::test::jtx::VoteArg::assets</a></div><div class="ttdeci">std::optional&lt; std::pair&lt; Issue, Issue &gt; &gt; assets</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00105">AMM.h:105</a></div></div>
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a7b8b82f23b5bda291a992947b10abc3e"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a7b8b82f23b5bda291a992947b10abc3e">ripple::test::jtx::AMM::expectTradingFee</a></div><div class="ttdeci">bool expectTradingFee(std::uint16_t fee) const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00284">AMM.cpp:284</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1WithdrawArg_html_a95f160e9be771d51d7ef132a37315f96"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html#a95f160e9be771d51d7ef132a37315f96">ripple::test::jtx::WithdrawArg::assets</a></div><div class="ttdeci">std::optional&lt; std::pair&lt; Issue, Issue &gt; &gt; assets</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00094">AMM.h:94</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1DepositArg_html"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1DepositArg.html">ripple::test::jtx::DepositArg</a></div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00072">AMM.h:72</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a7b8b82f23b5bda291a992947b10abc3e"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a7b8b82f23b5bda291a992947b10abc3e">ripple::test::jtx::AMM::expectTradingFee</a></div><div class="ttdeci">bool expectTradingFee(std::uint16_t fee) const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00308">AMM.cpp:308</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1fee_html"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1fee.html">ripple::test::jtx::fee</a></div><div class="ttdoc">Set the fee on a JTx.</div><div class="ttdef"><b>Definition:</b> <a href="fee_8h_source.html#l00035">fee.h:35</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_ac1f6c526842d09844df8ab096122d5e9"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#ac1f6c526842d09844df8ab096122d5e9">ripple::test::jtx::AMM::withdrawAll</a></div><div class="ttdeci">IOUAmount withdrawAll(std::optional&lt; Account &gt; const &amp;account, std::optional&lt; STAmount &gt; const &amp;asset1OutDetails=std::nullopt)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00201">AMM.h:201</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_af4ee836d38bc169c99d9332308680cd5"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#af4ee836d38bc169c99d9332308680cd5">ripple::test::jtx::AMM::asset1_</a></div><div class="ttdeci">const STAmount asset1_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00066">AMM.h:66</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_af67589f05b013f7f65ee1db095ac8f77"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#af67589f05b013f7f65ee1db095ac8f77">ripple::test::jtx::AMM::ammID</a></div><div class="ttdeci">uint256 ammID() const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00308">AMM.h:308</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a857bda17195c076d9fa61883f03984fe"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a857bda17195c076d9fa61883f03984fe">ripple::test::jtx::AMM::withdraw</a></div><div class="ttdeci">IOUAmount withdraw(std::optional&lt; Account &gt; const &amp;account, std::optional&lt; LPToken &gt; const &amp;tokens, std::optional&lt; STAmount &gt; const &amp;asset1OutDetails=std::nullopt, std::optional&lt; std::uint32_t &gt; const &amp;flags=std::nullopt, std::optional&lt; ter &gt; const &amp;ter=std::nullopt)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00493">AMM.cpp:493</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_af4ee836d38bc169c99d9332308680cd5"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#af4ee836d38bc169c99d9332308680cd5">ripple::test::jtx::AMM::asset1_</a></div><div class="ttdeci">const STAmount asset1_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00127">AMM.h:127</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_af67589f05b013f7f65ee1db095ac8f77"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#af67589f05b013f7f65ee1db095ac8f77">ripple::test::jtx::AMM::ammID</a></div><div class="ttdeci">uint256 ammID() const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00389">AMM.h:389</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a857bda17195c076d9fa61883f03984fe"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a857bda17195c076d9fa61883f03984fe">ripple::test::jtx::AMM::withdraw</a></div><div class="ttdeci">IOUAmount withdraw(std::optional&lt; Account &gt; const &amp;account, std::optional&lt; LPToken &gt; const &amp;tokens, std::optional&lt; STAmount &gt; const &amp;asset1OutDetails=std::nullopt, std::optional&lt; std::uint32_t &gt; const &amp;flags=std::nullopt, std::optional&lt; ter &gt; const &amp;ter=std::nullopt)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00533">AMM.cpp:533</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1seq_html"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1seq.html">ripple::test::jtx::seq</a></div><div class="ttdoc">Set the sequence number on a JTx.</div><div class="ttdef"><b>Definition:</b> <a href="seq_8h_source.html#l00033">seq.h:33</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_af06beaeb3698cdfc2cfb69b89cdebd3d"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#af06beaeb3698cdfc2cfb69b89cdebd3d">ripple::test::jtx::AMM::ammExists</a></div><div class="ttdeci">bool ammExists() const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00292">AMM.cpp:292</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_af06beaeb3698cdfc2cfb69b89cdebd3d"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#af06beaeb3698cdfc2cfb69b89cdebd3d">ripple::test::jtx::AMM::ammExists</a></div><div class="ttdeci">bool ammExists() const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00316">AMM.cpp:316</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1LPToken_html_ae2f865e77279e6b7d17d47537892b107"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1LPToken.html#ae2f865e77279e6b7d17d47537892b107">ripple::test::jtx::LPToken::LPToken</a></div><div class="ttdeci">LPToken(IOUAmount tokens)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00045">AMM.h:45</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_1test_1_1jtx_1_1AMM_html_a8a270bad11d1b02d5452394d50d356a4"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a8a270bad11d1b02d5452394d50d356a4">ripple::test::jtx::AMM::asset2_</a></div><div class="ttdeci">const STAmount asset2_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00067">AMM.h:67</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a5e0fca9fe28787aa7573d83ca74709fb"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a5e0fca9fe28787aa7573d83ca74709fb">ripple::test::jtx::AMM::setTokens</a></div><div class="ttdeci">void setTokens(Json::Value &amp;jv, std::optional&lt; std::pair&lt; Issue, Issue &gt;&gt; const &amp;assets=std::nullopt)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00343">AMM.cpp:343</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a8a270bad11d1b02d5452394d50d356a4"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a8a270bad11d1b02d5452394d50d356a4">ripple::test::jtx::AMM::asset2_</a></div><div class="ttdeci">const STAmount asset2_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00128">AMM.h:128</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a5e0fca9fe28787aa7573d83ca74709fb"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a5e0fca9fe28787aa7573d83ca74709fb">ripple::test::jtx::AMM::setTokens</a></div><div class="ttdeci">void setTokens(Json::Value &amp;jv, std::optional&lt; std::pair&lt; Issue, Issue &gt;&gt; const &amp;assets=std::nullopt)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00367">AMM.cpp:367</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1VoteArg_html_a4c7a07c0b4fb537f43fcf4183003b6dd"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1VoteArg.html#a4c7a07c0b4fb537f43fcf4183003b6dd">ripple::test::jtx::VoteArg::account</a></div><div class="ttdeci">std::optional&lt; Account &gt; account</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00101">AMM.h:101</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1flags_html"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1flags.html">ripple::test::jtx::flags</a></div><div class="ttdoc">Match set account flags.</div><div class="ttdef"><b>Definition:</b> <a href="flags_8h_source.html#l00111">flags.h:111</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_acb338203016494d6b34694e7cc09afab"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#acb338203016494d6b34694e7cc09afab">ripple::test::jtx::AMM::ammAccount_</a></div><div class="ttdeci">const AccountID ammAccount_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00080">AMM.h:80</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a698d79806ae1471df7682814db3018c9"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a698d79806ae1471df7682814db3018c9">ripple::test::jtx::AMM::tokens</a></div><div class="ttdeci">IOUAmount tokens() const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00267">AMM.h:267</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a40f978b02390af8c727e8c0a9fa7d03f"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a40f978b02390af8c727e8c0a9fa7d03f">ripple::test::jtx::AMM::expectAuctionSlot</a></div><div class="ttdeci">bool expectAuctionSlot(std::uint32_t fee, std::optional&lt; std::uint8_t &gt; timeSlot, IOUAmount expectedPrice) const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00247">AMM.cpp:247</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a125d9a56aa8c1fa8fade044c3e1d9f6a"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a125d9a56aa8c1fa8fade044c3e1d9f6a">ripple::test::jtx::AMM::doClose_</a></div><div class="ttdeci">bool doClose_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00071">AMM.h:71</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="aclassripple_1_1test_1_1jtx_1_1AMM_html_a3a014fe84c4ba40e2ff401d394487b5c"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a3a014fe84c4ba40e2ff401d394487b5c">ripple::test::jtx::AMM::create</a></div><div class="ttdeci">AccountID create(std::uint32_t tfee=0, std::optional&lt; std::uint32_t &gt; const &amp;flags=std::nullopt, std::optional&lt; jtx::seq &gt; const &amp;seq=std::nullopt, std::optional&lt; ter &gt; const &amp;ter=std::nullopt)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00104">AMM.cpp:104</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_acb338203016494d6b34694e7cc09afab"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#acb338203016494d6b34694e7cc09afab">ripple::test::jtx::AMM::ammAccount_</a></div><div class="ttdeci">const AccountID ammAccount_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00141">AMM.h:141</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1BidArg_html_a9a3968adaa3e6165e33190ef68487303"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1BidArg.html#a9a3968adaa3e6165e33190ef68487303">ripple::test::jtx::BidArg::account</a></div><div class="ttdeci">std::optional&lt; Account &gt; account</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00111">AMM.h:111</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a698d79806ae1471df7682814db3018c9"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a698d79806ae1471df7682814db3018c9">ripple::test::jtx::AMM::tokens</a></div><div class="ttdeci">IOUAmount tokens() const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00348">AMM.h:348</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1CreateArg_html_aa7b3e7ecae0466de44c00a5d3ff63aaa"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1CreateArg.html#aa7b3e7ecae0466de44c00a5d3ff63aaa">ripple::test::jtx::CreateArg::tfee</a></div><div class="ttdeci">std::uint16_t tfee</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00063">AMM.h:63</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1WithdrawArg_html_a5b55d842b157d46d4d65475b02e44534"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html#a5b55d842b157d46d4d65475b02e44534">ripple::test::jtx::WithdrawArg::account</a></div><div class="ttdeci">std::optional&lt; Account &gt; account</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00088">AMM.h:88</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1BidArg_html_a2051f8e0b034315adc94a488b488357a"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1BidArg.html#a2051f8e0b034315adc94a488b488357a">ripple::test::jtx::BidArg::bidMin</a></div><div class="ttdeci">std::optional&lt; std::variant&lt; int, IOUAmount, STAmount &gt; &gt; bidMin</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00112">AMM.h:112</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a40f978b02390af8c727e8c0a9fa7d03f"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a40f978b02390af8c727e8c0a9fa7d03f">ripple::test::jtx::AMM::expectAuctionSlot</a></div><div class="ttdeci">bool expectAuctionSlot(std::uint32_t fee, std::optional&lt; std::uint8_t &gt; timeSlot, IOUAmount expectedPrice) const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00271">AMM.cpp:271</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a125d9a56aa8c1fa8fade044c3e1d9f6a"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a125d9a56aa8c1fa8fade044c3e1d9f6a">ripple::test::jtx::AMM::doClose_</a></div><div class="ttdeci">bool doClose_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00132">AMM.h:132</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1CreateArg_html_aa68ab19b5f3c32d57d5ec630d84b8d6e"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1CreateArg.html#aa68ab19b5f3c32d57d5ec630d84b8d6e">ripple::test::jtx::CreateArg::err</a></div><div class="ttdeci">std::optional&lt; ter &gt; err</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00068">AMM.h:68</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; std::uint32_t &gt;</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a3a014fe84c4ba40e2ff401d394487b5c"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a3a014fe84c4ba40e2ff401d394487b5c">ripple::test::jtx::AMM::create</a></div><div class="ttdeci">AccountID create(std::uint32_t tfee=0, std::optional&lt; std::uint32_t &gt; const &amp;flags=std::nullopt, std::optional&lt; jtx::seq &gt; const &amp;seq=std::nullopt, std::optional&lt; ter &gt; const &amp;ter=std::nullopt)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00128">AMM.cpp:128</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html">ripple::test::jtx::Account</a></div><div class="ttdoc">Immutable cryptographic account descriptor.</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00037">Account.h:37</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a165d006b17159de10fb14fd03a74e0de"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a165d006b17159de10fb14fd03a74e0de">ripple::test::jtx::AMM::submit</a></div><div class="ttdeci">void submit(Json::Value const &amp;jv, std::optional&lt; jtx::seq &gt; const &amp;seq, std::optional&lt; ter &gt; const &amp;ter)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00667">AMM.cpp:667</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a165d006b17159de10fb14fd03a74e0de"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a165d006b17159de10fb14fd03a74e0de">ripple::test::jtx::AMM::submit</a></div><div class="ttdeci">void submit(Json::Value const &amp;jv, std::optional&lt; jtx::seq &gt; const &amp;seq, std::optional&lt; ter &gt; const &amp;ter)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00745">AMM.cpp:745</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1LPToken_html_aa84b0d4e7dc82e21530c65909334959c"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1LPToken.html#aa84b0d4e7dc82e21530c65909334959c">ripple::test::jtx::LPToken::tokens</a></div><div class="ttdeci">STAmount tokens(Issue const &amp;ammIssue) const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00054">AMM.h:54</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1LPToken_html"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1LPToken.html">ripple::test::jtx::LPToken</a></div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00037">AMM.h:37</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a925636a831a76719ae42710c789610fa"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a925636a831a76719ae42710c789610fa">ripple::test::jtx::AMM::fee_</a></div><div class="ttdeci">const std::uint32_t fee_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00079">AMM.h:79</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_add639145aa9c4884496630b6e78dce3f"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#add639145aa9c4884496630b6e78dce3f">ripple::test::jtx::AMM::operator&lt;&lt;</a></div><div class="ttdeci">friend std::ostream &amp; operator&lt;&lt;(std::ostream &amp;s, AMM const &amp;amm)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00277">AMM.h:277</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1BidArg_html_adf7b3d8e7c85d79d470caec4e718f894"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1BidArg.html#adf7b3d8e7c85d79d470caec4e718f894">ripple::test::jtx::BidArg::assets</a></div><div class="ttdeci">std::optional&lt; std::pair&lt; Issue, Issue &gt; &gt; assets</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00117">AMM.h:117</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a925636a831a76719ae42710c789610fa"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a925636a831a76719ae42710c789610fa">ripple::test::jtx::AMM::fee_</a></div><div class="ttdeci">const std::uint32_t fee_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00140">AMM.h:140</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1BidArg_html_a7b0a784c1c45f6054d1ebce7bd7035e1"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1BidArg.html#a7b0a784c1c45f6054d1ebce7bd7035e1">ripple::test::jtx::BidArg::bidMax</a></div><div class="ttdeci">std::optional&lt; std::variant&lt; int, IOUAmount, STAmount &gt; &gt; bidMax</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00113">AMM.h:113</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_add639145aa9c4884496630b6e78dce3f"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#add639145aa9c4884496630b6e78dce3f">ripple::test::jtx::AMM::operator&lt;&lt;</a></div><div class="ttdeci">friend std::ostream &amp; operator&lt;&lt;(std::ostream &amp;s, AMM const &amp;amm)</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00358">AMM.h:358</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1BidArg_html"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1BidArg.html">ripple::test::jtx::BidArg</a></div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00109">AMM.h:109</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1CreateArg_html_a0550a9f87a6e078a1c6d2afb0ce12fbd"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1CreateArg.html#a0550a9f87a6e078a1c6d2afb0ce12fbd">ripple::test::jtx::CreateArg::log</a></div><div class="ttdeci">bool log</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00062">AMM.h:62</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1WithdrawArg_html_ab47e2d7bdcf0b84db17740f576f9a365"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html#ab47e2d7bdcf0b84db17740f576f9a365">ripple::test::jtx::WithdrawArg::tokens</a></div><div class="ttdeci">std::optional&lt; LPToken &gt; tokens</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00089">AMM.h:89</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1DepositArg_html_a4342874799b85d8ff3c754476a807256"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1DepositArg.html#a4342874799b85d8ff3c754476a807256">ripple::test::jtx::DepositArg::account</a></div><div class="ttdeci">std::optional&lt; Account &gt; account</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00074">AMM.h:74</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1LPToken_html_a0c947cea6b95d9bec3a98f917fae5775"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1LPToken.html#a0c947cea6b95d9bec3a98f917fae5775">ripple::test::jtx::LPToken::tokens_</a></div><div class="ttdeci">const IOUAmount tokens_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00039">AMM.h:39</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a8a8b817de45852e6e1b6dec83570522b"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a8a8b817de45852e6e1b6dec83570522b">ripple::test::jtx::AMM::lptIssue</a></div><div class="ttdeci">Issue lptIssue() const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00261">AMM.h:261</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a00b299ba3194ac21a35cd5960c3dd843"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a00b299ba3194ac21a35cd5960c3dd843">ripple::test::jtx::AMM::bidMin_</a></div><div class="ttdeci">std::optional&lt; IOUAmount &gt; bidMin_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00074">AMM.h:74</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a8a8b817de45852e6e1b6dec83570522b"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a8a8b817de45852e6e1b6dec83570522b">ripple::test::jtx::AMM::lptIssue</a></div><div class="ttdeci">Issue lptIssue() const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00342">AMM.h:342</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a00b299ba3194ac21a35cd5960c3dd843"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a00b299ba3194ac21a35cd5960c3dd843">ripple::test::jtx::AMM::bidMin_</a></div><div class="ttdeci">std::optional&lt; IOUAmount &gt; bidMin_</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00135">AMM.h:135</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1DepositArg_html_abbe4635340d9a2a0f9fd2f65803e5221"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1DepositArg.html#abbe4635340d9a2a0f9fd2f65803e5221">ripple::test::jtx::DepositArg::maxEP</a></div><div class="ttdeci">std::optional&lt; STAmount &gt; maxEP</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00078">AMM.h:78</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Env_html"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Env.html">ripple::test::jtx::Env</a></div><div class="ttdoc">A transaction testing environment.</div><div class="ttdef"><b>Definition:</b> <a href="Env_8h_source.html#l00116">Env.h:116</a></div></div>
<div class="ttc" id="aclassJson_1_1Value_html"><div class="ttname"><a href="classJson_1_1Value.html">Json::Value</a></div><div class="ttdoc">Represents a JSON value.</div><div class="ttdef"><b>Definition:</b> <a href="json__value_8h_source.html#l00145">json_value.h:145</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a55dac3d3f1fdb7a12456cdedd00838d2"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a55dac3d3f1fdb7a12456cdedd00838d2">ripple::test::jtx::AMM::balances</a></div><div class="ttdeci">std::tuple&lt; STAmount, STAmount, STAmount &gt; balances(Issue const &amp;issue1, Issue const &amp;issue2, std::optional&lt; AccountID &gt; const &amp;account=std::nullopt) const</div><div class="ttdoc">Get AMM balances for the token pair.</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00178">AMM.cpp:178</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_a55dac3d3f1fdb7a12456cdedd00838d2"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#a55dac3d3f1fdb7a12456cdedd00838d2">ripple::test::jtx::AMM::balances</a></div><div class="ttdeci">std::tuple&lt; STAmount, STAmount, STAmount &gt; balances(Issue const &amp;issue1, Issue const &amp;issue2, std::optional&lt; AccountID &gt; const &amp;account=std::nullopt) const</div><div class="ttdoc">Get AMM balances for the token pair.</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00202">AMM.cpp:202</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1LPToken_html_a36a8fa1c8c6331704c7fbe0d6cdf258f"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1LPToken.html#a36a8fa1c8c6331704c7fbe0d6cdf258f">ripple::test::jtx::LPToken::tokens</a></div><div class="ttdeci">IOUAmount const &amp; tokens() const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00049">AMM.h:49</a></div></div>
<div class="ttc" id="avariant_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/variant.html">std::variant</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_aafca8293f4320e30ad2356bf43d9ee02"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#aafca8293f4320e30ad2356bf43d9ee02">ripple::test::jtx::AMM::getLPTokensBalance</a></div><div class="ttdeci">IOUAmount getLPTokensBalance(std::optional&lt; AccountID &gt; const &amp;account=std::nullopt) const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00217">AMM.cpp:217</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1AMM_html_aafca8293f4320e30ad2356bf43d9ee02"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1AMM.html#aafca8293f4320e30ad2356bf43d9ee02">ripple::test::jtx::AMM::getLPTokensBalance</a></div><div class="ttdeci">IOUAmount getLPTokensBalance(std::optional&lt; AccountID &gt; const &amp;account=std::nullopt) const</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8cpp_source.html#l00241">AMM.cpp:241</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1DepositArg_html_a886de7d7aa9b010bd17b7938009b761f"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1DepositArg.html#a886de7d7aa9b010bd17b7938009b761f">ripple::test::jtx::DepositArg::assets</a></div><div class="ttdeci">std::optional&lt; std::pair&lt; Issue, Issue &gt; &gt; assets</div><div class="ttdef"><b>Definition:</b> <a href="AMM_8h_source.html#l00080">AMM.h:80</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">