Skip to content

Commit

Permalink
Deploy website - based on c6c5db0
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Aug 28, 2023
1 parent 07dad3b commit 54bd760
Show file tree
Hide file tree
Showing 225 changed files with 444 additions and 444 deletions.
4 changes: 2 additions & 2 deletions 3.x/basics/cargo-toml/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<title data-rh="true">Cargo.toml | ink! documentation</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://use.ink/3.x/basics/cargo-toml"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="3.x"><meta data-rh="true" name="docusaurus_tag" content="docs-default-3.x"><meta data-rh="true" name="docsearch:version" content="3.x"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-3.x"><meta data-rh="true" property="og:title" content="Cargo.toml | ink! documentation"><meta data-rh="true" name="description" content="TODO go through a typical Cargo.toml and explain what the dependencies mean"><meta data-rh="true" property="og:description" content="TODO go through a typical Cargo.toml and explain what the dependencies mean"><link data-rh="true" rel="icon" href="/img/favicon.png"><link data-rh="true" rel="canonical" href="https://use.ink/3.x/basics/cargo-toml"><link data-rh="true" rel="alternate" href="https://use.ink/3.x/basics/cargo-toml" hreflang="en-GB"><link data-rh="true" rel="alternate" href="https://use.ink/es/3.x/basics/cargo-toml" hreflang="es-ES"><link data-rh="true" rel="alternate" href="https://use.ink/3.x/basics/cargo-toml" hreflang="x-default"><link rel="stylesheet" href="fonts/fonts.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fredoka+One&family=Montserrat:wght@400;500;700&display=swap">
<script src="https://apisa.parity.io/latest.js" defer="defer"></script><link rel="stylesheet" href="/assets/css/styles.7f538a3e.css">
<link rel="preload" href="/assets/js/runtime~main.0d6a3f64.js" as="script">
<link rel="preload" href="/assets/js/runtime~main.f77d7952.js" as="script">
<link rel="preload" href="/assets/js/main.748d5c48.js" as="script">
</head>
<body class="navigation-with-keyboard">
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}return t}()||function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"dark")}()</script><div id="__docusaurus">
<div role="region" aria-label="Skip to main content"><a class="skipToContent_fXgn" href="#docusaurus_skipToContent_fallback">Skip to main content</a></div><nav aria-label="Main" class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/"><div class="navbar__logo"><img src="/img/text-black.svg" alt="ink!" class="themedImage_ToTc themedImage--light_HNdA"><img src="/img/text-white.svg" alt="ink!" class="themedImage_ToTc themedImage--dark_i4oU"></div><b class="navbar__title text--truncate"></b></a></div><div class="navbar__items navbar__items--right"><div class="navbar__item dropdown dropdown--hoverable dropdown--right"><a class="navbar__link" aria-haspopup="true" aria-expanded="false" role="button" href="/3.x/">3.x</a><ul class="dropdown__menu"><li><a class="dropdown__link" href="/">4.x</a></li><li><a aria-current="page" class="dropdown__link dropdown__link--active" href="/3.x/basics/cargo-toml">3.x</a></li></ul></div><div class="navbar__item dropdown dropdown--hoverable dropdown--right"><a href="#" aria-haspopup="true" aria-expanded="false" role="button" class="navbar__link">Language</a><ul class="dropdown__menu"><li><a class="dropdown__link" target="_parent" href="/3.x/">English</a></li><li><a class="dropdown__link" target="_parent" href="/es/">Spanish</a></li></ul></div><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type="button" disabled="" title="Switch between dark and light mode (currently dark mode)" aria-label="Switch between dark and light mode (currently dark mode)" aria-live="polite"><svg viewBox="0 0 24 24" width="24" height="24" class="lightToggleIcon_pyhR"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" class="darkToggleIcon_wfgR"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg></button></div><div class="searchBox_ZlJk"><div class="navbar__search searchBarContainer_NW3z"><input placeholder="Search" aria-label="Search" class="navbar__search-input"><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_z2l0 docsWrapper_BCFX"><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type="button"></button><div class="docPage__5DB"><main class="docMainContainer_gTbr docMainContainerEnhanced_Uz_u"><div class="container padding-top--md padding-bottom--lg"><div class="row"><div class="col docItemCol_VOVn"><div class="docItemContainer_Djhp"><article><span class="theme-doc-version-badge badge badge--secondary">Version: 3.x</span><div class="theme-doc-markdown markdown"><header><h1>Cargo.toml</h1></header><p>TODO go through a typical Cargo.toml and explain what the dependencies mean</p></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="theme-doc-footer-edit-meta-row row"><div class="col"><a href="https://github.com/paritytech/ink-docs/edit/master/versioned_docs/version-3.x/basics/cargo-toml.md" target="_blank" rel="noreferrer noopener" class="theme-edit-this-page"><svg fill="currentColor" height="20" width="20" viewBox="0 0 40 40" class="iconEdit_Z9Sw" aria-hidden="true"><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"></path></g></svg>Edit this page</a></div><div class="col lastUpdated_vwxv"></div></div></footer></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="Docs pages navigation"></nav></div></div></div></div></main></div></div></div>
<script src="/assets/js/runtime~main.0d6a3f64.js"></script>
<script src="/assets/js/runtime~main.f77d7952.js"></script>
<script src="/assets/js/main.748d5c48.js"></script>
</body>
</html>
4 changes: 2 additions & 2 deletions 3.x/basics/contract-template/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions 3.x/basics/contract-testing/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions 3.x/basics/cross-contract-calling/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions 3.x/basics/environment-functions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title data-rh="true">Environment Functions | ink! documentation</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://use.ink/3.x/basics/environment-functions"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="3.x"><meta data-rh="true" name="docusaurus_tag" content="docs-default-3.x"><meta data-rh="true" name="docsearch:version" content="3.x"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-3.x"><meta data-rh="true" property="og:title" content="Environment Functions | ink! documentation"><meta data-rh="true" name="description" content="ink! exposes a number of handy environment functions."><meta data-rh="true" property="og:description" content="ink! exposes a number of handy environment functions."><link data-rh="true" rel="icon" href="/img/favicon.png"><link data-rh="true" rel="canonical" href="https://use.ink/3.x/basics/environment-functions"><link data-rh="true" rel="alternate" href="https://use.ink/3.x/basics/environment-functions" hreflang="en-GB"><link data-rh="true" rel="alternate" href="https://use.ink/es/3.x/basics/environment-functions" hreflang="es-ES"><link data-rh="true" rel="alternate" href="https://use.ink/3.x/basics/environment-functions" hreflang="x-default"><link rel="stylesheet" href="fonts/fonts.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fredoka+One&family=Montserrat:wght@400;500;700&display=swap">
<script src="https://apisa.parity.io/latest.js" defer="defer"></script><link rel="stylesheet" href="/assets/css/styles.7f538a3e.css">
<link rel="preload" href="/assets/js/runtime~main.0d6a3f64.js" as="script">
<link rel="preload" href="/assets/js/runtime~main.f77d7952.js" as="script">
<link rel="preload" href="/assets/js/main.748d5c48.js" as="script">
</head>
<body class="navigation-with-keyboard">
Expand All @@ -15,7 +15,7 @@
A full overview <a href="https://docs.rs/ink_env/3.3.1/ink_env/#functions" target="_blank" rel="noopener noreferrer">is found here</a>.</p><p>In an <code>#[ink(constructor)]</code> use <code>Self::env()</code> to access those,
in an <code>#[ink(message)]</code> use <code>self.env()</code>.
So e.g. <code>Self::env().caller()</code> or <code>self.env().caller()</code>.</p><p>Some handy functions include:</p><ul><li><a href="https://docs.rs/ink_env/3.3.1/ink_env/fn.caller.html" target="_blank" rel="noopener noreferrer"><code>caller()</code></a>: Returns the address of the caller of the executed contract.</li><li><a href="https://docs.rs/ink_env/3.3.1/ink_env/fn.account_id.html" target="_blank" rel="noopener noreferrer"><code>account_id()</code></a>: Returns the account ID of the executed contract.</li><li><a href="https://docs.rs/ink_env/3.3.1/ink_env/fn.balance.html" target="_blank" rel="noopener noreferrer"><code>balance()</code></a>: Returns the balance of the executed contract.</li><li><a href="https://docs.rs/ink_env/3.3.1/ink_env/fn.block_number.html" target="_blank" rel="noopener noreferrer"><code>block_number()</code></a>: Returns the current block number.</li><li><a href="https://docs.rs/ink_env/3.3.1/ink_env/fn.random.html" target="_blank" rel="noopener noreferrer"><code>random()</code></a>: Returns a random hash seed.</li><li><a href="https://docs.rs/ink_env/3.3.1/ink_env/fn.emit_event.html" target="_blank" rel="noopener noreferrer"><code>emit_event(…)</code></a>: Emits an event with the given event data.</li><li><a href="https://docs.rs/ink_env/3.3.1/ink_env/fn.transfer.html" target="_blank" rel="noopener noreferrer"><code>transfer(…)</code></a>: Transfers value from the contract to the destination account ID.</li><li><a href="https://docs.rs/ink_env/3.3.1/ink_env/fn.hash_bytes.html" target="_blank" rel="noopener noreferrer"><code>hash_bytes(…)</code></a>: Conducts the crypto hash of the given input and stores the result in output.</li><li><a href="https://docs.rs/ink_env/3.3.1/ink_env/#functions" target="_blank" rel="noopener noreferrer">…and many more</a>.</li></ul></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="theme-doc-footer-edit-meta-row row"><div class="col"><a href="https://github.com/paritytech/ink-docs/edit/master/versioned_docs/version-3.x/basics/env-functions.md" target="_blank" rel="noreferrer noopener" class="theme-edit-this-page"><svg fill="currentColor" height="20" width="20" viewBox="0 0 40 40" class="iconEdit_Z9Sw" aria-hidden="true"><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"></path></g></svg>Edit this page</a></div><div class="col lastUpdated_vwxv"></div></div></footer></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="Docs pages navigation"><a class="pagination-nav__link pagination-nav__link--prev" href="/3.x/basics/contract-testing"><div class="pagination-nav__sublabel">Previous</div><div class="pagination-nav__label">Contract Testing</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/3.x/metadata"><div class="pagination-nav__sublabel">Next</div><div class="pagination-nav__label">Metadata</div></a></nav></div></div></div></div></main></div></div></div>
<script src="/assets/js/runtime~main.0d6a3f64.js"></script>
<script src="/assets/js/runtime~main.f77d7952.js"></script>
<script src="/assets/js/main.748d5c48.js"></script>
</body>
</html>
4 changes: 2 additions & 2 deletions 3.x/basics/events/index.html

Large diffs are not rendered by default.

Loading

0 comments on commit 54bd760

Please sign in to comment.