types

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: MIT Imports: 36 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	VotesThresholdNumerator   = 2
	VotesThresholdDenominator = 3

	// Default number of blocks after which tss process expires
	DefaultTssProcessExpiryAfterBlocks = 500
)

Quorum numerator/denominator for validator votes (>2/3)

View Source
const (
	EventTypeTssProcessInitiated = "tss_process_initiated"
	EventTypeTssKeyFinalized     = "tss_key_finalized"
)
View Source
const (
	ModuleName = "utss"

	StoreKey = ModuleName

	QuerierRoute = ModuleName
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

Variables

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// ParamsKey saves the current module params.
	ParamsKey = collections.NewPrefix(0)

	// ParamsName is the name of the params collection.
	ParamsName = "params"

	// NextProcessIdKey saves the current module NextProcessId.
	NextProcessIdKey = collections.NewPrefix(1)

	// NextProcessIdName is the name of the NextProcessId collection.
	NextProcessIdName = "next_process_id"

	// CurrentTssProcessKey saves the current module CurrentTssProcess.
	CurrentTssProcessKey = collections.NewPrefix(2)

	// CurrentTssProcessName is the name of the CurrentTssProcess collection.
	CurrentTssProcessName = "current_tss_process"

	// ProcessHistoryKey saves the current module ProcessHistory.
	ProcessHistoryKey = collections.NewPrefix(3)

	// ProcessHistoryName is the name of the ProcessHistory collection.
	ProcessHistoryName = "process_history"

	// CurrentTssKeyPrefix saves the current module CurrentTssKey.
	CurrentTssKeyKeyPrefix = collections.NewPrefix(4)

	// CurrentTssKeyName is the name of the CurrentTssKey collection.
	CurrentTssKeyName = "current_tss_key"

	// TssKeyHistoryKey saves the current module TssKeyHistory.
	TssKeyHistoryKey = collections.NewPrefix(5)

	// TssKeyHistoryName is the name of the TssKeyHistory collection.
	TssKeyHistoryName = "tss_key_history"

	// TssEventsKey saves the persistent TSS events.
	TssEventsKey = collections.NewPrefix(6)

	// TssEventsName is the name of the TssEvents collection.
	TssEventsName = "tss_events"

	// NextTssEventIdKey saves the auto-increment counter for TSS event IDs.
	NextTssEventIdKey = collections.NewPrefix(7)

	// NextTssEventIdName is the name of the NextTssEventId collection.
	NextTssEventIdName = "next_tss_event_id"

	// PendingTssEventsKey is a secondary index of TSS events with ACTIVE status.
	// Key: process_id -> Value: TssEvent
	PendingTssEventsKey = collections.NewPrefix(8)

	// PendingTssEventsName is the name of the PendingTssEvents collection.
	PendingTssEventsName = "pending_tss_events"
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	AminoCdc = codec.NewAminoCodec(amino)
)
View Source
var TssEventStatus_name = map[int32]string{
	0: "TSS_EVENT_ACTIVE",
	1: "TSS_EVENT_COMPLETED",
	2: "TSS_EVENT_EXPIRED",
}
View Source
var TssEventStatus_value = map[string]int32{
	"TSS_EVENT_ACTIVE":    0,
	"TSS_EVENT_COMPLETED": 1,
	"TSS_EVENT_EXPIRED":   2,
}
View Source
var TssEventType_name = map[int32]string{
	0: "TSS_EVENT_PROCESS_INITIATED",
	1: "TSS_EVENT_KEY_FINALIZED",
}
View Source
var TssEventType_value = map[string]int32{
	"TSS_EVENT_PROCESS_INITIATED": 0,
	"TSS_EVENT_KEY_FINALIZED":     1,
}
View Source
var TssKeyProcessStatus_name = map[int32]string{
	0: "TSS_KEY_PROCESS_PENDING",
	1: "TSS_KEY_PROCESS_SUCCESS",
	2: "TSS_KEY_PROCESS_FAILED",
}
View Source
var TssKeyProcessStatus_value = map[string]int32{
	"TSS_KEY_PROCESS_PENDING": 0,
	"TSS_KEY_PROCESS_SUCCESS": 1,
	"TSS_KEY_PROCESS_FAILED":  2,
}
View Source
var TssProcessType_name = map[int32]string{
	0: "TSS_PROCESS_KEYGEN",
	1: "TSS_PROCESS_REFRESH",
	2: "TSS_PROCESS_QUORUM_CHANGE",
}
View Source
var TssProcessType_value = map[string]int32{
	"TSS_PROCESS_KEYGEN":        0,
	"TSS_PROCESS_REFRESH":       1,
	"TSS_PROCESS_QUORUM_CHANGE": 2,
}

Functions

func GetTssBallotKey

func GetTssBallotKey(processId uint64, tssPubKey, keyId string) string

func NewTssKeyFinalizedEvent

func NewTssKeyFinalizedEvent(e TssKeyFinalizedEvent) (sdk.Event, error)

NewTssKeyFinalizedEvent creates and returns a Cosmos SDK event.

func NewTssProcessInitiatedEvent

func NewTssProcessInitiatedEvent(e TssProcessInitiatedEvent) (sdk.Event, error)

NewTssProcessInitiatedEvent creates and returns a Cosmos SDK event.

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterLegacyAminoCodec registers concrete types on the LegacyAmino codec

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

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

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

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

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

func RegisterQueryHandlerFromEndpoint

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

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

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer 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 RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, 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"`
	// current_tss_process is the current/active TSS process (optional, may not exist).
	CurrentTssProcess *TssKeyProcess `protobuf:"bytes,2,opt,name=current_tss_process,json=currentTssProcess,proto3" json:"current_tss_process,omitempty"`
	// process_history are key-value pairs from the ProcessHistory Map.
	ProcessHistory []TssKeyProcessEntry `protobuf:"bytes,3,rep,name=process_history,json=processHistory,proto3" json:"process_history"`
	// current_tss_key is the currently active finalized TSS key (optional).
	CurrentTssKey *TssKey `protobuf:"bytes,4,opt,name=current_tss_key,json=currentTssKey,proto3" json:"current_tss_key,omitempty"`
	// tss_key_history are key-value pairs from the TssKeyHistory Map.
	TssKeyHistory []TssKeyEntry `protobuf:"bytes,5,rep,name=tss_key_history,json=tssKeyHistory,proto3" json:"tss_key_history"`
	// next_process_id is the next process ID from the NextProcessId Sequence.
	NextProcessId uint64 `protobuf:"varint,6,opt,name=next_process_id,json=nextProcessId,proto3" json:"next_process_id,omitempty"`
	// tss_events are entries from the TssEvents store.
	TssEvents []TssEvent `protobuf:"bytes,7,rep,name=tss_events,json=tssEvents,proto3" json:"tss_events"`
	// next_tss_event_id is the next auto-increment ID for TssEvents.
	NextTssEventId uint64 `protobuf:"varint,8,opt,name=next_tss_event_id,json=nextTssEventId,proto3" json:"next_tss_event_id,omitempty"`
}

GenesisState defines the module genesis state

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetCurrentTssKey added in v0.0.23

func (m *GenesisState) GetCurrentTssKey() *TssKey

func (*GenesisState) GetCurrentTssProcess added in v0.0.23

func (m *GenesisState) GetCurrentTssProcess() *TssKeyProcess

func (*GenesisState) GetNextProcessId added in v0.0.23

func (m *GenesisState) GetNextProcessId() uint64

func (*GenesisState) GetNextTssEventId added in v0.0.23

func (m *GenesisState) GetNextTssEventId() uint64

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetProcessHistory added in v0.0.23

func (m *GenesisState) GetProcessHistory() []TssKeyProcessEntry

func (*GenesisState) GetTssEvents added in v0.0.23

func (m *GenesisState) GetTssEvents() []TssEvent

func (*GenesisState) GetTssKeyHistory added in v0.0.23

func (m *GenesisState) GetTssKeyHistory() []TssKeyEntry

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) 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"`
}

Admin initiates new keygen/reshare process

func (*MsgInitiateTssKeyProcess) Descriptor

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

func (*MsgInitiateTssKeyProcess) GetProcessType

func (m *MsgInitiateTssKeyProcess) GetProcessType() TssProcessType

func (*MsgInitiateTssKeyProcess) GetSigner

func (m *MsgInitiateTssKeyProcess) GetSigner() string

func (*MsgInitiateTssKeyProcess) Marshal

func (m *MsgInitiateTssKeyProcess) Marshal() (dAtA []byte, err error)

func (*MsgInitiateTssKeyProcess) MarshalTo

func (m *MsgInitiateTssKeyProcess) MarshalTo(dAtA []byte) (int, error)

func (*MsgInitiateTssKeyProcess) MarshalToSizedBuffer

func (m *MsgInitiateTssKeyProcess) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgInitiateTssKeyProcess) ProtoMessage

func (*MsgInitiateTssKeyProcess) ProtoMessage()

func (*MsgInitiateTssKeyProcess) Reset

func (m *MsgInitiateTssKeyProcess) Reset()

func (*MsgInitiateTssKeyProcess) Size

func (m *MsgInitiateTssKeyProcess) Size() (n int)

func (*MsgInitiateTssKeyProcess) String

func (m *MsgInitiateTssKeyProcess) String() string

func (*MsgInitiateTssKeyProcess) Unmarshal

func (m *MsgInitiateTssKeyProcess) Unmarshal(dAtA []byte) error

func (*MsgInitiateTssKeyProcess) ValidateBasic added in v0.0.23

func (msg *MsgInitiateTssKeyProcess) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgInitiateTssKeyProcess) XXX_DiscardUnknown

