event

package
v0.0.0-...-5096976 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package event is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	EventQuery_Event_FullMethodName               = "/event.EventQuery/Event"
	EventQuery_ContractEvents_FullMethodName      = "/event.EventQuery/ContractEvents"
	EventQuery_ContractEventCount_FullMethodName  = "/event.EventQuery/ContractEventCount"
	EventQuery_EventsAtLedger_FullMethodName      = "/event.EventQuery/EventsAtLedger"
	EventQuery_TransferEvents_FullMethodName      = "/event.EventQuery/TransferEvents"
	EventQuery_TransferEventsFrom_FullMethodName  = "/event.EventQuery/TransferEventsFrom"
	EventQuery_TransferEventsTo_FullMethodName    = "/event.EventQuery/TransferEventsTo"
	EventQuery_MintEvents_FullMethodName          = "/event.EventQuery/MintEvents"
	EventQuery_MintEventsAdmin_FullMethodName     = "/event.EventQuery/MintEventsAdmin"
	EventQuery_MintEventsTo_FullMethodName        = "/event.EventQuery/MintEventsTo"
	EventQuery_BurnEvents_FullMethodName          = "/event.EventQuery/BurnEvents"
	EventQuery_BurnEventsFrom_FullMethodName      = "/event.EventQuery/BurnEventsFrom"
	EventQuery_ClawbackEvents_FullMethodName      = "/event.EventQuery/ClawbackEvents"
	EventQuery_ClawbackEventsAdmin_FullMethodName = "/event.EventQuery/ClawbackEventsAdmin"
	EventQuery_ClawbackEventsFrom_FullMethodName  = "/event.EventQuery/ClawbackEventsFrom"
)

Variables

View Source
var EventQuery_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "event.EventQuery",
	HandlerType: (*EventQueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Event",
			Handler:    _EventQuery_Event_Handler,
		},
		{
			MethodName: "ContractEvents",
			Handler:    _EventQuery_ContractEvents_Handler,
		},
		{
			MethodName: "ContractEventCount",
			Handler:    _EventQuery_ContractEventCount_Handler,
		},
		{
			MethodName: "EventsAtLedger",
			Handler:    _EventQuery_EventsAtLedger_Handler,
		},
		{
			MethodName: "TransferEvents",
			Handler:    _EventQuery_TransferEvents_Handler,
		},
		{
			MethodName: "TransferEventsFrom",
			Handler:    _EventQuery_TransferEventsFrom_Handler,
		},
		{
			MethodName: "TransferEventsTo",
			Handler:    _EventQuery_TransferEventsTo_Handler,
		},
		{
			MethodName: "MintEvents",
			Handler:    _EventQuery_MintEvents_Handler,
		},
		{
			MethodName: "MintEventsAdmin",
			Handler:    _EventQuery_MintEventsAdmin_Handler,
		},
		{
			MethodName: "MintEventsTo",
			Handler:    _EventQuery_MintEventsTo_Handler,
		},
		{
			MethodName: "BurnEvents",
			Handler:    _EventQuery_BurnEvents_Handler,
		},
		{
			MethodName: "BurnEventsFrom",
			Handler:    _EventQuery_BurnEventsFrom_Handler,
		},
		{
			MethodName: "ClawbackEvents",
			Handler:    _EventQuery_ClawbackEvents_Handler,
		},
		{
			MethodName: "ClawbackEventsAdmin",
			Handler:    _EventQuery_ClawbackEventsAdmin_Handler,
		},
		{
			MethodName: "ClawbackEventsFrom",
			Handler:    _EventQuery_ClawbackEventsFrom_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "event/query.proto",
}

EventQuery_ServiceDesc is the grpc.ServiceDesc for EventQuery service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_event_event_proto protoreflect.FileDescriptor
View Source
var File_event_query_proto protoreflect.FileDescriptor

Functions

func RegisterEventQueryHandler

func RegisterEventQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterEventQueryHandler registers the http handlers for service EventQuery to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterEventQueryHandlerClient

func RegisterEventQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EventQueryClient) error

RegisterEventQueryHandlerClient registers the http handlers for service EventQuery to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "EventQueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "EventQueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "EventQueryClient" to call the correct interceptors.

func RegisterEventQueryHandlerFromEndpoint

func RegisterEventQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterEventQueryHandlerFromEndpoint is same as RegisterEventQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterEventQueryHandlerServer

func RegisterEventQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EventQueryServer) error

RegisterEventQueryHandlerServer registers the http handlers for service EventQuery to "mux". UnaryRPC :call EventQueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterEventQueryHandlerFromEndpoint instead.

func RegisterEventQueryServer

func RegisterEventQueryServer(s grpc.ServiceRegistrar, srv EventQueryServer)

Types

type BurnEvent

type BurnEvent struct {
	Id         string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ContractId string `protobuf:"bytes,2,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	TxHash     string `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	FromAddr   string `protobuf:"bytes,4,opt,name=from_addr,json=fromAddr,proto3" json:"from_addr,omitempty"`
	AmountHi   int64  `protobuf:"varint,5,opt,name=amount_hi,json=amountHi,proto3" json:"amount_hi,omitempty"`
	AmountLo   uint64 `protobuf:"varint,6,opt,name=amount_lo,json=amountLo,proto3" json:"amount_lo,omitempty"`
	// contains filtered or unexported fields
}

func (*BurnEvent) Descriptor deprecated

func (*BurnEvent) Descriptor() ([]byte, []int)

Deprecated: Use BurnEvent.ProtoReflect.Descriptor instead.

func (*BurnEvent) GetAmountHi

func (x *BurnEvent) GetAmountHi() int64

func (*BurnEvent) GetAmountLo

func (x *BurnEvent) GetAmountLo() uint64

func (*BurnEvent) GetContractId

func (x *BurnEvent) GetContractId() string

func (*BurnEvent) GetFromAddr

func (x *BurnEvent) GetFromAddr() string

func (*BurnEvent) GetId

func (x *BurnEvent) GetId() string

func (*BurnEvent) GetTxHash

func (x *BurnEvent) GetTxHash() string

func (*BurnEvent) ProtoMessage

func (*BurnEvent) ProtoMessage()

