aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract_templates/partials
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-06-27 15:54:53 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-06-29 22:52:51 +0800
commitf8772d88505e59c3bd9669f949635205b80b1946 (patch)
tree171c10d80c94a07e2aeb9bddfad88dc713945d95 /packages/contract_templates/partials
parentce2f4088641b17ecf043deca6714a4881cac4be0 (diff)
downloaddexon-sol-tools-f8772d88505e59c3bd9669f949635205b80b1946.tar
dexon-sol-tools-f8772d88505e59c3bd9669f949635205b80b1946.tar.gz
dexon-sol-tools-f8772d88505e59c3bd9669f949635205b80b1946.tar.bz2
dexon-sol-tools-f8772d88505e59c3bd9669f949635205b80b1946.tar.lz
dexon-sol-tools-f8772d88505e59c3bd9669f949635205b80b1946.tar.xz
dexon-sol-tools-f8772d88505e59c3bd9669f949635205b80b1946.tar.zst
dexon-sol-tools-f8772d88505e59c3bd9669f949635205b80b1946.zip
Rename {{*}}ContractEventArgs to {{*}}EventArgs and append {{contractName}} to each event name (ERC721TransferEventArgs instead of TransferContractEventArgs)
Diffstat (limited to 'packages/contract_templates/partials')
-rw-r--r--packages/contract_templates/partials/event.handlebars2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contract_templates/partials/event.handlebars b/packages/contract_templates/partials/event.handlebars
index 69a99d937..61d523ca2 100644
--- a/packages/contract_templates/partials/event.handlebars
+++ b/packages/contract_templates/partials/event.handlebars
@@ -1,4 +1,4 @@
-export interface {{name}}ContractEventArgs extends DecodedLogArgs {
+export interface {{@root.contractName}}{{name}}EventArgs extends DecodedLogArgs {
{{#each inputs}}
{{name}}: {{#returnType type components}}{{/returnType}};
{{/each}}