Deployed 256df25 to master with MkDocs 1.2.4 and mike 1.1.2
This commit is contained in:
parent
bc5603430b
commit
48ff7a8764
@ -1485,6 +1485,7 @@ and this project adheres to <a href="https://semver.org/spec/v2.0.0.html">Semant
|
||||
<h3 id="changed">Changed</h3>
|
||||
<ul>
|
||||
<li>Type definitions serialised to ACI as <code>typedefs</code> field instead of <code>type_defs</code> to increase compatibility.</li>
|
||||
<li>Check contracts and entrypoints modifiers when implementing interfaces.</li>
|
||||
</ul>
|
||||
<h3 id="removed">Removed</h3>
|
||||
<h3 id="fixed">Fixed</h3>
|
||||
|
File diff suppressed because one or more lines are too long
@ -2,47 +2,47 @@
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2022-11-01</lastmod>
|
||||
<lastmod>2022-11-17</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2022-11-01</lastmod>
|
||||
<lastmod>2022-11-17</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2022-11-01</lastmod>
|
||||
<lastmod>2022-11-17</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2022-11-01</lastmod>
|
||||
<lastmod>2022-11-17</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2022-11-01</lastmod>
|
||||
<lastmod>2022-11-17</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2022-11-01</lastmod>
|
||||
<lastmod>2022-11-17</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2022-11-01</lastmod>
|
||||
<lastmod>2022-11-17</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2022-11-01</lastmod>
|
||||
<lastmod>2022-11-17</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2022-11-01</lastmod>
|
||||
<lastmod>2022-11-17</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
</urlset>
|
Binary file not shown.
@ -1190,6 +1190,16 @@ contract interface X : Z =
|
||||
entrypoint y() = 1
|
||||
entrypoint z() = 1
|
||||
</code></pre></div>
|
||||
<h4 id="adding-or-removing-modifiers">Adding or removing modifiers</h4>
|
||||
<p>When a <code>contract</code> or a <code>contract interface</code> implements another <code>contract interface</code>, the <code>payable</code> and <code>stateful</code> modifiers can be kept or changed, both in the contract and in the entrypoints, according to the following rules:</p>
|
||||
<ol>
|
||||
<li>A <code>payable</code> contract or interface can implement a <code>payable</code> interface or a non-<code>payable</code> interface.</li>
|
||||
<li>A non-<code>payable</code> contract or interface can only implement a non-<code>payable</code> interface, and cannot implement a <code>payable</code> interface.</li>
|
||||
<li>A <code>payable</code> entrypoint can implement a <code>payable</code> entrypoint or a non-<code>payable</code> entrypoint.</li>
|
||||
<li>A non-<code>payable</code> entrypoint can only implement a non-<code>payable</code> entrypoint, and cannot implement a <code>payable</code> entrypoint.</li>
|
||||
<li>A non-<code>stateful</code> entrypoint can implement a <code>stateful</code> entrypoint or a non-<code>stateful</code> entrypoint.</li>
|
||||
<li>A <code>stateful</code> entrypoint can only implement a <code>stateful</code> entrypoint, and cannot implement a non-<code>stateful</code> entrypoint.</li>
|
||||
</ol>
|
||||
<h4 id="subtyping-and-variance">Subtyping and variance</h4>
|
||||
<p>Subtyping in Sophia follows common rules that take type variance into account. As described by <a href="https://en.wikipedia.org/wiki/Covariance_and_contravariance_(computer_science)">Wikipedia</a>, </p>
|
||||
<blockquote>
|
||||
|
Loading…
x
Reference in New Issue
Block a user