tssv1beta1

package
v3.0.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: GPL-3.0 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.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

View Source
const (
	Query_Counts_FullMethodName          = "/band.tss.v1beta1.Query/Counts"
	Query_Groups_FullMethodName          = "/band.tss.v1beta1.Query/Groups"
	Query_Group_FullMethodName           = "/band.tss.v1beta1.Query/Group"
	Query_Members_FullMethodName         = "/band.tss.v1beta1.Query/Members"
	Query_IsGrantee_FullMethodName       = "/band.tss.v1beta1.Query/IsGrantee"
	Query_DE_FullMethodName              = "/band.tss.v1beta1.Query/DE"
	Query_PendingGroups_FullMethodName   = "/band.tss.v1beta1.Query/PendingGroups"
	Query_PendingSignings_FullMethodName = "/band.tss.v1beta1.Query/PendingSignings"
	Query_Signing_FullMethodName         = "/band.tss.v1beta1.Query/Signing"
	Query_Signings_FullMethodName        = "/band.tss.v1beta1.Query/Signings"
	Query_Params_FullMethodName          = "/band.tss.v1beta1.Query/Params"
)
View Source
const (
	Msg_SubmitDKGRound1_FullMethodName = "/band.tss.v1beta1.Msg/SubmitDKGRound1"
	Msg_SubmitDKGRound2_FullMethodName = "/band.tss.v1beta1.Msg/SubmitDKGRound2"
	Msg_Complain_FullMethodName        = "/band.tss.v1beta1.Msg/Complain"
	Msg_Confirm_FullMethodName         = "/band.tss.v1beta1.Msg/Confirm"
	Msg_SubmitDEs_FullMethodName       = "/band.tss.v1beta1.Msg/SubmitDEs"
	Msg_ResetDE_FullMethodName         = "/band.tss.v1beta1.Msg/ResetDE"
	Msg_SubmitSignature_FullMethodName = "/band.tss.v1beta1.Msg/SubmitSignature"
	Msg_UpdateParams_FullMethodName    = "/band.tss.v1beta1.Msg/UpdateParams"
)

Variables

View Source
var (
	SigningStatus_name = map[int32]string{
		0: "SIGNING_STATUS_UNSPECIFIED",
		1: "SIGNING_STATUS_WAITING",
		2: "SIGNING_STATUS_SUCCESS",
		3: "SIGNING_STATUS_FALLEN",
	}
	SigningStatus_value = map[string]int32{
		"SIGNING_STATUS_UNSPECIFIED": 0,
		"SIGNING_STATUS_WAITING":     1,
		"SIGNING_STATUS_SUCCESS":     2,
		"SIGNING_STATUS_FALLEN":      3,
	}
)

Enum value maps for SigningStatus.

View Source
var (
	GroupStatus_name = map[int32]string{
		0: "GROUP_STATUS_UNSPECIFIED",
		1: "GROUP_STATUS_ROUND_1",
		2: "GROUP_STATUS_ROUND_2",
		3: "GROUP_STATUS_ROUND_3",
		4: "GROUP_STATUS_ACTIVE",
		5: "GROUP_STATUS_EXPIRED",
		6: "GROUP_STATUS_FALLEN",
	}
	GroupStatus_value = map[string]int32{
		"GROUP_STATUS_UNSPECIFIED": 0,
		"GROUP_STATUS_ROUND_1":     1,
		"GROUP_STATUS_ROUND_2":     2,
		"GROUP_STATUS_ROUND_3":     3,
		"GROUP_STATUS_ACTIVE":      4,
		"GROUP_STATUS_EXPIRED":     5,
		"GROUP_STATUS_FALLEN":      6,
	}
)

Enum value maps for GroupStatus.

View Source
var (
	ComplaintStatus_name = map[int32]string{
		0: "COMPLAINT_STATUS_UNSPECIFIED",
		1: "COMPLAINT_STATUS_SUCCESS",
		2: "COMPLAINT_STATUS_FAILED",
	}
	ComplaintStatus_value = map[string]int32{
		"COMPLAINT_STATUS_UNSPECIFIED": 0,
		"COMPLAINT_STATUS_SUCCESS":     1,
		"COMPLAINT_STATUS_FAILED":      2,
	}
)

Enum value maps for ComplaintStatus.

View Source
var File_band_tss_v1beta1_genesis_proto protoreflect.FileDescriptor
View Source
var File_band_tss_v1beta1_originator_proto protoreflect.FileDescriptor
View Source
var File_band_tss_v1beta1_query_proto protoreflect.FileDescriptor
View Source
var File_band_tss_v1beta1_tss_proto protoreflect.FileDescriptor
View Source
var File_band_tss_v1beta1_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "band.tss.v1beta1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SubmitDKGRound1",
			Handler:    _Msg_SubmitDKGRound1_Handler,
		},
		{
			MethodName: "SubmitDKGRound2",
			Handler:    _Msg_SubmitDKGRound2_Handler,
		},
		{
			MethodName: "Complain",
			Handler:    _Msg_Complain_Handler,
		},
		{
			MethodName: "Confirm",
			Handler:    _Msg_Confirm_Handler,
		},
		{
			MethodName: "SubmitDEs",
			Handler:    _Msg_SubmitDEs_Handler,
		},
		{
			MethodName: "ResetDE",
			Handler:    _Msg_ResetDE_Handler,
		},
		{
			MethodName: "SubmitSignature",
			Handler:    _Msg_SubmitSignature_Handler,
		},
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "band/tss/v1beta1/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: "band.tss.v1beta1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Counts",
			Handler:    _Query_Counts_Handler,
		},
		{
			MethodName: "Groups",
			Handler:    _Query_Groups_Handler,
		},
		{
			MethodName: "Group",
			Handler:    _Query_Group_Handler,
		},
		{
			MethodName: "Members",
			Handler:    _Query_Members_Handler,
		},
		{
			MethodName: "IsGrantee",
			Handler:    _Query_IsGrantee_Handler,
		},
		{
			MethodName: "DE",
			Handler:    _Query_DE_Handler,
		},
		{
			MethodName: "PendingGroups",
			Handler:    _Query_PendingGroups_Handler,
		},
		{
			MethodName: "PendingSignings",
			Handler:    _Query_PendingSignings_Handler,
		},
		{
			MethodName: "Signing",
			Handler:    _Query_Signing_Handler,
		},
		{
			MethodName: "Signings",
			Handler:    _Query_Signings_Handler,
		},
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "band/tss/v1beta1/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 AssignedMember

