This commit is contained in:
bthomee
2025-09-18 08:15:26 -07:00
parent 566976e9d7
commit 099ba7da4d
500 changed files with 25758 additions and 25596 deletions

View File

@@ -100,17 +100,17 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment">*/</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment">//==============================================================================</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#include &lt;xrpld/app/misc/CredentialHelpers.h&gt;</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#include &lt;xrpld/app/misc/HashRouter.h&gt;</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="preprocessor">#include &lt;xrpld/app/tx/detail/Escrow.h&gt;</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#include &lt;xrpld/app/tx/detail/MPTokenAuthorize.h&gt;</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#include &lt;xrpld/conditions/Condition.h&gt;</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include &lt;xrpld/conditions/Fulfillment.h&gt;</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include &lt;xrpld/ledger/ApplyView.h&gt;</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include &lt;xrpld/ledger/View.h&gt;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#include &lt;xrpl/basics/Log.h&gt;</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor">#include &lt;xrpl/basics/chrono.h&gt;</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#include &lt;xrpld/app/misc/HashRouter.h&gt;</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#include &lt;xrpld/app/tx/detail/Escrow.h&gt;</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="preprocessor">#include &lt;xrpld/app/tx/detail/MPTokenAuthorize.h&gt;</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#include &lt;xrpld/conditions/Condition.h&gt;</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#include &lt;xrpld/conditions/Fulfillment.h&gt;</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include &lt;xrpl/basics/Log.h&gt;</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include &lt;xrpl/basics/chrono.h&gt;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#include &lt;xrpl/ledger/ApplyView.h&gt;</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#include &lt;xrpl/ledger/CredentialHelpers.h&gt;</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor">#include &lt;xrpl/ledger/View.h&gt;</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="preprocessor">#include &lt;xrpl/protocol/Feature.h&gt;</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="preprocessor">#include &lt;xrpl/protocol/Indexes.h&gt;</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="preprocessor">#include &lt;xrpl/protocol/MPTAmount.h&gt;</span></div>
@@ -329,12 +329,12 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38ca9af7057961bc54674f4a6c2dd8ed6ab9">tecNO_PERMISSION</a>; <span class="comment">// LCOV_EXCL_LINE</span></div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span> </div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span> <span class="comment">// If the issuer has requireAuth set, check if the account is authorized</span></div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span> <span class="keywordflow">if</span> (<span class="keyword">auto</span> <span class="keyword">const</span> ter = <a class="code hl_function" href="namespaceripple.html#a16b466cc38b73c15e032e268db4c4de7">requireAuth</a>(ctx.<a class="code hl_variable" href="structripple_1_1PreclaimContext.html#a05d5cf6207c1127c25dcd7c3f763b9c5">view</a>, amount.<a class="code hl_function" href="classripple_1_1STAmount.html#acab76380a95d902071fd26ab3425bbe5">issue</a>(), account);</div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span> <span class="keywordflow">if</span> (<span class="keyword">auto</span> <span class="keyword">const</span> ter = <a class="code hl_function" href="namespaceripple.html#a742a903d83548c328113192595b69da8">requireAuth</a>(ctx.<a class="code hl_variable" href="structripple_1_1PreclaimContext.html#a05d5cf6207c1127c25dcd7c3f763b9c5">view</a>, amount.<a class="code hl_function" href="classripple_1_1STAmount.html#acab76380a95d902071fd26ab3425bbe5">issue</a>(), account);</div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"> 241</span> ter != <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>)</div>
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"> 242</span> <span class="keywordflow">return</span> ter;</div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span> </div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span> <span class="comment">// If the issuer has requireAuth set, check if the destination is authorized</span></div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span> <span class="keywordflow">if</span> (<span class="keyword">auto</span> <span class="keyword">const</span> ter = <a class="code hl_function" href="namespaceripple.html#a16b466cc38b73c15e032e268db4c4de7">requireAuth</a>(ctx.<a class="code hl_variable" href="structripple_1_1PreclaimContext.html#a05d5cf6207c1127c25dcd7c3f763b9c5">view</a>, amount.<a class="code hl_function" href="classripple_1_1STAmount.html#acab76380a95d902071fd26ab3425bbe5">issue</a>(), dest);</div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span> <span class="keywordflow">if</span> (<span class="keyword">auto</span> <span class="keyword">const</span> ter = <a class="code hl_function" href="namespaceripple.html#a742a903d83548c328113192595b69da8">requireAuth</a>(ctx.<a class="code hl_variable" href="structripple_1_1PreclaimContext.html#a05d5cf6207c1127c25dcd7c3f763b9c5">view</a>, amount.<a class="code hl_function" href="classripple_1_1STAmount.html#acab76380a95d902071fd26ab3425bbe5">issue</a>(), dest);</div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span> ter != <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>)</div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span> <span class="keywordflow">return</span> ter;</div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"> 248</span> </div>
@@ -409,14 +409,14 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"> 315</span> <span class="comment">// authorized</span></div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"> 316</span> <span class="keyword">auto</span> <span class="keyword">const</span>&amp; mptIssue = amount.<a class="code hl_function" href="classripple_1_1STAmount.html#a4faedb8cf3aa230868cc0ecd3b0da6d6">get</a>&lt;<a class="code hl_class" href="classripple_1_1MPTIssue.html">MPTIssue</a>&gt;();</div>
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno"> 317</span> <span class="keywordflow">if</span> (<span class="keyword">auto</span> <span class="keyword">const</span> ter =</div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"> 318</span> <a class="code hl_function" href="namespaceripple.html#a16b466cc38b73c15e032e268db4c4de7">requireAuth</a>(ctx.<a class="code hl_variable" href="structripple_1_1PreclaimContext.html#a05d5cf6207c1127c25dcd7c3f763b9c5">view</a>, mptIssue, account, <a class="code hl_enumvalue" href="namespaceripple.html#a4e070aef85986336795216a3e5336f8da41aee20744fc47f976626aa2ade7adcb">AuthType::WeakAuth</a>);</div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"> 318</span> <a class="code hl_function" href="namespaceripple.html#a742a903d83548c328113192595b69da8">requireAuth</a>(ctx.<a class="code hl_variable" href="structripple_1_1PreclaimContext.html#a05d5cf6207c1127c25dcd7c3f763b9c5">view</a>, mptIssue, account, <a class="code hl_enumvalue" href="namespaceripple.html#a4e070aef85986336795216a3e5336f8da41aee20744fc47f976626aa2ade7adcb">AuthType::WeakAuth</a>);</div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno"> 319</span> ter != <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>)</div>
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno"> 320</span> <span class="keywordflow">return</span> ter;</div>
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"> 321</span> </div>
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</span> <span class="comment">// If the issuer has requireAuth set, check if the destination is</span></div>
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span> <span class="comment">// authorized</span></div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"> 324</span> <span class="keywordflow">if</span> (<span class="keyword">auto</span> <span class="keyword">const</span> ter =</div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"> 325</span> <a class="code hl_function" href="namespaceripple.html#a16b466cc38b73c15e032e268db4c4de7">requireAuth</a>(ctx.<a class="code hl_variable" href="structripple_1_1PreclaimContext.html#a05d5cf6207c1127c25dcd7c3f763b9c5">view</a>, mptIssue, dest, <a class="code hl_enumvalue" href="namespaceripple.html#a4e070aef85986336795216a3e5336f8da41aee20744fc47f976626aa2ade7adcb">AuthType::WeakAuth</a>);</div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"> 325</span> <a class="code hl_function" href="namespaceripple.html#a742a903d83548c328113192595b69da8">requireAuth</a>(ctx.<a class="code hl_variable" href="structripple_1_1PreclaimContext.html#a05d5cf6207c1127c25dcd7c3f763b9c5">view</a>, mptIssue, dest, <a class="code hl_enumvalue" href="namespaceripple.html#a4e070aef85986336795216a3e5336f8da41aee20744fc47f976626aa2ade7adcb">AuthType::WeakAuth</a>);</div>
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"> 326</span> ter != <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>)</div>
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno"> 327</span> <span class="keywordflow">return</span> ter;</div>
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno"> 328</span> </div>
@@ -429,7 +429,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38caf7928b1b6227d72394b43ef0309aede0">tecLOCKED</a>;</div>
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span> </div>
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span> <span class="comment">// If the mpt cannot be transferred, return tecNO_AUTH</span></div>
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span> <span class="keywordflow">if</span> (<span class="keyword">auto</span> <span class="keyword">const</span> ter = <a class="code hl_function" href="namespaceripple.html#a70a62aa7e380540ed36762d3c02492f1">canTransfer</a>(ctx.<a class="code hl_variable" href="structripple_1_1PreclaimContext.html#a05d5cf6207c1127c25dcd7c3f763b9c5">view</a>, mptIssue, account, dest);</div>
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span> <span class="keywordflow">if</span> (<span class="keyword">auto</span> <span class="keyword">const</span> ter = <a class="code hl_function" href="namespaceripple.html#a8a00fd8661aff4a0a94c7343a5158eca">canTransfer</a>(ctx.<a class="code hl_variable" href="structripple_1_1PreclaimContext.html#a05d5cf6207c1127c25dcd7c3f763b9c5">view</a>, mptIssue, account, dest);</div>
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"> 339</span> ter != <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>)</div>
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span> <span class="keywordflow">return</span> ter;</div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span> </div>
@@ -516,7 +516,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno"> 418</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38ca93e4e159f8759ea0948423c699e7cf77">tecINTERNAL</a>;</div>
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno"> 419</span> <span class="comment">// LCOV_EXCL_STOP</span></div>
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno"> 420</span> </div>
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno"> 421</span> <span class="keyword">auto</span> <span class="keyword">const</span> ter = <a class="code hl_function" href="namespaceripple.html#adbbbf76f04d55cd69f1740ed38330719">rippleCredit</a>(</div>
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno"> 421</span> <span class="keyword">auto</span> <span class="keyword">const</span> ter = <a class="code hl_function" href="namespaceripple.html#aa41db33791d7383170c31ad3910bcb33">rippleCredit</a>(</div>
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno"> 422</span> view,</div>
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno"> 423</span> sender,</div>
<div class="line"><a id="l00424" name="l00424"></a><span class="lineno"> 424</span> issuer,</div>
@@ -545,7 +545,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00445" name="l00445"></a><span class="lineno"> 445</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38ca93e4e159f8759ea0948423c699e7cf77">tecINTERNAL</a>;</div>
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno"> 446</span> <span class="comment">// LCOV_EXCL_STOP</span></div>
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno"> 447</span> </div>
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno"> 448</span> <span class="keyword">auto</span> <span class="keyword">const</span> ter = <a class="code hl_function" href="namespaceripple.html#a02de69480d9655456084663dc5d7c100">rippleLockEscrowMPT</a>(view, sender, amount, journal);</div>
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno"> 448</span> <span class="keyword">auto</span> <span class="keyword">const</span> ter = <a class="code hl_function" href="namespaceripple.html#a237c282d6ba4a87f8a2e9b4ce0fce730">rippleLockEscrowMPT</a>(view, sender, amount, journal);</div>
<div class="line"><a id="l00449" name="l00449"></a><span class="lineno"> 449</span> <span class="keywordflow">if</span> (ter != <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>)</div>
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno"> 450</span> <span class="keywordflow">return</span> ter; <span class="comment">// LCOV_EXCL_LINE</span></div>
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno"> 451</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>;</div>
@@ -647,7 +647,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00545" name="l00545"></a><span class="lineno"> 545</span> </div>
<div class="line"><a id="l00546" name="l00546"></a><span class="lineno"> 546</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_function" href="classripple_1_1ApplyContext.html#a44c249b16b2cedb1224a96592407558d">view</a>().<a class="code hl_function" href="classripple_1_1ReadView.html#aceb3d74acaae18b238022337e5f250ce">rules</a>().<a class="code hl_function" href="classripple_1_1Rules.html#a1a8388a2b9588aa9446ece92a88e0dd2">enabled</a>(featureTokenEscrow) &amp;&amp; !<a class="code hl_function" href="namespaceripple.html#a20d30277b9c78756b3d14493055a307c">isXRP</a>(amount))</div>
<div class="line"><a id="l00547" name="l00547"></a><span class="lineno"> 547</span> {</div>
<div class="line"><a id="l00548" name="l00548"></a><span class="lineno"> 548</span> <span class="keyword">auto</span> <span class="keyword">const</span> xferRate = <a class="code hl_function" href="namespaceripple.html#a40a2f551909e4b709699f6d41292d374">transferRate</a>(<a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_function" href="classripple_1_1ApplyContext.html#a44c249b16b2cedb1224a96592407558d">view</a>(), amount);</div>
<div class="line"><a id="l00548" name="l00548"></a><span class="lineno"> 548</span> <span class="keyword">auto</span> <span class="keyword">const</span> xferRate = <a class="code hl_function" href="namespaceripple.html#a9ad0749604cda5299e9af18bf08cb830">transferRate</a>(<a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_function" href="classripple_1_1ApplyContext.html#a44c249b16b2cedb1224a96592407558d">view</a>(), amount);</div>
<div class="line"><a id="l00549" name="l00549"></a><span class="lineno"> 549</span> <span class="keywordflow">if</span> (xferRate != <a class="code hl_variable" href="namespaceripple.html#afbcd0117839fb629a769c600a741f452">parityRate</a>)</div>
<div class="line"><a id="l00550" name="l00550"></a><span class="lineno"> 550</span> (*slep)[sfTransferRate] = xferRate.value;</div>
<div class="line"><a id="l00551" name="l00551"></a><span class="lineno"> 551</span> }</div>
@@ -706,7 +706,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00604" name="l00604"></a><span class="lineno"> 604</span> }</div>
<div class="line"><a id="l00605" name="l00605"></a><span class="lineno"> 605</span> </div>
<div class="line"><a id="l00606" name="l00606"></a><span class="lineno"> 606</span> <span class="comment">// increment owner count</span></div>
<div class="line"><a id="l00607" name="l00607"></a><span class="lineno"> 607</span> <a class="code hl_function" href="namespaceripple.html#a868a93d3fbb97e3ba20ba054df1db3ca">adjustOwnerCount</a>(<a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_function" href="classripple_1_1ApplyContext.html#a44c249b16b2cedb1224a96592407558d">view</a>(), sle, 1, <a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_variable" href="classripple_1_1ApplyContext.html#a7b78c8e924babce4d14359970f55ba02">journal</a>);</div>
<div class="line"><a id="l00607" name="l00607"></a><span class="lineno"> 607</span> <a class="code hl_function" href="namespaceripple.html#a4e760dff6bf16c74e7ffd43b240718b0">adjustOwnerCount</a>(<a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_function" href="classripple_1_1ApplyContext.html#a44c249b16b2cedb1224a96592407558d">view</a>(), sle, 1, <a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_variable" href="classripple_1_1ApplyContext.html#a7b78c8e924babce4d14359970f55ba02">journal</a>);</div>
<div class="line"><a id="l00608" name="l00608"></a><span class="lineno"> 608</span> <a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_function" href="classripple_1_1ApplyContext.html#a44c249b16b2cedb1224a96592407558d">view</a>().<a class="code hl_function" href="classripple_1_1ApplyView.html#a542437b9b59a623e755979acdc075af5">update</a>(sle);</div>
<div class="line"><a id="l00609" name="l00609"></a><span class="lineno"> 609</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>;</div>
<div class="line"><a id="l00610" name="l00610"></a><span class="lineno"> 610</span>}</div>
@@ -827,7 +827,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00717" name="l00717"></a><span class="lineno"> 717</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>;</div>
<div class="line"><a id="l00718" name="l00718"></a><span class="lineno"> 718</span> </div>
<div class="line"><a id="l00719" name="l00719"></a><span class="lineno"> 719</span> <span class="comment">// If the issuer has requireAuth set, check if the destination is authorized</span></div>
<div class="line"><a id="l00720" name="l00720"></a><span class="lineno"> 720</span> <span class="keywordflow">if</span> (<span class="keyword">auto</span> <span class="keyword">const</span> ter = <a class="code hl_function" href="namespaceripple.html#a16b466cc38b73c15e032e268db4c4de7">requireAuth</a>(ctx.<a class="code hl_variable" href="structripple_1_1PreclaimContext.html#a05d5cf6207c1127c25dcd7c3f763b9c5">view</a>, amount.<a class="code hl_function" href="classripple_1_1STAmount.html#acab76380a95d902071fd26ab3425bbe5">issue</a>(), dest);</div>
<div class="line"><a id="l00720" name="l00720"></a><span class="lineno"> 720</span> <span class="keywordflow">if</span> (<span class="keyword">auto</span> <span class="keyword">const</span> ter = <a class="code hl_function" href="namespaceripple.html#a742a903d83548c328113192595b69da8">requireAuth</a>(ctx.<a class="code hl_variable" href="structripple_1_1PreclaimContext.html#a05d5cf6207c1127c25dcd7c3f763b9c5">view</a>, amount.<a class="code hl_function" href="classripple_1_1STAmount.html#acab76380a95d902071fd26ab3425bbe5">issue</a>(), dest);</div>
<div class="line"><a id="l00721" name="l00721"></a><span class="lineno"> 721</span> ter != <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>)</div>
<div class="line"><a id="l00722" name="l00722"></a><span class="lineno"> 722</span> <span class="keywordflow">return</span> ter;</div>
<div class="line"><a id="l00723" name="l00723"></a><span class="lineno"> 723</span> </div>
@@ -863,7 +863,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00751" name="l00751"></a><span class="lineno"> 751</span> <span class="comment">// authorized</span></div>
<div class="line"><a id="l00752" name="l00752"></a><span class="lineno"> 752</span> <span class="keyword">auto</span> <span class="keyword">const</span>&amp; mptIssue = amount.<a class="code hl_function" href="classripple_1_1STAmount.html#a4faedb8cf3aa230868cc0ecd3b0da6d6">get</a>&lt;<a class="code hl_class" href="classripple_1_1MPTIssue.html">MPTIssue</a>&gt;();</div>
<div class="line"><a id="l00753" name="l00753"></a><span class="lineno"> 753</span> <span class="keywordflow">if</span> (<span class="keyword">auto</span> <span class="keyword">const</span> ter =</div>
<div class="line"><a id="l00754" name="l00754"></a><span class="lineno"> 754</span> <a class="code hl_function" href="namespaceripple.html#a16b466cc38b73c15e032e268db4c4de7">requireAuth</a>(ctx.<a class="code hl_variable" href="structripple_1_1PreclaimContext.html#a05d5cf6207c1127c25dcd7c3f763b9c5">view</a>, mptIssue, dest, <a class="code hl_enumvalue" href="namespaceripple.html#a4e070aef85986336795216a3e5336f8da41aee20744fc47f976626aa2ade7adcb">AuthType::WeakAuth</a>);</div>
<div class="line"><a id="l00754" name="l00754"></a><span class="lineno"> 754</span> <a class="code hl_function" href="namespaceripple.html#a742a903d83548c328113192595b69da8">requireAuth</a>(ctx.<a class="code hl_variable" href="structripple_1_1PreclaimContext.html#a05d5cf6207c1127c25dcd7c3f763b9c5">view</a>, mptIssue, dest, <a class="code hl_enumvalue" href="namespaceripple.html#a4e070aef85986336795216a3e5336f8da41aee20744fc47f976626aa2ade7adcb">AuthType::WeakAuth</a>);</div>
<div class="line"><a id="l00755" name="l00755"></a><span class="lineno"> 755</span> ter != <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>)</div>
<div class="line"><a id="l00756" name="l00756"></a><span class="lineno"> 756</span> <span class="keywordflow">return</span> ter;</div>
<div class="line"><a id="l00757" name="l00757"></a><span class="lineno"> 757</span> </div>
@@ -972,7 +972,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00856" name="l00856"></a><span class="lineno"> 856</span> initialBalance.<a class="code hl_function" href="classripple_1_1STAmount.html#a532cc28fd8b3d99c5de749e7e78fd08d">setIssuer</a>(<a class="code hl_function" href="namespaceripple.html#a065cda95aed9cb1d66fb81cad0867ef6">noAccount</a>());</div>
<div class="line"><a id="l00857" name="l00857"></a><span class="lineno"> 857</span> </div>
<div class="line"><a id="l00858" name="l00858"></a><span class="lineno"> 858</span> <span class="comment">// clang-format off</span></div>
<div class="line"><a id="l00859" name="l00859"></a><span class="lineno"> 859</span> <span class="keywordflow">if</span> (<a class="code hl_class" href="classripple_1_1TERSubset.html">TER</a> <span class="keyword">const</span> ter = <a class="code hl_function" href="namespaceripple.html#a9eb7f5da763beb91cd314311f2b23015">trustCreate</a>(</div>
<div class="line"><a id="l00859" name="l00859"></a><span class="lineno"> 859</span> <span class="keywordflow">if</span> (<a class="code hl_class" href="classripple_1_1TERSubset.html">TER</a> <span class="keyword">const</span> ter = <a class="code hl_function" href="namespaceripple.html#ac4aaba9a6c6ffa5523f026fd998b3eda">trustCreate</a>(</div>
<div class="line"><a id="l00860" name="l00860"></a><span class="lineno"> 860</span> view, <span class="comment">// payment sandbox</span></div>
<div class="line"><a id="l00861" name="l00861"></a><span class="lineno"> 861</span> recvLow, <span class="comment">// is dest low?</span></div>
<div class="line"><a id="l00862" name="l00862"></a><span class="lineno"> 862</span> issuer, <span class="comment">// source</span></div>
@@ -1000,7 +1000,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00884" name="l00884"></a><span class="lineno"> 884</span> <span class="keywordflow">if</span> (!view.<a class="code hl_function" href="classripple_1_1ReadView.html#ac1d377c35a8332d069b09be8f4008dec">exists</a>(trustLineKey) &amp;&amp; !receiverIssuer)</div>
<div class="line"><a id="l00885" name="l00885"></a><span class="lineno"> 885</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38cac480d742e7760c48047bb3ccc50a40ef">tecNO_LINE</a>;</div>
<div class="line"><a id="l00886" name="l00886"></a><span class="lineno"> 886</span> </div>
<div class="line"><a id="l00887" name="l00887"></a><span class="lineno"> 887</span> <span class="keyword">auto</span> <span class="keyword">const</span> xferRate = <a class="code hl_function" href="namespaceripple.html#a40a2f551909e4b709699f6d41292d374">transferRate</a>(view, amount);</div>
<div class="line"><a id="l00887" name="l00887"></a><span class="lineno"> 887</span> <span class="keyword">auto</span> <span class="keyword">const</span> xferRate = <a class="code hl_function" href="namespaceripple.html#a9ad0749604cda5299e9af18bf08cb830">transferRate</a>(view, amount);</div>
<div class="line"><a id="l00888" name="l00888"></a><span class="lineno"> 888</span> <span class="comment">// update if issuer rate is less than locked rate</span></div>
<div class="line"><a id="l00889" name="l00889"></a><span class="lineno"> 889</span> <span class="keywordflow">if</span> (xferRate &lt; lockedRate)</div>
<div class="line"><a id="l00890" name="l00890"></a><span class="lineno"> 890</span> lockedRate = xferRate;</div>
@@ -1055,7 +1055,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00939" name="l00939"></a><span class="lineno"> 939</span> <span class="keywordflow">if</span> (!receiverIssuer)</div>
<div class="line"><a id="l00940" name="l00940"></a><span class="lineno"> 940</span> {</div>
<div class="line"><a id="l00941" name="l00941"></a><span class="lineno"> 941</span> <span class="keyword">auto</span> <span class="keyword">const</span> ter =</div>
<div class="line"><a id="l00942" name="l00942"></a><span class="lineno"> 942</span> <a class="code hl_function" href="namespaceripple.html#adbbbf76f04d55cd69f1740ed38330719">rippleCredit</a>(view, issuer, receiver, finalAmt, <span class="keyword">true</span>, journal);</div>
<div class="line"><a id="l00942" name="l00942"></a><span class="lineno"> 942</span> <a class="code hl_function" href="namespaceripple.html#aa41db33791d7383170c31ad3910bcb33">rippleCredit</a>(view, issuer, receiver, finalAmt, <span class="keyword">true</span>, journal);</div>
<div class="line"><a id="l00943" name="l00943"></a><span class="lineno"> 943</span> <span class="keywordflow">if</span> (ter != <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>)</div>
<div class="line"><a id="l00944" name="l00944"></a><span class="lineno"> 944</span> <span class="keywordflow">return</span> ter; <span class="comment">// LCOV_EXCL_LINE</span></div>
<div class="line"><a id="l00945" name="l00945"></a><span class="lineno"> 945</span> }</div>
@@ -1100,14 +1100,14 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00982" name="l00982"></a><span class="lineno"> 982</span> }</div>
<div class="line"><a id="l00983" name="l00983"></a><span class="lineno"> 983</span> </div>
<div class="line"><a id="l00984" name="l00984"></a><span class="lineno"> 984</span> <span class="comment">// update owner count.</span></div>
<div class="line"><a id="l00985" name="l00985"></a><span class="lineno"> 985</span> <a class="code hl_function" href="namespaceripple.html#a868a93d3fbb97e3ba20ba054df1db3ca">adjustOwnerCount</a>(view, sleDest, 1, journal);</div>
<div class="line"><a id="l00985" name="l00985"></a><span class="lineno"> 985</span> <a class="code hl_function" href="namespaceripple.html#a4e760dff6bf16c74e7ffd43b240718b0">adjustOwnerCount</a>(view, sleDest, 1, journal);</div>
<div class="line"><a id="l00986" name="l00986"></a><span class="lineno"> 986</span> }</div>
<div class="line"><a id="l00987" name="l00987"></a><span class="lineno"> 987</span> </div>
<div class="line"><a id="l00988" name="l00988"></a><span class="lineno"> 988</span> <span class="keywordflow">if</span> (!view.<a class="code hl_function" href="classripple_1_1ReadView.html#ac1d377c35a8332d069b09be8f4008dec">exists</a>(<a class="code hl_function" href="namespaceripple_1_1keylet.html#a0b633d70e4945551f224eb8c94d76eef">keylet::mptoken</a>(issuanceKey.key, receiver)) &amp;&amp;</div>
<div class="line"><a id="l00989" name="l00989"></a><span class="lineno"> 989</span> !receiverIssuer)</div>
<div class="line"><a id="l00990" name="l00990"></a><span class="lineno"> 990</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38ca9af7057961bc54674f4a6c2dd8ed6ab9">tecNO_PERMISSION</a>;</div>
<div class="line"><a id="l00991" name="l00991"></a><span class="lineno"> 991</span> </div>
<div class="line"><a id="l00992" name="l00992"></a><span class="lineno"> 992</span> <span class="keyword">auto</span> <span class="keyword">const</span> xferRate = <a class="code hl_function" href="namespaceripple.html#a40a2f551909e4b709699f6d41292d374">transferRate</a>(view, amount);</div>
<div class="line"><a id="l00992" name="l00992"></a><span class="lineno"> 992</span> <span class="keyword">auto</span> <span class="keyword">const</span> xferRate = <a class="code hl_function" href="namespaceripple.html#a9ad0749604cda5299e9af18bf08cb830">transferRate</a>(view, amount);</div>
<div class="line"><a id="l00993" name="l00993"></a><span class="lineno"> 993</span> <span class="comment">// update if issuer rate is less than locked rate</span></div>
<div class="line"><a id="l00994" name="l00994"></a><span class="lineno"> 994</span> <span class="keywordflow">if</span> (xferRate &lt; lockedRate)</div>
<div class="line"><a id="l00995" name="l00995"></a><span class="lineno"> 995</span> lockedRate = xferRate;</div>
@@ -1130,7 +1130,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l01012" name="l01012"></a><span class="lineno"> 1012</span> <span class="comment">// compute balance to transfer</span></div>
<div class="line"><a id="l01013" name="l01013"></a><span class="lineno"> 1013</span> finalAmt = amount.<a class="code hl_function" href="classripple_1_1STAmount.html#aa40b0743a468d95eeaaf4914ea555866">value</a>() - xferFee;</div>
<div class="line"><a id="l01014" name="l01014"></a><span class="lineno"> 1014</span> }</div>
<div class="line"><a id="l01015" name="l01015"></a><span class="lineno"> 1015</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple.html#a2bf72b4d8923d178f4cb5ed49cdc1e24">rippleUnlockEscrowMPT</a>(</div>
<div class="line"><a id="l01015" name="l01015"></a><span class="lineno"> 1015</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple.html#a73d4bfdf753983b57fb690d6710cd2ff">rippleUnlockEscrowMPT</a>(</div>
<div class="line"><a id="l01016" name="l01016"></a><span class="lineno"> 1016</span> view,</div>
<div class="line"><a id="l01017" name="l01017"></a><span class="lineno"> 1017</span> sender,</div>
<div class="line"><a id="l01018" name="l01018"></a><span class="lineno"> 1018</span> receiver,</div>
@@ -1317,7 +1317,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l01197" name="l01197"></a><span class="lineno"> 1197</span> </div>
<div class="line"><a id="l01198" name="l01198"></a><span class="lineno"> 1198</span> <span class="comment">// Adjust source owner count</span></div>
<div class="line"><a id="l01199" name="l01199"></a><span class="lineno"> 1199</span> <span class="keyword">auto</span> <span class="keyword">const</span> sle = <a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_function" href="classripple_1_1ApplyContext.html#a44c249b16b2cedb1224a96592407558d">view</a>().<a class="code hl_function" href="classripple_1_1ApplyView.html#afa666aaa8eb0080d96f910f8a719291d">peek</a>(<a class="code hl_function" href="namespaceripple_1_1keylet.html#aa756e0f59b26042ed00a4d0ba6e96951">keylet::account</a>(account));</div>
<div class="line"><a id="l01200" name="l01200"></a><span class="lineno"> 1200</span> <a class="code hl_function" href="namespaceripple.html#a868a93d3fbb97e3ba20ba054df1db3ca">adjustOwnerCount</a>(<a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_function" href="classripple_1_1ApplyContext.html#a44c249b16b2cedb1224a96592407558d">view</a>(), sle, -1, <a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_variable" href="classripple_1_1ApplyContext.html#a7b78c8e924babce4d14359970f55ba02">journal</a>);</div>
<div class="line"><a id="l01200" name="l01200"></a><span class="lineno"> 1200</span> <a class="code hl_function" href="namespaceripple.html#a4e760dff6bf16c74e7ffd43b240718b0">adjustOwnerCount</a>(<a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_function" href="classripple_1_1ApplyContext.html#a44c249b16b2cedb1224a96592407558d">view</a>(), sle, -1, <a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_variable" href="classripple_1_1ApplyContext.html#a7b78c8e924babce4d14359970f55ba02">journal</a>);</div>
<div class="line"><a id="l01201" name="l01201"></a><span class="lineno"> 1201</span> <a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_function" href="classripple_1_1ApplyContext.html#a44c249b16b2cedb1224a96592407558d">view</a>().<a class="code hl_function" href="classripple_1_1ApplyView.html#a542437b9b59a623e755979acdc075af5">update</a>(sle);</div>
<div class="line"><a id="l01202" name="l01202"></a><span class="lineno"> 1202</span> </div>
<div class="line"><a id="l01203" name="l01203"></a><span class="lineno"> 1203</span> <span class="comment">// Remove escrow from ledger</span></div>
@@ -1363,7 +1363,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l01239" name="l01239"></a><span class="lineno"> 1239</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38ca93e4e159f8759ea0948423c699e7cf77">tecINTERNAL</a>; <span class="comment">// LCOV_EXCL_LINE</span></div>
<div class="line"><a id="l01240" name="l01240"></a><span class="lineno"> 1240</span> </div>
<div class="line"><a id="l01241" name="l01241"></a><span class="lineno"> 1241</span> <span class="comment">// If the issuer has requireAuth set, check if the account is authorized</span></div>
<div class="line"><a id="l01242" name="l01242"></a><span class="lineno"> 1242</span> <span class="keywordflow">if</span> (<span class="keyword">auto</span> <span class="keyword">const</span> ter = <a class="code hl_function" href="namespaceripple.html#a16b466cc38b73c15e032e268db4c4de7">requireAuth</a>(ctx.<a class="code hl_variable" href="structripple_1_1PreclaimContext.html#a05d5cf6207c1127c25dcd7c3f763b9c5">view</a>, amount.<a class="code hl_function" href="classripple_1_1STAmount.html#acab76380a95d902071fd26ab3425bbe5">issue</a>(), account);</div>
<div class="line"><a id="l01242" name="l01242"></a><span class="lineno"> 1242</span> <span class="keywordflow">if</span> (<span class="keyword">auto</span> <span class="keyword">const</span> ter = <a class="code hl_function" href="namespaceripple.html#a742a903d83548c328113192595b69da8">requireAuth</a>(ctx.<a class="code hl_variable" href="structripple_1_1PreclaimContext.html#a05d5cf6207c1127c25dcd7c3f763b9c5">view</a>, amount.<a class="code hl_function" href="classripple_1_1STAmount.html#acab76380a95d902071fd26ab3425bbe5">issue</a>(), account);</div>
<div class="line"><a id="l01243" name="l01243"></a><span class="lineno"> 1243</span> ter != <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>)</div>
<div class="line"><a id="l01244" name="l01244"></a><span class="lineno"> 1244</span> <span class="keywordflow">return</span> ter;</div>
<div class="line"><a id="l01245" name="l01245"></a><span class="lineno"> 1245</span> </div>
@@ -1395,7 +1395,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l01269" name="l01269"></a><span class="lineno"> 1269</span> <span class="comment">// authorized</span></div>
<div class="line"><a id="l01270" name="l01270"></a><span class="lineno"> 1270</span> <span class="keyword">auto</span> <span class="keyword">const</span>&amp; mptIssue = amount.<a class="code hl_function" href="classripple_1_1STAmount.html#a4faedb8cf3aa230868cc0ecd3b0da6d6">get</a>&lt;<a class="code hl_class" href="classripple_1_1MPTIssue.html">MPTIssue</a>&gt;();</div>
<div class="line"><a id="l01271" name="l01271"></a><span class="lineno"> 1271</span> <span class="keywordflow">if</span> (<span class="keyword">auto</span> <span class="keyword">const</span> ter =</div>
<div class="line"><a id="l01272" name="l01272"></a><span class="lineno"> 1272</span> <a class="code hl_function" href="namespaceripple.html#a16b466cc38b73c15e032e268db4c4de7">requireAuth</a>(ctx.<a class="code hl_variable" href="structripple_1_1PreclaimContext.html#a05d5cf6207c1127c25dcd7c3f763b9c5">view</a>, mptIssue, account, <a class="code hl_enumvalue" href="namespaceripple.html#a4e070aef85986336795216a3e5336f8da41aee20744fc47f976626aa2ade7adcb">AuthType::WeakAuth</a>);</div>
<div class="line"><a id="l01272" name="l01272"></a><span class="lineno"> 1272</span> <a class="code hl_function" href="namespaceripple.html#a742a903d83548c328113192595b69da8">requireAuth</a>(ctx.<a class="code hl_variable" href="structripple_1_1PreclaimContext.html#a05d5cf6207c1127c25dcd7c3f763b9c5">view</a>, mptIssue, account, <a class="code hl_enumvalue" href="namespaceripple.html#a4e070aef85986336795216a3e5336f8da41aee20744fc47f976626aa2ade7adcb">AuthType::WeakAuth</a>);</div>
<div class="line"><a id="l01273" name="l01273"></a><span class="lineno"> 1273</span> ter != <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>)</div>
<div class="line"><a id="l01274" name="l01274"></a><span class="lineno"> 1274</span> <span class="keywordflow">return</span> ter;</div>
<div class="line"><a id="l01275" name="l01275"></a><span class="lineno"> 1275</span> </div>
@@ -1538,7 +1538,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l01408" name="l01408"></a><span class="lineno"> 1408</span> }</div>
<div class="line"><a id="l01409" name="l01409"></a><span class="lineno"> 1409</span> }</div>
<div class="line"><a id="l01410" name="l01410"></a><span class="lineno"> 1410</span> </div>
<div class="line"><a id="l01411" name="l01411"></a><span class="lineno"> 1411</span> <a class="code hl_function" href="namespaceripple.html#a868a93d3fbb97e3ba20ba054df1db3ca">adjustOwnerCount</a>(<a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_function" href="classripple_1_1ApplyContext.html#a44c249b16b2cedb1224a96592407558d">view</a>(), sle, -1, <a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_variable" href="classripple_1_1ApplyContext.html#a7b78c8e924babce4d14359970f55ba02">journal</a>);</div>
<div class="line"><a id="l01411" name="l01411"></a><span class="lineno"> 1411</span> <a class="code hl_function" href="namespaceripple.html#a4e760dff6bf16c74e7ffd43b240718b0">adjustOwnerCount</a>(<a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_function" href="classripple_1_1ApplyContext.html#a44c249b16b2cedb1224a96592407558d">view</a>(), sle, -1, <a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_variable" href="classripple_1_1ApplyContext.html#a7b78c8e924babce4d14359970f55ba02">journal</a>);</div>
<div class="line"><a id="l01412" name="l01412"></a><span class="lineno"> 1412</span> <a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_function" href="classripple_1_1ApplyContext.html#a44c249b16b2cedb1224a96592407558d">view</a>().<a class="code hl_function" href="classripple_1_1ApplyView.html#a542437b9b59a623e755979acdc075af5">update</a>(sle);</div>
<div class="line"><a id="l01413" name="l01413"></a><span class="lineno"> 1413</span> </div>
<div class="line"><a id="l01414" name="l01414"></a><span class="lineno"> 1414</span> <span class="comment">// Remove escrow from ledger</span></div>
@@ -1558,11 +1558,11 @@ $(document).ready(function() { init_codefold(0); });
<div class="ttc" id="aclassripple_1_1ApplyContext_html_a6ec1f10e560afe30ed435c3f7eea715d"><div class="ttname"><a href="classripple_1_1ApplyContext.html#a6ec1f10e560afe30ed435c3f7eea715d">ripple::ApplyContext::app</a></div><div class="ttdeci">Application &amp; app</div><div class="ttdef"><b>Definition</b> <a href="ApplyContext_8h_source.html#l00071">ApplyContext.h:71</a></div></div>
<div class="ttc" id="aclassripple_1_1ApplyContext_html_a7b78c8e924babce4d14359970f55ba02"><div class="ttname"><a href="classripple_1_1ApplyContext.html#a7b78c8e924babce4d14359970f55ba02">ripple::ApplyContext::journal</a></div><div class="ttdeci">beast::Journal const journal</div><div class="ttdef"><b>Definition</b> <a href="ApplyContext_8h_source.html#l00075">ApplyContext.h:75</a></div></div>
<div class="ttc" id="aclassripple_1_1ApplyContext_html_a8c8757b3b1f88baef47b31ed4e9682d0"><div class="ttname"><a href="classripple_1_1ApplyContext.html#a8c8757b3b1f88baef47b31ed4e9682d0">ripple::ApplyContext::tx</a></div><div class="ttdeci">STTx const &amp; tx</div><div class="ttdef"><b>Definition</b> <a href="ApplyContext_8h_source.html#l00072">ApplyContext.h:72</a></div></div>
<div class="ttc" id="aclassripple_1_1ApplyView_html"><div class="ttname"><a href="classripple_1_1ApplyView.html">ripple::ApplyView</a></div><div class="ttdoc">Writeable view to a ledger, for applying a transaction.</div><div class="ttdef"><b>Definition</b> <a href="ApplyView_8h_source.html#l00143">ApplyView.h:144</a></div></div>
<div class="ttc" id="aclassripple_1_1ApplyView_html"><div class="ttname"><a href="classripple_1_1ApplyView.html">ripple::ApplyView</a></div><div class="ttdoc">Writeable view to a ledger, for applying a transaction.</div><div class="ttdef"><b>Definition</b> <a href="ApplyView_8h_source.html#l00142">ApplyView.h:143</a></div></div>
<div class="ttc" id="aclassripple_1_1ApplyView_html_a542437b9b59a623e755979acdc075af5"><div class="ttname"><a href="classripple_1_1ApplyView.html#a542437b9b59a623e755979acdc075af5">ripple::ApplyView::update</a></div><div class="ttdeci">virtual void update(std::shared_ptr&lt; SLE &gt; const &amp;sle)=0</div><div class="ttdoc">Indicate changes to a peeked SLE.</div></div>
<div class="ttc" id="aclassripple_1_1ApplyView_html_a5a06441ef4fdb9b7f6e51437ce4a959f"><div class="ttname"><a href="classripple_1_1ApplyView.html#a5a06441ef4fdb9b7f6e51437ce4a959f">ripple::ApplyView::dirRemove</a></div><div class="ttdeci">bool dirRemove(Keylet const &amp;directory, std::uint64_t page, uint256 const &amp;key, bool keepRoot)</div><div class="ttdoc">Remove an entry from a directory.</div><div class="ttdef"><b>Definition</b> <a href="ApplyView_8cpp_source.html#l00190">ApplyView.cpp:190</a></div></div>
<div class="ttc" id="aclassripple_1_1ApplyView_html_a5a06441ef4fdb9b7f6e51437ce4a959f"><div class="ttname"><a href="classripple_1_1ApplyView.html#a5a06441ef4fdb9b7f6e51437ce4a959f">ripple::ApplyView::dirRemove</a></div><div class="ttdeci">bool dirRemove(Keylet const &amp;directory, std::uint64_t page, uint256 const &amp;key, bool keepRoot)</div><div class="ttdoc">Remove an entry from a directory.</div><div class="ttdef"><b>Definition</b> <a href="ApplyView_8cpp_source.html#l00189">ApplyView.cpp:189</a></div></div>
<div class="ttc" id="aclassripple_1_1ApplyView_html_aa3c5b5cd9dca5f906be4b36640706e3c"><div class="ttname"><a href="classripple_1_1ApplyView.html#aa3c5b5cd9dca5f906be4b36640706e3c">ripple::ApplyView::insert</a></div><div class="ttdeci">virtual void insert(std::shared_ptr&lt; SLE &gt; const &amp;sle)=0</div><div class="ttdoc">Insert a new state SLE.</div></div>
<div class="ttc" id="aclassripple_1_1ApplyView_html_ae21b78e549dc6188382bd49e7d77d473"><div class="ttname"><a href="classripple_1_1ApplyView.html#ae21b78e549dc6188382bd49e7d77d473">ripple::ApplyView::dirInsert</a></div><div class="ttdeci">std::optional&lt; std::uint64_t &gt; dirInsert(Keylet const &amp;directory, uint256 const &amp;key, std::function&lt; void(std::shared_ptr&lt; SLE &gt; const &amp;)&gt; const &amp;describe)</div><div class="ttdoc">Insert an entry to a directory.</div><div class="ttdef"><b>Definition</b> <a href="ApplyView_8h_source.html#l00318">ApplyView.h:318</a></div></div>
<div class="ttc" id="aclassripple_1_1ApplyView_html_ae21b78e549dc6188382bd49e7d77d473"><div class="ttname"><a href="classripple_1_1ApplyView.html#ae21b78e549dc6188382bd49e7d77d473">ripple::ApplyView::dirInsert</a></div><div class="ttdeci">std::optional&lt; std::uint64_t &gt; dirInsert(Keylet const &amp;directory, uint256 const &amp;key, std::function&lt; void(std::shared_ptr&lt; SLE &gt; const &amp;)&gt; const &amp;describe)</div><div class="ttdoc">Insert an entry to a directory.</div><div class="ttdef"><b>Definition</b> <a href="ApplyView_8h_source.html#l00317">ApplyView.h:317</a></div></div>
<div class="ttc" id="aclassripple_1_1ApplyView_html_afa666aaa8eb0080d96f910f8a719291d"><div class="ttname"><a href="classripple_1_1ApplyView.html#afa666aaa8eb0080d96f910f8a719291d">ripple::ApplyView::peek</a></div><div class="ttdeci">virtual std::shared_ptr&lt; SLE &gt; peek(Keylet const &amp;k)=0</div><div class="ttdoc">Prepare to modify the SLE associated with key.</div></div>
<div class="ttc" id="aclassripple_1_1ApplyView_html_afda9c12acbda605becf20f54d45587d4"><div class="ttname"><a href="classripple_1_1ApplyView.html#afda9c12acbda605becf20f54d45587d4">ripple::ApplyView::erase</a></div><div class="ttdeci">virtual void erase(std::shared_ptr&lt; SLE &gt; const &amp;sle)=0</div><div class="ttdoc">Remove a peeked SLE.</div></div>
<div class="ttc" id="aclassripple_1_1Asset_html_aa57a6038f59dbd5dd7b31cd18bf0ab95"><div class="ttname"><a href="classripple_1_1Asset.html#aa57a6038f59dbd5dd7b31cd18bf0ab95">ripple::Asset::value</a></div><div class="ttdeci">constexpr value_type const &amp; value() const</div><div class="ttdef"><b>Definition</b> <a href="Asset_8h_source.html#l00156">Asset.h:156</a></div></div>
@@ -1584,7 +1584,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="ttc" id="aclassripple_1_1MPTIssue_html"><div class="ttname"><a href="classripple_1_1MPTIssue.html">ripple::MPTIssue</a></div><div class="ttdef"><b>Definition</b> <a href="MPTIssue_8h_source.html#l00032">MPTIssue.h:33</a></div></div>
<div class="ttc" id="aclassripple_1_1MPTIssue_html_ad6cbfdbce5a5d92e1536fc9835b54757"><div class="ttname"><a href="classripple_1_1MPTIssue.html#ad6cbfdbce5a5d92e1536fc9835b54757">ripple::MPTIssue::getMptID</a></div><div class="ttdeci">constexpr MPTID const &amp; getMptID() const</div><div class="ttdef"><b>Definition</b> <a href="MPTIssue_8h_source.html#l00046">MPTIssue.h:46</a></div></div>
<div class="ttc" id="aclassripple_1_1MPTokenAuthorize_html_a13eff8b9d809dc5cae617a931afa4e81"><div class="ttname"><a href="classripple_1_1MPTokenAuthorize.html#a13eff8b9d809dc5cae617a931afa4e81">ripple::MPTokenAuthorize::createMPToken</a></div><div class="ttdeci">static TER createMPToken(ApplyView &amp;view, MPTID const &amp;mptIssuanceID, AccountID const &amp;account, std::uint32_t const flags)</div><div class="ttdef"><b>Definition</b> <a href="MPTokenAuthorize_8cpp_source.html#l00153">MPTokenAuthorize.cpp:153</a></div></div>
<div class="ttc" id="aclassripple_1_1ReadView_html"><div class="ttname"><a href="classripple_1_1ReadView.html">ripple::ReadView</a></div><div class="ttdoc">A view into a ledger.</div><div class="ttdef"><b>Definition</b> <a href="ReadView_8h_source.html#l00051">ReadView.h:52</a></div></div>
<div class="ttc" id="aclassripple_1_1ReadView_html"><div class="ttname"><a href="classripple_1_1ReadView.html">ripple::ReadView</a></div><div class="ttdoc">A view into a ledger.</div><div class="ttdef"><b>Definition</b> <a href="ReadView_8h_source.html#l00050">ReadView.h:51</a></div></div>
<div class="ttc" id="aclassripple_1_1ReadView_html_a0583a050ea7799ba331f6222a905f304"><div class="ttname"><a href="classripple_1_1ReadView.html#a0583a050ea7799ba331f6222a905f304">ripple::ReadView::read</a></div><div class="ttdeci">virtual std::shared_ptr&lt; SLE const &gt; read(Keylet const &amp;k) const =0</div><div class="ttdoc">Return the state item associated with a key.</div></div>
<div class="ttc" id="aclassripple_1_1ReadView_html_a9944284a00f671a4a9d9e00f9b28b258"><div class="ttname"><a href="classripple_1_1ReadView.html#a9944284a00f671a4a9d9e00f9b28b258">ripple::ReadView::fees</a></div><div class="ttdeci">virtual Fees const &amp; fees() const =0</div><div class="ttdoc">Returns the fees for the base ledger.</div></div>
<div class="ttc" id="aclassripple_1_1ReadView_html_ac1d377c35a8332d069b09be8f4008dec"><div class="ttname"><a href="classripple_1_1ReadView.html#ac1d377c35a8332d069b09be8f4008dec">ripple::ReadView::exists</a></div><div class="ttdeci">virtual bool exists(Keylet const &amp;k) const =0</div><div class="ttdoc">Determine if a state item exists.</div></div>
@@ -1616,15 +1616,15 @@ $(document).ready(function() { init_codefold(0); });
<div class="ttc" id="aclassripple_1_1Transactor_html_abb2f6f5d7fd8c663c5df76b6fcba2c49"><div class="ttname"><a href="classripple_1_1Transactor.html#abb2f6f5d7fd8c663c5df76b6fcba2c49">ripple::Transactor::mPriorBalance</a></div><div class="ttdeci">XRPAmount mPriorBalance</div><div class="ttdef"><b>Definition</b> <a href="Transactor_8h_source.html#l00144">Transactor.h:144</a></div></div>
<div class="ttc" id="aclassripple_1_1Transactor_html_ae20c19d8ecec32cec52399081e76cc45"><div class="ttname"><a href="classripple_1_1Transactor.html#ae20c19d8ecec32cec52399081e76cc45">ripple::Transactor::mSourceBalance</a></div><div class="ttdeci">XRPAmount mSourceBalance</div><div class="ttdef"><b>Definition</b> <a href="Transactor_8h_source.html#l00145">Transactor.h:145</a></div></div>
<div class="ttc" id="aclassripple_1_1Transactor_html_aef4ef0a89b5595b2a688b89e4ecef833"><div class="ttname"><a href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ripple::Transactor::ctx_</a></div><div class="ttdeci">ApplyContext &amp; ctx_</div><div class="ttdef"><b>Definition</b> <a href="Transactor_8h_source.html#l00140">Transactor.h:140</a></div></div>
<div class="ttc" id="aclassripple_1_1TxConsequences_html"><div class="ttname"><a href="classripple_1_1TxConsequences.html">ripple::TxConsequences</a></div><div class="ttdoc">Class describing the consequences to the account of applying a transaction if the transaction consume...</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00058">applySteps.h:59</a></div></div>
<div class="ttc" id="aclassripple_1_1TxConsequences_html"><div class="ttname"><a href="classripple_1_1TxConsequences.html">ripple::TxConsequences</a></div><div class="ttdoc">Class describing the consequences to the account of applying a transaction if the transaction consume...</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00057">applySteps.h:58</a></div></div>
<div class="ttc" id="aclassripple_1_1XRPAmount_html"><div class="ttname"><a href="classripple_1_1XRPAmount.html">ripple::XRPAmount</a></div><div class="ttdef"><b>Definition</b> <a href="XRPAmount_8h_source.html#l00039">XRPAmount.h:43</a></div></div>
<div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint&lt; 160, detail::AccountIDTag &gt;</a></div></div>
<div class="ttc" id="aerror_code_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/error/error_code.html">std::error_code</a></div></div>
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div></div>
<div class="ttc" id="ais_same_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/is_same.html">std::is_same_v</a></div><div class="ttdeci">T is_same_v</div></div>
<div class="ttc" id="amessage_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/error/error_code/message.html">std::error_code::message</a></div><div class="ttdeci">T message(T... args)</div></div>
<div class="ttc" id="anamespaceripple_1_1credentials_html_a1d592cacac7989c70022d454fc6267ab"><div class="ttname"><a href="namespaceripple_1_1credentials.html#a1d592cacac7989c70022d454fc6267ab">ripple::credentials::checkFields</a></div><div class="ttdeci">NotTEC checkFields(STTx const &amp;tx, beast::Journal j)</div><div class="ttdef"><b>Definition</b> <a href="CredentialHelpers_8cpp_source.html#l00123">CredentialHelpers.cpp:123</a></div></div>
<div class="ttc" id="anamespaceripple_1_1credentials_html_ab0cd6a3f76fa9f09c5f1c2d6fffc11e0"><div class="ttname"><a href="namespaceripple_1_1credentials.html#ab0cd6a3f76fa9f09c5f1c2d6fffc11e0">ripple::credentials::valid</a></div><div class="ttdeci">TER valid(STTx const &amp;tx, ReadView const &amp;view, AccountID const &amp;src, beast::Journal j)</div><div class="ttdef"><b>Definition</b> <a href="CredentialHelpers_8cpp_source.html#l00153">CredentialHelpers.cpp:153</a></div></div>
<div class="ttc" id="anamespaceripple_1_1credentials_html_a1d592cacac7989c70022d454fc6267ab"><div class="ttname"><a href="namespaceripple_1_1credentials.html#a1d592cacac7989c70022d454fc6267ab">ripple::credentials::checkFields</a></div><div class="ttdeci">NotTEC checkFields(STTx const &amp;tx, beast::Journal j)</div><div class="ttdef"><b>Definition</b> <a href="CredentialHelpers_8cpp_source.html#l00122">CredentialHelpers.cpp:122</a></div></div>
<div class="ttc" id="anamespaceripple_1_1credentials_html_ab0cd6a3f76fa9f09c5f1c2d6fffc11e0"><div class="ttname"><a href="namespaceripple_1_1credentials.html#ab0cd6a3f76fa9f09c5f1c2d6fffc11e0">ripple::credentials::valid</a></div><div class="ttdeci">TER valid(STTx const &amp;tx, ReadView const &amp;view, AccountID const &amp;src, beast::Journal j)</div><div class="ttdef"><b>Definition</b> <a href="CredentialHelpers_8cpp_source.html#l00152">CredentialHelpers.cpp:152</a></div></div>
<div class="ttc" id="anamespaceripple_1_1cryptoconditions_html"><div class="ttname"><a href="namespaceripple_1_1cryptoconditions.html">ripple::cryptoconditions</a></div><div class="ttdef"><b>Definition</b> <a href="PreimageSha256__test_8cpp_source.html#l00036">PreimageSha256_test.cpp:36</a></div></div>
<div class="ttc" id="anamespaceripple_1_1keylet_html_a0b633d70e4945551f224eb8c94d76eef"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a0b633d70e4945551f224eb8c94d76eef">ripple::keylet::mptoken</a></div><div class="ttdeci">Keylet mptoken(MPTID const &amp;issuanceID, AccountID const &amp;holder) noexcept</div><div class="ttdef"><b>Definition</b> <a href="Indexes_8cpp_source.html#l00540">Indexes.cpp:540</a></div></div>
<div class="ttc" id="anamespaceripple_1_1keylet_html_a55890af7192834c632299746ba300be8"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a55890af7192834c632299746ba300be8">ripple::keylet::line</a></div><div class="ttdeci">Keylet line(AccountID const &amp;id0, AccountID const &amp;id1, Currency const &amp;currency) noexcept</div><div class="ttdoc">The index of a trust line for a given currency.</div><div class="ttdef"><b>Definition</b> <a href="Indexes_8cpp_source.html#l00244">Indexes.cpp:244</a></div></div>
@@ -1633,20 +1633,17 @@ $(document).ready(function() { init_codefold(0); });
<div class="ttc" id="anamespaceripple_1_1keylet_html_ab82de2a0ed5a2dde37fcb992a0b36356"><div class="ttname"><a href="namespaceripple_1_1keylet.html#ab82de2a0ed5a2dde37fcb992a0b36356">ripple::keylet::escrow</a></div><div class="ttdeci">Keylet escrow(AccountID const &amp;src, std::uint32_t seq) noexcept</div><div class="ttdoc">An escrow entry.</div><div class="ttdef"><b>Definition</b> <a href="Indexes_8cpp_source.html#l00389">Indexes.cpp:389</a></div></div>
<div class="ttc" id="anamespaceripple_1_1keylet_html_acd4d51d467fc6e75745baf179a7965ef"><div class="ttname"><a href="namespaceripple_1_1keylet.html#acd4d51d467fc6e75745baf179a7965ef">ripple::keylet::ownerDir</a></div><div class="ttdeci">Keylet ownerDir(AccountID const &amp;id) noexcept</div><div class="ttdoc">The root page of an account's directory.</div><div class="ttdef"><b>Definition</b> <a href="Indexes_8cpp_source.html#l00374">Indexes.cpp:374</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#l00025">algorithm.h:25</a></div></div>
<div class="ttc" id="anamespaceripple_html_a02de69480d9655456084663dc5d7c100"><div class="ttname"><a href="namespaceripple.html#a02de69480d9655456084663dc5d7c100">ripple::rippleLockEscrowMPT</a></div><div class="ttdeci">TER rippleLockEscrowMPT(ApplyView &amp;view, AccountID const &amp;sender, STAmount const &amp;amount, beast::Journal j)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l02908">View.cpp:2908</a></div></div>
<div class="ttc" id="anamespaceripple_html_a065cda95aed9cb1d66fb81cad0867ef6"><div class="ttname"><a href="namespaceripple.html#a065cda95aed9cb1d66fb81cad0867ef6">ripple::noAccount</a></div><div class="ttdeci">AccountID const &amp; noAccount()</div><div class="ttdoc">A placeholder for empty accounts.</div><div class="ttdef"><b>Definition</b> <a href="AccountID_8cpp_source.html#l00185">AccountID.cpp:185</a></div></div>
<div class="ttc" id="anamespaceripple_html_a0d1c3829928b3d7c557884076e1df68f"><div class="ttname"><a href="namespaceripple.html#a0d1c3829928b3d7c557884076e1df68f">ripple::escrowFinishPreclaimHelper&lt; Issue &gt;</a></div><div class="ttdeci">TER escrowFinishPreclaimHelper&lt; Issue &gt;(PreclaimContext const &amp;ctx, AccountID const &amp;dest, STAmount const &amp;amount)</div><div class="ttdef"><b>Definition</b> <a href="Escrow_8cpp_source.html#l00708">Escrow.cpp:709</a></div></div>
<div class="ttc" id="anamespaceripple_html_a0d78fe5b5eff36774b5be525cbcc3972"><div class="ttname"><a href="namespaceripple.html#a0d78fe5b5eff36774b5be525cbcc3972">ripple::badCurrency</a></div><div class="ttdeci">Currency const &amp; badCurrency()</div><div class="ttdoc">We deliberately disallow the currency that looks like &quot;XRP&quot; because too many people were using it ins...</div><div class="ttdef"><b>Definition</b> <a href="UintTypes_8cpp_source.html#l00133">UintTypes.cpp:133</a></div></div>
<div class="ttc" id="anamespaceripple_html_a16b466cc38b73c15e032e268db4c4de7"><div class="ttname"><a href="namespaceripple.html#a16b466cc38b73c15e032e268db4c4de7">ripple::requireAuth</a></div><div class="ttdeci">TER requireAuth(ReadView const &amp;view, Issue const &amp;issue, AccountID const &amp;account, AuthType authType)</div><div class="ttdoc">Check if the account lacks required authorization.</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l02404">View.cpp:2404</a></div></div>
<div class="ttc" id="anamespaceripple_html_a17a9a9b903b66e49f5413d82ce79f085a91e3c4f8089025c7ecf66dd62b822d90"><div class="ttname"><a href="namespaceripple.html#a17a9a9b903b66e49f5413d82ce79f085a91e3c4f8089025c7ecf66dd62b822d90">ripple::fhIGNORE_FREEZE</a></div><div class="ttdeci">@ fhIGNORE_FREEZE</div><div class="ttdef"><b>Definition</b> <a href="View_8h_source.html#l00078">View.h:78</a></div></div>
<div class="ttc" id="anamespaceripple_html_a17a9a9b903b66e49f5413d82ce79f085a91e3c4f8089025c7ecf66dd62b822d90"><div class="ttname"><a href="namespaceripple.html#a17a9a9b903b66e49f5413d82ce79f085a91e3c4f8089025c7ecf66dd62b822d90">ripple::fhIGNORE_FREEZE</a></div><div class="ttdeci">@ fhIGNORE_FREEZE</div><div class="ttdef"><b>Definition</b> <a href="View_8h_source.html#l00077">View.h:77</a></div></div>
<div class="ttc" id="anamespaceripple_html_a1cb5d5d6c3e75be924e1b9f540d17497"><div class="ttname"><a href="namespaceripple.html#a1cb5d5d6c3e75be924e1b9f540d17497">ripple::escrowCreatePreclaimHelper&lt; MPTIssue &gt;</a></div><div class="ttdeci">TER escrowCreatePreclaimHelper&lt; MPTIssue &gt;(PreclaimContext const &amp;ctx, AccountID const &amp;account, AccountID const &amp;dest, STAmount const &amp;amount)</div><div class="ttdef"><b>Definition</b> <a href="Escrow_8cpp_source.html#l00282">Escrow.cpp:283</a></div></div>
<div class="ttc" id="anamespaceripple_html_a20d30277b9c78756b3d14493055a307c"><div class="ttname"><a href="namespaceripple.html#a20d30277b9c78756b3d14493055a307c">ripple::isXRP</a></div><div class="ttdeci">bool isXRP(AccountID const &amp;c)</div><div class="ttdef"><b>Definition</b> <a href="AccountID_8h_source.html#l00090">AccountID.h:90</a></div></div>
<div class="ttc" id="anamespaceripple_html_a2bf72b4d8923d178f4cb5ed49cdc1e24"><div class="ttname"><a href="namespaceripple.html#a2bf72b4d8923d178f4cb5ed49cdc1e24">ripple::rippleUnlockEscrowMPT</a></div><div class="ttdeci">TER rippleUnlockEscrowMPT(ApplyView &amp;view, AccountID const &amp;sender, AccountID const &amp;receiver, STAmount const &amp;netAmount, STAmount const &amp;grossAmount, beast::Journal j)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l03005">View.cpp:3005</a></div></div>
<div class="ttc" id="anamespaceripple_html_a237c282d6ba4a87f8a2e9b4ce0fce730"><div class="ttname"><a href="namespaceripple.html#a237c282d6ba4a87f8a2e9b4ce0fce730">ripple::rippleLockEscrowMPT</a></div><div class="ttdeci">TER rippleLockEscrowMPT(ApplyView &amp;view, AccountID const &amp;uGrantorID, STAmount const &amp;saAmount, beast::Journal j)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l02907">View.cpp:2907</a></div></div>
<div class="ttc" id="anamespaceripple_html_a34c4fc98d59a15e57df010ebd9d929c3"><div class="ttname"><a href="namespaceripple.html#a34c4fc98d59a15e57df010ebd9d929c3">ripple::escrowFinishPreclaimHelper</a></div><div class="ttdeci">static TER escrowFinishPreclaimHelper(PreclaimContext const &amp;ctx, AccountID const &amp;dest, STAmount const &amp;amount)</div></div>
<div class="ttc" id="anamespaceripple_html_a3c48650a4989da7655d4bedcbf6acffe"><div class="ttname"><a href="namespaceripple.html#a3c48650a4989da7655d4bedcbf6acffe">ripple::canAdd</a></div><div class="ttdeci">bool canAdd(STAmount const &amp;amt1, STAmount const &amp;amt2)</div><div class="ttdoc">Safely checks if two STAmount values can be added without overflow, underflow, or precision loss.</div><div class="ttdef"><b>Definition</b> <a href="STAmount_8cpp_source.html#l00528">STAmount.cpp:528</a></div></div>
<div class="ttc" id="anamespaceripple_html_a400ee7721cfbb753223ff267d31e4ef6"><div class="ttname"><a href="namespaceripple.html#a400ee7721cfbb753223ff267d31e4ef6">ripple::escrowLockApplyHelper&lt; Issue &gt;</a></div><div class="ttdeci">TER escrowLockApplyHelper&lt; Issue &gt;(ApplyView &amp;view, AccountID const &amp;issuer, AccountID const &amp;sender, STAmount const &amp;amount, beast::Journal journal)</div><div class="ttdef"><b>Definition</b> <a href="Escrow_8cpp_source.html#l00407">Escrow.cpp:408</a></div></div>
<div class="ttc" id="anamespaceripple_html_a404d9916466863a4ea76e0ec0b79d730"><div class="ttname"><a href="namespaceripple.html#a404d9916466863a4ea76e0ec0b79d730">ripple::isDeepFrozen</a></div><div class="ttdeci">bool isDeepFrozen(ReadView const &amp;view, AccountID const &amp;account, Currency const &amp;currency, AccountID const &amp;issuer)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l00348">View.cpp:348</a></div></div>
<div class="ttc" id="anamespaceripple_html_a40a2f551909e4b709699f6d41292d374"><div class="ttname"><a href="namespaceripple.html#a40a2f551909e4b709699f6d41292d374">ripple::transferRate</a></div><div class="ttdeci">Rate transferRate(ReadView const &amp;view, AccountID const &amp;issuer)</div><div class="ttdoc">Returns IOU issuer transfer fee as Rate.</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l00760">View.cpp:760</a></div></div>
<div class="ttc" id="anamespaceripple_html_a404d9916466863a4ea76e0ec0b79d730"><div class="ttname"><a href="namespaceripple.html#a404d9916466863a4ea76e0ec0b79d730">ripple::isDeepFrozen</a></div><div class="ttdeci">bool isDeepFrozen(ReadView const &amp;view, AccountID const &amp;account, Currency const &amp;currency, AccountID const &amp;issuer)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l00347">View.cpp:347</a></div></div>
<div class="ttc" id="anamespaceripple_html_a4a9c7b33fef9015d6406302ef80b63c5a2243e81f83c4191286c8c46bdd86d6f3"><div class="ttname"><a href="namespaceripple.html#a4a9c7b33fef9015d6406302ef80b63c5a2243e81f83c4191286c8c46bdd86d6f3">ripple::lsfRequireDestTag</a></div><div class="ttdeci">@ lsfRequireDestTag</div><div class="ttdef"><b>Definition</b> <a href="LedgerFormats_8h_source.html#l00127">LedgerFormats.h:126</a></div></div>
<div class="ttc" id="anamespaceripple_html_a4a9c7b33fef9015d6406302ef80b63c5a234b052db9a883d94d2933386562a41f"><div class="ttname"><a href="namespaceripple.html#a4a9c7b33fef9015d6406302ef80b63c5a234b052db9a883d94d2933386562a41f">ripple::lsfMPTCanEscrow</a></div><div class="ttdeci">@ lsfMPTCanEscrow</div><div class="ttdef"><b>Definition</b> <a href="LedgerFormats_8h_source.html#l00186">LedgerFormats.h:186</a></div></div>
<div class="ttc" id="anamespaceripple_html_a4a9c7b33fef9015d6406302ef80b63c5a3de81b62b486203f6b8e4f2cd0832ae1"><div class="ttname"><a href="namespaceripple.html#a4a9c7b33fef9015d6406302ef80b63c5a3de81b62b486203f6b8e4f2cd0832ae1">ripple::lsfDefaultRipple</a></div><div class="ttdeci">@ lsfDefaultRipple</div><div class="ttdef"><b>Definition</b> <a href="LedgerFormats_8h_source.html#l00135">LedgerFormats.h:134</a></div></div>
@@ -1654,14 +1651,16 @@ $(document).ready(function() { init_codefold(0); });
<div class="ttc" id="anamespaceripple_html_a4a9c7b33fef9015d6406302ef80b63c5af697f2c85dc33c5831e82b69c6a4e7e9"><div class="ttname"><a href="namespaceripple.html#a4a9c7b33fef9015d6406302ef80b63c5af697f2c85dc33c5831e82b69c6a4e7e9">ripple::lsfDisallowXRP</a></div><div class="ttdeci">@ lsfDisallowXRP</div><div class="ttdef"><b>Definition</b> <a href="LedgerFormats_8h_source.html#l00130">LedgerFormats.h:130</a></div></div>
<div class="ttc" id="anamespaceripple_html_a4ae20ca134a8a4c87c870d2db593a990"><div class="ttname"><a href="namespaceripple.html#a4ae20ca134a8a4c87c870d2db593a990">ripple::escrowCancelPreclaimHelper&lt; MPTIssue &gt;</a></div><div class="ttdeci">TER escrowCancelPreclaimHelper&lt; MPTIssue &gt;(PreclaimContext const &amp;ctx, AccountID const &amp;account, STAmount const &amp;amount)</div><div class="ttdef"><b>Definition</b> <a href="Escrow_8cpp_source.html#l01250">Escrow.cpp:1251</a></div></div>
<div class="ttc" id="anamespaceripple_html_a4e070aef85986336795216a3e5336f8da41aee20744fc47f976626aa2ade7adcb"><div class="ttname"><a href="namespaceripple.html#a4e070aef85986336795216a3e5336f8da41aee20744fc47f976626aa2ade7adcb">ripple::AuthType::WeakAuth</a></div><div class="ttdeci">@ WeakAuth</div></div>
<div class="ttc" id="anamespaceripple_html_a4e760dff6bf16c74e7ffd43b240718b0"><div class="ttname"><a href="namespaceripple.html#a4e760dff6bf16c74e7ffd43b240718b0">ripple::adjustOwnerCount</a></div><div class="ttdeci">void adjustOwnerCount(ApplyView &amp;view, std::shared_ptr&lt; SLE &gt; const &amp;sle, std::int32_t amount, beast::Journal j)</div><div class="ttdoc">Adjust the owner count up or down.</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l01029">View.cpp:1029</a></div></div>
<div class="ttc" id="anamespaceripple_html_a5871c84748a87aaae89702f066251635"><div class="ttname"><a href="namespaceripple.html#a5871c84748a87aaae89702f066251635">ripple::escrowLockApplyHelper</a></div><div class="ttdeci">static TER escrowLockApplyHelper(ApplyView &amp;view, AccountID const &amp;issuer, AccountID const &amp;sender, STAmount const &amp;amount, beast::Journal journal)</div></div>
<div class="ttc" id="anamespaceripple_html_a5b188f8f22827b2e24b506ef852ffd69aa484bc6f8679c4ff282784792c4892b2"><div class="ttname"><a href="namespaceripple.html#a5b188f8f22827b2e24b506ef852ffd69aa484bc6f8679c4ff282784792c4892b2">ripple::ahIGNORE_AUTH</a></div><div class="ttdeci">@ ahIGNORE_AUTH</div><div class="ttdef"><b>Definition</b> <a href="View_8h_source.html#l00081">View.h:81</a></div></div>
<div class="ttc" id="anamespaceripple_html_a5b498122d9b8c1acbeb9fe459faac22b"><div class="ttname"><a href="namespaceripple.html#a5b498122d9b8c1acbeb9fe459faac22b">ripple::describeOwnerDir</a></div><div class="ttdeci">std::function&lt; void(SLE::ref)&gt; describeOwnerDir(AccountID const &amp;account)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l01048">View.cpp:1048</a></div></div>
<div class="ttc" id="anamespaceripple_html_a5b188f8f22827b2e24b506ef852ffd69aa484bc6f8679c4ff282784792c4892b2"><div class="ttname"><a href="namespaceripple.html#a5b188f8f22827b2e24b506ef852ffd69aa484bc6f8679c4ff282784792c4892b2">ripple::ahIGNORE_AUTH</a></div><div class="ttdeci">@ ahIGNORE_AUTH</div><div class="ttdef"><b>Definition</b> <a href="View_8h_source.html#l00080">View.h:80</a></div></div>
<div class="ttc" id="anamespaceripple_html_a5b498122d9b8c1acbeb9fe459faac22b"><div class="ttname"><a href="namespaceripple.html#a5b498122d9b8c1acbeb9fe459faac22b">ripple::describeOwnerDir</a></div><div class="ttdeci">std::function&lt; void(SLE::ref)&gt; describeOwnerDir(AccountID const &amp;account)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l01047">View.cpp:1047</a></div></div>
<div class="ttc" id="anamespaceripple_html_a5dfb437ade69624474bbe4125ceb791a"><div class="ttname"><a href="namespaceripple.html#a5dfb437ade69624474bbe4125ceb791a">ripple::preflight1</a></div><div class="ttdeci">NotTEC preflight1(PreflightContext const &amp;ctx)</div><div class="ttdoc">Performs early sanity checks on the account and fee fields.</div><div class="ttdef"><b>Definition</b> <a href="Transactor_8cpp_source.html#l00091">Transactor.cpp:91</a></div></div>
<div class="ttc" id="anamespaceripple_html_a5e49d5cb12f80e98c70ac0dea63764e5"><div class="ttname"><a href="namespaceripple.html#a5e49d5cb12f80e98c70ac0dea63764e5">ripple::divideRound</a></div><div class="ttdeci">STAmount divideRound(STAmount const &amp;amount, Rate const &amp;rate, bool roundUp)</div><div class="ttdef"><b>Definition</b> <a href="Rate2_8cpp_source.html#l00104">Rate2.cpp:104</a></div></div>
<div class="ttc" id="anamespaceripple_html_a6768a5eb8529b59617dee871a98cfd44"><div class="ttname"><a href="namespaceripple.html#a6768a5eb8529b59617dee871a98cfd44">ripple::verifyDepositPreauth</a></div><div class="ttdeci">TER verifyDepositPreauth(STTx const &amp;tx, ApplyView &amp;view, AccountID const &amp;src, AccountID const &amp;dst, std::shared_ptr&lt; SLE &gt; const &amp;sleDst, beast::Journal j)</div><div class="ttdef"><b>Definition</b> <a href="CredentialHelpers_8cpp_source.html#l00358">CredentialHelpers.cpp:358</a></div></div>
<div class="ttc" id="anamespaceripple_html_a6cb89b79bc073abda42953c323d36cda"><div class="ttname"><a href="namespaceripple.html#a6cb89b79bc073abda42953c323d36cda">ripple::isFrozen</a></div><div class="ttdeci">bool isFrozen(ReadView const &amp;view, AccountID const &amp;account, Currency const &amp;currency, AccountID const &amp;issuer)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l00248">View.cpp:248</a></div></div>
<div class="ttc" id="anamespaceripple_html_a70a62aa7e380540ed36762d3c02492f1"><div class="ttname"><a href="namespaceripple.html#a70a62aa7e380540ed36762d3c02492f1">ripple::canTransfer</a></div><div class="ttdeci">TER canTransfer(ReadView const &amp;view, MPTIssue const &amp;mptIssue, AccountID const &amp;from, AccountID const &amp;to)</div><div class="ttdoc">Check if the destination account is allowed to receive MPT.</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l02622">View.cpp:2622</a></div></div>
<div class="ttc" id="anamespaceripple_html_a6768a5eb8529b59617dee871a98cfd44"><div class="ttname"><a href="namespaceripple.html#a6768a5eb8529b59617dee871a98cfd44">ripple::verifyDepositPreauth</a></div><div class="ttdeci">TER verifyDepositPreauth(STTx const &amp;tx, ApplyView &amp;view, AccountID const &amp;src, AccountID const &amp;dst, std::shared_ptr&lt; SLE &gt; const &amp;sleDst, beast::Journal j)</div><div class="ttdef"><b>Definition</b> <a href="CredentialHelpers_8cpp_source.html#l00357">CredentialHelpers.cpp:357</a></div></div>
<div class="ttc" id="anamespaceripple_html_a6cb89b79bc073abda42953c323d36cda"><div class="ttname"><a href="namespaceripple.html#a6cb89b79bc073abda42953c323d36cda">ripple::isFrozen</a></div><div class="ttdeci">bool isFrozen(ReadView const &amp;view, AccountID const &amp;account, Currency const &amp;currency, AccountID const &amp;issuer)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l00247">View.cpp:247</a></div></div>
<div class="ttc" id="anamespaceripple_html_a73d4bfdf753983b57fb690d6710cd2ff"><div class="ttname"><a href="namespaceripple.html#a73d4bfdf753983b57fb690d6710cd2ff">ripple::rippleUnlockEscrowMPT</a></div><div class="ttdeci">TER rippleUnlockEscrowMPT(ApplyView &amp;view, AccountID const &amp;uGrantorID, AccountID const &amp;uGranteeID, STAmount const &amp;netAmount, STAmount const &amp;grossAmount, beast::Journal j)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l03004">View.cpp:3004</a></div></div>
<div class="ttc" id="anamespaceripple_html_a742a903d83548c328113192595b69da8"><div class="ttname"><a href="namespaceripple.html#a742a903d83548c328113192595b69da8">ripple::requireAuth</a></div><div class="ttdeci">TER requireAuth(ReadView const &amp;view, Issue const &amp;issue, AccountID const &amp;account, AuthType authType=AuthType::Legacy)</div><div class="ttdoc">Check if the account lacks required authorization.</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l02403">View.cpp:2403</a></div></div>
<div class="ttc" id="anamespaceripple_html_a74fe9492132be2c47b97e7bb4de18cb8"><div class="ttname"><a href="namespaceripple.html#a74fe9492132be2c47b97e7bb4de18cb8">ripple::SF_CF_VALID</a></div><div class="ttdeci">constexpr HashRouterFlags SF_CF_VALID</div><div class="ttdef"><b>Definition</b> <a href="Escrow_8cpp_source.html#l00043">Escrow.cpp:43</a></div></div>
<div class="ttc" id="anamespaceripple_html_a75cb21d7f1df42f2fdc8efddb79b63f4ab5c44faf987ebd7709fa11a2c8502b5f"><div class="ttname"><a href="namespaceripple.html#a75cb21d7f1df42f2fdc8efddb79b63f4ab5c44faf987ebd7709fa11a2c8502b5f">ripple::tefBAD_LEDGER</a></div><div class="ttdeci">@ tefBAD_LEDGER</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00170">TER.h:170</a></div></div>
<div class="ttc" id="anamespaceripple_html_a75cb21d7f1df42f2fdc8efddb79b63f4ad035d214edc31c72362d7efbdaba234c"><div class="ttname"><a href="namespaceripple.html#a75cb21d7f1df42f2fdc8efddb79b63f4ad035d214edc31c72362d7efbdaba234c">ripple::tefINTERNAL</a></div><div class="ttdeci">@ tefINTERNAL</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00173">TER.h:173</a></div></div>
@@ -1669,13 +1668,13 @@ $(document).ready(function() { init_codefold(0); });
<div class="ttc" id="anamespaceripple_html_a79683ec651b1658886d9c9ce8434f972a1492bf6d7fc2ce461a9399ecbca58717"><div class="ttname"><a href="namespaceripple.html#a79683ec651b1658886d9c9ce8434f972a1492bf6d7fc2ce461a9399ecbca58717">ripple::HashRouterFlags::PRIVATE6</a></div><div class="ttdeci">@ PRIVATE6</div></div>
<div class="ttc" id="anamespaceripple_html_a79683ec651b1658886d9c9ce8434f972af2eabd5227bad5ab01c8e90c3bb8edfd"><div class="ttname"><a href="namespaceripple.html#a79683ec651b1658886d9c9ce8434f972af2eabd5227bad5ab01c8e90c3bb8edfd">ripple::HashRouterFlags::PRIVATE5</a></div><div class="ttdeci">@ PRIVATE5</div></div>
<div class="ttc" id="anamespaceripple_html_a823ab3aa40d17dc7ce24b02e156116ad"><div class="ttname"><a href="namespaceripple.html#a823ab3aa40d17dc7ce24b02e156116ad">ripple::escrowCreatePreclaimHelper&lt; Issue &gt;</a></div><div class="ttdeci">TER escrowCreatePreclaimHelper&lt; Issue &gt;(PreclaimContext const &amp;ctx, AccountID const &amp;account, AccountID const &amp;dest, STAmount const &amp;amount)</div><div class="ttdef"><b>Definition</b> <a href="Escrow_8cpp_source.html#l00204">Escrow.cpp:205</a></div></div>
<div class="ttc" id="anamespaceripple_html_a868a93d3fbb97e3ba20ba054df1db3ca"><div class="ttname"><a href="namespaceripple.html#a868a93d3fbb97e3ba20ba054df1db3ca">ripple::adjustOwnerCount</a></div><div class="ttdeci">static bool adjustOwnerCount(ApplyContext &amp;ctx, int count)</div><div class="ttdef"><b>Definition</b> <a href="SetOracle_8cpp_source.html#l00186">SetOracle.cpp:186</a></div></div>
<div class="ttc" id="anamespaceripple_html_a8a00fd8661aff4a0a94c7343a5158eca"><div class="ttname"><a href="namespaceripple.html#a8a00fd8661aff4a0a94c7343a5158eca">ripple::canTransfer</a></div><div class="ttdeci">TER canTransfer(ReadView const &amp;view, MPTIssue const &amp;mptIssue, AccountID const &amp;from, AccountID const &amp;to)</div><div class="ttdoc">Check if the destination account is allowed to receive MPT.</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l02621">View.cpp:2621</a></div></div>
<div class="ttc" id="anamespaceripple_html_a8b257ff89d14ac75ce240946f32d3773"><div class="ttname"><a href="namespaceripple.html#a8b257ff89d14ac75ce240946f32d3773">ripple::preflight2</a></div><div class="ttdeci">NotTEC preflight2(PreflightContext const &amp;ctx)</div><div class="ttdoc">Checks whether the signature appears valid.</div><div class="ttdef"><b>Definition</b> <a href="Transactor_8cpp_source.html#l00160">Transactor.cpp:160</a></div></div>
<div class="ttc" id="anamespaceripple_html_a8bfde2a725fdf2ec6390e107c0324e0d"><div class="ttname"><a href="namespaceripple.html#a8bfde2a725fdf2ec6390e107c0324e0d">ripple::checkCondition</a></div><div class="ttdeci">static bool checkCondition(Slice f, Slice c)</div><div class="ttdef"><b>Definition</b> <a href="Escrow_8cpp_source.html#l00615">Escrow.cpp:615</a></div></div>
<div class="ttc" id="anamespaceripple_html_a973486379ba5f12686d73f33345185c8"><div class="ttname"><a href="namespaceripple.html#a973486379ba5f12686d73f33345185c8">ripple::escrowUnlockApplyHelper&lt; MPTIssue &gt;</a></div><div class="ttdeci">TER escrowUnlockApplyHelper&lt; MPTIssue &gt;(ApplyView &amp;view, Rate lockedRate, std::shared_ptr&lt; SLE &gt; const &amp;sleDest, STAmount const &amp;xrpBalance, STAmount const &amp;amount, AccountID const &amp;issuer, AccountID const &amp;sender, AccountID const &amp;receiver, bool createAsset, beast::Journal journal)</div><div class="ttdef"><b>Definition</b> <a href="Escrow_8cpp_source.html#l00950">Escrow.cpp:951</a></div></div>
<div class="ttc" id="anamespaceripple_html_a9a9dd8b95ef01574e999e9a5d74db9fc"><div class="ttname"><a href="namespaceripple.html#a9a9dd8b95ef01574e999e9a5d74db9fc">ripple::escrowCreatePreflightHelper</a></div><div class="ttdeci">static NotTEC escrowCreatePreflightHelper(PreflightContext const &amp;ctx)</div></div>
<div class="ttc" id="anamespaceripple_html_a9ad0749604cda5299e9af18bf08cb830"><div class="ttname"><a href="namespaceripple.html#a9ad0749604cda5299e9af18bf08cb830">ripple::transferRate</a></div><div class="ttdeci">Rate transferRate(ReadView const &amp;view, AccountID const &amp;issuer)</div><div class="ttdoc">Returns IOU issuer transfer fee as Rate.</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l00759">View.cpp:759</a></div></div>
<div class="ttc" id="anamespaceripple_html_a9d1fee04f23a89bcbdc5f34f09ad9126"><div class="ttname"><a href="namespaceripple.html#a9d1fee04f23a89bcbdc5f34f09ad9126">ripple::escrowCancelPreclaimHelper</a></div><div class="ttdeci">static TER escrowCancelPreclaimHelper(PreclaimContext const &amp;ctx, AccountID const &amp;account, STAmount const &amp;amount)</div></div>
<div class="ttc" id="anamespaceripple_html_a9eb7f5da763beb91cd314311f2b23015"><div class="ttname"><a href="namespaceripple.html#a9eb7f5da763beb91cd314311f2b23015">ripple::trustCreate</a></div><div class="ttdeci">TER trustCreate(ApplyView &amp;view, bool const bSrcHigh, AccountID const &amp;uSrcAccountID, AccountID const &amp;uDstAccountID, uint256 const &amp;uIndex, SLE::ref sleAccount, bool const bAuth, bool const bNoRipple, bool const bFreeze, bool bDeepFreeze, STAmount const &amp;saBalance, STAmount const &amp;saLimit, std::uint32_t uQualityIn, std::uint32_t uQualityOut, beast::Journal j)</div><div class="ttdoc">Create a trust line.</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l01329">View.cpp:1329</a></div></div>
<div class="ttc" id="anamespaceripple_html_aa298e929e02f59c2b05a30ee8805b38ca0d2c540d43d291ee01366fb9eb95c20f"><div class="ttname"><a href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38ca0d2c540d43d291ee01366fb9eb95c20f">ripple::tecCRYPTOCONDITION_ERROR</a></div><div class="ttdeci">@ tecCRYPTOCONDITION_ERROR</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00312">TER.h:312</a></div></div>
<div class="ttc" id="anamespaceripple_html_aa298e929e02f59c2b05a30ee8805b38ca1207baad8c378dc23cd2fa4c4276844d"><div class="ttname"><a href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38ca1207baad8c378dc23cd2fa4c4276844d">ripple::tecNO_DST</a></div><div class="ttdeci">@ tecNO_DST</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00290">TER.h:290</a></div></div>
<div class="ttc" id="anamespaceripple_html_aa298e929e02f59c2b05a30ee8805b38ca16147ffb75207394488047fbd471dc9e"><div class="ttname"><a href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38ca16147ffb75207394488047fbd471dc9e">ripple::tecNO_LINE_INSUF_RESERVE</a></div><div class="ttdeci">@ tecNO_LINE_INSUF_RESERVE</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00292">TER.h:292</a></div></div>
@@ -1694,20 +1693,21 @@ $(document).ready(function() { init_codefold(0); });
<div class="ttc" id="anamespaceripple_html_aa298e929e02f59c2b05a30ee8805b38cac480d742e7760c48047bb3ccc50a40ef"><div class="ttname"><a href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38cac480d742e7760c48047bb3ccc50a40ef">ripple::tecNO_LINE</a></div><div class="ttdeci">@ tecNO_LINE</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00301">TER.h:301</a></div></div>
<div class="ttc" id="anamespaceripple_html_aa298e929e02f59c2b05a30ee8805b38cae930fb228ae74317976b57b4e87a7f0d"><div class="ttname"><a href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38cae930fb228ae74317976b57b4e87a7f0d">ripple::tecINSUFFICIENT_RESERVE</a></div><div class="ttdeci">@ tecINSUFFICIENT_RESERVE</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00307">TER.h:307</a></div></div>
<div class="ttc" id="anamespaceripple_html_aa298e929e02f59c2b05a30ee8805b38caf7928b1b6227d72394b43ef0309aede0"><div class="ttname"><a href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38caf7928b1b6227d72394b43ef0309aede0">ripple::tecLOCKED</a></div><div class="ttdeci">@ tecLOCKED</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00358">TER.h:358</a></div></div>
<div class="ttc" id="anamespaceripple_html_aa41db33791d7383170c31ad3910bcb33"><div class="ttname"><a href="namespaceripple.html#aa41db33791d7383170c31ad3910bcb33">ripple::rippleCredit</a></div><div class="ttdeci">TER rippleCredit(ApplyView &amp;view, AccountID const &amp;uSenderID, AccountID const &amp;uReceiverID, STAmount const &amp;saAmount, bool bCheckIssuer, beast::Journal j)</div><div class="ttdoc">Calls static rippleCreditIOU if saAmount represents Issue.</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l02768">View.cpp:2768</a></div></div>
<div class="ttc" id="anamespaceripple_html_aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151"><div class="ttname"><a href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">ripple::tesSUCCESS</a></div><div class="ttdeci">@ tesSUCCESS</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00245">TER.h:244</a></div></div>
<div class="ttc" id="anamespaceripple_html_ab001e43f50e612727b1ce5985a2770d6"><div class="ttname"><a href="namespaceripple.html#ab001e43f50e612727b1ce5985a2770d6">ripple::accountHolds</a></div><div class="ttdeci">STAmount accountHolds(ReadView const &amp;view, AccountID const &amp;account, Currency const &amp;currency, AccountID const &amp;issuer, FreezeHandling zeroIfFrozen, beast::Journal j)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l00385">View.cpp:385</a></div></div>
<div class="ttc" id="anamespaceripple_html_ab001e43f50e612727b1ce5985a2770d6"><div class="ttname"><a href="namespaceripple.html#ab001e43f50e612727b1ce5985a2770d6">ripple::accountHolds</a></div><div class="ttdeci">STAmount accountHolds(ReadView const &amp;view, AccountID const &amp;account, Currency const &amp;currency, AccountID const &amp;issuer, FreezeHandling zeroIfFrozen, beast::Journal j)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l00384">View.cpp:384</a></div></div>
<div class="ttc" id="anamespaceripple_html_ab2711b68b31e3391ad2e8203abf716b5"><div class="ttname"><a href="namespaceripple.html#ab2711b68b31e3391ad2e8203abf716b5">ripple::SF_CF_INVALID</a></div><div class="ttdeci">constexpr HashRouterFlags SF_CF_INVALID</div><div class="ttdef"><b>Definition</b> <a href="Escrow_8cpp_source.html#l00042">Escrow.cpp:42</a></div></div>
<div class="ttc" id="anamespaceripple_html_ab2dd62c127c88d91118b4a385cee1524"><div class="ttname"><a href="namespaceripple.html#ab2dd62c127c88d91118b4a385cee1524">ripple::escrowCreatePreflightHelper&lt; MPTIssue &gt;</a></div><div class="ttdeci">NotTEC escrowCreatePreflightHelper&lt; MPTIssue &gt;(PreflightContext const &amp;ctx)</div><div class="ttdef"><b>Definition</b> <a href="Escrow_8cpp_source.html#l00107">Escrow.cpp:108</a></div></div>
<div class="ttc" id="anamespaceripple_html_ab48d5d1c4e2695c12f705e9d85fa560d"><div class="ttname"><a href="namespaceripple.html#ab48d5d1c4e2695c12f705e9d85fa560d">ripple::isTesSuccess</a></div><div class="ttdeci">bool isTesSuccess(TER x) noexcept</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00674">TER.h:674</a></div></div>
<div class="ttc" id="anamespaceripple_html_ab4bfbeb569e5ff4cfa483918a1476a99"><div class="ttname"><a href="namespaceripple.html#ab4bfbeb569e5ff4cfa483918a1476a99">ripple::escrowFinishPreclaimHelper&lt; MPTIssue &gt;</a></div><div class="ttdeci">TER escrowFinishPreclaimHelper&lt; MPTIssue &gt;(PreclaimContext const &amp;ctx, AccountID const &amp;dest, STAmount const &amp;amount)</div><div class="ttdef"><b>Definition</b> <a href="Escrow_8cpp_source.html#l00732">Escrow.cpp:733</a></div></div>
<div class="ttc" id="anamespaceripple_html_ab835ed69cc5b1185c028a348509e3e10"><div class="ttname"><a href="namespaceripple.html#ab835ed69cc5b1185c028a348509e3e10">ripple::escrowCreatePreflightHelper&lt; Issue &gt;</a></div><div class="ttdeci">NotTEC escrowCreatePreflightHelper&lt; Issue &gt;(PreflightContext const &amp;ctx)</div><div class="ttdef"><b>Definition</b> <a href="Escrow_8cpp_source.html#l00093">Escrow.cpp:94</a></div></div>
<div class="ttc" id="anamespaceripple_html_ac3e90afb749bb1f01e06729c7c860ba3"><div class="ttname"><a href="namespaceripple.html#ac3e90afb749bb1f01e06729c7c860ba3">ripple::after</a></div><div class="ttdeci">bool after(NetClock::time_point now, std::uint32_t mark)</div><div class="ttdoc">Has the specified time passed?</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l03179">View.cpp:3179</a></div></div>
<div class="ttc" id="anamespaceripple_html_ac3e90afb749bb1f01e06729c7c860ba3"><div class="ttname"><a href="namespaceripple.html#ac3e90afb749bb1f01e06729c7c860ba3">ripple::after</a></div><div class="ttdeci">bool after(NetClock::time_point now, std::uint32_t mark)</div><div class="ttdoc">Has the specified time passed?</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l03178">View.cpp:3178</a></div></div>
<div class="ttc" id="anamespaceripple_html_ac4aaba9a6c6ffa5523f026fd998b3eda"><div class="ttname"><a href="namespaceripple.html#ac4aaba9a6c6ffa5523f026fd998b3eda">ripple::trustCreate</a></div><div class="ttdeci">TER trustCreate(ApplyView &amp;view, bool const bSrcHigh, AccountID const &amp;uSrcAccountID, AccountID const &amp;uDstAccountID, uint256 const &amp;uIndex, SLE::ref sleAccount, bool const bAuth, bool const bNoRipple, bool const bFreeze, bool bDeepFreeze, STAmount const &amp;saBalance, STAmount const &amp;saLimit, std::uint32_t uSrcQualityIn, std::uint32_t uSrcQualityOut, beast::Journal j)</div><div class="ttdoc">Create a trust line.</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l01328">View.cpp:1328</a></div></div>
<div class="ttc" id="anamespaceripple_html_ac8844b7ad1603892172e8e6d1044de00"><div class="ttname"><a href="namespaceripple.html#ac8844b7ad1603892172e8e6d1044de00">ripple::tfUniversalMask</a></div><div class="ttdeci">constexpr std::uint32_t tfUniversalMask</div><div class="ttdef"><b>Definition</b> <a href="TxFlags_8h_source.html#l00063">TxFlags.h:63</a></div></div>
<div class="ttc" id="anamespaceripple_html_adbbbf76f04d55cd69f1740ed38330719"><div class="ttname"><a href="namespaceripple.html#adbbbf76f04d55cd69f1740ed38330719">ripple::rippleCredit</a></div><div class="ttdeci">TER rippleCredit(ApplyView &amp;view, AccountID const &amp;uSenderID, AccountID const &amp;uReceiverID, STAmount const &amp;saAmount, bool bCheckIssuer, beast::Journal j)</div><div class="ttdoc">Calls static rippleCreditIOU if saAmount represents Issue.</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l02769">View.cpp:2769</a></div></div>
<div class="ttc" id="anamespaceripple_html_ae13e33177f05c7587bafdcbee50a8c0c"><div class="ttname"><a href="namespaceripple.html#ae13e33177f05c7587bafdcbee50a8c0c">ripple::escrowCancelPreclaimHelper&lt; Issue &gt;</a></div><div class="ttdeci">TER escrowCancelPreclaimHelper&lt; Issue &gt;(PreclaimContext const &amp;ctx, AccountID const &amp;account, STAmount const &amp;amount)</div><div class="ttdef"><b>Definition</b> <a href="Escrow_8cpp_source.html#l01230">Escrow.cpp:1231</a></div></div>
<div class="ttc" id="anamespaceripple_html_aeab293110021d764098579dd8a48f62c"><div class="ttname"><a href="namespaceripple.html#aeab293110021d764098579dd8a48f62c">ripple::escrowLockApplyHelper&lt; MPTIssue &gt;</a></div><div class="ttdeci">TER escrowLockApplyHelper&lt; MPTIssue &gt;(ApplyView &amp;view, AccountID const &amp;issuer, AccountID const &amp;sender, STAmount const &amp;amount, beast::Journal journal)</div><div class="ttdef"><b>Definition</b> <a href="Escrow_8cpp_source.html#l00434">Escrow.cpp:435</a></div></div>
<div class="ttc" id="anamespaceripple_html_aefa7c3af669e80824c7b50f724e14771"><div class="ttname"><a href="namespaceripple.html#aefa7c3af669e80824c7b50f724e14771">ripple::escrowUnlockApplyHelper</a></div><div class="ttdeci">static TER escrowUnlockApplyHelper(ApplyView &amp;view, Rate lockedRate, std::shared_ptr&lt; SLE &gt; const &amp;sleDest, STAmount const &amp;xrpBalance, STAmount const &amp;amount, AccountID const &amp;issuer, AccountID const &amp;sender, AccountID const &amp;receiver, bool createAsset, beast::Journal journal)</div></div>
<div class="ttc" id="anamespaceripple_html_af1d7ae814974c52a0e9f43e893480680"><div class="ttname"><a href="namespaceripple.html#af1d7ae814974c52a0e9f43e893480680">ripple::isPseudoAccount</a></div><div class="ttdeci">bool isPseudoAccount(std::shared_ptr&lt; SLE const &gt; sleAcct)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l01139">View.cpp:1139</a></div></div>
<div class="ttc" id="anamespaceripple_html_af1d7ae814974c52a0e9f43e893480680"><div class="ttname"><a href="namespaceripple.html#af1d7ae814974c52a0e9f43e893480680">ripple::isPseudoAccount</a></div><div class="ttdeci">bool isPseudoAccount(std::shared_ptr&lt; SLE const &gt; sleAcct)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l01138">View.cpp:1138</a></div></div>
<div class="ttc" id="anamespaceripple_html_af99ba2263d2a1e29207c40a35fc9f6b3"><div class="ttname"><a href="namespaceripple.html#af99ba2263d2a1e29207c40a35fc9f6b3">ripple::NotTEC</a></div><div class="ttdeci">TERSubset&lt; CanCvtToNotTEC &gt; NotTEC</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00605">TER.h:605</a></div></div>
<div class="ttc" id="anamespaceripple_html_afafea5e965cdafd128bd39d2e81db30b"><div class="ttname"><a href="namespaceripple.html#afafea5e965cdafd128bd39d2e81db30b">ripple::escrowUnlockApplyHelper&lt; Issue &gt;</a></div><div class="ttdeci">TER escrowUnlockApplyHelper&lt; Issue &gt;(ApplyView &amp;view, Rate lockedRate, std::shared_ptr&lt; SLE &gt; const &amp;sleDest, STAmount const &amp;xrpBalance, STAmount const &amp;amount, AccountID const &amp;issuer, AccountID const &amp;sender, AccountID const &amp;receiver, bool createAsset, beast::Journal journal)</div><div class="ttdef"><b>Definition</b> <a href="Escrow_8cpp_source.html#l00815">Escrow.cpp:816</a></div></div>
<div class="ttc" id="anamespaceripple_html_afbcd0117839fb629a769c600a741f452"><div class="ttname"><a href="namespaceripple.html#afbcd0117839fb629a769c600a741f452">ripple::parityRate</a></div><div class="ttdeci">Rate const parityRate</div><div class="ttdoc">A transfer rate signifying a 1:1 exchange.</div></div>