Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuildList ¶
type Compiler ¶
type Compiler struct {
// contains filtered or unexported fields
}
func GetCompiler ¶
func NewCompiler ¶
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 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.