diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-27 15:54:53 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-29 22:52:51 +0800 |
commit | f8772d88505e59c3bd9669f949635205b80b1946 (patch) | |
tree | 171c10d80c94a07e2aeb9bddfad88dc713945d95 /packages/contract_templates/partials | |
parent | ce2f4088641b17ecf043deca6714a4881cac4be0 (diff) | |
download | dexon-0x-contracts-f8772d88505e59c3bd9669f949635205b80b1946.tar dexon-0x-contracts-f8772d88505e59c3bd9669f949635205b80b1946.tar.gz dexon-0x-contracts-f8772d88505e59c3bd9669f949635205b80b1946.tar.bz2 dexon-0x-contracts-f8772d88505e59c3bd9669f949635205b80b1946.tar.lz dexon-0x-contracts-f8772d88505e59c3bd9669f949635205b80b1946.tar.xz dexon-0x-contracts-f8772d88505e59c3bd9669f949635205b80b1946.tar.zst dexon-0x-contracts-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.handlebars | 2 |
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}} |