This commit is contained in:
Bronek
2025-11-14 09:33:55 -08:00
parent 03f73f6be1
commit 1a45d4f09a
14 changed files with 3366 additions and 3355 deletions

View File

@@ -103,88 +103,84 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> jv[jss::TransactionType] = jss::VaultCreate;</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> jv[jss::Account] = args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1CreateArgs.html#a0b75a309a7b723ccc3be4695ae342ec1">owner</a>.<a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#af418ef1752815f3b0d0c80e7e9891004">human</a>();</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> jv[jss::Asset] = <a class="code hl_function" href="namespaceripple.html#a7e44e3c53d8e9548450d127c188685d9">to_json</a>(args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1CreateArgs.html#a05a52d1280d28426f9720f7e253d8c96">asset</a>);</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> jv[jss::Fee] = <a class="code hl_class" href="classripple_1_1STAmount.html">STAmount</a>(<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault.html#a86952601887c5da70b01d712f9b3f07b">env</a>.<a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Env.html#a65bedb2e0babbd55343f721de9008a37">current</a>()-&gt;fees().increment).<a class="code hl_function" href="classripple_1_1STAmount.html#a181a52a4cdeca099d04a31ec43123388">getJson</a>();</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> <span class="keywordflow">if</span> (args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1CreateArgs.html#a0347140de50aedde95b1b78c4650351f">flags</a>)</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> jv[jss::Flags] = *args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1CreateArgs.html#a0347140de50aedde95b1b78c4650351f">flags</a>;</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> <span class="keywordflow">return</span> {jv, keylet};</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span>}</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <span class="keywordflow">if</span> (args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1CreateArgs.html#a0347140de50aedde95b1b78c4650351f">flags</a>)</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> jv[jss::Flags] = *args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1CreateArgs.html#a0347140de50aedde95b1b78c4650351f">flags</a>;</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> <span class="keywordflow">return</span> {jv, keylet};</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span>}</div>
</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="foldopen" id="foldopen00029" data-start="{" data-end="}">
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1Vault.html#a3ccb4823b7b7ab562441a55f0ac83922"> 29</a></span><a class="code hl_function" href="structripple_1_1test_1_1jtx_1_1Vault.html#a3ccb4823b7b7ab562441a55f0ac83922">Vault::set</a>(<a class="code hl_struct" href="structripple_1_1test_1_1jtx_1_1Vault_1_1SetArgs.html">SetArgs</a> <span class="keyword">const</span>&amp; args)</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span>{</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> jv;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> jv[jss::TransactionType] = jss::VaultSet;</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> jv[jss::Account] = args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1SetArgs.html#a7b85656d8cee47dc0b1601b46e2613bd">owner</a>.<a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#af418ef1752815f3b0d0c80e7e9891004">human</a>();</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> jv[sfVaultID] = <a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1SetArgs.html#a0f3163cfbf065bffe92557012be701bb">id</a>);</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> <span class="keywordflow">return</span> jv;</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span>}</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="foldopen" id="foldopen00028" data-start="{" data-end="}">
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1Vault.html#a3ccb4823b7b7ab562441a55f0ac83922"> 28</a></span><a class="code hl_function" href="structripple_1_1test_1_1jtx_1_1Vault.html#a3ccb4823b7b7ab562441a55f0ac83922">Vault::set</a>(<a class="code hl_struct" href="structripple_1_1test_1_1jtx_1_1Vault_1_1SetArgs.html">SetArgs</a> <span class="keyword">const</span>&amp; args)</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span>{</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> jv;</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> jv[jss::TransactionType] = jss::VaultSet;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> jv[jss::Account] = args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1SetArgs.html#a7b85656d8cee47dc0b1601b46e2613bd">owner</a>.<a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#af418ef1752815f3b0d0c80e7e9891004">human</a>();</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> jv[sfVaultID] = <a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1SetArgs.html#a0f3163cfbf065bffe92557012be701bb">id</a>);</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> <span class="keywordflow">return</span> jv;</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span>}</div>
</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="foldopen" id="foldopen00039" data-start="{" data-end="}">
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1Vault.html#ab862776344ac595c7eab01d34729d52a"> 39</a></span><a class="code hl_function" href="structripple_1_1test_1_1jtx_1_1Vault.html#ab862776344ac595c7eab01d34729d52a">Vault::del</a>(<a class="code hl_struct" href="structripple_1_1test_1_1jtx_1_1Vault_1_1DeleteArgs.html">DeleteArgs</a> <span class="keyword">const</span>&amp; args)</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span>{</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> jv;</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> jv[jss::TransactionType] = jss::VaultDelete;</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> jv[jss::Account] = args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1DeleteArgs.html#a00de8e47aa0fce380824c7bf4c3fc7ed">owner</a>.<a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#af418ef1752815f3b0d0c80e7e9891004">human</a>();</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> jv[sfVaultID] = <a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1DeleteArgs.html#ac61ac41c20db775a66260d8231c24385">id</a>);</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="keywordflow">return</span> jv;</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span>}</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="foldopen" id="foldopen00038" data-start="{" data-end="}">
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1Vault.html#ab862776344ac595c7eab01d34729d52a"> 38</a></span><a class="code hl_function" href="structripple_1_1test_1_1jtx_1_1Vault.html#ab862776344ac595c7eab01d34729d52a">Vault::del</a>(<a class="code hl_struct" href="structripple_1_1test_1_1jtx_1_1Vault_1_1DeleteArgs.html">DeleteArgs</a> <span class="keyword">const</span>&amp; args)</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span>{</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> jv;</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> jv[jss::TransactionType] = jss::VaultDelete;</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> jv[jss::Account] = args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1DeleteArgs.html#a00de8e47aa0fce380824c7bf4c3fc7ed">owner</a>.<a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#af418ef1752815f3b0d0c80e7e9891004">human</a>();</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> jv[sfVaultID] = <a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1DeleteArgs.html#ac61ac41c20db775a66260d8231c24385">id</a>);</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <span class="keywordflow">return</span> jv;</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span>}</div>
</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span><a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="foldopen" id="foldopen00049" data-start="{" data-end="}">
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1Vault.html#ae366fdab391420a547a4bc0482a2e2a1"> 49</a></span><a class="code hl_function" href="structripple_1_1test_1_1jtx_1_1Vault.html#ae366fdab391420a547a4bc0482a2e2a1">Vault::deposit</a>(<a class="code hl_struct" href="structripple_1_1test_1_1jtx_1_1Vault_1_1DepositArgs.html">DepositArgs</a> <span class="keyword">const</span>&amp; args)</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span>{</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> jv;</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> jv[jss::TransactionType] = jss::VaultDeposit;</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> jv[jss::Account] = args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1DepositArgs.html#aa8c2999aca947659e7468d2ae8972679">depositor</a>.<a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#af418ef1752815f3b0d0c80e7e9891004">human</a>();</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> jv[sfVaultID] = <a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1DepositArgs.html#a7c00dadc0735deec9ac609c87dc46429">id</a>);</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> jv[jss::Amount] = <a class="code hl_function" href="namespaceripple.html#a7e44e3c53d8e9548450d127c188685d9">to_json</a>(args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1DepositArgs.html#ae158ac01faeaf389270b7cf3256c6a4f">amount</a>);</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <span class="keywordflow">return</span> jv;</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span>}</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span><a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="foldopen" id="foldopen00048" data-start="{" data-end="}">
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1Vault.html#ae366fdab391420a547a4bc0482a2e2a1"> 48</a></span><a class="code hl_function" href="structripple_1_1test_1_1jtx_1_1Vault.html#ae366fdab391420a547a4bc0482a2e2a1">Vault::deposit</a>(<a class="code hl_struct" href="structripple_1_1test_1_1jtx_1_1Vault_1_1DepositArgs.html">DepositArgs</a> <span class="keyword">const</span>&amp; args)</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span>{</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> jv;</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> jv[jss::TransactionType] = jss::VaultDeposit;</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> jv[jss::Account] = args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1DepositArgs.html#aa8c2999aca947659e7468d2ae8972679">depositor</a>.<a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#af418ef1752815f3b0d0c80e7e9891004">human</a>();</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> jv[sfVaultID] = <a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1DepositArgs.html#a7c00dadc0735deec9ac609c87dc46429">id</a>);</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> jv[jss::Amount] = <a class="code hl_function" href="namespaceripple.html#a7e44e3c53d8e9548450d127c188685d9">to_json</a>(args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1DepositArgs.html#ae158ac01faeaf389270b7cf3256c6a4f">amount</a>);</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <span class="keywordflow">return</span> jv;</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span>}</div>
</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span><a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="foldopen" id="foldopen00060" data-start="{" data-end="}">
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1Vault.html#a5ac6e548ae47728ab3ba1c5a01598402"> 60</a></span><a class="code hl_function" href="structripple_1_1test_1_1jtx_1_1Vault.html#a5ac6e548ae47728ab3ba1c5a01598402">Vault::withdraw</a>(<a class="code hl_struct" href="structripple_1_1test_1_1jtx_1_1Vault_1_1WithdrawArgs.html">WithdrawArgs</a> <span class="keyword">const</span>&amp; args)</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span>{</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> jv;</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> jv[jss::TransactionType] = jss::VaultWithdraw;</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> jv[jss::Account] = args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1WithdrawArgs.html#a01472e975b46fb7375efa84c88c69159">depositor</a>.<a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#af418ef1752815f3b0d0c80e7e9891004">human</a>();</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> jv[sfVaultID] = <a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1WithdrawArgs.html#afcc1602cc69448b49d8fadda57bc614e">id</a>);</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> jv[jss::Amount] = <a class="code hl_function" href="namespaceripple.html#a7e44e3c53d8e9548450d127c188685d9">to_json</a>(args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1WithdrawArgs.html#a754320e35b968c7a70af94b488665bce">amount</a>);</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> <span class="keywordflow">return</span> jv;</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span>}</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span><a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="foldopen" id="foldopen00059" data-start="{" data-end="}">
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1Vault.html#a5ac6e548ae47728ab3ba1c5a01598402"> 59</a></span><a class="code hl_function" href="structripple_1_1test_1_1jtx_1_1Vault.html#a5ac6e548ae47728ab3ba1c5a01598402">Vault::withdraw</a>(<a class="code hl_struct" href="structripple_1_1test_1_1jtx_1_1Vault_1_1WithdrawArgs.html">WithdrawArgs</a> <span class="keyword">const</span>&amp; args)</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span>{</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> jv;</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> jv[jss::TransactionType] = jss::VaultWithdraw;</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> jv[jss::Account] = args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1WithdrawArgs.html#a01472e975b46fb7375efa84c88c69159">depositor</a>.<a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#af418ef1752815f3b0d0c80e7e9891004">human</a>();</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> jv[sfVaultID] = <a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1WithdrawArgs.html#afcc1602cc69448b49d8fadda57bc614e">id</a>);</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> jv[jss::Amount] = <a class="code hl_function" href="namespaceripple.html#a7e44e3c53d8e9548450d127c188685d9">to_json</a>(args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1WithdrawArgs.html#a754320e35b968c7a70af94b488665bce">amount</a>);</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> <span class="keywordflow">return</span> jv;</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span>}</div>
</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> </div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span><a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="foldopen" id="foldopen00071" data-start="{" data-end="}">
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1Vault.html#ab949a250175bdf654fa593f0f98807df"> 71</a></span><a class="code hl_function" href="structripple_1_1test_1_1jtx_1_1Vault.html#ab949a250175bdf654fa593f0f98807df">Vault::clawback</a>(<a class="code hl_struct" href="structripple_1_1test_1_1jtx_1_1Vault_1_1ClawbackArgs.html">ClawbackArgs</a> <span class="keyword">const</span>&amp; args)</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span>{</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> jv;</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> jv[jss::TransactionType] = jss::VaultClawback;</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> jv[jss::Account] = args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1ClawbackArgs.html#acc8efe6556ee649bc44d4d9a987b7980">issuer</a>.<a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#af418ef1752815f3b0d0c80e7e9891004">human</a>();</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> jv[sfVaultID] = <a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1ClawbackArgs.html#ade51cace5af4a8334c84937f54a1ae4a">id</a>);</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> jv[jss::Holder] = args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1ClawbackArgs.html#a2bf4c21bb5176e7d7a4fc9113113fd38">holder</a>.<a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#af418ef1752815f3b0d0c80e7e9891004">human</a>();</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> <span class="keywordflow">if</span> (args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1ClawbackArgs.html#a0a35e24c1551c28fe3d77ccc8e6d0c01">amount</a>)</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> jv[jss::Amount] = <a class="code hl_function" href="namespaceripple.html#a7e44e3c53d8e9548450d127c188685d9">to_json</a>(*args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1ClawbackArgs.html#a0a35e24c1551c28fe3d77ccc8e6d0c01">amount</a>);</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> <span class="keywordflow">return</span> jv;</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span>}</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span><a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="foldopen" id="foldopen00070" data-start="{" data-end="}">
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1Vault.html#ab949a250175bdf654fa593f0f98807df"> 70</a></span><a class="code hl_function" href="structripple_1_1test_1_1jtx_1_1Vault.html#ab949a250175bdf654fa593f0f98807df">Vault::clawback</a>(<a class="code hl_struct" href="structripple_1_1test_1_1jtx_1_1Vault_1_1ClawbackArgs.html">ClawbackArgs</a> <span class="keyword">const</span>&amp; args)</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span>{</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> jv;</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> jv[jss::TransactionType] = jss::VaultClawback;</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> jv[jss::Account] = args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1ClawbackArgs.html#acc8efe6556ee649bc44d4d9a987b7980">issuer</a>.<a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#af418ef1752815f3b0d0c80e7e9891004">human</a>();</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> jv[sfVaultID] = <a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1ClawbackArgs.html#ade51cace5af4a8334c84937f54a1ae4a">id</a>);</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> jv[jss::Holder] = args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1ClawbackArgs.html#a2bf4c21bb5176e7d7a4fc9113113fd38">holder</a>.<a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#af418ef1752815f3b0d0c80e7e9891004">human</a>();</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> <span class="keywordflow">if</span> (args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1ClawbackArgs.html#a0a35e24c1551c28fe3d77ccc8e6d0c01">amount</a>)</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> jv[jss::Amount] = <a class="code hl_function" href="namespaceripple.html#a7e44e3c53d8e9548450d127c188685d9">to_json</a>(*args.<a class="code hl_variable" href="structripple_1_1test_1_1jtx_1_1Vault_1_1ClawbackArgs.html#a0a35e24c1551c28fe3d77ccc8e6d0c01">amount</a>);</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> <span class="keywordflow">return</span> jv;</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span>}</div>
</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> </div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span>} <span class="comment">// namespace jtx</span></div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span>} <span class="comment">// namespace test</span></div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span>} <span class="comment">// namespace ripple</span></div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> </div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span>} <span class="comment">// namespace jtx</span></div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span>} <span class="comment">// namespace test</span></div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span>} <span class="comment">// namespace ripple</span></div>
<div class="ttc" id="aclassJson_1_1Value_html"><div class="ttname"><a href="classJson_1_1Value.html">Json::Value</a></div><div class="ttdoc">Represents a JSON value.</div><div class="ttdef"><b>Definition</b> <a href="json__value_8h_source.html#l00130">json_value.h:131</a></div></div>
<div class="ttc" id="aclassripple_1_1STAmount_html"><div class="ttname"><a href="classripple_1_1STAmount.html">ripple::STAmount</a></div><div class="ttdef"><b>Definition</b> <a href="STAmount_8h_source.html#l00030">STAmount.h:31</a></div></div>
<div class="ttc" id="aclassripple_1_1STAmount_html_a181a52a4cdeca099d04a31ec43123388"><div class="ttname"><a href="classripple_1_1STAmount.html#a181a52a4cdeca099d04a31ec43123388">ripple::STAmount::getJson</a></div><div class="ttdeci">Json::Value getJson(JsonOptions=JsonOptions::none) const override</div><div class="ttdef"><b>Definition</b> <a href="STAmount_8cpp_source.html#l00753">STAmount.cpp:753</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a1ea8869f5af6ce774c37b560c6c785c3"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a1ea8869f5af6ce774c37b560c6c785c3">ripple::test::jtx::Account::id</a></div><div class="ttdeci">AccountID id() const</div><div class="ttdoc">Returns the Account ID.</div><div class="ttdef"><b>Definition</b> <a href="Account_8h_source.html#l00092">Account.h:92</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_af418ef1752815f3b0d0c80e7e9891004"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#af418ef1752815f3b0d0c80e7e9891004">ripple::test::jtx::Account::human</a></div><div class="ttdeci">std::string const &amp; human() const</div><div class="ttdoc">Returns the human readable public key.</div><div class="ttdef"><b>Definition</b> <a href="Account_8h_source.html#l00099">Account.h:99</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Env_html_a2ef09f6f41b7d8a2dc89175e3b108f87"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Env.html#a2ef09f6f41b7d8a2dc89175e3b108f87">ripple::test::jtx::Env::seq</a></div><div class="ttdeci">std::uint32_t seq(Account const &amp;account) const</div><div class="ttdoc">Returns the next sequence number on account.</div><div class="ttdef"><b>Definition</b> <a href="Env_8cpp_source.html#l00250">Env.cpp:250</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Env_html_a65bedb2e0babbd55343f721de9008a37"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Env.html#a65bedb2e0babbd55343f721de9008a37">ripple::test::jtx::Env::current</a></div><div class="ttdeci">std::shared_ptr&lt; OpenView const &gt; current() const</div><div class="ttdoc">Returns the current ledger.</div><div class="ttdef"><b>Definition</b> <a href="Env_8h_source.html#l00312">Env.h:312</a></div></div>
<div class="ttc" id="anamespaceripple_1_1keylet_html_a95e5972478699bdc76c2efe69e9484df"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a95e5972478699bdc76c2efe69e9484df">ripple::keylet::vault</a></div><div class="ttdeci">Keylet vault(AccountID const &amp;owner, std::uint32_t seq) noexcept</div><div class="ttdef"><b>Definition</b> <a href="Indexes_8cpp_source.html#l00545">Indexes.cpp:545</a></div></div>
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition</b> <a href="algorithm_8h_source.html#l00006">algorithm.h:6</a></div></div>
<div class="ttc" id="anamespaceripple_html_a7e44e3c53d8e9548450d127c188685d9"><div class="ttname"><a href="namespaceripple.html#a7e44e3c53d8e9548450d127c188685d9">ripple::to_json</a></div><div class="ttdeci">Json::Value to_json(Asset const &amp;asset)</div><div class="ttdef"><b>Definition</b> <a href="Asset_8h_source.html#l00104">Asset.h:104</a></div></div>
@@ -213,13 +209,13 @@ $(document).ready(function() { init_codefold(0); });
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1Vault_1_1WithdrawArgs_html_a01472e975b46fb7375efa84c88c69159"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1Vault_1_1WithdrawArgs.html#a01472e975b46fb7375efa84c88c69159">ripple::test::jtx::Vault::WithdrawArgs::depositor</a></div><div class="ttdeci">Account depositor</div><div class="ttdef"><b>Definition</b> <a href="vault_8h_source.html#l00066">vault.h:66</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1Vault_1_1WithdrawArgs_html_a754320e35b968c7a70af94b488665bce"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1Vault_1_1WithdrawArgs.html#a754320e35b968c7a70af94b488665bce">ripple::test::jtx::Vault::WithdrawArgs::amount</a></div><div class="ttdeci">STAmount amount</div><div class="ttdef"><b>Definition</b> <a href="vault_8h_source.html#l00068">vault.h:68</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1Vault_1_1WithdrawArgs_html_afcc1602cc69448b49d8fadda57bc614e"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1Vault_1_1WithdrawArgs.html#afcc1602cc69448b49d8fadda57bc614e">ripple::test::jtx::Vault::WithdrawArgs::id</a></div><div class="ttdeci">uint256 id</div><div class="ttdef"><b>Definition</b> <a href="vault_8h_source.html#l00067">vault.h:67</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1Vault_html_a3ccb4823b7b7ab562441a55f0ac83922"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1Vault.html#a3ccb4823b7b7ab562441a55f0ac83922">ripple::test::jtx::Vault::set</a></div><div class="ttdeci">Json::Value set(SetArgs const &amp;args)</div><div class="ttdef"><b>Definition</b> <a href="vault_8cpp_source.html#l00029">vault.cpp:29</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1Vault_html_a3ccb4823b7b7ab562441a55f0ac83922"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1Vault.html#a3ccb4823b7b7ab562441a55f0ac83922">ripple::test::jtx::Vault::set</a></div><div class="ttdeci">Json::Value set(SetArgs const &amp;args)</div><div class="ttdef"><b>Definition</b> <a href="vault_8cpp_source.html#l00028">vault.cpp:28</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1Vault_html_a59894b73d8fb9c5e866c93b13fe06d95"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1Vault.html#a59894b73d8fb9c5e866c93b13fe06d95">ripple::test::jtx::Vault::create</a></div><div class="ttdeci">std::tuple&lt; Json::Value, Keylet &gt; create(CreateArgs const &amp;args)</div><div class="ttdoc">Return a VaultCreate transaction and the Vault's expected keylet.</div><div class="ttdef"><b>Definition</b> <a href="vault_8cpp_source.html#l00015">vault.cpp:15</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1Vault_html_a5ac6e548ae47728ab3ba1c5a01598402"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1Vault.html#a5ac6e548ae47728ab3ba1c5a01598402">ripple::test::jtx::Vault::withdraw</a></div><div class="ttdeci">Json::Value withdraw(WithdrawArgs const &amp;args)</div><div class="ttdef"><b>Definition</b> <a href="vault_8cpp_source.html#l00060">vault.cpp:60</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1Vault_html_a5ac6e548ae47728ab3ba1c5a01598402"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1Vault.html#a5ac6e548ae47728ab3ba1c5a01598402">ripple::test::jtx::Vault::withdraw</a></div><div class="ttdeci">Json::Value withdraw(WithdrawArgs const &amp;args)</div><div class="ttdef"><b>Definition</b> <a href="vault_8cpp_source.html#l00059">vault.cpp:59</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1Vault_html_a86952601887c5da70b01d712f9b3f07b"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1Vault.html#a86952601887c5da70b01d712f9b3f07b">ripple::test::jtx::Vault::env</a></div><div class="ttdeci">Env &amp; env</div><div class="ttdef"><b>Definition</b> <a href="vault_8h_source.html#l00023">vault.h:23</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1Vault_html_ab862776344ac595c7eab01d34729d52a"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1Vault.html#ab862776344ac595c7eab01d34729d52a">ripple::test::jtx::Vault::del</a></div><div class="ttdeci">Json::Value del(DeleteArgs const &amp;args)</div><div class="ttdef"><b>Definition</b> <a href="vault_8cpp_source.html#l00039">vault.cpp:39</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1Vault_html_ab949a250175bdf654fa593f0f98807df"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1Vault.html#ab949a250175bdf654fa593f0f98807df">ripple::test::jtx::Vault::clawback</a></div><div class="ttdeci">Json::Value clawback(ClawbackArgs const &amp;args)</div><div class="ttdef"><b>Definition</b> <a href="vault_8cpp_source.html#l00071">vault.cpp:71</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1Vault_html_ae366fdab391420a547a4bc0482a2e2a1"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1Vault.html#ae366fdab391420a547a4bc0482a2e2a1">ripple::test::jtx::Vault::deposit</a></div><div class="ttdeci">Json::Value deposit(DepositArgs const &amp;args)</div><div class="ttdef"><b>Definition</b> <a href="vault_8cpp_source.html#l00049">vault.cpp:49</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1Vault_html_ab862776344ac595c7eab01d34729d52a"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1Vault.html#ab862776344ac595c7eab01d34729d52a">ripple::test::jtx::Vault::del</a></div><div class="ttdeci">Json::Value del(DeleteArgs const &amp;args)</div><div class="ttdef"><b>Definition</b> <a href="vault_8cpp_source.html#l00038">vault.cpp:38</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1Vault_html_ab949a250175bdf654fa593f0f98807df"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1Vault.html#ab949a250175bdf654fa593f0f98807df">ripple::test::jtx::Vault::clawback</a></div><div class="ttdeci">Json::Value clawback(ClawbackArgs const &amp;args)</div><div class="ttdef"><b>Definition</b> <a href="vault_8cpp_source.html#l00070">vault.cpp:70</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1Vault_html_ae366fdab391420a547a4bc0482a2e2a1"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1Vault.html#ae366fdab391420a547a4bc0482a2e2a1">ripple::test::jtx::Vault::deposit</a></div><div class="ttdeci">Json::Value deposit(DepositArgs const &amp;args)</div><div class="ttdef"><b>Definition</b> <a href="vault_8cpp_source.html#l00048">vault.cpp:48</a></div></div>
<div class="ttc" id="atuple_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/tuple.html">std::tuple</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->