func (m *MsgInitiateTssKeyProcess) XXX_DiscardUnknown()

func (*MsgInitiateTssKeyProcess) XXX_Marshal

func (m *MsgInitiateTssKeyProcess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgInitiateTssKeyProcess) XXX_Merge

func (m *MsgInitiateTssKeyProcess) XXX_Merge(src proto.Message)

func (*MsgInitiateTssKeyProcess) XXX_Size

func (m *MsgInitiateTssKeyProcess) XXX_Size() int

func (*MsgInitiateTssKeyProcess) XXX_Unmarshal

func (m *MsgInitiateTssKeyProcess) XXX_Unmarshal(b []byte) error

type MsgInitiateTssKeyProcessResponse

type MsgInitiateTssKeyProcessResponse struct {
}

func (*MsgInitiateTssKeyProcessResponse) Descriptor

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

func (*MsgInitiateTssKeyProcessResponse) Marshal

func (m *MsgInitiateTssKeyProcessResponse) Marshal() (dAtA []byte, err error)

func (*MsgInitiateTssKeyProcessResponse) MarshalTo

func (m *MsgInitiateTssKeyProcessResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgInitiateTssKeyProcessResponse) MarshalToSizedBuffer

func (m *MsgInitiateTssKeyProcessResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgInitiateTssKeyProcessResponse) ProtoMessage

func (*MsgInitiateTssKeyProcessResponse) ProtoMessage()

func (*MsgInitiateTssKeyProcessResponse) Reset

func (*MsgInitiateTssKeyProcessResponse) Size

func (m *MsgInitiateTssKeyProcessResponse) Size() (n int)

func (*MsgInitiateTssKeyProcessResponse) String

func (*MsgInitiateTssKeyProcessResponse) Unmarshal

func (m *MsgInitiateTssKeyProcessResponse) Unmarshal(dAtA []byte) error

func (*MsgInitiateTssKeyProcessResponse) XXX_DiscardUnknown

func (m *MsgInitiateTssKeyProcessResponse) XXX_DiscardUnknown()

func (*MsgInitiateTssKeyProcessResponse) XXX_Marshal

func (m *MsgInitiateTssKeyProcessResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgInitiateTssKeyProcessResponse) XXX_Merge

func (*MsgInitiateTssKeyProcessResponse) XXX_Size

func (m *MsgInitiateTssKeyProcessResponse) XXX_Size() int

func (*MsgInitiateTssKeyProcessResponse) XXX_Unmarshal

func (m *MsgInitiateTssKeyProcessResponse) XXX_Unmarshal(b []byte) error

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)
}

MsgServer is the server API for Msg service.

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"`
}

MsgUpdateParams is the Msg/UpdateParams request type.

Since: cosmos-sdk 0.47

func NewMsgUpdateParams

func NewMsgUpdateParams(
	sender sdk.Address,
	admin sdk.Address,
) *MsgUpdateParams

NewMsgUpdateParams creates new instance of MsgUpdateParams

func (*MsgUpdateParams) Descriptor

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

func (*MsgUpdateParams) GetAuthority

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (m *MsgUpdateParams) GetParams() Params

func (MsgUpdateParams) GetSignBytes

func (msg MsgUpdateParams) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgUpdateParams) GetSigners

func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for a MsgUpdateParams message.

func (*MsgUpdateParams) Marshal

func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)

func (*MsgUpdateParams) MarshalTo

func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateParams) MarshalToSizedBuffer

func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset

func (m *MsgUpdateParams) Reset()

func (MsgUpdateParams) Route

func (msg MsgUpdateParams) Route() string

Route returns the name of the module

func (*MsgUpdateParams) Size

func (m *MsgUpdateParams) Size() (n int)

func (*MsgUpdateParams) String

func (m *MsgUpdateParams) String() string

func (MsgUpdateParams) Type

func (msg MsgUpdateParams) Type() string

Type returns the action

func (*MsgUpdateParams) Unmarshal

func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error

func (*MsgUpdateParams) ValidateBasic

func (msg *MsgUpdateParams) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgUpdateParams) XXX_DiscardUnknown

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal

func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateParams) XXX_Merge

func (m *MsgUpdateParams) XXX_Merge(src proto.Message)

func (*MsgUpdateParams) XXX_Size

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal

func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

Since: cosmos-sdk 0.47

func (*MsgUpdateParamsResponse) Descriptor

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

func (*MsgUpdateParamsResponse) Marshal

func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateParamsResponse) MarshalTo

func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer

func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size

func (m *MsgUpdateParamsResponse) Size() (n int)

func (*MsgUpdateParamsResponse) String

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal

func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal

func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateParamsResponse) XXX_Merge

func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateParamsResponse) XXX_Size

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal

func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error

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"`
}

Universal validator votes on an ongoing TSS key process

func (*MsgVoteTssKeyProcess) Descriptor

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

func (*MsgVoteTssKeyProcess) GetKeyId

func (m *MsgVoteTssKeyProcess) GetKeyId() string

func (*MsgVoteTssKeyProcess) GetProcessId

func (m *MsgVoteTssKeyProcess) GetProcessId() uint64

func (*MsgVoteTssKeyProcess) GetSigner

func (m *MsgVoteTssKeyProcess) GetSigner() string

func (*MsgVoteTssKeyProcess) GetTssPubkey

func (m *MsgVoteTssKeyProcess) GetTssPubkey() string

func (*MsgVoteTssKeyProcess) Marshal

func (m *MsgVoteTssKeyProcess) Marshal() (dAtA []byte, err error)

func (*MsgVoteTssKeyProcess) MarshalTo

func (m *MsgVoteTssKeyProcess) MarshalTo(dAtA []byte) (int, error)

func (*MsgVoteTssKeyProcess) MarshalToSizedBuffer

func (m *MsgVoteTssKeyProcess) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgVoteTssKeyProcess) ProtoMessage

func (*MsgVoteTssKeyProcess) ProtoMessage()

func (*MsgVoteTssKeyProcess) Reset

func (m *MsgVoteTssKeyProcess) Reset()

func (*MsgVoteTssKeyProcess) Size

func (m *MsgVoteTssKeyProcess) Size() (n int)

func (*MsgVoteTssKeyProcess) String

func (m *MsgVoteTssKeyProcess) String() string

func (*MsgVoteTssKeyProcess) Unmarshal

func (m *MsgVoteTssKeyProcess) Unmarshal(dAtA []byte) error

func (*MsgVoteTssKeyProcess) ValidateBasic added in v0.0.23

func (msg *MsgVoteTssKeyProcess) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgVoteTssKeyProcess) XXX_DiscardUnknown

func (m *MsgVoteTssKeyProcess) XXX_DiscardUnknown()

func (*MsgVoteTssKeyProcess) XXX_Marshal

func (m *MsgVoteTssKeyProcess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgVoteTssKeyProcess) XXX_Merge

func (m *MsgVoteTssKeyProcess) XXX_Merge(src proto.Message)

func (*MsgVoteTssKeyProcess) XXX_Size

func (m *MsgVoteTssKeyProcess) XXX_Size() int

func (*MsgVoteTssKeyProcess) XXX_Unmarshal

func (m *MsgVoteTssKeyProcess) XXX_Unmarshal(b []byte) error

type MsgVoteTssKeyProcessResponse

type MsgVoteTssKeyProcessResponse struct {
}

func (*MsgVoteTssKeyProcessResponse) Descriptor

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

func (*MsgVoteTssKeyProcessResponse) Marshal

func (m *MsgVoteTssKeyProcessResponse) Marshal() (dAtA []byte, err error)

func (*MsgVoteTssKeyProcessResponse) MarshalTo

func (m *MsgVoteTssKeyProcessResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgVoteTssKeyProcessResponse) MarshalToSizedBuffer

func (m *MsgVoteTssKeyProcessResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgVoteTssKeyProcessResponse) ProtoMessage

func (*MsgVoteTssKeyProcessResponse) ProtoMessage()

func (*MsgVoteTssKeyProcessResponse) Reset

func (m *MsgVoteTssKeyProcessResponse) Reset()

func (*MsgVoteTssKeyProcessResponse) Size

func (m *MsgVoteTssKeyProcessResponse) Size() (n int)

func (*MsgVoteTssKeyProcessResponse) String

func (*MsgVoteTssKeyProcessResponse) Unmarshal

func (m *MsgVoteTssKeyProcessResponse) Unmarshal(dAtA []byte) error

func (*MsgVoteTssKeyProcessResponse) XXX_DiscardUnknown

func (m *MsgVoteTssKeyProcessResponse) XXX_DiscardUnknown()

func (*MsgVoteTssKeyProcessResponse) XXX_Marshal

func (m *MsgVoteTssKeyProcessResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgVoteTssKeyProcessResponse) XXX_Merge

func (m *MsgVoteTssKeyProcessResponse) XXX_Merge(src proto.Message)

func (*MsgVoteTssKeyProcessResponse) XXX_Size

func (m *MsgVoteTssKeyProcessResponse) XXX_Size() int

func (*MsgVoteTssKeyProcessResponse) XXX_Unmarshal

func (m *MsgVoteTssKeyProcessResponse) XXX_Unmarshal(b []byte) error

type Params

type Params struct {
	// The admin account of the utss module.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
}

func DefaultParams

func DefaultParams() Params

DefaultParams returns default module parameters.

func (*Params) Descriptor

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

func (*Params) Equal

func (this *Params) Equal(that interface{}) bool

func (*Params) GetAdmin

func (m *Params) GetAdmin() string

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (Params) String

func (p Params) String() string

