UNPKG

@nomiclabs/buidler-ethers

Version:
9 lines 1.11 kB
import { BuidlerRuntimeEnvironment } from "@nomiclabs/buidler/types"; import { ethers } from "ethers"; export declare function getSigners(bre: BuidlerRuntimeEnvironment): Promise<ethers.providers.JsonRpcSigner[]>; export declare function getContractFactory(bre: BuidlerRuntimeEnvironment, name: string, signer?: ethers.Signer): Promise<ethers.ContractFactory>; export declare function getContractFactory(bre: BuidlerRuntimeEnvironment, abi: any[], bytecode: ethers.utils.BytesLike | string, signer?: ethers.Signer): Promise<ethers.ContractFactory>; export declare function getContractFactoryByName(bre: BuidlerRuntimeEnvironment, name: string, signer?: ethers.Signer): Promise<ethers.ContractFactory>; export declare function getContractFactoryByAbiAndBytecode(bre: BuidlerRuntimeEnvironment, abi: any[], bytecode: ethers.utils.BytesLike | string, signer?: ethers.Signer): Promise<ethers.ContractFactory>; export declare function getContractAt(bre: BuidlerRuntimeEnvironment, nameOrAbi: string | any[], address: string, signer?: ethers.Signer): Promise<ethers.Contract>; //# sourceMappingURL=helpers.d.ts.map