From 1e69d2d1e1d27b5438d9064bd9a41cd53014770f Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Tue, 30 May 2017 10:48:34 +0200 Subject: Improve type definitions --- src/types.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/types.ts b/src/types.ts index 57ffcd44b..6fce95706 100644 --- a/src/types.ts +++ b/src/types.ts @@ -31,8 +31,12 @@ export interface ExchangeContract { } export interface TokenRegistryContract { - getTokenMetaData: any; - getTokenAddresses: any; + getTokenMetaData: { + call: (address: string) => Promise; + }; + getTokenAddresses: { + call: () => Promise; + }; } export const SolidityTypes = strEnum([ -- cgit