Documentation
¶
Overview ¶
Package sol provides a convenient interface for calling the 'solc' Solidity Compiler from Go.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrStatementNoSrc = errors.New("statement without src reference")
Functions ¶
Types ¶
type Compiler ¶
type Compiler interface {
SetAllowPaths(paths []string) Compiler
Compile(prefix, path string, optimize int) (map[string]*Contract, error)
CompileWithCoverage(prefix, path string) (map[string]*Contract, error)
}
func NewSolCompiler ¶
type CoverageEventIDArgs ¶
type CoverageMarkerArgs ¶
type EventDefinitionArgs ¶
Click to show internal directories.
Click to hide internal directories.