This commit is contained in:
bthomee
2025-05-29 21:00:28 +00:00
parent 5243cbe582
commit e0ff9ab743
567 changed files with 23898 additions and 24756 deletions

View File

@@ -179,8 +179,8 @@ $(function() {
<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">for</span> (<span class="keyword">auto</span> <span class="keyword">const</span>&amp; <span class="keywordtype">id</span> : <a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_variable" href="classripple_1_1ApplyContext.html#a8c8757b3b1f88baef47b31ed4e9682d0">tx</a>[sfNFTokenOffers])</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> {</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> <span class="keywordflow">if</span> (<span class="keyword">auto</span> <a class="code hl_function" href="namespaceripple_1_1test_1_1jtx.html#ac423e2aa3fd7a14ae651849b430994f1">offer</a> = <a class="code hl_function" href="classripple_1_1Transactor.html#a9acc4edc9b8f2a11a27fbcf5e93e2fe2">view</a>().peek(<a class="code hl_function" href="namespaceripple_1_1keylet.html#adddc4768b4e412ab96f6fff32b8c3903">keylet::nftoffer</a>(<span class="keywordtype">id</span>));</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> <a class="code hl_function" href="namespaceripple_1_1test_1_1jtx.html#ac423e2aa3fd7a14ae651849b430994f1">offer</a> &amp;&amp; !<a class="code hl_function" href="namespaceripple_1_1nft.html#a74236427e71356c6f0a3252a07927e1d">nft::deleteTokenOffer</a>(<a class="code hl_function" href="classripple_1_1Transactor.html#a9acc4edc9b8f2a11a27fbcf5e93e2fe2">view</a>(), <a class="code hl_function" href="namespaceripple_1_1test_1_1jtx.html#ac423e2aa3fd7a14ae651849b430994f1">offer</a>))</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> <span class="keywordflow">if</span> (<span class="keyword">auto</span> offer = <a class="code hl_function" href="classripple_1_1Transactor.html#a9acc4edc9b8f2a11a27fbcf5e93e2fe2">view</a>().peek(<a class="code hl_function" href="namespaceripple_1_1keylet.html#adddc4768b4e412ab96f6fff32b8c3903">keylet::nftoffer</a>(<span class="keywordtype">id</span>));</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> offer &amp;&amp; !<a class="code hl_function" href="namespaceripple_1_1nft.html#a74236427e71356c6f0a3252a07927e1d">nft::deleteTokenOffer</a>(<a class="code hl_function" href="classripple_1_1Transactor.html#a9acc4edc9b8f2a11a27fbcf5e93e2fe2">view</a>(), offer))</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> {</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> JLOG(<a class="code hl_variable" href="classripple_1_1Transactor.html#ab84d1ef5275a1c6c63176c11d72d6235">j_</a>.<a class="code hl_function" href="classbeast_1_1Journal.html#a3dfb8e2e3eecccdb5cf78ff21bca069c">fatal</a>()) &lt;&lt; <span class="stringliteral">&quot;Unable to delete token offer &quot;</span> &lt;&lt; <span class="keywordtype">id</span></div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> &lt;&lt; <span class="stringliteral">&quot; (ledger &quot;</span> &lt;&lt; <a class="code hl_function" href="classripple_1_1Transactor.html#a9acc4edc9b8f2a11a27fbcf5e93e2fe2">view</a>().<a class="code hl_function" href="classripple_1_1ReadView.html#ac284afc905c482953c35c61b459fd85b">seq</a>() &lt;&lt; <span class="stringliteral">&quot;)&quot;</span>;</div>
@@ -214,7 +214,6 @@ $(function() {
<div class="ttc" id="afind_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/find.html">std::find_if</a></div><div class="ttdeci">T find_if(T... args)</div></div>
<div class="ttc" id="anamespaceripple_1_1keylet_html_adddc4768b4e412ab96f6fff32b8c3903"><div class="ttname"><a href="namespaceripple_1_1keylet.html#adddc4768b4e412ab96f6fff32b8c3903">ripple::keylet::nftoffer</a></div><div class="ttdeci">Keylet nftoffer(AccountID const &amp;owner, std::uint32_t seq)</div><div class="ttdoc">An offer from an account to buy or sell an NFT.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00420">Indexes.cpp:420</a></div></div>
<div class="ttc" id="anamespaceripple_1_1nft_html_a74236427e71356c6f0a3252a07927e1d"><div class="ttname"><a href="namespaceripple_1_1nft.html#a74236427e71356c6f0a3252a07927e1d">ripple::nft::deleteTokenOffer</a></div><div class="ttdeci">bool deleteTokenOffer(ApplyView &amp;view, std::shared_ptr&lt; SLE &gt; const &amp;offer)</div><div class="ttdoc">Deletes the given token offer.</div><div class="ttdef"><b>Definition:</b> <a href="NFTokenUtils_8cpp_source.html#l00682">NFTokenUtils.cpp:682</a></div></div>
<div class="ttc" id="anamespaceripple_1_1test_1_1jtx_html_ac423e2aa3fd7a14ae651849b430994f1"><div class="ttname"><a href="namespaceripple_1_1test_1_1jtx.html#ac423e2aa3fd7a14ae651849b430994f1">ripple::test::jtx::offer</a></div><div class="ttdeci">Json::Value offer(Account const &amp;account, STAmount const &amp;takerPays, STAmount const &amp;takerGets, std::uint32_t flags)</div><div class="ttdoc">Create an offer.</div><div class="ttdef"><b>Definition:</b> <a href="offer_8cpp_source.html#l00029">offer.cpp:29</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#l00026">algorithm.h:26</a></div></div>
<div class="ttc" id="anamespaceripple_html_a48d1e12097d25f55cf6ec8dcb03306ee"><div class="ttname"><a href="namespaceripple.html#a48d1e12097d25f55cf6ec8dcb03306ee">ripple::maxTokenOfferCancelCount</a></div><div class="ttdeci">std::size_t constexpr maxTokenOfferCancelCount</div><div class="ttdoc">The maximum number of token offers that can be canceled at once.</div><div class="ttdef"><b>Definition:</b> <a href="Protocol_8h_source.html#l00069">Protocol.h:69</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>