Stringer method for Params.

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) ValidateBasic

func (p Params) ValidateBasic() error

ValidateBasic does the sanity check on the params.

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type QueryAllKeysRequest

type QueryAllKeysRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllKeysRequest) Descriptor

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

func (*QueryAllKeysRequest) GetPagination

func (m *QueryAllKeysRequest) GetPagination() *query.PageRequest

func (*QueryAllKeysRequest) Marshal

func (m *QueryAllKeysRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllKeysRequest) MarshalTo

func (m *QueryAllKeysRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllKeysRequest) MarshalToSizedBuffer

func (m *QueryAllKeysRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllKeysRequest) ProtoMessage

func (*QueryAllKeysRequest) ProtoMessage()

func (*QueryAllKeysRequest) Reset

func (m *QueryAllKeysRequest) Reset()

func (*QueryAllKeysRequest) Size

func (m *QueryAllKeysRequest) Size() (n int)

func (*QueryAllKeysRequest) String

func (m *QueryAllKeysRequest) String() string

func (*QueryAllKeysRequest) Unmarshal

func (m *QueryAllKeysRequest) Unmarshal(dAtA []byte) error

func (*QueryAllKeysRequest) XXX_DiscardUnknown

func (m *QueryAllKeysRequest) XXX_DiscardUnknown()

func (*QueryAllKeysRequest) XXX_Marshal

func (m *QueryAllKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllKeysRequest) XXX_Merge

func (m *QueryAllKeysRequest) XXX_Merge(src proto.Message)

func (*QueryAllKeysRequest) XXX_Size

func (m *QueryAllKeysRequest) XXX_Size() int

func (*QueryAllKeysRequest) XXX_Unmarshal

func (m *QueryAllKeysRequest) XXX_Unmarshal(b []byte) error

type QueryAllKeysResponse

type QueryAllKeysResponse struct {
	Keys       []*TssKey           `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllKeysResponse) Descriptor

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

func (*QueryAllKeysResponse) GetKeys

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

func (*QueryAllKeysResponse) GetPagination

func (m *QueryAllKeysResponse) GetPagination() *query.PageResponse

func (*QueryAllKeysResponse) Marshal

func (m *QueryAllKeysResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllKeysResponse) MarshalTo

func (m *QueryAllKeysResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllKeysResponse) MarshalToSizedBuffer

func (m *QueryAllKeysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllKeysResponse) ProtoMessage

func (*QueryAllKeysResponse) ProtoMessage()

func (*QueryAllKeysResponse) Reset

func (m *QueryAllKeysResponse) Reset()

func (*QueryAllKeysResponse) Size

func (m *QueryAllKeysResponse) Size() (n int)

func (*QueryAllKeysResponse) String

func (m *QueryAllKeysResponse) String() string

func (*QueryAllKeysResponse) Unmarshal

func (m *QueryAllKeysResponse) Unmarshal(dAtA []byte) error

func (*QueryAllKeysResponse) XXX_DiscardUnknown

func (m *QueryAllKeysResponse) XXX_DiscardUnknown()

func (*QueryAllKeysResponse) XXX_Marshal

func (m *QueryAllKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllKeysResponse) XXX_Merge

func (m *QueryAllKeysResponse) XXX_Merge(src proto.Message)

func (*QueryAllKeysResponse) XXX_Size

func (m *QueryAllKeysResponse) XXX_Size() int

func (*QueryAllKeysResponse) XXX_Unmarshal

func (m *QueryAllKeysResponse) XXX_Unmarshal(b []byte) error

type QueryAllPendingTssEventsRequest added in v0.0.23

type QueryAllPendingTssEventsRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllPendingTssEventsRequest) Descriptor added in v0.0.23

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

func (*QueryAllPendingTssEventsRequest) GetPagination added in v0.0.23

func (*QueryAllPendingTssEventsRequest) Marshal added in v0.0.23

func (m *QueryAllPendingTssEventsRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllPendingTssEventsRequest) MarshalTo added in v0.0.23

func (m *QueryAllPendingTssEventsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllPendingTssEventsRequest) MarshalToSizedBuffer added in v0.0.23

func (m *QueryAllPendingTssEventsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllPendingTssEventsRequest) ProtoMessage added in v0.0.23

func (*QueryAllPendingTssEventsRequest) ProtoMessage()

func (*QueryAllPendingTssEventsRequest) Reset added in v0.0.23

func (*QueryAllPendingTssEventsRequest) Size added in v0.0.23

func (m *QueryAllPendingTssEventsRequest) Size() (n int)

func (*QueryAllPendingTssEventsRequest) String added in v0.0.23

func (*QueryAllPendingTssEventsRequest) Unmarshal added in v0.0.23

func (m *QueryAllPendingTssEventsRequest) Unmarshal(dAtA []byte) error

func (*QueryAllPendingTssEventsRequest) XXX_DiscardUnknown added in v0.0.23

func (m *QueryAllPendingTssEventsRequest) XXX_DiscardUnknown()

func (*QueryAllPendingTssEventsRequest) XXX_Marshal added in v0.0.23

func (m *QueryAllPendingTssEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllPendingTssEventsRequest) XXX_Merge added in v0.0.23

func (m *QueryAllPendingTssEventsRequest) XXX_Merge(src proto.Message)

func (*QueryAllPendingTssEventsRequest) XXX_Size added in v0.0.23

func (m *QueryAllPendingTssEventsRequest) XXX_Size() int

func (*QueryAllPendingTssEventsRequest) XXX_Unmarshal added in v0.0.23

func (m *QueryAllPendingTssEventsRequest) XXX_Unmarshal(b []byte) error

type QueryAllPendingTssEventsResponse added in v0.0.23

type QueryAllPendingTssEventsResponse struct {
	Events     []*TssEvent         `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllPendingTssEventsResponse) Descriptor added in v0.0.23

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

func (*QueryAllPendingTssEventsResponse) GetEvents added in v0.0.23

func (m *QueryAllPendingTssEventsResponse) GetEvents() []*TssEvent

func (*QueryAllPendingTssEventsResponse) GetPagination added in v0.0.23

func (*QueryAllPendingTssEventsResponse) Marshal added in v0.0.23

func (m *QueryAllPendingTssEventsResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllPendingTssEventsResponse) MarshalTo added in v0.0.23

func (m *QueryAllPendingTssEventsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllPendingTssEventsResponse) MarshalToSizedBuffer added in v0.0.23

func (m *QueryAllPendingTssEventsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllPendingTssEventsResponse) ProtoMessage added in v0.0.23

func (*QueryAllPendingTssEventsResponse) ProtoMessage()

func (*QueryAllPendingTssEventsResponse) Reset added in v0.0.23

func (*QueryAllPendingTssEventsResponse) Size added in v0.0.23

func (m *QueryAllPendingTssEventsResponse) Size() (n int)

func (*QueryAllPendingTssEventsResponse) String added in v0.0.23

func (*QueryAllPendingTssEventsResponse) Unmarshal added in v0.0.23

func (m *QueryAllPendingTssEventsResponse) Unmarshal(dAtA []byte) error

func (*QueryAllPendingTssEventsResponse) XXX_DiscardUnknown added in v0.0.23

func (m *QueryAllPendingTssEventsResponse) XXX_DiscardUnknown()

func (*QueryAllPendingTssEventsResponse) XXX_Marshal added in v0.0.23

func (m *QueryAllPendingTssEventsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllPendingTssEventsResponse) XXX_Merge added in v0.0.23

func (*QueryAllPendingTssEventsResponse) XXX_Size added in v0.0.23

func (m *QueryAllPendingTssEventsResponse) XXX_Size() int

func (*QueryAllPendingTssEventsResponse) XXX_Unmarshal added in v0.0.23

func (m *QueryAllPendingTssEventsResponse) XXX_Unmarshal(b []byte) error

type QueryAllProcessesRequest

type QueryAllProcessesRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllProcessesRequest) Descriptor

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

func (*QueryAllProcessesRequest) GetPagination

func (m *QueryAllProcessesRequest) GetPagination() *query.PageRequest

func (*QueryAllProcessesRequest) Marshal

func (m *QueryAllProcessesRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllProcessesRequest) MarshalTo

func (m *QueryAllProcessesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllProcessesRequest) MarshalToSizedBuffer

func (m *QueryAllProcessesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllProcessesRequest) ProtoMessage

func (*QueryAllProcessesRequest) ProtoMessage()

func (*QueryAllProcessesRequest) Reset

func (m *QueryAllProcessesRequest) Reset()

func (*QueryAllProcessesRequest) Size

func (m *QueryAllProcessesRequest) Size() (n int)

func (*QueryAllProcessesRequest) String

func (m *QueryAllProcessesRequest) String() string

func (*QueryAllProcessesRequest) Unmarshal

func (m *QueryAllProcessesRequest) Unmarshal(dAtA []byte) error

func (*QueryAllProcessesRequest) XXX_DiscardUnknown

func (m *QueryAllProcessesRequest) XXX_DiscardUnknown()

func (*QueryAllProcessesRequest) XXX_Marshal

func (m *QueryAllProcessesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllProcessesRequest) XXX_Merge

func (m *QueryAllProcessesRequest) XXX_Merge(src proto.Message)

func (*QueryAllProcessesRequest) XXX_Size

func (m *QueryAllProcessesRequest) XXX_Size() int

func (*QueryAllProcessesRequest) XXX_Unmarshal

func (m *QueryAllProcessesRequest) XXX_Unmarshal(b []byte) error

type QueryAllProcessesResponse

