aboutsummaryrefslogtreecommitdiffstats
path: root/packages/deployer
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
parent18e1c2dea5d3c5387db6f616cd0ebbfe89dc308b (diff)
downloaddexon-0x-contracts-76afb6b1163182446a1f3646b4bc89b5dc271738.tar.gz
dexon-0x-contracts-76afb6b1163182446a1f3646b4bc89b5dc271738.tar.zst
dexon-0x-contracts-76afb6b1163182446a1f3646b4bc89b5dc271738.zip
Add types for ABIv2
Diffstat (limited to 'packages/deployer')
-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);
});
}