Documentation
¶
Index ¶
- Variables
- type Abi
- func (*Abi) Descriptor() ([]byte, []int)deprecated
- func (x *Abi) Equal(y *Abi) bool
- func (x *Abi) GetConstructor() *Function
- func (x *Abi) GetEvents() []*AbiEvent
- func (x *Abi) GetFunctions() []*Function
- func (x *Abi) GetL1Handlers() []*Function
- func (x *Abi) GetStructs() []*Struct
- func (*Abi) ProtoMessage()
- func (x *Abi) ProtoReflect() protoreflect.Message
- func (x *Abi) Reset()
- func (x *Abi) String() string
- type AbiEvent
- func (*AbiEvent) Descriptor() ([]byte, []int)deprecated
- func (x *AbiEvent) Equal(y *AbiEvent) bool
- func (x *AbiEvent) GetData() []*AbiEvent_Data
- func (x *AbiEvent) GetKeys() []string
- func (x *AbiEvent) GetName() string
- func (*AbiEvent) ProtoMessage()
- func (x *AbiEvent) ProtoReflect() protoreflect.Message
- func (x *AbiEvent) Reset()
- func (x *AbiEvent) String() string
- type AbiEvent_Data
- func (*AbiEvent_Data) Descriptor() ([]byte, []int)deprecated
- func (x *AbiEvent_Data) GetName() string
- func (x *AbiEvent_Data) GetType() string
- func (*AbiEvent_Data) ProtoMessage()
- func (x *AbiEvent_Data) ProtoReflect() protoreflect.Message
- func (x *AbiEvent_Data) Reset()
- func (x *AbiEvent_Data) String() string
- type Function
- func (*Function) Descriptor() ([]byte, []int)deprecated
- func (x *Function) Equal(y *Function) bool
- func (x *Function) GetInputs() []*Function_Input
- func (x *Function) GetName() string
- func (x *Function) GetOutputs() []*Function_Output
- func (*Function) ProtoMessage()
- func (x *Function) ProtoReflect() protoreflect.Message
- func (x *Function) Reset()
- func (x *Function) String() string
- type Function_Input
- func (*Function_Input) Descriptor() ([]byte, []int)deprecated
- func (x *Function_Input) GetName() string
- func (x *Function_Input) GetType() string
- func (*Function_Input) ProtoMessage()
- func (x *Function_Input) ProtoReflect() protoreflect.Message
- func (x *Function_Input) Reset()
- func (x *Function_Input) String() string
- type Function_Output
- func (*Function_Output) Descriptor() ([]byte, []int)deprecated
- func (x *Function_Output) GetName() string
- func (x *Function_Output) GetType() string
- func (*Function_Output) ProtoMessage()
- func (x *Function_Output) ProtoReflect() protoreflect.Message
- func (x *Function_Output) Reset()
- func (x *Function_Output) String() string
- type Manager
- type Struct
- func (*Struct) Descriptor() ([]byte, []int)deprecated
- func (x *Struct) Equal(y *Struct) bool
- func (x *Struct) GetFields() []*Struct_Field
- func (x *Struct) GetName() string
- func (x *Struct) GetSize() uint64
- func (*Struct) ProtoMessage()
- func (x *Struct) ProtoReflect() protoreflect.Message
- func (x *Struct) Reset()
- func (x *Struct) String() string
- type Struct_Field
- func (*Struct_Field) Descriptor() ([]byte, []int)deprecated
- func (x *Struct_Field) GetName() string
- func (x *Struct_Field) GetOffset() uint32
- func (x *Struct_Field) GetType() string
- func (*Struct_Field) ProtoMessage()
- func (x *Struct_Field) ProtoReflect() protoreflect.Message
- func (x *Struct_Field) Reset()
- func (x *Struct_Field) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_abi_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Abi ¶
type Abi struct {
Functions []*Function `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"`
Events []*AbiEvent `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"`
Structs []*Struct `protobuf:"bytes,3,rep,name=structs,proto3" json:"structs,omitempty"`
L1Handlers []*Function `protobuf:"bytes,4,rep,name=l1Handlers,proto3" json:"l1Handlers,omitempty"`
Constructor *Function `protobuf:"bytes,5,opt,name=constructor,proto3" json:"constructor,omitempty"`
// contains filtered or unexported fields
}
func (*Abi) Descriptor
deprecated
func (*Abi) GetConstructor ¶
func (*Abi) GetFunctions ¶
func (*Abi) GetL1Handlers ¶
func (*Abi) GetStructs ¶
func (*Abi) ProtoMessage ¶
func (*Abi) ProtoMessage()
func (*Abi) ProtoReflect ¶
func (x *Abi) ProtoReflect() protoreflect.Message
type AbiEvent ¶
type AbiEvent struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Data []*AbiEvent_Data `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
Keys []string `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"`
// contains filtered or unexported fields
}
func (*AbiEvent) Descriptor
deprecated
func (*AbiEvent) GetData ¶
func (x *AbiEvent) GetData() []*AbiEvent_Data
func (*AbiEvent) ProtoMessage ¶
func (*AbiEvent) ProtoMessage()
func (*AbiEvent) ProtoReflect ¶
func (x *AbiEvent) ProtoReflect() protoreflect.Message
type AbiEvent_Data ¶
type AbiEvent_Data struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// contains filtered or unexported fields
}
func (*AbiEvent_Data) Descriptor
deprecated
func (*AbiEvent_Data) Descriptor() ([]byte, []int)
Deprecated: Use AbiEvent_Data.ProtoReflect.Descriptor instead.
func (*AbiEvent_Data) GetName ¶
func (x *AbiEvent_Data) GetName() string
func (*AbiEvent_Data) GetType ¶
func (x *AbiEvent_Data) GetType() string
func (*AbiEvent_Data) ProtoMessage ¶
func (*AbiEvent_Data) ProtoMessage()
func (*AbiEvent_Data) ProtoReflect ¶
func (x *AbiEvent_Data) ProtoReflect() protoreflect.Message
func (*AbiEvent_Data) Reset ¶
func (x *AbiEvent_Data) Reset()
func (*AbiEvent_Data) String ¶
func (x *AbiEvent_Data) String() string
type Function ¶
type Function struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Inputs []*Function_Input `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"`
Outputs []*Function_Output `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty"`
// contains filtered or unexported fields
}
func (*Function) Descriptor
deprecated
func (*Function) GetInputs ¶
func (x *Function) GetInputs() []*Function_Input
func (*Function) GetOutputs ¶
func (x *Function) GetOutputs() []*Function_Output
func (*Function) ProtoMessage ¶
func (*Function) ProtoMessage()
func (*Function) ProtoReflect ¶
func (x *Function) ProtoReflect() protoreflect.Message
type Function_Input ¶
type Function_Input struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// contains filtered or unexported fields
}
func (*Function_Input) Descriptor
deprecated
func (*Function_Input) Descriptor() ([]byte, []int)
Deprecated: Use Function_Input.ProtoReflect.Descriptor instead.
func (*Function_Input) GetName ¶
func (x *Function_Input) GetName() string
func (*Function_Input) GetType ¶
func (x *Function_Input) GetType() string
func (*Function_Input) ProtoMessage ¶
func (*Function_Input) ProtoMessage()
func (*Function_Input) ProtoReflect ¶
func (x *Function_Input) ProtoReflect() protoreflect.Message
func (*Function_Input) Reset ¶
func (x *Function_Input) Reset()
func (*Function_Input) String ¶
func (x *Function_Input) String() string
type Function_Output ¶
type Function_Output struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// contains filtered or unexported fields
}
func (*Function_Output) Descriptor
deprecated
func (*Function_Output) Descriptor() ([]byte, []int)
Deprecated: Use Function_Output.ProtoReflect.Descriptor instead.
func (*Function_Output) GetName ¶
func (x *Function_Output) GetName() string
func (*Function_Output) GetType ¶
func (x *Function_Output) GetType() string
func (*Function_Output) ProtoMessage ¶
func (*Function_Output) ProtoMessage()
func (*Function_Output) ProtoReflect ¶
func (x *Function_Output) ProtoReflect() protoreflect.Message
func (*Function_Output) Reset ¶
func (x *Function_Output) Reset()
func (*Function_Output) String ¶
func (x *Function_Output) String() string
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager is a database to store and get the contracts ABI.
func NewManager ¶
NewManager creates a new Manager instance.
type Struct ¶
type Struct struct {
Fields []*Struct_Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
// contains filtered or unexported fields
}
func (*Struct) Descriptor
deprecated
func (*Struct) GetFields ¶
func (x *Struct) GetFields() []*Struct_Field
func (*Struct) ProtoMessage ¶
func (*Struct) ProtoMessage()
func (*Struct) ProtoReflect ¶
func (x *Struct) ProtoReflect() protoreflect.Message
type Struct_Field ¶
type Struct_Field struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Offset uint32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
// contains filtered or unexported fields
}
func (*Struct_Field) Descriptor
deprecated
func (*Struct_Field) Descriptor() ([]byte, []int)
Deprecated: Use Struct_Field.ProtoReflect.Descriptor instead.
func (*Struct_Field) GetName ¶
func (x *Struct_Field) GetName() string
func (*Struct_Field) GetOffset ¶
func (x *Struct_Field) GetOffset() uint32
func (*Struct_Field) GetType ¶
func (x *Struct_Field) GetType() string
func (*Struct_Field) ProtoMessage ¶
func (*Struct_Field) ProtoMessage()
func (*Struct_Field) ProtoReflect ¶
func (x *Struct_Field) ProtoReflect() protoreflect.Message
func (*Struct_Field) Reset ¶
func (x *Struct_Field) Reset()
func (*Struct_Field) String ¶
func (x *Struct_Field) String() string
Click to show internal directories.
Click to hide internal directories.