Skip to content

Commit 7af0455

Browse files
committed
Updated docs for master and pushed to gh-pages
1 parent 8f969c9 commit 7af0455

100 files changed

Lines changed: 3477 additions & 3209 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A well known selector reserved for the message required to be defined alongside a wildcard selector. See IIP-2."><title>IIP2_WILDCARD_COMPLEMENT_SELECTOR in ink - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-1a91846b.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="ink" data-themes="" data-resource-suffix="" data-rustdoc-version="1.88.0 (6b00bc388 2025-06-23)" data-channel="1.88.0" data-search-js="search-f7877310.js" data-settings-js="settings-5514c975.js" ><script src="../static.files/storage-4e99c027.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-7ef8a74a.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-893ab5e7.css"></noscript><link rel="icon" href="https://use.ink/crate-docs/favicon.png"></head><body class="rustdoc constant"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../ink/index.html"><img src="https://use.ink/img/crate-docs/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../ink/index.html"><img src="https://use.ink/img/crate-docs/logo.png" alt="logo"></a><h2><a href="../ink/index.html">ink</a><span class="version">6.0.0-beta.1</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="index.html">ink</a></div><h1>Constant <span class="constant">IIP2_WILDCARD_COMPLEMENT_SELECTOR</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub const IIP2_WILDCARD_COMPLEMENT_SELECTOR: [<a class="primitive" href="https://doc.rust-lang.org/1.88.0/std/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/1.88.0/std/primitive.array.html">4</a>];</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A well known selector reserved for the message required to be defined
22
alongside a wildcard selector. See <a href="https://github.com/use-ink/ink/issues/1676">IIP-2</a>.</p>
3-
<p>Calculated from <code>selector_bytes!("IIP2_WILDCARD_COMPLEMENT")</code></p>
3+
<p>Calculated from <code>selector_bytes!(Abi::Ink, "IIP2_WILDCARD_COMPLEMENT")</code></p>
44
</div></details></section></div></main></body></html>

