diff options
author | Fabio Berger <me@fabioberger.com> | 2017-05-30 16:48:34 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-05-30 16:48:34 +0800 |
commit | 1e69d2d1e1d27b5438d9064bd9a41cd53014770f (patch) | |
tree | bd2ac2af5eb553c89f4231b51a0c505d2c201977 /src | |
parent | f2cd368a491fd868b063e4023bba1dc2b395b387 (diff) | |
download | dexon-0x-contracts-1e69d2d1e1d27b5438d9064bd9a41cd53014770f.tar.gz dexon-0x-contracts-1e69d2d1e1d27b5438d9064bd9a41cd53014770f.tar.zst dexon-0x-contracts-1e69d2d1e1d27b5438d9064bd9a41cd53014770f.zip |
Improve type definitions
Diffstat (limited to 'src')
-rw-r--r-- | src/types.ts | 8 |
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([ |