@chainspin/compiler
Version:
Solidity contract compiler for ChainSpin framework.
22 lines (21 loc) • 594 B
TypeScript
export interface ContractData {
abi: string;
bin: string;
name: string;
}
export interface CompilerRecipe {
src: string;
dist: string;
filter?: (f: string) => boolean;
}
export declare class Compiler {
protected recipe: CompilerRecipe;
data: ContractData[];
constructor(recipe: CompilerRecipe);
compile(): Promise<void>;
save(): Promise<void>;
protected buildContracts(): Promise<void>;
protected getSolcSources(): Promise<{}>;
protected normalizeSolcPath(dest: any): any;
protected getModuleDirectories(dest: any): Promise<any[]>;
}