Skip to main content
Module

x/solc/deps.ts>Wrapper

💎 Solidity compiler bindings for Deno
Latest
interface Wrapper
import { type Wrapper } from "https://deno.land/x/solc@2.1.7/deps.ts";

Properties

lowlevel: { compileSingle?: CompileJson; compileMulti?: CompileJsonMulti; compileCallback?: CompileJsonCallback; compileStandard?: CompileJsonStandard; }
features: { legacySingleInput: boolean; multipleInputs: boolean; importCallback: boolean; nativeStandardJSON: boolean; }

Methods

license(): string | undefined

Returns the complete license document.

version(): string

Returns the compiler version.

semver(): string

Returns the compiler version as a semver version style.

compile(input: string, readCallback?: Callbacks): string

Compile the provided input, using the best case implementation based on the current binary.

loadRemoteVersion(version: string, callback: (error?: Error, solc?: SolJson) => void): void
setupMethods(soljson: SolJson): Wrapper