aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-06-09 00:16:28 +0800
committerFabio Berger <me@fabioberger.com>2017-06-09 00:16:28 +0800
commit655c71a46b9e3ad82380efe6b37e9140ecc130cf (patch)
tree81cb70133a95540dff5abade6a4a646a2efc3bb6 /src/contract_wrappers
parent80b76e58172313e396c81c719bd46094b9491b84 (diff)
downloaddexon-sol-tools-655c71a46b9e3ad82380efe6b37e9140ecc130cf.tar
dexon-sol-tools-655c71a46b9e3ad82380efe6b37e9140ecc130cf.tar.gz
dexon-sol-tools-655c71a46b9e3ad82380efe6b37e9140ecc130cf.tar.bz2
dexon-sol-tools-655c71a46b9e3ad82380efe6b37e9140ecc130cf.tar.lz
dexon-sol-tools-655c71a46b9e3ad82380efe6b37e9140ecc130cf.tar.xz
dexon-sol-tools-655c71a46b9e3ad82380efe6b37e9140ecc130cf.tar.zst
dexon-sol-tools-655c71a46b9e3ad82380efe6b37e9140ecc130cf.zip
add comment explaining the use of any
Diffstat (limited to 'src/contract_wrappers')
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index 972e11b8c..46613af77 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -298,6 +298,7 @@ export class ExchangeWrapper extends ContractWrapper {
];
});
+ // We use _.unzip<any> because _.unzip doesn't type check if values have different types :'(
const [orderAddresses, orderValues, fillTakerAmounts, vParams, rParams, sParams] =
_.unzip<any>(orderAddressesValuesAndTakerTokenFillAmounts);