aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-templates/partials/event.handlebars
diff options
context:
space:
mode:
Diffstat (limited to 'packages/contract-templates/partials/event.handlebars')
-rw-r--r--packages/contract-templates/partials/event.handlebars5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/contract-templates/partials/event.handlebars b/packages/contract-templates/partials/event.handlebars
new file mode 100644
index 000000000..61d523ca2
--- /dev/null
+++ b/packages/contract-templates/partials/event.handlebars
@@ -0,0 +1,5 @@
+export interface {{@root.contractName}}{{name}}EventArgs extends DecodedLogArgs {
+ {{#each inputs}}
+ {{name}}: {{#returnType type components}}{{/returnType}};
+ {{/each}}
+}