cofhe-hardhat-plugin
Version:
Hardhat TypeScript plugin boilerplate
17 lines • 891 B
TypeScript
import { HardhatRuntimeEnvironment } from 'hardhat/types';
/**
* Sends funds to the specified address
* @param hre Hardhat Runtime Environment
* @param toAddress Address to send funds to
* @param amount Amount to send in ETH (default: 10)
* @returns Transaction receipt or null if failed
*/
export declare function localcofheFundAccount(hre: HardhatRuntimeEnvironment, toAddress: string, amount?: string): Promise<import("ethers").TransactionReceipt | null>;
/**
* Checks a wallet's balance and funds it if below 1 ETH
* @param hre Hardhat Runtime Environment
* @param walletAddress Address of the wallet to check and potentially fund
* @returns Promise that resolves when the funding operation completes (if needed)
*/
export declare function localcofheFundWalletIfNeeded(hre: HardhatRuntimeEnvironment, walletAddress: string): Promise<void>;
//# sourceMappingURL=common.d.ts.map