type QueryAllProcessesResponse struct {
	Processes  []*TssKeyProcess    `protobuf:"bytes,1,rep,name=processes,proto3" json:"processes,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllProcessesResponse) Descriptor

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

func (*QueryAllProcessesResponse) GetPagination

func (m *QueryAllProcessesResponse) GetPagination() *query.PageResponse

func (*QueryAllProcessesResponse) GetProcesses

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

func (*QueryAllProcessesResponse) Marshal

func (m *QueryAllProcessesResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllProcessesResponse) MarshalTo

func (m *QueryAllProcessesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllProcessesResponse) MarshalToSizedBuffer

func (m *QueryAllProcessesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllProcessesResponse) ProtoMessage

func (*QueryAllProcessesResponse) ProtoMessage()

func (*QueryAllProcessesResponse) Reset

func (m *QueryAllProcessesResponse) Reset()

func (*QueryAllProcessesResponse) Size

func (m *QueryAllProcessesResponse) Size() (n int)

func (*QueryAllProcessesResponse) String

func (m *QueryAllProcessesResponse) String() string

func (*QueryAllProcessesResponse) Unmarshal

func (m *QueryAllProcessesResponse) Unmarshal(dAtA []byte) error

func (*QueryAllProcessesResponse) XXX_DiscardUnknown

func (m *QueryAllProcessesResponse) XXX_DiscardUnknown()

func (*QueryAllProcessesResponse) XXX_Marshal

func (m *QueryAllProcessesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllProcessesResponse) XXX_Merge

func (m *QueryAllProcessesResponse) XXX_Merge(src proto.Message)

func (*QueryAllProcessesResponse) XXX_Size

func (m *QueryAllProcessesResponse) XXX_Size() int

func (*QueryAllProcessesResponse) XXX_Unmarshal

func (m *QueryAllProcessesResponse) XXX_Unmarshal(b []byte) error

type QueryAllTssEventsRequest added in v0.0.23

type QueryAllTssEventsRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllTssEventsRequest) Descriptor added in v0.0.23

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

func (*QueryAllTssEventsRequest) GetPagination added in v0.0.23

func (m *QueryAllTssEventsRequest) GetPagination() *query.PageRequest

func (*QueryAllTssEventsRequest) Marshal added in v0.0.23

func (m *QueryAllTssEventsRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllTssEventsRequest) MarshalTo added in v0.0.23

func (m *QueryAllTssEventsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllTssEventsRequest) MarshalToSizedBuffer added in v0.0.23

func (m *QueryAllTssEventsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllTssEventsRequest) ProtoMessage added in v0.0.23

func (*QueryAllTssEventsRequest) ProtoMessage()

func (*QueryAllTssEventsRequest) Reset added in v0.0.23

func (m *QueryAllTssEventsRequest) Reset()

func (*QueryAllTssEventsRequest) Size added in v0.0.23

func (m *QueryAllTssEventsRequest) Size() (n int)

func (*QueryAllTssEventsRequest) String added in v0.0.23

func (m *QueryAllTssEventsRequest) String() string

func (*QueryAllTssEventsRequest) Unmarshal added in v0.0.23

func (m *QueryAllTssEventsRequest) Unmarshal(dAtA []byte) error

func (*QueryAllTssEventsRequest) XXX_DiscardUnknown added in v0.0.23

func (m *QueryAllTssEventsRequest) XXX_DiscardUnknown()

func (*QueryAllTssEventsRequest) XXX_Marshal added in v0.0.23

func (m *QueryAllTssEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllTssEventsRequest) XXX_Merge added in v0.0.23

func (m *QueryAllTssEventsRequest) XXX_Merge(src proto.Message)

func (*QueryAllTssEventsRequest) XXX_Size added in v0.0.23

func (m *QueryAllTssEventsRequest) XXX_Size() int

func (*QueryAllTssEventsRequest) XXX_Unmarshal added in v0.0.23

func (m *QueryAllTssEventsRequest) XXX_Unmarshal(b []byte) error

type QueryAllTssEventsResponse added in v0.0.23

type QueryAllTssEventsResponse struct {
	Events     []*TssEvent         `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllTssEventsResponse) Descriptor added in v0.0.23

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

func (*QueryAllTssEventsResponse) GetEvents added in v0.0.23

func (m *QueryAllTssEventsResponse) GetEvents() []*TssEvent

func (*QueryAllTssEventsResponse) GetPagination added in v0.0.23

func (m *QueryAllTssEventsResponse) GetPagination() *query.PageResponse

func (*QueryAllTssEventsResponse) Marshal added in v0.0.23

func (m *QueryAllTssEventsResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllTssEventsResponse) MarshalTo added in v0.0.23

func (m *QueryAllTssEventsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllTssEventsResponse) MarshalToSizedBuffer added in v0.0.23

func (m *QueryAllTssEventsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllTssEventsResponse) ProtoMessage added in v0.0.23

func (*QueryAllTssEventsResponse) ProtoMessage()

func (*QueryAllTssEventsResponse) Reset added in v0.0.23

func (m *QueryAllTssEventsResponse) Reset()

func (*QueryAllTssEventsResponse) Size added in v0.0.23

func (m *QueryAllTssEventsResponse) Size() (n int)

func (*QueryAllTssEventsResponse) String added in v0.0.23

func (m *QueryAllTssEventsResponse) String() string

func (*QueryAllTssEventsResponse) Unmarshal added in v0.0.23

func (m *QueryAllTssEventsResponse) Unmarshal(dAtA []byte) error

func (*QueryAllTssEventsResponse) XXX_DiscardUnknown added in v0.0.23

func (m *QueryAllTssEventsResponse) XXX_DiscardUnknown()

func (*QueryAllTssEventsResponse) XXX_Marshal added in v0.0.23

func (m *QueryAllTssEventsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllTssEventsResponse) XXX_Merge added in v0.0.23

func (m *QueryAllTssEventsResponse) XXX_Merge(src proto.Message)

func (*QueryAllTssEventsResponse) XXX_Size added in v0.0.23

func (m *QueryAllTssEventsResponse) XXX_Size() int

func (*QueryAllTssEventsResponse) XXX_Unmarshal added in v0.0.23

