@truffle/compile-solidity
Version:
Compiler helper and artifact manager for Solidity files
27 lines (26 loc) • 1.01 kB
TypeScript
export declare class VersionRange {
private config;
private cache;
constructor(options: any);
load(versionRange: string): Promise<any>;
list(): Promise<{
prereleases: any;
releases: string[];
latestRelease: any;
}>;
compilerFromString(code: any): any;
findNewestValidVersion(version: any, allVersions: any): string | null;
getCachedSolcByFileName(fileName: any): any;
getCachedSolcByVersionRange(version: any): any;
getCachedSolcFileName(commit: any): string | undefined;
getMostRecentVersionOfCompiler(versions: any): any;
getSatisfyingVersionFromCache(versionRange: any): any;
getAndCacheSolcByUrl(fileName: any, index?: number): any;
getSolcFromCacheOrUrl(versionConstraint: any): Promise<any>;
getSolcVersions(index?: number): any;
getSolcVersionFileName(version: any, allVersions: any): any;
versionIsCached(version: any): string | undefined;
}
export declare class NoUrlError extends Error {
constructor();
}