mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-22 03:55:53 +00:00
deploy: dc8b37a524
This commit is contained in:
@@ -104,9 +104,9 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#include <xrpld/app/misc/AMMHelpers.h></span></div>
|
||||
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="preprocessor">#include <xrpld/app/misc/AMMUtils.h></span></div>
|
||||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#include <xrpld/app/tx/detail/AMMCreate.h></span></div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#include <xrpld/ledger/Sandbox.h></span></div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include <xrpld/ledger/View.h></span></div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include <xrpl/ledger/Sandbox.h></span></div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include <xrpl/ledger/View.h></span></div>
|
||||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include <xrpl/protocol/AMMCore.h></span></div>
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#include <xrpl/protocol/Feature.h></span></div>
|
||||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#include <xrpl/protocol/STIssue.h></span></div>
|
||||
@@ -187,7 +187,7 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38ca853b436b6effa0f0e1241bd508f96f03">tecDUPLICATE</a>;</div>
|
||||
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> }</div>
|
||||
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> </div>
|
||||
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</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.issue(), accountID);</div>
|
||||
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</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.issue(), accountID);</div>
|
||||
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> ter != <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>)</div>
|
||||
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> {</div>
|
||||
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> JLOG(ctx.<a class="code hl_variable" href="structripple_1_1PreclaimContext.html#aeb55565e34b187925992ba6c2f4a1d98">j</a>.<a class="code hl_function" href="classbeast_1_1Journal.html#a556228cb60bcf405c225d3f64b7b01ae">debug</a>())</div>
|
||||
@@ -195,7 +195,7 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> <span class="keywordflow">return</span> ter;</div>
|
||||
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> }</div>
|
||||
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> </div>
|
||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</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>, amount2.issue(), accountID);</div>
|
||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</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>, amount2.issue(), accountID);</div>
|
||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> ter != <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>)</div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> {</div>
|
||||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> JLOG(ctx.<a class="code hl_variable" href="structripple_1_1PreclaimContext.html#aeb55565e34b187925992ba6c2f4a1d98">j</a>.<a class="code hl_function" href="classbeast_1_1Journal.html#a556228cb60bcf405c225d3f64b7b01ae">debug</a>())</div>
|
||||
@@ -317,7 +317,7 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> <span class="keyword">auto</span> <span class="keyword">const</span> ammKeylet = <a class="code hl_function" href="namespaceripple_1_1keylet.html#a54b18d5d8dab25d338f7e105bea1068b">keylet::amm</a>(amount.issue(), amount2.issue());</div>
|
||||
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span> </div>
|
||||
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> <span class="comment">// Mitigate same account exists possibility</span></div>
|
||||
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> <span class="keyword">auto</span> <span class="keyword">const</span> maybeAccount = <a class="code hl_function" href="namespaceripple.html#a09aa323550d2b54d5ae9c08da46b2b2d">createPseudoAccount</a>(sb, ammKeylet.key, sfAMMID);</div>
|
||||
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> <span class="keyword">auto</span> <span class="keyword">const</span> maybeAccount = <a class="code hl_function" href="namespaceripple.html#a8ee72fd4d96c7f6238e2cdd21cfa4a97">createPseudoAccount</a>(sb, ammKeylet.key, sfAMMID);</div>
|
||||
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> <span class="comment">// AMM account already exists (should not happen)</span></div>
|
||||
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> <span class="keywordflow">if</span> (!maybeAccount)</div>
|
||||
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span> {</div>
|
||||
@@ -365,7 +365,7 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span> sb.<a class="code hl_function" href="classripple_1_1detail_1_1ApplyViewBase.html#a669490ced7bb2cab3a6cc704bc7286df">insert</a>(ammSle);</div>
|
||||
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"> 276</span> </div>
|
||||
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span> <span class="comment">// Send LPT to LP.</span></div>
|
||||
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span> <span class="keyword">auto</span> res = <a class="code hl_function" href="namespaceripple.html#af2e2ee9b2b3499ff23ebbc249e188764">accountSend</a>(sb, accountId, account_, lpTokens, ctx_.<a class="code hl_variable" href="classripple_1_1ApplyContext.html#a7b78c8e924babce4d14359970f55ba02">journal</a>);</div>
|
||||
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span> <span class="keyword">auto</span> res = <a class="code hl_function" href="namespaceripple.html#a64bd5df9caa461c20d406382b13df3c5">accountSend</a>(sb, accountId, account_, lpTokens, ctx_.<a class="code hl_variable" href="classripple_1_1ApplyContext.html#a7b78c8e924babce4d14359970f55ba02">journal</a>);</div>
|
||||
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span> <span class="keywordflow">if</span> (res != <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>)</div>
|
||||
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span> {</div>
|
||||
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span> JLOG(j_.<a class="code hl_function" href="classbeast_1_1Journal.html#a556228cb60bcf405c225d3f64b7b01ae">debug</a>()) << <span class="stringliteral">"AMM Instance: failed to send LPT "</span> << lpTokens;</div>
|
||||
@@ -373,7 +373,7 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> }</div>
|
||||
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span> </div>
|
||||
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span> <span class="keyword">auto</span> sendAndTrustSet = [&](<a class="code hl_class" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>& amount) -> <a class="code hl_class" href="classripple_1_1TERSubset.html">TER</a> {</div>
|
||||
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> <span class="keywordflow">if</span> (<span class="keyword">auto</span> <span class="keyword">const</span> res = <a class="code hl_function" href="namespaceripple.html#af2e2ee9b2b3499ff23ebbc249e188764">accountSend</a>(</div>
|
||||
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> <span class="keywordflow">if</span> (<span class="keyword">auto</span> <span class="keyword">const</span> res = <a class="code hl_function" href="namespaceripple.html#a64bd5df9caa461c20d406382b13df3c5">accountSend</a>(</div>
|
||||
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span> sb,</div>
|
||||
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span> account_,</div>
|
||||
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"> 289</span> accountId,</div>
|
||||
@@ -467,7 +467,7 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="ttc" id="aclassripple_1_1Issue_html"><div class="ttname"><a href="classripple_1_1Issue.html">ripple::Issue</a></div><div class="ttdoc">A currency issued by an account.</div><div class="ttdef"><b>Definition</b> <a href="Issue_8h_source.html#l00032">Issue.h:33</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Issue_html_a46e4805870b1bad6a8691bed0b8acec8"><div class="ttname"><a href="classripple_1_1Issue.html#a46e4805870b1bad6a8691bed0b8acec8">ripple::Issue::account</a></div><div class="ttdeci">AccountID account</div><div class="ttdef"><b>Definition</b> <a href="Issue_8h_source.html#l00036">Issue.h:36</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_a0faba63ac03924d89a07b2dd69bcd206"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#a0faba63ac03924d89a07b2dd69bcd206">ripple::OrderBookDB::addOrderBook</a></div><div class="ttdeci">void addOrderBook(Book const &)</div><div class="ttdef"><b>Definition</b> <a href="OrderBookDB_8cpp_source.html#l00179">OrderBookDB.cpp:179</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< SLE const > read(Keylet const &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 & fees() const =0</div><div class="ttdoc">Returns the fees for the base ledger.</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1ReadView_html_aceb3d74acaae18b238022337e5f250ce"><div class="ttname"><a href="classripple_1_1ReadView.html#aceb3d74acaae18b238022337e5f250ce">ripple::ReadView::rules</a></div><div class="ttdeci">virtual Rules const & rules() const =0</div><div class="ttdoc">Returns the tx processing rules.</div></div>
|
||||
@@ -499,10 +499,8 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="ttc" id="anamespaceripple_1_1keylet_html_a5dc4ad00b59a4e63406dab067f0fe021"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a5dc4ad00b59a4e63406dab067f0fe021">ripple::keylet::book</a></div><div class="ttdeci">static book_t const book</div><div class="ttdef"><b>Definition</b> <a href="Indexes_8h_source.html#l00105">Indexes.h:105</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1keylet_html_aa756e0f59b26042ed00a4d0ba6e96951"><div class="ttname"><a href="namespaceripple_1_1keylet.html#aa756e0f59b26042ed00a4d0ba6e96951">ripple::keylet::account</a></div><div class="ttdeci">Keylet account(AccountID const &id) noexcept</div><div class="ttdoc">AccountID root.</div><div class="ttdef"><b>Definition</b> <a href="Indexes_8cpp_source.html#l00184">Indexes.cpp:184</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_a09aa323550d2b54d5ae9c08da46b2b2d"><div class="ttname"><a href="namespaceripple.html#a09aa323550d2b54d5ae9c08da46b2b2d">ripple::createPseudoAccount</a></div><div class="ttdeci">Expected< std::shared_ptr< SLE >, TER > createPseudoAccount(ApplyView &view, uint256 const &pseudoOwnerKey, SField const &ownerField)</div><div class="ttdoc">Create pseudo-account, storing pseudoOwnerKey into ownerField.</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l01094">View.cpp:1094</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a0a4a286d1662cbca7a134981b70e65b6"><div class="ttname"><a href="namespaceripple.html#a0a4a286d1662cbca7a134981b70e65b6">ripple::invalidAMMAmount</a></div><div class="ttdeci">NotTEC invalidAMMAmount(STAmount const &amount, std::optional< std::pair< Issue, Issue > > const &pair=std::nullopt, bool validZero=false)</div><div class="ttdoc">Validate the amount.</div><div class="ttdef"><b>Definition</b> <a href="AMMCore_8cpp_source.html#l00095">AMMCore.cpp:95</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 &view, Issue const &issue, AccountID const &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_a17a9a9b903b66e49f5413d82ce79f085a852cabbbe21a9b4d63aff777eceab2fd"><div class="ttname"><a href="namespaceripple.html#a17a9a9b903b66e49f5413d82ce79f085a852cabbbe21a9b4d63aff777eceab2fd">ripple::fhZERO_IF_FROZEN</a></div><div class="ttdeci">@ fhZERO_IF_FROZEN</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_a17a9a9b903b66e49f5413d82ce79f085a852cabbbe21a9b4d63aff777eceab2fd"><div class="ttname"><a href="namespaceripple.html#a17a9a9b903b66e49f5413d82ce79f085a852cabbbe21a9b4d63aff777eceab2fd">ripple::fhZERO_IF_FROZEN</a></div><div class="ttdeci">@ fhZERO_IF_FROZEN</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_a20d30277b9c78756b3d14493055a307c"><div class="ttname"><a href="namespaceripple.html#a20d30277b9c78756b3d14493055a307c">ripple::isXRP</a></div><div class="ttdeci">bool isXRP(AccountID const &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_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>
|
||||
<div class="ttc" id="anamespaceripple_html_a4a9c7b33fef9015d6406302ef80b63c5a4dc02270bf68939f8033c9a985fb2dfb"><div class="ttname"><a href="namespaceripple.html#a4a9c7b33fef9015d6406302ef80b63c5a4dc02270bf68939f8033c9a985fb2dfb">ripple::lsfAllowTrustLineClawback</a></div><div class="ttdeci">@ lsfAllowTrustLineClawback</div><div class="ttdef"><b>Definition</b> <a href="LedgerFormats_8h_source.html#l00151">LedgerFormats.h:150</a></div></div>
|
||||
@@ -510,11 +508,14 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="ttc" id="anamespaceripple_html_a5c4fa33b0b13deab58e07744afe0f7ed"><div class="ttname"><a href="namespaceripple.html#a5c4fa33b0b13deab58e07744afe0f7ed">ripple::ammEnabled</a></div><div class="ttdeci">bool ammEnabled(Rules const &)</div><div class="ttdoc">Return true if required AMM amendments are enabled.</div><div class="ttdef"><b>Definition</b> <a href="AMMCore_8cpp_source.html#l00129">AMMCore.cpp:129</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 &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_a5e068ce58638111534101573085f71a2"><div class="ttname"><a href="namespaceripple.html#a5e068ce58638111534101573085f71a2">ripple::ammLPTIssue</a></div><div class="ttdeci">Issue ammLPTIssue(Currency const &cur1, Currency const &cur2, AccountID const &ammAccountID)</div><div class="ttdoc">Calculate LPT Issue from AMM asset pair.</div><div class="ttdef"><b>Definition</b> <a href="AMMCore_8cpp_source.html#l00057">AMMCore.cpp:57</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 &view, AccountID const &account, Currency const &currency, AccountID const &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_a64bd5df9caa461c20d406382b13df3c5"><div class="ttname"><a href="namespaceripple.html#a64bd5df9caa461c20d406382b13df3c5">ripple::accountSend</a></div><div class="ttdeci">TER accountSend(ApplyView &view, AccountID const &from, AccountID const &to, STAmount const &saAmount, beast::Journal j, WaiveTransferFee waiveFee=WaiveTransferFee::No)</div><div class="ttdoc">Calls static accountSendIOU if saAmount represents Issue.</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l02113">View.cpp:2113</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 &view, AccountID const &account, Currency const &currency, AccountID const &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_a73cc988e7ba5d5ee0fd9db53740917ec"><div class="ttname"><a href="namespaceripple.html#a73cc988e7ba5d5ee0fd9db53740917ec">ripple::getRate</a></div><div class="ttdeci">std::uint64_t getRate(STAmount const &offerOut, STAmount const &offerIn)</div><div class="ttdef"><b>Definition</b> <a href="STAmount_8cpp_source.html#l00486">STAmount.cpp:486</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 &view, Issue const &issue, AccountID const &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_a78b3ccb8c17df3888bf47d05cb5376c1"><div class="ttname"><a href="namespaceripple.html#a78b3ccb8c17df3888bf47d05cb5376c1">ripple::initializeFeeAuctionVote</a></div><div class="ttdeci">void initializeFeeAuctionVote(ApplyView &view, std::shared_ptr< SLE > &ammSle, AccountID const &account, Issue const &lptIssue, std::uint16_t tfee)</div><div class="ttdoc">Initialize Auction and Voting slots and set the trading/discounted fee.</div><div class="ttdef"><b>Definition</b> <a href="AMMUtils_8cpp_source.html#l00340">AMMUtils.cpp:340</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 &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_a8e246441496ab1a735552574115c3256"><div class="ttname"><a href="namespaceripple.html#a8e246441496ab1a735552574115c3256">ripple::applyCreate</a></div><div class="ttdeci">static std::pair< TER, bool > applyCreate(ApplyContext &ctx_, Sandbox &sb, AccountID const &account_, beast::Journal j_)</div><div class="ttdef"><b>Definition</b> <a href="AMMCreate_8cpp_source.html#l00218">AMMCreate.cpp:218</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a8ee72fd4d96c7f6238e2cdd21cfa4a97"><div class="ttname"><a href="namespaceripple.html#a8ee72fd4d96c7f6238e2cdd21cfa4a97">ripple::createPseudoAccount</a></div><div class="ttdeci">Expected< std::shared_ptr< SLE >, TER > createPseudoAccount(ApplyView &view, uint256 const &pseudoOwnerKey, SField const &ownerField)</div><div class="ttdoc">Create pseudo-account, storing pseudoOwnerKey into ownerField.</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l01093">View.cpp:1093</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a9d22f4d38ac33f4258a0205f8e11d27ea93cba07454f06a4a960172bbd6e2a435"><div class="ttname"><a href="namespaceripple.html#a9d22f4d38ac33f4258a0205f8e11d27ea93cba07454f06a4a960172bbd6e2a435">ripple::WaiveTransferFee::Yes</a></div><div class="ttdeci">@ Yes</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_aa298e929e02f59c2b05a30ee8805b38ca2d4a898185a9c8e604210e789bed6e36"><div class="ttname"><a href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38ca2d4a898185a9c8e604210e789bed6e36">ripple::tecINSUF_RESERVE_LINE</a></div><div class="ttdeci">@ tecINSUF_RESERVE_LINE</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00288">TER.h:288</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_aa298e929e02f59c2b05a30ee8805b38ca608da193a4a22ae1c78d76b6e843b7e6"><div class="ttname"><a href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38ca608da193a4a22ae1c78d76b6e843b7e6">ripple::tecFROZEN</a></div><div class="ttdeci">@ tecFROZEN</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00303">TER.h:303</a></div></div>
|
||||
@@ -524,8 +525,8 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="ttc" id="anamespaceripple_html_aa298e929e02f59c2b05a30ee8805b38cabde6584a978eb50ebd304c6a78733d26"><div class="ttname"><a href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38cabde6584a978eb50ebd304c6a78733d26">ripple::tecUNFUNDED_AMM</a></div><div class="ttdeci">@ tecUNFUNDED_AMM</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00328">TER.h:328</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_aa298e929e02f59c2b05a30ee8805b38cae04fb0979694245c81c59f9cb35181e9"><div class="ttname"><a href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38cae04fb0979694245c81c59f9cb35181e9">ripple::tecAMM_INVALID_TOKENS</a></div><div class="ttdeci">@ tecAMM_INVALID_TOKENS</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00331">TER.h:331</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_aaf49b5c9145b96270cae187eaf4d9a6f"><div class="ttname"><a href="namespaceripple.html#aaf49b5c9145b96270cae187eaf4d9a6f">ripple::pseudoAccountAddress</a></div><div class="ttdeci">AccountID pseudoAccountAddress(ReadView const &view, uint256 const &pseudoOwnerKey)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l01067">View.cpp:1067</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 &view, AccountID const &account, Currency const &currency, AccountID const &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_aaf49b5c9145b96270cae187eaf4d9a6f"><div class="ttname"><a href="namespaceripple.html#aaf49b5c9145b96270cae187eaf4d9a6f">ripple::pseudoAccountAddress</a></div><div class="ttdeci">AccountID pseudoAccountAddress(ReadView const &view, uint256 const &pseudoOwnerKey)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l01066">View.cpp:1066</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 &view, AccountID const &account, Currency const &currency, AccountID const &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_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_ab8defa1f235abbf44a60ccc6c71c6fdd"><div class="ttname"><a href="namespaceripple.html#ab8defa1f235abbf44a60ccc6c71c6fdd">ripple::ammLPTokens</a></div><div class="ttdeci">STAmount ammLPTokens(STAmount const &asset1, STAmount const &asset2, Issue const &lptIssue)</div><div class="ttdoc">Calculate LP Tokens given AMM pool reserves.</div><div class="ttdef"><b>Definition</b> <a href="AMMHelpers_8cpp_source.html#l00025">AMMHelpers.cpp:25</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>
|
||||
@@ -533,10 +534,9 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="ttc" id="anamespaceripple_html_adebe4d783be9c979e67fdbb2bc27162faadb84abae8e5aa672e05db5ed3282054"><div class="ttname"><a href="namespaceripple.html#adebe4d783be9c979e67fdbb2bc27162faadb84abae8e5aa672e05db5ed3282054">ripple::terNO_RIPPLE</a></div><div class="ttdeci">@ terNO_RIPPLE</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00224">TER.h:224</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_adfb760bc3e4ccb79d5d4f6ecff2f1817"><div class="ttname"><a href="namespaceripple.html#adfb760bc3e4ccb79d5d4f6ecff2f1817">ripple::TER</a></div><div class="ttdeci">TERSubset< CanCvtToTER > TER</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00645">TER.h:645</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ae0ae9ebb091dfd0a1578b5c791fbe5da"><div class="ttname"><a href="namespaceripple.html#ae0ae9ebb091dfd0a1578b5c791fbe5da">ripple::TRADING_FEE_THRESHOLD</a></div><div class="ttdeci">std::uint16_t constexpr TRADING_FEE_THRESHOLD</div><div class="ttdef"><b>Definition</b> <a href="AMMCore_8h_source.html#l00031">AMMCore.h:31</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_af2e2ee9b2b3499ff23ebbc249e188764"><div class="ttname"><a href="namespaceripple.html#af2e2ee9b2b3499ff23ebbc249e188764">ripple::accountSend</a></div><div class="ttdeci">TER accountSend(ApplyView &view, AccountID const &uSenderID, AccountID const &uReceiverID, STAmount const &saAmount, beast::Journal j, WaiveTransferFee waiveFee)</div><div class="ttdoc">Calls static accountSendIOU if saAmount represents Issue.</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l02114">View.cpp:2114</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< CanCvtToNotTEC > 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_af9f6b70c07960eddb23196f61db8f4ba"><div class="ttname"><a href="namespaceripple.html#af9f6b70c07960eddb23196f61db8f4ba">ripple::dirLink</a></div><div class="ttdeci">TER dirLink(ApplyView &view, AccountID const &owner, std::shared_ptr< SLE > &object)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l01056">View.cpp:1056</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_afc787da3584a7facdc3f19fc366f0b70"><div class="ttname"><a href="namespaceripple.html#afc787da3584a7facdc3f19fc366f0b70">ripple::xrpLiquid</a></div><div class="ttdeci">XRPAmount xrpLiquid(ReadView const &view, AccountID const &id, std::int32_t ownerCountAdj, beast::Journal j)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l00616">View.cpp:616</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_af9f6b70c07960eddb23196f61db8f4ba"><div class="ttname"><a href="namespaceripple.html#af9f6b70c07960eddb23196f61db8f4ba">ripple::dirLink</a></div><div class="ttdeci">TER dirLink(ApplyView &view, AccountID const &owner, std::shared_ptr< SLE > &object)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l01055">View.cpp:1055</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_afc787da3584a7facdc3f19fc366f0b70"><div class="ttname"><a href="namespaceripple.html#afc787da3584a7facdc3f19fc366f0b70">ripple::xrpLiquid</a></div><div class="ttdeci">XRPAmount xrpLiquid(ReadView const &view, AccountID const &id, std::int32_t ownerCountAdj, beast::Journal j)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l00615">View.cpp:615</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_afe21c8454670d46fb93751a5edffed46a3210708be8e611097ad2ae1e1a1734fb"><div class="ttname"><a href="namespaceripple.html#afe21c8454670d46fb93751a5edffed46a3210708be8e611097ad2ae1e1a1734fb">ripple::temBAD_FEE</a></div><div class="ttdeci">@ temBAD_FEE</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00092">TER.h:92</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_afe21c8454670d46fb93751a5edffed46a8eb12fd6bc0d12423fb855b14864acb4"><div class="ttname"><a href="namespaceripple.html#afe21c8454670d46fb93751a5edffed46a8eb12fd6bc0d12423fb855b14864acb4">ripple::temBAD_AMM_TOKENS</a></div><div class="ttdeci">@ temBAD_AMM_TOKENS</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00129">TER.h:129</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_afe21c8454670d46fb93751a5edffed46aa4754e0f122658747650b3b1c0a846a8"><div class="ttname"><a href="namespaceripple.html#afe21c8454670d46fb93751a5edffed46aa4754e0f122658747650b3b1c0a846a8">ripple::temINVALID_FLAG</a></div><div class="ttdeci">@ temINVALID_FLAG</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00111">TER.h:111</a></div></div>
|
||||
|
||||
Reference in New Issue
Block a user