type AssignedMember struct {

	// member_id is the unique identifier of the member.
	MemberId uint64 `protobuf:"varint,1,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"`
	// member is the human-readable name of the member.
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// pub_key is the public part of a member.
	PubKey []byte `protobuf:"bytes,3,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	// pub_d is the public part of a member's decryption key.
	PubD []byte `protobuf:"bytes,4,opt,name=pub_d,json=pubD,proto3" json:"pub_d,omitempty"`
	// pub_e is the public part of a member's encryption key.
	PubE []byte `protobuf:"bytes,5,opt,name=pub_e,json=pubE,proto3" json:"pub_e,omitempty"`
	// binding_factor is the binding factor of the member for the signing process.
	BindingFactor []byte `protobuf:"bytes,6,opt,name=binding_factor,json=bindingFactor,proto3" json:"binding_factor,omitempty"`
	// pub_nonce is the public nonce of the member for the signing process.
	PubNonce []byte `protobuf:"bytes,7,opt,name=pub_nonce,json=pubNonce,proto3" json:"pub_nonce,omitempty"`
	// contains filtered or unexported fields
}

AssignedMember is a type representing a member that has been assigned to a signing process.

func (*AssignedMember) Descriptor deprecated

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

Deprecated: Use AssignedMember.ProtoReflect.Descriptor instead.

func (*AssignedMember) GetAddress

func (x *AssignedMember) GetAddress() string

func (*AssignedMember) GetBindingFactor

func (x *AssignedMember) GetBindingFactor() []byte

func (*AssignedMember) GetMemberId

func (x *AssignedMember) GetMemberId() uint64

func (*AssignedMember) GetPubD

func (x *AssignedMember) GetPubD() []byte

func (*AssignedMember) GetPubE

func (x *AssignedMember) GetPubE() []byte

func (*AssignedMember) GetPubKey

func (x *AssignedMember) GetPubKey() []byte

func (*AssignedMember) GetPubNonce

func (x *AssignedMember) GetPubNonce() []byte

func (*AssignedMember) ProtoMessage

func (*AssignedMember) ProtoMessage()

func (*AssignedMember) ProtoReflect

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

func (*AssignedMember) Reset

func (x *AssignedMember) Reset()

func (*AssignedMember) String

func (x *AssignedMember) String() string

type Complaint

type Complaint struct {

	// complainant is the member issuing the complaint.
	Complainant uint64 `protobuf:"varint,1,opt,name=complainant,proto3" json:"complainant,omitempty"`
	// respondent is the member against whom the complaint is issued.
	Respondent uint64 `protobuf:"varint,2,opt,name=respondent,proto3" json:"respondent,omitempty"`
	// key_sym is a symmetric key between respondent's private key and respondent's public key.
	KeySym []byte `protobuf:"bytes,3,opt,name=key_sym,json=keySym,proto3" json:"key_sym,omitempty"`
	// signature is the complaint signature that can do a symmetric key validation and complaint verification.
	Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

Complaint is a message type used to issue a complaint against a member.

func (*Complaint) Descriptor deprecated

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

Deprecated: Use Complaint.ProtoReflect.Descriptor instead.

func (*Complaint) GetComplainant

func (x *Complaint) GetComplainant() uint64

func (*Complaint) GetKeySym

func (x *Complaint) GetKeySym() []byte

func (*Complaint) GetRespondent

func (x *Complaint) GetRespondent() uint64

func (*Complaint) GetSignature

func (x *Complaint) GetSignature() []byte

func (*Complaint) ProtoMessage

func (*Complaint) ProtoMessage()

func (*Complaint) ProtoReflect

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

func (*Complaint) Reset

func (x *Complaint) Reset()

func (*Complaint) String

func (x *Complaint) String() string

type ComplaintStatus

type ComplaintStatus int32

ComplaintStatus represents the status of a complaint.

const (
	// COMPLAINT_STATUS_UNSPECIFIED represents an undefined status of the complaint.
	ComplaintStatus_COMPLAINT_STATUS_UNSPECIFIED ComplaintStatus = 0
	// COMPLAINT_STATUS_SUCCESS represents a successful complaint.
	ComplaintStatus_COMPLAINT_STATUS_SUCCESS ComplaintStatus = 1
	// COMPLAINT_STATUS_FAILED represents a failed complaint.
	ComplaintStatus_COMPLAINT_STATUS_FAILED ComplaintStatus = 2
)

func (ComplaintStatus) Descriptor

func (ComplaintStatus) Enum

func (x ComplaintStatus) Enum() *ComplaintStatus

func (ComplaintStatus) EnumDescriptor deprecated

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

Deprecated: Use ComplaintStatus.Descriptor instead.

func (ComplaintStatus) Number

func (ComplaintStatus) String

func (x ComplaintStatus) String() string

func (ComplaintStatus) Type

type ComplaintWithStatus

type ComplaintWithStatus struct {

	// complaint is the information about the complaint.
	Complaint *Complaint `protobuf:"bytes,1,opt,name=complaint,proto3" json:"complaint,omitempty"`
	// complaint_status is the status of the complaint.
	ComplaintStatus ComplaintStatus `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

ComplaintWithStatus contains information about a complaint with its status.

func (*ComplaintWithStatus) Descriptor deprecated

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

Deprecated: Use ComplaintWithStatus.ProtoReflect.Descriptor instead.

func (*ComplaintWithStatus) GetComplaint

func (x *ComplaintWithStatus) GetComplaint() *Complaint

func (*ComplaintWithStatus) GetComplaintStatus

func (x *ComplaintWithStatus) GetComplaintStatus() ComplaintStatus

func (*ComplaintWithStatus) ProtoMessage

func (*ComplaintWithStatus) ProtoMessage()

func (*ComplaintWithStatus) ProtoReflect

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

func (*ComplaintWithStatus) Reset

func (x *ComplaintWithStatus) Reset()

func (*ComplaintWithStatus) String

func (x *ComplaintWithStatus) String() string

type ComplaintsWithStatus

type ComplaintsWithStatus struct {

	// member_id is the identifier of the member filing the complaints.
	MemberId uint64 `protobuf:"varint,1,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"`
	// complaints_with_status is the list of complaints with their status from this member.
	ComplaintsWithStatus []*ComplaintWithStatus `protobuf:"bytes,2,rep,name=complaints_with_status,json=complaintsWithStatus,proto3" json:"complaints_with_status,omitempty"`
	// contains filtered or unexported fields
}

ComplaintsWithStatus contains information about multiple complaints and their status from a single member.

func (*ComplaintsWithStatus) Descriptor deprecated

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

Deprecated: Use ComplaintsWithStatus.ProtoReflect.Descriptor instead.

func (*ComplaintsWithStatus) GetComplaintsWithStatus

func (x *ComplaintsWithStatus) GetComplaintsWithStatus() []*ComplaintWithStatus

func (*ComplaintsWithStatus) GetMemberId

func (x *ComplaintsWithStatus) GetMemberId() uint64

func (*ComplaintsWithStatus) ProtoMessage

func (*ComplaintsWithStatus) ProtoMessage()

func (*ComplaintsWithStatus) ProtoReflect

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

func (*ComplaintsWithStatus) Reset

func (x *ComplaintsWithStatus) Reset()

func (*ComplaintsWithStatus) String

func (x *ComplaintsWithStatus) String() string

type Confirm

type Confirm struct {

	// member_id is the unique identifier of a group member.
	MemberId uint64 `protobuf:"varint,1,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"`
	// own_pub_key_sig is a signature over the member's own public key.
	OwnPubKeySig []byte `protobuf:"bytes,2,opt,name=own_pub_key_sig,json=ownPubKeySig,proto3" json:"own_pub_key_sig,omitempty"`
	// contains filtered or unexported fields
}

Confirm is a message type used to confirm participation in the protocol.

func (*Confirm) Descriptor deprecated

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

Deprecated: Use Confirm.ProtoReflect.Descriptor instead.

func (*Confirm) GetMemberId

func (x *Confirm) GetMemberId() uint64

func (*Confirm) GetOwnPubKeySig

func (x *Confirm) GetOwnPubKeySig() []byte

func (*Confirm) ProtoMessage

func (*Confirm) ProtoMessage()

func (*Confirm) ProtoReflect

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

func (*Confirm) Reset

func (x *Confirm) Reset()

func (*Confirm) String

func (x *Confirm) String() string

type DE

type DE struct {

	// pub_d is the public value of own commitment (D).
	PubD []byte `protobuf:"bytes,1,opt,name=pub_d,json=pubD,proto3" json:"pub_d,omitempty"`
	// pub_e is the public value of own commitment (E).
	PubE []byte `protobuf:"bytes,2,opt,name=pub_e,json=pubE,proto3" json:"pub_e,omitempty"`
	// contains filtered or unexported fields
}

DE contains the public parts of a member's decryption and encryption keys.

func (*DE) Descriptor deprecated

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

Deprecated: Use DE.ProtoReflect.Descriptor instead.

func (*DE) GetPubD

func (x *DE) GetPubD() []byte

func (*DE) GetPubE

func (x *DE) GetPubE() []byte

func (*DE) ProtoMessage

func (*DE) ProtoMessage()

func (*DE) ProtoReflect

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

func (*DE) Reset

func (x *DE) Reset()

func (*DE) String

func (x *DE) String() string

type DEGenesis

type DEGenesis struct {

	// address is the address of the de holder.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// de defines the difference de this balance holds.
	De *DE `protobuf:"bytes,2,opt,name=de,proto3" json:"de,omitempty"`
	// contains filtered or unexported fields
}

DEGenesis defines an account address and de pair used in the tss module's genesis state.

func (*DEGenesis) Descriptor deprecated

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

Deprecated: Use DEGenesis.ProtoReflect.Descriptor instead.

func (*DEGenesis) GetAddress

func (x *DEGenesis) GetAddress() string

func (*DEGenesis) GetDe

func (x *DEGenesis) GetDe() *DE

func (*DEGenesis) ProtoMessage

func (*DEGenesis) ProtoMessage()

func (*DEGenesis) ProtoReflect

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

func (*DEGenesis) Reset

func (x *DEGenesis) Reset()

func (*DEGenesis) String

func (x *DEGenesis) String() string

type DEQueue

type DEQueue struct {

	// head is the current index of the first element in the queue.
	Head uint64 `protobuf:"varint,1,opt,name=head,proto3" json:"head,omitempty"`
	// tail is the current index of the last element in the queue.
	Tail uint64 `protobuf:"varint,2,opt,name=tail,proto3" json:"tail,omitempty"`
	// contains filtered or unexported fields
}

DEQueue is a simple queue data structure contains index of existing DE objects of each member.

func (*DEQueue) Descriptor deprecated

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

Deprecated: Use DEQueue.ProtoReflect.Descriptor instead.

func (*DEQueue) GetHead

func (x *DEQueue) GetHead() uint64

func (*DEQueue) GetTail

func (x *DEQueue) GetTail() uint64

func (*DEQueue) ProtoMessage

func (*DEQueue) ProtoMessage()

func (*DEQueue) ProtoReflect

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

func (*DEQueue) Reset

func (x *DEQueue) Reset()

func (*DEQueue) String

func (x *DEQueue) String() string

type DirectOriginator

type DirectOriginator struct {

	// source_chain_id is the source chain ID that the data is originated from.
	SourceChainId string `protobuf:"bytes,1,opt,name=source_chain_id,json=sourceChainId,proto3" json:"source_chain_id,omitempty"`
	// requester is the address of the requester, it can be the user address or module address.
	Requester string `protobuf:"bytes,2,opt,name=requester,proto3" json:"requester,omitempty"`
	// memo is the note of the message.
	Memo string `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo,omitempty"`
	// contains filtered or unexported fields
}

DirectOriginator is a message originator defines an information of the requester on direct TSS request.

func (*DirectOriginator) Descriptor deprecated

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

Deprecated: Use DirectOriginator.ProtoReflect.Descriptor instead.

func (*DirectOriginator) GetMemo

func (x *DirectOriginator) GetMemo() string

func (*DirectOriginator) GetRequester

func (x *DirectOriginator) GetRequester() string

func (*DirectOriginator) GetSourceChainId

func (x *DirectOriginator) GetSourceChainId() string

func (*DirectOriginator) ProtoMessage

func (*DirectOriginator) ProtoMessage()

func (*DirectOriginator) ProtoReflect

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

func (*DirectOriginator) Reset

func (x *DirectOriginator) Reset()

func (*DirectOriginator) String

func (x *DirectOriginator) String() string

type EVMSignature

type EVMSignature struct {

	// r_address is the address of the nonce for using in the contract.
	RAddress []byte `protobuf:"bytes,1,opt,name=r_address,json=rAddress,proto3" json:"r_address,omitempty"`
	// signature is the signature part for using in the contract.
	Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

EVMSignature defines a signature in the EVM format.

func (*EVMSignature) Descriptor deprecated

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

Deprecated: Use EVMSignature.ProtoReflect.Descriptor instead.

func (*EVMSignature) GetRAddress

func (x *EVMSignature) GetRAddress() []byte

func (*EVMSignature) GetSignature

func (x *EVMSignature) GetSignature() []byte

func (*EVMSignature) ProtoMessage

func (*EVMSignature) ProtoMessage()

func (*EVMSignature) ProtoReflect

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

func (*EVMSignature) Reset

func (x *EVMSignature) Reset()

func (*EVMSignature) String

func (x *EVMSignature) String() string

type GenesisState

type GenesisState struct {

	// params defines all the paramiters of the module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// groups is an array containing information about each group.
	Groups []*Group `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"`
	// members is an array containing information about each member of groups.
	Members []*Member `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"`
	// des is an array containing the des of all the addressres.
	Des []*DEGenesis `protobuf:"bytes,4,rep,name=des,proto3" json:"des,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the tss module's genesis state.

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetDes

func (x *GenesisState) GetDes() []*DEGenesis

func (*GenesisState) GetGroups

func (x *GenesisState) GetGroups() []*Group

func (*GenesisState) GetMembers

func (x *GenesisState) GetMembers() []*Member

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 Group

type Group struct {

	// id is the unique identifier of the group.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// size is the number of members in the group.
	Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	// threshold is the minimum number of members needed to generate a valid signature.
	Threshold uint64 `protobuf:"varint,3,opt,name=threshold,proto3" json:"threshold,omitempty"`
	// pub_key is the public key generated by the group after successful completion of the DKG process.
	PubKey []byte `protobuf:"bytes,4,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	// status represents the current stage of the group in the DKG or signing process.
	Status GroupStatus `protobuf:"varint,5,opt,name=status,proto3,enum=band.tss.v1beta1.GroupStatus" json:"status,omitempty"`
	// created_height is the block height when the group was created.
	CreatedHeight uint64 `protobuf:"varint,6,opt,name=created_height,json=createdHeight,proto3" json:"created_height,omitempty"`
	// module_owner is the module that creates this group.
	ModuleOwner string `protobuf:"bytes,7,opt,name=module_owner,json=moduleOwner,proto3" json:"module_owner,omitempty"`
	// contains filtered or unexported fields
}

Group is a type representing a participant group in a Distributed Key Generation or signing process.

func (*Group) Descriptor deprecated

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetCreatedHeight

func (x *Group) GetCreatedHeight() uint64

func (*Group) GetId

func (x *Group) GetId() uint64

func (*Group) GetModuleOwner

func (x *Group) GetModuleOwner() string

func (*Group) GetPubKey

func (x *Group) GetPubKey() []byte

func (*Group) GetSize

func (x *Group) GetSize() uint64

func (*Group) GetStatus

func (x *Group) GetStatus() GroupStatus

func (*Group) GetThreshold

func (x *Group) GetThreshold() uint64

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

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

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

type GroupResult

type GroupResult struct {

	// group defines the group object containing group information.
	Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	// dkg_context defines the DKG context data.
	DkgContext []byte `protobuf:"bytes,2,opt,name=dkg_context,json=dkgContext,proto3" json:"dkg_context,omitempty"`
	// members is the list of members in the group.
	Members []*Member `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"`
	// round1_infos is the list of Round 1 information.
	Round1Infos []*Round1Info `protobuf:"bytes,4,rep,name=round1_infos,json=round1Infos,proto3" json:"round1_infos,omitempty"`
	// round2_infos is the list of Round 2 information.
	Round2Infos []*Round2Info `protobuf:"bytes,5,rep,name=round2_infos,json=round2Infos,proto3" json:"round2_infos,omitempty"`
	// complaints_with_status is the list of complaints with status.
	ComplaintsWithStatus []*ComplaintsWithStatus `protobuf:"bytes,6,rep,name=complaints_with_status,json=complaintsWithStatus,proto3" json:"complaints_with_status,omitempty"`
	// confirms is the list of confirms.
	Confirms []*Confirm `protobuf:"bytes,7,rep,name=confirms,proto3" json:"confirms,omitempty"`
	// contains filtered or unexported fields
}

GroupResult is a tss group result from querying tss group information.

func (*GroupResult) Descriptor deprecated

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

Deprecated: Use GroupResult.ProtoReflect.Descriptor instead.

func (*GroupResult) GetComplaintsWithStatus

func (x *GroupResult) GetComplaintsWithStatus() []*ComplaintsWithStatus

func (*GroupResult) GetConfirms

func (x *GroupResult) GetConfirms() []*Confirm

func (*GroupResult) GetDkgContext

func (x *GroupResult) GetDkgContext() []byte

func (*GroupResult) GetGroup

func (x *GroupResult) GetGroup() *Group

func (*GroupResult) GetMembers

func (x *GroupResult) GetMembers() []*Member

func (*GroupResult) GetRound1Infos

func (x *GroupResult) GetRound1Infos() []*Round1Info

func (*GroupResult) GetRound2Infos

func (x *GroupResult) GetRound2Infos() []*Round2Info

func (*GroupResult) ProtoMessage

func (*GroupResult) ProtoMessage()

func (*GroupResult) ProtoReflect

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

func (*GroupResult) Reset

func (x *GroupResult) Reset()

func (*GroupResult) String

func (x *GroupResult) String() string

type GroupStatus

type GroupStatus int32

GroupStatus is an enumeration of the possible statuses of a group.

const (
	// GROUP_STATUS_UNSPECIFIED is the status of a group that has not been specified.
	GroupStatus_GROUP_STATUS_UNSPECIFIED GroupStatus = 0
	// GROUP_STATUS_ROUND_1 is the status of a group that is in the first round of the protocol.
	GroupStatus_GROUP_STATUS_ROUND_1 GroupStatus = 1
	// GROUP_STATUS_ROUND_2 is the status of a group that is in the second round of the protocol.
	GroupStatus_GROUP_STATUS_ROUND_2 GroupStatus = 2
	// GROUP_STATUS_ROUND_3 is the status of a group that is in the third round of the protocol.
	GroupStatus_GROUP_STATUS_ROUND_3 GroupStatus = 3
	// GROUP_STATUS_ACTIVE is the status of a group that is actively participating in the protocol.
	GroupStatus_GROUP_STATUS_ACTIVE GroupStatus = 4
	// GROUP_STATUS_EXPIRED is the status of a group that has expired in the protocol.
	GroupStatus_GROUP_STATUS_EXPIRED GroupStatus = 5
	// GROUP_STATUS_FALLEN is the status of a group that has fallen out of the protocol.
	GroupStatus_GROUP_STATUS_FALLEN GroupStatus = 6
)

func (GroupStatus) Descriptor

func (GroupStatus) Enum

func (x GroupStatus) Enum() *GroupStatus

func (GroupStatus) EnumDescriptor deprecated

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

Deprecated: Use GroupStatus.Descriptor instead.

func (GroupStatus) Number

func (x GroupStatus) Number() protoreflect.EnumNumber

func (GroupStatus) String

func (x GroupStatus) String() string

func (GroupStatus) Type

type Member

type Member struct {

	// id is the unique identifier of a member.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// group_id is the group id of this member.
	GroupId uint64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// address is the address of the member.
	Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	// pub_key is the public key of the member.
	PubKey []byte `protobuf:"bytes,4,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	// is_malicious is a boolean flag indicating whether the member is considered malicious.
	IsMalicious bool `protobuf:"varint,5,opt,name=is_malicious,json=isMalicious,proto3" json:"is_malicious,omitempty"`
	// is_active is a boolean flag indicating whether the member is currently active in the protocol.
	IsActive bool `protobuf:"varint,6,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
	// contains filtered or unexported fields
}

Member is a type representing a member of the group.

func (*Member) Descriptor deprecated

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

Deprecated: Use Member.ProtoReflect.Descriptor instead.

func (*Member) GetAddress

func (x *Member) GetAddress() string

func (*Member) GetGroupId

func (x *Member) GetGroupId() uint64

func (*Member) GetId

func (x *Member) GetId() uint64

func (*Member) GetIsActive

func (x *Member) GetIsActive() bool

func (*Member) GetIsMalicious

func (x *Member) GetIsMalicious() bool

func (*Member) GetPubKey

func (x *Member) GetPubKey() []byte

func (*Member) ProtoMessage

func (*Member) ProtoMessage()

func (*Member) ProtoReflect

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

func (*Member) Reset

func (x *Member) Reset()

func (*Member) String

func (x *Member) String() string

type MsgClient

type MsgClient interface {
	// SubmitDKGRound1 submits dkg for computing round 1.
	SubmitDKGRound1(ctx context.Context, in *MsgSubmitDKGRound1, opts ...grpc.CallOption) (*MsgSubmitDKGRound1Response, error)
	// SubmitDKGRound2 submits dkg for computing round 2.
	SubmitDKGRound2(ctx context.Context, in *MsgSubmitDKGRound2, opts ...grpc.CallOption) (*MsgSubmitDKGRound2Response, error)
	// Complain submits proof for complaining malicious.
	Complain(ctx context.Context, in *MsgComplain, opts ...grpc.CallOption) (*MsgComplainResponse, error)
	// Confirm submits own signature for proof that it can derive the secret.
	Confirm(ctx context.Context, in *MsgConfirm, opts ...grpc.CallOption) (*MsgConfirmResponse, error)
	// SubmitDEs submits list of pre-commits DE for signing process.
	SubmitDEs(ctx context.Context, in *MsgSubmitDEs, opts ...grpc.CallOption) (*MsgSubmitDEsResponse, error)
	// ResetDE resets the submitted DEs that being stored on chain.
	ResetDE(ctx context.Context, in *MsgResetDE, opts ...grpc.CallOption) (*MsgResetDEResponse, error)
	// SubmitSignature submits signature on task participant need to do.
	SubmitSignature(ctx context.Context, in *MsgSubmitSignature, opts ...grpc.CallOption) (*MsgSubmitSignatureResponse, error)
	// UpdateParams defines a governance operation for updating the x/tss module
	// parameters.
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
}

MsgClient is the client API for Msg service.

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

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgComplain

type MsgComplain struct {

	// group_id is ID of the group.
	GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// complaints is a list of complaints.
	Complaints []*Complaint `protobuf:"bytes,2,rep,name=complaints,proto3" json:"complaints,omitempty"`
	// sender is the user address that submits the group creation information;
	// must be a member of this group.
	Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	// contains filtered or unexported fields
}

MsgComplain is a message used to complain about malicious actors in the group.

func (*MsgComplain) Descriptor deprecated

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

Deprecated: Use MsgComplain.ProtoReflect.Descriptor instead.

func (*MsgComplain) GetComplaints

func (x *MsgComplain) GetComplaints() []*Complaint

func (*MsgComplain) GetGroupId

func (x *MsgComplain) GetGroupId() uint64

func (*MsgComplain) GetSender

func (x *MsgComplain) GetSender() string

func (*MsgComplain) ProtoMessage

func (*MsgComplain) ProtoMessage()

func (*MsgComplain) ProtoReflect

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

func (*MsgComplain) Reset

func (x *MsgComplain) Reset()

func (*MsgComplain) String

func (x *MsgComplain) String() string

type MsgComplainResponse

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

MsgComplainResponse is response data for MsgComplain message

func (*MsgComplainResponse) Descriptor deprecated

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

Deprecated: Use MsgComplainResponse.ProtoReflect.Descriptor instead.

func (*MsgComplainResponse) ProtoMessage

func (*MsgComplainResponse) ProtoMessage()

func (*MsgComplainResponse) ProtoReflect

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

func (*MsgComplainResponse) Reset

func (x *MsgComplainResponse) Reset()

func (*MsgComplainResponse) String

func (x *MsgComplainResponse) String() string

type MsgConfirm

type MsgConfirm struct {

	// group_id is ID of the group.
	GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// member_id is ID of the sender.
	MemberId uint64 `protobuf:"varint,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"`
	// own_pub_key_sig is a signature of the member_i on its own PubKey to confirm
	// that the address is able to derive the PubKey.
	OwnPubKeySig []byte `protobuf:"bytes,3,opt,name=own_pub_key_sig,json=ownPubKeySig,proto3" json:"own_pub_key_sig,omitempty"`
	// sender is the user address that submits the group creation information;
	// must be a member of this group.
	Sender string `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"`
	// contains filtered or unexported fields
}

MsgConfirm is a message used to confirm own public key.

func (*MsgConfirm) Descriptor deprecated

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

Deprecated: Use MsgConfirm.ProtoReflect.Descriptor instead.

func (*MsgConfirm) GetGroupId

func (x *MsgConfirm) GetGroupId() uint64

func (*MsgConfirm) GetMemberId

func (x *MsgConfirm) GetMemberId() uint64

func (*MsgConfirm) GetOwnPubKeySig

func (x *MsgConfirm) GetOwnPubKeySig() []byte

func (*MsgConfirm) GetSender

func (x *MsgConfirm) GetSender() string

func (*MsgConfirm) ProtoMessage

func (*MsgConfirm) ProtoMessage()

func (*MsgConfirm) ProtoReflect

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

func (*MsgConfirm) Reset

func (x *MsgConfirm) Reset()

func (*MsgConfirm) String

func (x *MsgConfirm) String() string

type MsgConfirmResponse

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

MsgConfirmResponse is response data for MsgConfirm message

func (*MsgConfirmResponse) Descriptor deprecated

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

Deprecated: Use MsgConfirmResponse.ProtoReflect.Descriptor instead.

func (*MsgConfirmResponse) ProtoMessage

func (*MsgConfirmResponse) ProtoMessage()

func (*MsgConfirmResponse) ProtoReflect

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

func (*MsgConfirmResponse) Reset

func (x *MsgConfirmResponse) Reset()

func (*MsgConfirmResponse) String

func (x *MsgConfirmResponse) String() string

type MsgResetDE

type MsgResetDE struct {

	// sender is the user address that request for resetting DEs.
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// contains filtered or unexported fields
}

MsgResetDE is a message used to reset the DEs that being stored on chain.

func (*MsgResetDE) Descriptor deprecated

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

Deprecated: Use MsgResetDE.ProtoReflect.Descriptor instead.

func (*MsgResetDE) GetSender

func (x *MsgResetDE) GetSender() string

func (*MsgResetDE) ProtoMessage

func (*MsgResetDE) ProtoMessage()

func (*MsgResetDE) ProtoReflect

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

func (*MsgResetDE) Reset

func (x *MsgResetDE) Reset()

func (*MsgResetDE) String

func (x *MsgResetDE) String() string

type MsgResetDEResponse

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

MsgResetDEResponse is response data for MsgResetDE message

func (*MsgResetDEResponse) Descriptor deprecated

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

Deprecated: Use MsgResetDEResponse.ProtoReflect.Descriptor instead.

func (*MsgResetDEResponse) ProtoMessage

func (*MsgResetDEResponse) ProtoMessage()

func (*MsgResetDEResponse) ProtoReflect

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

func (*MsgResetDEResponse) Reset

func (x *MsgResetDEResponse) Reset()

func (*MsgResetDEResponse) String

func (x *MsgResetDEResponse) String() string

type MsgServer

type MsgServer interface {
	// SubmitDKGRound1 submits dkg for computing round 1.
	SubmitDKGRound1(context.Context, *MsgSubmitDKGRound1) (*MsgSubmitDKGRound1Response, error)
	// SubmitDKGRound2 submits dkg for computing round 2.
	SubmitDKGRound2(context.Context, *MsgSubmitDKGRound2) (*MsgSubmitDKGRound2Response, error)
	// Complain submits proof for complaining malicious.
	Complain(context.Context, *MsgComplain) (*MsgComplainResponse, error)
	// Confirm submits own signature for proof that it can derive the secret.
	Confirm(context.Context, *MsgConfirm) (*MsgConfirmResponse, error)
	// SubmitDEs submits list of pre-commits DE for signing process.
	SubmitDEs(context.Context, *MsgSubmitDEs) (*MsgSubmitDEsResponse, error)
	// ResetDE resets the submitted DEs that being stored on chain.
	ResetDE(context.Context, *MsgResetDE) (*MsgResetDEResponse, error)
	// SubmitSignature submits signature on task participant need to do.
	SubmitSignature(context.Context, *MsgSubmitSignature) (*MsgSubmitSignatureResponse, error)
	// UpdateParams defines a governance operation for updating the x/tss module
	// parameters.
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility

type MsgSubmitDEs

type MsgSubmitDEs struct {

	// des is a list of DE objects.
	Des []*DE `protobuf:"bytes,1,rep,name=des,proto3" json:"des,omitempty"`
	// sender is the user address that submits DE objects.
	Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	// contains filtered or unexported fields
}

MsgSubmitDEs is a message used to submit a list of DEs.

func (*MsgSubmitDEs) Descriptor deprecated

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

Deprecated: Use MsgSubmitDEs.ProtoReflect.Descriptor instead.

func (*MsgSubmitDEs) GetDes

func (x *MsgSubmitDEs) GetDes() []*DE

func (*MsgSubmitDEs) GetSender

func (x *MsgSubmitDEs) GetSender() string

func (*MsgSubmitDEs) ProtoMessage

func (*MsgSubmitDEs) ProtoMessage()

func (*MsgSubmitDEs) ProtoReflect

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

func (*MsgSubmitDEs) Reset

func (x *MsgSubmitDEs) Reset()

func (*MsgSubmitDEs) String

func (x *MsgSubmitDEs) String() string

type MsgSubmitDEsResponse

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

MsgSubmitDEsResponse is response data for MsgSubmitDEs message

func (*MsgSubmitDEsResponse) Descriptor deprecated

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

Deprecated: Use MsgSubmitDEsResponse.ProtoReflect.Descriptor instead.

func (*MsgSubmitDEsResponse) ProtoMessage

func (*MsgSubmitDEsResponse) ProtoMessage()

func (*MsgSubmitDEsResponse) ProtoReflect

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

func (*MsgSubmitDEsResponse) Reset

func (x *MsgSubmitDEsResponse) Reset()

func (*MsgSubmitDEsResponse) String

func (x *MsgSubmitDEsResponse) String() string

type MsgSubmitDKGRound1

type MsgSubmitDKGRound1 struct {

	// group_id is ID of the group.
	GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// round1_info is all data that require to handle round 1.
	Round1Info *Round1Info `protobuf:"bytes,2,opt,name=round1_info,json=round1Info,proto3" json:"round1_info,omitempty"`
	// sender is the user address that submits the group creation information;
	// must be a member of this group.
	Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	// contains filtered or unexported fields
}

MsgSubmitDKGRound1 is the Msg/MsgSubmitDKGRound1 request type.

func (*MsgSubmitDKGRound1) Descriptor deprecated

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

Deprecated: Use MsgSubmitDKGRound1.ProtoReflect.Descriptor instead.

func (*MsgSubmitDKGRound1) GetGroupId

func (x *MsgSubmitDKGRound1) GetGroupId() uint64

func (*MsgSubmitDKGRound1) GetRound1Info

func (x *MsgSubmitDKGRound1) GetRound1Info() *Round1Info

func (*MsgSubmitDKGRound1) GetSender

func (x *MsgSubmitDKGRound1) GetSender() string

func (*MsgSubmitDKGRound1) ProtoMessage

func (*MsgSubmitDKGRound1) ProtoMessage()

func (*MsgSubmitDKGRound1) ProtoReflect

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

func (*MsgSubmitDKGRound1) Reset

func (x *MsgSubmitDKGRound1) Reset()

func (*MsgSubmitDKGRound1) String

func (x *MsgSubmitDKGRound1) String() string

type MsgSubmitDKGRound1Response

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

MsgSubmitDKGRound1Response is the Msg/SubmitDKGRound1 response type.

func (*MsgSubmitDKGRound1Response) Descriptor deprecated

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

Deprecated: Use MsgSubmitDKGRound1Response.ProtoReflect.Descriptor instead.

func (*MsgSubmitDKGRound1Response) ProtoMessage

func (*MsgSubmitDKGRound1Response) ProtoMessage()

func (*MsgSubmitDKGRound1Response) ProtoReflect

func (*MsgSubmitDKGRound1Response) Reset

func (x *MsgSubmitDKGRound1Response) Reset()

func (*MsgSubmitDKGRound1Response) String

func (x *MsgSubmitDKGRound1Response) String() string

type MsgSubmitDKGRound2

type MsgSubmitDKGRound2 struct {

	// group_id is ID of the group.
	GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// round2_info is all data that is required to handle round 2.
	Round2Info *Round2Info `protobuf:"bytes,2,opt,name=round2_info,json=round2Info,proto3" json:"round2_info,omitempty"`
	// sender is the user address that submits the group creation information;
	// must be a member of this group.
	Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	// contains filtered or unexported fields
}

MsgSubmitDKGRound2 is the Msg/SubmitDKGRound2 request type.

func (*MsgSubmitDKGRound2) Descriptor deprecated

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

Deprecated: Use MsgSubmitDKGRound2.ProtoReflect.Descriptor instead.

func (*MsgSubmitDKGRound2) GetGroupId

func (x *MsgSubmitDKGRound2) GetGroupId() uint64

func (*MsgSubmitDKGRound2) GetRound2Info

func (x *MsgSubmitDKGRound2) GetRound2Info() *Round2Info

func (*MsgSubmitDKGRound2) GetSender

func (x *MsgSubmitDKGRound2) GetSender() string

func (*MsgSubmitDKGRound2) ProtoMessage

func (*MsgSubmitDKGRound2) ProtoMessage()

func (*MsgSubmitDKGRound2) ProtoReflect

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

func (*MsgSubmitDKGRound2) Reset

func (x *MsgSubmitDKGRound2) Reset()

func (*MsgSubmitDKGRound2) String

func (x *MsgSubmitDKGRound2) String() string

type MsgSubmitDKGRound2Response

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

MsgSubmitDKGRound2Response is response data for MsgSubmitDKGRound2 message

func (*MsgSubmitDKGRound2Response) Descriptor deprecated

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

Deprecated: Use MsgSubmitDKGRound2Response.ProtoReflect.Descriptor instead.

func (*MsgSubmitDKGRound2Response) ProtoMessage

func (*MsgSubmitDKGRound2Response) ProtoMessage()

func (*MsgSubmitDKGRound2Response) ProtoReflect

func (*MsgSubmitDKGRound2Response) Reset

func (x *MsgSubmitDKGRound2Response) Reset()

func (*MsgSubmitDKGRound2Response) String

func (x *MsgSubmitDKGRound2Response) String() string

type MsgSubmitSignature

type MsgSubmitSignature struct {

	// signing_id is the unique identifier of the signing process.
	SigningId uint64 `protobuf:"varint,1,opt,name=signing_id,json=signingId,proto3" json:"signing_id,omitempty"`
	// member_id is the unique identifier of the signer in the group.
	MemberId uint64 `protobuf:"varint,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"`
	// signature is the signature produced by the signer.
	Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	// signer is the address who signs a message; must be a member of the group.
	Signer string `protobuf:"bytes,4,opt,name=signer,proto3" json:"signer,omitempty"`
	// contains filtered or unexported fields
}

MsgSubmitSignature is a message used to submitting signature data.

func (*MsgSubmitSignature) Descriptor deprecated

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

Deprecated: Use MsgSubmitSignature.ProtoReflect.Descriptor instead.

func (*MsgSubmitSignature) GetMemberId

func (x *MsgSubmitSignature) GetMemberId() uint64

func (*MsgSubmitSignature) GetSignature

func (x *MsgSubmitSignature) GetSignature() []byte

func (*MsgSubmitSignature) GetSigner

func (x *MsgSubmitSignature) GetSigner() string

func (*MsgSubmitSignature) GetSigningId

func (x *MsgSubmitSignature) GetSigningId() uint64

func (*MsgSubmitSignature) ProtoMessage

func (*MsgSubmitSignature) ProtoMessage()

func (*MsgSubmitSignature) ProtoReflect

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

func (*MsgSubmitSignature) Reset

func (x *MsgSubmitSignature) Reset()

func (*MsgSubmitSignature) String

func (x *MsgSubmitSignature) String() string

type MsgSubmitSignatureResponse

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

MsgSubmitSignatureResponse is response data for MsgSubmitSignature message

func (*MsgSubmitSignatureResponse) Descriptor deprecated

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

Deprecated: Use MsgSubmitSignatureResponse.ProtoReflect.Descriptor instead.

func (*MsgSubmitSignatureResponse) ProtoMessage

func (*MsgSubmitSignatureResponse) ProtoMessage()

func (*MsgSubmitSignatureResponse) ProtoReflect

func (*MsgSubmitSignatureResponse) Reset

func (x *MsgSubmitSignatureResponse) Reset()

func (*MsgSubmitSignatureResponse) String

func (x *MsgSubmitSignatureResponse) String() string

type MsgUpdateParams

type MsgUpdateParams struct {

	// params defines the x/tss parameters to update.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateParams is the Msg/UpdateParams request type.

func (*MsgUpdateParams) Descriptor deprecated

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

Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.

func (*MsgUpdateParams) GetAuthority

func (x *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (x *MsgUpdateParams) GetParams() *Params

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) ProtoReflect

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

func (*MsgUpdateParams) Reset

func (x *MsgUpdateParams) Reset()

func (*MsgUpdateParams) String

func (x *MsgUpdateParams) String() string

type MsgUpdateParamsResponse

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

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

func (*MsgUpdateParamsResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) ProtoReflect

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

func (*MsgUpdateParamsResponse) Reset

func (x *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) String

func (x *MsgUpdateParamsResponse) String() string

type Params

type Params struct {

	// max_group_size is the maximum of the member capacity of the group.
	MaxGroupSize uint64 `protobuf:"varint,1,opt,name=max_group_size,json=maxGroupSize,proto3" json:"max_group_size,omitempty"`
	// max_de_size is the maximum of the de capacity of the member.
	MaxDeSize uint64 `protobuf:"varint,2,opt,name=max_de_size,json=maxDeSize,proto3" json:"max_de_size,omitempty"`
	// creation_period is the number of blocks allowed to creating tss group.
	CreationPeriod uint64 `protobuf:"varint,3,opt,name=creation_period,json=creationPeriod,proto3" json:"creation_period,omitempty"`
	// signing_period is the number of blocks allowed to sign.
	SigningPeriod uint64 `protobuf:"varint,4,opt,name=signing_period,json=signingPeriod,proto3" json:"signing_period,omitempty"`
	// max_signing_attempt is the maximum number of signing retry process per signingID.
	MaxSigningAttempt uint64 `protobuf:"varint,5,opt,name=max_signing_attempt,json=maxSigningAttempt,proto3" json:"max_signing_attempt,omitempty"`
	// max_memo_length is the maximum length of the memo in the direct originator.
	MaxMemoLength uint64 `protobuf:"varint,6,opt,name=max_memo_length,json=maxMemoLength,proto3" json:"max_memo_length,omitempty"`
	// max_message_length is the maximum length of the message in the TextSignatureOrder.
	MaxMessageLength uint64 `protobuf:"varint,7,opt,name=max_message_length,json=maxMessageLength,proto3" json:"max_message_length,omitempty"`
	// contains filtered or unexported fields
}

Params defines the set of module parameters.

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetCreationPeriod

func (x *Params) GetCreationPeriod() uint64

func (*Params) GetMaxDeSize

func (x *Params) GetMaxDeSize() uint64

func (*Params) GetMaxGroupSize

func (x *Params) GetMaxGroupSize() uint64

func (*Params) GetMaxMemoLength

func (x *Params) GetMaxMemoLength() uint64

func (*Params) GetMaxMessageLength

func (x *Params) GetMaxMessageLength() uint64

func (*Params) GetMaxSigningAttempt

func (x *Params) GetMaxSigningAttempt() uint64

func (*Params) GetSigningPeriod

func (x *Params) GetSigningPeriod() uint64

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 PartialSignature

type PartialSignature struct {

	// signing_id is the unique identifier of the signing.
	SigningId uint64 `protobuf:"varint,1,opt,name=signing_id,json=signingId,proto3" json:"signing_id,omitempty"`
	// signing_attempt is the number of attempts for this signing.
	SigningAttempt uint64 `protobuf:"varint,2,opt,name=signing_attempt,json=signingAttempt,proto3" json:"signing_attempt,omitempty"`
	// member_id is the identifier of the member providing the partial signature.
	MemberId uint64 `protobuf:"varint,3,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"`
	// signature is the partial signature provided by this member.
	Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

PartialSignature contains information about a member's partial signature.

func (*PartialSignature) Descriptor deprecated

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

Deprecated: Use PartialSignature.ProtoReflect.Descriptor instead.

func (*PartialSignature) GetMemberId

func (x *PartialSignature) GetMemberId() uint64

func (*PartialSignature) GetSignature

func (x *PartialSignature) GetSignature() []byte

func (*PartialSignature) GetSigningAttempt

func (x *PartialSignature) GetSigningAttempt() uint64

func (*PartialSignature) GetSigningId

func (x *PartialSignature) GetSigningId() uint64

func (*PartialSignature) ProtoMessage

func (*PartialSignature) ProtoMessage()

func (*PartialSignature) ProtoReflect

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

func (*PartialSignature) Reset

func (x *PartialSignature) Reset()

func (*PartialSignature) String

func (x *PartialSignature) String() string

type PendingProcessGroups

type PendingProcessGroups struct {

	// group_ids is a list of group IDs.
	GroupIds []uint64 `protobuf:"varint,1,rep,packed,name=group_ids,json=groupIds,proto3" json:"group_ids,omitempty"`
	// contains filtered or unexported fields
}

PendingProcessGroups is a list of groups that are waiting to be processed.

func (*PendingProcessGroups) Descriptor deprecated

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

Deprecated: Use PendingProcessGroups.ProtoReflect.Descriptor instead.

func (*PendingProcessGroups) GetGroupIds

func (x *PendingProcessGroups) GetGroupIds() []uint64

func (*PendingProcessGroups) ProtoMessage

func (*PendingProcessGroups) ProtoMessage()

func (*PendingProcessGroups) ProtoReflect

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

func (*PendingProcessGroups) Reset

func (x *PendingProcessGroups) Reset()

func (*PendingProcessGroups) String

func (x *PendingProcessGroups) String() string

type PendingProcessSignings

type PendingProcessSignings struct {

	// signing_ids is a list of signing IDs.
	SigningIds []uint64 `protobuf:"varint,1,rep,packed,name=signing_ids,json=signingIds,proto3" json:"signing_ids,omitempty"`
	// contains filtered or unexported fields
}

PendingProcessSignigns is a list of signings that are waiting to be processed.

func (*PendingProcessSignings) Descriptor deprecated

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

Deprecated: Use PendingProcessSignings.ProtoReflect.Descriptor instead.

func (*PendingProcessSignings) GetSigningIds

func (x *PendingProcessSignings) GetSigningIds() []uint64

func (*PendingProcessSignings) ProtoMessage

func (*PendingProcessSignings) ProtoMessage()

func (*PendingProcessSignings) ProtoReflect

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

func (*PendingProcessSignings) Reset

func (x *PendingProcessSignings) Reset()

func (*PendingProcessSignings) String

func (x *PendingProcessSignings) String() string

type PendingSignings

type PendingSignings struct {

	// signing_ids is a list of identifiers for the signing processes.
	SigningIds []uint64 `protobuf:"varint,1,rep,packed,name=signing_ids,json=signingIds,proto3" json:"signing_ids,omitempty"`
	// contains filtered or unexported fields
}

PendingSignings is a list of all signing processes that are currently pending.

func (*PendingSignings) Descriptor deprecated

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

Deprecated: Use PendingSignings.ProtoReflect.Descriptor instead.

func (*PendingSignings) GetSigningIds

func (x *PendingSignings) GetSigningIds() []uint64

func (*PendingSignings) ProtoMessage

func (*PendingSignings) ProtoMessage()

func (*PendingSignings) ProtoReflect

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

func (*PendingSignings) Reset

func (x *PendingSignings) Reset()

func (*PendingSignings) String

func (x *PendingSignings) String() string

type QueryClient

type QueryClient interface {
	// Counts queries the number of existing groups and signing.
	Counts(ctx context.Context, in *QueryCountsRequest, opts ...grpc.CallOption) (*QueryCountsResponse, error)
	// Groups queries groups details.
	Groups(ctx context.Context, in *QueryGroupsRequest, opts ...grpc.CallOption) (*QueryGroupsResponse, error)
	// Group queries group details from the given id.
	Group(ctx context.Context, in *QueryGroupRequest, opts ...grpc.CallOption) (*QueryGroupResponse, error)
	// Members queries all members in this group.
	Members(ctx context.Context, in *QueryMembersRequest, opts ...grpc.CallOption) (*QueryMembersResponse, error)
	// IsGrantee queries whether granter grants the grantee.
	IsGrantee(ctx context.Context, in *QueryIsGranteeRequest, opts ...grpc.CallOption) (*QueryIsGranteeResponse, error)
	// DE queries all de for this address.
	DE(ctx context.Context, in *QueryDERequest, opts ...grpc.CallOption) (*QueryDEResponse, error)
	// PendingGroups queries all pending groups that waits the given address to submit a message.
	PendingGroups(ctx context.Context, in *QueryPendingGroupsRequest, opts ...grpc.CallOption) (*QueryPendingGroupsResponse, error)
	// PendingSignings queries all pending requests that waits the given address to sign a message.
	PendingSignings(ctx context.Context, in *QueryPendingSigningsRequest, opts ...grpc.CallOption) (*QueryPendingSigningsResponse, error)
	// Signing queries signing details from the given id.
	Signing(ctx context.Context, in *QuerySigningRequest, opts ...grpc.CallOption) (*QuerySigningResponse, error)
	// Signings queries signings details.
	Signings(ctx context.Context, in *QuerySigningsRequest, opts ...grpc.CallOption) (*QuerySigningsResponse, error)
	// Params returns all parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, 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 QueryCountsRequest

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

QueryCountsRequest is request type for the Query/Count RPC method.

func (*QueryCountsRequest) Descriptor deprecated

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

Deprecated: Use QueryCountsRequest.ProtoReflect.Descriptor instead.

func (*QueryCountsRequest) ProtoMessage

func (*QueryCountsRequest) ProtoMessage()

func (*QueryCountsRequest) ProtoReflect

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

func (*QueryCountsRequest) Reset

func (x *QueryCountsRequest) Reset()

func (*QueryCountsRequest) String

func (x *QueryCountsRequest) String() string

type QueryCountsResponse

type QueryCountsResponse struct {

	// group_count is total number of group available on the chain
	GroupCount uint64 `protobuf:"varint,1,opt,name=group_count,json=groupCount,proto3" json:"group_count,omitempty"`
	// signing_count is total number of signing request submitted to the chain
	SigningCount uint64 `protobuf:"varint,2,opt,name=signing_count,json=signingCount,proto3" json:"signing_count,omitempty"`
	// contains filtered or unexported fields
}

QueryCountsResponse is response type for the Query/Count RPC method.

func (*QueryCountsResponse) Descriptor deprecated

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

Deprecated: Use QueryCountsResponse.ProtoReflect.Descriptor instead.

func (*QueryCountsResponse) GetGroupCount

func (x *QueryCountsResponse) GetGroupCount() uint64

func (*QueryCountsResponse) GetSigningCount

func (x *QueryCountsResponse) GetSigningCount() uint64

func (*QueryCountsResponse) ProtoMessage

func (*QueryCountsResponse) ProtoMessage()

func (*QueryCountsResponse) ProtoReflect

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

func (*QueryCountsResponse) Reset

func (x *QueryCountsResponse) Reset()

func (*QueryCountsResponse) String

func (x *QueryCountsResponse) String() string

type QueryDERequest

type QueryDERequest struct {

	// address is the address for the request.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// pagination defines pagination settings for the request.
	Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryDERequest is the request type for the Query/DE RPC method.

func (*QueryDERequest) Descriptor deprecated

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

Deprecated: Use QueryDERequest.ProtoReflect.Descriptor instead.

func (*QueryDERequest) GetAddress

func (x *QueryDERequest) GetAddress() string

func (*QueryDERequest) GetPagination

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

func (*QueryDERequest) ProtoMessage

func (*QueryDERequest) ProtoMessage()

func (*QueryDERequest) ProtoReflect

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

func (*QueryDERequest) Reset

func (x *QueryDERequest) Reset()

func (*QueryDERequest) String

func (x *QueryDERequest) String() string

type QueryDEResponse

type QueryDEResponse struct {

	// des is a list of DEs.
	Des []*DE `protobuf:"bytes,1,rep,name=des,proto3" json:"des,omitempty"`
	// pagination defines an pagination for the response.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryDEResponse is the response type for the Query/DE RPC method.

func (*QueryDEResponse) Descriptor deprecated

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

Deprecated: Use QueryDEResponse.ProtoReflect.Descriptor instead.

func (*QueryDEResponse) GetDes

func (x *QueryDEResponse) GetDes() []*DE

func (*QueryDEResponse) GetPagination

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

func (*QueryDEResponse) ProtoMessage

func (*QueryDEResponse) ProtoMessage()

func (*QueryDEResponse) ProtoReflect

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

func (*QueryDEResponse) Reset

func (x *QueryDEResponse) Reset()

func (*QueryDEResponse) String

func (x *QueryDEResponse) String() string

type QueryGroupRequest

type QueryGroupRequest struct {

	// group_id defines the unique id of the group.
	GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// contains filtered or unexported fields
}

QueryGroupRequest is the request type for the Query/Group RPC method

func (*QueryGroupRequest) Descriptor deprecated

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

Deprecated: Use QueryGroupRequest.ProtoReflect.Descriptor instead.

func (*QueryGroupRequest) GetGroupId

func (x *QueryGroupRequest) GetGroupId() uint64

func (*QueryGroupRequest) ProtoMessage

func (*QueryGroupRequest) ProtoMessage()

func (*QueryGroupRequest) ProtoReflect

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

func (*QueryGroupRequest) Reset

func (x *QueryGroupRequest) Reset()

func (*QueryGroupRequest) String

func (x *QueryGroupRequest) String() string

type QueryGroupResponse

type QueryGroupResponse struct {

	// group_result is the result of the group.
	GroupResult *GroupResult `protobuf:"bytes,1,opt,name=group_result,json=groupResult,proto3" json:"group_result,omitempty"`
	// contains filtered or unexported fields
}

QueryGroupResponse is the response type for the Query/Group RPC method

func (*QueryGroupResponse) Descriptor deprecated

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

Deprecated: Use QueryGroupResponse.ProtoReflect.Descriptor instead.

func (*QueryGroupResponse) GetGroupResult

func (x *QueryGroupResponse) GetGroupResult() *GroupResult

func (*QueryGroupResponse) ProtoMessage

func (*QueryGroupResponse) ProtoMessage()

func (*QueryGroupResponse) ProtoReflect

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

func (*QueryGroupResponse) Reset

func (x *QueryGroupResponse) Reset()

func (*QueryGroupResponse) String

func (x *QueryGroupResponse) String() string

type QueryGroupsRequest

type QueryGroupsRequest struct {

	// pagination defines pagination settings for the request.
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryGroupsRequest is the request type for the Query/Groups RPC method

func (*QueryGroupsRequest) Descriptor deprecated

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

Deprecated: Use QueryGroupsRequest.ProtoReflect.Descriptor instead.

func (*QueryGroupsRequest) GetPagination

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

func (*QueryGroupsRequest) ProtoMessage

func (*QueryGroupsRequest) ProtoMessage()

func (*QueryGroupsRequest) ProtoReflect

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

func (*QueryGroupsRequest) Reset

func (x *QueryGroupsRequest) Reset()

func (*QueryGroupsRequest) String

func (x *QueryGroupsRequest) String() string

type QueryGroupsResponse

type QueryGroupsResponse struct {

	// groups is the list of groups.
	Groups []*GroupResult `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
	// pagination defines an pagination for the response.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryGroupsResponse is the response type for the Query/Group RPC method

func (*QueryGroupsResponse) Descriptor deprecated

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

Deprecated: Use QueryGroupsResponse.ProtoReflect.Descriptor instead.

func (*QueryGroupsResponse) GetGroups

func (x *QueryGroupsResponse) GetGroups() []*GroupResult

func (*QueryGroupsResponse) GetPagination

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

func (*QueryGroupsResponse) ProtoMessage

func (*QueryGroupsResponse) ProtoMessage()

func (*QueryGroupsResponse) ProtoReflect

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

func (*QueryGroupsResponse) Reset

func (x *QueryGroupsResponse) Reset()

func (*QueryGroupsResponse) String

func (x *QueryGroupsResponse) String() string

type QueryIsGranteeRequest

type QueryIsGranteeRequest struct {

	// granter is a granter address
	Granter string `protobuf:"bytes,1,opt,name=granter,proto3" json:"granter,omitempty"`
	// grantee is a grantee address
	Grantee string `protobuf:"bytes,2,opt,name=grantee,proto3" json:"grantee,omitempty"`
	// contains filtered or unexported fields
}

QueryIsSignerRequest is request type for the Query/IsGrantee RPC method.

func (*QueryIsGranteeRequest) Descriptor deprecated

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

Deprecated: Use QueryIsGranteeRequest.ProtoReflect.Descriptor instead.

func (*QueryIsGranteeRequest) GetGrantee

func (x *QueryIsGranteeRequest) GetGrantee() string

func (*QueryIsGranteeRequest) GetGranter

func (x *QueryIsGranteeRequest) GetGranter() string

func (*QueryIsGranteeRequest) ProtoMessage

func (*QueryIsGranteeRequest) ProtoMessage()

func (*QueryIsGranteeRequest) ProtoReflect

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

func (*QueryIsGranteeRequest) Reset

func (x *QueryIsGranteeRequest) Reset()

func (*QueryIsGranteeRequest) String

func (x *QueryIsGranteeRequest) String() string

type QueryIsGranteeResponse

type QueryIsGranteeResponse struct {

	// is_grantee is true if this account has been granted by granter
	IsGrantee bool `protobuf:"varint,1,opt,name=is_grantee,json=isGrantee,proto3" json:"is_grantee,omitempty"`
	// contains filtered or unexported fields
}

QueryIsGranteeResponse is response type for the Query/IsGrantee RPC method.

func (*QueryIsGranteeResponse) Descriptor deprecated

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

Deprecated: Use QueryIsGranteeResponse.ProtoReflect.Descriptor instead.

func (*QueryIsGranteeResponse) GetIsGrantee

func (x *QueryIsGranteeResponse) GetIsGrantee() bool

func (*QueryIsGranteeResponse) ProtoMessage

func (*QueryIsGranteeResponse) ProtoMessage()

func (*QueryIsGranteeResponse) ProtoReflect

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

func (*QueryIsGranteeResponse) Reset

func (x *QueryIsGranteeResponse) Reset()

func (*QueryIsGranteeResponse) String

func (x *QueryIsGranteeResponse) String() string

type QueryMembersRequest

type QueryMembersRequest struct {

	// group_id defines the unique id of the group.
	GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// contains filtered or unexported fields
}

QueryMembersRequest is the request type for the Query/Members RPC method

func (*QueryMembersRequest) Descriptor deprecated

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

Deprecated: Use QueryMembersRequest.ProtoReflect.Descriptor instead.

func (*QueryMembersRequest) GetGroupId

func (x *QueryMembersRequest) GetGroupId() uint64

func (*QueryMembersRequest) ProtoMessage

func (*QueryMembersRequest) ProtoMessage()

func (*QueryMembersRequest) ProtoReflect

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

func (*QueryMembersRequest) Reset

func (x *QueryMembersRequest) Reset()

func (*QueryMembersRequest) String

func (x *QueryMembersRequest) String() string

type QueryMembersResponse

type QueryMembersResponse struct {

	// members are member list of the group
	Members []*Member `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
	// contains filtered or unexported fields
}

QueryMembersResponse is the response type for the Query/Members RPC method

func (*QueryMembersResponse) Descriptor deprecated

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

Deprecated: Use QueryMembersResponse.ProtoReflect.Descriptor instead.

func (*QueryMembersResponse) GetMembers

func (x *QueryMembersResponse) GetMembers() []*Member

func (*QueryMembersResponse) ProtoMessage

func (*QueryMembersResponse) ProtoMessage()

func (*QueryMembersResponse) ProtoReflect

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

func (*QueryMembersResponse) Reset

func (x *QueryMembersResponse) Reset()

func (*QueryMembersResponse) String

func (x *QueryMembersResponse) String() string

type QueryParamsRequest

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

QueryParamsRequest is the request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor deprecated

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

Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) ProtoReflect

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

func (*QueryParamsRequest) Reset

func (x *QueryParamsRequest) Reset()

func (*QueryParamsRequest) String

func (x *QueryParamsRequest) String() string

type QueryParamsResponse

type QueryParamsResponse struct {

	// params are the parameters of the module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

QueryParamsResponse is the response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor deprecated

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

Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.

func (*QueryParamsResponse) GetParams

func (x *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) ProtoReflect

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

func (*QueryParamsResponse) Reset

func (x *QueryParamsResponse) Reset()

func (*QueryParamsResponse) String

func (x *QueryParamsResponse) String() string

type QueryPendingGroupsRequest

type QueryPendingGroupsRequest struct {

	// address is the address of the member.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

QueryPendingGroupsRequest is the request type for the Query/PendingGroups RPC method.

func (*QueryPendingGroupsRequest) Descriptor deprecated

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

Deprecated: Use QueryPendingGroupsRequest.ProtoReflect.Descriptor instead.

func (*QueryPendingGroupsRequest) GetAddress

func (x *QueryPendingGroupsRequest) GetAddress() string

func (*QueryPendingGroupsRequest) ProtoMessage

func (*QueryPendingGroupsRequest) ProtoMessage()

func (*QueryPendingGroupsRequest) ProtoReflect

func (*QueryPendingGroupsRequest) Reset

func (x *QueryPendingGroupsRequest) Reset()

func (*QueryPendingGroupsRequest) String

func (x *QueryPendingGroupsRequest) String() string

type QueryPendingGroupsResponse

type QueryPendingGroupsResponse struct {

	// pending_groups is a list of pending groups.
	PendingGroups []uint64 `protobuf:"varint,1,rep,packed,name=pending_groups,json=pendingGroups,proto3" json:"pending_groups,omitempty"`
	// contains filtered or unexported fields
}

QueryPendingGroupsResponse is the response type for the Query/PendingGroups RPC method.

func (*QueryPendingGroupsResponse) Descriptor deprecated

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

Deprecated: Use QueryPendingGroupsResponse.ProtoReflect.Descriptor instead.

func (*QueryPendingGroupsResponse) GetPendingGroups

func (x *QueryPendingGroupsResponse) GetPendingGroups() []uint64

func (*QueryPendingGroupsResponse) ProtoMessage

func (*QueryPendingGroupsResponse) ProtoMessage()

func (*QueryPendingGroupsResponse) ProtoReflect

func (*QueryPendingGroupsResponse) Reset

func (x *QueryPendingGroupsResponse) Reset()

func (*QueryPendingGroupsResponse) String

func (x *QueryPendingGroupsResponse) String() string

type QueryPendingSigningsRequest

type QueryPendingSigningsRequest struct {

	// address is the address of the member.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

QueryPendingSigningsRequest is the request type for the Query/PendingSignings RPC method.

func (*QueryPendingSigningsRequest) Descriptor deprecated

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

Deprecated: Use QueryPendingSigningsRequest.ProtoReflect.Descriptor instead.

func (*QueryPendingSigningsRequest) GetAddress

func (x *QueryPendingSigningsRequest) GetAddress() string

func (*QueryPendingSigningsRequest) ProtoMessage

func (*QueryPendingSigningsRequest) ProtoMessage()

func (*QueryPendingSigningsRequest) ProtoReflect

func (*QueryPendingSigningsRequest) Reset

func (x *QueryPendingSigningsRequest) Reset()

func (*QueryPendingSigningsRequest) String

func (x *QueryPendingSigningsRequest) String() string

type QueryPendingSigningsResponse

type QueryPendingSigningsResponse struct {

	// pending_signings is a list of pending signings.
	PendingSignings []uint64 `protobuf:"varint,1,rep,packed,name=pending_signings,json=pendingSignings,proto3" json:"pending_signings,omitempty"`
	// contains filtered or unexported fields
}

QueryPendingSigningsResponse is the response type for the Query/PendingSignings RPC method.

func (*QueryPendingSigningsResponse) Descriptor deprecated

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

Deprecated: Use QueryPendingSigningsResponse.ProtoReflect.Descriptor instead.

func (*QueryPendingSigningsResponse) GetPendingSignings

func (x *QueryPendingSigningsResponse) GetPendingSignings() []uint64

func (*QueryPendingSigningsResponse) ProtoMessage

func (*QueryPendingSigningsResponse) ProtoMessage()

func (*QueryPendingSigningsResponse) ProtoReflect

func (*QueryPendingSigningsResponse) Reset

func (x *QueryPendingSigningsResponse) Reset()

func (*QueryPendingSigningsResponse) String

type QueryServer

type QueryServer interface {
	// Counts queries the number of existing groups and signing.
	Counts(context.Context, *QueryCountsRequest) (*QueryCountsResponse, error)
	// Groups queries groups details.
	Groups(context.Context, *QueryGroupsRequest) (*QueryGroupsResponse, error)
	// Group queries group details from the given id.
	Group(context.Context, *QueryGroupRequest) (*QueryGroupResponse, error)
	// Members queries all members in this group.
	Members(context.Context, *QueryMembersRequest) (*QueryMembersResponse, error)
	// IsGrantee queries whether granter grants the grantee.
	IsGrantee(context.Context, *QueryIsGranteeRequest) (*QueryIsGranteeResponse, error)
	// DE queries all de for this address.
	DE(context.Context, *QueryDERequest) (*QueryDEResponse, error)
	// PendingGroups queries all pending groups that waits the given address to submit a message.
	PendingGroups(context.Context, *QueryPendingGroupsRequest) (*QueryPendingGroupsResponse, error)
	// PendingSignings queries all pending requests that waits the given address to sign a message.
	PendingSignings(context.Context, *QueryPendingSigningsRequest) (*QueryPendingSigningsResponse, error)
	// Signing queries signing details from the given id.
	Signing(context.Context, *QuerySigningRequest) (*QuerySigningResponse, error)
	// Signings queries signings details.
	Signings(context.Context, *QuerySigningsRequest) (*QuerySigningsResponse, error)
	// Params returns all parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// contains filtered or unexported methods
}

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

type QuerySigningRequest

type QuerySigningRequest struct {

	// signing_id is the ID of the signing request.
	SigningId uint64 `protobuf:"varint,1,opt,name=signing_id,json=signingId,proto3" json:"signing_id,omitempty"`
	// contains filtered or unexported fields
}

QuerySigningRequest is the request type for the Query/Signing RPC method.

func (*QuerySigningRequest) Descriptor deprecated

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

Deprecated: Use QuerySigningRequest.ProtoReflect.Descriptor instead.

func (*QuerySigningRequest) GetSigningId

func (x *QuerySigningRequest) GetSigningId() uint64

func (*QuerySigningRequest) ProtoMessage

func (*QuerySigningRequest) ProtoMessage()

func (*QuerySigningRequest) ProtoReflect

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

func (*QuerySigningRequest) Reset

func (x *QuerySigningRequest) Reset()

func (*QuerySigningRequest) String

func (x *QuerySigningRequest) String() string

type QuerySigningResponse

type QuerySigningResponse struct {

	// signing_result is the result of the signing.
	SigningResult *SigningResult `protobuf:"bytes,1,opt,name=signing_result,json=signingResult,proto3" json:"signing_result,omitempty"`
	// contains filtered or unexported fields
}

QuerySigningResponse is the response type for the Query/Signing RPC method.

func (*QuerySigningResponse) Descriptor deprecated

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

Deprecated: Use QuerySigningResponse.ProtoReflect.Descriptor instead.

func (*QuerySigningResponse) GetSigningResult

func (x *QuerySigningResponse) GetSigningResult() *SigningResult

func (*QuerySigningResponse) ProtoMessage

func (*QuerySigningResponse) ProtoMessage()

func (*QuerySigningResponse) ProtoReflect

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

func (*QuerySigningResponse) Reset

func (x *QuerySigningResponse) Reset()

func (*QuerySigningResponse) String

func (x *QuerySigningResponse) String() string

type QuerySigningsRequest

type QuerySigningsRequest struct {

	// pagination defines pagination settings for the request.
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QuerySigningsRequest is the request type for the Query/Signings RPC method.

func (*QuerySigningsRequest) Descriptor deprecated

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

Deprecated: Use QuerySigningsRequest.ProtoReflect.Descriptor instead.

func (*QuerySigningsRequest) GetPagination

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

func (*QuerySigningsRequest) ProtoMessage

func (*QuerySigningsRequest) ProtoMessage()

func (*QuerySigningsRequest) ProtoReflect

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

func (*QuerySigningsRequest) Reset

func (x *QuerySigningsRequest) Reset()

func (*QuerySigningsRequest) String

func (x *QuerySigningsRequest) String() string

type QuerySigningsResponse

type QuerySigningsResponse struct {

	// signing_results is a list of signing results.
	SigningResults []*SigningResult `protobuf:"bytes,1,rep,name=signing_results,json=signingResults,proto3" json:"signing_results,omitempty"`
	// pagination defines an pagination for the response.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QuerySigningsResponse is the response type for the Query/Signings RPC method.

func (*QuerySigningsResponse) Descriptor deprecated

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

Deprecated: Use QuerySigningsResponse.ProtoReflect.Descriptor instead.

func (*QuerySigningsResponse) GetPagination

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

func (*QuerySigningsResponse) GetSigningResults

func (x *QuerySigningsResponse) GetSigningResults() []*SigningResult

func (*QuerySigningsResponse) ProtoMessage

func (*QuerySigningsResponse) ProtoMessage()

func (*QuerySigningsResponse) ProtoReflect

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

func (*QuerySigningsResponse) Reset

func (x *QuerySigningsResponse) Reset()

func (*QuerySigningsResponse) String

func (x *QuerySigningsResponse) String() string

type Round1Info

type Round1Info struct {

	// member_id is the unique identifier of a group member.
	MemberId uint64 `protobuf:"varint,1,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"`
	// coefficients_commits is a list of commitments to the coefficients of the member's secret polynomial.
	CoefficientCommits [][]byte `protobuf:"bytes,2,rep,name=coefficient_commits,json=coefficientCommits,proto3" json:"coefficient_commits,omitempty"`
	// one_time_pub_key is the one-time public key used by the member to encrypt secret shares.
	OneTimePubKey []byte `protobuf:"bytes,3,opt,name=one_time_pub_key,json=oneTimePubKey,proto3" json:"one_time_pub_key,omitempty"`
	// a0_signature is the member's signature on the first coefficient of its secret polynomial.
	A0Signature []byte `protobuf:"bytes,4,opt,name=a0_signature,json=a0Signature,proto3" json:"a0_signature,omitempty"`
	// one_time_signature is the member's signature on its one-time public key.
	OneTimeSignature []byte `protobuf:"bytes,5,opt,name=one_time_signature,json=oneTimeSignature,proto3" json:"one_time_signature,omitempty"`
	// contains filtered or unexported fields
}

Round1Info contains all necessary information for handling round 1 of the DKG process.

func (*Round1Info) Descriptor deprecated

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

Deprecated: Use Round1Info.ProtoReflect.Descriptor instead.

func (*Round1Info) GetA0Signature

func (x *Round1Info) GetA0Signature() []byte

func (*Round1Info) GetCoefficientCommits

func (x *Round1Info) GetCoefficientCommits() [][]byte

func (*Round1Info) GetMemberId

func (x *Round1Info) GetMemberId() uint64

func (*Round1Info) GetOneTimePubKey

func (x *Round1Info) GetOneTimePubKey() []byte

func (*Round1Info) GetOneTimeSignature

func (x *Round1Info) GetOneTimeSignature() []byte

func (*Round1Info) ProtoMessage

func (*Round1Info) ProtoMessage()

func (*Round1Info) ProtoReflect

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

func (*Round1Info) Reset

func (x *Round1Info) Reset()

func (*Round1Info) String

func (x *Round1Info) String() string

type Round2Info

type Round2Info struct {

	// member_id is the unique identifier of a group member.
	MemberId uint64 `protobuf:"varint,1,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"`
	// encrypted_secret_shares is a list of secret shares encrypted under the public keys of other members.
	EncryptedSecretShares [][]byte `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Round2Info contains all necessary information for handling round 2 of the DKG process.

func (*Round2Info) Descriptor deprecated

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

Deprecated: Use Round2Info.ProtoReflect.Descriptor instead.

func (*Round2Info) GetEncryptedSecretShares

func (x *Round2Info) GetEncryptedSecretShares() [][]byte

func (*Round2Info) GetMemberId

func (x *Round2Info) GetMemberId() uint64

func (*Round2Info) ProtoMessage

func (*Round2Info) ProtoMessage()

func (*Round2Info) ProtoReflect

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

func (*Round2Info) Reset

func (x *Round2Info) Reset()

func (*Round2Info) String

func (x *Round2Info) String() string

type Signing

type Signing struct {

	// id is the unique identifier of the signing.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// current_attempt is the latest round number that signing has been attempted.
	CurrentAttempt uint64 `protobuf:"varint,2,opt,name=current_attempt,json=currentAttempt,proto3" json:"current_attempt,omitempty"`
	// group_id is the unique identifier of the group.
	GroupId uint64 `protobuf:"varint,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// group_pub_key is the public key of the group that sign this message.
	GroupPubKey []byte `protobuf:"bytes,4,opt,name=group_pub_key,json=groupPubKey,proto3" json:"group_pub_key,omitempty"`
	// message is the message to be signed.
	Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	// group_pub_nonce is the public nonce generated by the group for this signing process.
	GroupPubNonce []byte `protobuf:"bytes,6,opt,name=group_pub_nonce,json=groupPubNonce,proto3" json:"group_pub_nonce,omitempty"`
	// signature is the group's signature on the message.
	Signature []byte `protobuf:"bytes,7,opt,name=signature,proto3" json:"signature,omitempty"`
	// status represents the current stage of the signing in the signing process.
	Status SigningStatus `protobuf:"varint,8,opt,name=status,proto3,enum=band.tss.v1beta1.SigningStatus" json:"status,omitempty"`
	// created_height is the block height when the signing was created.
	CreatedHeight uint64 `protobuf:"varint,9,opt,name=created_height,json=createdHeight,proto3" json:"created_height,omitempty"`
	// created_timestamp is the block timestamp when the signing was created.
	CreatedTimestamp *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_timestamp,json=createdTimestamp,proto3" json:"created_timestamp,omitempty"`
	// contains filtered or unexported fields
}

Signing contains all necessary information for handling a signing request.

func (*Signing) Descriptor deprecated

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

Deprecated: Use Signing.ProtoReflect.Descriptor instead.

func (*Signing) GetCreatedHeight

func (x *Signing) GetCreatedHeight() uint64

func (*Signing) GetCreatedTimestamp

func (x *Signing) GetCreatedTimestamp() *timestamppb.Timestamp

func (*Signing) GetCurrentAttempt

func (x *Signing) GetCurrentAttempt() uint64

func (*Signing) GetGroupId

func (x *Signing) GetGroupId() uint64

func (*Signing) GetGroupPubKey

func (x *Signing) GetGroupPubKey() []byte

func (*Signing) GetGroupPubNonce

func (x *Signing) GetGroupPubNonce() []byte

func (*Signing) GetId

func (x *Signing) GetId() uint64

func (*Signing) GetMessage

func (x *Signing) GetMessage() []byte

func (*Signing) GetSignature

func (x *Signing) GetSignature() []byte

func (*Signing) GetStatus

func (x *Signing) GetStatus() SigningStatus

func (*Signing) ProtoMessage

func (*Signing) ProtoMessage()

func (*Signing) ProtoReflect

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

func (*Signing) Reset

func (x *Signing) Reset()

func (*Signing) String

func (x *Signing) String() string

type SigningAttempt

type SigningAttempt struct {

	// signing_id is the unique identifier of the signing.
	SigningId uint64 `protobuf:"varint,1,opt,name=signing_id,json=signingId,proto3" json:"signing_id,omitempty"`
	// attempt is the number of round that this signing has been attempted.
	Attempt uint64 `protobuf:"varint,2,opt,name=attempt,proto3" json:"attempt,omitempty"`
	// expired_height is the block height when this signing attempt was expired.
	ExpiredHeight uint64 `protobuf:"varint,3,opt,name=expired_height,json=expiredHeight,proto3" json:"expired_height,omitempty"`
	// assigned_members is a list of members assigned to the signing process.
	AssignedMembers []*AssignedMember `protobuf:"bytes,4,rep,name=assigned_members,json=assignedMembers,proto3" json:"assigned_members,omitempty"`
	// contains filtered or unexported fields
}

SigningAttempt contains a member that has been assigned to and expiration block height of the specific attempt.

func (*SigningAttempt) Descriptor deprecated

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

Deprecated: Use SigningAttempt.ProtoReflect.Descriptor instead.

func (*SigningAttempt) GetAssignedMembers

func (x *SigningAttempt) GetAssignedMembers() []*AssignedMember

func (*SigningAttempt) GetAttempt

func (x *SigningAttempt) GetAttempt() uint64

func (*SigningAttempt) GetExpiredHeight

func (x *SigningAttempt) GetExpiredHeight() uint64

func (*SigningAttempt) GetSigningId

func (x *SigningAttempt) GetSigningId() uint64

func (*SigningAttempt) ProtoMessage

func (*SigningAttempt) ProtoMessage()

func (*SigningAttempt) ProtoReflect

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

func (*SigningAttempt) Reset

func (x *SigningAttempt) Reset()

func (*SigningAttempt) String

func (x *SigningAttempt) String() string

type SigningExpiration

type SigningExpiration struct {

	// signing_id is the id of the signing.
	SigningId uint64 `protobuf:"varint,1,opt,name=signing_id,json=signingId,proto3" json:"signing_id,omitempty"`
	// signing_attempt is the number of attempts of the signing.
	SigningAttempt uint64 `protobuf:"varint,2,opt,name=signing_attempt,json=signingAttempt,proto3" json:"signing_attempt,omitempty"`
	// contains filtered or unexported fields
}

SigningExpiration defines the expiration time of the signing.

func (*SigningExpiration) Descriptor deprecated

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

Deprecated: Use SigningExpiration.ProtoReflect.Descriptor instead.

func (*SigningExpiration) GetSigningAttempt

func (x *SigningExpiration) GetSigningAttempt() uint64

func (*SigningExpiration) GetSigningId

func (x *SigningExpiration) GetSigningId() uint64

func (*SigningExpiration) ProtoMessage

func (*SigningExpiration) ProtoMessage()

func (*SigningExpiration) ProtoReflect

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

func (*SigningExpiration) Reset

func (x *SigningExpiration) Reset()

func (*SigningExpiration) String

func (x *SigningExpiration) String() string

type SigningExpirations

type SigningExpirations struct {

	// signing_expirations is a list of SigningExpiration object.
	SigningExpirations []*SigningExpiration `protobuf:"bytes,1,rep,name=signing_expirations,json=signingExpirations,proto3" json:"signing_expirations,omitempty"`
	// contains filtered or unexported fields
}

SigningExpirations is a list of signing expiration information that are waiting in the queue.

func (*SigningExpirations) Descriptor deprecated

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

Deprecated: Use SigningExpirations.ProtoReflect.Descriptor instead.

func (*SigningExpirations) GetSigningExpirations

func (x *SigningExpirations) GetSigningExpirations() []*SigningExpiration

func (*SigningExpirations) ProtoMessage

func (*SigningExpirations) ProtoMessage()

func (*SigningExpirations) ProtoReflect

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

func (*SigningExpirations) Reset

func (x *SigningExpirations) Reset()

func (*SigningExpirations) String

func (x *SigningExpirations) String() string

type SigningResult

type SigningResult struct {

	// signing is the tss signing result.
	Signing *Signing `protobuf:"bytes,1,opt,name=signing,proto3" json:"signing,omitempty"`
	// current_signing_attempt is the current attempt information of the signing.
	CurrentSigningAttempt *SigningAttempt `` /* 126-byte string literal not displayed */
	// evm_signature is the signature in the format that can use directly in EVM.
	EvmSignature *EVMSignature `protobuf:"bytes,3,opt,name=evm_signature,json=evmSignature,proto3" json:"evm_signature,omitempty"`
	// received_partial_signatures is a list of received partial signatures.
	ReceivedPartialSignatures []*PartialSignature `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

SigningResult is a tss signing result from querying tss signing information.

func (*SigningResult) Descriptor deprecated

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

Deprecated: Use SigningResult.ProtoReflect.Descriptor instead.

func (*SigningResult) GetCurrentSigningAttempt

func (x *SigningResult) GetCurrentSigningAttempt() *SigningAttempt

func (*SigningResult) GetEvmSignature

func (x *SigningResult) GetEvmSignature() *EVMSignature

func (*SigningResult) GetReceivedPartialSignatures

func (x *SigningResult) GetReceivedPartialSignatures() []*PartialSignature

func (*SigningResult) GetSigning

func (x *SigningResult) GetSigning() *Signing

func (*SigningResult) ProtoMessage

func (*SigningResult) ProtoMessage()

func (*SigningResult) ProtoReflect

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

func (*SigningResult) Reset

func (x *SigningResult) Reset()

func (*SigningResult) String

func (x *SigningResult) String() string

type SigningStatus

type SigningStatus int32

SigningStatus is an enumeration of the possible statuses of a signing.

const (
	// SIGNING_STATUS_UNSPECIFIED is the status of a signing that has not been specified.
	SigningStatus_SIGNING_STATUS_UNSPECIFIED SigningStatus = 0
	// SIGNING_STATUS_WAITING is the status of a signing that is waiting to be signed in the protocol.
	SigningStatus_SIGNING_STATUS_WAITING SigningStatus = 1
	// SIGNING_STATUS_SUCCESS is the status of a signing that has success in the protocol.
	SigningStatus_SIGNING_STATUS_SUCCESS SigningStatus = 2
	// SIGNING_STATUS_FALLEN is the status of a signing that has fallen out of the protocol.
	SigningStatus_SIGNING_STATUS_FALLEN SigningStatus = 3
)

func (SigningStatus) Descriptor

func (SigningStatus) Enum

func (x SigningStatus) Enum() *SigningStatus

func (SigningStatus) EnumDescriptor deprecated

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

Deprecated: Use SigningStatus.Descriptor instead.

func (SigningStatus) Number

func (SigningStatus) String

func (x SigningStatus) String() string

func (SigningStatus) Type

type TextSignatureOrder

type TextSignatureOrder struct {

	// message is the data that needs to be signed.
	Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

TextSignatureOrder defines a general text signature order.

func (*TextSignatureOrder) Descriptor deprecated

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

Deprecated: Use TextSignatureOrder.ProtoReflect.Descriptor instead.

func (*TextSignatureOrder) GetMessage

func (x *TextSignatureOrder) GetMessage() []byte

func (*TextSignatureOrder) ProtoMessage

func (*TextSignatureOrder) ProtoMessage()

func (*TextSignatureOrder) ProtoReflect

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

func (*TextSignatureOrder) Reset

func (x *TextSignatureOrder) Reset()

func (*TextSignatureOrder) String

func (x *TextSignatureOrder) String() string

type TunnelOriginator

type TunnelOriginator struct {

	// source_chain_id is the source chain ID that the data is originated from.
	SourceChainId string `protobuf:"bytes,1,opt,name=source_chain_id,json=sourceChainId,proto3" json:"source_chain_id,omitempty"`
	// tunnel_id is the tunnel ID that the request is originated from.
	TunnelId uint64 `protobuf:"varint,2,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"`
	// destination_chain_id is the destination chain ID that the data should be relayed to.
	DestinationChainId string `protobuf:"bytes,3,opt,name=destination_chain_id,json=destinationChainId,proto3" json:"destination_chain_id,omitempty"`
	// destination_contract_address is the destination address that the data should be relayed to.
	DestinationContractAddress string `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

TunnelOriginator is a message originator defines an information of the requester on TSS request via tunnel module.

func (*TunnelOriginator) Descriptor deprecated

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

Deprecated: Use TunnelOriginator.ProtoReflect.Descriptor instead.

func (*TunnelOriginator) GetDestinationChainId

func (x *TunnelOriginator) GetDestinationChainId() string

func (*TunnelOriginator) GetDestinationContractAddress

func (x *TunnelOriginator) GetDestinationContractAddress() string

func (*TunnelOriginator) GetSourceChainId

func (x *TunnelOriginator) GetSourceChainId() string

func (*TunnelOriginator) GetTunnelId

func (x *TunnelOriginator) GetTunnelId() uint64

func (*TunnelOriginator) ProtoMessage

func (*TunnelOriginator) ProtoMessage()

func (*TunnelOriginator) ProtoReflect

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

func (*TunnelOriginator) Reset

func (x *TunnelOriginator) Reset()

func (*TunnelOriginator) String

func (x *TunnelOriginator) String() string

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) Complain

func (UnimplementedMsgServer) Confirm

func (UnimplementedMsgServer) ResetDE

func (UnimplementedMsgServer) SubmitDEs

func (UnimplementedMsgServer) SubmitDKGRound1

func (UnimplementedMsgServer) SubmitDKGRound2

func (UnimplementedMsgServer) SubmitSignature

func (UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) Counts

func (UnimplementedQueryServer) DE

func (UnimplementedQueryServer) Group

func (UnimplementedQueryServer) Groups

func (UnimplementedQueryServer) IsGrantee

func (UnimplementedQueryServer) Members

func (UnimplementedQueryServer) Params

func (UnimplementedQueryServer) Signing

func (UnimplementedQueryServer) Signings

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