Use ContractInstance from globals
This commit is contained in:
4
src/globals.d.ts
vendored
4
src/globals.d.ts
vendored
@@ -47,7 +47,9 @@ declare module 'ethereumjs-util' {
|
||||
}
|
||||
|
||||
// truffle-contract declarations
|
||||
declare interface ContractInstance {}
|
||||
declare interface ContractInstance {
|
||||
address: string;
|
||||
}
|
||||
declare interface ContractFactory {
|
||||
setProvider: (providerObj: any) => void;
|
||||
deployed: () => ContractInstance;
|
||||
|
@@ -44,9 +44,6 @@ export interface ContractEventObj {
|
||||
}
|
||||
export type CreateContractEvent = (indexFilterValues: IndexFilterValues,
|
||||
subscriptionOpts: SubscriptionOpts) => ContractEventObj;
|
||||
export interface ContractInstance {
|
||||
address: string;
|
||||
}
|
||||
export interface ExchangeContract extends ContractInstance {
|
||||
isValidSignature: {
|
||||
call: (signerAddressHex: string, dataHex: string, v: number, r: string, s: string,
|
||||
|
Reference in New Issue
Block a user