func (*BurnEvent) ProtoReflect

func (x *BurnEvent) ProtoReflect() protoreflect.Message

func (*BurnEvent) Reset

func (x *BurnEvent) Reset()

func (*BurnEvent) String

func (x *BurnEvent) String() string

type BurnEventsFromRequest

type BurnEventsFromRequest struct {
	From     string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	Page     int32  `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int32  `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*BurnEventsFromRequest) Descriptor deprecated

func (*BurnEventsFromRequest) Descriptor() ([]byte, []int)

Deprecated: Use BurnEventsFromRequest.ProtoReflect.Descriptor instead.

func (*BurnEventsFromRequest) GetFrom

func (x *BurnEventsFromRequest) GetFrom() string

func (*BurnEventsFromRequest) GetPage

func (x *BurnEventsFromRequest) GetPage() int32

func (*BurnEventsFromRequest) GetPageSize

func (x *BurnEventsFromRequest) GetPageSize() int32

func (*BurnEventsFromRequest) ProtoMessage

func (*BurnEventsFromRequest) ProtoMessage()

func (*BurnEventsFromRequest) ProtoReflect

func (x *BurnEventsFromRequest) ProtoReflect() protoreflect.Message

func (*BurnEventsFromRequest) Reset

func (x *BurnEventsFromRequest) Reset()

func (*BurnEventsFromRequest) String

func (x *BurnEventsFromRequest) String() string

type BurnEventsFromResponse

type BurnEventsFromResponse struct {
	Events []*BurnEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*BurnEventsFromResponse) Descriptor deprecated

func (*BurnEventsFromResponse) Descriptor() ([]byte, []int)

Deprecated: Use BurnEventsFromResponse.ProtoReflect.Descriptor instead.

func (*BurnEventsFromResponse) GetEvents

func (x *BurnEventsFromResponse) GetEvents() []*BurnEvent

func (*BurnEventsFromResponse) ProtoMessage

func (*BurnEventsFromResponse) ProtoMessage()

func (*BurnEventsFromResponse) ProtoReflect

func (x *BurnEventsFromResponse) ProtoReflect() protoreflect.Message

func (*BurnEventsFromResponse) Reset

func (x *BurnEventsFromResponse) Reset()

func (*BurnEventsFromResponse) String

func (x *BurnEventsFromResponse) String() string

type BurnEventsRequest

type BurnEventsRequest struct {
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	Page       int32  `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	PageSize   int32  `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*BurnEventsRequest) Descriptor deprecated

func (*BurnEventsRequest) Descriptor() ([]byte, []int)

Deprecated: Use BurnEventsRequest.ProtoReflect.Descriptor instead.

func (*BurnEventsRequest) GetContractId

func (x *BurnEventsRequest) GetContractId() string

func (*BurnEventsRequest) GetPage

func (x *BurnEventsRequest) GetPage() int32

func (*BurnEventsRequest) GetPageSize

func (x *BurnEventsRequest) GetPageSize() int32

func (*BurnEventsRequest) ProtoMessage

func (*BurnEventsRequest) ProtoMessage()

func (*BurnEventsRequest) ProtoReflect

func (x *BurnEventsRequest) ProtoReflect() protoreflect.Message

func (*BurnEventsRequest) Reset

func (x *BurnEventsRequest) Reset()

func (*BurnEventsRequest) String

func (x *BurnEventsRequest) String() string

type BurnEventsResponse

type BurnEventsResponse struct {
	Events []*BurnEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*BurnEventsResponse) Descriptor deprecated

func (*BurnEventsResponse) Descriptor() ([]byte, []int)

Deprecated: Use BurnEventsResponse.ProtoReflect.Descriptor instead.

func (*BurnEventsResponse) GetEvents

func (x *BurnEventsResponse) GetEvents() []*BurnEvent

func (*BurnEventsResponse) ProtoMessage

func (*BurnEventsResponse) ProtoMessage()

func (*BurnEventsResponse) ProtoReflect

func (x *BurnEventsResponse) ProtoReflect() protoreflect.Message

func (*BurnEventsResponse) Reset

func (x *BurnEventsResponse) Reset()

func (*BurnEventsResponse) String

func (x *BurnEventsResponse) String() string

type ClawbackEvent

type ClawbackEvent struct {
	Id         string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ContractId string `protobuf:"bytes,2,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	TxHash     string `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	AdminAddr  string `protobuf:"bytes,4,opt,name=admin_addr,json=adminAddr,proto3" json:"admin_addr,omitempty"`
	FromAddr   string `protobuf:"bytes,5,opt,name=from_addr,json=fromAddr,proto3" json:"from_addr,omitempty"`
	AmountHi   int64  `protobuf:"varint,6,opt,name=amount_hi,json=amountHi,proto3" json:"amount_hi,omitempty"`
	AmountLo   uint64 `protobuf:"varint,7,opt,name=amount_lo,json=amountLo,proto3" json:"amount_lo,omitempty"`
	// contains filtered or unexported fields
}

func (*ClawbackEvent) Descriptor deprecated

func (*ClawbackEvent) Descriptor() ([]byte, []int)

Deprecated: Use ClawbackEvent.ProtoReflect.Descriptor instead.

func (*ClawbackEvent) GetAdminAddr

func (x *ClawbackEvent) GetAdminAddr() string

func (*ClawbackEvent) GetAmountHi

func (x *ClawbackEvent) GetAmountHi() int64

func (*ClawbackEvent) GetAmountLo

func (x *ClawbackEvent) GetAmountLo() uint64

func (*ClawbackEvent) GetContractId

func (x *ClawbackEvent) GetContractId() string

func (*ClawbackEvent) GetFromAddr

func (x *ClawbackEvent) GetFromAddr() string

func (*ClawbackEvent) GetId

func (x *ClawbackEvent) GetId() string

func (*ClawbackEvent) GetTxHash

func (x *ClawbackEvent) GetTxHash() string

func (*ClawbackEvent) ProtoMessage

func (*ClawbackEvent) ProtoMessage()

func (*ClawbackEvent) ProtoReflect

func (x *ClawbackEvent) ProtoReflect() protoreflect.Message

func (*ClawbackEvent) Reset

func (x *ClawbackEvent) Reset()

