123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 |
- {{#each items}}
- :{{name}}: pass:normal[xref:#{{anchor}}[`++{{name}}++`]]
- {{/each}}
- {{#each functions}}
- :{{fullname}}: pass:normal[xref:#{{anchor}}[`++{{name}}++`]]
- {{/each}}
- [.contract]
- [[{{anchor}}]]
- === `++{{name}}++` link:https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v{{oz-version}}/{{__item_context.file.absolutePath}}[{github-icon},role=heading-link]
- [.hljs-theme-light.nopadding]
- ```solidity
- import "@openzeppelin/{{__item_context.file.absolutePath}}";
- ```
- {{{natspec.dev}}}
- {{#if modifiers}}
- [.contract-index]
- .Modifiers
- --
- {{#each modifiers}}
- * {xref-{{anchor~}} }[`++{{name}}({{names params}})++`]
- {{/each}}
- --
- {{/if}}
- {{#if has-functions}}
- [.contract-index]
- .Functions
- --
- {{#each inherited-functions}}
- {{#unless @first}}
- [.contract-subindex-inherited]
- .{{contract.name}}
- {{/unless}}
- {{#each functions}}
- * {xref-{{anchor~}} }[`++{{name}}({{names params}})++`]
- {{/each}}
- {{/each}}
- --
- {{/if}}
- {{#if has-events}}
- [.contract-index]
- .Events
- --
- {{#each inheritance}}
- {{#unless @first}}
- [.contract-subindex-inherited]
- .{{name}}
- {{/unless}}
- {{#each events}}
- * {xref-{{anchor~}} }[`++{{name}}({{names params}})++`]
- {{/each}}
- {{/each}}
- --
- {{/if}}
- {{#if has-errors}}
- [.contract-index]
- .Errors
- --
- {{#each inheritance}}
- {{#unless @first}}
- [.contract-subindex-inherited]
- .{{name}}
- {{/unless}}
- {{#each errors}}
- * {xref-{{anchor~}} }[`++{{name}}({{names params}})++`]
- {{/each}}
- {{/each}}
- --
- {{/if}}
- {{#if has-internal-variables}}
- [.contract-index]
- .Internal Variables
- --
- {{#each inheritance}}
- {{#unless @first}}
- [.contract-subindex-inherited]
- .{{name}}
- {{/unless}}
- {{#each internal-variables}}
- * {xref-{{anchor~}} }[`++{{typeDescriptions.typeString}} {{#if constant}}constant{{/if}} {{name}}++`]
- {{/each}}
- {{/each}}
- --
- {{/if}}
- {{#each modifiers}}
- [.contract-item]
- [[{{anchor}}]]
- ==== `[.contract-item-name]#++{{name}}++#++({{typed-params params}})++` [.item-kind]#modifier#
- {{{natspec.dev}}}
- {{/each}}
- {{#each functions}}
- [.contract-item]
- [[{{anchor}}]]
- ==== `[.contract-item-name]#++{{name}}++#++({{typed-params params}}){{#if returns2}} → {{typed-params returns2}}{{/if}}++` [.item-kind]#{{visibility}}#
- {{{natspec.dev}}}
- {{/each}}
- {{#each events}}
- [.contract-item]
- [[{{anchor}}]]
- ==== `[.contract-item-name]#++{{name}}++#++({{typed-params params}})++` [.item-kind]#event#
- {{{natspec.dev}}}
- {{/each}}
- {{#each errors}}
- [.contract-item]
- [[{{anchor}}]]
- ==== `[.contract-item-name]#++{{name}}++#++({{typed-params params}})++` [.item-kind]#error#
- {{{natspec.dev}}}
- {{/each}}
- {{#each internal-variables}}
- [.contract-item]
- [[{{anchor}}]]
- ==== `{{typeDescriptions.typeString}} [.contract-item-name]#++{{name}}++#` [.item-kind]#internal{{#if constant}} constant{{/if}}#
- {{{natspec.dev}}}
- {{/each}}
|