Add at function to Contract class

This commit is contained in:
Leonid Logvinov 2017-06-23 13:24:50 +02:00
parent aea1799a64
commit a3c9d0ace5
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4

View File

@ -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 */