aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/contract_templates/partials/event.handlebars
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-06 19:07:19 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-02-07 09:27:47 +0800
commita7c51593e4e6bc514f4f975fdc6fb9207c52ac8e (patch)
tree65756c6c7d08abf1b1bf1c577fe97bde2bd5547a /packages/0x.js/contract_templates/partials/event.handlebars
parent218876ac196a1b1bf7eba096a7bc6a2b3b8556bf (diff)
downloaddexon-sol-tools-a7c51593e4e6bc514f4f975fdc6fb9207c52ac8e.tar.gz
dexon-sol-tools-a7c51593e4e6bc514f4f975fdc6fb9207c52ac8e.tar.zst
dexon-sol-tools-a7c51593e4e6bc514f4f975fdc6fb9207c52ac8e.zip
Use abi-gen for events in 0x.js
Diffstat (limited to 'packages/0x.js/contract_templates/partials/event.handlebars')
-rw-r--r--packages/0x.js/contract_templates/partials/event.handlebars5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/0x.js/contract_templates/partials/event.handlebars b/packages/0x.js/contract_templates/partials/event.handlebars
new file mode 100644
index 000000000..8f8676a4f
--- /dev/null
+++ b/packages/0x.js/contract_templates/partials/event.handlebars
@@ -0,0 +1,5 @@
+export interface {{name}}ContractEventArgs {
+ {{#each inputs}}
+ {{name}}: {{#returnType type}}{{/returnType}},
+ {{/each}}
+};