Add TokenRegistryWrapper and getTokensAsync method

This commit is contained in:
Fabio Berger
2017-05-29 23:51:27 +02:00
parent 6cb9bd4426
commit 919585cd79
3 changed files with 49 additions and 0 deletions

View File

@@ -30,8 +30,21 @@ export interface ExchangeContract {
isValidSignature: any;
}
export interface TokenRegistryContract {
getTokenMetaData: any;
getTokenAddresses: any;
}
export const SolidityTypes = strEnum([
'address',
'uint256',
]);
export type SolidityTypes = keyof typeof SolidityTypes;
export interface Token {
name: string;
address: string;
symbol: string;
decimals: number;
url: string;
};