@matterlabs/hardhat-zksync-deploy
Version:
Hardhat plugin to deploy smart contracts into the ZKsync network
16 lines • 1.03 kB
TypeScript
import { HardhatRuntimeEnvironment } from 'hardhat/types';
import { Contract, Wallet } from 'zksync-ethers';
import { DeploymentType } from 'zksync-ethers/build/types';
export declare function deployLibraries(hre: HardhatRuntimeEnvironment, privateKeyOrAccountNumber: string | number, externalConfigObjectPath: string, exportedConfigObject: string, noAutoPopulateConfig: boolean, compileAllContracts: boolean): Promise<void>;
export declare function getWallet(hre: HardhatRuntimeEnvironment, privateKeyOrIndex?: string | number): Promise<Wallet>;
export declare function getWallets(hre: HardhatRuntimeEnvironment): Promise<Wallet[]>;
export declare function getNetworkAccount(hre: HardhatRuntimeEnvironment): number;
export declare function deployContract(hre: HardhatRuntimeEnvironment, taskArgs: {
contractName: string;
constructorArgsParams: any[];
constructorArgs?: string;
deploymentType?: DeploymentType;
salt?: string;
noCompile?: boolean;
}): Promise<Contract>;
//# sourceMappingURL=plugin.d.ts.map