Documentation ¶
Overview ¶
Package compiler wraps the Solidity compiler executable (solc).
This package is being used by `abigen` and test codes. And the package provides functions to compile Solidity source codes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompileSolidity ¶
CompileSolidity compiles all given Solidity source files.
Types ¶
type Contract ¶
type Contract struct { Code string `json:"code"` RCode string `json:"runtime-code"` Info ContractInfo `json:"info"` }
type ContractInfo ¶
type ContractInfo struct { Source string `json:"source"` Language string `json:"language"` LanguageVersion string `json:"languageVersion"` CompilerVersion string `json:"compilerVersion"` CompilerOptions string `json:"compilerOptions"` AbiDefinition interface{} `json:"abiDefinition"` UserDoc interface{} `json:"userDoc"` DeveloperDoc interface{} `json:"developerDoc"` Metadata string `json:"metadata"` }
Click to show internal directories.
Click to hide internal directories.