func (m *QueryAllTssEventsResponse) XXX_Unmarshal(b []byte) error

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)
	// Get a single TSS event by auto-increment ID
	GetTssEvent(ctx context.Context, in *QueryGetTssEventRequest, opts ...grpc.CallOption) (*QueryGetTssEventResponse, error)
	// Get a single pending TSS event by process ID
	GetPendingTssEvent(ctx context.Context, in *QueryGetPendingTssEventRequest, opts ...grpc.CallOption) (*QueryGetPendingTssEventResponse, error)
	// List all pending TSS events (paginated)
	AllPendingTssEvents(ctx context.Context, in *QueryAllPendingTssEventsRequest, opts ...grpc.CallOption) (*QueryAllPendingTssEventsResponse, error)
	// List all TSS events (paginated)
	AllTssEvents(ctx context.Context, in *QueryAllTssEventsRequest, opts ...grpc.CallOption) (*QueryAllTssEventsResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryCurrentKeyRequest

type QueryCurrentKeyRequest struct {
}

func (*QueryCurrentKeyRequest) Descriptor

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

func (*QueryCurrentKeyRequest) Marshal

func (m *QueryCurrentKeyRequest) Marshal() (dAtA []byte, err error)

func (*QueryCurrentKeyRequest) MarshalTo

func (m *QueryCurrentKeyRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryCurrentKeyRequest) MarshalToSizedBuffer

func (m *QueryCurrentKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCurrentKeyRequest) ProtoMessage

func (*QueryCurrentKeyRequest) ProtoMessage()

func (*QueryCurrentKeyRequest) Reset

func (m *QueryCurrentKeyRequest) Reset()

func (*QueryCurrentKeyRequest) Size

func (m *QueryCurrentKeyRequest) Size() (n int)

func (*QueryCurrentKeyRequest) String

func (m *QueryCurrentKeyRequest) String() string

func (*QueryCurrentKeyRequest) Unmarshal

func (m *QueryCurrentKeyRequest) Unmarshal(dAtA []byte) error

func (*QueryCurrentKeyRequest) XXX_DiscardUnknown

func (m *QueryCurrentKeyRequest) XXX_DiscardUnknown()

func (*QueryCurrentKeyRequest) XXX_Marshal

func (m *QueryCurrentKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCurrentKeyRequest) XXX_Merge

func (m *QueryCurrentKeyRequest) XXX_Merge(src proto.Message)

func (*QueryCurrentKeyRequest) XXX_Size

func (m *QueryCurrentKeyRequest) XXX_Size() int

func (*QueryCurrentKeyRequest) XXX_Unmarshal

func (m *QueryCurrentKeyRequest) XXX_Unmarshal(b []byte) error

type QueryCurrentKeyResponse

type QueryCurrentKeyResponse struct {
	Key *TssKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
}

func (*QueryCurrentKeyResponse) Descriptor

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

func (*QueryCurrentKeyResponse) GetKey

func (m *QueryCurrentKeyResponse) GetKey() *TssKey

func (*QueryCurrentKeyResponse) Marshal

func (m *QueryCurrentKeyResponse) Marshal() (dAtA []byte, err error)

func (*QueryCurrentKeyResponse) MarshalTo

func (m *QueryCurrentKeyResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryCurrentKeyResponse) MarshalToSizedBuffer

func (m *QueryCurrentKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCurrentKeyResponse) ProtoMessage

func (*QueryCurrentKeyResponse) ProtoMessage()

func (*QueryCurrentKeyResponse) Reset

func (m *QueryCurrentKeyResponse) Reset()

func (*QueryCurrentKeyResponse) Size

func (m *QueryCurrentKeyResponse) Size() (n int)

func (*QueryCurrentKeyResponse) String

func (m *QueryCurrentKeyResponse) String() string

func (*QueryCurrentKeyResponse) Unmarshal

func (m *QueryCurrentKeyResponse) Unmarshal(dAtA []byte) error

func (*QueryCurrentKeyResponse) XXX_DiscardUnknown

func (m *QueryCurrentKeyResponse) XXX_DiscardUnknown()

func (*QueryCurrentKeyResponse) XXX_Marshal

func (m *QueryCurrentKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCurrentKeyResponse) XXX_Merge

func (m *QueryCurrentKeyResponse) XXX_Merge(src proto.Message)

func (*QueryCurrentKeyResponse) XXX_Size

func (m *QueryCurrentKeyResponse) XXX_Size() int

func (*QueryCurrentKeyResponse) XXX_Unmarshal

func (m *QueryCurrentKeyResponse) XXX_Unmarshal(b []byte) error

type QueryCurrentProcessRequest

type QueryCurrentProcessRequest struct {
}

func (*QueryCurrentProcessRequest) Descriptor

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

func (*QueryCurrentProcessRequest) Marshal

func (m *QueryCurrentProcessRequest) Marshal() (dAtA []byte, err error)

func (*QueryCurrentProcessRequest) MarshalTo

func (m *QueryCurrentProcessRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryCurrentProcessRequest) MarshalToSizedBuffer

func (m *QueryCurrentProcessRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCurrentProcessRequest) ProtoMessage

func (*QueryCurrentProcessRequest) ProtoMessage()

func (*QueryCurrentProcessRequest) Reset

func (m *QueryCurrentProcessRequest) Reset()

func (*QueryCurrentProcessRequest) Size

func (m *QueryCurrentProcessRequest) Size() (n int)

func (*QueryCurrentProcessRequest) String

func (m *QueryCurrentProcessRequest) String() string

func (*QueryCurrentProcessRequest) Unmarshal

func (m *QueryCurrentProcessRequest) Unmarshal(dAtA []byte) error

func (*QueryCurrentProcessRequest) XXX_DiscardUnknown

func (m *QueryCurrentProcessRequest) XXX_DiscardUnknown()

func (*QueryCurrentProcessRequest) XXX_Marshal

func (m *QueryCurrentProcessRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCurrentProcessRequest) XXX_Merge

func (m *QueryCurrentProcessRequest) XXX_Merge(src proto.Message)

func (*QueryCurrentProcessRequest) XXX_Size

func (m *QueryCurrentProcessRequest) XXX_Size() int

func (*QueryCurrentProcessRequest) XXX_Unmarshal

func (m *QueryCurrentProcessRequest) XXX_Unmarshal(b []byte) error

type QueryCurrentProcessResponse

type QueryCurrentProcessResponse struct {
	Process *TssKeyProcess `protobuf:"bytes,1,opt,name=process,proto3" json:"process,omitempty"`
}

func (*QueryCurrentProcessResponse) Descriptor

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

func (*QueryCurrentProcessResponse) GetProcess

func (m *QueryCurrentProcessResponse) GetProcess() *TssKeyProcess

func (*QueryCurrentProcessResponse) Marshal

func (m *QueryCurrentProcessResponse) Marshal() (dAtA []byte, err error)

func (*QueryCurrentProcessResponse) MarshalTo

func (m *QueryCurrentProcessResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryCurrentProcessResponse) MarshalToSizedBuffer

func (m *QueryCurrentProcessResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCurrentProcessResponse) ProtoMessage

func (*QueryCurrentProcessResponse) ProtoMessage()

func (*QueryCurrentProcessResponse) Reset

func (m *QueryCurrentProcessResponse) Reset()

func (*QueryCurrentProcessResponse) Size

func (m *QueryCurrentProcessResponse) Size() (n int)

func (*QueryCurrentProcessResponse) String

func (m *QueryCurrentProcessResponse) String() string

func (*QueryCurrentProcessResponse) Unmarshal

func (m *QueryCurrentProcessResponse) Unmarshal(dAtA []byte) error

func (*QueryCurrentProcessResponse) XXX_DiscardUnknown

func (m *QueryCurrentProcessResponse) XXX_DiscardUnknown()

func (*QueryCurrentProcessResponse) XXX_Marshal

func (m *QueryCurrentProcessResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCurrentProcessResponse) XXX_Merge

func (m *QueryCurrentProcessResponse) XXX_Merge(src proto.Message)

func (*QueryCurrentProcessResponse) XXX_Size

func (m *QueryCurrentProcessResponse) XXX_Size() int

func (*QueryCurrentProcessResponse) XXX_Unmarshal

func (m *QueryCurrentProcessResponse) XXX_Unmarshal(b []byte) error

type QueryGetPendingTssEventRequest added in v0.0.23

type QueryGetPendingTssEventRequest struct {
	ProcessId uint64 `protobuf:"varint,1,opt,name=process_id,json=processId,proto3" json:"process_id,omitempty"`
}

func (*QueryGetPendingTssEventRequest) Descriptor added in v0.0.23

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

func (*QueryGetPendingTssEventRequest) GetProcessId added in v0.0.23

func (m *QueryGetPendingTssEventRequest) GetProcessId() uint64

func (*QueryGetPendingTssEventRequest) Marshal added in v0.0.23

func (m *QueryGetPendingTssEventRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetPendingTssEventRequest) MarshalTo added in v0.0.23

func (m *QueryGetPendingTssEventRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetPendingTssEventRequest) MarshalToSizedBuffer added in v0.0.23

func (m *QueryGetPendingTssEventRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetPendingTssEventRequest) ProtoMessage added in v0.0.23

func (*QueryGetPendingTssEventRequest) ProtoMessage()

func (*QueryGetPendingTssEventRequest) Reset added in v0.0.23

func (m *QueryGetPendingTssEventRequest) Reset()

func (*QueryGetPendingTssEventRequest) Size added in v0.0.23

func (m *QueryGetPendingTssEventRequest) Size() (n int)

func (*QueryGetPendingTssEventRequest) String added in v0.0.23

func (*QueryGetPendingTssEventRequest) Unmarshal added in v0.0.23

func (m *QueryGetPendingTssEventRequest) Unmarshal(dAtA []byte) error

func (*QueryGetPendingTssEventRequest) XXX_DiscardUnknown added in v0.0.23

func (m *QueryGetPendingTssEventRequest) XXX_DiscardUnknown()

func (*QueryGetPendingTssEventRequest) XXX_Marshal added in v0.0.23

func (m *QueryGetPendingTssEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetPendingTssEventRequest) XXX_Merge added in v0.0.23

func (m *QueryGetPendingTssEventRequest) XXX_Merge(src proto.Message)

func (*QueryGetPendingTssEventRequest) XXX_Size added in v0.0.23

func (m *QueryGetPendingTssEventRequest) XXX_Size() int

func (*QueryGetPendingTssEventRequest) XXX_Unmarshal added in v0.0.23

func (m *QueryGetPendingTssEventRequest) XXX_Unmarshal(b []byte) error

type QueryGetPendingTssEventResponse added in v0.0.23

type QueryGetPendingTssEventResponse struct {
	Event *TssEvent `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
}

func (*QueryGetPendingTssEventResponse) Descriptor added in v0.0.23

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

func (*QueryGetPendingTssEventResponse) GetEvent added in v0.0.23

func (*QueryGetPendingTssEventResponse) Marshal added in v0.0.23

func (m *QueryGetPendingTssEventResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetPendingTssEventResponse) MarshalTo added in v0.0.23

func (m *QueryGetPendingTssEventResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetPendingTssEventResponse) MarshalToSizedBuffer added in v0.0.23

func (m *QueryGetPendingTssEventResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetPendingTssEventResponse) ProtoMessage added in v0.0.23

func (*QueryGetPendingTssEventResponse) ProtoMessage()

func (*QueryGetPendingTssEventResponse) Reset added in v0.0.23

func (*QueryGetPendingTssEventResponse) Size added in v0.0.23

func (m *QueryGetPendingTssEventResponse) Size() (n int)

func (*QueryGetPendingTssEventResponse) String added in v0.0.23

func (*QueryGetPendingTssEventResponse) Unmarshal added in v0.0.23

func (m *QueryGetPendingTssEventResponse) Unmarshal(dAtA []byte) error

func (*QueryGetPendingTssEventResponse) XXX_DiscardUnknown added in v0.0.23

func (m *QueryGetPendingTssEventResponse) XXX_DiscardUnknown()

func (*QueryGetPendingTssEventResponse) XXX_Marshal added in v0.0.23

func (m *QueryGetPendingTssEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetPendingTssEventResponse) XXX_Merge added in v0.0.23

func (m *QueryGetPendingTssEventResponse) XXX_Merge(src proto.Message)

func (*QueryGetPendingTssEventResponse) XXX_Size added in v0.0.23

func (m *QueryGetPendingTssEventResponse) XXX_Size() int

func (*QueryGetPendingTssEventResponse) XXX_Unmarshal added in v0.0.23

func (m *QueryGetPendingTssEventResponse) XXX_Unmarshal(b []byte) error

type QueryGetTssEventRequest added in v0.0.23

type QueryGetTssEventRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

TSS Event queries

func (*QueryGetTssEventRequest) Descriptor added in v0.0.23

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

func (*QueryGetTssEventRequest) GetId added in v0.0.23

func (m *QueryGetTssEventRequest) GetId() uint64

func (*QueryGetTssEventRequest) Marshal added in v0.0.23

func (m *QueryGetTssEventRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetTssEventRequest) MarshalTo added in v0.0.23

func (m *QueryGetTssEventRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetTssEventRequest) MarshalToSizedBuffer added in v0.0.23

func (m *QueryGetTssEventRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetTssEventRequest) ProtoMessage added in v0.0.23

func (*QueryGetTssEventRequest) ProtoMessage()

func (*QueryGetTssEventRequest) Reset added in v0.0.23

func (m *QueryGetTssEventRequest) Reset()

func (*QueryGetTssEventRequest) Size added in v0.0.23

func (m *QueryGetTssEventRequest) Size() (n int)

func (*QueryGetTssEventRequest) String added in v0.0.23

func (m *QueryGetTssEventRequest) String() string

func (*QueryGetTssEventRequest) Unmarshal added in v0.0.23

func (m *QueryGetTssEventRequest) Unmarshal(dAtA []byte) error

func (*QueryGetTssEventRequest) XXX_DiscardUnknown added in v0.0.23

func (m *QueryGetTssEventRequest) XXX_DiscardUnknown()

func (*QueryGetTssEventRequest) XXX_Marshal added in v0.0.23

func (m *QueryGetTssEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetTssEventRequest) XXX_Merge added in v0.0.23

func (m *QueryGetTssEventRequest) XXX_Merge(src proto.Message)

func (*QueryGetTssEventRequest) XXX_Size added in v0.0.23

func (m *QueryGetTssEventRequest) XXX_Size() int

func (*QueryGetTssEventRequest) XXX_Unmarshal added in v0.0.23

func (m *QueryGetTssEventRequest) XXX_Unmarshal(b []byte) error

type QueryGetTssEventResponse added in v0.0.23

type QueryGetTssEventResponse struct {
	Event *TssEvent `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
}

func (*QueryGetTssEventResponse) Descriptor added in v0.0.23

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

func (*QueryGetTssEventResponse) GetEvent added in v0.0.23

func (m *QueryGetTssEventResponse) GetEvent() *TssEvent

func (*QueryGetTssEventResponse) Marshal added in v0.0.23

func (m *QueryGetTssEventResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetTssEventResponse) MarshalTo added in v0.0.23

func (m *QueryGetTssEventResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetTssEventResponse) MarshalToSizedBuffer added in v0.0.23

func (m *QueryGetTssEventResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetTssEventResponse) ProtoMessage added in v0.0.23

func (*QueryGetTssEventResponse) ProtoMessage()

func (*QueryGetTssEventResponse) Reset added in v0.0.23

func (m *QueryGetTssEventResponse) Reset()

func (*QueryGetTssEventResponse) Size added in v0.0.23

func (m *QueryGetTssEventResponse) Size() (n int)

func (*QueryGetTssEventResponse) String added in v0.0.23

func (m *QueryGetTssEventResponse) String() string

func (*QueryGetTssEventResponse) Unmarshal added in v0.0.23

func (m *QueryGetTssEventResponse) Unmarshal(dAtA []byte) error

func (*QueryGetTssEventResponse) XXX_DiscardUnknown added in v0.0.23

func (m *QueryGetTssEventResponse) XXX_DiscardUnknown()

func (*QueryGetTssEventResponse) XXX_Marshal added in v0.0.23

func (m *QueryGetTssEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetTssEventResponse) XXX_Merge added in v0.0.23

func (m *QueryGetTssEventResponse) XXX_Merge(src proto.Message)

func (*QueryGetTssEventResponse) XXX_Size added in v0.0.23

func (m *QueryGetTssEventResponse) XXX_Size() int

func (*QueryGetTssEventResponse) XXX_Unmarshal added in v0.0.23

func (m *QueryGetTssEventResponse) XXX_Unmarshal(b []byte) error

type QueryKeyByIdRequest

type QueryKeyByIdRequest struct {
	KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
}

func (*QueryKeyByIdRequest) Descriptor

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

func (*QueryKeyByIdRequest) GetKeyId

func (m *QueryKeyByIdRequest) GetKeyId() string

func (*QueryKeyByIdRequest) Marshal

func (m *QueryKeyByIdRequest) Marshal() (dAtA []byte, err error)

func (*QueryKeyByIdRequest) MarshalTo

func (m *QueryKeyByIdRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryKeyByIdRequest) MarshalToSizedBuffer

func (m *QueryKeyByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryKeyByIdRequest) ProtoMessage

func (*QueryKeyByIdRequest) ProtoMessage()

func (*QueryKeyByIdRequest) Reset

func (m *QueryKeyByIdRequest) Reset()

func (*QueryKeyByIdRequest) Size

func (m *QueryKeyByIdRequest) Size() (n int)

func (*QueryKeyByIdRequest) String

func (m *QueryKeyByIdRequest) String() string

func (*QueryKeyByIdRequest) Unmarshal

func (m *QueryKeyByIdRequest) Unmarshal(dAtA []byte) error

func (*QueryKeyByIdRequest) XXX_DiscardUnknown

func (m *QueryKeyByIdRequest) XXX_DiscardUnknown()

func (*QueryKeyByIdRequest) XXX_Marshal

func (m *QueryKeyByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryKeyByIdRequest) XXX_Merge

func (m *QueryKeyByIdRequest) XXX_Merge(src proto.Message)

func (*QueryKeyByIdRequest) XXX_Size

func (m *QueryKeyByIdRequest) XXX_Size() int

func (*QueryKeyByIdRequest) XXX_Unmarshal

func (m *QueryKeyByIdRequest) XXX_Unmarshal(b []byte) error

type QueryKeyByIdResponse

type QueryKeyByIdResponse struct {
	Key *TssKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
}

func (*QueryKeyByIdResponse) Descriptor

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

func (*QueryKeyByIdResponse) GetKey

func (m *QueryKeyByIdResponse) GetKey() *TssKey

func (*QueryKeyByIdResponse) Marshal

func (m *QueryKeyByIdResponse) Marshal() (dAtA []byte, err error)

func (*QueryKeyByIdResponse) MarshalTo

func (m *QueryKeyByIdResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryKeyByIdResponse) MarshalToSizedBuffer

func (m *QueryKeyByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryKeyByIdResponse) ProtoMessage

func (*QueryKeyByIdResponse) ProtoMessage()

func (*QueryKeyByIdResponse) Reset

func (m *QueryKeyByIdResponse) Reset()

func (*QueryKeyByIdResponse) Size

func (m *QueryKeyByIdResponse) Size() (n int)

func (*QueryKeyByIdResponse) String

func (m *QueryKeyByIdResponse) String() string

func (*QueryKeyByIdResponse) Unmarshal

func (m *QueryKeyByIdResponse) Unmarshal(dAtA []byte) error

func (*QueryKeyByIdResponse) XXX_DiscardUnknown

func (m *QueryKeyByIdResponse) XXX_DiscardUnknown()

func (*QueryKeyByIdResponse) XXX_Marshal

func (m *QueryKeyByIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryKeyByIdResponse) XXX_Merge

func (m *QueryKeyByIdResponse) XXX_Merge(src proto.Message)

func (*QueryKeyByIdResponse) XXX_Size

func (m *QueryKeyByIdResponse) XXX_Size() int

func (*QueryKeyByIdResponse) XXX_Unmarshal

func (m *QueryKeyByIdResponse) XXX_Unmarshal(b []byte) error

type QueryParamsRequest

type QueryParamsRequest struct {
}

Messages

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsRequest) XXX_Merge

