@matterlabs/hardhat-zksync-solc
Version:
Hardhat plugin to compile smart contracts for the ZKsync network
19 lines • 1.24 kB
TypeScript
import { SolcConfig, SolcUserConfig } from 'hardhat/types';
import { ZkSolcConfig } from './types';
export interface SolcConfigData {
compiler: SolcConfig;
file?: string;
}
export interface SolcUserConfigUpdater {
suituble(_solcUserConfig: SolcUserConfig[] | Map<string, SolcUserConfig>, _file?: string): boolean;
update(_compiler: SolcConfig, _latestEraVersion: string, _zksolc: ZkSolcConfig, _solcUserConfig: SolcUserConfig[] | Map<string, SolcUserConfig>, _file?: string): void;
}
export declare class OverrideCompilerSolcUserConfigUpdater implements SolcUserConfigUpdater {
suituble(_solcUserConfig: SolcUserConfig[] | Map<string, SolcUserConfig>, _file?: string): boolean;
update(_compiler: SolcConfig, _latestEraVersion: string, _zksolc: ZkSolcConfig, _userConfigCompilers: Map<string, SolcUserConfig>, _file: string): void;
}
export declare class CompilerSolcUserConfigUpdater implements SolcUserConfigUpdater {
suituble(solcUserConfig: SolcUserConfig[] | Map<string, SolcUserConfig>, _file?: string): boolean;
update(_compiler: SolcConfig, _latestEraVersion: string, _zksolc: ZkSolcConfig, _userConfigCompilers: SolcUserConfig[], _file?: string): void;
}
//# sourceMappingURL=config-update.d.ts.map