contract.hbs 998 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {{#linkable}}
  2. :{{name}}: pass:normal[xref:#{{anchor}}[`{{name}}`]]
  3. {{/linkable}}
  4. [.contract]
  5. [[{{anchor}}]]
  6. === `{{name}}`
  7. {{natspec.devdoc}}
  8. {{#if modifiers}}
  9. [.contract-index]
  10. .Modifiers
  11. {{#inheritance}}
  12. {{#ownModifiers}}
  13. * xref:#{{anchor}}[`{{signature}}`]
  14. {{/ownModifiers}}
  15. {{/inheritance}}
  16. {{/if}}
  17. {{#if functions}}
  18. [.contract-index]
  19. .Functions
  20. {{#inheritance}}
  21. {{#ownFunctions}}
  22. * xref:#{{anchor}}[`{{signature}}`]
  23. {{/ownFunctions}}
  24. {{/inheritance}}
  25. {{/if}}
  26. {{#if events}}
  27. [.contract-index]
  28. .Events
  29. {{#inheritance}}
  30. {{#ownEvents}}
  31. * xref:#{{anchor}}[`{{signature}}`]
  32. {{/ownEvents}}
  33. {{/inheritance}}
  34. {{/if}}
  35. {{#ownModifiers}}
  36. [.contract-item]
  37. [[{{anchor}}]]
  38. ==== `{{name}}({{args}})`
  39. {{natspec.devdoc}}
  40. {{/ownModifiers}}
  41. {{#ownFunctions}}
  42. [.contract-item]
  43. [[{{anchor}}]]
  44. ==== `{{name}}({{args}}){{#if outputs}} → {{outputs}}{{/if}}`
  45. {{natspec.devdoc}}
  46. {{/ownFunctions}}
  47. {{#ownEvents}}
  48. [.contract-item]
  49. [[{{anchor}}]]
  50. ==== `{{name}}({{args}})`
  51. {{natspec.devdoc}}
  52. {{/ownEvents}}