Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetHistoryList() []*History
- func (x *GenesisState) GetParams() *Params
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type History
- func (*History) Descriptor() ([]byte, []int)deprecated
- func (x *History) GetAmount() string
- func (x *History) GetDenom() string
- func (x *History) GetTimestamp() string
- func (*History) ProtoMessage()
- func (x *History) ProtoReflect() protoreflect.Message
- func (x *History) Reset()
- func (x *History) String() string
- type MsgClient
- type MsgServer
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParams) GetAuthority() string
- func (x *MsgUpdateParams) GetParams() *Params
- func (*MsgUpdateParams) ProtoMessage()
- func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParams) Reset()
- func (x *MsgUpdateParams) String() string
- type MsgUpdateParamsResponse
- type Params
- type QueryAllHistoryRequest
- func (*QueryAllHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllHistoryRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllHistoryRequest) ProtoMessage()
- func (x *QueryAllHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllHistoryRequest) Reset()
- func (x *QueryAllHistoryRequest) String() string
- type QueryAllHistoryResponse
- func (*QueryAllHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllHistoryResponse) GetHistory() []*History
- func (x *QueryAllHistoryResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryAllHistoryResponse) ProtoMessage()
- func (x *QueryAllHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllHistoryResponse) Reset()
- func (x *QueryAllHistoryResponse) String() string
- type QueryClient
- type QueryGetHistoryRequest
- func (*QueryGetHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetHistoryRequest) GetDenom() string
- func (x *QueryGetHistoryRequest) GetTimestamp() string
- func (*QueryGetHistoryRequest) ProtoMessage()
- func (x *QueryGetHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGetHistoryRequest) Reset()
- func (x *QueryGetHistoryRequest) String() string
- type QueryGetHistoryResponse
- func (*QueryGetHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetHistoryResponse) GetHistory() *History
- func (*QueryGetHistoryResponse) ProtoMessage()
- func (x *QueryGetHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGetHistoryResponse) Reset()
- func (x *QueryGetHistoryResponse) String() string
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryServer
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) History(context.Context, *QueryGetHistoryRequest) (*QueryGetHistoryResponse, error)
- func (UnimplementedQueryServer) HistoryAll(context.Context, *QueryAllHistoryRequest) (*QueryAllHistoryResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
This section is empty.
Variables ¶
var File_elys_burner_genesis_proto protoreflect.FileDescriptor
var File_elys_burner_history_proto protoreflect.FileDescriptor
var File_elys_burner_params_proto protoreflect.FileDescriptor
var File_elys_burner_query_proto protoreflect.FileDescriptor
var File_elys_burner_tx_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "elys.burner.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateParams", Handler: _Msg_UpdateParams_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "elys/burner/tx.proto", }
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "elys.burner.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Params", Handler: _Query_Params_Handler, }, { MethodName: "History", Handler: _Query_History_Handler, }, { MethodName: "HistoryAll", Handler: _Query_HistoryAll_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "elys/burner/query.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type GenesisState ¶
type GenesisState struct { Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` HistoryList []*History `protobuf:"bytes,2,rep,name=history_list,json=historyList,proto3" json:"history_list,omitempty"` // contains filtered or unexported fields }
GenesisState defines the burner module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetHistoryList ¶
func (x *GenesisState) GetHistoryList() []*History
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type History ¶
type History struct { Timestamp string `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*History) Descriptor
deprecated
func (*History) GetTimestamp ¶
func (*History) ProtoMessage ¶
func (*History) ProtoMessage()
func (*History) ProtoReflect ¶
func (x *History) ProtoReflect() protoreflect.Message
type MsgClient ¶
type MsgClient interface {
UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
}
MsgClient is the client API for Msg 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 NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgServer ¶
type MsgServer interface { UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgUpdateParams ¶
type MsgUpdateParams struct { Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
func (*MsgUpdateParams) Descriptor
deprecated
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.
func (*MsgUpdateParams) GetAuthority ¶
func (x *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (x *MsgUpdateParams) GetParams() *Params
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) ProtoReflect ¶
func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
func (*MsgUpdateParams) Reset ¶
func (x *MsgUpdateParams) Reset()
func (*MsgUpdateParams) String ¶
func (x *MsgUpdateParams) String() string
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct {
// contains filtered or unexported fields
}
func (*MsgUpdateParamsResponse) Descriptor
deprecated
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) ProtoReflect ¶
func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateParamsResponse) Reset ¶
func (x *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) String ¶
func (x *MsgUpdateParamsResponse) String() string
type Params ¶
type Params struct { EpochIdentifier string `protobuf:"bytes,1,opt,name=epoch_identifier,json=epochIdentifier,proto3" json:"epoch_identifier,omitempty"` // contains filtered or unexported fields }
Params defines the parameters for the module.
func (*Params) Descriptor
deprecated
func (*Params) GetEpochIdentifier ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type QueryAllHistoryRequest ¶
type QueryAllHistoryRequest struct { Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllHistoryRequest) Descriptor
deprecated
func (*QueryAllHistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllHistoryRequest.ProtoReflect.Descriptor instead.
func (*QueryAllHistoryRequest) GetPagination ¶
func (x *QueryAllHistoryRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllHistoryRequest) ProtoMessage ¶
func (*QueryAllHistoryRequest) ProtoMessage()
func (*QueryAllHistoryRequest) ProtoReflect ¶
func (x *QueryAllHistoryRequest) ProtoReflect() protoreflect.Message
func (*QueryAllHistoryRequest) Reset ¶
func (x *QueryAllHistoryRequest) Reset()
func (*QueryAllHistoryRequest) String ¶
func (x *QueryAllHistoryRequest) String() string
type QueryAllHistoryResponse ¶
type QueryAllHistoryResponse struct { History []*History `protobuf:"bytes,1,rep,name=history,proto3" json:"history,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllHistoryResponse) Descriptor
deprecated
func (*QueryAllHistoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllHistoryResponse.ProtoReflect.Descriptor instead.
func (*QueryAllHistoryResponse) GetHistory ¶
func (x *QueryAllHistoryResponse) GetHistory() []*History
func (*QueryAllHistoryResponse) GetPagination ¶
func (x *QueryAllHistoryResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllHistoryResponse) ProtoMessage ¶
func (*QueryAllHistoryResponse) ProtoMessage()
func (*QueryAllHistoryResponse) ProtoReflect ¶
func (x *QueryAllHistoryResponse) ProtoReflect() protoreflect.Message
func (*QueryAllHistoryResponse) Reset ¶
func (x *QueryAllHistoryResponse) Reset()
func (*QueryAllHistoryResponse) String ¶
func (x *QueryAllHistoryResponse) String() string
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a list of History items. History(ctx context.Context, in *QueryGetHistoryRequest, opts ...grpc.CallOption) (*QueryGetHistoryResponse, error) HistoryAll(ctx context.Context, in *QueryAllHistoryRequest, opts ...grpc.CallOption) (*QueryAllHistoryResponse, error) }
QueryClient is the client API for Query 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 NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryGetHistoryRequest ¶
type QueryGetHistoryRequest struct { Timestamp string `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` // contains filtered or unexported fields }
func (*QueryGetHistoryRequest) Descriptor
deprecated
func (*QueryGetHistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetHistoryRequest.ProtoReflect.Descriptor instead.
func (*QueryGetHistoryRequest) GetDenom ¶
func (x *QueryGetHistoryRequest) GetDenom() string
func (*QueryGetHistoryRequest) GetTimestamp ¶
func (x *QueryGetHistoryRequest) GetTimestamp() string
func (*QueryGetHistoryRequest) ProtoMessage ¶
func (*QueryGetHistoryRequest) ProtoMessage()
func (*QueryGetHistoryRequest) ProtoReflect ¶
func (x *QueryGetHistoryRequest) ProtoReflect() protoreflect.Message
func (*QueryGetHistoryRequest) Reset ¶
func (x *QueryGetHistoryRequest) Reset()
func (*QueryGetHistoryRequest) String ¶
func (x *QueryGetHistoryRequest) String() string
type QueryGetHistoryResponse ¶
type QueryGetHistoryResponse struct { History *History `protobuf:"bytes,1,opt,name=history,proto3" json:"history,omitempty"` // contains filtered or unexported fields }
func (*QueryGetHistoryResponse) Descriptor
deprecated
func (*QueryGetHistoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetHistoryResponse.ProtoReflect.Descriptor instead.
func (*QueryGetHistoryResponse) GetHistory ¶
func (x *QueryGetHistoryResponse) GetHistory() *History
func (*QueryGetHistoryResponse) ProtoMessage ¶
func (*QueryGetHistoryResponse) ProtoMessage()
func (*QueryGetHistoryResponse) ProtoReflect ¶
func (x *QueryGetHistoryResponse) ProtoReflect() protoreflect.Message
func (*QueryGetHistoryResponse) Reset ¶
func (x *QueryGetHistoryResponse) Reset()
func (*QueryGetHistoryResponse) String ¶
func (x *QueryGetHistoryResponse) String() string
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor
deprecated
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) ProtoReflect ¶
func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message
func (*QueryParamsRequest) Reset ¶
func (x *QueryParamsRequest) Reset()
func (*QueryParamsRequest) String ¶
func (x *QueryParamsRequest) String() string
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor
deprecated
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.
func (*QueryParamsResponse) GetParams ¶
func (x *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) ProtoReflect ¶
func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
func (*QueryParamsResponse) Reset ¶
func (x *QueryParamsResponse) Reset()
func (*QueryParamsResponse) String ¶
func (x *QueryParamsResponse) String() string
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a list of History items. History(context.Context, *QueryGetHistoryRequest) (*QueryGetHistoryResponse, error) HistoryAll(context.Context, *QueryAllHistoryRequest) (*QueryAllHistoryResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) UpdateParams ¶
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) History ¶
func (UnimplementedQueryServer) History(context.Context, *QueryGetHistoryRequest) (*QueryGetHistoryResponse, error)
func (UnimplementedQueryServer) HistoryAll ¶
func (UnimplementedQueryServer) HistoryAll(context.Context, *QueryAllHistoryRequest) (*QueryAllHistoryResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.