diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-23 19:24:50 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-10 18:24:33 +0800 |
commit | a3c9d0ace5d60c66f40cfe2043a1910d85190695 (patch) | |
tree | 8e300e4e84f5417bac6b32d93d4c0ed05f5e2cb9 /packages | |
parent | aea1799a646532db48e750784143701aafb6dc58 (diff) | |
download | dexon-0x-contracts-a3c9d0ace5d60c66f40cfe2043a1910d85190695.tar.gz dexon-0x-contracts-a3c9d0ace5d60c66f40cfe2043a1910d85190695.tar.zst dexon-0x-contracts-a3c9d0ace5d60c66f40cfe2043a1910d85190695.zip |
Add at function to Contract class
Diffstat (limited to 'packages')
-rw-r--r-- | packages/web3-typescript-typings/index.d.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts index 224fee13a..aeceb0ff1 100644 --- a/packages/web3-typescript-typings/index.d.ts +++ b/packages/web3-typescript-typings/index.d.ts @@ -57,7 +57,9 @@ declare module 'web3' { type: string; } - interface Contract {} + interface Contract { + at(address: string): ContractInstance; + } interface FilterObject { fromBlock: number|string; @@ -72,6 +74,8 @@ declare module 'web3' { stopWatching(): void; } + interface ContractInstance {} + interface Provider {} } /* tslint:disable */ |