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 ¶
- Constants
- 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) GetCommitteeAddress() string
- func (x *GenesisState) GetParams() *Params
- func (x *GenesisState) GetStakerAddresses() []string
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type MsgClient
- type MsgCreateStaker
- func (*MsgCreateStaker) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateStaker) GetCreator() string
- func (x *MsgCreateStaker) GetStakerAddress() string
- func (*MsgCreateStaker) ProtoMessage()
- func (x *MsgCreateStaker) ProtoReflect() protoreflect.Message
- func (x *MsgCreateStaker) Reset()
- func (x *MsgCreateStaker) String() string
- type MsgCreateStakerResponse
- type MsgRegisterVK
- func (*MsgRegisterVK) Descriptor() ([]byte, []int)deprecated
- func (x *MsgRegisterVK) GetCreator() string
- func (x *MsgRegisterVK) GetVk() []byte
- func (*MsgRegisterVK) ProtoMessage()
- func (x *MsgRegisterVK) ProtoReflect() protoreflect.Message
- func (x *MsgRegisterVK) Reset()
- func (x *MsgRegisterVK) String() string
- type MsgRegisterVKResponse
- type MsgRemoveStaker
- func (*MsgRemoveStaker) Descriptor() ([]byte, []int)deprecated
- func (x *MsgRemoveStaker) GetCreator() string
- func (x *MsgRemoveStaker) GetStakerAddress() string
- func (*MsgRemoveStaker) ProtoMessage()
- func (x *MsgRemoveStaker) ProtoReflect() protoreflect.Message
- func (x *MsgRemoveStaker) Reset()
- func (x *MsgRemoveStaker) String() string
- type MsgRemoveStakerResponse
- type MsgRemoveVK
- type MsgRemoveVKResponse
- type MsgServer
- type MsgUpdateCommitteeAddress
- func (*MsgUpdateCommitteeAddress) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateCommitteeAddress) GetCreator() string
- func (x *MsgUpdateCommitteeAddress) GetNewCommitteeAddress() string
- func (*MsgUpdateCommitteeAddress) ProtoMessage()
- func (x *MsgUpdateCommitteeAddress) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateCommitteeAddress) Reset()
- func (x *MsgUpdateCommitteeAddress) String() string
- type MsgUpdateCommitteeAddressResponse
- func (*MsgUpdateCommitteeAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUpdateCommitteeAddressResponse) ProtoMessage()
- func (x *MsgUpdateCommitteeAddressResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateCommitteeAddressResponse) Reset()
- func (x *MsgUpdateCommitteeAddressResponse) String() string
- 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 QueryAllStakerInfoRequest
- func (*QueryAllStakerInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllStakerInfoRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllStakerInfoRequest) ProtoMessage()
- func (x *QueryAllStakerInfoRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllStakerInfoRequest) Reset()
- func (x *QueryAllStakerInfoRequest) String() string
- type QueryAllStakerInfoResponse
- func (*QueryAllStakerInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllStakerInfoResponse) GetAllStakerInfo() []*StakerInfo
- func (x *QueryAllStakerInfoResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryAllStakerInfoResponse) ProtoMessage()
- func (x *QueryAllStakerInfoResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllStakerInfoResponse) Reset()
- func (x *QueryAllStakerInfoResponse) String() string
- type QueryClient
- type QueryCommitteeAddressRequest
- func (*QueryCommitteeAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (*QueryCommitteeAddressRequest) ProtoMessage()
- func (x *QueryCommitteeAddressRequest) ProtoReflect() protoreflect.Message
- func (x *QueryCommitteeAddressRequest) Reset()
- func (x *QueryCommitteeAddressRequest) String() string
- type QueryCommitteeAddressResponse
- func (*QueryCommitteeAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryCommitteeAddressResponse) GetCommitteeAddress() string
- func (*QueryCommitteeAddressResponse) ProtoMessage()
- func (x *QueryCommitteeAddressResponse) ProtoReflect() protoreflect.Message
- func (x *QueryCommitteeAddressResponse) Reset()
- func (x *QueryCommitteeAddressResponse) 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 QueryRegisteredVKListRequest
- func (*QueryRegisteredVKListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRegisteredVKListRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryRegisteredVKListRequest) ProtoMessage()
- func (x *QueryRegisteredVKListRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRegisteredVKListRequest) Reset()
- func (x *QueryRegisteredVKListRequest) String() string
- type QueryRegisteredVKListResponse
- func (*QueryRegisteredVKListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRegisteredVKListResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryRegisteredVKListResponse) GetRegisteredVkList() [][]byte
- func (*QueryRegisteredVKListResponse) ProtoMessage()
- func (x *QueryRegisteredVKListResponse) ProtoReflect() protoreflect.Message
- func (x *QueryRegisteredVKListResponse) Reset()
- func (x *QueryRegisteredVKListResponse) String() string
- type QueryServer
- type StakerInfo
- func (*StakerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *StakerInfo) GetStakerAddress() string
- func (x *StakerInfo) GetStakerIndex() uint64
- func (*StakerInfo) ProtoMessage()
- func (x *StakerInfo) ProtoReflect() protoreflect.Message
- func (x *StakerInfo) Reset()
- func (x *StakerInfo) String() string
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) CreateStaker(context.Context, *MsgCreateStaker) (*MsgCreateStakerResponse, error)
- func (UnimplementedMsgServer) RegisterVK(context.Context, *MsgRegisterVK) (*MsgRegisterVKResponse, error)
- func (UnimplementedMsgServer) RemoveStaker(context.Context, *MsgRemoveStaker) (*MsgRemoveStakerResponse, error)
- func (UnimplementedMsgServer) RemoveVK(context.Context, *MsgRemoveVK) (*MsgRemoveVKResponse, error)
- func (UnimplementedMsgServer) UpdateCommitteeAddress(context.Context, *MsgUpdateCommitteeAddress) (*MsgUpdateCommitteeAddressResponse, error)
- func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) AllStakerInfo(context.Context, *QueryAllStakerInfoRequest) (*QueryAllStakerInfoResponse, error)
- func (UnimplementedQueryServer) CommitteeAddress(context.Context, *QueryCommitteeAddressRequest) (*QueryCommitteeAddressResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- func (UnimplementedQueryServer) RegisteredVKList(context.Context, *QueryRegisteredVKListRequest) (*QueryRegisteredVKListResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
const ( Query_Params_FullMethodName = "/fiamma.bitvmstaker.Query/Params" Query_AllStakerInfo_FullMethodName = "/fiamma.bitvmstaker.Query/AllStakerInfo" Query_CommitteeAddress_FullMethodName = "/fiamma.bitvmstaker.Query/CommitteeAddress" Query_RegisteredVKList_FullMethodName = "/fiamma.bitvmstaker.Query/RegisteredVKList" )
const ( Msg_UpdateParams_FullMethodName = "/fiamma.bitvmstaker.Msg/UpdateParams" Msg_CreateStaker_FullMethodName = "/fiamma.bitvmstaker.Msg/CreateStaker" Msg_RemoveStaker_FullMethodName = "/fiamma.bitvmstaker.Msg/RemoveStaker" Msg_UpdateCommitteeAddress_FullMethodName = "/fiamma.bitvmstaker.Msg/UpdateCommitteeAddress" Msg_RegisterVK_FullMethodName = "/fiamma.bitvmstaker.Msg/RegisterVK" Msg_RemoveVK_FullMethodName = "/fiamma.bitvmstaker.Msg/RemoveVK" )
Variables ¶
var File_fiamma_bitvmstaker_bitvmstaker_proto protoreflect.FileDescriptor
var File_fiamma_bitvmstaker_genesis_proto protoreflect.FileDescriptor
var File_fiamma_bitvmstaker_params_proto protoreflect.FileDescriptor
var File_fiamma_bitvmstaker_query_proto protoreflect.FileDescriptor
var File_fiamma_bitvmstaker_tx_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "fiamma.bitvmstaker.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateParams", Handler: _Msg_UpdateParams_Handler, }, { MethodName: "CreateStaker", Handler: _Msg_CreateStaker_Handler, }, { MethodName: "RemoveStaker", Handler: _Msg_RemoveStaker_Handler, }, { MethodName: "UpdateCommitteeAddress", Handler: _Msg_UpdateCommitteeAddress_Handler, }, { MethodName: "RegisterVK", Handler: _Msg_RegisterVK_Handler, }, { MethodName: "RemoveVK", Handler: _Msg_RemoveVK_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "fiamma/bitvmstaker/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: "fiamma.bitvmstaker.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Params", Handler: _Query_Params_Handler, }, { MethodName: "AllStakerInfo", Handler: _Query_AllStakerInfo_Handler, }, { MethodName: "CommitteeAddress", Handler: _Query_CommitteeAddress_Handler, }, { MethodName: "RegisteredVKList", Handler: _Query_RegisteredVKList_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "fiamma/bitvmstaker/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 defines all the parameters of the module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` CommitteeAddress string `protobuf:"bytes,2,opt,name=committee_address,json=committeeAddress,proto3" json:"committee_address,omitempty"` StakerAddresses []string `protobuf:"bytes,3,rep,name=staker_addresses,json=stakerAddresses,proto3" json:"staker_addresses,omitempty"` // contains filtered or unexported fields }
GenesisState defines the bitvmstaker module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetCommitteeAddress ¶
func (x *GenesisState) GetCommitteeAddress() string
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) GetStakerAddresses ¶
func (x *GenesisState) GetStakerAddresses() []string
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 MsgClient ¶
type MsgClient interface { // UpdateParams defines a (governance) operation for updating the module // parameters. The authority defaults to the x/gov module account. UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) CreateStaker(ctx context.Context, in *MsgCreateStaker, opts ...grpc.CallOption) (*MsgCreateStakerResponse, error) RemoveStaker(ctx context.Context, in *MsgRemoveStaker, opts ...grpc.CallOption) (*MsgRemoveStakerResponse, error) UpdateCommitteeAddress(ctx context.Context, in *MsgUpdateCommitteeAddress, opts ...grpc.CallOption) (*MsgUpdateCommitteeAddressResponse, error) RegisterVK(ctx context.Context, in *MsgRegisterVK, opts ...grpc.CallOption) (*MsgRegisterVKResponse, error) RemoveVK(ctx context.Context, in *MsgRemoveVK, opts ...grpc.CallOption) (*MsgRemoveVKResponse, 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 MsgCreateStaker ¶
type MsgCreateStaker struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` StakerAddress string `protobuf:"bytes,2,opt,name=staker_address,json=stakerAddress,proto3" json:"staker_address,omitempty"` // contains filtered or unexported fields }
func (*MsgCreateStaker) Descriptor
deprecated
func (*MsgCreateStaker) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateStaker.ProtoReflect.Descriptor instead.
func (*MsgCreateStaker) GetCreator ¶
func (x *MsgCreateStaker) GetCreator() string
func (*MsgCreateStaker) GetStakerAddress ¶
func (x *MsgCreateStaker) GetStakerAddress() string
func (*MsgCreateStaker) ProtoMessage ¶
func (*MsgCreateStaker) ProtoMessage()
func (*MsgCreateStaker) ProtoReflect ¶
func (x *MsgCreateStaker) ProtoReflect() protoreflect.Message
func (*MsgCreateStaker) Reset ¶
func (x *MsgCreateStaker) Reset()
func (*MsgCreateStaker) String ¶
func (x *MsgCreateStaker) String() string
type MsgCreateStakerResponse ¶
type MsgCreateStakerResponse struct {
// contains filtered or unexported fields
}
func (*MsgCreateStakerResponse) Descriptor
deprecated
func (*MsgCreateStakerResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateStakerResponse.ProtoReflect.Descriptor instead.
func (*MsgCreateStakerResponse) ProtoMessage ¶
func (*MsgCreateStakerResponse) ProtoMessage()
func (*MsgCreateStakerResponse) ProtoReflect ¶
func (x *MsgCreateStakerResponse) ProtoReflect() protoreflect.Message
func (*MsgCreateStakerResponse) Reset ¶
func (x *MsgCreateStakerResponse) Reset()
func (*MsgCreateStakerResponse) String ¶
func (x *MsgCreateStakerResponse) String() string
type MsgRegisterVK ¶
type MsgRegisterVK struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Vk []byte `protobuf:"bytes,2,opt,name=vk,proto3" json:"vk,omitempty"` // contains filtered or unexported fields }
func (*MsgRegisterVK) Descriptor
deprecated
func (*MsgRegisterVK) Descriptor() ([]byte, []int)
Deprecated: Use MsgRegisterVK.ProtoReflect.Descriptor instead.
func (*MsgRegisterVK) GetCreator ¶
func (x *MsgRegisterVK) GetCreator() string
func (*MsgRegisterVK) GetVk ¶
func (x *MsgRegisterVK) GetVk() []byte
func (*MsgRegisterVK) ProtoMessage ¶
func (*MsgRegisterVK) ProtoMessage()
func (*MsgRegisterVK) ProtoReflect ¶
func (x *MsgRegisterVK) ProtoReflect() protoreflect.Message
func (*MsgRegisterVK) Reset ¶
func (x *MsgRegisterVK) Reset()
func (*MsgRegisterVK) String ¶
func (x *MsgRegisterVK) String() string
type MsgRegisterVKResponse ¶
type MsgRegisterVKResponse struct {
// contains filtered or unexported fields
}
func (*MsgRegisterVKResponse) Descriptor
deprecated
func (*MsgRegisterVKResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgRegisterVKResponse.ProtoReflect.Descriptor instead.
func (*MsgRegisterVKResponse) ProtoMessage ¶
func (*MsgRegisterVKResponse) ProtoMessage()
func (*MsgRegisterVKResponse) ProtoReflect ¶
func (x *MsgRegisterVKResponse) ProtoReflect() protoreflect.Message
func (*MsgRegisterVKResponse) Reset ¶
func (x *MsgRegisterVKResponse) Reset()
func (*MsgRegisterVKResponse) String ¶
func (x *MsgRegisterVKResponse) String() string
type MsgRemoveStaker ¶
type MsgRemoveStaker struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` StakerAddress string `protobuf:"bytes,2,opt,name=staker_address,json=stakerAddress,proto3" json:"staker_address,omitempty"` // contains filtered or unexported fields }
func (*MsgRemoveStaker) Descriptor
deprecated
func (*MsgRemoveStaker) Descriptor() ([]byte, []int)
Deprecated: Use MsgRemoveStaker.ProtoReflect.Descriptor instead.
func (*MsgRemoveStaker) GetCreator ¶
func (x *MsgRemoveStaker) GetCreator() string
func (*MsgRemoveStaker) GetStakerAddress ¶
func (x *MsgRemoveStaker) GetStakerAddress() string
func (*MsgRemoveStaker) ProtoMessage ¶
func (*MsgRemoveStaker) ProtoMessage()
func (*MsgRemoveStaker) ProtoReflect ¶
func (x *MsgRemoveStaker) ProtoReflect() protoreflect.Message
func (*MsgRemoveStaker) Reset ¶
func (x *MsgRemoveStaker) Reset()
func (*MsgRemoveStaker) String ¶
func (x *MsgRemoveStaker) String() string
type MsgRemoveStakerResponse ¶
type MsgRemoveStakerResponse struct {
// contains filtered or unexported fields
}
func (*MsgRemoveStakerResponse) Descriptor
deprecated
func (*MsgRemoveStakerResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgRemoveStakerResponse.ProtoReflect.Descriptor instead.
func (*MsgRemoveStakerResponse) ProtoMessage ¶
func (*MsgRemoveStakerResponse) ProtoMessage()
func (*MsgRemoveStakerResponse) ProtoReflect ¶
func (x *MsgRemoveStakerResponse) ProtoReflect() protoreflect.Message
func (*MsgRemoveStakerResponse) Reset ¶
func (x *MsgRemoveStakerResponse) Reset()
func (*MsgRemoveStakerResponse) String ¶
func (x *MsgRemoveStakerResponse) String() string
type MsgRemoveVK ¶
type MsgRemoveVK struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Vk []byte `protobuf:"bytes,2,opt,name=vk,proto3" json:"vk,omitempty"` // contains filtered or unexported fields }
func (*MsgRemoveVK) Descriptor
deprecated
func (*MsgRemoveVK) Descriptor() ([]byte, []int)
Deprecated: Use MsgRemoveVK.ProtoReflect.Descriptor instead.
func (*MsgRemoveVK) GetCreator ¶
func (x *MsgRemoveVK) GetCreator() string
func (*MsgRemoveVK) GetVk ¶
func (x *MsgRemoveVK) GetVk() []byte
func (*MsgRemoveVK) ProtoMessage ¶
func (*MsgRemoveVK) ProtoMessage()
func (*MsgRemoveVK) ProtoReflect ¶
func (x *MsgRemoveVK) ProtoReflect() protoreflect.Message
func (*MsgRemoveVK) Reset ¶
func (x *MsgRemoveVK) Reset()
func (*MsgRemoveVK) String ¶
func (x *MsgRemoveVK) String() string
type MsgRemoveVKResponse ¶
type MsgRemoveVKResponse struct {
// contains filtered or unexported fields
}
func (*MsgRemoveVKResponse) Descriptor
deprecated
func (*MsgRemoveVKResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgRemoveVKResponse.ProtoReflect.Descriptor instead.
func (*MsgRemoveVKResponse) ProtoMessage ¶
func (*MsgRemoveVKResponse) ProtoMessage()
func (*MsgRemoveVKResponse) ProtoReflect ¶
func (x *MsgRemoveVKResponse) ProtoReflect() protoreflect.Message
func (*MsgRemoveVKResponse) Reset ¶
func (x *MsgRemoveVKResponse) Reset()
func (*MsgRemoveVKResponse) String ¶
func (x *MsgRemoveVKResponse) String() string
type MsgServer ¶
type MsgServer interface { // UpdateParams defines a (governance) operation for updating the module // parameters. The authority defaults to the x/gov module account. UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) CreateStaker(context.Context, *MsgCreateStaker) (*MsgCreateStakerResponse, error) RemoveStaker(context.Context, *MsgRemoveStaker) (*MsgRemoveStakerResponse, error) UpdateCommitteeAddress(context.Context, *MsgUpdateCommitteeAddress) (*MsgUpdateCommitteeAddressResponse, error) RegisterVK(context.Context, *MsgRegisterVK) (*MsgRegisterVKResponse, error) RemoveVK(context.Context, *MsgRemoveVK) (*MsgRemoveVKResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgUpdateCommitteeAddress ¶
type MsgUpdateCommitteeAddress struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` NewCommitteeAddress string `protobuf:"bytes,2,opt,name=new_committee_address,json=newCommitteeAddress,proto3" json:"new_committee_address,omitempty"` // contains filtered or unexported fields }
func (*MsgUpdateCommitteeAddress) Descriptor
deprecated
func (*MsgUpdateCommitteeAddress) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateCommitteeAddress.ProtoReflect.Descriptor instead.
func (*MsgUpdateCommitteeAddress) GetCreator ¶
func (x *MsgUpdateCommitteeAddress) GetCreator() string
func (*MsgUpdateCommitteeAddress) GetNewCommitteeAddress ¶
func (x *MsgUpdateCommitteeAddress) GetNewCommitteeAddress() string
func (*MsgUpdateCommitteeAddress) ProtoMessage ¶
func (*MsgUpdateCommitteeAddress) ProtoMessage()
func (*MsgUpdateCommitteeAddress) ProtoReflect ¶
func (x *MsgUpdateCommitteeAddress) ProtoReflect() protoreflect.Message
func (*MsgUpdateCommitteeAddress) Reset ¶
func (x *MsgUpdateCommitteeAddress) Reset()
func (*MsgUpdateCommitteeAddress) String ¶
func (x *MsgUpdateCommitteeAddress) String() string
type MsgUpdateCommitteeAddressResponse ¶
type MsgUpdateCommitteeAddressResponse struct {
// contains filtered or unexported fields
}
func (*MsgUpdateCommitteeAddressResponse) Descriptor
deprecated
func (*MsgUpdateCommitteeAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateCommitteeAddressResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateCommitteeAddressResponse) ProtoMessage ¶
func (*MsgUpdateCommitteeAddressResponse) ProtoMessage()
func (*MsgUpdateCommitteeAddressResponse) ProtoReflect ¶
func (x *MsgUpdateCommitteeAddressResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateCommitteeAddressResponse) Reset ¶
func (x *MsgUpdateCommitteeAddressResponse) Reset()
func (*MsgUpdateCommitteeAddressResponse) String ¶
func (x *MsgUpdateCommitteeAddressResponse) String() string
type MsgUpdateParams ¶
type MsgUpdateParams struct { // authority is the address that controls the module (defaults to x/gov unless overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // NOTE: All parameters must be supplied. Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
MsgUpdateParams is the Msg/UpdateParams request type.
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
}
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
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 {
// contains filtered or unexported fields
}
Params defines the parameters for the module.
func (*Params) Descriptor
deprecated
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type QueryAllStakerInfoRequest ¶
type QueryAllStakerInfoRequest struct { Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllStakerInfoRequest) Descriptor
deprecated
func (*QueryAllStakerInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllStakerInfoRequest.ProtoReflect.Descriptor instead.
func (*QueryAllStakerInfoRequest) GetPagination ¶
func (x *QueryAllStakerInfoRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllStakerInfoRequest) ProtoMessage ¶
func (*QueryAllStakerInfoRequest) ProtoMessage()
func (*QueryAllStakerInfoRequest) ProtoReflect ¶
func (x *QueryAllStakerInfoRequest) ProtoReflect() protoreflect.Message
func (*QueryAllStakerInfoRequest) Reset ¶
func (x *QueryAllStakerInfoRequest) Reset()
func (*QueryAllStakerInfoRequest) String ¶
func (x *QueryAllStakerInfoRequest) String() string
type QueryAllStakerInfoResponse ¶
type QueryAllStakerInfoResponse struct { AllStakerInfo []*StakerInfo `protobuf:"bytes,1,rep,name=all_staker_info,json=allStakerInfo,proto3" json:"all_staker_info,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllStakerInfoResponse) Descriptor
deprecated
func (*QueryAllStakerInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllStakerInfoResponse.ProtoReflect.Descriptor instead.
func (*QueryAllStakerInfoResponse) GetAllStakerInfo ¶
func (x *QueryAllStakerInfoResponse) GetAllStakerInfo() []*StakerInfo
func (*QueryAllStakerInfoResponse) GetPagination ¶
func (x *QueryAllStakerInfoResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllStakerInfoResponse) ProtoMessage ¶
func (*QueryAllStakerInfoResponse) ProtoMessage()
func (*QueryAllStakerInfoResponse) ProtoReflect ¶
func (x *QueryAllStakerInfoResponse) ProtoReflect() protoreflect.Message
func (*QueryAllStakerInfoResponse) Reset ¶
func (x *QueryAllStakerInfoResponse) Reset()
func (*QueryAllStakerInfoResponse) String ¶
func (x *QueryAllStakerInfoResponse) 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) // QueryAllStakerInfoRequest is the request type for the Query/AllStakerInfo RPC method. AllStakerInfo(ctx context.Context, in *QueryAllStakerInfoRequest, opts ...grpc.CallOption) (*QueryAllStakerInfoResponse, error) // QueryCommitteeAddressRequest is the request type for the Query/CommitteeAddress RPC method. CommitteeAddress(ctx context.Context, in *QueryCommitteeAddressRequest, opts ...grpc.CallOption) (*QueryCommitteeAddressResponse, error) // QueryRegisteredVKListRequest is the request type for the Query/RegisteredVKList RPC method. RegisteredVKList(ctx context.Context, in *QueryRegisteredVKListRequest, opts ...grpc.CallOption) (*QueryRegisteredVKListResponse, 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 QueryCommitteeAddressRequest ¶
type QueryCommitteeAddressRequest struct {
// contains filtered or unexported fields
}
func (*QueryCommitteeAddressRequest) Descriptor
deprecated
func (*QueryCommitteeAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryCommitteeAddressRequest.ProtoReflect.Descriptor instead.
func (*QueryCommitteeAddressRequest) ProtoMessage ¶
func (*QueryCommitteeAddressRequest) ProtoMessage()
func (*QueryCommitteeAddressRequest) ProtoReflect ¶
func (x *QueryCommitteeAddressRequest) ProtoReflect() protoreflect.Message
func (*QueryCommitteeAddressRequest) Reset ¶
func (x *QueryCommitteeAddressRequest) Reset()
func (*QueryCommitteeAddressRequest) String ¶
func (x *QueryCommitteeAddressRequest) String() string
type QueryCommitteeAddressResponse ¶
type QueryCommitteeAddressResponse struct { CommitteeAddress string `protobuf:"bytes,1,opt,name=committeeAddress,proto3" json:"committeeAddress,omitempty"` // contains filtered or unexported fields }
func (*QueryCommitteeAddressResponse) Descriptor
deprecated
func (*QueryCommitteeAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryCommitteeAddressResponse.ProtoReflect.Descriptor instead.
func (*QueryCommitteeAddressResponse) GetCommitteeAddress ¶
func (x *QueryCommitteeAddressResponse) GetCommitteeAddress() string
func (*QueryCommitteeAddressResponse) ProtoMessage ¶
func (*QueryCommitteeAddressResponse) ProtoMessage()
func (*QueryCommitteeAddressResponse) ProtoReflect ¶
func (x *QueryCommitteeAddressResponse) ProtoReflect() protoreflect.Message
func (*QueryCommitteeAddressResponse) Reset ¶
func (x *QueryCommitteeAddressResponse) Reset()
func (*QueryCommitteeAddressResponse) String ¶
func (x *QueryCommitteeAddressResponse) 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 QueryRegisteredVKListRequest ¶
type QueryRegisteredVKListRequest struct { Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryRegisteredVKListRequest) Descriptor
deprecated
func (*QueryRegisteredVKListRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRegisteredVKListRequest.ProtoReflect.Descriptor instead.
func (*QueryRegisteredVKListRequest) GetPagination ¶
func (x *QueryRegisteredVKListRequest) GetPagination() *v1beta1.PageRequest
func (*QueryRegisteredVKListRequest) ProtoMessage ¶
func (*QueryRegisteredVKListRequest) ProtoMessage()
func (*QueryRegisteredVKListRequest) ProtoReflect ¶
func (x *QueryRegisteredVKListRequest) ProtoReflect() protoreflect.Message
func (*QueryRegisteredVKListRequest) Reset ¶
func (x *QueryRegisteredVKListRequest) Reset()
func (*QueryRegisteredVKListRequest) String ¶
func (x *QueryRegisteredVKListRequest) String() string
type QueryRegisteredVKListResponse ¶
type QueryRegisteredVKListResponse struct { RegisteredVkList [][]byte `protobuf:"bytes,1,rep,name=registered_vk_list,json=registeredVkList,proto3" json:"registered_vk_list,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryRegisteredVKListResponse) Descriptor
deprecated
func (*QueryRegisteredVKListResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryRegisteredVKListResponse.ProtoReflect.Descriptor instead.
func (*QueryRegisteredVKListResponse) GetPagination ¶
func (x *QueryRegisteredVKListResponse) GetPagination() *v1beta1.PageResponse
func (*QueryRegisteredVKListResponse) GetRegisteredVkList ¶
func (x *QueryRegisteredVKListResponse) GetRegisteredVkList() [][]byte
func (*QueryRegisteredVKListResponse) ProtoMessage ¶
func (*QueryRegisteredVKListResponse) ProtoMessage()
func (*QueryRegisteredVKListResponse) ProtoReflect ¶
func (x *QueryRegisteredVKListResponse) ProtoReflect() protoreflect.Message
func (*QueryRegisteredVKListResponse) Reset ¶
func (x *QueryRegisteredVKListResponse) Reset()
func (*QueryRegisteredVKListResponse) String ¶
func (x *QueryRegisteredVKListResponse) String() string
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // QueryAllStakerInfoRequest is the request type for the Query/AllStakerInfo RPC method. AllStakerInfo(context.Context, *QueryAllStakerInfoRequest) (*QueryAllStakerInfoResponse, error) // QueryCommitteeAddressRequest is the request type for the Query/CommitteeAddress RPC method. CommitteeAddress(context.Context, *QueryCommitteeAddressRequest) (*QueryCommitteeAddressResponse, error) // QueryRegisteredVKListRequest is the request type for the Query/RegisteredVKList RPC method. RegisteredVKList(context.Context, *QueryRegisteredVKListRequest) (*QueryRegisteredVKListResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type StakerInfo ¶
type StakerInfo struct { StakerIndex uint64 `protobuf:"varint,1,opt,name=staker_index,json=stakerIndex,proto3" json:"staker_index,omitempty"` StakerAddress string `protobuf:"bytes,2,opt,name=staker_address,json=stakerAddress,proto3" json:"staker_address,omitempty"` // contains filtered or unexported fields }
StakerInfo is the data structure for the BitVM staker information
func (*StakerInfo) Descriptor
deprecated
func (*StakerInfo) Descriptor() ([]byte, []int)
Deprecated: Use StakerInfo.ProtoReflect.Descriptor instead.
func (*StakerInfo) GetStakerAddress ¶
func (x *StakerInfo) GetStakerAddress() string
func (*StakerInfo) GetStakerIndex ¶
func (x *StakerInfo) GetStakerIndex() uint64
func (*StakerInfo) ProtoMessage ¶
func (*StakerInfo) ProtoMessage()
func (*StakerInfo) ProtoReflect ¶
func (x *StakerInfo) ProtoReflect() protoreflect.Message
func (*StakerInfo) Reset ¶
func (x *StakerInfo) Reset()
func (*StakerInfo) String ¶
func (x *StakerInfo) String() string
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) CreateStaker ¶
func (UnimplementedMsgServer) CreateStaker(context.Context, *MsgCreateStaker) (*MsgCreateStakerResponse, error)
func (UnimplementedMsgServer) RegisterVK ¶
func (UnimplementedMsgServer) RegisterVK(context.Context, *MsgRegisterVK) (*MsgRegisterVKResponse, error)
func (UnimplementedMsgServer) RemoveStaker ¶
func (UnimplementedMsgServer) RemoveStaker(context.Context, *MsgRemoveStaker) (*MsgRemoveStakerResponse, error)
func (UnimplementedMsgServer) RemoveVK ¶
func (UnimplementedMsgServer) RemoveVK(context.Context, *MsgRemoveVK) (*MsgRemoveVKResponse, error)
func (UnimplementedMsgServer) UpdateCommitteeAddress ¶
func (UnimplementedMsgServer) UpdateCommitteeAddress(context.Context, *MsgUpdateCommitteeAddress) (*MsgUpdateCommitteeAddressResponse, error)
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) AllStakerInfo ¶
func (UnimplementedQueryServer) AllStakerInfo(context.Context, *QueryAllStakerInfoRequest) (*QueryAllStakerInfoResponse, error)
func (UnimplementedQueryServer) CommitteeAddress ¶
func (UnimplementedQueryServer) CommitteeAddress(context.Context, *QueryCommitteeAddressRequest) (*QueryCommitteeAddressResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
func (UnimplementedQueryServer) RegisteredVKList ¶
func (UnimplementedQueryServer) RegisteredVKList(context.Context, *QueryRegisteredVKListRequest) (*QueryRegisteredVKListResponse, 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.