@solarity/hardhat-migrate
Version:
The simplest way to deploy smart contracts
23 lines • 1.24 kB
TypeScript
import type { AddressLike, JsonRpcProvider, VoidSigner, TransactionRequest, TransactionResponse } from "ethers";
import { HardhatRuntimeEnvironment } from "hardhat/types";
import { HardhatEthersSigner } from "@nomicfoundation/hardhat-ethers/signers";
import { HardhatEthersProvider } from "@nomicfoundation/hardhat-ethers/internal/hardhat-ethers-provider";
export declare class ExtendedHardhatEthersSigner {
private readonly _hre;
private readonly _config;
private _initialized;
readonly provider: JsonRpcProvider | HardhatEthersProvider;
readonly ethersSigner: VoidSigner | HardhatEthersSigner;
readonly signerIdentifier: AddressLike;
static fromSignerName(signerName?: AddressLike): Promise<ExtendedHardhatEthersSigner>;
constructor(_hre: HardhatRuntimeEnvironment, ethersSigner: VoidSigner | HardhatEthersSigner, signerName?: AddressLike);
getAddress(): Promise<string>;
sendTransaction(tx: TransactionRequest): Promise<TransactionResponse>;
private _determineSignerIdentifier;
private _ensureInitialized;
private _prepareTrezorTransaction;
private _signTransaction;
private _getCastOptions;
private _isCastEnabled;
}
//# sourceMappingURL=ExtendedHardhatEthersSigner.d.ts.map