func (*ClawbackEvent) String

func (x *ClawbackEvent) String() string

type ClawbackEventsAdminRequest

type ClawbackEventsAdminRequest struct {
	Admin    string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	Page     int32  `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int32  `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ClawbackEventsAdminRequest) Descriptor deprecated

func (*ClawbackEventsAdminRequest) Descriptor() ([]byte, []int)

Deprecated: Use ClawbackEventsAdminRequest.ProtoReflect.Descriptor instead.

func (*ClawbackEventsAdminRequest) GetAdmin

func (x *ClawbackEventsAdminRequest) GetAdmin() string

func (*ClawbackEventsAdminRequest) GetPage

func (x *ClawbackEventsAdminRequest) GetPage() int32

func (*ClawbackEventsAdminRequest) GetPageSize

func (x *ClawbackEventsAdminRequest) GetPageSize() int32

func (*ClawbackEventsAdminRequest) ProtoMessage

func (*ClawbackEventsAdminRequest) ProtoMessage()

func (*ClawbackEventsAdminRequest) ProtoReflect

func (*ClawbackEventsAdminRequest) Reset

func (x *ClawbackEventsAdminRequest) Reset()

func (*ClawbackEventsAdminRequest) String

func (x *ClawbackEventsAdminRequest) String() string

type ClawbackEventsAdminResponse

type ClawbackEventsAdminResponse struct {
	Events []*ClawbackEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*ClawbackEventsAdminResponse) Descriptor deprecated

func (*ClawbackEventsAdminResponse) Descriptor() ([]byte, []int)

Deprecated: Use ClawbackEventsAdminResponse.ProtoReflect.Descriptor instead.

func (*ClawbackEventsAdminResponse) GetEvents

func (x *ClawbackEventsAdminResponse) GetEvents() []*ClawbackEvent

func (*ClawbackEventsAdminResponse) ProtoMessage

func (*ClawbackEventsAdminResponse) ProtoMessage()

func (*ClawbackEventsAdminResponse) ProtoReflect

func (*ClawbackEventsAdminResponse) Reset

func (x *ClawbackEventsAdminResponse) Reset()

func (*ClawbackEventsAdminResponse) String

func (x *ClawbackEventsAdminResponse) String() string

type ClawbackEventsFromRequest

type ClawbackEventsFromRequest struct {
	From     string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	Page     int32  `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int32  `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ClawbackEventsFromRequest) Descriptor deprecated

func (*ClawbackEventsFromRequest) Descriptor() ([]byte, []int)

Deprecated: Use ClawbackEventsFromRequest.ProtoReflect.Descriptor instead.

func (*ClawbackEventsFromRequest) GetFrom

func (x *ClawbackEventsFromRequest) GetFrom() string

func (*ClawbackEventsFromRequest) GetPage

func (x *ClawbackEventsFromRequest) GetPage() int32

func (*ClawbackEventsFromRequest) GetPageSize

func (x *ClawbackEventsFromRequest) GetPageSize() int32

func (*ClawbackEventsFromRequest) ProtoMessage

func (*ClawbackEventsFromRequest) ProtoMessage()

func (*ClawbackEventsFromRequest) ProtoReflect

func (*ClawbackEventsFromRequest) Reset

func (x *ClawbackEventsFromRequest) Reset()

func (*ClawbackEventsFromRequest) String

func (x *ClawbackEventsFromRequest) String() string

type ClawbackEventsFromResponse

type ClawbackEventsFromResponse struct {
	Events []*ClawbackEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*ClawbackEventsFromResponse) Descriptor deprecated

func (*ClawbackEventsFromResponse) Descriptor() ([]byte, []int)

Deprecated: Use ClawbackEventsFromResponse.ProtoReflect.Descriptor instead.

func (*ClawbackEventsFromResponse) GetEvents

func (x *ClawbackEventsFromResponse) GetEvents() []*ClawbackEvent

func (*ClawbackEventsFromResponse) ProtoMessage

func (*ClawbackEventsFromResponse) ProtoMessage()

func (*ClawbackEventsFromResponse) ProtoReflect

func (*ClawbackEventsFromResponse) Reset

func (x *ClawbackEventsFromResponse) Reset()

func (*ClawbackEventsFromResponse) String

func (x *ClawbackEventsFromResponse) String() string

type ClawbackEventsRequest

type ClawbackEventsRequest struct {
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	Page       int32  `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	PageSize   int32  `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ClawbackEventsRequest) Descriptor deprecated

