diff options
author | Leonid <logvinov.leon@gmail.com> | 2018-02-21 02:55:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-21 02:55:29 +0800 |
commit | 097fc477a2e06b8004d98e77dc17d98ab26ab3f1 (patch) | |
tree | 9c8f33bafb1fb2eef5bfcaaefed781ccae6ffba9 /packages/deployer | |
parent | 3a36e0621f0ad0c77c14a04bdaa85131b57ef0ea (diff) | |
parent | f60b00d116e525e5b789684e68b1541cedba1665 (diff) | |
download | dexon-sol-tools-097fc477a2e06b8004d98e77dc17d98ab26ab3f1.tar dexon-sol-tools-097fc477a2e06b8004d98e77dc17d98ab26ab3f1.tar.gz dexon-sol-tools-097fc477a2e06b8004d98e77dc17d98ab26ab3f1.tar.bz2 dexon-sol-tools-097fc477a2e06b8004d98e77dc17d98ab26ab3f1.tar.lz dexon-sol-tools-097fc477a2e06b8004d98e77dc17d98ab26ab3f1.tar.xz dexon-sol-tools-097fc477a2e06b8004d98e77dc17d98ab26ab3f1.tar.zst dexon-sol-tools-097fc477a2e06b8004d98e77dc17d98ab26ab3f1.zip |
Merge pull request #401 from 0xProject/feature/web3-abi-v2-types
Add types for ABIv2
Diffstat (limited to 'packages/deployer')
-rw-r--r-- | packages/deployer/src/utils/encoder.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/deployer/src/utils/encoder.ts b/packages/deployer/src/utils/encoder.ts index d5f807774..e3acde252 100644 --- a/packages/deployer/src/utils/encoder.ts +++ b/packages/deployer/src/utils/encoder.ts @@ -9,7 +9,7 @@ export const encoder = { const constructorTypes: string[] = []; _.each(abi, (element: Web3.AbiDefinition) => { if (element.type === AbiType.Constructor) { - _.each(element.inputs, (input: Web3.FunctionParameter) => { + _.each(element.inputs, (input: Web3.DataItem) => { constructorTypes.push(input.type); }); } |