Documentation ¶
Index ¶
- Variables
- type BytecodeMetadata
- func (*BytecodeMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *BytecodeMetadata) GetBzzr0() string
- func (x *BytecodeMetadata) GetBzzr1() string
- func (x *BytecodeMetadata) GetCborLength() uint32
- func (x *BytecodeMetadata) GetExecutionBytecode() []byte
- func (x *BytecodeMetadata) GetExperimental() bool
- func (x *BytecodeMetadata) GetIpfs() string
- func (x *BytecodeMetadata) GetRaw() []byte
- func (x *BytecodeMetadata) GetSolc() string
- func (x *BytecodeMetadata) GetSolgo() string
- func (*BytecodeMetadata) ProtoMessage()
- func (x *BytecodeMetadata) ProtoReflect() protoreflect.Message
- func (x *BytecodeMetadata) Reset()
- func (x *BytecodeMetadata) String() string
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetCompiler() *Metadata_Compiler
- func (x *Metadata) GetLanguage() string
- func (x *Metadata) GetOutput() *Metadata_Output
- func (x *Metadata) GetRaw() string
- func (x *Metadata) GetSettings() *Metadata_Settings
- func (x *Metadata) GetSources() map[string]*Metadata_Source
- func (x *Metadata) GetVersion() int32
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- type MetadataRequest
- func (*MetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MetadataRequest) GetAddress() string
- func (x *MetadataRequest) GetBytecode() string
- func (x *MetadataRequest) GetChainId() int64
- func (*MetadataRequest) ProtoMessage()
- func (x *MetadataRequest) ProtoReflect() protoreflect.Message
- func (x *MetadataRequest) Reset()
- func (x *MetadataRequest) String() string
- type MetadataResponse
- func (*MetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MetadataResponse) GetAddress() string
- func (x *MetadataResponse) GetBytecode() string
- func (x *MetadataResponse) GetBytecodeMetadata() *BytecodeMetadata
- func (x *MetadataResponse) GetChainId() int64
- func (x *MetadataResponse) GetMetadata() *Metadata
- func (x *MetadataResponse) GetStatus() *common.Status
- func (*MetadataResponse) ProtoMessage()
- func (x *MetadataResponse) ProtoReflect() protoreflect.Message
- func (x *MetadataResponse) Reset()
- func (x *MetadataResponse) String() string
- type Metadata_Compiler
- func (*Metadata_Compiler) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata_Compiler) GetKeccak256() string
- func (x *Metadata_Compiler) GetVersion() string
- func (*Metadata_Compiler) ProtoMessage()
- func (x *Metadata_Compiler) ProtoReflect() protoreflect.Message
- func (x *Metadata_Compiler) Reset()
- func (x *Metadata_Compiler) String() string
- type Metadata_Output
- type Metadata_Settings
- func (*Metadata_Settings) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata_Settings) GetCompilationTarget() map[string]string
- func (x *Metadata_Settings) GetEvmVersion() string
- func (x *Metadata_Settings) GetLibraries() map[string]string
- func (x *Metadata_Settings) GetMetadata() *Metadata_Settings_MetadataSettings
- func (x *Metadata_Settings) GetOptimizer() *Metadata_Settings_Optimizer
- func (x *Metadata_Settings) GetRemappings() []string
- func (*Metadata_Settings) ProtoMessage()
- func (x *Metadata_Settings) ProtoReflect() protoreflect.Message
- func (x *Metadata_Settings) Reset()
- func (x *Metadata_Settings) String() string
- type Metadata_Settings_MetadataSettings
- func (*Metadata_Settings_MetadataSettings) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata_Settings_MetadataSettings) GetAppendCbor() bool
- func (x *Metadata_Settings_MetadataSettings) GetBytecodeHash() string
- func (x *Metadata_Settings_MetadataSettings) GetUseLiteralContent() bool
- func (*Metadata_Settings_MetadataSettings) ProtoMessage()
- func (x *Metadata_Settings_MetadataSettings) ProtoReflect() protoreflect.Message
- func (x *Metadata_Settings_MetadataSettings) Reset()
- func (x *Metadata_Settings_MetadataSettings) String() string
- type Metadata_Settings_Optimizer
- func (*Metadata_Settings_Optimizer) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata_Settings_Optimizer) GetDetails() *Metadata_Settings_Optimizer_Details
- func (x *Metadata_Settings_Optimizer) GetEnabled() bool
- func (x *Metadata_Settings_Optimizer) GetRuns() int32
- func (*Metadata_Settings_Optimizer) ProtoMessage()
- func (x *Metadata_Settings_Optimizer) ProtoReflect() protoreflect.Message
- func (x *Metadata_Settings_Optimizer) Reset()
- func (x *Metadata_Settings_Optimizer) String() string
- type Metadata_Settings_Optimizer_Details
- func (*Metadata_Settings_Optimizer_Details) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata_Settings_Optimizer_Details) GetConstantOptimizer() bool
- func (x *Metadata_Settings_Optimizer_Details) GetCse() bool
- func (x *Metadata_Settings_Optimizer_Details) GetDeduplicate() bool
- func (x *Metadata_Settings_Optimizer_Details) GetInliner() bool
- func (x *Metadata_Settings_Optimizer_Details) GetJumpdestRemover() bool
- func (x *Metadata_Settings_Optimizer_Details) GetOrderLiterals() bool
- func (x *Metadata_Settings_Optimizer_Details) GetPeephole() bool
- func (x *Metadata_Settings_Optimizer_Details) GetYul() bool
- func (x *Metadata_Settings_Optimizer_Details) GetYulDetails() *Metadata_Settings_Optimizer_Details_YulDetails
- func (*Metadata_Settings_Optimizer_Details) ProtoMessage()
- func (x *Metadata_Settings_Optimizer_Details) ProtoReflect() protoreflect.Message
- func (x *Metadata_Settings_Optimizer_Details) Reset()
- func (x *Metadata_Settings_Optimizer_Details) String() string
- type Metadata_Settings_Optimizer_Details_YulDetails
- func (*Metadata_Settings_Optimizer_Details_YulDetails) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata_Settings_Optimizer_Details_YulDetails) GetOptimizerSteps() int32
- func (x *Metadata_Settings_Optimizer_Details_YulDetails) GetStackAllocation() bool
- func (*Metadata_Settings_Optimizer_Details_YulDetails) ProtoMessage()
- func (x *Metadata_Settings_Optimizer_Details_YulDetails) ProtoReflect() protoreflect.Message
- func (x *Metadata_Settings_Optimizer_Details_YulDetails) Reset()
- func (x *Metadata_Settings_Optimizer_Details_YulDetails) String() string
- type Metadata_Source
- func (*Metadata_Source) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata_Source) GetContent() string
- func (x *Metadata_Source) GetKeccak256() string
- func (x *Metadata_Source) GetLicense() string
- func (x *Metadata_Source) GetUrls() []string
- func (*Metadata_Source) ProtoMessage()
- func (x *Metadata_Source) ProtoReflect() protoreflect.Message
- func (x *Metadata_Source) Reset()
- func (x *Metadata_Source) String() string
Constants ¶
This section is empty.
Variables ¶
var File_metadata_metadata_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BytecodeMetadata ¶
type BytecodeMetadata struct { ExecutionBytecode []byte `protobuf:"bytes,1,opt,name=execution_bytecode,json=executionBytecode,proto3" json:"execution_bytecode,omitempty"` // The execution bytecode. CborLength uint32 `protobuf:"varint,2,opt,name=cbor_length,json=cborLength,proto3" json:"cbor_length,omitempty"` // The length of the CBOR data. Raw []byte `protobuf:"bytes,3,opt,name=raw,proto3" json:"raw,omitempty"` // The raw bytecode. Ipfs string `protobuf:"bytes,4,opt,name=ipfs,proto3" json:"ipfs,omitempty"` // The IPFS hash of the bytecode. Bzzr1 string `protobuf:"bytes,5,opt,name=bzzr1,proto3" json:"bzzr1,omitempty"` // The bzzr1 hash of the bytecode. Bzzr0 string `protobuf:"bytes,6,opt,name=bzzr0,proto3" json:"bzzr0,omitempty"` // The bzzr0 hash of the bytecode. Experimental bool `protobuf:"varint,7,opt,name=experimental,proto3" json:"experimental,omitempty"` // Indicates if the bytecode is experimental. Solc string `protobuf:"bytes,8,opt,name=solc,proto3" json:"solc,omitempty"` // The version of the Solidity compiler used. Solgo string `protobuf:"bytes,9,opt,name=solgo,proto3" json:"solgo,omitempty"` // The version of SolGo used. // contains filtered or unexported fields }
BytecodeMetadata represents metadata associated with bytecode.
func (*BytecodeMetadata) Descriptor
deprecated
func (*BytecodeMetadata) Descriptor() ([]byte, []int)
Deprecated: Use BytecodeMetadata.ProtoReflect.Descriptor instead.
func (*BytecodeMetadata) GetBzzr0 ¶
func (x *BytecodeMetadata) GetBzzr0() string
func (*BytecodeMetadata) GetBzzr1 ¶
func (x *BytecodeMetadata) GetBzzr1() string
func (*BytecodeMetadata) GetCborLength ¶
func (x *BytecodeMetadata) GetCborLength() uint32
func (*BytecodeMetadata) GetExecutionBytecode ¶
func (x *BytecodeMetadata) GetExecutionBytecode() []byte
func (*BytecodeMetadata) GetExperimental ¶
func (x *BytecodeMetadata) GetExperimental() bool
func (*BytecodeMetadata) GetIpfs ¶
func (x *BytecodeMetadata) GetIpfs() string
func (*BytecodeMetadata) GetRaw ¶
func (x *BytecodeMetadata) GetRaw() []byte
func (*BytecodeMetadata) GetSolc ¶
func (x *BytecodeMetadata) GetSolc() string
func (*BytecodeMetadata) GetSolgo ¶
func (x *BytecodeMetadata) GetSolgo() string
func (*BytecodeMetadata) ProtoMessage ¶
func (*BytecodeMetadata) ProtoMessage()
func (*BytecodeMetadata) ProtoReflect ¶
func (x *BytecodeMetadata) ProtoReflect() protoreflect.Message
func (*BytecodeMetadata) Reset ¶
func (x *BytecodeMetadata) Reset()
func (*BytecodeMetadata) String ¶
func (x *BytecodeMetadata) String() string
type Metadata ¶
type Metadata struct { Raw string `protobuf:"bytes,1,opt,name=raw,proto3" json:"raw,omitempty"` // The raw metadata. Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` // The version of the metadata. Compiler *Metadata_Compiler `protobuf:"bytes,3,opt,name=compiler,proto3" json:"compiler,omitempty"` // The compiler used to compile the contract. Language string `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"` // The language used to write the contract. Settings *Metadata_Settings `protobuf:"bytes,5,opt,name=settings,proto3" json:"settings,omitempty"` // The settings used to compile the contract. Output *Metadata_Output `protobuf:"bytes,6,opt,name=output,proto3" json:"output,omitempty"` // The output of the contract compilation. Sources map[string]*Metadata_Source `` // The sources of the contract. /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
Metadata represents contract metadata.
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetCompiler ¶
func (x *Metadata) GetCompiler() *Metadata_Compiler
func (*Metadata) GetLanguage ¶
func (*Metadata) GetOutput ¶
func (x *Metadata) GetOutput() *Metadata_Output
func (*Metadata) GetSettings ¶
func (x *Metadata) GetSettings() *Metadata_Settings
func (*Metadata) GetSources ¶
func (x *Metadata) GetSources() map[string]*Metadata_Source
func (*Metadata) GetVersion ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type MetadataRequest ¶
type MetadataRequest struct { ChainId int64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // The chain ID. Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // The address of the contract. Bytecode string `protobuf:"bytes,3,opt,name=bytecode,proto3" json:"bytecode,omitempty"` // The bytecode of the contract. // contains filtered or unexported fields }
MetadataRequest represents a request for metadata.
func (*MetadataRequest) Descriptor
deprecated
func (*MetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use MetadataRequest.ProtoReflect.Descriptor instead.
func (*MetadataRequest) GetAddress ¶
func (x *MetadataRequest) GetAddress() string
func (*MetadataRequest) GetBytecode ¶
func (x *MetadataRequest) GetBytecode() string
func (*MetadataRequest) GetChainId ¶
func (x *MetadataRequest) GetChainId() int64
func (*MetadataRequest) ProtoMessage ¶
func (*MetadataRequest) ProtoMessage()
func (*MetadataRequest) ProtoReflect ¶
func (x *MetadataRequest) ProtoReflect() protoreflect.Message
func (*MetadataRequest) Reset ¶
func (x *MetadataRequest) Reset()
func (*MetadataRequest) String ¶
func (x *MetadataRequest) String() string
type MetadataResponse ¶
type MetadataResponse struct { Status *common.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // The status of the response. ChainId int64 `protobuf:"varint,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // The chain ID. Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // The address of the contract. Bytecode string `protobuf:"bytes,4,opt,name=bytecode,proto3" json:"bytecode,omitempty"` // The bytecode of the contract. BytecodeMetadata *BytecodeMetadata `protobuf:"bytes,5,opt,name=bytecode_metadata,json=bytecodeMetadata,proto3" json:"bytecode_metadata,omitempty"` // The bytecode metadata. Metadata *Metadata `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` // The contract metadata. // contains filtered or unexported fields }
MetadataResponse represents a response to a metadata request.
func (*MetadataResponse) Descriptor
deprecated
func (*MetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use MetadataResponse.ProtoReflect.Descriptor instead.
func (*MetadataResponse) GetAddress ¶
func (x *MetadataResponse) GetAddress() string
func (*MetadataResponse) GetBytecode ¶
func (x *MetadataResponse) GetBytecode() string
func (*MetadataResponse) GetBytecodeMetadata ¶
func (x *MetadataResponse) GetBytecodeMetadata() *BytecodeMetadata
func (*MetadataResponse) GetChainId ¶
func (x *MetadataResponse) GetChainId() int64
func (*MetadataResponse) GetMetadata ¶
func (x *MetadataResponse) GetMetadata() *Metadata
func (*MetadataResponse) GetStatus ¶
func (x *MetadataResponse) GetStatus() *common.Status
func (*MetadataResponse) ProtoMessage ¶
func (*MetadataResponse) ProtoMessage()
func (*MetadataResponse) ProtoReflect ¶
func (x *MetadataResponse) ProtoReflect() protoreflect.Message
func (*MetadataResponse) Reset ¶
func (x *MetadataResponse) Reset()
func (*MetadataResponse) String ¶
func (x *MetadataResponse) String() string
type Metadata_Compiler ¶
type Metadata_Compiler struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // The version of the compiler. Keccak256 string `protobuf:"bytes,2,opt,name=keccak256,proto3" json:"keccak256,omitempty"` // The Keccak-256 hash of the compiler. // contains filtered or unexported fields }
Compiler represents the compiler used to compile the contract.
func (*Metadata_Compiler) Descriptor
deprecated
func (*Metadata_Compiler) Descriptor() ([]byte, []int)
Deprecated: Use Metadata_Compiler.ProtoReflect.Descriptor instead.
func (*Metadata_Compiler) GetKeccak256 ¶
func (x *Metadata_Compiler) GetKeccak256() string
func (*Metadata_Compiler) GetVersion ¶
func (x *Metadata_Compiler) GetVersion() string
func (*Metadata_Compiler) ProtoMessage ¶
func (*Metadata_Compiler) ProtoMessage()
func (*Metadata_Compiler) ProtoReflect ¶
func (x *Metadata_Compiler) ProtoReflect() protoreflect.Message
func (*Metadata_Compiler) Reset ¶
func (x *Metadata_Compiler) Reset()
func (*Metadata_Compiler) String ¶
func (x *Metadata_Compiler) String() string
type Metadata_Output ¶
type Metadata_Output struct { Abi *anypb.Any `protobuf:"bytes,1,opt,name=abi,proto3" json:"abi,omitempty"` // The ABI of the contract. // contains filtered or unexported fields }
Output represents the output of the contract compilation.
func (*Metadata_Output) Descriptor
deprecated
func (*Metadata_Output) Descriptor() ([]byte, []int)
Deprecated: Use Metadata_Output.ProtoReflect.Descriptor instead.
func (*Metadata_Output) GetAbi ¶
func (x *Metadata_Output) GetAbi() *anypb.Any
func (*Metadata_Output) ProtoMessage ¶
func (*Metadata_Output) ProtoMessage()
func (*Metadata_Output) ProtoReflect ¶
func (x *Metadata_Output) ProtoReflect() protoreflect.Message
func (*Metadata_Output) Reset ¶
func (x *Metadata_Output) Reset()
func (*Metadata_Output) String ¶
func (x *Metadata_Output) String() string
type Metadata_Settings ¶
type Metadata_Settings struct { EvmVersion string `protobuf:"bytes,1,opt,name=evm_version,json=evmVersion,proto3" json:"evm_version,omitempty"` // The version of the EVM used. CompilationTarget map[string]string `` // The compilation target. /* 200-byte string literal not displayed */ Libraries map[string]string `` // The libraries used. /* 159-byte string literal not displayed */ Remappings []string `protobuf:"bytes,4,rep,name=remappings,proto3" json:"remappings,omitempty"` // The remappings used. Metadata *Metadata_Settings_MetadataSettings `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // The metadata settings. Optimizer *Metadata_Settings_Optimizer `protobuf:"bytes,6,opt,name=optimizer,proto3" json:"optimizer,omitempty"` // The optimizer settings. // contains filtered or unexported fields }
Settings represents the settings used to compile the contract.
func (*Metadata_Settings) Descriptor
deprecated
func (*Metadata_Settings) Descriptor() ([]byte, []int)
Deprecated: Use Metadata_Settings.ProtoReflect.Descriptor instead.
func (*Metadata_Settings) GetCompilationTarget ¶
func (x *Metadata_Settings) GetCompilationTarget() map[string]string
func (*Metadata_Settings) GetEvmVersion ¶
func (x *Metadata_Settings) GetEvmVersion() string
func (*Metadata_Settings) GetLibraries ¶
func (x *Metadata_Settings) GetLibraries() map[string]string
func (*Metadata_Settings) GetMetadata ¶
func (x *Metadata_Settings) GetMetadata() *Metadata_Settings_MetadataSettings
func (*Metadata_Settings) GetOptimizer ¶
func (x *Metadata_Settings) GetOptimizer() *Metadata_Settings_Optimizer
func (*Metadata_Settings) GetRemappings ¶
func (x *Metadata_Settings) GetRemappings() []string
func (*Metadata_Settings) ProtoMessage ¶
func (*Metadata_Settings) ProtoMessage()
func (*Metadata_Settings) ProtoReflect ¶
func (x *Metadata_Settings) ProtoReflect() protoreflect.Message
func (*Metadata_Settings) Reset ¶
func (x *Metadata_Settings) Reset()
func (*Metadata_Settings) String ¶
func (x *Metadata_Settings) String() string
type Metadata_Settings_MetadataSettings ¶
type Metadata_Settings_MetadataSettings struct { BytecodeHash string `protobuf:"bytes,1,opt,name=bytecode_hash,json=bytecodeHash,proto3" json:"bytecode_hash,omitempty"` // The hash of the bytecode. UseLiteralContent bool `protobuf:"varint,2,opt,name=use_literal_content,json=useLiteralContent,proto3" json:"use_literal_content,omitempty"` // Indicates if literal content was used. AppendCbor bool `protobuf:"varint,3,opt,name=append_cbor,json=appendCbor,proto3" json:"append_cbor,omitempty"` // Indicates if CBOR was appended. // contains filtered or unexported fields }
MetadataSettings represents the metadata settings.
func (*Metadata_Settings_MetadataSettings) Descriptor
deprecated
func (*Metadata_Settings_MetadataSettings) Descriptor() ([]byte, []int)
Deprecated: Use Metadata_Settings_MetadataSettings.ProtoReflect.Descriptor instead.
func (*Metadata_Settings_MetadataSettings) GetAppendCbor ¶
func (x *Metadata_Settings_MetadataSettings) GetAppendCbor() bool
func (*Metadata_Settings_MetadataSettings) GetBytecodeHash ¶
func (x *Metadata_Settings_MetadataSettings) GetBytecodeHash() string
func (*Metadata_Settings_MetadataSettings) GetUseLiteralContent ¶
func (x *Metadata_Settings_MetadataSettings) GetUseLiteralContent() bool
func (*Metadata_Settings_MetadataSettings) ProtoMessage ¶
func (*Metadata_Settings_MetadataSettings) ProtoMessage()
func (*Metadata_Settings_MetadataSettings) ProtoReflect ¶
func (x *Metadata_Settings_MetadataSettings) ProtoReflect() protoreflect.Message
func (*Metadata_Settings_MetadataSettings) Reset ¶
func (x *Metadata_Settings_MetadataSettings) Reset()
func (*Metadata_Settings_MetadataSettings) String ¶
func (x *Metadata_Settings_MetadataSettings) String() string
type Metadata_Settings_Optimizer ¶
type Metadata_Settings_Optimizer struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // Indicates if the optimizer was enabled. Runs int32 `protobuf:"varint,2,opt,name=runs,proto3" json:"runs,omitempty"` // The number of runs the optimizer made. Details *Metadata_Settings_Optimizer_Details `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` // The details of the optimizer. // contains filtered or unexported fields }
Optimizer represents the optimizer settings.
func (*Metadata_Settings_Optimizer) Descriptor
deprecated
func (*Metadata_Settings_Optimizer) Descriptor() ([]byte, []int)
Deprecated: Use Metadata_Settings_Optimizer.ProtoReflect.Descriptor instead.
func (*Metadata_Settings_Optimizer) GetDetails ¶
func (x *Metadata_Settings_Optimizer) GetDetails() *Metadata_Settings_Optimizer_Details
func (*Metadata_Settings_Optimizer) GetEnabled ¶
func (x *Metadata_Settings_Optimizer) GetEnabled() bool
func (*Metadata_Settings_Optimizer) GetRuns ¶
func (x *Metadata_Settings_Optimizer) GetRuns() int32
func (*Metadata_Settings_Optimizer) ProtoMessage ¶
func (*Metadata_Settings_Optimizer) ProtoMessage()
func (*Metadata_Settings_Optimizer) ProtoReflect ¶
func (x *Metadata_Settings_Optimizer) ProtoReflect() protoreflect.Message
func (*Metadata_Settings_Optimizer) Reset ¶
func (x *Metadata_Settings_Optimizer) Reset()
func (*Metadata_Settings_Optimizer) String ¶
func (x *Metadata_Settings_Optimizer) String() string
type Metadata_Settings_Optimizer_Details ¶
type Metadata_Settings_Optimizer_Details struct { Peephole bool `protobuf:"varint,1,opt,name=peephole,proto3" json:"peephole,omitempty"` // Indicates if the peephole optimization was used. Inliner bool `protobuf:"varint,2,opt,name=inliner,proto3" json:"inliner,omitempty"` // Indicates if the inliner optimization was used. JumpdestRemover bool `protobuf:"varint,3,opt,name=jumpdest_remover,json=jumpdestRemover,proto3" json:"jumpdest_remover,omitempty"` // Indicates if the jumpdest remover optimization was used. OrderLiterals bool `protobuf:"varint,4,opt,name=order_literals,json=orderLiterals,proto3" json:"order_literals,omitempty"` // Indicates if the order literals optimization was used. Deduplicate bool `protobuf:"varint,5,opt,name=deduplicate,proto3" json:"deduplicate,omitempty"` // Indicates if the deduplicate optimization was used. Cse bool `protobuf:"varint,6,opt,name=cse,proto3" json:"cse,omitempty"` // Indicates if the common subexpression elimination optimization was used. ConstantOptimizer bool `protobuf:"varint,7,opt,name=constant_optimizer,json=constantOptimizer,proto3" json:"constant_optimizer,omitempty"` // Indicates if the constant optimizer was used. Yul bool `protobuf:"varint,8,opt,name=yul,proto3" json:"yul,omitempty"` // Indicates if the Yul optimizer was used. YulDetails *Metadata_Settings_Optimizer_Details_YulDetails `protobuf:"bytes,9,opt,name=yul_details,json=yulDetails,proto3" json:"yul_details,omitempty"` // The details of the Yul optimizer. // contains filtered or unexported fields }
Details represents the details of the optimizer.
func (*Metadata_Settings_Optimizer_Details) Descriptor
deprecated
func (*Metadata_Settings_Optimizer_Details) Descriptor() ([]byte, []int)
Deprecated: Use Metadata_Settings_Optimizer_Details.ProtoReflect.Descriptor instead.
func (*Metadata_Settings_Optimizer_Details) GetConstantOptimizer ¶
func (x *Metadata_Settings_Optimizer_Details) GetConstantOptimizer() bool
func (*Metadata_Settings_Optimizer_Details) GetCse ¶
func (x *Metadata_Settings_Optimizer_Details) GetCse() bool
func (*Metadata_Settings_Optimizer_Details) GetDeduplicate ¶
func (x *Metadata_Settings_Optimizer_Details) GetDeduplicate() bool
func (*Metadata_Settings_Optimizer_Details) GetInliner ¶
func (x *Metadata_Settings_Optimizer_Details) GetInliner() bool
func (*Metadata_Settings_Optimizer_Details) GetJumpdestRemover ¶
func (x *Metadata_Settings_Optimizer_Details) GetJumpdestRemover() bool
func (*Metadata_Settings_Optimizer_Details) GetOrderLiterals ¶
func (x *Metadata_Settings_Optimizer_Details) GetOrderLiterals() bool
func (*Metadata_Settings_Optimizer_Details) GetPeephole ¶
func (x *Metadata_Settings_Optimizer_Details) GetPeephole() bool
func (*Metadata_Settings_Optimizer_Details) GetYul ¶
func (x *Metadata_Settings_Optimizer_Details) GetYul() bool
func (*Metadata_Settings_Optimizer_Details) GetYulDetails ¶
func (x *Metadata_Settings_Optimizer_Details) GetYulDetails() *Metadata_Settings_Optimizer_Details_YulDetails
func (*Metadata_Settings_Optimizer_Details) ProtoMessage ¶
func (*Metadata_Settings_Optimizer_Details) ProtoMessage()
func (*Metadata_Settings_Optimizer_Details) ProtoReflect ¶
func (x *Metadata_Settings_Optimizer_Details) ProtoReflect() protoreflect.Message
func (*Metadata_Settings_Optimizer_Details) Reset ¶
func (x *Metadata_Settings_Optimizer_Details) Reset()
func (*Metadata_Settings_Optimizer_Details) String ¶
func (x *Metadata_Settings_Optimizer_Details) String() string
type Metadata_Settings_Optimizer_Details_YulDetails ¶
type Metadata_Settings_Optimizer_Details_YulDetails struct { StackAllocation bool `protobuf:"varint,1,opt,name=stack_allocation,json=stackAllocation,proto3" json:"stack_allocation,omitempty"` // Indicates if stack allocation was used. OptimizerSteps int32 `protobuf:"varint,2,opt,name=optimizer_steps,json=optimizerSteps,proto3" json:"optimizer_steps,omitempty"` // The number of steps the optimizer made. // contains filtered or unexported fields }
YulDetails represents the details of the Yul optimizer.
func (*Metadata_Settings_Optimizer_Details_YulDetails) Descriptor
deprecated
func (*Metadata_Settings_Optimizer_Details_YulDetails) Descriptor() ([]byte, []int)
Deprecated: Use Metadata_Settings_Optimizer_Details_YulDetails.ProtoReflect.Descriptor instead.
func (*Metadata_Settings_Optimizer_Details_YulDetails) GetOptimizerSteps ¶
func (x *Metadata_Settings_Optimizer_Details_YulDetails) GetOptimizerSteps() int32
func (*Metadata_Settings_Optimizer_Details_YulDetails) GetStackAllocation ¶
func (x *Metadata_Settings_Optimizer_Details_YulDetails) GetStackAllocation() bool
func (*Metadata_Settings_Optimizer_Details_YulDetails) ProtoMessage ¶
func (*Metadata_Settings_Optimizer_Details_YulDetails) ProtoMessage()
func (*Metadata_Settings_Optimizer_Details_YulDetails) ProtoReflect ¶
func (x *Metadata_Settings_Optimizer_Details_YulDetails) ProtoReflect() protoreflect.Message
func (*Metadata_Settings_Optimizer_Details_YulDetails) Reset ¶
func (x *Metadata_Settings_Optimizer_Details_YulDetails) Reset()
func (*Metadata_Settings_Optimizer_Details_YulDetails) String ¶
func (x *Metadata_Settings_Optimizer_Details_YulDetails) String() string
type Metadata_Source ¶
type Metadata_Source struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // The content of the source. Keccak256 string `protobuf:"bytes,2,opt,name=keccak256,proto3" json:"keccak256,omitempty"` // The Keccak-256 hash of the source. License string `protobuf:"bytes,3,opt,name=license,proto3" json:"license,omitempty"` // The license of the source. Urls []string `protobuf:"bytes,4,rep,name=urls,proto3" json:"urls,omitempty"` // The URLs of the source. // contains filtered or unexported fields }
Source represents a source of the contract.
func (*Metadata_Source) Descriptor
deprecated
func (*Metadata_Source) Descriptor() ([]byte, []int)
Deprecated: Use Metadata_Source.ProtoReflect.Descriptor instead.
func (*Metadata_Source) GetContent ¶
func (x *Metadata_Source) GetContent() string
func (*Metadata_Source) GetKeccak256 ¶
func (x *Metadata_Source) GetKeccak256() string
func (*Metadata_Source) GetLicense ¶
func (x *Metadata_Source) GetLicense() string
func (*Metadata_Source) GetUrls ¶
func (x *Metadata_Source) GetUrls() []string
func (*Metadata_Source) ProtoMessage ¶
func (*Metadata_Source) ProtoMessage()
func (*Metadata_Source) ProtoReflect ¶
func (x *Metadata_Source) ProtoReflect() protoreflect.Message
func (*Metadata_Source) Reset ¶
func (x *Metadata_Source) Reset()
func (*Metadata_Source) String ¶
func (x *Metadata_Source) String() string