func (m *QueryParamsRequest) XXX_Merge(src proto.Message)

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error

type QueryParamsResponse

type QueryParamsResponse struct {
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
}

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsResponse) XXX_Merge

func (m *QueryParamsResponse) XXX_Merge(src proto.Message)

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error

type QueryProcessByIdRequest

type QueryProcessByIdRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QueryProcessByIdRequest) Descriptor

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

func (*QueryProcessByIdRequest) GetId

func (m *QueryProcessByIdRequest) GetId() uint64

func (*QueryProcessByIdRequest) Marshal

func (m *QueryProcessByIdRequest) Marshal() (dAtA []byte, err error)

func (*QueryProcessByIdRequest) MarshalTo

func (m *QueryProcessByIdRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryProcessByIdRequest) MarshalToSizedBuffer

func (m *QueryProcessByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProcessByIdRequest) ProtoMessage

func (*QueryProcessByIdRequest) ProtoMessage()

func (*QueryProcessByIdRequest) Reset

func (m *QueryProcessByIdRequest) Reset()

func (*QueryProcessByIdRequest) Size

func (m *QueryProcessByIdRequest) Size() (n int)

func (*QueryProcessByIdRequest) String

func (m *QueryProcessByIdRequest) String() string

func (*QueryProcessByIdRequest) Unmarshal

func (m *QueryProcessByIdRequest) Unmarshal(dAtA []byte) error

func (*QueryProcessByIdRequest) XXX_DiscardUnknown

func (m *QueryProcessByIdRequest) XXX_DiscardUnknown()

func (*QueryProcessByIdRequest) XXX_Marshal

func (m *QueryProcessByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProcessByIdRequest) XXX_Merge

func (m *QueryProcessByIdRequest) XXX_Merge(src proto.Message)

func (*QueryProcessByIdRequest) XXX_Size

func (m *QueryProcessByIdRequest) XXX_Size() int

func (*QueryProcessByIdRequest) XXX_Unmarshal

func (m *QueryProcessByIdRequest) XXX_Unmarshal(b []byte) error

type QueryProcessByIdResponse

