UNPKG

@ethereum-waffle/provider

Version:

A mock provider for your blockchain testing needs.

17 lines 490 B
import type { Provider } from 'ganache'; export interface RecordedCall { readonly address: string | undefined; readonly data: string; } /** * CallHistory gathers a log of queries and transactions * sent to a blockchain provider. * It is used by the `calledOnContract` matcher. */ export declare class CallHistory { private recordedCalls; clear(): void; getCalls(): RecordedCall[]; record(provider: Provider): Provider; } //# sourceMappingURL=CallHistory.d.ts.map