func (*ClawbackEventsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ClawbackEventsRequest.ProtoReflect.Descriptor instead.

func (*ClawbackEventsRequest) GetContractId

func (x *ClawbackEventsRequest) GetContractId() string

func (*ClawbackEventsRequest) GetPage

func (x *ClawbackEventsRequest) GetPage() int32

func (*ClawbackEventsRequest) GetPageSize

func (x *ClawbackEventsRequest) GetPageSize() int32

func (*ClawbackEventsRequest) ProtoMessage

func (*ClawbackEventsRequest) ProtoMessage()

func (*ClawbackEventsRequest) ProtoReflect

func (x *ClawbackEventsRequest) ProtoReflect() protoreflect.Message

func (*ClawbackEventsRequest) Reset

func (x *ClawbackEventsRequest) Reset()

func (*ClawbackEventsRequest) String

func (x *ClawbackEventsRequest) String() string

type ClawbackEventsResponse

type ClawbackEventsResponse struct {
	Events []*ClawbackEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*ClawbackEventsResponse) Descriptor deprecated

func (*ClawbackEventsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ClawbackEventsResponse.ProtoReflect.Descriptor instead.

func (*ClawbackEventsResponse) GetEvents

func (x *ClawbackEventsResponse) GetEvents() []*ClawbackEvent

func (*ClawbackEventsResponse) ProtoMessage

func (*ClawbackEventsResponse) ProtoMessage()

func (*ClawbackEventsResponse) ProtoReflect

func (x *ClawbackEventsResponse) ProtoReflect() protoreflect.Message

func (*ClawbackEventsResponse) Reset

func (x *ClawbackEventsResponse) Reset()

func (*ClawbackEventsResponse) String

func (x *ClawbackEventsResponse) String() string

type ContractEventCountRequest

type ContractEventCountRequest struct {
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ContractEventCountRequest) Descriptor deprecated

func (*ContractEventCountRequest) Descriptor() ([]byte, []int)

Deprecated: Use ContractEventCountRequest.ProtoReflect.Descriptor instead.

func (*ContractEventCountRequest) GetContractId

func (x *ContractEventCountRequest) GetContractId() string

func (*ContractEventCountRequest) ProtoMessage

func (*ContractEventCountRequest) ProtoMessage()

func (*ContractEventCountRequest) ProtoReflect

func (*ContractEventCountRequest) Reset

func (x *ContractEventCountRequest) Reset()

func (*ContractEventCountRequest) String

func (x *ContractEventCountRequest) String() string

type ContractEventCountResponse

type ContractEventCountResponse struct {
	Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*ContractEventCountResponse) Descriptor deprecated

func (*ContractEventCountResponse) Descriptor() ([]byte, []int)

Deprecated: Use ContractEventCountResponse.ProtoReflect.Descriptor instead.

func (*ContractEventCountResponse) GetTotal

func (x *ContractEventCountResponse) GetTotal() int64

func (*ContractEventCountResponse) ProtoMessage

func (*ContractEventCountResponse) ProtoMessage()

func (*ContractEventCountResponse) ProtoReflect

func (*ContractEventCountResponse) Reset

func (x *ContractEventCountResponse) Reset()

func (*ContractEventCountResponse) String

func (x *ContractEventCountResponse) String() string

type ContractEventsRequest

type ContractEventsRequest struct {
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	Page       int32  `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	PageSize   int32  `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ContractEventsRequest) Descriptor deprecated

func (*ContractEventsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ContractEventsRequest.ProtoReflect.Descriptor instead.

func (*ContractEventsRequest) GetContractId

func (x *ContractEventsRequest) GetContractId() string

func (*ContractEventsRequest) GetPage

func (x *ContractEventsRequest) GetPage() int32

func (*ContractEventsRequest) GetPageSize

func (x *ContractEventsRequest) GetPageSize() int32

func (*ContractEventsRequest) ProtoMessage

func (*ContractEventsRequest) ProtoMessage()

func (*ContractEventsRequest) ProtoReflect

func (x *ContractEventsRequest) ProtoReflect() protoreflect.Message

func (*ContractEventsRequest) Reset

func (x *ContractEventsRequest) Reset()

func (*ContractEventsRequest) String

func (x *ContractEventsRequest) String() string

type ContractEventsResponse

type ContractEventsResponse struct {
	Events []*EventInfo `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*ContractEventsResponse) Descriptor deprecated

func (*ContractEventsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ContractEventsResponse.ProtoReflect.Descriptor instead.

func (*ContractEventsResponse) GetEvents

func (x *ContractEventsResponse) GetEvents() []*EventInfo

func (*ContractEventsResponse) ProtoMessage

func (*ContractEventsResponse) ProtoMessage()

func (*ContractEventsResponse) ProtoReflect

func (x *ContractEventsResponse) ProtoReflect() protoreflect.Message

func (*ContractEventsResponse) Reset

func (x *ContractEventsResponse) Reset()

func (*ContractEventsResponse) String

func (x *ContractEventsResponse) String() string

type Event

type Event struct {
	Id           string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ContractId   string `protobuf:"bytes,2,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	TxHash       string `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	EventBodyXdr []byte `protobuf:"bytes,4,opt,name=event_body_xdr,json=eventBodyXdr,proto3" json:"event_body_xdr,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

func (*Event) Descriptor() ([]byte, []int)

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetContractId

func (x *Event) GetContractId() string

func (*Event) GetEventBodyXdr

func (x *Event) GetEventBodyXdr() []byte

func (*Event) GetId

func (x *Event) GetId() string

func (*Event) GetTxHash

func (x *Event) GetTxHash() string

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

func (x *Event) ProtoReflect() protoreflect.Message

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type EventInfo

type EventInfo struct {
	Id         string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ContractId string           `protobuf:"bytes,2,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	TxHash     string           `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	Event      *structpb.Struct `protobuf:"bytes,4,opt,name=event,proto3" json:"event,omitempty"`
	// contains filtered or unexported fields
}

func (*EventInfo) Descriptor deprecated

func (*EventInfo) Descriptor() ([]byte, []int)

Deprecated: Use EventInfo.ProtoReflect.Descriptor instead.

func (*EventInfo) GetContractId

func (x *EventInfo) GetContractId() string

func (*EventInfo) GetEvent

func (x *EventInfo) GetEvent() *structpb.Struct

func (*EventInfo) GetId

func (x *EventInfo) GetId() string

func (*EventInfo) GetTxHash

func (x *EventInfo) GetTxHash() string

func (*EventInfo) ProtoMessage

func (*EventInfo) ProtoMessage()

func (*EventInfo) ProtoReflect

func (x *EventInfo) ProtoReflect() protoreflect.Message

func (*EventInfo) Reset

func (x *EventInfo) Reset()

func (*EventInfo) String

func (x *EventInfo) String() string

type EventQueryClient

type EventQueryClient interface {
	// Event queries event info given event id.
	Event(ctx context.Context, in *EventRequest, opts ...grpc.CallOption) (*EventResponse, error)
	// ContractEvents queries 10 events that match the given page.
	ContractEvents(ctx context.Context, in *ContractEventsRequest, opts ...grpc.CallOption) (*ContractEventsResponse, error)
	// ContractEventCount queries number of events that match the given contract
	// id.
	ContractEventCount(ctx context.Context, in *ContractEventCountRequest, opts ...grpc.CallOption) (*ContractEventCountResponse, error)
	// EventsAtLedger queries all events of contract at specific ledger sequence.
	EventsAtLedger(ctx context.Context, in *EventsAtLedgerRequest, opts ...grpc.CallOption) (*EventsAtLedgerResponse, error)
	// TransferEvents queries 10 events that match the given contract id and page.
	TransferEvents(ctx context.Context, in *TransferEventsRequest, opts ...grpc.CallOption) (*TransferEventsResponse, error)
	// TransferEventsFrom queries 10 events that match the given from address and page.
	TransferEventsFrom(ctx context.Context, in *TransferEventsFromRequest, opts ...grpc.CallOption) (*TransferEventsFromResponse, error)
	// TransferEventsTo queries 10 events that match the given from address and page.
	TransferEventsTo(ctx context.Context, in *TransferEventsToRequest, opts ...grpc.CallOption) (*TransferEventsToResponse, error)
	// MintEvents queries 10 events that match the given contract id and page.
	MintEvents(ctx context.Context, in *MintEventsRequest, opts ...grpc.CallOption) (*MintEventsResponse, error)
	// MintEventsAdmin queries 10 events that match the given admin and page.
	MintEventsAdmin(ctx context.Context, in *MintEventsAdminRequest, opts ...grpc.CallOption) (*MintEventsAdminResponse, error)
	// MintEventsTo queries 10 events that match the given to address and page.
	MintEventsTo(ctx context.Context, in *MintEventsToRequest, opts ...grpc.CallOption) (*MintEventsToResponse, error)
	// BurnEvents queries 10 events that match the given contract id and page.
	BurnEvents(ctx context.Context, in *BurnEventsRequest, opts ...grpc.CallOption) (*BurnEventsResponse, error)
	// BurnEventsFrom queries 10 events that match the given from address and page.
	BurnEventsFrom(ctx context.Context, in *BurnEventsFromRequest, opts ...grpc.CallOption) (*BurnEventsFromResponse, error)
	// ClawbackEvents queries 10 events that match the given contract id and page.
	ClawbackEvents(ctx context.Context, in *ClawbackEventsRequest, opts ...grpc.CallOption) (*ClawbackEventsResponse, error)
	// ClawbackEventsAdmin queries 10 events that match the given admin address and page.
	ClawbackEventsAdmin(ctx context.Context, in *ClawbackEventsAdminRequest, opts ...grpc.CallOption) (*ClawbackEventsAdminResponse, error)
	// ClawbackEventsFrom queries 10 events that match the given drom address and page.
	ClawbackEventsFrom(ctx context.Context, in *ClawbackEventsFromRequest, opts ...grpc.CallOption) (*ClawbackEventsFromResponse, error)
}

EventQueryClient is the client API for EventQuery service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewEventQueryClient

func NewEventQueryClient(cc grpc.ClientConnInterface) EventQueryClient

type EventQueryServer

type EventQueryServer interface {
	// Event queries event info given event id.
	Event(context.Context, *EventRequest) (*EventResponse, error)
	// ContractEvents queries 10 events that match the given page.
	ContractEvents(context.Context, *ContractEventsRequest) (*ContractEventsResponse, error)
	// ContractEventCount queries number of events that match the given contract
	// id.
	ContractEventCount(context.Context, *ContractEventCountRequest) (*ContractEventCountResponse, error)
	// EventsAtLedger queries all events of contract at specific ledger sequence.
	EventsAtLedger(context.Context, *EventsAtLedgerRequest) (*EventsAtLedgerResponse, error)
	// TransferEvents queries 10 events that match the given contract id and page.
	TransferEvents(context.Context, *TransferEventsRequest) (*TransferEventsResponse, error)
	// TransferEventsFrom queries 10 events that match the given from address and page.
	TransferEventsFrom(context.Context, *TransferEventsFromRequest) (*TransferEventsFromResponse, error)
	// TransferEventsTo queries 10 events that match the given from address and page.
	TransferEventsTo(context.Context, *TransferEventsToRequest) (*TransferEventsToResponse, error)
	// MintEvents queries 10 events that match the given contract id and page.
	MintEvents(context.Context, *MintEventsRequest) (*MintEventsResponse, error)
	// MintEventsAdmin queries 10 events that match the given admin and page.
	MintEventsAdmin(context.Context, *MintEventsAdminRequest) (*MintEventsAdminResponse, error)
	// MintEventsTo queries 10 events that match the given to address and page.
	MintEventsTo(context.Context, *MintEventsToRequest) (*MintEventsToResponse, error)
	// BurnEvents queries 10 events that match the given contract id and page.
	BurnEvents(context.Context, *BurnEventsRequest) (*BurnEventsResponse, error)
	// BurnEventsFrom queries 10 events that match the given from address and page.
	BurnEventsFrom(context.Context, *BurnEventsFromRequest) (*BurnEventsFromResponse, error)
	// ClawbackEvents queries 10 events that match the given contract id and page.
	ClawbackEvents(context.Context, *ClawbackEventsRequest) (*ClawbackEventsResponse, error)
	// ClawbackEventsAdmin queries 10 events that match the given admin address and page.
	ClawbackEventsAdmin(context.Context, *ClawbackEventsAdminRequest) (*ClawbackEventsAdminResponse, error)
	// ClawbackEventsFrom queries 10 events that match the given drom address and page.
	ClawbackEventsFrom(context.Context, *ClawbackEventsFromRequest) (*ClawbackEventsFromResponse, error)
	// contains filtered or unexported methods
}

EventQueryServer is the server API for EventQuery service. All implementations must embed UnimplementedEventQueryServer for forward compatibility.

type EventRequest

type EventRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*EventRequest) Descriptor deprecated

func (*EventRequest) Descriptor() ([]byte, []int)

Deprecated: Use EventRequest.ProtoReflect.Descriptor instead.

func (*EventRequest) GetId

func (x *EventRequest) GetId() string

func (*EventRequest) ProtoMessage

func (*EventRequest) ProtoMessage()

func (*EventRequest) ProtoReflect

func (x *EventRequest) ProtoReflect() protoreflect.Message

func (*EventRequest) Reset

func (x *EventRequest) Reset()

func (*EventRequest) String

func (x *EventRequest) String() string

type EventResponse

type EventResponse struct {
	Event *EventInfo `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	Found bool       `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
	// contains filtered or unexported fields
}

func (*EventResponse) Descriptor deprecated

func (*EventResponse) Descriptor() ([]byte, []int)

Deprecated: Use EventResponse.ProtoReflect.Descriptor instead.

func (*EventResponse) GetEvent

func (x *EventResponse) GetEvent() *EventInfo

func (*EventResponse) GetFound

func (x *EventResponse) GetFound() bool

func (*EventResponse) ProtoMessage

func (*EventResponse) ProtoMessage()

func (*EventResponse) ProtoReflect

func (x *EventResponse) ProtoReflect() protoreflect.Message

func (*EventResponse) Reset

func (x *EventResponse) Reset()

func (*EventResponse) String

func (x *EventResponse) String() string

type EventsAtLedgerRequest

type EventsAtLedgerRequest struct {
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	Ledger     uint32 `protobuf:"varint,2,opt,name=ledger,proto3" json:"ledger,omitempty"`
	// contains filtered or unexported fields
}

func (*EventsAtLedgerRequest) Descriptor deprecated

func (*EventsAtLedgerRequest) Descriptor() ([]byte, []int)

Deprecated: Use EventsAtLedgerRequest.ProtoReflect.Descriptor instead.

func (*EventsAtLedgerRequest) GetContractId

func (x *EventsAtLedgerRequest) GetContractId() string

func (*EventsAtLedgerRequest) GetLedger

func (x *EventsAtLedgerRequest) GetLedger() uint32

func (*EventsAtLedgerRequest) ProtoMessage

func (*EventsAtLedgerRequest) ProtoMessage()

func (*EventsAtLedgerRequest) ProtoReflect

func (x *EventsAtLedgerRequest) ProtoReflect() protoreflect.Message

func (*EventsAtLedgerRequest) Reset

func (x *EventsAtLedgerRequest) Reset()

func (*EventsAtLedgerRequest) String

func (x *EventsAtLedgerRequest) String() string

type EventsAtLedgerResponse

type EventsAtLedgerResponse struct {
	Events []*EventInfo `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*EventsAtLedgerResponse) Descriptor deprecated

func (*EventsAtLedgerResponse) Descriptor() ([]byte, []int)

Deprecated: Use EventsAtLedgerResponse.ProtoReflect.Descriptor instead.

func (*EventsAtLedgerResponse) GetEvents

func (x *EventsAtLedgerResponse) GetEvents() []*EventInfo

func (*EventsAtLedgerResponse) ProtoMessage

func (*EventsAtLedgerResponse) ProtoMessage()

func (*EventsAtLedgerResponse) ProtoReflect

func (x *EventsAtLedgerResponse) ProtoReflect() protoreflect.Message

func (*EventsAtLedgerResponse) Reset

func (x *EventsAtLedgerResponse) Reset()

func (*EventsAtLedgerResponse) String

func (x *EventsAtLedgerResponse) String() string

type MintEvent

type MintEvent struct {
	Id         string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ContractId string `protobuf:"bytes,2,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	TxHash     string `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	AdminAddr  string `protobuf:"bytes,4,opt,name=admin_addr,json=adminAddr,proto3" json:"admin_addr,omitempty"`
	ToAddr     string `protobuf:"bytes,5,opt,name=to_addr,json=toAddr,proto3" json:"to_addr,omitempty"`
	AmountHi   int64  `protobuf:"varint,6,opt,name=amount_hi,json=amountHi,proto3" json:"amount_hi,omitempty"`
	AmountLo   uint64 `protobuf:"varint,7,opt,name=amount_lo,json=amountLo,proto3" json:"amount_lo,omitempty"`
	// contains filtered or unexported fields
}

func (*MintEvent) Descriptor deprecated

func (*MintEvent) Descriptor() ([]byte, []int)

Deprecated: Use MintEvent.ProtoReflect.Descriptor instead.

func (*MintEvent) GetAdminAddr

func (x *MintEvent) GetAdminAddr() string

func (*MintEvent) GetAmountHi

func (x *MintEvent) GetAmountHi() int64

func (*MintEvent) GetAmountLo

func (x *MintEvent) GetAmountLo() uint64

func (*MintEvent) GetContractId

func (x *MintEvent) GetContractId() string

func (*MintEvent) GetId

func (x *MintEvent) GetId() string

func (*MintEvent) GetToAddr

func (x *MintEvent) GetToAddr() string

func (*MintEvent) GetTxHash

func (x *MintEvent) GetTxHash() string

func (*MintEvent) ProtoMessage

func (*MintEvent) ProtoMessage()

func (*MintEvent) ProtoReflect

func (x *MintEvent) ProtoReflect() protoreflect.Message

func (*MintEvent) Reset

func (x *MintEvent) Reset()

func (*MintEvent) String

func (x *MintEvent) String() string

type MintEventsAdminRequest

type MintEventsAdminRequest struct {
	Admin    string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	Page     int32  `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int32  `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*MintEventsAdminRequest) Descriptor deprecated

func (*MintEventsAdminRequest) Descriptor() ([]byte, []int)

Deprecated: Use MintEventsAdminRequest.ProtoReflect.Descriptor instead.

func (*MintEventsAdminRequest) GetAdmin

func (x *MintEventsAdminRequest) GetAdmin() string

func (*MintEventsAdminRequest) GetPage

func (x *MintEventsAdminRequest) GetPage() int32

func (*MintEventsAdminRequest) GetPageSize

func (x *MintEventsAdminRequest) GetPageSize() int32

func (*MintEventsAdminRequest) ProtoMessage

func (*MintEventsAdminRequest) ProtoMessage()

func (*MintEventsAdminRequest) ProtoReflect

func (x *MintEventsAdminRequest) ProtoReflect() protoreflect.Message

func (*MintEventsAdminRequest) Reset

func (x *MintEventsAdminRequest) Reset()

func (*MintEventsAdminRequest) String

func (x *MintEventsAdminRequest) String() string

type MintEventsAdminResponse

type MintEventsAdminResponse struct {
	Events []*MintEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*MintEventsAdminResponse) Descriptor deprecated

func (*MintEventsAdminResponse) Descriptor() ([]byte, []int)

Deprecated: Use MintEventsAdminResponse.ProtoReflect.Descriptor instead.

func (*MintEventsAdminResponse) GetEvents

func (x *MintEventsAdminResponse) GetEvents() []*MintEvent

func (*MintEventsAdminResponse) ProtoMessage

func (*MintEventsAdminResponse) ProtoMessage()

func (*MintEventsAdminResponse) ProtoReflect

func (x *MintEventsAdminResponse) ProtoReflect() protoreflect.Message

func (*MintEventsAdminResponse) Reset

func (x *MintEventsAdminResponse) Reset()

func (*MintEventsAdminResponse) String

func (x *MintEventsAdminResponse) String() string

type MintEventsRequest

type MintEventsRequest struct {
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	Page       int32  `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	PageSize   int32  `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*MintEventsRequest) Descriptor deprecated

func (*MintEventsRequest) Descriptor() ([]byte, []int)

Deprecated: Use MintEventsRequest.ProtoReflect.Descriptor instead.

func (*MintEventsRequest) GetContractId

func (x *MintEventsRequest) GetContractId() string

func (*MintEventsRequest) GetPage

func (x *MintEventsRequest) GetPage() int32

func (*MintEventsRequest) GetPageSize

func (x *MintEventsRequest) GetPageSize() int32

func (*MintEventsRequest) ProtoMessage

func (*MintEventsRequest) ProtoMessage()

func (*MintEventsRequest) ProtoReflect

func (x *MintEventsRequest) ProtoReflect() protoreflect.Message

func (*MintEventsRequest) Reset

func (x *MintEventsRequest) Reset()

func (*MintEventsRequest) String

func (x *MintEventsRequest) String() string

type MintEventsResponse

type MintEventsResponse struct {
	Events []*MintEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*MintEventsResponse) Descriptor deprecated

func (*MintEventsResponse) Descriptor() ([]byte, []int)

Deprecated: Use MintEventsResponse.ProtoReflect.Descriptor instead.

func (*MintEventsResponse) GetEvents

func (x *MintEventsResponse) GetEvents() []*MintEvent

func (*MintEventsResponse) ProtoMessage

func (*MintEventsResponse) ProtoMessage()

func (*MintEventsResponse) ProtoReflect

func (x *MintEventsResponse) ProtoReflect() protoreflect.Message

func (*MintEventsResponse) Reset

func (x *MintEventsResponse) Reset()

func (*MintEventsResponse) String

func (x *MintEventsResponse) String() string

type MintEventsToRequest

type MintEventsToRequest struct {
	To       string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
	Page     int32  `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int32  `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*MintEventsToRequest) Descriptor deprecated

func (*MintEventsToRequest) Descriptor() ([]byte, []int)

Deprecated: Use MintEventsToRequest.ProtoReflect.Descriptor instead.

func (*MintEventsToRequest) GetPage

func (x *MintEventsToRequest) GetPage() int32

func (*MintEventsToRequest) GetPageSize

func (x *MintEventsToRequest) GetPageSize() int32

func (*MintEventsToRequest) GetTo

func (x *MintEventsToRequest) GetTo() string

func (*MintEventsToRequest) ProtoMessage

func (*MintEventsToRequest) ProtoMessage()

func (*MintEventsToRequest) ProtoReflect

func (x *MintEventsToRequest) ProtoReflect() protoreflect.Message

func (*MintEventsToRequest) Reset

func (x *MintEventsToRequest) Reset()

func (*MintEventsToRequest) String

func (x *MintEventsToRequest) String() string

type MintEventsToResponse

type MintEventsToResponse struct {
	Events []*MintEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*MintEventsToResponse) Descriptor deprecated

func (*MintEventsToResponse) Descriptor() ([]byte, []int)

Deprecated: Use MintEventsToResponse.ProtoReflect.Descriptor instead.

func (*MintEventsToResponse) GetEvents

func (x *MintEventsToResponse) GetEvents() []*MintEvent

func (*MintEventsToResponse) ProtoMessage

func (*MintEventsToResponse) ProtoMessage()

func (*MintEventsToResponse) ProtoReflect

func (x *MintEventsToResponse) ProtoReflect() protoreflect.Message

func (*MintEventsToResponse) Reset

func (x *MintEventsToResponse) Reset()

func (*MintEventsToResponse) String

func (x *MintEventsToResponse) String() string

type TranferEvent

type TranferEvent struct {
	Id         string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ContractId string `protobuf:"bytes,2,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	TxHash     string `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	FromAddr   string `protobuf:"bytes,4,opt,name=from_addr,json=fromAddr,proto3" json:"from_addr,omitempty"`
	ToAddr     string `protobuf:"bytes,5,opt,name=to_addr,json=toAddr,proto3" json:"to_addr,omitempty"`
	AmountHi   int64  `protobuf:"varint,6,opt,name=amount_hi,json=amountHi,proto3" json:"amount_hi,omitempty"`
	AmountLo   uint64 `protobuf:"varint,7,opt,name=amount_lo,json=amountLo,proto3" json:"amount_lo,omitempty"`
	// contains filtered or unexported fields
}

func (*TranferEvent) Descriptor deprecated

func (*TranferEvent) Descriptor() ([]byte, []int)

Deprecated: Use TranferEvent.ProtoReflect.Descriptor instead.

func (*TranferEvent) GetAmountHi

func (x *TranferEvent) GetAmountHi() int64

func (*TranferEvent) GetAmountLo

func (x *TranferEvent) GetAmountLo() uint64

func (*TranferEvent) GetContractId

func (x *TranferEvent) GetContractId() string

func (*TranferEvent) GetFromAddr

func (x *TranferEvent) GetFromAddr() string

func (*TranferEvent) GetId

func (x *TranferEvent) GetId() string

func (*TranferEvent) GetToAddr

func (x *TranferEvent) GetToAddr() string

func (*TranferEvent) GetTxHash

func (x *TranferEvent) GetTxHash() string

func (*TranferEvent) ProtoMessage

func (*TranferEvent) ProtoMessage()

func (*TranferEvent) ProtoReflect

func (x *TranferEvent) ProtoReflect() protoreflect.Message

func (*TranferEvent) Reset

func (x *TranferEvent) Reset()

func (*TranferEvent) String

func (x *TranferEvent) String() string

type TransferEventsFromRequest

type TransferEventsFromRequest struct {
	From     string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	Page     int32  `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int32  `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferEventsFromRequest) Descriptor deprecated

func (*TransferEventsFromRequest) Descriptor() ([]byte, []int)

Deprecated: Use TransferEventsFromRequest.ProtoReflect.Descriptor instead.

func (*TransferEventsFromRequest) GetFrom

func (x *TransferEventsFromRequest) GetFrom() string

func (*TransferEventsFromRequest) GetPage

func (x *TransferEventsFromRequest) GetPage() int32

func (*TransferEventsFromRequest) GetPageSize

func (x *TransferEventsFromRequest) GetPageSize() int32

func (*TransferEventsFromRequest) ProtoMessage

func (*TransferEventsFromRequest) ProtoMessage()

func (*TransferEventsFromRequest) ProtoReflect

func (*TransferEventsFromRequest) Reset

func (x *TransferEventsFromRequest) Reset()

func (*TransferEventsFromRequest) String

func (x *TransferEventsFromRequest) String() string

type TransferEventsFromResponse

type TransferEventsFromResponse struct {
	Events []*TranferEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferEventsFromResponse) Descriptor deprecated

func (*TransferEventsFromResponse) Descriptor() ([]byte, []int)

Deprecated: Use TransferEventsFromResponse.ProtoReflect.Descriptor instead.

func (*TransferEventsFromResponse) GetEvents

func (x *TransferEventsFromResponse) GetEvents() []*TranferEvent

func (*TransferEventsFromResponse) ProtoMessage

func (*TransferEventsFromResponse) ProtoMessage()

func (*TransferEventsFromResponse) ProtoReflect

func (*TransferEventsFromResponse) Reset

func (x *TransferEventsFromResponse) Reset()

func (*TransferEventsFromResponse) String

func (x *TransferEventsFromResponse) String() string

type TransferEventsRequest

type TransferEventsRequest struct {
	ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	Page       int32  `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	PageSize   int32  `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferEventsRequest) Descriptor deprecated

func (*TransferEventsRequest) Descriptor() ([]byte, []int)

Deprecated: Use TransferEventsRequest.ProtoReflect.Descriptor instead.

func (*TransferEventsRequest) GetContractId

func (x *TransferEventsRequest) GetContractId() string

func (*TransferEventsRequest) GetPage

func (x *TransferEventsRequest) GetPage() int32

func (*TransferEventsRequest) GetPageSize

func (x *TransferEventsRequest) GetPageSize() int32

func (*TransferEventsRequest) ProtoMessage

func (*TransferEventsRequest) ProtoMessage()

func (*TransferEventsRequest) ProtoReflect

func (x *TransferEventsRequest) ProtoReflect() protoreflect.Message

func (*TransferEventsRequest) Reset

func (x *TransferEventsRequest) Reset()

func (*TransferEventsRequest) String

func (x *TransferEventsRequest) String() string

type TransferEventsResponse

type TransferEventsResponse struct {
	Events []*TranferEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferEventsResponse) Descriptor deprecated

func (*TransferEventsResponse) Descriptor() ([]byte, []int)

Deprecated: Use TransferEventsResponse.ProtoReflect.Descriptor instead.

func (*TransferEventsResponse) GetEvents

func (x *TransferEventsResponse) GetEvents() []*TranferEvent

func (*TransferEventsResponse) ProtoMessage

func (*TransferEventsResponse) ProtoMessage()

func (*TransferEventsResponse) ProtoReflect

func (x *TransferEventsResponse) ProtoReflect() protoreflect.Message

func (*TransferEventsResponse) Reset

func (x *TransferEventsResponse) Reset()

func (*TransferEventsResponse) String

func (x *TransferEventsResponse) String() string

type TransferEventsToRequest

type TransferEventsToRequest struct {
	To       string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
	Page     int32  `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int32  `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferEventsToRequest) Descriptor deprecated

func (*TransferEventsToRequest) Descriptor() ([]byte, []int)

Deprecated: Use TransferEventsToRequest.ProtoReflect.Descriptor instead.

func (*TransferEventsToRequest) GetPage

func (x *TransferEventsToRequest) GetPage() int32

func (*TransferEventsToRequest) GetPageSize

func (x *TransferEventsToRequest) GetPageSize() int32

func (*TransferEventsToRequest) GetTo

func (x *TransferEventsToRequest) GetTo() string

func (*TransferEventsToRequest) ProtoMessage

func (*TransferEventsToRequest) ProtoMessage()

func (*TransferEventsToRequest) ProtoReflect

func (x *TransferEventsToRequest) ProtoReflect() protoreflect.Message

func (*TransferEventsToRequest) Reset

func (x *TransferEventsToRequest) Reset()

func (*TransferEventsToRequest) String

func (x *TransferEventsToRequest) String() string

type TransferEventsToResponse

type TransferEventsToResponse struct {
	Events []*TranferEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferEventsToResponse) Descriptor deprecated

func (*TransferEventsToResponse) Descriptor() ([]byte, []int)

Deprecated: Use TransferEventsToResponse.ProtoReflect.Descriptor instead.

func (*TransferEventsToResponse) GetEvents

func (x *TransferEventsToResponse) GetEvents() []*TranferEvent

func (*TransferEventsToResponse) ProtoMessage

func (*TransferEventsToResponse) ProtoMessage()

func (*TransferEventsToResponse) ProtoReflect

func (x *TransferEventsToResponse) ProtoReflect() protoreflect.Message

func (*TransferEventsToResponse) Reset

func (x *TransferEventsToResponse) Reset()

func (*TransferEventsToResponse) String

func (x *TransferEventsToResponse) String() string

type UnimplementedEventQueryServer

type UnimplementedEventQueryServer struct{}

UnimplementedEventQueryServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedEventQueryServer) BurnEvents

func (UnimplementedEventQueryServer) BurnEventsFrom

func (UnimplementedEventQueryServer) ClawbackEvents

func (UnimplementedEventQueryServer) ContractEvents

func (UnimplementedEventQueryServer) Event

func (UnimplementedEventQueryServer) EventsAtLedger

func (UnimplementedEventQueryServer) MintEvents

func (UnimplementedEventQueryServer) MintEventsAdmin

func (UnimplementedEventQueryServer) MintEventsTo

func (UnimplementedEventQueryServer) TransferEvents

func (UnimplementedEventQueryServer) TransferEventsTo

type UnsafeEventQueryServer

type UnsafeEventQueryServer interface {
	// contains filtered or unexported methods
}

UnsafeEventQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EventQueryServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL