hardhat-graph-protocol
Version:
A hardhat plugin that extends the runtime environment to inject additional functionality related to the usage of the Graph Protocol.
35 lines • 1.1 kB
TypeScript
import 'hardhat/types/config';
import 'hardhat/types/runtime';
import type { GraphDeploymentOptions, GraphRuntimeEnvironment, GraphRuntimeEnvironmentOptions } from './types';
declare module 'hardhat/types/runtime' {
interface HardhatRuntimeEnvironment {
graph: (opts?: GraphRuntimeEnvironmentOptions) => GraphRuntimeEnvironment;
}
}
declare module 'hardhat/types/config' {
interface HardhatConfig {
graph: GraphRuntimeEnvironmentOptions;
}
interface HardhatUserConfig {
graph: GraphRuntimeEnvironmentOptions;
}
interface HardhatNetworkConfig {
deployments?: GraphDeploymentOptions;
}
interface HardhatNetworkUserConfig {
deployments?: GraphDeploymentOptions;
}
interface HttpNetworkConfig {
deployments?: GraphDeploymentOptions;
}
interface HttpNetworkUserConfig {
deployments?: GraphDeploymentOptions;
}
interface ProjectPathsConfig {
graph?: string;
}
interface ProjectPathsUserConfig {
graph?: string;
}
}
//# sourceMappingURL=type-extensions.d.ts.map