UNPKG

hardhat

Version:

Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.

23 lines (21 loc) 800 B
import type { GlobalOptions } from "./global-options.js"; import type { UserInterruptionManager } from "./user-interruptions.js"; import type { HardhatConfig, HardhatUserConfig } from "../types/config.js"; /** * The Hardhat Runtime Environment (HRE) is an object that exposes * all the functionality available through Hardhat. */ export interface HardhatRuntimeEnvironment { readonly config: HardhatConfig; readonly userConfig: HardhatUserConfig; readonly globalOptions: GlobalOptions; readonly interruptions: UserInterruptionManager; readonly versions: { readonly hardhat: string; readonly edr: string; }; // These fields are defined using module agumentation despite being part of // Hardhat's core: // readonly hooks: HookManager; // readonly tasks: TaskManager; }