@truffle/compile-solidity
Version:
Compiler helper and artifact manager for Solidity files
41 lines (40 loc) • 974 B
TypeScript
export function run(rawSources: any, options: any, internalOptions?: {}): Promise<{
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>;