utssv1

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: MIT Imports: 19 Imported by: 0

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.

Index

Constants

View Source
const (
	Query_Params_FullMethodName         = "/utss.v1.Query/Params"
	Query_CurrentProcess_FullMethodName = "/utss.v1.Query/CurrentProcess"
	Query_ProcessById_FullMethodName    = "/utss.v1.Query/ProcessById"
	Query_AllProcesses_FullMethodName   = "/utss.v1.Query/AllProcesses"
	Query_CurrentKey_FullMethodName     = "/utss.v1.Query/CurrentKey"
	Query_KeyById_FullMethodName        = "/utss.v1.Query/KeyById"
	Query_AllKeys_FullMethodName        = "/utss.v1.Query/AllKeys"
)
View Source
const (
	Msg_UpdateParams_FullMethodName          = "/utss.v1.Msg/UpdateParams"
	Msg_InitiateTssKeyProcess_FullMethodName = "/utss.v1.Msg/InitiateTssKeyProcess"
	Msg_VoteTssKeyProcess_FullMethodName     = "/utss.v1.Msg/VoteTssKeyProcess"
)

Variables

View Source
var (
	TssKeyProcessStatus_name = map[int32]string{
		0: "TSS_KEY_PROCESS_PENDING",
		1: "TSS_KEY_PROCESS_SUCCESS",
		2: "TSS_KEY_PROCESS_FAILED",
	}
	TssKeyProcessStatus_value = map[string]int32{
		"TSS_KEY_PROCESS_PENDING": 0,
		"TSS_KEY_PROCESS_SUCCESS": 1,
		"TSS_KEY_PROCESS_FAILED":  2,
	}
)

Enum value maps for TssKeyProcessStatus.

View Source
var (
	TssProcessType_name = map[int32]string{
		0: "TSS_PROCESS_KEYGEN",
		1: "TSS_PROCESS_REFRESH",
		2: "TSS_PROCESS_QUORUM_CHANGE",
	}
	TssProcessType_value = map[string]int32{
		"TSS_PROCESS_KEYGEN":        0,
		"TSS_PROCESS_REFRESH":       1,
		"TSS_PROCESS_QUORUM_CHANGE": 2,
	}
)

Enum value maps for TssProcessType.

