Documentation
¶
Index ¶
- Variables
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetData() []*common.Felt252
- func (x *Event) GetFromAddress() *common.Felt252
- func (x *Event) GetKeys() []*common.Felt252
- func (x *Event) GetTransactionHash() *common.Hash
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type EventsRequest
- type EventsResponse
- func (*EventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EventsResponse) GetEvent() *Event
- func (x *EventsResponse) GetEventMessage() isEventsResponse_EventMessage
- func (x *EventsResponse) GetFin() *common.Fin
- func (*EventsResponse) ProtoMessage()
- func (x *EventsResponse) ProtoReflect() protoreflect.Message
- func (x *EventsResponse) Reset()
- func (x *EventsResponse) String() string
- type EventsResponse_Event
- type EventsResponse_Fin
Constants ¶
This section is empty.
Variables ¶
View Source
var File_p2p_proto_sync_event_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
TransactionHash *common.Hash `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"`
FromAddress *common.Felt252 `protobuf:"bytes,3,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
Keys []*common.Felt252 `protobuf:"bytes,4,rep,name=keys,proto3" json:"keys,omitempty"`
Data []*common.Felt252 `protobuf:"bytes,5,rep,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*Event) Descriptor
deprecated
func (*Event) GetFromAddress ¶
func (*Event) GetTransactionHash ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type EventsRequest ¶
type EventsRequest struct {
Iteration *common1.Iteration `protobuf:"bytes,1,opt,name=iteration,proto3" json:"iteration,omitempty"`
// contains filtered or unexported fields
}
func (*EventsRequest) Descriptor
deprecated
func (*EventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use EventsRequest.ProtoReflect.Descriptor instead.
func (*EventsRequest) GetIteration ¶
func (x *EventsRequest) GetIteration() *common1.Iteration
func (*EventsRequest) ProtoMessage ¶
func (*EventsRequest) ProtoMessage()
func (*EventsRequest) ProtoReflect ¶
func (x *EventsRequest) ProtoReflect() protoreflect.Message
func (*EventsRequest) Reset ¶
func (x *EventsRequest) Reset()
func (*EventsRequest) String ¶
func (x *EventsRequest) String() string
type EventsResponse ¶
type EventsResponse struct {
// Types that are valid to be assigned to EventMessage:
//
// *EventsResponse_Event
// *EventsResponse_Fin
EventMessage isEventsResponse_EventMessage `protobuf_oneof:"event_message"`
// contains filtered or unexported fields
}
Responses are sent ordered by the order given in the request.
func (*EventsResponse) Descriptor
deprecated
func (*EventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use EventsResponse.ProtoReflect.Descriptor instead.
func (*EventsResponse) GetEvent ¶
func (x *EventsResponse) GetEvent() *Event
func (*EventsResponse) GetEventMessage ¶
func (x *EventsResponse) GetEventMessage() isEventsResponse_EventMessage
func (*EventsResponse) GetFin ¶
func (x *EventsResponse) GetFin() *common.Fin
func (*EventsResponse) ProtoMessage ¶
func (*EventsResponse) ProtoMessage()
func (*EventsResponse) ProtoReflect ¶
func (x *EventsResponse) ProtoReflect() protoreflect.Message
func (*EventsResponse) Reset ¶
func (x *EventsResponse) Reset()
func (*EventsResponse) String ¶
func (x *EventsResponse) String() string
type EventsResponse_Event ¶
type EventsResponse_Event struct {
Event *Event `protobuf:"bytes,1,opt,name=event,proto3,oneof"`
}
type EventsResponse_Fin ¶
Click to show internal directories.
Click to hide internal directories.