mirror of openzeppelin-contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
openzeppelin-contracts/docs/contract.hbs

66 lines
998 B

{{#linkable}}
:{{name}}: pass:normal[xref:#{{anchor}}[`{{name}}`]]
{{/linkable}}
[.contract]
[[{{anchor}}]]
=== `{{name}}`
{{natspec.devdoc}}
{{#if modifiers}}
[.contract-index]
.Modifiers
{{#inheritance}}
{{#ownModifiers}}
* xref:#{{anchor}}[`{{signature}}`]
{{/ownModifiers}}
{{/inheritance}}
{{/if}}
{{#if functions}}
[.contract-index]
.Functions
{{#inheritance}}
{{#ownFunctions}}
* xref:#{{anchor}}[`{{signature}}`]
{{/ownFunctions}}
{{/inheritance}}
{{/if}}
{{#if events}}
[.contract-index]
.Events
{{#inheritance}}
{{#ownEvents}}
* xref:#{{anchor}}[`{{signature}}`]
{{/ownEvents}}
{{/inheritance}}
{{/if}}
{{#ownModifiers}}
[.contract-item]
[[{{anchor}}]]
==== `{{name}}({{args}})`
{{natspec.devdoc}}
{{/ownModifiers}}
{{#ownFunctions}}
[.contract-item]
[[{{anchor}}]]
==== `{{name}}({{args}}){{#if outputs}}{{outputs}}{{/if}}`
{{natspec.devdoc}}
{{/ownFunctions}}
{{#ownEvents}}
[.contract-item]
[[{{anchor}}]]
==== `{{name}}({{args}})`
{{natspec.devdoc}}
{{/ownEvents}}