Add at function to Contract class
This commit is contained in:
6
packages/web3-typescript-typings/index.d.ts
vendored
6
packages/web3-typescript-typings/index.d.ts
vendored
@@ -57,7 +57,9 @@ declare module 'web3' {
|
|||||||
type: string;
|
type: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Contract {}
|
interface Contract {
|
||||||
|
at(address: string): ContractInstance;
|
||||||
|
}
|
||||||
|
|
||||||
interface FilterObject {
|
interface FilterObject {
|
||||||
fromBlock: number|string;
|
fromBlock: number|string;
|
||||||
@@ -72,6 +74,8 @@ declare module 'web3' {
|
|||||||
stopWatching(): void;
|
stopWatching(): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface ContractInstance {}
|
||||||
|
|
||||||
interface Provider {}
|
interface Provider {}
|
||||||
}
|
}
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
|
Reference in New Issue
Block a user