Merge branch 'master'

This commit is contained in:
Hadrien Croubois
2021-01-26 18:58:15 +01:00
99 changed files with 2517 additions and 15875 deletions

View File

@ -1,5 +1,5 @@
{{~#*inline "typed-variable-array"~}}
{{#each .}}++[.var-type]#++{{typeName}}++#++{{#if name}} ++[.var-name]#++{{name}}++#++{{/if}}{{#unless @last}}, {{/unless}}{{/each}}
{{#each .}}{{typeName}}{{#if name}} {{name}}{{/if}}{{#unless @last}}, {{/unless}}{{/each}}
{{~/inline~}}
{{#each linkable}}
@ -12,19 +12,12 @@
{{natspec.devdoc}}
{{#if modifiers}}
{{#if ownModifiers}}
[.contract-index]
.Modifiers
--
{{#each inheritedItems}}
{{#unless @first}}
[.contract-subindex-inherited]
.{{contract.name}}
{{/unless}}
{{#each modifiers}}
{{#each ownModifiers}}
* {xref-{{slug anchor~}} }[`++{{name}}({{args.names}})++`]
{{/each}}
{{/each}}
--
{{/if}}
@ -34,6 +27,7 @@
.Functions
--
{{#each inheritedItems}}
{{#if (or @first (ne contract.name "Context"))}}
{{#unless @first}}
[.contract-subindex-inherited]
.{{contract.name}}
@ -42,6 +36,7 @@
* {xref-{{slug anchor~}} }[`++{{name}}({{args.names}})++`]
{{/each}}
{{/if}}
{{/each}}
--
{{/if}}
@ -66,7 +61,7 @@
{{#each ownModifiers}}
[.contract-item]
[[{{anchor}}]]
==== `++{{name}}({{> typed-variable-array args}})++` [.item-kind]#modifier#
==== `[.contract-item-name]#++{{name}}++#++({{> typed-variable-array args}})++` [.item-kind]#modifier#
{{natspec.devdoc}}
@ -75,7 +70,7 @@
{{#each ownFunctions}}
[.contract-item]
[[{{anchor}}]]
==== `++{{name}}({{> typed-variable-array args}}){{#if outputs}}{{> typed-variable-array outputs}}{{/if}}++` [.item-kind]#{{visibility}}#
==== `[.contract-item-name]#++{{name}}++#++({{> typed-variable-array args}}){{#if outputs}}{{> typed-variable-array outputs}}{{/if}}++` [.item-kind]#{{visibility}}#
{{natspec.devdoc}}
@ -84,7 +79,7 @@
{{#each ownEvents}}
[.contract-item]
[[{{anchor}}]]
==== `++{{name}}({{> typed-variable-array args}})++` [.item-kind]#event#
==== `[.contract-item-name]#++{{name}}++#++({{> typed-variable-array args}})++` [.item-kind]#event#
{{natspec.devdoc}}