Documentation ¶
Index ¶
- 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
- type ContractInfo
- type Solidity
- type Vyper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompileSolidity ¶
func CompileSolidityString ¶
func CompileVyper ¶
func ParseCombinedJSON ¶
Types ¶
type Contract ¶
type Contract struct { Code string `json:"code"` RuntimeCode string `json:"runtime-code"` Info ContractInfo `json:"info"` Hashes map[string]string `json:"hashes"` }
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"` SrcMap interface{} `json:"srcMap"` SrcMapRuntime string `json:"srcMapRuntime"` AbiDefinition interface{} `json:"abiDefinition"` UserDoc interface{} `json:"userDoc"` DeveloperDoc interface{} `json:"developerDoc"` Metadata string `json:"metadata"` }
type Solidity ¶
func SolidityVersion ¶
Click to show internal directories.
Click to hide internal directories.