Documentation ¶
Index ¶
Constants ¶
View Source
const SOLC_BIN_DIR = "./solc-bin"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contract ¶
type Contract struct { ABI []json.RawMessage `json:"abi,omitempty"` Metadata string `json:"metadata,omitempty"` UserDoc json.RawMessage `json:"userdoc,omitempty"` DevDoc json.RawMessage `json:"devdoc,omitempty"` IR string `json:"ir,omitempty"` // StorageLayout StorageLayout `json:"storageLayout,omitempty"` EVM EVM `json:"evm,omitempty"` EWASM EWASM `json:"ewasm,omitempty"` }
type EVM ¶
type EVM struct { Assembly string `json:"assembly,omitempty"` LegacyAssembly json.RawMessage `json:"legacyAssembly,omitempty"` Bytecode Bytecode `json:"bytecode,omitempty"` DeployedBytecode Bytecode `json:"deployedBytecode,omitempty"` MethodIdentifiers map[string]string `json:"methodIdentifiers,omitempty"` GasEstimates map[string]map[string]string `json:"gasEstimates,omitempty"` }
type Error ¶
type Error struct { SourceLocation SourceLocation `json:"sourceLocation,omitempty"` Type string `json:"type,omitempty"` Component string `json:"component,omitempty"` Severity string `json:"severity,omitempty"` Message string `json:"message,omitempty"` FormattedMessage string `json:"formattedMessage,omitempty"` }
type LinkReference ¶
type Solc ¶
type Solc interface { License() string Version() string Compile(input *Input) (*Output, error) Close() }
func NewFromFile ¶
type SourceLocation ¶
type SourceOut ¶
type SourceOut struct { ID int `json:"id,omitempty"` AST json.RawMessage `json:"ast,omitempty"` LegacyAST json.RawMessage `json:"legacyAST,omitempty"` }
Click to show internal directories.
Click to hide internal directories.