type QueryProcessByIdResponse struct {
	Process *TssKeyProcess `protobuf:"bytes,1,opt,name=process,proto3" json:"process,omitempty"`
}

func (*QueryProcessByIdResponse) Descriptor

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

func (*QueryProcessByIdResponse) GetProcess

func (m *QueryProcessByIdResponse) GetProcess() *TssKeyProcess

func (*QueryProcessByIdResponse) Marshal

func (m *QueryProcessByIdResponse) Marshal() (dAtA []byte, err error)

func (*QueryProcessByIdResponse) MarshalTo

func (m *QueryProcessByIdResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryProcessByIdResponse) MarshalToSizedBuffer

func (m *QueryProcessByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProcessByIdResponse) ProtoMessage

func (*QueryProcessByIdResponse) ProtoMessage()

func (*QueryProcessByIdResponse) Reset

func (m *QueryProcessByIdResponse) Reset()

func (*QueryProcessByIdResponse) Size

func (m *QueryProcessByIdResponse) Size() (n int)

func (*QueryProcessByIdResponse) String

func (m *QueryProcessByIdResponse) String() string

func (*QueryProcessByIdResponse) Unmarshal

func (m *QueryProcessByIdResponse) Unmarshal(dAtA []byte) error

func (*QueryProcessByIdResponse) XXX_DiscardUnknown

func (m *QueryProcessByIdResponse) XXX_DiscardUnknown()

func (*QueryProcessByIdResponse) XXX_Marshal

func (m *QueryProcessByIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProcessByIdResponse) XXX_Merge

func (m *QueryProcessByIdResponse) XXX_Merge(src proto.Message)

func (*QueryProcessByIdResponse) XXX_Size

func (m *QueryProcessByIdResponse) XXX_Size() int

func (*QueryProcessByIdResponse) XXX_Unmarshal

func (m *QueryProcessByIdResponse) XXX_Unmarshal(b []byte) error

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)
	// Get a single TSS event by auto-increment ID
	GetTssEvent(context.Context, *QueryGetTssEventRequest) (*QueryGetTssEventResponse, error)
	// Get a single pending TSS event by process ID
	GetPendingTssEvent(context.Context, *QueryGetPendingTssEventRequest) (*QueryGetPendingTssEventResponse, error)
	// List all pending TSS events (paginated)
	AllPendingTssEvents(context.Context, *QueryAllPendingTssEventsRequest) (*QueryAllPendingTssEventsResponse, error)
	// List all TSS events (paginated)
	AllTssEvents(context.Context, *QueryAllTssEventsRequest) (*QueryAllTssEventsResponse, error)
}

QueryServer is the server API for Query service.

type TssEvent added in v0.0.23

type TssEvent struct {
	Id           uint64         `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	EventType    TssEventType   `protobuf:"varint,2,opt,name=event_type,json=eventType,proto3,enum=utss.v1.TssEventType" json:"event_type,omitempty"`
	Status       TssEventStatus `protobuf:"varint,3,opt,name=status,proto3,enum=utss.v1.TssEventStatus" json:"status,omitempty"`
	ProcessId    uint64         `protobuf:"varint,4,opt,name=process_id,json=processId,proto3" json:"process_id,omitempty"`
	ProcessType  string         `protobuf:"bytes,5,opt,name=process_type,json=processType,proto3" json:"process_type,omitempty"`
	Participants []string       `protobuf:"bytes,6,rep,name=participants,proto3" json:"participants,omitempty"`
	ExpiryHeight int64          `protobuf:"varint,7,opt,name=expiry_height,json=expiryHeight,proto3" json:"expiry_height,omitempty"`
	BlockHeight  int64          `protobuf:"varint,8,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	KeyId        string         `protobuf:"bytes,9,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	TssPubkey    string         `protobuf:"bytes,10,opt,name=tss_pubkey,json=tssPubkey,proto3" json:"tss_pubkey,omitempty"`
}

Persistent TSS event for queryable lifecycle tracking

func (*TssEvent) Descriptor added in v0.0.23

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

func (*TssEvent) GetBlockHeight added in v0.0.23

func (m *TssEvent) GetBlockHeight() int64

func (*TssEvent) GetEventType added in v0.0.23

func (m *TssEvent) GetEventType() TssEventType

func (*TssEvent) GetExpiryHeight added in v0.0.23

func (m *TssEvent) GetExpiryHeight() int64

func (*TssEvent) GetId added in v0.0.23

func (m *TssEvent) GetId() uint64

func (*TssEvent) GetKeyId added in v0.0.23

func (m *TssEvent) GetKeyId() string

func (*TssEvent) GetParticipants added in v0.0.23

func (m *TssEvent) GetParticipants() []string

func (*TssEvent) GetProcessId added in v0.0.23

func (m *TssEvent) GetProcessId() uint64

func (*TssEvent) GetProcessType added in v0.0.23

func (m *TssEvent) GetProcessType() string

func (*TssEvent) GetStatus added in v0.0.23

func (m *TssEvent) GetStatus() TssEventStatus

func (*TssEvent) GetTssPubkey added in v0.0.23

func (m *TssEvent) GetTssPubkey() string

func (*TssEvent) Marshal added in v0.0.23

func (m *TssEvent) Marshal() (dAtA []byte, err error)

func (*TssEvent) MarshalTo added in v0.0.23

func (m *TssEvent) MarshalTo(dAtA []byte) (int, error)

func (*TssEvent) MarshalToSizedBuffer added in v0.0.23

func (m *TssEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TssEvent) ProtoMessage added in v0.0.23

func (*TssEvent) ProtoMessage()

func (*TssEvent) Reset added in v0.0.23

func (m *TssEvent) Reset()

func (*TssEvent) Size added in v0.0.23

func (m *TssEvent) Size() (n int)

func (*TssEvent) String added in v0.0.23

func (m *TssEvent) String() string

func (*TssEvent) Unmarshal added in v0.0.23

func (m *TssEvent) Unmarshal(dAtA []byte) error

func (*TssEvent) XXX_DiscardUnknown added in v0.0.23

func (m *TssEvent) XXX_DiscardUnknown()

func (*TssEvent) XXX_Marshal added in v0.0.23

func (m *TssEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TssEvent) XXX_Merge added in v0.0.23

func (m *TssEvent) XXX_Merge(src proto.Message)

func (*TssEvent) XXX_Size added in v0.0.23

func (m *TssEvent) XXX_Size() int

func (*TssEvent) XXX_Unmarshal added in v0.0.23

func (m *TssEvent) XXX_Unmarshal(b []byte) error

type TssEventStatus added in v0.0.23

type TssEventStatus int32

TSS Event statuses

const (
	TssEventStatus_TSS_EVENT_ACTIVE    TssEventStatus = 0
	TssEventStatus_TSS_EVENT_COMPLETED TssEventStatus = 1
	TssEventStatus_TSS_EVENT_EXPIRED   TssEventStatus = 2
)

func (TssEventStatus) EnumDescriptor added in v0.0.23

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

func (TssEventStatus) String added in v0.0.23

func (x TssEventStatus) String() string

type TssEventType added in v0.0.23

type TssEventType int32

TSS Event types

const (
	TssEventType_TSS_EVENT_PROCESS_INITIATED TssEventType = 0
	TssEventType_TSS_EVENT_KEY_FINALIZED     TssEventType = 1
)

func (TssEventType) EnumDescriptor added in v0.0.23

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

func (TssEventType) String added in v0.0.23

func (x TssEventType) String() string

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"`
}

Finalized TSS key details

func (*TssKey) Descriptor

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

func (*TssKey) Equal

func (this *TssKey) Equal(that interface{}) bool

func (*TssKey) GetFinalizedBlockHeight

func (m *TssKey) GetFinalizedBlockHeight() int64

func (*TssKey) GetKeyId

func (m *TssKey) GetKeyId() string

func (*TssKey) GetKeygenBlockHeight

func (m *TssKey) GetKeygenBlockHeight() int64

func (*TssKey) GetParticipants

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

func (*TssKey) GetProcessId

func (m *TssKey) GetProcessId() uint64

func (*TssKey) GetTssPubkey

func (m *TssKey) GetTssPubkey() string

func (*TssKey) Marshal

func (m *TssKey) Marshal() (dAtA []byte, err error)

func (*TssKey) MarshalTo

func (m *TssKey) MarshalTo(dAtA []byte) (int, error)

func (*TssKey) MarshalToSizedBuffer

func (m *TssKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TssKey) ProtoMessage

func (*TssKey) ProtoMessage()

func (*TssKey) Reset

func (m *TssKey) Reset()

func (*TssKey) Size

func (m *TssKey) Size() (n int)

func (TssKey) String

func (p TssKey) String() string

String returns a JSON string representation of TssKey

func (*TssKey) Unmarshal

func (m *TssKey) Unmarshal(dAtA []byte) error

func (TssKey) ValidateBasic

func (p TssKey) ValidateBasic() error

ValidateBasic performs basic validation on TssKey fields

func (*TssKey) XXX_DiscardUnknown

func (m *TssKey) XXX_DiscardUnknown()

func (*TssKey) XXX_Marshal

func (m *TssKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TssKey) XXX_Merge

func (m *TssKey) XXX_Merge(src proto.Message)

func (*TssKey) XXX_Size

func (m *TssKey) XXX_Size() int

func (*TssKey) XXX_Unmarshal

func (m *TssKey) XXX_Unmarshal(b []byte) error

type TssKeyEntry added in v0.0.23

type TssKeyEntry struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value TssKey `protobuf:"bytes,2,opt,name=value,proto3" json:"value"`
}

TssKeyEntry is a key-value pair for exporting TssKeyHistory map state.

