@matterlabs/hardhat-zksync-deploy
Version:
Hardhat plugin to deploy smart contracts into the ZKsync network
41 lines • 1.2 kB
TypeScript
import { ethers } from 'ethers';
import { Artifact } from 'hardhat/types';
/**
* Identifier of the Ethereum network (layer 1).
* Can be set either to the RPC address of network (e.g. `http://127.0.0.1:3030`)
* or the network ID (e.g. `mainnet` or `sepolia`).
*/
export type EthNetwork = string;
/**
* Description of the factory dependencies of a contract.
* Dependencies are contracts that can be deployed by this contract via `CREATE` operation.
*/
export interface FactoryDeps {
[contractHash: string]: string;
}
export interface ZkSyncArtifact extends Artifact {
factoryDeps: FactoryDeps;
sourceMapping: string;
}
export interface MissingLibrary {
contractName: string;
contractPath: string;
missingLibraries: string[];
}
export interface ContractInfo {
contractFQN: ContractFullQualifiedName;
address: string;
}
export interface ContractFullQualifiedName {
contractName: string;
contractPath: string;
}
export interface DeployerAccount {
[networkName: string]: number | undefined;
}
export interface ZkSyncOverrides extends ethers.Overrides {
libraries?: {
[libraryName: string]: string;
};
}
//# sourceMappingURL=types.d.ts.map