View Source
var File_utss_v1_genesis_proto protoreflect.FileDescriptor
View Source
var File_utss_v1_query_proto protoreflect.FileDescriptor
View Source
var File_utss_v1_tx_proto protoreflect.FileDescriptor
View Source
var File_utss_v1_types_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "utss.v1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
		{
			MethodName: "InitiateTssKeyProcess",
			Handler:    _Msg_InitiateTssKeyProcess_Handler,
		},
		{
			MethodName: "VoteTssKeyProcess",
			Handler:    _Msg_VoteTssKeyProcess_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "utss/v1/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)

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "utss.v1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
		{
			MethodName: "CurrentProcess",
			Handler:    _Query_CurrentProcess_Handler,
		},
		{
			MethodName: "ProcessById",
			Handler:    _Query_ProcessById_Handler,
		},
		{
			MethodName: "AllProcesses",
			Handler:    _Query_AllProcesses_Handler,
		},
		{
			MethodName: "CurrentKey",
			Handler:    _Query_CurrentKey_Handler,
		},
		{
			MethodName: "KeyById",
			Handler:    _Query_KeyById_Handler,
		},
		{
			MethodName: "AllKeys",
			Handler:    _Query_AllKeys_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "utss/v1/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"`
	// contains filtered or unexported fields
}

GenesisState defines the module genesis state

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

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 MsgClient

type MsgClient interface {
	// UpdateParams defines a governance operation for updating the parameters.
	//
	// Since: cosmos-sdk 0.47
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
	// InitiateTssKeyProcess defines a operation for initiating a new tss key process
	InitiateTssKeyProcess(ctx context.Context, in *MsgInitiateTssKeyProcess, opts ...grpc.CallOption) (*MsgInitiateTssKeyProcessResponse, error)
	// VoteTssKeyProcess defines a operation for voting on an existing tss key process
	VoteTssKeyProcess(ctx context.Context, in *MsgVoteTssKeyProcess, opts ...grpc.CallOption) (*MsgVoteTssKeyProcessResponse, 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 MsgInitiateTssKeyProcess

type MsgInitiateTssKeyProcess struct {
	Signer      string         `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	ProcessType TssProcessType `protobuf:"varint,2,opt,name=process_type,json=processType,proto3,enum=utss.v1.TssProcessType" json:"process_type,omitempty"`
	// contains filtered or unexported fields
}

Admin initiates new keygen/reshare process

func (*MsgInitiateTssKeyProcess) Descriptor deprecated

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

Deprecated: Use MsgInitiateTssKeyProcess.ProtoReflect.Descriptor instead.

func (*MsgInitiateTssKeyProcess) GetProcessType

func (x *MsgInitiateTssKeyProcess) GetProcessType() TssProcessType

func (*MsgInitiateTssKeyProcess) GetSigner

func (x *MsgInitiateTssKeyProcess) GetSigner() string

func (*MsgInitiateTssKeyProcess) ProtoMessage

func (*MsgInitiateTssKeyProcess) ProtoMessage()

func (*MsgInitiateTssKeyProcess) ProtoReflect

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

func (*MsgInitiateTssKeyProcess) Reset

func (x *MsgInitiateTssKeyProcess) Reset()

func (*MsgInitiateTssKeyProcess) String

func (x *MsgInitiateTssKeyProcess) String() string

type MsgInitiateTssKeyProcessResponse

type MsgInitiateTssKeyProcessResponse struct {
	// contains filtered or unexported fields
}

func (*MsgInitiateTssKeyProcessResponse) Descriptor deprecated

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

Deprecated: Use MsgInitiateTssKeyProcessResponse.ProtoReflect.Descriptor instead.

func (*MsgInitiateTssKeyProcessResponse) ProtoMessage

func (*MsgInitiateTssKeyProcessResponse) ProtoMessage()

func (*MsgInitiateTssKeyProcessResponse) ProtoReflect

func (*MsgInitiateTssKeyProcessResponse) Reset

func (*MsgInitiateTssKeyProcessResponse) String

type MsgServer

type MsgServer interface {
	// UpdateParams defines a governance operation for updating the parameters.
	//
	// Since: cosmos-sdk 0.47
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// InitiateTssKeyProcess defines a operation for initiating a new tss key process
	InitiateTssKeyProcess(context.Context, *MsgInitiateTssKeyProcess) (*MsgInitiateTssKeyProcessResponse, error)
	// VoteTssKeyProcess defines a operation for voting on an existing tss key process
	VoteTssKeyProcess(context.Context, *MsgVoteTssKeyProcess) (*MsgVoteTssKeyProcessResponse, 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 is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params defines the parameters to update.
	//
	// 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.

Since: cosmos-sdk 0.47

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.

Since: cosmos-sdk 0.47

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 MsgVoteTssKeyProcess

type MsgVoteTssKeyProcess struct {
	Signer    string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	TssPubkey string `protobuf:"bytes,2,opt,name=tss_pubkey,json=tssPubkey,proto3" json:"tss_pubkey,omitempty"`
	KeyId     string `protobuf:"bytes,3,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	ProcessId uint64 `protobuf:"varint,4,opt,name=process_id,json=processId,proto3" json:"process_id,omitempty"`
	// contains filtered or unexported fields
}

Universal validator votes on an ongoing TSS key process

func (*MsgVoteTssKeyProcess) Descriptor deprecated

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

Deprecated: Use MsgVoteTssKeyProcess.ProtoReflect.Descriptor instead.

func (*MsgVoteTssKeyProcess) GetKeyId

func (x *MsgVoteTssKeyProcess) GetKeyId() string

func (*MsgVoteTssKeyProcess) GetProcessId

func (x *MsgVoteTssKeyProcess) GetProcessId() uint64

func (*MsgVoteTssKeyProcess) GetSigner

func (x *MsgVoteTssKeyProcess) GetSigner() string

func (*MsgVoteTssKeyProcess) GetTssPubkey

func (x *MsgVoteTssKeyProcess) GetTssPubkey() string

func (*MsgVoteTssKeyProcess) ProtoMessage

func (*MsgVoteTssKeyProcess) ProtoMessage()

func (*MsgVoteTssKeyProcess) ProtoReflect

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

func (*MsgVoteTssKeyProcess) Reset

func (x *MsgVoteTssKeyProcess) Reset()

func (*MsgVoteTssKeyProcess) String

func (x *MsgVoteTssKeyProcess) String() string

type MsgVoteTssKeyProcessResponse

type MsgVoteTssKeyProcessResponse struct {
	// contains filtered or unexported fields
}

func (*MsgVoteTssKeyProcessResponse) Descriptor deprecated

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

Deprecated: Use MsgVoteTssKeyProcessResponse.ProtoReflect.Descriptor instead.

func (*MsgVoteTssKeyProcessResponse) ProtoMessage

func (*MsgVoteTssKeyProcessResponse) ProtoMessage()

func (*MsgVoteTssKeyProcessResponse) ProtoReflect

func (*MsgVoteTssKeyProcessResponse) Reset

func (x *MsgVoteTssKeyProcessResponse) Reset()

func (*MsgVoteTssKeyProcessResponse) String

type Params

type Params struct {

	// The admin account of the utss module.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// contains filtered or unexported fields
}

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetAdmin

func (x *Params) GetAdmin() string

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

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

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type QueryAllKeysRequest

type QueryAllKeysRequest struct {
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllKeysRequest) Descriptor deprecated

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

Deprecated: Use QueryAllKeysRequest.ProtoReflect.Descriptor instead.

func (*QueryAllKeysRequest) GetPagination

func (x *QueryAllKeysRequest) GetPagination() *v1beta1.PageRequest

func (*QueryAllKeysRequest) ProtoMessage

func (*QueryAllKeysRequest) ProtoMessage()

func (*QueryAllKeysRequest) ProtoReflect

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

func (*QueryAllKeysRequest) Reset

func (x *QueryAllKeysRequest) Reset()

func (*QueryAllKeysRequest) String

func (x *QueryAllKeysRequest) String() string

type QueryAllKeysResponse

type QueryAllKeysResponse struct {
	Keys       []*TssKey             `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllKeysResponse) Descriptor deprecated

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

Deprecated: Use QueryAllKeysResponse.ProtoReflect.Descriptor instead.

func (*QueryAllKeysResponse) GetKeys

func (x *QueryAllKeysResponse) GetKeys() []*TssKey

func (*QueryAllKeysResponse) GetPagination

func (x *QueryAllKeysResponse) GetPagination() *v1beta1.PageResponse

func (*QueryAllKeysResponse) ProtoMessage

func (*QueryAllKeysResponse) ProtoMessage()

func (*QueryAllKeysResponse) ProtoReflect

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

func (*QueryAllKeysResponse) Reset

func (x *QueryAllKeysResponse) Reset()

func (*QueryAllKeysResponse) String

func (x *QueryAllKeysResponse) String() string

type QueryAllProcessesRequest

type QueryAllProcessesRequest struct {
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllProcessesRequest) Descriptor deprecated

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

Deprecated: Use QueryAllProcessesRequest.ProtoReflect.Descriptor instead.

func (*QueryAllProcessesRequest) GetPagination

func (x *QueryAllProcessesRequest) GetPagination() *v1beta1.PageRequest

func (*QueryAllProcessesRequest) ProtoMessage

func (*QueryAllProcessesRequest) ProtoMessage()

func (*QueryAllProcessesRequest) ProtoReflect

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

func (*QueryAllProcessesRequest) Reset

func (x *QueryAllProcessesRequest) Reset()

func (*QueryAllProcessesRequest) String

func (x *QueryAllProcessesRequest) String() string

type QueryAllProcessesResponse

type QueryAllProcessesResponse struct {
	Processes  []*TssKeyProcess      `protobuf:"bytes,1,rep,name=processes,proto3" json:"processes,omitempty"`
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllProcessesResponse) Descriptor deprecated

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

Deprecated: Use QueryAllProcessesResponse.ProtoReflect.Descriptor instead.

func (*QueryAllProcessesResponse) GetPagination

func (x *QueryAllProcessesResponse) GetPagination() *v1beta1.PageResponse

func (*QueryAllProcessesResponse) GetProcesses

func (x *QueryAllProcessesResponse) GetProcesses() []*TssKeyProcess

func (*QueryAllProcessesResponse) ProtoMessage

func (*QueryAllProcessesResponse) ProtoMessage()

func (*QueryAllProcessesResponse) ProtoReflect

func (*QueryAllProcessesResponse) Reset

func (x *QueryAllProcessesResponse) Reset()

func (*QueryAllProcessesResponse) String

func (x *QueryAllProcessesResponse) String() string

type QueryClient

type QueryClient interface {
	// Params queries module parameters.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Current TSS Process
	CurrentProcess(ctx context.Context, in *QueryCurrentProcessRequest, opts ...grpc.CallOption) (*QueryCurrentProcessResponse, error)
	// Process by ID
	ProcessById(ctx context.Context, in *QueryProcessByIdRequest, opts ...grpc.CallOption) (*QueryProcessByIdResponse, error)
	// List all processes (paginated)
	AllProcesses(ctx context.Context, in *QueryAllProcessesRequest, opts ...grpc.CallOption) (*QueryAllProcessesResponse, error)
	// Current TSS Key
	CurrentKey(ctx context.Context, in *QueryCurrentKeyRequest, opts ...grpc.CallOption) (*QueryCurrentKeyResponse, error)
	// Get finalized TSS key by key_id
	KeyById(ctx context.Context, in *QueryKeyByIdRequest, opts ...grpc.CallOption) (*QueryKeyByIdResponse, error)
	// List all finalized keys (paginated)
	AllKeys(ctx context.Context, in *QueryAllKeysRequest, opts ...grpc.CallOption) (*QueryAllKeysResponse, 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 QueryCurrentKeyRequest

type QueryCurrentKeyRequest struct {
	// contains filtered or unexported fields
}

func (*QueryCurrentKeyRequest) Descriptor deprecated

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

Deprecated: Use QueryCurrentKeyRequest.ProtoReflect.Descriptor instead.

func (*QueryCurrentKeyRequest) ProtoMessage

func (*QueryCurrentKeyRequest) ProtoMessage()

func (*QueryCurrentKeyRequest) ProtoReflect

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

func (*QueryCurrentKeyRequest) Reset

func (x *QueryCurrentKeyRequest) Reset()

func (*QueryCurrentKeyRequest) String

func (x *QueryCurrentKeyRequest) String() string

type QueryCurrentKeyResponse

type QueryCurrentKeyResponse struct {
	Key *TssKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryCurrentKeyResponse) Descriptor deprecated

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

Deprecated: Use QueryCurrentKeyResponse.ProtoReflect.Descriptor instead.

func (*QueryCurrentKeyResponse) GetKey

func (x *QueryCurrentKeyResponse) GetKey() *TssKey

func (*QueryCurrentKeyResponse) ProtoMessage

func (*QueryCurrentKeyResponse) ProtoMessage()

func (*QueryCurrentKeyResponse) ProtoReflect

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

func (*QueryCurrentKeyResponse) Reset

func (x *QueryCurrentKeyResponse) Reset()

func (*QueryCurrentKeyResponse) String

func (x *QueryCurrentKeyResponse) String() string

type QueryCurrentProcessRequest

type QueryCurrentProcessRequest struct {
	// contains filtered or unexported fields
}

func (*QueryCurrentProcessRequest) Descriptor deprecated

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

Deprecated: Use QueryCurrentProcessRequest.ProtoReflect.Descriptor instead.

func (*QueryCurrentProcessRequest) ProtoMessage

func (*QueryCurrentProcessRequest) ProtoMessage()

func (*QueryCurrentProcessRequest) ProtoReflect

func (*QueryCurrentProcessRequest) Reset

func (x *QueryCurrentProcessRequest) Reset()

func (*QueryCurrentProcessRequest) String

func (x *QueryCurrentProcessRequest) String() string

type QueryCurrentProcessResponse

type QueryCurrentProcessResponse struct {
	Process *TssKeyProcess `protobuf:"bytes,1,opt,name=process,proto3" json:"process,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryCurrentProcessResponse) Descriptor deprecated

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

Deprecated: Use QueryCurrentProcessResponse.ProtoReflect.Descriptor instead.

func (*QueryCurrentProcessResponse) GetProcess

func (x *QueryCurrentProcessResponse) GetProcess() *TssKeyProcess

func (*QueryCurrentProcessResponse) ProtoMessage

func (*QueryCurrentProcessResponse) ProtoMessage()

func (*QueryCurrentProcessResponse) ProtoReflect

func (*QueryCurrentProcessResponse) Reset

func (x *QueryCurrentProcessResponse) Reset()

func (*QueryCurrentProcessResponse) String

func (x *QueryCurrentProcessResponse) String() string

type QueryKeyByIdRequest

type QueryKeyByIdRequest struct {
	KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryKeyByIdRequest) Descriptor deprecated

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

Deprecated: Use QueryKeyByIdRequest.ProtoReflect.Descriptor instead.

func (*QueryKeyByIdRequest) GetKeyId

func (x *QueryKeyByIdRequest) GetKeyId() string

func (*QueryKeyByIdRequest) ProtoMessage

func (*QueryKeyByIdRequest) ProtoMessage()

func (*QueryKeyByIdRequest) ProtoReflect

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

func (*QueryKeyByIdRequest) Reset

func (x *QueryKeyByIdRequest) Reset()

func (*QueryKeyByIdRequest) String

func (x *QueryKeyByIdRequest) String() string

type QueryKeyByIdResponse

type QueryKeyByIdResponse struct {
	Key *TssKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryKeyByIdResponse) Descriptor deprecated

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

Deprecated: Use QueryKeyByIdResponse.ProtoReflect.Descriptor instead.

func (*QueryKeyByIdResponse) GetKey

func (x *QueryKeyByIdResponse) GetKey() *TssKey

func (*QueryKeyByIdResponse) ProtoMessage

func (*QueryKeyByIdResponse) ProtoMessage()

func (*QueryKeyByIdResponse) ProtoReflect

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

func (*QueryKeyByIdResponse) Reset

func (x *QueryKeyByIdResponse) Reset()

func (*QueryKeyByIdResponse) String

func (x *QueryKeyByIdResponse) String() string

type QueryParamsRequest

type QueryParamsRequest struct {
	// contains filtered or unexported fields
}

Messages

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 *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

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 QueryProcessByIdRequest

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

func (*QueryProcessByIdRequest) Descriptor deprecated

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

Deprecated: Use QueryProcessByIdRequest.ProtoReflect.Descriptor instead.

func (*QueryProcessByIdRequest) GetId

func (x *QueryProcessByIdRequest) GetId() uint64

func (*QueryProcessByIdRequest) ProtoMessage

func (*QueryProcessByIdRequest) ProtoMessage()

func (*QueryProcessByIdRequest) ProtoReflect

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

func (*QueryProcessByIdRequest) Reset

func (x *QueryProcessByIdRequest) Reset()

func (*QueryProcessByIdRequest) String

func (x *QueryProcessByIdRequest) String() string

type QueryProcessByIdResponse

type QueryProcessByIdResponse struct {
	Process *TssKeyProcess `protobuf:"bytes,1,opt,name=process,proto3" json:"process,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryProcessByIdResponse) Descriptor deprecated

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

Deprecated: Use QueryProcessByIdResponse.ProtoReflect.Descriptor instead.

func (*QueryProcessByIdResponse) GetProcess

func (x *QueryProcessByIdResponse) GetProcess() *TssKeyProcess

func (*QueryProcessByIdResponse) ProtoMessage

func (*QueryProcessByIdResponse) ProtoMessage()

func (*QueryProcessByIdResponse) ProtoReflect

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

func (*QueryProcessByIdResponse) Reset

func (x *QueryProcessByIdResponse) Reset()

func (*QueryProcessByIdResponse) String

func (x *QueryProcessByIdResponse) String() string

type QueryServer

type QueryServer interface {
	// Params queries module parameters.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Current TSS Process
	CurrentProcess(context.Context, *QueryCurrentProcessRequest) (*QueryCurrentProcessResponse, error)
	// Process by ID
	ProcessById(context.Context, *QueryProcessByIdRequest) (*QueryProcessByIdResponse, error)
	// List all processes (paginated)
	AllProcesses(context.Context, *QueryAllProcessesRequest) (*QueryAllProcessesResponse, error)
	// Current TSS Key
	CurrentKey(context.Context, *QueryCurrentKeyRequest) (*QueryCurrentKeyResponse, error)
	// Get finalized TSS key by key_id
	KeyById(context.Context, *QueryKeyByIdRequest) (*QueryKeyByIdResponse, error)
	// List all finalized keys (paginated)
	AllKeys(context.Context, *QueryAllKeysRequest) (*QueryAllKeysResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility

type TssKey

type TssKey struct {
	TssPubkey            string   `protobuf:"bytes,1,opt,name=tss_pubkey,json=tssPubkey,proto3" json:"tss_pubkey,omitempty"`
	KeyId                string   `protobuf:"bytes,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	Participants         []string `protobuf:"bytes,3,rep,name=participants,proto3" json:"participants,omitempty"`
	FinalizedBlockHeight int64    `protobuf:"varint,4,opt,name=finalized_block_height,json=finalizedBlockHeight,proto3" json:"finalized_block_height,omitempty"`
	KeygenBlockHeight    int64    `protobuf:"varint,5,opt,name=keygen_block_height,json=keygenBlockHeight,proto3" json:"keygen_block_height,omitempty"`
	ProcessId            uint64   `protobuf:"varint,6,opt,name=process_id,json=processId,proto3" json:"process_id,omitempty"`
	// contains filtered or unexported fields
}

Finalized TSS key details

func (*TssKey) Descriptor deprecated

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

Deprecated: Use TssKey.ProtoReflect.Descriptor instead.

func (*TssKey) GetFinalizedBlockHeight

func (x *TssKey) GetFinalizedBlockHeight() int64

func (*TssKey) GetKeyId

func (x *TssKey) GetKeyId() string

func (*TssKey) GetKeygenBlockHeight

func (x *TssKey) GetKeygenBlockHeight() int64

func (*TssKey) GetParticipants

func (x *TssKey) GetParticipants() []string

func (*TssKey) GetProcessId

func (x *TssKey) GetProcessId() uint64

func (*TssKey) GetTssPubkey

func (x *TssKey) GetTssPubkey() string

func (*TssKey) ProtoMessage

func (*TssKey) ProtoMessage()

func (*TssKey) ProtoReflect

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

func (*TssKey) Reset

func (x *TssKey) Reset()

func (*TssKey) String

func (x *TssKey) String() string

type TssKeyProcess

type TssKeyProcess struct {
	Status       TssKeyProcessStatus `protobuf:"varint,1,opt,name=status,proto3,enum=utss.v1.TssKeyProcessStatus" json:"status,omitempty"`
	Participants []string            `protobuf:"bytes,2,rep,name=participants,proto3" json:"participants,omitempty"`
	BlockHeight  int64               `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	ExpiryHeight int64               `protobuf:"varint,4,opt,name=expiry_height,json=expiryHeight,proto3" json:"expiry_height,omitempty"`
	ProcessType  TssProcessType      `protobuf:"varint,5,opt,name=process_type,json=processType,proto3,enum=utss.v1.TssProcessType" json:"process_type,omitempty"`
	Id           uint64              `protobuf:"varint,6,opt,name=id,proto3" json:"id,omitempty"` // process id
	// contains filtered or unexported fields
}

TSS key process information

func (*TssKeyProcess) Descriptor deprecated

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

Deprecated: Use TssKeyProcess.ProtoReflect.Descriptor instead.

func (*TssKeyProcess) GetBlockHeight

func (x *TssKeyProcess) GetBlockHeight() int64

func (*TssKeyProcess) GetExpiryHeight

func (x *TssKeyProcess) GetExpiryHeight() int64

func (*TssKeyProcess) GetId

func (x *TssKeyProcess) GetId() uint64

func (*TssKeyProcess) GetParticipants

func (x *TssKeyProcess) GetParticipants() []string

func (*TssKeyProcess) GetProcessType

func (x *TssKeyProcess) GetProcessType() TssProcessType

func (*TssKeyProcess) GetStatus

func (x *TssKeyProcess) GetStatus() TssKeyProcessStatus

func (*TssKeyProcess) ProtoMessage

func (*TssKeyProcess) ProtoMessage()

func (*TssKeyProcess) ProtoReflect

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

func (*TssKeyProcess) Reset

func (x *TssKeyProcess) Reset()

func (*TssKeyProcess) String

func (x *TssKeyProcess) String() string

type TssKeyProcessStatus

type TssKeyProcessStatus int32
const (
	TssKeyProcessStatus_TSS_KEY_PROCESS_PENDING TssKeyProcessStatus = 0
	TssKeyProcessStatus_TSS_KEY_PROCESS_SUCCESS TssKeyProcessStatus = 1
	TssKeyProcessStatus_TSS_KEY_PROCESS_FAILED  TssKeyProcessStatus = 2
)

func (TssKeyProcessStatus) Descriptor

func (TssKeyProcessStatus) Enum

func (TssKeyProcessStatus) EnumDescriptor deprecated

func (TssKeyProcessStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use TssKeyProcessStatus.Descriptor instead.

func (TssKeyProcessStatus) Number

func (TssKeyProcessStatus) String

func (x TssKeyProcessStatus) String() string

func (TssKeyProcessStatus) Type

type TssProcessType

type TssProcessType int32
const (
	TssProcessType_TSS_PROCESS_KEYGEN        TssProcessType = 0
	TssProcessType_TSS_PROCESS_REFRESH       TssProcessType = 1
	TssProcessType_TSS_PROCESS_QUORUM_CHANGE TssProcessType = 2
)

func (TssProcessType) Descriptor

func (TssProcessType) Enum

func (x TssProcessType) Enum() *TssProcessType

func (TssProcessType) EnumDescriptor deprecated

func (TssProcessType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TssProcessType.Descriptor instead.

func (TssProcessType) Number

func (TssProcessType) String

func (x TssProcessType) String() string

func (TssProcessType) Type

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) AllKeys

func (UnimplementedQueryServer) KeyById

func (UnimplementedQueryServer) Params

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.

Jump to

Keyboard shortcuts

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