mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +00:00
2316 lines
155 KiB
HTML
2316 lines
155 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.5"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>rippled: ripple::test::jtx::AMM Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">rippled
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.5 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="namespaceripple.html">ripple</a></li><li class="navelem"><a class="el" href="namespaceripple_1_1test.html">test</a></li><li class="navelem"><a class="el" href="namespaceripple_1_1test_1_1jtx.html">jtx</a></li><li class="navelem"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html">AMM</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pri-methods">Private Member Functions</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> |
|
|
<a href="#friends">Friends</a> |
|
|
<a href="classripple_1_1test_1_1jtx_1_1AMM-members.html">List of all members</a> </div>
|
|
<div class="headertitle"><div class="title">ripple::test::jtx::AMM Class Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Convenience class to test <a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html" title="Convenience class to test AMM functionality.">AMM</a> functionality.
|
|
<a href="classripple_1_1test_1_1jtx_1_1AMM.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="AMM_8h_source.html">AMM.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Collaboration diagram for ripple::test::jtx::AMM:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classripple_1_1test_1_1jtx_1_1AMM__coll__graph.png" border="0" usemap="#aripple_1_1test_1_1jtx_1_1AMM_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="aripple_1_1test_1_1jtx_1_1AMM_coll__map" id="aripple_1_1test_1_1jtx_1_1AMM_coll__map">
|
|
<area shape="rect" title="Convenience class to test AMM functionality." alt="" coords="1937,1165,2095,1190"/>
|
|
<area shape="rect" href="classripple_1_1test_1_1jtx_1_1Env.html" title="A transaction testing environment." alt="" coords="1601,890,1750,915"/>
|
|
<area shape="rect" href="classbeast_1_1unit__test_1_1suite.html" title="A testsuite class." alt="" coords="1228,143,1391,169"/>
|
|
<area shape="rect" href="classbeast_1_1unit__test_1_1suite_1_1log__buf.html" title=" " alt="" coords="1587,5,1764,75"/>
|
|
<area shape="rect" href="classbeast_1_1unit__test_1_1suite_1_1testcase__t.html" title=" " alt="" coords="1594,99,1757,139"/>
|
|
<area shape="rect" href="classbeast_1_1unit__test_1_1runner.html" title="Unit test runner interface." alt="" coords="887,187,1060,213"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="547,614,633,639"/>
|
|
<area shape="rect" href="classripple_1_1test_1_1jtx_1_1Account.html" title="Immutable cryptographic account descriptor." alt="" coords="911,769,1036,809"/>
|
|
<area shape="rect" href="classripple_1_1SField.html" title="Identifies fields." alt="" coords="920,614,1027,639"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="236,607,375,647"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html" title=" " alt="" coords="511,187,669,213"/>
|
|
<area shape="rect" href="classbeast_1_1unit__test_1_1suite_1_1log__os.html" title=" " alt="" coords="1935,157,2097,197"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" title=" " alt="" coords="1603,225,1748,265"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="1192,683,1427,752"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="1211,1005,1407,1059"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/utility/pair.html" title=" " alt="" coords="894,664,1053,704"/>
|
|
<area shape="rect" href="classripple_1_1PublicKey.html" title="A public key." alt="" coords="525,777,655,802"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="261,934,349,959"/>
|
|
<area shape="rect" href="classripple_1_1base__uint.html" title=" " alt="" coords="487,1031,693,1071"/>
|
|
<area shape="rect" href="classripple_1_1base__uint.html" title=" " alt="" coords="519,867,661,907"/>
|
|
<area shape="rect" href="classripple_1_1base__uint.html" title="Integers of any length that is a multiple of 32-bits." alt="" coords="717,961,859,1001"/>
|
|
<area shape="rect" href="classripple_1_1base__uint.html" title=" " alt="" coords="491,1171,689,1211"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="258,746,353,771"/>
|
|
<area shape="rect" href="classripple_1_1SecretKey.html" title="A secret key." alt="" coords="524,726,656,751"/>
|
|
<area shape="rect" href="classripple_1_1Issue.html" title="A currency issued by an account." alt="" coords="923,1215,1024,1241"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="221,1077,389,1117"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="5,686,108,711"/>
|
|
<area shape="rect" href="structripple_1_1test_1_1jtx_1_1Env_1_1AppBundle.html" title=" " alt="" coords="1247,1084,1372,1124"/>
|
|
<area shape="rect" href="classripple_1_1Application.html" title=" " alt="" coords="520,1309,660,1334"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="888,1265,1059,1305"/>
|
|
<area shape="rect" href="classripple_1_1test_1_1ManualTimeKeeper.html" title=" " alt="" coords="883,985,1064,1025"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/thread/thread.html" title=" " alt="" coords="927,1050,1019,1075"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="888,1100,1059,1140"/>
|
|
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="1254,505,1365,530"/>
|
|
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="900,499,1047,525"/>
|
|
<area shape="rect" href="classbeast_1_1manual__clock.html" title=" " alt="" coords="1229,554,1390,609"/>
|
|
<area shape="rect" href="classbeast_1_1abstract__clock.html" title="Abstract interface to a clock." alt="" coords="893,549,1053,589"/>
|
|
<area shape="rect" href="classripple_1_1TERSubset.html" title=" " alt="" coords="1236,940,1383,980"/>
|
|
<area shape="rect" href="classripple_1_1STAmount.html" title=" " alt="" coords="1609,1535,1742,1561"/>
|
|
<area shape="rect" href="classripple_1_1STBase.html" title="A type which can be exported to a well known binary format." alt="" coords="1252,633,1367,658"/>
|
|
<area shape="rect" href="classripple_1_1CountedObject.html" title=" " alt="" coords="1228,1579,1391,1619"/>
|
|
<area shape="rect" href="classripple_1_1Asset.html" title=" " alt="" coords="1258,1643,1361,1669"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/utility/variant.html" title=" " alt="" coords="899,1636,1048,1676"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="1258,1529,1361,1554"/>
|
|
<area shape="rect" href="classripple_1_1IOUAmount.html" title="Floating point representation of amounts with high dynamic range." alt="" coords="1604,439,1747,465"/>
|
|
<area shape="rect" title=" " alt="" coords="1227,391,1392,431"/>
|
|
<area shape="rect" title=" " alt="" coords="1197,455,1421,481"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="1262,341,1357,366"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/utility/optional.html" title=" " alt="" coords="1598,1215,1753,1255"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/utility/optional.html" title=" " alt="" coords="1598,1279,1753,1319"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:ae9e04ea7f8ff71ef40fb017c8603a384"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#ae9e04ea7f8ff71ef40fb017c8603a384">AMM</a> (<a class="el" href="classripple_1_1test_1_1jtx_1_1Env.html">Env</a> &env, <a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> const &account, <a class="el" href="classripple_1_1STAmount.html">STAmount</a> const &asset1, <a class="el" href="classripple_1_1STAmount.html">STAmount</a> const &asset2, bool <a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a62d83e288719faaef062c61320cabeb0">log</a>=false, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> tfee=0, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="el" href="classripple_1_1test_1_1jtx_1_1fee.html">fee</a>=0, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> > <a class="el" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a>=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">jtx::seq</a> > <a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a>=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1msig.html">jtx::msig</a> > ms=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a>=std::nullopt, bool close=true)</td></tr>
|
|
<tr class="separator:ae9e04ea7f8ff71ef40fb017c8603a384"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a04a252ed044c3e70ff803e1af450bec5"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a04a252ed044c3e70ff803e1af450bec5">AMM</a> (<a class="el" href="classripple_1_1test_1_1jtx_1_1Env.html">Env</a> &env, <a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> const &account, <a class="el" href="classripple_1_1STAmount.html">STAmount</a> const &asset1, <a class="el" href="classripple_1_1STAmount.html">STAmount</a> const &asset2, <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> const &<a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a>, bool <a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a62d83e288719faaef062c61320cabeb0">log</a>=false, bool close=true)</td></tr>
|
|
<tr class="separator:a04a252ed044c3e70ff803e1af450bec5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afa654bd995594d6c1f94ce489d9f57dc"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#afa654bd995594d6c1f94ce489d9f57dc">AMM</a> (<a class="el" href="classripple_1_1test_1_1jtx_1_1Env.html">Env</a> &env, <a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> const &account, <a class="el" href="classripple_1_1STAmount.html">STAmount</a> const &asset1, <a class="el" href="classripple_1_1STAmount.html">STAmount</a> const &asset2, <a class="el" href="structripple_1_1test_1_1jtx_1_1CreateArg.html">CreateArg</a> const &arg)</td></tr>
|
|
<tr class="separator:afa654bd995594d6c1f94ce489d9f57dc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a11292f728ad84a21978b9340e5f89491"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJson_1_1Value.html">Json::Value</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a11292f728ad84a21978b9340e5f89491">ammRpcInfo</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> > const &account=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> > const &ledgerIndex=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1Issue.html">Issue</a> > issue1=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1Issue.html">Issue</a> > issue2=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a6eaf7e407af891e41272e367bcfd25a5">ammAccount</a>=std::nullopt, bool ignoreParams=false, unsigned apiVersion=<a class="el" href="namespaceripple_1_1RPC.html#ac444ee3babf6fcf2604699ee4ae2e777">RPC::apiInvalidVersion</a>) const</td></tr>
|
|
<tr class="memdesc:a11292f728ad84a21978b9340e5f89491"><td class="mdescLeft"> </td><td class="mdescRight">Send amm_info <a class="el" href="namespaceripple_1_1RPC.html" title="API version numbers used in later API versions.">RPC</a> command. <a href="classripple_1_1test_1_1jtx_1_1AMM.html#a11292f728ad84a21978b9340e5f89491">More...</a><br /></td></tr>
|
|
<tr class="separator:a11292f728ad84a21978b9340e5f89491"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a88653ee0b6d0c6312c031bea9479ebe5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a88653ee0b6d0c6312c031bea9479ebe5">expectBalances</a> (<a class="el" href="classripple_1_1STAmount.html">STAmount</a> const &asset1, <a class="el" href="classripple_1_1STAmount.html">STAmount</a> const &asset2, <a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> const &lpt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> > const &account=std::nullopt) const</td></tr>
|
|
<tr class="memdesc:a88653ee0b6d0c6312c031bea9479ebe5"><td class="mdescLeft"> </td><td class="mdescRight">Verify the <a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html" title="Convenience class to test AMM functionality.">AMM</a> balances. <a href="classripple_1_1test_1_1jtx_1_1AMM.html#a88653ee0b6d0c6312c031bea9479ebe5">More...</a><br /></td></tr>
|
|
<tr class="separator:a88653ee0b6d0c6312c031bea9479ebe5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a55dac3d3f1fdb7a12456cdedd00838d2"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/tuple.html">std::tuple</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a>, <a class="el" href="classripple_1_1STAmount.html">STAmount</a>, <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a55dac3d3f1fdb7a12456cdedd00838d2">balances</a> (<a class="el" href="classripple_1_1Issue.html">Issue</a> const &issue1, <a class="el" href="classripple_1_1Issue.html">Issue</a> const &issue2, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> > const &account=std::nullopt) const</td></tr>
|
|
<tr class="memdesc:a55dac3d3f1fdb7a12456cdedd00838d2"><td class="mdescLeft"> </td><td class="mdescRight">Get <a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html" title="Convenience class to test AMM functionality.">AMM</a> balances for the token pair. <a href="classripple_1_1test_1_1jtx_1_1AMM.html#a55dac3d3f1fdb7a12456cdedd00838d2">More...</a><br /></td></tr>
|
|
<tr class="separator:a55dac3d3f1fdb7a12456cdedd00838d2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9af64f3d21ef33a73299bf4fd8600566"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/tuple.html">std::tuple</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a>, <a class="el" href="classripple_1_1STAmount.html">STAmount</a>, <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a9af64f3d21ef33a73299bf4fd8600566">balances</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> > const &account=std::nullopt) const</td></tr>
|
|
<tr class="separator:a9af64f3d21ef33a73299bf4fd8600566"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afc51e85c60292ed3e9c38ae056ec564f"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#afc51e85c60292ed3e9c38ae056ec564f">expectLPTokens</a> (<a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &account, <a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> const &<a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a698d79806ae1471df7682814db3018c9">tokens</a>) const</td></tr>
|
|
<tr class="separator:afc51e85c60292ed3e9c38ae056ec564f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a40f978b02390af8c727e8c0a9fa7d03f"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a40f978b02390af8c727e8c0a9fa7d03f">expectAuctionSlot</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="el" href="classripple_1_1test_1_1jtx_1_1fee.html">fee</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a> > timeSlot, <a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> expectedPrice) const</td></tr>
|
|
<tr class="separator:a40f978b02390af8c727e8c0a9fa7d03f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a57c512decb191310f40f923a492e5498"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a57c512decb191310f40f923a492e5498">expectAuctionSlot</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> > const &authAccount) const</td></tr>
|
|
<tr class="separator:a57c512decb191310f40f923a492e5498"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7b8b82f23b5bda291a992947b10abc3e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a7b8b82f23b5bda291a992947b10abc3e">expectTradingFee</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> <a class="el" href="classripple_1_1test_1_1jtx_1_1fee.html">fee</a>) const</td></tr>
|
|
<tr class="separator:a7b8b82f23b5bda291a992947b10abc3e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abf5ddd6697c83d3c07abd23dbb6dba2e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#abf5ddd6697c83d3c07abd23dbb6dba2e">expectAmmRpcInfo</a> (<a class="el" href="classripple_1_1STAmount.html">STAmount</a> const &asset1, <a class="el" href="classripple_1_1STAmount.html">STAmount</a> const &asset2, <a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> const &<a class="el" href="classripple_1_1test_1_1jtx_1_1balance.html">balance</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> > const &account=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> > const &ledger_index=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a6eaf7e407af891e41272e367bcfd25a5">ammAccount</a>=std::nullopt) const</td></tr>
|
|
<tr class="separator:abf5ddd6697c83d3c07abd23dbb6dba2e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af06beaeb3698cdfc2cfb69b89cdebd3d"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#af06beaeb3698cdfc2cfb69b89cdebd3d">ammExists</a> () const</td></tr>
|
|
<tr class="separator:af06beaeb3698cdfc2cfb69b89cdebd3d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8f755873bcc0f4ac06f99f27618e0cd5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a8f755873bcc0f4ac06f99f27618e0cd5">deposit</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> > const &account, <a class="el" href="classripple_1_1test_1_1jtx_1_1LPToken.html">LPToken</a> <a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a698d79806ae1471df7682814db3018c9">tokens</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > const &asset1InDetails=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a>=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a>=std::nullopt)</td></tr>
|
|
<tr class="separator:a8f755873bcc0f4ac06f99f27618e0cd5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad8bc73aad913a411a810617cbd856163"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#ad8bc73aad913a411a810617cbd856163">deposit</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> > const &account, <a class="el" href="classripple_1_1STAmount.html">STAmount</a> const &asset1InDetails, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > const &asset2InAmount=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > const &maxEP=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a>=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a>=std::nullopt)</td></tr>
|
|
<tr class="separator:ad8bc73aad913a411a810617cbd856163"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a10dc08721eaec27fb9ba8ab060419eb3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a10dc08721eaec27fb9ba8ab060419eb3">deposit</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> > const &account, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1LPToken.html">LPToken</a> > <a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a698d79806ae1471df7682814db3018c9">tokens</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > const &asset1In, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > const &asset2In, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > const &maxEP, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>< <a class="el" href="classripple_1_1Issue.html">Issue</a>, <a class="el" href="classripple_1_1Issue.html">Issue</a> > > const &assets, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">jtx::seq</a> > const &<a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> > const &tfee=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a>=std::nullopt)</td></tr>
|
|
<tr class="separator:a10dc08721eaec27fb9ba8ab060419eb3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae23af97c6824f08555ee5857088146c9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#ae23af97c6824f08555ee5857088146c9">deposit</a> (<a class="el" href="structripple_1_1test_1_1jtx_1_1DepositArg.html">DepositArg</a> const &arg)</td></tr>
|
|
<tr class="separator:ae23af97c6824f08555ee5857088146c9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a857bda17195c076d9fa61883f03984fe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a857bda17195c076d9fa61883f03984fe">withdraw</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> > const &account, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1LPToken.html">LPToken</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a698d79806ae1471df7682814db3018c9">tokens</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > const &asset1OutDetails=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a>=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a>=std::nullopt)</td></tr>
|
|
<tr class="separator:a857bda17195c076d9fa61883f03984fe"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af265a803fd70db46ba4cee4e748c93fe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#af265a803fd70db46ba4cee4e748c93fe">withdrawAll</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> > const &account, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > const &asset1OutDetails=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a>=std::nullopt)</td></tr>
|
|
<tr class="separator:af265a803fd70db46ba4cee4e748c93fe"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a94611968e223fb39def1b7495a004d11"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a94611968e223fb39def1b7495a004d11">withdraw</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> > const &account, <a class="el" href="classripple_1_1STAmount.html">STAmount</a> const &asset1Out, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > const &asset2Out=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> > const &maxEP=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a>=std::nullopt)</td></tr>
|
|
<tr class="separator:a94611968e223fb39def1b7495a004d11"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a72e1b2aaa609f3c24a1238f4019512bf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a72e1b2aaa609f3c24a1238f4019512bf">withdraw</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> > const &account, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1LPToken.html">LPToken</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a698d79806ae1471df7682814db3018c9">tokens</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > const &asset1Out, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > const &asset2Out, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> > const &maxEP, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>< <a class="el" href="classripple_1_1Issue.html">Issue</a>, <a class="el" href="classripple_1_1Issue.html">Issue</a> > > const &assets, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">jtx::seq</a> > const &<a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a>=std::nullopt)</td></tr>
|
|
<tr class="separator:a72e1b2aaa609f3c24a1238f4019512bf"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a23c220c64c7ccc28e9760b8572ef39e5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a23c220c64c7ccc28e9760b8572ef39e5">withdraw</a> (<a class="el" href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html">WithdrawArg</a> const &arg)</td></tr>
|
|
<tr class="separator:a23c220c64c7ccc28e9760b8572ef39e5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1f4c7268e3143c142cd9763e1b5595f2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a1f4c7268e3143c142cd9763e1b5595f2">vote</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> > const &account, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> feeVal, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a>=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">jtx::seq</a> > const &<a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a>=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>< <a class="el" href="classripple_1_1Issue.html">Issue</a>, <a class="el" href="classripple_1_1Issue.html">Issue</a> > > const &assets=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a>=std::nullopt)</td></tr>
|
|
<tr class="separator:a1f4c7268e3143c142cd9763e1b5595f2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0b2ec53d694ea16f4db4f2d60b109a5a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a0b2ec53d694ea16f4db4f2d60b109a5a">vote</a> (<a class="el" href="structripple_1_1test_1_1jtx_1_1VoteArg.html">VoteArg</a> const &arg)</td></tr>
|
|
<tr class="separator:a0b2ec53d694ea16f4db4f2d60b109a5a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab2af4e89db3a578be63b8f6e2a10aed3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJson_1_1Value.html">Json::Value</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#ab2af4e89db3a578be63b8f6e2a10aed3">bid</a> (<a class="el" href="structripple_1_1test_1_1jtx_1_1BidArg.html">BidArg</a> const &arg)</td></tr>
|
|
<tr class="separator:ab2af4e89db3a578be63b8f6e2a10aed3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6eaf7e407af891e41272e367bcfd25a5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const & </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a6eaf7e407af891e41272e367bcfd25a5">ammAccount</a> () const</td></tr>
|
|
<tr class="separator:a6eaf7e407af891e41272e367bcfd25a5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8a8b817de45852e6e1b6dec83570522b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1Issue.html">Issue</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a8a8b817de45852e6e1b6dec83570522b">lptIssue</a> () const</td></tr>
|
|
<tr class="separator:a8a8b817de45852e6e1b6dec83570522b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a698d79806ae1471df7682814db3018c9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a698d79806ae1471df7682814db3018c9">tokens</a> () const</td></tr>
|
|
<tr class="separator:a698d79806ae1471df7682814db3018c9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aafca8293f4320e30ad2356bf43d9ee02"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#aafca8293f4320e30ad2356bf43d9ee02">getLPTokensBalance</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> > const &account=std::nullopt) const</td></tr>
|
|
<tr class="separator:aafca8293f4320e30ad2356bf43d9ee02"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5144aeedf81177c477a9a98fb6d08b72"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a5144aeedf81177c477a9a98fb6d08b72">operator[]</a> (<a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &lp)</td></tr>
|
|
<tr class="separator:a5144aeedf81177c477a9a98fb6d08b72"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7c37d21f42f36634953734028b935da7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJson_1_1Value.html">Json::Value</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a7c37d21f42f36634953734028b935da7">operator()</a> (<a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &lp)</td></tr>
|
|
<tr class="separator:a7c37d21f42f36634953734028b935da7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a61b3d325bf73a05f236a4f6016d9ca88"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a61b3d325bf73a05f236a4f6016d9ca88">ammDelete</a> (<a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const &deleter, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a>=std::nullopt)</td></tr>
|
|
<tr class="separator:a61b3d325bf73a05f236a4f6016d9ca88"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6df32e84d1b6e13392cb9c2eb7df074d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a6df32e84d1b6e13392cb9c2eb7df074d">setClose</a> (bool close)</td></tr>
|
|
<tr class="separator:a6df32e84d1b6e13392cb9c2eb7df074d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af67589f05b013f7f65ee1db095ac8f77"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#af67589f05b013f7f65ee1db095ac8f77">ammID</a> () const</td></tr>
|
|
<tr class="separator:af67589f05b013f7f65ee1db095ac8f77"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad95ddd650edc1d2cee2e93ec007d03bd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#ad95ddd650edc1d2cee2e93ec007d03bd">setTokens</a> (<a class="el" href="classJson_1_1Value.html">Json::Value</a> &jv, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>< <a class="el" href="classripple_1_1Issue.html">Issue</a>, <a class="el" href="classripple_1_1Issue.html">Issue</a> > > const &assets=std::nullopt)</td></tr>
|
|
<tr class="separator:ad95ddd650edc1d2cee2e93ec007d03bd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-methods" name="pri-methods"></a>
|
|
Private Member Functions</h2></td></tr>
|
|
<tr class="memitem:a3a014fe84c4ba40e2ff401d394487b5c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a3a014fe84c4ba40e2ff401d394487b5c">create</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> tfee=0, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1flags.html">flags</a>=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">jtx::seq</a> > const &<a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a>=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a>=std::nullopt)</td></tr>
|
|
<tr class="separator:a3a014fe84c4ba40e2ff401d394487b5c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7885e0dbce43e4107f07bef7114b7337"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a7885e0dbce43e4107f07bef7114b7337">deposit</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> > const &account, <a class="el" href="classJson_1_1Value.html">Json::Value</a> &jv, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>< <a class="el" href="classripple_1_1Issue.html">Issue</a>, <a class="el" href="classripple_1_1Issue.html">Issue</a> > > const &assets=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">jtx::seq</a> > const &<a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a>=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a>=std::nullopt)</td></tr>
|
|
<tr class="separator:a7885e0dbce43e4107f07bef7114b7337"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a578ba61c699164b5839f04165071d457"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a578ba61c699164b5839f04165071d457">withdraw</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> > const &account, <a class="el" href="classJson_1_1Value.html">Json::Value</a> &jv, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">jtx::seq</a> > const &<a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>< <a class="el" href="classripple_1_1Issue.html">Issue</a>, <a class="el" href="classripple_1_1Issue.html">Issue</a> > > const &assets=std::nullopt, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a>=std::nullopt)</td></tr>
|
|
<tr class="separator:a578ba61c699164b5839f04165071d457"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a62d83e288719faaef062c61320cabeb0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a62d83e288719faaef062c61320cabeb0">log</a> (bool log)</td></tr>
|
|
<tr class="separator:a62d83e288719faaef062c61320cabeb0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6c1525214e62f7a937701363798afdd2"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a6c1525214e62f7a937701363798afdd2">expectAmmInfo</a> (<a class="el" href="classripple_1_1STAmount.html">STAmount</a> const &asset1, <a class="el" href="classripple_1_1STAmount.html">STAmount</a> const &asset2, <a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> const &<a class="el" href="classripple_1_1test_1_1jtx_1_1balance.html">balance</a>, <a class="el" href="classJson_1_1Value.html">Json::Value</a> const &jv) const</td></tr>
|
|
<tr class="separator:a6c1525214e62f7a937701363798afdd2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a165d006b17159de10fb14fd03a74e0de"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a165d006b17159de10fb14fd03a74e0de">submit</a> (<a class="el" href="classJson_1_1Value.html">Json::Value</a> const &jv, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">jtx::seq</a> > const &<a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const &<a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a>)</td></tr>
|
|
<tr class="separator:a165d006b17159de10fb14fd03a74e0de"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af5d49b75b92043ee8905de7b43e6b965"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#af5d49b75b92043ee8905de7b43e6b965">expectAuctionSlot</a> (auto &&cb) const</td></tr>
|
|
<tr class="separator:af5d49b75b92043ee8905de7b43e6b965"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a772b11a73eaf40a8a43bc2fa8c205a0b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a772b11a73eaf40a8a43bc2fa8c205a0b">initialTokens</a> ()</td></tr>
|
|
<tr class="separator:a772b11a73eaf40a8a43bc2fa8c205a0b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
|
|
Private Attributes</h2></td></tr>
|
|
<tr class="memitem:aae249db9ffedb46900882e8530bcac8d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1test_1_1jtx_1_1Env.html">Env</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#aae249db9ffedb46900882e8530bcac8d">env_</a></td></tr>
|
|
<tr class="separator:aae249db9ffedb46900882e8530bcac8d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a976063207db0e7d41cc61841a23b3c8c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> const </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a976063207db0e7d41cc61841a23b3c8c">creatorAccount_</a></td></tr>
|
|
<tr class="separator:a976063207db0e7d41cc61841a23b3c8c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a61b220d23764154b994b6f8116227629"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1STAmount.html">STAmount</a> const </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a61b220d23764154b994b6f8116227629">asset1_</a></td></tr>
|
|
<tr class="separator:a61b220d23764154b994b6f8116227629"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a44ab9efea7e4db20123faf0c4656985a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1STAmount.html">STAmount</a> const </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a44ab9efea7e4db20123faf0c4656985a">asset2_</a></td></tr>
|
|
<tr class="separator:a44ab9efea7e4db20123faf0c4656985a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2a62190b3e41dd2793f4657e48b212c4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a2a62190b3e41dd2793f4657e48b212c4">ammID_</a></td></tr>
|
|
<tr class="separator:a2a62190b3e41dd2793f4657e48b212c4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abe05a4da48aafd8510c6045b0e311a5a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#abe05a4da48aafd8510c6045b0e311a5a">log_</a></td></tr>
|
|
<tr class="separator:abe05a4da48aafd8510c6045b0e311a5a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a125d9a56aa8c1fa8fade044c3e1d9f6a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a125d9a56aa8c1fa8fade044c3e1d9f6a">doClose_</a></td></tr>
|
|
<tr class="separator:a125d9a56aa8c1fa8fade044c3e1d9f6a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6e054aa935ddb33c8ff55f4b1174ce88"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a6e054aa935ddb33c8ff55f4b1174ce88">lastPurchasePrice_</a></td></tr>
|
|
<tr class="separator:a6e054aa935ddb33c8ff55f4b1174ce88"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a00b299ba3194ac21a35cd5960c3dd843"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a00b299ba3194ac21a35cd5960c3dd843">bidMin_</a></td></tr>
|
|
<tr class="separator:a00b299ba3194ac21a35cd5960c3dd843"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9d186dce947ff880fc490464e7280c58"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a9d186dce947ff880fc490464e7280c58">bidMax_</a></td></tr>
|
|
<tr class="separator:a9d186dce947ff880fc490464e7280c58"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a856f331407b5975fa26bb53184405308"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1msig.html">msig</a> > const </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a856f331407b5975fa26bb53184405308">msig_</a></td></tr>
|
|
<tr class="separator:a856f331407b5975fa26bb53184405308"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a26db791a0c2d86e359dda7125eda1ab9"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> const </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a26db791a0c2d86e359dda7125eda1ab9">fee_</a></td></tr>
|
|
<tr class="separator:a26db791a0c2d86e359dda7125eda1ab9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a793f0ce602e0ed7822f2889947258e52"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a793f0ce602e0ed7822f2889947258e52">ammAccount_</a></td></tr>
|
|
<tr class="separator:a793f0ce602e0ed7822f2889947258e52"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a11236ef3920154a549d540007f0905a0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1Issue.html">Issue</a> const </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a11236ef3920154a549d540007f0905a0">lptIssue_</a></td></tr>
|
|
<tr class="separator:a11236ef3920154a549d540007f0905a0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9ea06fb889be2779feb679bf7489b564"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> const </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a9ea06fb889be2779feb679bf7489b564">initialLPTokens_</a></td></tr>
|
|
<tr class="separator:a9ea06fb889be2779feb679bf7489b564"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="friends" name="friends"></a>
|
|
Friends</h2></td></tr>
|
|
<tr class="memitem:a225a9467690f735c6e32d7778610baaf"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html#a225a9467690f735c6e32d7778610baaf">operator<<</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::ostream</a> &s, <a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html">AMM</a> const &amm)</td></tr>
|
|
<tr class="separator:a225a9467690f735c6e32d7778610baaf"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p >Convenience class to test <a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html" title="Convenience class to test AMM functionality.">AMM</a> functionality. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00123">123</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="ae9e04ea7f8ff71ef40fb017c8603a384" name="ae9e04ea7f8ff71ef40fb017c8603a384"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae9e04ea7f8ff71ef40fb017c8603a384">◆ </a></span>AMM() <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">ripple::test::jtx::AMM::AMM </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1test_1_1jtx_1_1Env.html">Env</a> & </td>
|
|
<td class="paramname"><em>env</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> const & </td>
|
|
<td class="paramname"><em>account</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1STAmount.html">STAmount</a> const & </td>
|
|
<td class="paramname"><em>asset1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1STAmount.html">STAmount</a> const & </td>
|
|
<td class="paramname"><em>asset2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>log</em> = <code>false</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> </td>
|
|
<td class="paramname"><em>tfee</em> = <code>0</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> </td>
|
|
<td class="paramname"><em>fee</em> = <code>0</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> > </td>
|
|
<td class="paramname"><em>flags</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">jtx::seq</a> > </td>
|
|
<td class="paramname"><em>seq</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1msig.html">jtx::msig</a> > </td>
|
|
<td class="paramname"><em>ms</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const & </td>
|
|
<td class="paramname"><em>ter</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>close</em> = <code>true</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00055">55</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a04a252ed044c3e70ff803e1af450bec5" name="a04a252ed044c3e70ff803e1af450bec5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a04a252ed044c3e70ff803e1af450bec5">◆ </a></span>AMM() <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">ripple::test::jtx::AMM::AMM </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1test_1_1jtx_1_1Env.html">Env</a> & </td>
|
|
<td class="paramname"><em>env</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> const & </td>
|
|
<td class="paramname"><em>account</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1STAmount.html">STAmount</a> const & </td>
|
|
<td class="paramname"><em>asset1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1STAmount.html">STAmount</a> const & </td>
|
|
<td class="paramname"><em>asset2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> const & </td>
|
|
<td class="paramname"><em>ter</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>log</em> = <code>false</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>close</em> = <code>true</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00089">89</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="afa654bd995594d6c1f94ce489d9f57dc" name="afa654bd995594d6c1f94ce489d9f57dc"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afa654bd995594d6c1f94ce489d9f57dc">◆ </a></span>AMM() <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">ripple::test::jtx::AMM::AMM </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1test_1_1jtx_1_1Env.html">Env</a> & </td>
|
|
<td class="paramname"><em>env</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> const & </td>
|
|
<td class="paramname"><em>account</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1STAmount.html">STAmount</a> const & </td>
|
|
<td class="paramname"><em>asset1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1STAmount.html">STAmount</a> const & </td>
|
|
<td class="paramname"><em>asset2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="structripple_1_1test_1_1jtx_1_1CreateArg.html">CreateArg</a> const & </td>
|
|
<td class="paramname"><em>arg</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00112">112</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a11292f728ad84a21978b9340e5f89491" name="a11292f728ad84a21978b9340e5f89491"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a11292f728ad84a21978b9340e5f89491">◆ </a></span>ammRpcInfo()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classJson_1_1Value.html">Json::Value</a> ripple::test::jtx::AMM::ammRpcInfo </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> > const & </td>
|
|
<td class="paramname"><em>account</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> > const & </td>
|
|
<td class="paramname"><em>ledgerIndex</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1Issue.html">Issue</a> > </td>
|
|
<td class="paramname"><em>issue1</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1Issue.html">Issue</a> > </td>
|
|
<td class="paramname"><em>issue2</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> > const & </td>
|
|
<td class="paramname"><em>ammAccount</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>ignoreParams</em> = <code>false</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">unsigned </td>
|
|
<td class="paramname"><em>apiVersion</em> = <code><a class="el" href="namespaceripple_1_1RPC.html#ac444ee3babf6fcf2604699ee4ae2e777">RPC::apiInvalidVersion</a></code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Send amm_info <a class="el" href="namespaceripple_1_1RPC.html" title="API version numbers used in later API versions.">RPC</a> command. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00166">166</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a88653ee0b6d0c6312c031bea9479ebe5" name="a88653ee0b6d0c6312c031bea9479ebe5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a88653ee0b6d0c6312c031bea9479ebe5">◆ </a></span>expectBalances()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::test::jtx::AMM::expectBalances </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1STAmount.html">STAmount</a> const & </td>
|
|
<td class="paramname"><em>asset1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1STAmount.html">STAmount</a> const & </td>
|
|
<td class="paramname"><em>asset2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> const & </td>
|
|
<td class="paramname"><em>lpt</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> > const & </td>
|
|
<td class="paramname"><em>account</em> = <code>std::nullopt</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Verify the <a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html" title="Convenience class to test AMM functionality.">AMM</a> balances. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00237">237</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a55dac3d3f1fdb7a12456cdedd00838d2" name="a55dac3d3f1fdb7a12456cdedd00838d2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a55dac3d3f1fdb7a12456cdedd00838d2">◆ </a></span>balances() <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/tuple.html">std::tuple</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a>, <a class="el" href="classripple_1_1STAmount.html">STAmount</a>, <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > ripple::test::jtx::AMM::balances </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1Issue.html">Issue</a> const & </td>
|
|
<td class="paramname"><em>issue1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1Issue.html">Issue</a> const & </td>
|
|
<td class="paramname"><em>issue2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> > const & </td>
|
|
<td class="paramname"><em>account</em> = <code>std::nullopt</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get <a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html" title="Convenience class to test AMM functionality.">AMM</a> balances for the token pair. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00212">212</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9af64f3d21ef33a73299bf4fd8600566" name="a9af64f3d21ef33a73299bf4fd8600566"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9af64f3d21ef33a73299bf4fd8600566">◆ </a></span>balances() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/tuple.html">std::tuple</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a>, <a class="el" href="classripple_1_1STAmount.html">STAmount</a>, <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > ripple::test::jtx::AMM::balances </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> > const & </td>
|
|
<td class="paramname"><em>account</em> = <code>std::nullopt</code></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00200">200</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="afc51e85c60292ed3e9c38ae056ec564f" name="afc51e85c60292ed3e9c38ae056ec564f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afc51e85c60292ed3e9c38ae056ec564f">◆ </a></span>expectLPTokens()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::test::jtx::AMM::expectLPTokens </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const & </td>
|
|
<td class="paramname"><em>account</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> const & </td>
|
|
<td class="paramname"><em>tokens</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00267">267</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a40f978b02390af8c727e8c0a9fa7d03f" name="a40f978b02390af8c727e8c0a9fa7d03f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a40f978b02390af8c727e8c0a9fa7d03f">◆ </a></span>expectAuctionSlot() <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::test::jtx::AMM::expectAuctionSlot </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> </td>
|
|
<td class="paramname"><em>fee</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a> > </td>
|
|
<td class="paramname"><em>timeSlot</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> </td>
|
|
<td class="paramname"><em>expectedPrice</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">fee</td><td>expected discounted fee </td></tr>
|
|
<tr><td class="paramname">timeSlot</td><td>expected time slot </td></tr>
|
|
<tr><td class="paramname">expectedPrice</td><td>expected slot price </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00280">280</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a57c512decb191310f40f923a492e5498" name="a57c512decb191310f40f923a492e5498"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a57c512decb191310f40f923a492e5498">◆ </a></span>expectAuctionSlot() <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::test::jtx::AMM::expectAuctionSlot </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> > const & </td>
|
|
<td class="paramname"><em>authAccount</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00298">298</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7b8b82f23b5bda291a992947b10abc3e" name="a7b8b82f23b5bda291a992947b10abc3e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7b8b82f23b5bda291a992947b10abc3e">◆ </a></span>expectTradingFee()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::test::jtx::AMM::expectTradingFee </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> </td>
|
|
<td class="paramname"><em>fee</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00317">317</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="abf5ddd6697c83d3c07abd23dbb6dba2e" name="abf5ddd6697c83d3c07abd23dbb6dba2e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#abf5ddd6697c83d3c07abd23dbb6dba2e">◆ </a></span>expectAmmRpcInfo()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::test::jtx::AMM::expectAmmRpcInfo </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1STAmount.html">STAmount</a> const & </td>
|
|
<td class="paramname"><em>asset1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1STAmount.html">STAmount</a> const & </td>
|
|
<td class="paramname"><em>asset2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> const & </td>
|
|
<td class="paramname"><em>balance</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> > const & </td>
|
|
<td class="paramname"><em>account</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> > const & </td>
|
|
<td class="paramname"><em>ledger_index</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> > const & </td>
|
|
<td class="paramname"><em>ammAccount</em> = <code>std::nullopt</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00333">333</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af06beaeb3698cdfc2cfb69b89cdebd3d" name="af06beaeb3698cdfc2cfb69b89cdebd3d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af06beaeb3698cdfc2cfb69b89cdebd3d">◆ </a></span>ammExists()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::test::jtx::AMM::ammExists </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00325">325</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8f755873bcc0f4ac06f99f27618e0cd5" name="a8f755873bcc0f4ac06f99f27618e0cd5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8f755873bcc0f4ac06f99f27618e0cd5">◆ </a></span>deposit() <span class="overload">[1/5]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> ripple::test::jtx::AMM::deposit </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> > const & </td>
|
|
<td class="paramname"><em>account</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1test_1_1jtx_1_1LPToken.html">LPToken</a> </td>
|
|
<td class="paramname"><em>tokens</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > const & </td>
|
|
<td class="paramname"><em>asset1InDetails</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> > const & </td>
|
|
<td class="paramname"><em>flags</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const & </td>
|
|
<td class="paramname"><em>ter</em> = <code>std::nullopt</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00416">416</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad8bc73aad913a411a810617cbd856163" name="ad8bc73aad913a411a810617cbd856163"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad8bc73aad913a411a810617cbd856163">◆ </a></span>deposit() <span class="overload">[2/5]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> ripple::test::jtx::AMM::deposit </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> > const & </td>
|
|
<td class="paramname"><em>account</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1STAmount.html">STAmount</a> const & </td>
|
|
<td class="paramname"><em>asset1InDetails</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > const & </td>
|
|
<td class="paramname"><em>asset2InAmount</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > const & </td>
|
|
<td class="paramname"><em>maxEP</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> > const & </td>
|
|
<td class="paramname"><em>flags</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const & </td>
|
|
<td class="paramname"><em>ter</em> = <code>std::nullopt</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00437">437</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a10dc08721eaec27fb9ba8ab060419eb3" name="a10dc08721eaec27fb9ba8ab060419eb3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a10dc08721eaec27fb9ba8ab060419eb3">◆ </a></span>deposit() <span class="overload">[3/5]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> ripple::test::jtx::AMM::deposit </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> > const & </td>
|
|
<td class="paramname"><em>account</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1LPToken.html">LPToken</a> > </td>
|
|
<td class="paramname"><em>tokens</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > const & </td>
|
|
<td class="paramname"><em>asset1In</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > const & </td>
|
|
<td class="paramname"><em>asset2In</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > const & </td>
|
|
<td class="paramname"><em>maxEP</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> > const & </td>
|
|
<td class="paramname"><em>flags</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>< <a class="el" href="classripple_1_1Issue.html">Issue</a>, <a class="el" href="classripple_1_1Issue.html">Issue</a> > > const & </td>
|
|
<td class="paramname"><em>assets</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">jtx::seq</a> > const & </td>
|
|
<td class="paramname"><em>seq</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> > const & </td>
|
|
<td class="paramname"><em>tfee</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const & </td>
|
|
<td class="paramname"><em>ter</em> = <code>std::nullopt</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00460">460</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae23af97c6824f08555ee5857088146c9" name="ae23af97c6824f08555ee5857088146c9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae23af97c6824f08555ee5857088146c9">◆ </a></span>deposit() <span class="overload">[4/5]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> ripple::test::jtx::AMM::deposit </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structripple_1_1test_1_1jtx_1_1DepositArg.html">DepositArg</a> const & </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00507">507</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a857bda17195c076d9fa61883f03984fe" name="a857bda17195c076d9fa61883f03984fe"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a857bda17195c076d9fa61883f03984fe">◆ </a></span>withdraw() <span class="overload">[1/5]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> ripple::test::jtx::AMM::withdraw </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> > const & </td>
|
|
<td class="paramname"><em>account</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1LPToken.html">LPToken</a> > const & </td>
|
|
<td class="paramname"><em>tokens</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > const & </td>
|
|
<td class="paramname"><em>asset1OutDetails</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> > const & </td>
|
|
<td class="paramname"><em>flags</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const & </td>
|
|
<td class="paramname"><em>ter</em> = <code>std::nullopt</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00542">542</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af265a803fd70db46ba4cee4e748c93fe" name="af265a803fd70db46ba4cee4e748c93fe"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af265a803fd70db46ba4cee4e748c93fe">◆ </a></span>withdrawAll()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> ripple::test::jtx::AMM::withdrawAll </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> > const & </td>
|
|
<td class="paramname"><em>account</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > const & </td>
|
|
<td class="paramname"><em>asset1OutDetails</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const & </td>
|
|
<td class="paramname"><em>ter</em> = <code>std::nullopt</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00279">279</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a94611968e223fb39def1b7495a004d11" name="a94611968e223fb39def1b7495a004d11"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a94611968e223fb39def1b7495a004d11">◆ </a></span>withdraw() <span class="overload">[2/5]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> ripple::test::jtx::AMM::withdraw </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> > const & </td>
|
|
<td class="paramname"><em>account</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1STAmount.html">STAmount</a> const & </td>
|
|
<td class="paramname"><em>asset1Out</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > const & </td>
|
|
<td class="paramname"><em>asset2Out</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> > const & </td>
|
|
<td class="paramname"><em>maxEP</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const & </td>
|
|
<td class="paramname"><em>ter</em> = <code>std::nullopt</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00562">562</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a72e1b2aaa609f3c24a1238f4019512bf" name="a72e1b2aaa609f3c24a1238f4019512bf"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a72e1b2aaa609f3c24a1238f4019512bf">◆ </a></span>withdraw() <span class="overload">[3/5]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> ripple::test::jtx::AMM::withdraw </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> > const & </td>
|
|
<td class="paramname"><em>account</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1LPToken.html">LPToken</a> > const & </td>
|
|
<td class="paramname"><em>tokens</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > const & </td>
|
|
<td class="paramname"><em>asset1Out</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1STAmount.html">STAmount</a> > const & </td>
|
|
<td class="paramname"><em>asset2Out</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> > const & </td>
|
|
<td class="paramname"><em>maxEP</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> > const & </td>
|
|
<td class="paramname"><em>flags</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>< <a class="el" href="classripple_1_1Issue.html">Issue</a>, <a class="el" href="classripple_1_1Issue.html">Issue</a> > > const & </td>
|
|
<td class="paramname"><em>assets</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">jtx::seq</a> > const & </td>
|
|
<td class="paramname"><em>seq</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const & </td>
|
|
<td class="paramname"><em>ter</em> = <code>std::nullopt</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00583">583</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a23c220c64c7ccc28e9760b8572ef39e5" name="a23c220c64c7ccc28e9760b8572ef39e5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a23c220c64c7ccc28e9760b8572ef39e5">◆ </a></span>withdraw() <span class="overload">[4/5]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> ripple::test::jtx::AMM::withdraw </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structripple_1_1test_1_1jtx_1_1WithdrawArg.html">WithdrawArg</a> const & </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00627">627</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1f4c7268e3143c142cd9763e1b5595f2" name="a1f4c7268e3143c142cd9763e1b5595f2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1f4c7268e3143c142cd9763e1b5595f2">◆ </a></span>vote() <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::test::jtx::AMM::vote </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> > const & </td>
|
|
<td class="paramname"><em>account</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> </td>
|
|
<td class="paramname"><em>feeVal</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> > const & </td>
|
|
<td class="paramname"><em>flags</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">jtx::seq</a> > const & </td>
|
|
<td class="paramname"><em>seq</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>< <a class="el" href="classripple_1_1Issue.html">Issue</a>, <a class="el" href="classripple_1_1Issue.html">Issue</a> > > const & </td>
|
|
<td class="paramname"><em>assets</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const & </td>
|
|
<td class="paramname"><em>ter</em> = <code>std::nullopt</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00642">642</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0b2ec53d694ea16f4db4f2d60b109a5a" name="a0b2ec53d694ea16f4db4f2d60b109a5a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0b2ec53d694ea16f4db4f2d60b109a5a">◆ </a></span>vote() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::test::jtx::AMM::vote </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structripple_1_1test_1_1jtx_1_1VoteArg.html">VoteArg</a> const & </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00663">663</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab2af4e89db3a578be63b8f6e2a10aed3" name="ab2af4e89db3a578be63b8f6e2a10aed3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab2af4e89db3a578be63b8f6e2a10aed3">◆ </a></span>bid()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classJson_1_1Value.html">Json::Value</a> ripple::test::jtx::AMM::bid </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structripple_1_1test_1_1jtx_1_1BidArg.html">BidArg</a> const & </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00669">669</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6eaf7e407af891e41272e367bcfd25a5" name="a6eaf7e407af891e41272e367bcfd25a5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6eaf7e407af891e41272e367bcfd25a5">◆ </a></span>ammAccount()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const & ripple::test::jtx::AMM::ammAccount </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00331">331</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8a8b817de45852e6e1b6dec83570522b" name="a8a8b817de45852e6e1b6dec83570522b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8a8b817de45852e6e1b6dec83570522b">◆ </a></span>lptIssue()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1Issue.html">Issue</a> ripple::test::jtx::AMM::lptIssue </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00337">337</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a698d79806ae1471df7682814db3018c9" name="a698d79806ae1471df7682814db3018c9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a698d79806ae1471df7682814db3018c9">◆ </a></span>tokens()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> ripple::test::jtx::AMM::tokens </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00343">343</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aafca8293f4320e30ad2356bf43d9ee02" name="aafca8293f4320e30ad2356bf43d9ee02"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aafca8293f4320e30ad2356bf43d9ee02">◆ </a></span>getLPTokensBalance()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> ripple::test::jtx::AMM::getLPTokensBalance </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> > const & </td>
|
|
<td class="paramname"><em>account</em> = <code>std::nullopt</code></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00250">250</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5144aeedf81177c477a9a98fb6d08b72" name="a5144aeedf81177c477a9a98fb6d08b72"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5144aeedf81177c477a9a98fb6d08b72">◆ </a></span>operator[]()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> ripple::test::jtx::AMM::operator[] </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const & </td>
|
|
<td class="paramname"><em>lp</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00361">361</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7c37d21f42f36634953734028b935da7" name="a7c37d21f42f36634953734028b935da7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7c37d21f42f36634953734028b935da7">◆ </a></span>operator()()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classJson_1_1Value.html">Json::Value</a> ripple::test::jtx::AMM::operator() </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const & </td>
|
|
<td class="paramname"><em>lp</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00367">367</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a61b3d325bf73a05f236a4f6016d9ca88" name="a61b3d325bf73a05f236a4f6016d9ca88"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a61b3d325bf73a05f236a4f6016d9ca88">◆ </a></span>ammDelete()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::test::jtx::AMM::ammDelete </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const & </td>
|
|
<td class="paramname"><em>deleter</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const & </td>
|
|
<td class="paramname"><em>ter</em> = <code>std::nullopt</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00797">797</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6df32e84d1b6e13392cb9c2eb7df074d" name="a6df32e84d1b6e13392cb9c2eb7df074d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6df32e84d1b6e13392cb9c2eb7df074d">◆ </a></span>setClose()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::test::jtx::AMM::setClose </td>
|
|
<td>(</td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>close</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00378">378</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af67589f05b013f7f65ee1db095ac8f77" name="af67589f05b013f7f65ee1db095ac8f77"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af67589f05b013f7f65ee1db095ac8f77">◆ </a></span>ammID()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> ripple::test::jtx::AMM::ammID </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00384">384</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad95ddd650edc1d2cee2e93ec007d03bd" name="ad95ddd650edc1d2cee2e93ec007d03bd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad95ddd650edc1d2cee2e93ec007d03bd">◆ </a></span>setTokens()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::test::jtx::AMM::setTokens </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classJson_1_1Value.html">Json::Value</a> & </td>
|
|
<td class="paramname"><em>jv</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>< <a class="el" href="classripple_1_1Issue.html">Issue</a>, <a class="el" href="classripple_1_1Issue.html">Issue</a> > > const & </td>
|
|
<td class="paramname"><em>assets</em> = <code>std::nullopt</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00376">376</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3a014fe84c4ba40e2ff401d394487b5c" name="a3a014fe84c4ba40e2ff401d394487b5c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3a014fe84c4ba40e2ff401d394487b5c">◆ </a></span>create()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> ripple::test::jtx::AMM::create </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> </td>
|
|
<td class="paramname"><em>tfee</em> = <code>0</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> > const & </td>
|
|
<td class="paramname"><em>flags</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">jtx::seq</a> > const & </td>
|
|
<td class="paramname"><em>seq</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const & </td>
|
|
<td class="paramname"><em>ter</em> = <code>std::nullopt</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00134">134</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7885e0dbce43e4107f07bef7114b7337" name="a7885e0dbce43e4107f07bef7114b7337"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7885e0dbce43e4107f07bef7114b7337">◆ </a></span>deposit() <span class="overload">[5/5]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> ripple::test::jtx::AMM::deposit </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> > const & </td>
|
|
<td class="paramname"><em>account</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classJson_1_1Value.html">Json::Value</a> & </td>
|
|
<td class="paramname"><em>jv</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>< <a class="el" href="classripple_1_1Issue.html">Issue</a>, <a class="el" href="classripple_1_1Issue.html">Issue</a> > > const & </td>
|
|
<td class="paramname"><em>assets</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">jtx::seq</a> > const & </td>
|
|
<td class="paramname"><em>seq</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const & </td>
|
|
<td class="paramname"><em>ter</em> = <code>std::nullopt</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00397">397</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a578ba61c699164b5839f04165071d457" name="a578ba61c699164b5839f04165071d457"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a578ba61c699164b5839f04165071d457">◆ </a></span>withdraw() <span class="overload">[5/5]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> ripple::test::jtx::AMM::withdraw </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> > const & </td>
|
|
<td class="paramname"><em>account</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classJson_1_1Value.html">Json::Value</a> & </td>
|
|
<td class="paramname"><em>jv</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">jtx::seq</a> > const & </td>
|
|
<td class="paramname"><em>seq</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>< <a class="el" href="classripple_1_1Issue.html">Issue</a>, <a class="el" href="classripple_1_1Issue.html">Issue</a> > > const & </td>
|
|
<td class="paramname"><em>assets</em> = <code>std::nullopt</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const & </td>
|
|
<td class="paramname"><em>ter</em> = <code>std::nullopt</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00523">523</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a62d83e288719faaef062c61320cabeb0" name="a62d83e288719faaef062c61320cabeb0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a62d83e288719faaef062c61320cabeb0">◆ </a></span>log()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::test::jtx::AMM::log </td>
|
|
<td>(</td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>log</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00419">419</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6c1525214e62f7a937701363798afdd2" name="a6c1525214e62f7a937701363798afdd2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6c1525214e62f7a937701363798afdd2">◆ </a></span>expectAmmInfo()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::test::jtx::AMM::expectAmmInfo </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1STAmount.html">STAmount</a> const & </td>
|
|
<td class="paramname"><em>asset1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1STAmount.html">STAmount</a> const & </td>
|
|
<td class="paramname"><em>asset2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> const & </td>
|
|
<td class="paramname"><em>balance</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classJson_1_1Value.html">Json::Value</a> const & </td>
|
|
<td class="paramname"><em>jv</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00347">347</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a165d006b17159de10fb14fd03a74e0de" name="a165d006b17159de10fb14fd03a74e0de"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a165d006b17159de10fb14fd03a74e0de">◆ </a></span>submit()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::test::jtx::AMM::submit </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classJson_1_1Value.html">Json::Value</a> const & </td>
|
|
<td class="paramname"><em>jv</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">jtx::seq</a> > const & </td>
|
|
<td class="paramname"><em>seq</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> > const & </td>
|
|
<td class="paramname"><em>ter</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00733">733</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af5d49b75b92043ee8905de7b43e6b965" name="af5d49b75b92043ee8905de7b43e6b965"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af5d49b75b92043ee8905de7b43e6b965">◆ </a></span>expectAuctionSlot() <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::test::jtx::AMM::expectAuctionSlot </td>
|
|
<td>(</td>
|
|
<td class="paramtype">auto && </td>
|
|
<td class="paramname"><em>cb</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00764">764</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a772b11a73eaf40a8a43bc2fa8c205a0b" name="a772b11a73eaf40a8a43bc2fa8c205a0b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a772b11a73eaf40a8a43bc2fa8c205a0b">◆ </a></span>initialTokens()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> ripple::test::jtx::AMM::initialTokens </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8cpp_source.html#l00044">44</a> of file <a class="el" href="AMM_8cpp_source.html">AMM.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Friends And Related Function Documentation</h2>
|
|
<a id="a225a9467690f735c6e32d7778610baaf" name="a225a9467690f735c6e32d7778610baaf"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a225a9467690f735c6e32d7778610baaf">◆ </a></span>operator<<</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::ostream</a> & operator<< </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::ostream</a> & </td>
|
|
<td class="paramname"><em>s</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1test_1_1jtx_1_1AMM.html">AMM</a> const & </td>
|
|
<td class="paramname"><em>amm</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00352">352</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="aae249db9ffedb46900882e8530bcac8d" name="aae249db9ffedb46900882e8530bcac8d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aae249db9ffedb46900882e8530bcac8d">◆ </a></span>env_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1test_1_1jtx_1_1Env.html">Env</a>& ripple::test::jtx::AMM::env_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00125">125</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a976063207db0e7d41cc61841a23b3c8c" name="a976063207db0e7d41cc61841a23b3c8c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a976063207db0e7d41cc61841a23b3c8c">◆ </a></span>creatorAccount_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> const ripple::test::jtx::AMM::creatorAccount_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00126">126</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a61b220d23764154b994b6f8116227629" name="a61b220d23764154b994b6f8116227629"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a61b220d23764154b994b6f8116227629">◆ </a></span>asset1_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1STAmount.html">STAmount</a> const ripple::test::jtx::AMM::asset1_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00127">127</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a44ab9efea7e4db20123faf0c4656985a" name="a44ab9efea7e4db20123faf0c4656985a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a44ab9efea7e4db20123faf0c4656985a">◆ </a></span>asset2_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1STAmount.html">STAmount</a> const ripple::test::jtx::AMM::asset2_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00128">128</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a2a62190b3e41dd2793f4657e48b212c4" name="a2a62190b3e41dd2793f4657e48b212c4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2a62190b3e41dd2793f4657e48b212c4">◆ </a></span>ammID_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const ripple::test::jtx::AMM::ammID_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00129">129</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="abe05a4da48aafd8510c6045b0e311a5a" name="abe05a4da48aafd8510c6045b0e311a5a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#abe05a4da48aafd8510c6045b0e311a5a">◆ </a></span>log_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::test::jtx::AMM::log_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00130">130</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a125d9a56aa8c1fa8fade044c3e1d9f6a" name="a125d9a56aa8c1fa8fade044c3e1d9f6a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a125d9a56aa8c1fa8fade044c3e1d9f6a">◆ </a></span>doClose_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::test::jtx::AMM::doClose_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00131">131</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6e054aa935ddb33c8ff55f4b1174ce88" name="a6e054aa935ddb33c8ff55f4b1174ce88"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6e054aa935ddb33c8ff55f4b1174ce88">◆ </a></span>lastPurchasePrice_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> ripple::test::jtx::AMM::lastPurchasePrice_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00133">133</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a00b299ba3194ac21a35cd5960c3dd843" name="a00b299ba3194ac21a35cd5960c3dd843"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a00b299ba3194ac21a35cd5960c3dd843">◆ </a></span>bidMin_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a><<a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a>> ripple::test::jtx::AMM::bidMin_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00134">134</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9d186dce947ff880fc490464e7280c58" name="a9d186dce947ff880fc490464e7280c58"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9d186dce947ff880fc490464e7280c58">◆ </a></span>bidMax_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a><<a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a>> ripple::test::jtx::AMM::bidMax_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00135">135</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a856f331407b5975fa26bb53184405308" name="a856f331407b5975fa26bb53184405308"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a856f331407b5975fa26bb53184405308">◆ </a></span>msig_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a><<a class="el" href="classripple_1_1test_1_1jtx_1_1msig.html">msig</a>> const ripple::test::jtx::AMM::msig_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00137">137</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a26db791a0c2d86e359dda7125eda1ab9" name="a26db791a0c2d86e359dda7125eda1ab9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a26db791a0c2d86e359dda7125eda1ab9">◆ </a></span>fee_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> const ripple::test::jtx::AMM::fee_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00139">139</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a793f0ce602e0ed7822f2889947258e52" name="a793f0ce602e0ed7822f2889947258e52"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a793f0ce602e0ed7822f2889947258e52">◆ </a></span>ammAccount_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> const ripple::test::jtx::AMM::ammAccount_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00140">140</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a11236ef3920154a549d540007f0905a0" name="a11236ef3920154a549d540007f0905a0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a11236ef3920154a549d540007f0905a0">◆ </a></span>lptIssue_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1Issue.html">Issue</a> const ripple::test::jtx::AMM::lptIssue_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00141">141</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9ea06fb889be2779feb679bf7489b564" name="a9ea06fb889be2779feb679bf7489b564"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9ea06fb889be2779feb679bf7489b564">◆ </a></span>initialLPTokens_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1IOUAmount.html">IOUAmount</a> const ripple::test::jtx::AMM::initialLPTokens_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AMM_8h_source.html#l00142">142</a> of file <a class="el" href="AMM_8h_source.html">AMM.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
|
|
</small></address>
|
|
</body>
|
|
</html>
|