@truffle/compile-solidity
Version:
Compiler helper and artifact manager for Solidity files
46 lines (45 loc) • 1.19 kB
TypeScript
export function compileWithPragmaAnalysis({ paths, options }: {
paths: any;
options: any;
}): Promise<{
compilations: ({
sourceIndexes: any[] | undefined;
contracts: {
contractName: string;
abi: any;
metadata: any;
devdoc: any;
userdoc: any;
sourcePath: any;
source: any;
sourceMap: any;
deployedSourceMap: any;
ast: any;
legacyAST: any;
bytecode: {
bytes: any;
linkReferences: any;
} | undefined;
deployedBytecode: {
bytes: any;
linkReferences: any;
} | undefined;
immutableReferences: any;
generatedSources: any;
deployedGeneratedSources: any;
compiler: {
name: string;
version: any;
};
}[];
sources: {
sourcePath: any;
contents: any;
language: any;
}[];
compiler: {
name: string;
version: any;
};
} | null)[];
}>;