Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artifact ¶
type Artifact struct { ABI abi.ABI StorageLayout solc.StorageLayout DeployedBytecode DeployedBytecode Bytecode Bytecode // contains filtered or unexported fields }
Artifact represents a foundry compilation artifact. JSON marshaling logic is implemented to maintain the ability to roundtrip serialize an artifact
func ReadArtifact ¶
ReadArtifact will read an artifact from disk given a path.
func (Artifact) MarshalJSON ¶
func (*Artifact) UnmarshalJSON ¶
type Bytecode ¶
type Bytecode struct { SourceMap string `json:"sourceMap"` Object hexutil.Bytes `json:"object"` LinkReferences json.RawMessage `json:"linkReferences"` ImmutableReferences json.RawMessage `json:"immutableReferences,omitempty"` }
DeployedBytecode represents the bytecode section of the solc compiler output.
type DeployedBytecode ¶
type DeployedBytecode struct { SourceMap string `json:"sourceMap"` Object hexutil.Bytes `json:"object"` LinkReferences json.RawMessage `json:"linkReferences"` ImmutableReferences json.RawMessage `json:"immutableReferences,omitempty"` }
DeployedBytecode represents the deployed bytecode section of the solc compiler output.
Click to show internal directories.
Click to hide internal directories.