2019-05-14 18:48:48 -04:00
|
|
|
import { ethers } from "ethers";
|
|
|
|
export interface ContractCode {
|
|
|
|
interface: ethers.utils.Interface;
|
|
|
|
name: string;
|
2020-01-29 21:43:56 -05:00
|
|
|
compiler: string;
|
|
|
|
bytecode: string;
|
|
|
|
runtime: string;
|
2019-05-14 18:48:48 -04:00
|
|
|
}
|
|
|
|
export declare type CompilerOptions = {
|
|
|
|
filename?: string;
|
|
|
|
basedir?: string;
|
|
|
|
optimize?: boolean;
|
|
|
|
throwWarnings?: boolean;
|
|
|
|
};
|
2020-01-29 21:43:56 -05:00
|
|
|
export declare function customRequire(path: string): (name: string) => any;
|
|
|
|
export declare function wrapSolc(_solc: any): (source: string, options?: CompilerOptions) => Array<ContractCode>;
|
2021-03-07 18:24:04 -05:00
|
|
|
export declare const compile: (source: string, options?: CompilerOptions) => Array<ContractCode>;
|
2021-01-19 05:22:54 -05:00
|
|
|
//# sourceMappingURL=solc.d.ts.map
|