Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Merged
3 changes: 3 additions & 0 deletions packages/web3-eth-contract/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import BN = require('bn.js');
import {Common, PromiEvent, provider, hardfork, chain, BlockNumber, PastLogsOptions, LogsOptions} from 'web3-core';
import {Accounts} from 'web3-eth-accounts';
import {AbiItem} from 'web3-utils';

// TODO: Add generic type!
Expand All @@ -29,6 +30,8 @@ export class Contract {
options?: ContractOptions
);

static setProvider(provider: provider, accounts?: Accounts): void;

private _address: string;
private _jsonInterface: AbiItem[];
defaultAccount: string | null;
Expand Down