aboutsummaryrefslogtreecommitdiffstats
path: root/src/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.ts')
-rw-r--r--src/types.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts
index 5ba85a7d5..71227647b 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -145,6 +145,18 @@ export interface TokenRegistryContract extends ContractInstance {
getTokenAddresses: {
call: () => Promise<string[]>;
};
+ getTokenAddressBySymbol: {
+ call: (symbol: string) => Promise<string>;
+ };
+ getTokenAddressByName: {
+ call: (name: string) => Promise<string>;
+ };
+ getTokenBySymbol: {
+ call: (symbol: string) => Promise<TokenMetadata>;
+ };
+ getTokenByName: {
+ call: (name: string) => Promise<TokenMetadata>;
+ };
}
export interface EtherTokenContract extends ContractInstance {