diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-11-22 21:16:08 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-11-22 21:48:15 +0800 |
commit | 06cc66005cf0713fcc877ae67b51b38fb110b09d (patch) | |
tree | 9823f26c8f83f5051aa2b5a6068fe9c542eaeb4c /packages/contract-templates/partials/event.handlebars | |
parent | a5359df002d121c1b7c1f29e8a2bd8b351090ee3 (diff) | |
download | dexon-sol-tools-06cc66005cf0713fcc877ae67b51b38fb110b09d.tar dexon-sol-tools-06cc66005cf0713fcc877ae67b51b38fb110b09d.tar.gz dexon-sol-tools-06cc66005cf0713fcc877ae67b51b38fb110b09d.tar.bz2 dexon-sol-tools-06cc66005cf0713fcc877ae67b51b38fb110b09d.tar.lz dexon-sol-tools-06cc66005cf0713fcc877ae67b51b38fb110b09d.tar.xz dexon-sol-tools-06cc66005cf0713fcc877ae67b51b38fb110b09d.tar.zst dexon-sol-tools-06cc66005cf0713fcc877ae67b51b38fb110b09d.zip |
Make contract-templates an npm package
Diffstat (limited to 'packages/contract-templates/partials/event.handlebars')
-rw-r--r-- | packages/contract-templates/partials/event.handlebars | 5 |
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}} +} |