aboutsummaryrefslogtreecommitdiffstats
path: root/packages/deployer/src/utils
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-15 07:51:09 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-02-15 07:52:06 +0800
commit76afb6b1163182446a1f3646b4bc89b5dc271738 (patch)
treeeceaa2311278982632a7bc2b58e065041a46613f /packages/deployer/src/utils
parent18e1c2dea5d3c5387db6f616cd0ebbfe89dc308b (diff)
downloaddexon-sol-tools-76afb6b1163182446a1f3646b4bc89b5dc271738.tar
dexon-sol-tools-76afb6b1163182446a1f3646b4bc89b5dc271738.tar.gz
dexon-sol-tools-76afb6b1163182446a1f3646b4bc89b5dc271738.tar.bz2
dexon-sol-tools-76afb6b1163182446a1f3646b4bc89b5dc271738.tar.lz
dexon-sol-tools-76afb6b1163182446a1f3646b4bc89b5dc271738.tar.xz
dexon-sol-tools-76afb6b1163182446a1f3646b4bc89b5dc271738.tar.zst
dexon-sol-tools-76afb6b1163182446a1f3646b4bc89b5dc271738.zip
Add types for ABIv2
Diffstat (limited to 'packages/deployer/src/utils')
-rw-r--r--packages/deployer/src/utils/encoder.ts2
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);
});
}