Versions in this module Expand all Collapse all v0 v0.2.7 Jul 12, 2021 v0.1.4 Mar 6, 2020 Changes in this version + func CompileSolidity(solc string, sourcefiles ...string) (map[string]*Contract, error) + func CompileSolidityString(solc, source string) (map[string]*Contract, error) + func CompileVyper(vyper string, sourcefiles ...string) (map[string]*Contract, error) + func ParseCombinedJSON(combinedJSON []byte, source string, languageVersion string, ...) (map[string]*Contract, error) + func ParseVyperJSON(combinedJSON []byte, source string, languageVersion string, ...) (map[string]*Contract, error) + type Contract struct + Code string + Hashes map[string]string + Info ContractInfo + RuntimeCode string + type ContractInfo struct + AbiDefinition interface{} + CompilerOptions string + CompilerVersion string + DeveloperDoc interface{} + Language string + LanguageVersion string + Metadata string + Source string + SrcMap interface{} + SrcMapRuntime string + UserDoc interface{} + type Solidity struct + FullVersion string + Major int + Minor int + Patch int + Path string + Version string + func SolidityVersion(solc string) (*Solidity, error) + type Vyper struct + FullVersion string + Major int + Minor int + Patch int + Path string + Version string + func VyperVersion(vyper string) (*Vyper, error)