From e4f5b9cdb3021a7af1fa97c2ef0233bdf59af62c Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Wed, 23 Aug 2017 20:28:48 +0200 Subject: Add all public tokenRegistry functions --- src/types.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/types.ts') 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; }; + getTokenAddressBySymbol: { + call: (symbol: string) => Promise; + }; + getTokenAddressByName: { + call: (name: string) => Promise; + }; + getTokenBySymbol: { + call: (symbol: string) => Promise; + }; + getTokenByName: { + call: (name: string) => Promise; + }; } export interface EtherTokenContract extends ContractInstance { -- cgit v1.2.3