hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
13 lines • 627 B
TypeScript
import type { EthereumProvider } from "../../../../../../types/providers.js";
import { SenderHandler } from "./sender.js";
/**
* This class provides a fixed sender address for transactions.
* It overrides the getSender method of the base class to always return the sender address specified during instantiation,
* ensuring that all JSON-RPC requests use this fixed sender.
*/
export declare class FixedSenderHandler extends SenderHandler {
#private;
constructor(provider: EthereumProvider, sender: string);
protected getSender(): Promise<string | undefined>;
}
//# sourceMappingURL=fixed-sender-handler.d.ts.map