diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-31 05:41:36 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-01 02:04:05 +0800 |
commit | a7fc9caacb7b98c7d79333e60ee9862945a67ecc (patch) | |
tree | d26d61dd0b2f19d68f34b4de460fa0cb225622d6 /packages/contract_templates | |
parent | c284f6dcd4e10388e0dd474be08788ddef6b4f30 (diff) | |
download | dexon-sol-tools-a7fc9caacb7b98c7d79333e60ee9862945a67ecc.tar dexon-sol-tools-a7fc9caacb7b98c7d79333e60ee9862945a67ecc.tar.gz dexon-sol-tools-a7fc9caacb7b98c7d79333e60ee9862945a67ecc.tar.bz2 dexon-sol-tools-a7fc9caacb7b98c7d79333e60ee9862945a67ecc.tar.lz dexon-sol-tools-a7fc9caacb7b98c7d79333e60ee9862945a67ecc.tar.xz dexon-sol-tools-a7fc9caacb7b98c7d79333e60ee9862945a67ecc.tar.zst dexon-sol-tools-a7fc9caacb7b98c7d79333e60ee9862945a67ecc.zip |
Introduce ethereum-types package
Diffstat (limited to 'packages/contract_templates')
-rw-r--r-- | packages/contract_templates/contract.handlebars | 2 | ||||
-rw-r--r-- | packages/contract_templates/partials/event.handlebars | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/contract_templates/contract.handlebars b/packages/contract_templates/contract.handlebars index b2765b1a5..2e04200d9 100644 --- a/packages/contract_templates/contract.handlebars +++ b/packages/contract_templates/contract.handlebars @@ -6,7 +6,7 @@ // tslint:disable-next-line:no-unused-variable import { BaseContract } from '@0xproject/base-contract'; import { ContractArtifact } from '@0xproject/sol-compiler'; -import { BlockParam, BlockParamLiteral, CallData, ContractAbi, DataItem, MethodAbi, Provider, TxData, TxDataPayable } from '@0xproject/types'; +import { BlockParam, BlockParamLiteral, CallData, ContractAbi, DataItem, DecodedLogArgs, MethodAbi, Provider, TxData, TxDataPayable } from 'ethereum-types'; import { BigNumber, classUtils, logUtils, promisify } from '@0xproject/utils'; import { Web3Wrapper } from '@0xproject/web3-wrapper'; import * as ethers from 'ethers'; diff --git a/packages/contract_templates/partials/event.handlebars b/packages/contract_templates/partials/event.handlebars index 3c6100e4f..69a99d937 100644 --- a/packages/contract_templates/partials/event.handlebars +++ b/packages/contract_templates/partials/event.handlebars @@ -1,4 +1,4 @@ -export interface {{name}}ContractEventArgs { +export interface {{name}}ContractEventArgs extends DecodedLogArgs { {{#each inputs}} {{name}}: {{#returnType type components}}{{/returnType}}; {{/each}} |