Improve type definitions

This commit is contained in:
Fabio Berger 2017-05-30 10:48:34 +02:00
parent f2cd368a49
commit 1e69d2d1e1

View File

@ -31,8 +31,12 @@ export interface ExchangeContract {
} }
export interface TokenRegistryContract { export interface TokenRegistryContract {
getTokenMetaData: any; getTokenMetaData: {
getTokenAddresses: any; call: (address: string) => Promise<TokenMetadata>;
};
getTokenAddresses: {
call: () => Promise<string[]>;
};
} }
export const SolidityTypes = strEnum([ export const SolidityTypes = strEnum([