aboutsummaryrefslogblamecommitdiffstats
path: root/packages/subproviders/src/globals.d.ts
blob: 3cbf84e370d037c60001acf23842833424671f65 (plain) (tree)
1
2
3
4
5
6





                         

















                                                                                   
declare module '*.json' {
    const json: any;
    /* tslint:disable */
    export default json;
    /* tslint:enable */
}
declare module 'web3-provider-engine/util/rpc-cache-utils' {
    class ProviderEngineRpcUtils {
        public static blockTagForPayload(payload: any): string | null;
    }
    export = ProviderEngineRpcUtils;
}
declare module 'web3-provider-engine/subproviders/fixture' {
    import { JSONRPCRequestPayload, JSONRPCResponsePayload } from 'ethereum-types';
    class FixtureSubprovider {
        constructor(staticResponses: any);
        public handleRequest(
            payload: JSONRPCRequestPayload,
            next: () => void,
            end: (err: Error | null, data?: JSONRPCResponsePayload) => void,
        ): void;
    }
    export = FixtureSubprovider;
}