ink/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `ink` crate."><title>ink - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-1a91846b.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="ink" data-themes="" data-resource-suffix="" data-rustdoc-version="1.88.0 (6b00bc388 2025-06-23)" data-channel="1.88.0" data-search-js="search-f7877310.js" data-settings-js="settings-5514c975.js" ><script src="../static.files/storage-4e99c027.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-7ef8a74a.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-893ab5e7.css"></noscript><link rel="icon" href="https://use.ink/crate-docs/favicon.png"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../ink/index.html"><img src="https://use.ink/img/crate-docs/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../ink/index.html"><img src="https://use.ink/img/crate-docs/logo.png" alt="logo"></a><h2><a href="../ink/index.html">ink</a><span class="version">6.0.0-beta.1</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#reexports">Crate Items</a></h3><ul class="block"><li><a href="#reexports" title="Re-exports">Re-exports</a></li><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#macros" title="Macros">Macros</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#constants" title="Constants">Constants</a></li><li><a href="#statics" title="Statics">Statics</a></li><li><a href="#traits" title="Traits">Traits</a></li><li><a href="#functions" title="Functions">Functions</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li><li><a href="#attributes" title="Attribute Macros">Attribute Macros</a></li><li><a href="#derives" title="Derive Macros">Derive Macros</a></li></ul></section><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Crate <span>ink</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/ink/lib.rs.html#15-163">Source</a> </span></div><h2 id="reexports" class="section-header">Re-exports<a href="#reexports" class="anchor">§</a></h2><dl class="item-table reexports"><dt><code>pub extern crate polkavm_derive;</code></dt><dt id="reexport.env"><code>pub use ink_env as env;</code></dt><dt id="reexport.metadata"><code>pub use ink_metadata as metadata;</code></dt><dt id="reexport.prelude"><code>pub use ink_prelude as prelude;</code></dt><dt id="reexport.primitives"><code>pub use ink_primitives as primitives;</code></dt><dt id="reexport.scale"><code>pub use scale;</code></dt><dt id="reexport.scale_info"><code>pub use scale_info;</code></dt><dt id="reexport.xcm"><code>pub use xcm;</code></dt></dl><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="abi/index.html" title="mod ink::abi">abi</a></dt><dd>Abstractions for ABI representation and encoding/decoding.</dd><dt><a class="mod" href="codegen/index.html" title="mod ink::codegen">codegen</a></dt><dd>Definitions and facilities mainly used by the ink! codegen.</dd><dt><a class="mod" href="reflect/index.html" title="mod ink::reflect">reflect</a></dt><dd>Definitions and utilities for ink! smart contract static reflection.</dd><dt><a class="mod" href="sol/index.html" title="mod ink::sol">sol</a></dt><dd>Abstractions for implementing Solidity ABI encoding/decoding for arbitrary Rust types.</dd><dt><a class="mod" href="storage/index.html" title="mod ink::storage">storage</a></dt></dl><h2 id="macros" class="section-header">Macros<a href="#macros" class="anchor">§</a></h2><dl class="item-table"><dt><a class="macro" href="macro.blake2x256.html" title="macro ink::blake2x256">blake2x256</a></dt><dd>Computes and expands into the BLAKE2b 256-bit hash of the string input.</dd><dt><a class="macro" href="macro.contract_ref_from_path.html" title="macro ink::contract_ref_from_path">contract_<wbr>ref_<wbr>from_<wbr>path</a></dt><dd>Generates a wrapper which can be used for interacting with the contract.</dd><dt><a class="macro" href="macro.keccak_256.html" title="macro ink::keccak_256">keccak_<wbr>256</a></dt><dd>Computes the Keccak-256 hash of the given string.</dd><dt><a class="macro" href="macro.message_builder.html" title="macro ink::message_builder">message_<wbr>builder</a></dt><dd>Creates an instance of a message builder for an <code>#[ink::trait_definition]</code>.</dd><dt><a class="macro" href="macro.selector_bytes.html" title="macro ink::selector_bytes">selector_<wbr>bytes</a></dt><dd>Computes the ink! selector of the string and expands into its byte representation.</dd><dt><a class="macro" href="macro.selector_id.html" title="macro ink::selector_id">selector_<wbr>id</a></dt><dd>Computes the ink! selector of the string and expands into its <code>u32</code> representation.</dd><dt><a class="macro" href="macro.sol_error_selector.html" title="macro ink::sol_error_selector">sol_<wbr>error_<wbr>selector</a></dt><dd>Returns the selector of the equivalent <a href="https://soliditylang.org/blog/2021/04/21/custom-errors/">Solidity custom error</a>
1+
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `ink` crate."><title>ink - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-1a91846b.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="ink" data-themes="" data-resource-suffix="" data-rustdoc-version="1.88.0 (6b00bc388 2025-06-23)" data-channel="1.88.0" data-search-js="search-f7877310.js" data-settings-js="settings-5514c975.js" ><script src="../static.files/storage-4e99c027.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-7ef8a74a.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-893ab5e7.css"></noscript><link rel="icon" href="https://use.ink/crate-docs/favicon.png"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../ink/index.html"><img src="https://use.ink/img/crate-docs/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../ink/index.html"><img src="https://use.ink/img/crate-docs/logo.png" alt="logo"></a><h2><a href="../ink/index.html">ink</a><span class="version">6.0.0-beta.1</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#reexports">Crate Items</a></h3><ul class="block"><li><a href="#reexports" title="Re-exports">Re-exports</a></li><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#macros" title="Macros">Macros</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#constants" title="Constants">Constants</a></li><li><a href="#statics" title="Statics">Statics</a></li><li><a href="#traits" title="Traits">Traits</a></li><li><a href="#functions" title="Functions">Functions</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li><li><a href="#attributes" title="Attribute Macros">Attribute Macros</a></li><li><a href="#derives" title="Derive Macros">Derive Macros</a></li></ul></section><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Crate <span>ink</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/ink/lib.rs.html#15-163">Source</a> </span></div><h2 id="reexports" class="section-header">Re-exports<a href="#reexports" class="anchor">§</a></h2><dl class="item-table reexports"><dt><code>pub extern crate polkavm_derive;</code></dt><dt id="reexport.env"><code>pub use ink_env as env;</code></dt><dt id="reexport.metadata"><code>pub use ink_metadata as metadata;</code></dt><dt id="reexport.prelude"><code>pub use ink_prelude as prelude;</code></dt><dt id="reexport.primitives"><code>pub use ink_primitives as primitives;</code></dt><dt id="reexport.scale"><code>pub use scale;</code></dt><dt id="reexport.scale_info"><code>pub use scale_info;</code></dt><dt id="reexport.xcm"><code>pub use xcm;</code></dt></dl><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="abi/index.html" title="mod ink::abi">abi</a></dt><dd>Abstractions for ABI representation and encoding/decoding.</dd><dt><a class="mod" href="codegen/index.html" title="mod ink::codegen">codegen</a></dt><dd>Definitions and facilities mainly used by the ink! codegen.</dd><dt><a class="mod" href="reflect/index.html" title="mod ink::reflect">reflect</a></dt><dd>Definitions and utilities for ink! smart contract static reflection.</dd><dt><a class="mod" href="sol/index.html" title="mod ink::sol">sol</a></dt><dd>Abstractions for implementing Solidity ABI encoding/decoding for arbitrary Rust types.</dd><dt><a class="mod" href="storage/index.html" title="mod ink::storage">storage</a></dt></dl><h2 id="macros" class="section-header">Macros<a href="#macros" class="anchor">§</a></h2><dl class="item-table"><dt><a class="macro" href="macro.blake2x256.html" title="macro ink::blake2x256">blake2x256</a></dt><dd>Computes and expands into the BLAKE2b 256-bit hash of the string input.</dd><dt><a class="macro" href="macro.contract_ref_from_path.html" title="macro ink::contract_ref_from_path">contract_<wbr>ref_<wbr>from_<wbr>path</a></dt><dd>Generates a wrapper which can be used for interacting with the contract.</dd><dt><a class="macro" href="macro.keccak_256.html" title="macro ink::keccak_256">keccak_<wbr>256</a></dt><dd>Computes the Keccak-256 hash of the given string.</dd><dt><a class="macro" href="macro.message_builder.html" title="macro ink::message_builder">message_<wbr>builder</a></dt><dd>Creates an instance of a message builder for an <code>#[ink::trait_definition]</code>.</dd><dt><a class="macro" href="macro.selector_bytes.html" title="macro ink::selector_bytes">selector_<wbr>bytes</a></dt><dd>Computes the selector of the string and expands into its byte representation.</dd><dt><a class="macro" href="macro.selector_id.html" title="macro ink::selector_id">selector_<wbr>id</a></dt><dd>Computes the selector of the string and expands into its <code>u32</code> representation.</dd><dt><a class="macro" href="macro.sol_error_selector.html" title="macro ink::sol_error_selector">sol_<wbr>error_<wbr>selector</a></dt><dd>Returns the selector of the equivalent <a href="https://soliditylang.org/blog/2021/04/21/custom-errors/">Solidity custom error</a>
22
for given the name (as a <code>const</code> expression) and a tuple type
33
representing the error parameters types.</dd></dl><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.EnvAccess.html" title="struct ink::EnvAccess">EnvAccess</a></dt><dd>The API behind the <code>self.env()</code> and <code>Self::env()</code> syntax in ink!.</dd><dt><a class="struct" href="struct.H160.html" title="struct ink::H160">H160</a></dt><dd>Fixed-size uninterpreted hash type with 20 bytes (160 bits) size.</dd><dt><a class="struct" href="struct.H256.html" title="struct ink::H256">H256</a></dt><dd>Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.</dd><dt><a class="struct" href="struct.U256.html" title="struct ink::U256">U256</a></dt><dd>Little-endian large integer type
44
256-bit unsigned integer.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.LangError.html" title="enum ink::LangError">Lang<wbr>Error</a></dt><dd>An error emitted by the smart contracting language.</dd></dl><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><dl class="item-table"><dt><a class="constant" href="constant.IIP2_WILDCARD_COMPLEMENT_SELECTOR.html" title="constant ink::IIP2_WILDCARD_COMPLEMENT_SELECTOR">IIP2_<wbr>WILDCARD_<wbr>COMPLEMENT_<wbr>SELECTOR</a></dt><dd>A well known selector reserved for the message required to be defined

0 commit comments

Comments
 (0)