package
Version:
v0.0.0-...-99888be
Opens a new window with list of versions in this module.
Published: Oct 22, 2024
License: MPL-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
DownloadSolidity downloads the solidity compiler
type AbiField struct {
Type string `json:"type"`
Name string `json:"name"`
Inputs []*IOField `json:"inputs"`
Outputs []*IOField `json:"outputs"`
StateMutability string `json:"stateMutability"`
Anonymous bool `json:"anonymous"`
Constant bool `json:"constant"`
}
type Artifact struct {
Abi []AbiField `json:"abi"`
Bin string
BinRuntime string `json:"bin-runtime"`
SrcMap string `json:"srcmap"`
SrcMapRuntime string `json:"srcmap-runtime"`
}
type IOField struct {
Name string `json:"name"`
Type string `json:"type"`
Indexed bool `json:"indexed"`
Components []*IOField `json:"components"`
InternalType string `json:"internalType"`
}
Solidity is the solidity compiler
NewSolidityCompiler instantiates a new solidity compiler
Compile implements the compiler interface
CompileCode compiles a solidity code
type Source struct {
AST map[string]interface{}
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.