@openzeppelin/hardhat-upgrades
Version:
[](https://docs.openzeppelin.com/upgrades-plugins/hardhat-upgrades) [](https://www.npmjs.org/package/@openzeppelin/h
10 lines • 488 B
TypeScript
import { Contract, ContractFactory, ContractRunner, Signer } from 'ethers';
/**
* Attaches a ContractFactory to an address and returns a Contract instance.
*/
export declare function attach(contractFactory: ContractFactory, address: string): Contract;
/**
* Best effort to get a signer from a ContractRunner. Returns undefined if the runner is not a signer.
*/
export declare function getSigner(runner?: null | ContractRunner): Signer | undefined;
//# sourceMappingURL=ethers.d.ts.map