aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/types.ts8
1 files 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<TokenMetadata>;
+ };
+ getTokenAddresses: {
+ call: () => Promise<string[]>;
+ };
}
export const SolidityTypes = strEnum([