Improve type definitions
This commit is contained in:
parent
f2cd368a49
commit
1e69d2d1e1
@ -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([
|
||||||
|
Loading…
x
Reference in New Issue
Block a user