UNPKG

@idle-finance/hardhat-proposals-plugin

Version:
32 lines 884 B
import "hardhat/types/runtime"; import { AlphaProposal, AlphaProposalBuilder } from "./proposals/compound-alpha"; declare module "hardhat/types/config" { interface ProposalsUserConfig { governor?: string; votingToken?: string; } interface ProposalsConfig { governor: string; votingToken: string; } interface HardhatUserConfig { proposals?: ProposalsUserConfig; } interface HardhatConfig { proposals: ProposalsConfig; } } export interface ProposalsHardHatRunTimeEnvironmentField { builders: { alpha: () => AlphaProposalBuilder; }; proposals: { alpha: () => AlphaProposal; }; } declare module "hardhat/types/runtime" { interface HardhatRuntimeEnvironment { proposals: ProposalsHardHatRunTimeEnvironmentField; } } //# sourceMappingURL=type-extensions.d.ts.map