@bitriel/governance
Version:
On-chain DAO governance for Bitriel Protocol
259 lines (253 loc) • 8.34 kB
TypeScript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { ethers } from "ethers";
import {
FactoryOptions,
HardhatEthersHelpers as HardhatEthersHelpersBase,
} from "@nomiclabs/hardhat-ethers/types";
import * as Contracts from ".";
declare module "hardhat/types/runtime" {
interface HardhatEthersHelpers extends HardhatEthersHelpersBase {
getContractFactory(
name: "AccessControl",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.AccessControl__factory>;
getContractFactory(
name: "IAccessControl",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.IAccessControl__factory>;
getContractFactory(
name: "Ownable",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.Ownable__factory>;
getContractFactory(
name: "GovernorCompatibilityBravo",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.GovernorCompatibilityBravo__factory>;
getContractFactory(
name: "IGovernorCompatibilityBravo",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.IGovernorCompatibilityBravo__factory>;
getContractFactory(
name: "GovernorSettings",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.GovernorSettings__factory>;
getContractFactory(
name: "GovernorTimelockControl",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.GovernorTimelockControl__factory>;
getContractFactory(
name: "GovernorVotes",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.GovernorVotes__factory>;
getContractFactory(
name: "GovernorVotesQuorumFraction",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.GovernorVotesQuorumFraction__factory>;
getContractFactory(
name: "IGovernorTimelock",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.IGovernorTimelock__factory>;
getContractFactory(
name: "Governor",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.Governor__factory>;
getContractFactory(
name: "IGovernor",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.IGovernor__factory>;
getContractFactory(
name: "TimelockController",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.TimelockController__factory>;
getContractFactory(
name: "IVotes",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.IVotes__factory>;
getContractFactory(
name: "ERC20",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.ERC20__factory>;
getContractFactory(
name: "ERC20Permit",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.ERC20Permit__factory>;
getContractFactory(
name: "IERC20Permit",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.IERC20Permit__factory>;
getContractFactory(
name: "ERC20Votes",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.ERC20Votes__factory>;
getContractFactory(
name: "IERC20Metadata",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.IERC20Metadata__factory>;
getContractFactory(
name: "IERC20",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.IERC20__factory>;
getContractFactory(
name: "ERC165",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.ERC165__factory>;
getContractFactory(
name: "IERC165",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.IERC165__factory>;
getContractFactory(
name: "BitrielGovernor",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.BitrielGovernor__factory>;
getContractFactory(
name: "BitrielToken",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.BitrielToken__factory>;
getContractFactory(
name: "TimeLock",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.TimeLock__factory>;
getContractAt(
name: "AccessControl",
address: string,
signer?: ethers.Signer
): Promise<Contracts.AccessControl>;
getContractAt(
name: "IAccessControl",
address: string,
signer?: ethers.Signer
): Promise<Contracts.IAccessControl>;
getContractAt(
name: "Ownable",
address: string,
signer?: ethers.Signer
): Promise<Contracts.Ownable>;
getContractAt(
name: "GovernorCompatibilityBravo",
address: string,
signer?: ethers.Signer
): Promise<Contracts.GovernorCompatibilityBravo>;
getContractAt(
name: "IGovernorCompatibilityBravo",
address: string,
signer?: ethers.Signer
): Promise<Contracts.IGovernorCompatibilityBravo>;
getContractAt(
name: "GovernorSettings",
address: string,
signer?: ethers.Signer
): Promise<Contracts.GovernorSettings>;
getContractAt(
name: "GovernorTimelockControl",
address: string,
signer?: ethers.Signer
): Promise<Contracts.GovernorTimelockControl>;
getContractAt(
name: "GovernorVotes",
address: string,
signer?: ethers.Signer
): Promise<Contracts.GovernorVotes>;
getContractAt(
name: "GovernorVotesQuorumFraction",
address: string,
signer?: ethers.Signer
): Promise<Contracts.GovernorVotesQuorumFraction>;
getContractAt(
name: "IGovernorTimelock",
address: string,
signer?: ethers.Signer
): Promise<Contracts.IGovernorTimelock>;
getContractAt(
name: "Governor",
address: string,
signer?: ethers.Signer
): Promise<Contracts.Governor>;
getContractAt(
name: "IGovernor",
address: string,
signer?: ethers.Signer
): Promise<Contracts.IGovernor>;
getContractAt(
name: "TimelockController",
address: string,
signer?: ethers.Signer
): Promise<Contracts.TimelockController>;
getContractAt(
name: "IVotes",
address: string,
signer?: ethers.Signer
): Promise<Contracts.IVotes>;
getContractAt(
name: "ERC20",
address: string,
signer?: ethers.Signer
): Promise<Contracts.ERC20>;
getContractAt(
name: "ERC20Permit",
address: string,
signer?: ethers.Signer
): Promise<Contracts.ERC20Permit>;
getContractAt(
name: "IERC20Permit",
address: string,
signer?: ethers.Signer
): Promise<Contracts.IERC20Permit>;
getContractAt(
name: "ERC20Votes",
address: string,
signer?: ethers.Signer
): Promise<Contracts.ERC20Votes>;
getContractAt(
name: "IERC20Metadata",
address: string,
signer?: ethers.Signer
): Promise<Contracts.IERC20Metadata>;
getContractAt(
name: "IERC20",
address: string,
signer?: ethers.Signer
): Promise<Contracts.IERC20>;
getContractAt(
name: "ERC165",
address: string,
signer?: ethers.Signer
): Promise<Contracts.ERC165>;
getContractAt(
name: "IERC165",
address: string,
signer?: ethers.Signer
): Promise<Contracts.IERC165>;
getContractAt(
name: "BitrielGovernor",
address: string,
signer?: ethers.Signer
): Promise<Contracts.BitrielGovernor>;
getContractAt(
name: "BitrielToken",
address: string,
signer?: ethers.Signer
): Promise<Contracts.BitrielToken>;
getContractAt(
name: "TimeLock",
address: string,
signer?: ethers.Signer
): Promise<Contracts.TimeLock>;
// default types
getContractFactory(
name: string,
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<ethers.ContractFactory>;
getContractFactory(
abi: any[],
bytecode: ethers.utils.BytesLike,
signer?: ethers.Signer
): Promise<ethers.ContractFactory>;
getContractAt(
nameOrAbi: string | any[],
address: string,
signer?: ethers.Signer
): Promise<ethers.Contract>;
}
}