func (*TssKeyEntry) Descriptor added in v0.0.23

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

func (*TssKeyEntry) GetKey added in v0.0.23

func (m *TssKeyEntry) GetKey() string

func (*TssKeyEntry) GetValue added in v0.0.23

func (m *TssKeyEntry) GetValue() TssKey

func (*TssKeyEntry) Marshal added in v0.0.23

func (m *TssKeyEntry) Marshal() (dAtA []byte, err error)

func (*TssKeyEntry) MarshalTo added in v0.0.23

func (m *TssKeyEntry) MarshalTo(dAtA []byte) (int, error)

func (*TssKeyEntry) MarshalToSizedBuffer added in v0.0.23

func (m *TssKeyEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TssKeyEntry) ProtoMessage added in v0.0.23

func (*TssKeyEntry) ProtoMessage()

func (*TssKeyEntry) Reset added in v0.0.23

func (m *TssKeyEntry) Reset()

func (*TssKeyEntry) Size added in v0.0.23

func (m *TssKeyEntry) Size() (n int)

func (*TssKeyEntry) String added in v0.0.23

func (m *TssKeyEntry) String() string

func (*TssKeyEntry) Unmarshal added in v0.0.23

func (m *TssKeyEntry) Unmarshal(dAtA []byte) error

func (*TssKeyEntry) XXX_DiscardUnknown added in v0.0.23

func (m *TssKeyEntry) XXX_DiscardUnknown()

func (*TssKeyEntry) XXX_Marshal added in v0.0.23

func (m *TssKeyEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TssKeyEntry) XXX_Merge added in v0.0.23

func (m *TssKeyEntry) XXX_Merge(src proto.Message)

func (*TssKeyEntry) XXX_Size added in v0.0.23

func (m *TssKeyEntry) XXX_Size() int

func (*TssKeyEntry) XXX_Unmarshal added in v0.0.23

func (m *TssKeyEntry) XXX_Unmarshal(b []byte) error

type TssKeyFinalizedEvent

type TssKeyFinalizedEvent struct {
	ProcessID uint64 `json:"process_id"`
	KeyID     string `json:"key_id"`
	TssPubKey string `json:"tss_pubkey"`
}

TssKeyFinalizedEvent represents when a TSS keygen or reshare process completes successfully.

func (TssKeyFinalizedEvent) String

func (e TssKeyFinalizedEvent) String() string

String returns a readable log for CLI.

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"`
}

TSS key process information

func (*TssKeyProcess) Descriptor

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

func (*TssKeyProcess) Equal

func (this *TssKeyProcess) Equal(that interface{}) bool

func (*TssKeyProcess) GetBlockHeight

func (m *TssKeyProcess) GetBlockHeight() int64

func (*TssKeyProcess) GetExpiryHeight

func (m *TssKeyProcess) GetExpiryHeight() int64

func (*TssKeyProcess) GetId

func (m *TssKeyProcess) GetId() uint64

func (*TssKeyProcess) GetParticipants

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

func (*TssKeyProcess) GetProcessType

func (m *TssKeyProcess) GetProcessType() TssProcessType

func (*TssKeyProcess) GetStatus

func (m *TssKeyProcess) GetStatus() TssKeyProcessStatus

func (*TssKeyProcess) Marshal

func (m *TssKeyProcess) Marshal() (dAtA []byte, err error)

func (*TssKeyProcess) MarshalTo

func (m *TssKeyProcess) MarshalTo(dAtA []byte) (int, error)

func (*TssKeyProcess) MarshalToSizedBuffer

func (m *TssKeyProcess) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TssKeyProcess) ProtoMessage

func (*TssKeyProcess) ProtoMessage()

func (*TssKeyProcess) Reset

func (m *TssKeyProcess) Reset()

func (*TssKeyProcess) Size

func (m *TssKeyProcess) Size() (n int)

func (TssKeyProcess) String

func (p TssKeyProcess) String() string

Stringer method.

func (*TssKeyProcess) Unmarshal

func (m *TssKeyProcess) Unmarshal(dAtA []byte) error

func (TssKeyProcess) ValidateBasic

func (p TssKeyProcess) ValidateBasic() error

ValidateBasic performs basic validation on TssKeyProcess fields

func (*TssKeyProcess) XXX_DiscardUnknown

func (m *TssKeyProcess) XXX_DiscardUnknown()

func (*TssKeyProcess) XXX_Marshal

func (m *TssKeyProcess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TssKeyProcess) XXX_Merge

func (m *TssKeyProcess) XXX_Merge(src proto.Message)

func (*TssKeyProcess) XXX_Size

func (m *TssKeyProcess) XXX_Size() int

func (*TssKeyProcess) XXX_Unmarshal

func (m *TssKeyProcess) XXX_Unmarshal(b []byte) error

type TssKeyProcessEntry added in v0.0.23

type TssKeyProcessEntry struct {
	Key   uint64        `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"`
	Value TssKeyProcess `protobuf:"bytes,2,opt,name=value,proto3" json:"value"`
}

TssKeyProcessEntry is a key-value pair for exporting ProcessHistory map state.

func (*TssKeyProcessEntry) Descriptor added in v0.0.23

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

func (*TssKeyProcessEntry) GetKey added in v0.0.23

func (m *TssKeyProcessEntry) GetKey() uint64

func (*TssKeyProcessEntry) GetValue added in v0.0.23

func (m *TssKeyProcessEntry) GetValue() TssKeyProcess

func (*TssKeyProcessEntry) Marshal added in v0.0.23

func (m *TssKeyProcessEntry) Marshal() (dAtA []byte, err error)

func (*TssKeyProcessEntry) MarshalTo added in v0.0.23

func (m *TssKeyProcessEntry) MarshalTo(dAtA []byte) (int, error)

func (*TssKeyProcessEntry) MarshalToSizedBuffer added in v0.0.23

func (m *TssKeyProcessEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TssKeyProcessEntry) ProtoMessage added in v0.0.23

func (*TssKeyProcessEntry) ProtoMessage()

func (*TssKeyProcessEntry) Reset added in v0.0.23

func (m *TssKeyProcessEntry) Reset()

func (*TssKeyProcessEntry) Size added in v0.0.23

func (m *TssKeyProcessEntry) Size() (n int)

func (*TssKeyProcessEntry) String added in v0.0.23

func (m *TssKeyProcessEntry) String() string

func (*TssKeyProcessEntry) Unmarshal added in v0.0.23

func (m *TssKeyProcessEntry) Unmarshal(dAtA []byte) error

func (*TssKeyProcessEntry) XXX_DiscardUnknown added in v0.0.23

func (m *TssKeyProcessEntry) XXX_DiscardUnknown()

func (*TssKeyProcessEntry) XXX_Marshal added in v0.0.23

func (m *TssKeyProcessEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TssKeyProcessEntry) XXX_Merge added in v0.0.23

func (m *TssKeyProcessEntry) XXX_Merge(src proto.Message)

func (*TssKeyProcessEntry) XXX_Size added in v0.0.23

func (m *TssKeyProcessEntry) XXX_Size() int

func (*TssKeyProcessEntry) XXX_Unmarshal added in v0.0.23

func (m *TssKeyProcessEntry) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (TssKeyProcessStatus) String

func (x TssKeyProcessStatus) String() string

type TssProcessInitiatedEvent

type TssProcessInitiatedEvent struct {
	ProcessID    uint64   `json:"process_id"`
	ProcessType  string   `json:"process_type"`
	Participants []string `json:"participants"`
	ExpiryHeight int64    `json:"expiry_height"`
}

TssProcessInitiatedEvent represents the emitted event when a new TSS key process starts.

func (TssProcessInitiatedEvent) String

func (e TssProcessInitiatedEvent) String() string

String returns a readable log for CLI.

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) EnumDescriptor

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

func (TssProcessType) String

func (x TssProcessType) String() string

type UValidatorKeeper

type UValidatorKeeper interface {
	IsTombstonedUniversalValidator(ctx context.Context, universalValidator string) (bool, error)
	IsBondedUniversalValidator(ctx context.Context, universalValidator string) (bool, error)
	VoteOnBallot(
		ctx context.Context,
		id string,
		ballotType uvalidatortypes.BallotObservationType,
		voter string,
		voteResult uvalidatortypes.VoteResult,
		voters []string,
		votesNeeded int64,
		expiryAfterBlocks int64,
	) (
		ballot uvalidatortypes.Ballot,
		isFinalized bool,
		isNew bool,
		err error)
	GetEligibleVoters(ctx context.Context) ([]uvalidatortypes.UniversalValidator, error)
	GetAllUniversalValidators(ctx context.Context) ([]uvalidatortypes.UniversalValidator, error)
	UpdateValidatorStatus(ctx context.Context, addr sdk.ValAddress, newStatus uvalidatortypes.UVStatus) error
}

Uvalidator keeper

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) InitiateTssKeyProcess

func (*UnimplementedMsgServer) UpdateParams

func (*UnimplementedMsgServer) VoteTssKeyProcess

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AllKeys

func (*UnimplementedQueryServer) AllPendingTssEvents added in v0.0.23

func (*UnimplementedQueryServer) AllProcesses

func (*UnimplementedQueryServer) AllTssEvents added in v0.0.23

func (*UnimplementedQueryServer) CurrentKey

func (*UnimplementedQueryServer) CurrentProcess

func (*UnimplementedQueryServer) GetPendingTssEvent added in v0.0.23

func (*UnimplementedQueryServer) GetTssEvent added in v0.0.23

func (*UnimplementedQueryServer) KeyById

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) ProcessById

Jump to

Keyboard shortcuts

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