This commit is contained in:
ckamm 2024-01-08 13:30:22 +00:00
parent 52eaac04e1
commit 403ae34568
68 changed files with 132 additions and 130 deletions

View File

@ -1 +1 @@
{"rustc_fingerprint":14408050292296793830,"outputs":{"15729799797837862367":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/home/runner/.rustup/toolchains/1.69-x86_64-unknown-linux-gnu\noff\npacked\nunpacked\n___\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"unknown\"\nunix\n","stderr":""},"4614504638168534921":{"success":true,"status":"","code":0,"stdout":"rustc 1.69.0 (84c898d65 2023-04-16)\nbinary: rustc\ncommit-hash: 84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc\ncommit-date: 2023-04-16\nhost: x86_64-unknown-linux-gnu\nrelease: 1.69.0\nLLVM version: 15.0.7\n","stderr":""}},"successes":{}} {"rustc_fingerprint":17845677691765103378,"outputs":{"15729799797837862367":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/home/runner/.rustup/toolchains/1.69-x86_64-unknown-linux-gnu\noff\npacked\nunpacked\n___\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"unknown\"\nunix\n","stderr":""},"4614504638168534921":{"success":true,"status":"","code":0,"stdout":"rustc 1.69.0 (84c898d65 2023-04-16)\nbinary: rustc\ncommit-hash: 84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc\ncommit-date: 2023-04-16\nhost: x86_64-unknown-linux-gnu\nrelease: 1.69.0\nLLVM version: 15.0.7\n","stderr":""}},"successes":{}}

View File

@ -10,7 +10,8 @@
pub payer: Pubkey, pub payer: Pubkey,
pub system_program: Pubkey, pub system_program: Pubkey,
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Generated client accounts for <a href="struct.Serum3RegisterMarket.html" title="struct mango_v4::accounts::Serum3RegisterMarket"><code>Serum3RegisterMarket</code></a>.</p> }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Generated client accounts for <a href="struct.Serum3RegisterMarket.html" title="struct mango_v4::accounts::Serum3RegisterMarket"><code>Serum3RegisterMarket</code></a>.</p>
</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.group" class="structfield small-section-header"><a href="#structfield.group" class="anchor field">§</a><code>group: Pubkey</code></span><span id="structfield.admin" class="structfield small-section-header"><a href="#structfield.admin" class="anchor field">§</a><code>admin: Pubkey</code></span><span id="structfield.serum_program" class="structfield small-section-header"><a href="#structfield.serum_program" class="anchor field">§</a><code>serum_program: Pubkey</code></span><span id="structfield.serum_market_external" class="structfield small-section-header"><a href="#structfield.serum_market_external" class="anchor field">§</a><code>serum_market_external: Pubkey</code></span><span id="structfield.serum_market" class="structfield small-section-header"><a href="#structfield.serum_market" class="anchor field">§</a><code>serum_market: Pubkey</code></span><span id="structfield.index_reservation" class="structfield small-section-header"><a href="#structfield.index_reservation" class="anchor field">§</a><code>index_reservation: Pubkey</code></span><span id="structfield.quote_bank" class="structfield small-section-header"><a href="#structfield.quote_bank" class="anchor field">§</a><code>quote_bank: Pubkey</code></span><span id="structfield.base_bank" class="structfield small-section-header"><a href="#structfield.base_bank" class="anchor field">§</a><code>base_bank: Pubkey</code></span><span id="structfield.payer" class="structfield small-section-header"><a href="#structfield.payer" class="anchor field">§</a><code>payer: Pubkey</code></span><span id="structfield.system_program" class="structfield small-section-header"><a href="#structfield.system_program" class="anchor field">§</a><code>system_program: Pubkey</code></span><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-BorshSerialize-for-Serum3RegisterMarket" class="impl"><a class="srclink rightside" href="../../src/mango_v4/accounts_ix/serum3_register_market.rs.html#5">source</a><a href="#impl-BorshSerialize-for-Serum3RegisterMarket" class="anchor">§</a><h3 class="code-header">impl BorshSerialize for <a class="struct" href="struct.Serum3RegisterMarket.html" title="struct mango_v4::accounts::Serum3RegisterMarket">Serum3RegisterMarket</a><span class="where fmt-newline">where </div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.group" class="structfield small-section-header"><a href="#structfield.group" class="anchor field">§</a><code>group: Pubkey</code></span><span id="structfield.admin" class="structfield small-section-header"><a href="#structfield.admin" class="anchor field">§</a><code>admin: Pubkey</code></span><div class="docblock"><p>group admin or fast listing admin, checked at #1</p>
</div><span id="structfield.serum_program" class="structfield small-section-header"><a href="#structfield.serum_program" class="anchor field">§</a><code>serum_program: Pubkey</code></span><span id="structfield.serum_market_external" class="structfield small-section-header"><a href="#structfield.serum_market_external" class="anchor field">§</a><code>serum_market_external: Pubkey</code></span><span id="structfield.serum_market" class="structfield small-section-header"><a href="#structfield.serum_market" class="anchor field">§</a><code>serum_market: Pubkey</code></span><span id="structfield.index_reservation" class="structfield small-section-header"><a href="#structfield.index_reservation" class="anchor field">§</a><code>index_reservation: Pubkey</code></span><span id="structfield.quote_bank" class="structfield small-section-header"><a href="#structfield.quote_bank" class="anchor field">§</a><code>quote_bank: Pubkey</code></span><span id="structfield.base_bank" class="structfield small-section-header"><a href="#structfield.base_bank" class="anchor field">§</a><code>base_bank: Pubkey</code></span><span id="structfield.payer" class="structfield small-section-header"><a href="#structfield.payer" class="anchor field">§</a><code>payer: Pubkey</code></span><span id="structfield.system_program" class="structfield small-section-header"><a href="#structfield.system_program" class="anchor field">§</a><code>system_program: Pubkey</code></span><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-BorshSerialize-for-Serum3RegisterMarket" class="impl"><a class="srclink rightside" href="../../src/mango_v4/accounts_ix/serum3_register_market.rs.html#5">source</a><a href="#impl-BorshSerialize-for-Serum3RegisterMarket" class="anchor">§</a><h3 class="code-header">impl BorshSerialize for <a class="struct" href="struct.Serum3RegisterMarket.html" title="struct mango_v4::accounts::Serum3RegisterMarket">Serum3RegisterMarket</a><span class="where fmt-newline">where
Pubkey: BorshSerialize,</span></h3></section></summary><div class="impl-items"><section id="method.serialize" class="method trait-impl"><a class="srclink rightside" href="../../src/mango_v4/accounts_ix/serum3_register_market.rs.html#5">source</a><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a class="fn">serialize</a>&lt;W: <a class="trait" href="https://doc.rust-lang.org/1.69.0/std/io/trait.Write.html" title="trait std::io::Write">Write</a>&gt;(&amp;self, writer: <a class="primitive" href="https://doc.rust-lang.org/1.69.0/std/primitive.reference.html">&amp;mut W</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.69.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.69.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.69.0/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.try_to_vec" class="method trait-impl"><a href="#method.try_to_vec" class="anchor">§</a><h4 class="code-header">fn <a class="fn">try_to_vec</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.69.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.69.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.69.0/std/primitive.u8.html">u8</a>, <a class="struct" href="https://doc.rust-lang.org/1.69.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="struct" href="https://doc.rust-lang.org/1.69.0/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Serialize this instance into a vector of bytes.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ToAccountMetas-for-Serum3RegisterMarket" class="impl"><a class="srclink rightside" href="../../src/mango_v4/accounts_ix/serum3_register_market.rs.html#5">source</a><a href="#impl-ToAccountMetas-for-Serum3RegisterMarket" class="anchor">§</a><h3 class="code-header">impl ToAccountMetas for <a class="struct" href="struct.Serum3RegisterMarket.html" title="struct mango_v4::accounts::Serum3RegisterMarket">Serum3RegisterMarket</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.to_account_metas" class="method trait-impl"><a class="srclink rightside" href="../../src/mango_v4/accounts_ix/serum3_register_market.rs.html#5">source</a><a href="#method.to_account_metas" class="anchor">§</a><h4 class="code-header">fn <a class="fn">to_account_metas</a>(&amp;self, is_signer: <a class="enum" href="https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.69.0/std/primitive.bool.html">bool</a>&gt;) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.69.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;AccountMeta&gt; <a href="#" class="tooltip" data-notable-ty="Vec&lt;AccountMeta&gt;"></a></h4></section></summary><div class='docblock'><code>is_signer</code> is given as an optional override for the signer meta field. Pubkey: BorshSerialize,</span></h3></section></summary><div class="impl-items"><section id="method.serialize" class="method trait-impl"><a class="srclink rightside" href="../../src/mango_v4/accounts_ix/serum3_register_market.rs.html#5">source</a><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a class="fn">serialize</a>&lt;W: <a class="trait" href="https://doc.rust-lang.org/1.69.0/std/io/trait.Write.html" title="trait std::io::Write">Write</a>&gt;(&amp;self, writer: <a class="primitive" href="https://doc.rust-lang.org/1.69.0/std/primitive.reference.html">&amp;mut W</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.69.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.69.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.69.0/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.try_to_vec" class="method trait-impl"><a href="#method.try_to_vec" class="anchor">§</a><h4 class="code-header">fn <a class="fn">try_to_vec</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.69.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.69.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.69.0/std/primitive.u8.html">u8</a>, <a class="struct" href="https://doc.rust-lang.org/1.69.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="struct" href="https://doc.rust-lang.org/1.69.0/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Serialize this instance into a vector of bytes.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ToAccountMetas-for-Serum3RegisterMarket" class="impl"><a class="srclink rightside" href="../../src/mango_v4/accounts_ix/serum3_register_market.rs.html#5">source</a><a href="#impl-ToAccountMetas-for-Serum3RegisterMarket" class="anchor">§</a><h3 class="code-header">impl ToAccountMetas for <a class="struct" href="struct.Serum3RegisterMarket.html" title="struct mango_v4::accounts::Serum3RegisterMarket">Serum3RegisterMarket</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.to_account_metas" class="method trait-impl"><a class="srclink rightside" href="../../src/mango_v4/accounts_ix/serum3_register_market.rs.html#5">source</a><a href="#method.to_account_metas" class="anchor">§</a><h4 class="code-header">fn <a class="fn">to_account_metas</a>(&amp;self, is_signer: <a class="enum" href="https://doc.rust-lang.org/1.69.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.69.0/std/primitive.bool.html">bool</a>&gt;) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.69.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;AccountMeta&gt; <a href="#" class="tooltip" data-notable-ty="Vec&lt;AccountMeta&gt;"></a></h4></section></summary><div class='docblock'><code>is_signer</code> is given as an optional override for the signer meta field.
This covers the edge case when a program-derived-address needs to relay This covers the edge case when a program-derived-address needs to relay
a transaction from a client to another program but sign the transaction a transaction from a client to another program but sign the transaction

View File

@ -9,7 +9,8 @@
pub base_bank: AccountLoader&lt;'info, <a class="struct" href="../state/struct.Bank.html" title="struct mango_v4::state::Bank">Bank</a>&gt;, pub base_bank: AccountLoader&lt;'info, <a class="struct" href="../state/struct.Bank.html" title="struct mango_v4::state::Bank">Bank</a>&gt;,
pub payer: Signer&lt;'info&gt;, pub payer: Signer&lt;'info&gt;,
pub system_program: Program&lt;'info, System&gt;, pub system_program: Program&lt;'info, System&gt;,
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.group" class="structfield small-section-header"><a href="#structfield.group" class="anchor field">§</a><code>group: AccountLoader&lt;'info, <a class="struct" href="../state/struct.Group.html" title="struct mango_v4::state::Group">Group</a>&gt;</code></span><span id="structfield.admin" class="structfield small-section-header"><a href="#structfield.admin" class="anchor field">§</a><code>admin: Signer&lt;'info&gt;</code></span><span id="structfield.serum_program" class="structfield small-section-header"><a href="#structfield.serum_program" class="anchor field">§</a><code>serum_program: UncheckedAccount&lt;'info&gt;</code></span><div class="docblock"><p>CHECK: Can register a market for any serum program</p> }</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.group" class="structfield small-section-header"><a href="#structfield.group" class="anchor field">§</a><code>group: AccountLoader&lt;'info, <a class="struct" href="../state/struct.Group.html" title="struct mango_v4::state::Group">Group</a>&gt;</code></span><span id="structfield.admin" class="structfield small-section-header"><a href="#structfield.admin" class="anchor field">§</a><code>admin: Signer&lt;'info&gt;</code></span><div class="docblock"><p>group admin or fast listing admin, checked at #1</p>
</div><span id="structfield.serum_program" class="structfield small-section-header"><a href="#structfield.serum_program" class="anchor field">§</a><code>serum_program: UncheckedAccount&lt;'info&gt;</code></span><div class="docblock"><p>CHECK: Can register a market for any serum program</p>
</div><span id="structfield.serum_market_external" class="structfield small-section-header"><a href="#structfield.serum_market_external" class="anchor field">§</a><code>serum_market_external: UncheckedAccount&lt;'info&gt;</code></span><div class="docblock"><p>CHECK: Can register any serum market</p> </div><span id="structfield.serum_market_external" class="structfield small-section-header"><a href="#structfield.serum_market_external" class="anchor field">§</a><code>serum_market_external: UncheckedAccount&lt;'info&gt;</code></span><div class="docblock"><p>CHECK: Can register any serum market</p>
</div><span id="structfield.serum_market" class="structfield small-section-header"><a href="#structfield.serum_market" class="anchor field">§</a><code>serum_market: AccountLoader&lt;'info, <a class="struct" href="../state/struct.Serum3Market.html" title="struct mango_v4::state::Serum3Market">Serum3Market</a>&gt;</code></span><span id="structfield.index_reservation" class="structfield small-section-header"><a href="#structfield.index_reservation" class="anchor field">§</a><code>index_reservation: AccountLoader&lt;'info, <a class="struct" href="../state/struct.Serum3MarketIndexReservation.html" title="struct mango_v4::state::Serum3MarketIndexReservation">Serum3MarketIndexReservation</a>&gt;</code></span><span id="structfield.quote_bank" class="structfield small-section-header"><a href="#structfield.quote_bank" class="anchor field">§</a><code>quote_bank: AccountLoader&lt;'info, <a class="struct" href="../state/struct.Bank.html" title="struct mango_v4::state::Bank">Bank</a>&gt;</code></span><span id="structfield.base_bank" class="structfield small-section-header"><a href="#structfield.base_bank" class="anchor field">§</a><code>base_bank: AccountLoader&lt;'info, <a class="struct" href="../state/struct.Bank.html" title="struct mango_v4::state::Bank">Bank</a>&gt;</code></span><span id="structfield.payer" class="structfield small-section-header"><a href="#structfield.payer" class="anchor field">§</a><code>payer: Signer&lt;'info&gt;</code></span><span id="structfield.system_program" class="structfield small-section-header"><a href="#structfield.system_program" class="anchor field">§</a><code>system_program: Program&lt;'info, System&gt;</code></span><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Accounts%3C'info%3E-for-Serum3RegisterMarket%3C'info%3E" class="impl"><a class="srclink rightside" href="../../src/mango_v4/accounts_ix/serum3_register_market.rs.html#5">source</a><a href="#impl-Accounts%3C'info%3E-for-Serum3RegisterMarket%3C'info%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'info&gt; Accounts&lt;'info&gt; for <a class="struct" href="struct.Serum3RegisterMarket.html" title="struct mango_v4::accounts_ix::Serum3RegisterMarket">Serum3RegisterMarket</a>&lt;'info&gt;<span class="where fmt-newline">where </div><span id="structfield.serum_market" class="structfield small-section-header"><a href="#structfield.serum_market" class="anchor field">§</a><code>serum_market: AccountLoader&lt;'info, <a class="struct" href="../state/struct.Serum3Market.html" title="struct mango_v4::state::Serum3Market">Serum3Market</a>&gt;</code></span><span id="structfield.index_reservation" class="structfield small-section-header"><a href="#structfield.index_reservation" class="anchor field">§</a><code>index_reservation: AccountLoader&lt;'info, <a class="struct" href="../state/struct.Serum3MarketIndexReservation.html" title="struct mango_v4::state::Serum3MarketIndexReservation">Serum3MarketIndexReservation</a>&gt;</code></span><span id="structfield.quote_bank" class="structfield small-section-header"><a href="#structfield.quote_bank" class="anchor field">§</a><code>quote_bank: AccountLoader&lt;'info, <a class="struct" href="../state/struct.Bank.html" title="struct mango_v4::state::Bank">Bank</a>&gt;</code></span><span id="structfield.base_bank" class="structfield small-section-header"><a href="#structfield.base_bank" class="anchor field">§</a><code>base_bank: AccountLoader&lt;'info, <a class="struct" href="../state/struct.Bank.html" title="struct mango_v4::state::Bank">Bank</a>&gt;</code></span><span id="structfield.payer" class="structfield small-section-header"><a href="#structfield.payer" class="anchor field">§</a><code>payer: Signer&lt;'info&gt;</code></span><span id="structfield.system_program" class="structfield small-section-header"><a href="#structfield.system_program" class="anchor field">§</a><code>system_program: Program&lt;'info, System&gt;</code></span><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Accounts%3C'info%3E-for-Serum3RegisterMarket%3C'info%3E" class="impl"><a class="srclink rightside" href="../../src/mango_v4/accounts_ix/serum3_register_market.rs.html#5">source</a><a href="#impl-Accounts%3C'info%3E-for-Serum3RegisterMarket%3C'info%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'info&gt; Accounts&lt;'info&gt; for <a class="struct" href="struct.Serum3RegisterMarket.html" title="struct mango_v4::accounts_ix::Serum3RegisterMarket">Serum3RegisterMarket</a>&lt;'info&gt;<span class="where fmt-newline">where
'info: 'info,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.try_accounts" class="method trait-impl"><a class="srclink rightside" href="../../src/mango_v4/accounts_ix/serum3_register_market.rs.html#5">source</a><a href="#method.try_accounts" class="anchor">§</a><h4 class="code-header">fn <a class="fn">try_accounts</a>( 'info: 'info,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.try_accounts" class="method trait-impl"><a class="srclink rightside" href="../../src/mango_v4/accounts_ix/serum3_register_market.rs.html#5">source</a><a href="#method.try_accounts" class="anchor">§</a><h4 class="code-header">fn <a class="fn">try_accounts</a>(

File diff suppressed because one or more lines are too long

View File

@ -58,12 +58,12 @@
</span><span class="kw">pub struct </span>Serum3RegisterMarket&lt;<span class="lifetime">&#39;info</span>&gt; { </span><span class="kw">pub struct </span>Serum3RegisterMarket&lt;<span class="lifetime">&#39;info</span>&gt; {
<span class="attr">#[account( <span class="attr">#[account(
<span class="kw-2">mut</span>, <span class="kw-2">mut</span>,
has_one = admin,
constraint = group.load()<span class="question-mark">?</span>.is_ix_enabled(IxGate::Serum3RegisterMarket) @ MangoError::IxIsDisabled, constraint = group.load()<span class="question-mark">?</span>.is_ix_enabled(IxGate::Serum3RegisterMarket) @ MangoError::IxIsDisabled,
constraint = group.load()<span class="question-mark">?</span>.serum3_supported() constraint = group.load()<span class="question-mark">?</span>.serum3_supported()
)] )]
</span><span class="kw">pub </span>group: AccountLoader&lt;<span class="lifetime">&#39;info</span>, Group&gt;, </span><span class="kw">pub </span>group: AccountLoader&lt;<span class="lifetime">&#39;info</span>, Group&gt;,
<span class="kw">pub </span>admin: Signer&lt;<span class="lifetime">&#39;info</span>&gt;, <span class="doccomment">/// group admin or fast listing admin, checked at #1
</span><span class="kw">pub </span>admin: Signer&lt;<span class="lifetime">&#39;info</span>&gt;,
<span class="doccomment">/// CHECK: Can register a market for any serum program <span class="doccomment">/// CHECK: Can register a market for any serum program
</span><span class="kw">pub </span>serum_program: UncheckedAccount&lt;<span class="lifetime">&#39;info</span>&gt;, </span><span class="kw">pub </span>serum_program: UncheckedAccount&lt;<span class="lifetime">&#39;info</span>&gt;,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long