bandtssv1beta1

package
v3.0.0-...-2ff686a Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Overview

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

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

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

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

Index

Constants

View Source
const (
	Query_Counts_FullMethodName          = "/band.bandtss.v1beta1.Query/Counts"
	Query_Members_FullMethodName         = "/band.bandtss.v1beta1.Query/Members"
	Query_Member_FullMethodName          = "/band.bandtss.v1beta1.Query/Member"
	Query_CurrentGroup_FullMethodName    = "/band.bandtss.v1beta1.Query/CurrentGroup"
	Query_IncomingGroup_FullMethodName   = "/band.bandtss.v1beta1.Query/IncomingGroup"
	Query_Signing_FullMethodName         = "/band.bandtss.v1beta1.Query/Signing"
	Query_GroupTransition_FullMethodName = "/band.bandtss.v1beta1.Query/GroupTransition"
	Query_Params_FullMethodName          = "/band.bandtss.v1beta1.Query/Params"
)
View Source
const (
	Msg_RequestSignature_FullMethodName     = "/band.bandtss.v1beta1.Msg/RequestSignature"
	Msg_Activate_FullMethodName             = "/band.bandtss.v1beta1.Msg/Activate"
	Msg_UpdateParams_FullMethodName         = "/band.bandtss.v1beta1.Msg/UpdateParams"
	Msg_TransitionGroup_FullMethodName      = "/band.bandtss.v1beta1.Msg/TransitionGroup"
	Msg_ForceTransitionGroup_FullMethodName = "/band.bandtss.v1beta1.Msg/ForceTransitionGroup"
)

Variables

View Source
var (
	TransitionStatus_name = map[int32]string{
		0: "TRANSITION_STATUS_UNSPECIFIED",
		1: "TRANSITION_STATUS_CREATING_GROUP",
		2: "TRANSITION_STATUS_WAITING_SIGN",
		3: "TRANSITION_STATUS_WAITING_EXECUTION",
	}
	TransitionStatus_value = map[string]int32{
		"TRANSITION_STATUS_UNSPECIFIED":       0,
		"TRANSITION_STATUS_CREATING_GROUP":    1,
		"TRANSITION_STATUS_WAITING_SIGN":      2,
		"TRANSITION_STATUS_WAITING_EXECUTION": 3,
	}
)

Enum value maps for TransitionStatus.

View Source
var (
	MemberStatusFilter_name = map[int32]string{
		0: "MEMBER_STATUS_FILTER_UNSPECIFIED",
		1: "MEMBER_STATUS_FILTER_ACTIVE",
		2: "MEMBER_STATUS_FILTER_INACTIVE",
	}
	MemberStatusFilter_value = map[string]int32{
		"MEMBER_STATUS_FILTER_UNSPECIFIED": 0,
		"MEMBER_STATUS_FILTER_ACTIVE":      1,
		"MEMBER_STATUS_FILTER_INACTIVE":    2,
	}
)

Enum value maps for MemberStatusFilter.

View Source
var File_band_bandtss_v1beta1_bandtss_proto protoreflect.FileDescriptor
View Source
var File_band_bandtss_v1beta1_genesis_proto protoreflect.FileDescriptor
View Source
var File_band_bandtss_v1beta1_query_proto protoreflect.FileDescriptor
View Source
var File_band_bandtss_v1beta1_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "band.bandtss.v1beta1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RequestSignature",
			Handler:    _Msg_RequestSignature_Handler,
		},
		{
			MethodName: "Activate",
			Handler:    _Msg_Activate_Handler,
		},
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
		{
			MethodName: "TransitionGroup",
			Handler:    _Msg_TransitionGroup_Handler,
		},
		{
			MethodName: "ForceTransitionGroup",
			Handler:    _Msg_ForceTransitionGroup_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "band/bandtss/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.bandtss.v1beta1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Counts",
			Handler:    _Query_Counts_Handler,
		},
		{
			MethodName: "Members",
			Handler:    _Query_Members_Handler,
		},
		{
			MethodName: "Member",
			Handler:    _Query_Member_Handler,
		},
		{
			MethodName: "CurrentGroup",
			Handler:    _Query_CurrentGroup_Handler,
		},
		{
			MethodName: "IncomingGroup",
			Handler:    _Query_IncomingGroup_Handler,
		},
		{
			MethodName: "Signing",
			Handler:    _Query_Signing_Handler,
		},
		{
			MethodName: "GroupTransition",
			Handler:    _Query_GroupTransition_Handler,
		},
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "band/bandtss/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 CurrentGroup

type CurrentGroup struct {

	// group_id is the ID of the current group.
	GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// active_time is the timestamp at which the group becomes the current group of the module.
	ActiveTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=active_time,json=activeTime,proto3" json:"active_time,omitempty"`
	// contains filtered or unexported fields
}

CuurentGroup is a bandtss current group information.

func (*CurrentGroup) Descriptor deprecated

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

Deprecated: Use CurrentGroup.ProtoReflect.Descriptor instead.

func (*CurrentGroup) GetActiveTime

func (x *CurrentGroup) GetActiveTime() *timestamppb.Timestamp

func (*CurrentGroup) GetGroupId

func (x *CurrentGroup) GetGroupId() uint64

func (*CurrentGroup) ProtoMessage

func (*CurrentGroup) ProtoMessage()

func (*CurrentGroup) ProtoReflect

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

func (*CurrentGroup) Reset

func (x *CurrentGroup) Reset()

func (*CurrentGroup) String

func (x *CurrentGroup) 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"`
	// members is an array containing members information.
	Members []*Member `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`
	// current_group is the current group information.
	CurrentGroup *CurrentGroup `protobuf:"bytes,3,opt,name=current_group,json=currentGroup,proto3" json:"current_group,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the bandtss module's genesis state.

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetCurrentGroup

func (x *GenesisState) GetCurrentGroup() *CurrentGroup

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 GroupTransition

type GroupTransition struct {

	// signing_id is a tss signing ID of group transition signing request.
	SigningId uint64 `protobuf:"varint,1,opt,name=signing_id,json=signingId,proto3" json:"signing_id,omitempty"`
	// current_group_id is the ID of the group that will be replaced.
	CurrentGroupId uint64 `protobuf:"varint,2,opt,name=current_group_id,json=currentGroupId,proto3" json:"current_group_id,omitempty"`
	// current_group_pub_key is the public key pair that used for sign & verify transition group msg.
	CurrentGroupPubKey []byte `protobuf:"bytes,3,opt,name=current_group_pub_key,json=currentGroupPubKey,proto3" json:"current_group_pub_key,omitempty"`
	// new_group_id is the ID of the new group that be a new key candidate.
	IncomingGroupId uint64 `protobuf:"varint,4,opt,name=incoming_group_id,json=incomingGroupId,proto3" json:"incoming_group_id,omitempty"`
	// incoming_group_pub_key is the public key of the group that will be the next key of this group
	IncomingGroupPubKey []byte `protobuf:"bytes,5,opt,name=incoming_group_pub_key,json=incomingGroupPubKey,proto3" json:"incoming_group_pub_key,omitempty"`
	// status is an enumeration of the possible statuses of a group transition process.
	Status TransitionStatus `protobuf:"varint,6,opt,name=status,proto3,enum=band.bandtss.v1beta1.TransitionStatus" json:"status,omitempty"`
	// exec_time is the time when the transition will be executed.
	ExecTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=exec_time,json=execTime,proto3" json:"exec_time,omitempty"`
	// is_force_transition is a flag to indicate whether the current group signs the transition message
	// before the transition is executed or not.
	IsForceTransition bool `protobuf:"varint,8,opt,name=is_force_transition,json=isForceTransition,proto3" json:"is_force_transition,omitempty"`
	// contains filtered or unexported fields
}

GroupTransition defines the group transition information of the current group and incoming group.

func (*GroupTransition) Descriptor deprecated

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

Deprecated: Use GroupTransition.ProtoReflect.Descriptor instead.

func (*GroupTransition) GetCurrentGroupId

func (x *GroupTransition) GetCurrentGroupId() uint64

func (*GroupTransition) GetCurrentGroupPubKey

func (x *GroupTransition) GetCurrentGroupPubKey() []byte

func (*GroupTransition) GetExecTime

func (x *GroupTransition) GetExecTime() *timestamppb.Timestamp

func (*GroupTransition) GetIncomingGroupId

func (x *GroupTransition) GetIncomingGroupId() uint64

func (*GroupTransition) GetIncomingGroupPubKey

func (x *GroupTransition) GetIncomingGroupPubKey() []byte

func (*GroupTransition) GetIsForceTransition

func (x *GroupTransition) GetIsForceTransition() bool

func (*GroupTransition) GetSigningId

func (x *GroupTransition) GetSigningId() uint64

func (*GroupTransition) GetStatus

func (x *GroupTransition) GetStatus() TransitionStatus

func (*GroupTransition) ProtoMessage

func (*GroupTransition) ProtoMessage()

func (*GroupTransition) ProtoReflect

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

func (*GroupTransition) Reset

func (x *GroupTransition) Reset()

func (*GroupTransition) String

func (x *GroupTransition) String() string

type GroupTransitionSignatureOrder

type GroupTransitionSignatureOrder struct {

	// pub_key is the public key of new group that the current group needs to be signed.
	PubKey []byte `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	// transition_time is the timestamp at which the transition is executed and the public key is active.
	TransitionTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=transition_time,json=transitionTime,proto3" json:"transition_time,omitempty"`
	// contains filtered or unexported fields
}

GroupTransitionSignatureOrder defines a general signature order for group transition.

func (*GroupTransitionSignatureOrder) Descriptor deprecated

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

Deprecated: Use GroupTransitionSignatureOrder.ProtoReflect.Descriptor instead.

func (*GroupTransitionSignatureOrder) GetPubKey

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

func (*GroupTransitionSignatureOrder) GetTransitionTime

func (x *GroupTransitionSignatureOrder) GetTransitionTime() *timestamppb.Timestamp

func (*GroupTransitionSignatureOrder) ProtoMessage

func (*GroupTransitionSignatureOrder) ProtoMessage()

func (*GroupTransitionSignatureOrder) ProtoReflect

func (*GroupTransitionSignatureOrder) Reset

func (x *GroupTransitionSignatureOrder) Reset()

func (*GroupTransitionSignatureOrder) String

type Member

type Member struct {

	// address is the address of the member.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// group_id is the group ID that the member belongs to.
	GroupId uint64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// is_active is a flag to indicate whether a member is active or not.
	IsActive bool `protobuf:"varint,3,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
	// since is a block timestamp when a member status is changed (from active to inactive or vice versa).
	Since *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=since,proto3" json:"since,omitempty"`
	// contains filtered or unexported fields
}

Member maintains member information for monitoring their liveness activity.

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

func (x *Member) GetIsActive() bool

func (*Member) GetSince

func (x *Member) GetSince() *timestamppb.Timestamp

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 MemberStatusFilter

type MemberStatusFilter int32

MemberStatusFilter defines the query options for filtering members by their active status.

const (
	// MEMBER_STATUS_FILTER_UNSPECIFIED defines a filter for unspecified active status.
	MemberStatusFilter_MEMBER_STATUS_FILTER_UNSPECIFIED MemberStatusFilter = 0
	// MEMBER_STATUS_FILTER_ACTIVE defines a filter for active status.
	MemberStatusFilter_MEMBER_STATUS_FILTER_ACTIVE MemberStatusFilter = 1
	// MEMBER_STATUS_FILTER_INACTIVE defines a filter for inactive status.
	MemberStatusFilter_MEMBER_STATUS_FILTER_INACTIVE MemberStatusFilter = 2
)

func (MemberStatusFilter) Descriptor

func (MemberStatusFilter) Enum

func (MemberStatusFilter) EnumDescriptor deprecated

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

Deprecated: Use MemberStatusFilter.Descriptor instead.

func (MemberStatusFilter) Number

func (MemberStatusFilter) String

func (x MemberStatusFilter) String() string

func (MemberStatusFilter) Type

type MsgActivate

type MsgActivate struct {

	// address is the signer of this message, who must be a member of the group.
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// group_id is the group id of the member.
	GroupId uint64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// contains filtered or unexported fields
}

MsgActivate is a message used to activate the status of the sender.

func (*MsgActivate) Descriptor deprecated

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

Deprecated: Use MsgActivate.ProtoReflect.Descriptor instead.

func (*MsgActivate) GetGroupId

func (x *MsgActivate) GetGroupId() uint64

func (*MsgActivate) GetSender

func (x *MsgActivate) GetSender() string

func (*MsgActivate) ProtoMessage

func (*MsgActivate) ProtoMessage()

func (*MsgActivate) ProtoReflect

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

func (*MsgActivate) Reset

func (x *MsgActivate) Reset()

func (*MsgActivate) String

func (x *MsgActivate) String() string

type MsgActivateResponse

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

MsgActivateResponse is response data for MsgActivate message

func (*MsgActivateResponse) Descriptor deprecated

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

Deprecated: Use MsgActivateResponse.ProtoReflect.Descriptor instead.

func (*MsgActivateResponse) ProtoMessage

func (*MsgActivateResponse) ProtoMessage()

func (*MsgActivateResponse) ProtoReflect

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

func (*MsgActivateResponse) Reset

func (x *MsgActivateResponse) Reset()

func (*MsgActivateResponse) String

func (x *MsgActivateResponse) String() string

type MsgClient

type MsgClient interface {
	// RequestSignature submits a general message to be signed by a specific group.
	RequestSignature(ctx context.Context, in *MsgRequestSignature, opts ...grpc.CallOption) (*MsgRequestSignatureResponse, error)
	// Activate activates the status of the sender.
	Activate(ctx context.Context, in *MsgActivate, opts ...grpc.CallOption) (*MsgActivateResponse, error)
	// UpdateParams updates the x/bandtss parameters.
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
	// TransitionGroup creates a request for creating a new group and replacing current group.
	TransitionGroup(ctx context.Context, in *MsgTransitionGroup, opts ...grpc.CallOption) (*MsgTransitionGroupResponse, error)
	// ForceTransitionGroup sets the given group to the incoming group without the signature of a transition
	// message from a current group.
	ForceTransitionGroup(ctx context.Context, in *MsgForceTransitionGroup, opts ...grpc.CallOption) (*MsgForceTransitionGroupResponse, 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 MsgForceTransitionGroup

type MsgForceTransitionGroup struct {

	// incoming_group_id is the ID of the group that the module want to transition to.
	IncomingGroupId uint64 `protobuf:"varint,1,opt,name=incoming_group_id,json=incomingGroupId,proto3" json:"incoming_group_id,omitempty"`
	// exec_time is the time that will be substituted in place of the group.
	ExecTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=exec_time,json=execTime,proto3" json:"exec_time,omitempty"`
	// authority is the address that controls the module (defaults to x/gov unless overwritten).
	Authority string `protobuf:"bytes,3,opt,name=authority,proto3" json:"authority,omitempty"`
	// contains filtered or unexported fields
}

MsgForceTransitionGroup is the Msg/ForceTransitionGroup request type.

func (*MsgForceTransitionGroup) Descriptor deprecated

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

Deprecated: Use MsgForceTransitionGroup.ProtoReflect.Descriptor instead.

func (*MsgForceTransitionGroup) GetAuthority

func (x *MsgForceTransitionGroup) GetAuthority() string

func (*MsgForceTransitionGroup) GetExecTime

func (x *MsgForceTransitionGroup) GetExecTime() *timestamppb.Timestamp

func (*MsgForceTransitionGroup) GetIncomingGroupId

func (x *MsgForceTransitionGroup) GetIncomingGroupId() uint64

func (*MsgForceTransitionGroup) ProtoMessage

func (*MsgForceTransitionGroup) ProtoMessage()

func (*MsgForceTransitionGroup) ProtoReflect

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

func (*MsgForceTransitionGroup) Reset

func (x *MsgForceTransitionGroup) Reset()

func (*MsgForceTransitionGroup) String

func (x *MsgForceTransitionGroup) String() string

type MsgForceTransitionGroupResponse

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

MsgForceTransitionGroupResponse is the Msg/ForceTransitionGroup response type.

func (*MsgForceTransitionGroupResponse) Descriptor deprecated

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

Deprecated: Use MsgForceTransitionGroupResponse.ProtoReflect.Descriptor instead.

func (*MsgForceTransitionGroupResponse) ProtoMessage

func (*MsgForceTransitionGroupResponse) ProtoMessage()

func (*MsgForceTransitionGroupResponse) ProtoReflect

func (*MsgForceTransitionGroupResponse) Reset

func (*MsgForceTransitionGroupResponse) String

type MsgRequestSignature

type MsgRequestSignature struct {

	// content is the signature order of this request signature message.
	Content *anypb.Any `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// memo is the additional note of the message.
	Memo string `protobuf:"bytes,2,opt,name=memo,proto3" json:"memo,omitempty"`
	// fee_limit is the maximum tokens that will be paid for this request.
	FeeLimit []*v1beta1.Coin `protobuf:"bytes,3,rep,name=fee_limit,json=feeLimit,proto3" json:"fee_limit,omitempty"`
	// sender is the requester of the signing process.
	Sender string `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"`
	// contains filtered or unexported fields
}

MsgRequestSignature is a request message used for initiating the signing process.

func (*MsgRequestSignature) Descriptor deprecated

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

Deprecated: Use MsgRequestSignature.ProtoReflect.Descriptor instead.

func (*MsgRequestSignature) GetContent

func (x *MsgRequestSignature) GetContent() *anypb.Any

func (*MsgRequestSignature) GetFeeLimit

func (x *MsgRequestSignature) GetFeeLimit() []*v1beta1.Coin

func (*MsgRequestSignature) GetMemo

func (x *MsgRequestSignature) GetMemo() string

func (*MsgRequestSignature) GetSender

func (x *MsgRequestSignature) GetSender() string

func (*MsgRequestSignature) ProtoMessage

func (*MsgRequestSignature) ProtoMessage()

func (*MsgRequestSignature) ProtoReflect

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

func (*MsgRequestSignature) Reset

func (x *MsgRequestSignature) Reset()

func (*MsgRequestSignature) String

func (x *MsgRequestSignature) String() string

type MsgRequestSignatureResponse

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

MsgRequestSignatureResponse is response data for MsgRequestSignature message

func (*MsgRequestSignatureResponse) Descriptor deprecated

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

Deprecated: Use MsgRequestSignatureResponse.ProtoReflect.Descriptor instead.

func (*MsgRequestSignatureResponse) ProtoMessage

func (*MsgRequestSignatureResponse) ProtoMessage()

func (*MsgRequestSignatureResponse) ProtoReflect

func (*MsgRequestSignatureResponse) Reset

func (x *MsgRequestSignatureResponse) Reset()

func (*MsgRequestSignatureResponse) String

func (x *MsgRequestSignatureResponse) String() string

type MsgServer

type MsgServer interface {
	// RequestSignature submits a general message to be signed by a specific group.
	RequestSignature(context.Context, *MsgRequestSignature) (*MsgRequestSignatureResponse, error)
	// Activate activates the status of the sender.
	Activate(context.Context, *MsgActivate) (*MsgActivateResponse, error)
	// UpdateParams updates the x/bandtss parameters.
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// TransitionGroup creates a request for creating a new group and replacing current group.
	TransitionGroup(context.Context, *MsgTransitionGroup) (*MsgTransitionGroupResponse, error)
	// ForceTransitionGroup sets the given group to the incoming group without the signature of a transition
	// message from a current group.
	ForceTransitionGroup(context.Context, *MsgForceTransitionGroup) (*MsgForceTransitionGroupResponse, error)
	// contains filtered or unexported methods
}

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

type MsgTransitionGroup

type MsgTransitionGroup struct {

	// members is a list of members in this group.
	Members []string `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
	// threshold is a minimum number of members required to produce a signature.
	Threshold uint64 `protobuf:"varint,2,opt,name=threshold,proto3" json:"threshold,omitempty"`
	// exec_time is the time that will be substituted in place of the group.
	ExecTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=exec_time,json=execTime,proto3" json:"exec_time,omitempty"`
	// authority is the address that controls the module (defaults to x/gov unless overwritten).
	Authority string `protobuf:"bytes,4,opt,name=authority,proto3" json:"authority,omitempty"`
	// contains filtered or unexported fields
}

MsgTransitionGroup is the Msg/TransitionGroup request type.

func (*MsgTransitionGroup) Descriptor deprecated

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

Deprecated: Use MsgTransitionGroup.ProtoReflect.Descriptor instead.

func (*MsgTransitionGroup) GetAuthority

func (x *MsgTransitionGroup) GetAuthority() string

func (*MsgTransitionGroup) GetExecTime

func (x *MsgTransitionGroup) GetExecTime() *timestamppb.Timestamp

func (*MsgTransitionGroup) GetMembers

func (x *MsgTransitionGroup) GetMembers() []string

func (*MsgTransitionGroup) GetThreshold

func (x *MsgTransitionGroup) GetThreshold() uint64

func (*MsgTransitionGroup) ProtoMessage

func (*MsgTransitionGroup) ProtoMessage()

func (*MsgTransitionGroup) ProtoReflect

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

func (*MsgTransitionGroup) Reset

func (x *MsgTransitionGroup) Reset()

func (*MsgTransitionGroup) String

func (x *MsgTransitionGroup) String() string

type MsgTransitionGroupResponse

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

MsgTransitionGroupResponse is the Msg/TransitionGroup response type.

func (*MsgTransitionGroupResponse) Descriptor deprecated

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

Deprecated: Use MsgTransitionGroupResponse.ProtoReflect.Descriptor instead.

func (*MsgTransitionGroupResponse) ProtoMessage

func (*MsgTransitionGroupResponse) ProtoMessage()

func (*MsgTransitionGroupResponse) ProtoReflect

func (*MsgTransitionGroupResponse) Reset

func (x *MsgTransitionGroupResponse) Reset()

func (*MsgTransitionGroupResponse) String

func (x *MsgTransitionGroupResponse) 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 that controls the module (defaults to x/gov unless overwritten).
	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 {

	// reward_percentage is the percentage of block rewards allocated to active TSS members.
	// The reward proportion is calculated after being allocated to oracle rewards.
	RewardPercentage uint64 `protobuf:"varint,1,opt,name=reward_percentage,json=rewardPercentage,proto3" json:"reward_percentage,omitempty"`
	// inactive_penalty_duration is the duration where a member cannot activate back after being set to inactive.
	InactivePenaltyDuration *durationpb.Duration `` /* 132-byte string literal not displayed */
	// max_transition_duration is the maximum duration where the transition process waits
	// since the start of the process until an incoming group replaces a current group.
	MaxTransitionDuration *durationpb.Duration `` /* 126-byte string literal not displayed */
	// fee is the tokens that will be paid per signer.
	Fee []*v1beta1.Coin `protobuf:"bytes,4,rep,name=fee,proto3" json:"fee,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) GetFee

func (x *Params) GetFee() []*v1beta1.Coin

func (*Params) GetInactivePenaltyDuration

func (x *Params) GetInactivePenaltyDuration() *durationpb.Duration

func (*Params) GetMaxTransitionDuration

func (x *Params) GetMaxTransitionDuration() *durationpb.Duration

func (*Params) GetRewardPercentage

func (x *Params) GetRewardPercentage() 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 QueryClient

type QueryClient interface {
	// Counts queries the number of existing signing.
	Counts(ctx context.Context, in *QueryCountsRequest, opts ...grpc.CallOption) (*QueryCountsResponse, error)
	// Members queries all members.
	Members(ctx context.Context, in *QueryMembersRequest, opts ...grpc.CallOption) (*QueryMembersResponse, error)
	// Member queries the member information of the given address.
	Member(ctx context.Context, in *QueryMemberRequest, opts ...grpc.CallOption) (*QueryMemberResponse, error)
	// CurrentGroup queries the current group information.
	CurrentGroup(ctx context.Context, in *QueryCurrentGroupRequest, opts ...grpc.CallOption) (*QueryCurrentGroupResponse, error)
	// IncomingGroup queries the incoming group information.
	IncomingGroup(ctx context.Context, in *QueryIncomingGroupRequest, opts ...grpc.CallOption) (*QueryIncomingGroupResponse, error)
	// Signing queries the signing result of the given signing request ID.
	Signing(ctx context.Context, in *QuerySigningRequest, opts ...grpc.CallOption) (*QuerySigningResponse, error)
	// GroupTransition queries the group transition information.
	GroupTransition(ctx context.Context, in *QueryGroupTransitionRequest, opts ...grpc.CallOption) (*QueryGroupTransitionResponse, error)
	// Params queries parameters of bandtss 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 {

	// signing_count is total number of signing request submitted to bandtss module
	SigningCount uint64 `protobuf:"varint,1,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) 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 QueryCurrentGroupRequest

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

QueryCurrentGroupRequest is the request type for the Query/CurrentGroup RPC method.

func (*QueryCurrentGroupRequest) Descriptor deprecated

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

Deprecated: Use QueryCurrentGroupRequest.ProtoReflect.Descriptor instead.

func (*QueryCurrentGroupRequest) ProtoMessage

func (*QueryCurrentGroupRequest) ProtoMessage()

func (*QueryCurrentGroupRequest) ProtoReflect

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

func (*QueryCurrentGroupRequest) Reset

func (x *QueryCurrentGroupRequest) Reset()

func (*QueryCurrentGroupRequest) String

func (x *QueryCurrentGroupRequest) String() string

type QueryCurrentGroupResponse

type QueryCurrentGroupResponse struct {

	// group_id is the ID of the current group.
	GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_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.
	PubKey []byte `protobuf:"bytes,4,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	// status is the status of the current group.
	Status v1beta11.GroupStatus `protobuf:"varint,5,opt,name=status,proto3,enum=band.tss.v1beta1.GroupStatus" json:"status,omitempty"`
	// active_time is the timestamp at which the group becomes the current group of the module.
	ActiveTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=active_time,json=activeTime,proto3" json:"active_time,omitempty"`
	// contains filtered or unexported fields
}

QueryCurrentGroupResponse is the response type for the Query/CurrentGroup RPC method.

func (*QueryCurrentGroupResponse) Descriptor deprecated

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

Deprecated: Use QueryCurrentGroupResponse.ProtoReflect.Descriptor instead.

func (*QueryCurrentGroupResponse) GetActiveTime

func (x *QueryCurrentGroupResponse) GetActiveTime() *timestamppb.Timestamp

func (*QueryCurrentGroupResponse) GetGroupId

func (x *QueryCurrentGroupResponse) GetGroupId() uint64

func (*QueryCurrentGroupResponse) GetPubKey

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

func (*QueryCurrentGroupResponse) GetSize

func (x *QueryCurrentGroupResponse) GetSize() uint64

func (*QueryCurrentGroupResponse) GetStatus

func (*QueryCurrentGroupResponse) GetThreshold

func (x *QueryCurrentGroupResponse) GetThreshold() uint64

func (*QueryCurrentGroupResponse) ProtoMessage

func (*QueryCurrentGroupResponse) ProtoMessage()

func (*QueryCurrentGroupResponse) ProtoReflect

func (*QueryCurrentGroupResponse) Reset

func (x *QueryCurrentGroupResponse) Reset()

func (*QueryCurrentGroupResponse) String

func (x *QueryCurrentGroupResponse) String() string

type QueryGroupTransitionRequest

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

QueryGroupTransitionRequest is the request type for the Query/GroupTransition RPC method.

func (*QueryGroupTransitionRequest) Descriptor deprecated

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

Deprecated: Use QueryGroupTransitionRequest.ProtoReflect.Descriptor instead.

func (*QueryGroupTransitionRequest) ProtoMessage

func (*QueryGroupTransitionRequest) ProtoMessage()

func (*QueryGroupTransitionRequest) ProtoReflect

func (*QueryGroupTransitionRequest) Reset

func (x *QueryGroupTransitionRequest) Reset()

func (*QueryGroupTransitionRequest) String

func (x *QueryGroupTransitionRequest) String() string

type QueryGroupTransitionResponse

type QueryGroupTransitionResponse struct {

	// group_transition is the group transition information.
	GroupTransition *GroupTransition `protobuf:"bytes,1,opt,name=group_transition,json=groupTransition,proto3" json:"group_transition,omitempty"`
	// contains filtered or unexported fields
}

QueryGroupTransitionResponse is the response type for the Query/GroupTransition RPC method.

func (*QueryGroupTransitionResponse) Descriptor deprecated

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

Deprecated: Use QueryGroupTransitionResponse.ProtoReflect.Descriptor instead.

func (*QueryGroupTransitionResponse) GetGroupTransition

func (x *QueryGroupTransitionResponse) GetGroupTransition() *GroupTransition

func (*QueryGroupTransitionResponse) ProtoMessage

func (*QueryGroupTransitionResponse) ProtoMessage()

func (*QueryGroupTransitionResponse) ProtoReflect

func (*QueryGroupTransitionResponse) Reset

func (x *QueryGroupTransitionResponse) Reset()

func (*QueryGroupTransitionResponse) String

type QueryIncomingGroupRequest

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

QueryIncomingGroupRequest is the request type for the Query/IncomingGroup RPC method.

func (*QueryIncomingGroupRequest) Descriptor deprecated

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

Deprecated: Use QueryIncomingGroupRequest.ProtoReflect.Descriptor instead.

func (*QueryIncomingGroupRequest) ProtoMessage

func (*QueryIncomingGroupRequest) ProtoMessage()

func (*QueryIncomingGroupRequest) ProtoReflect

func (*QueryIncomingGroupRequest) Reset

func (x *QueryIncomingGroupRequest) Reset()

func (*QueryIncomingGroupRequest) String

func (x *QueryIncomingGroupRequest) String() string

type QueryIncomingGroupResponse

type QueryIncomingGroupResponse struct {

	// group_id is the ID of the incoming group.
	GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_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.
	PubKey []byte `protobuf:"bytes,4,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	// status is the status of the incoming group.
	Status v1beta11.GroupStatus `protobuf:"varint,5,opt,name=status,proto3,enum=band.tss.v1beta1.GroupStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

QueryIncomingGroupResponse is the response type for the Query/IncomingGroup RPC method.

func (*QueryIncomingGroupResponse) Descriptor deprecated

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

Deprecated: Use QueryIncomingGroupResponse.ProtoReflect.Descriptor instead.

func (*QueryIncomingGroupResponse) GetGroupId

func (x *QueryIncomingGroupResponse) GetGroupId() uint64

func (*QueryIncomingGroupResponse) GetPubKey

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

func (*QueryIncomingGroupResponse) GetSize

func (x *QueryIncomingGroupResponse) GetSize() uint64

func (*QueryIncomingGroupResponse) GetStatus

func (*QueryIncomingGroupResponse) GetThreshold

func (x *QueryIncomingGroupResponse) GetThreshold() uint64

func (*QueryIncomingGroupResponse) ProtoMessage

func (*QueryIncomingGroupResponse) ProtoMessage()

func (*QueryIncomingGroupResponse) ProtoReflect

func (*QueryIncomingGroupResponse) Reset

func (x *QueryIncomingGroupResponse) Reset()

func (*QueryIncomingGroupResponse) String

func (x *QueryIncomingGroupResponse) String() string

type QueryMemberRequest

type QueryMemberRequest struct {

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

QueryMemberRequest is the request type for the Query/Member RPC method.

func (*QueryMemberRequest) Descriptor deprecated

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

Deprecated: Use QueryMemberRequest.ProtoReflect.Descriptor instead.

func (*QueryMemberRequest) GetAddress

func (x *QueryMemberRequest) GetAddress() string

func (*QueryMemberRequest) ProtoMessage

func (*QueryMemberRequest) ProtoMessage()

func (*QueryMemberRequest) ProtoReflect

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

func (*QueryMemberRequest) Reset

func (x *QueryMemberRequest) Reset()

func (*QueryMemberRequest) String

func (x *QueryMemberRequest) String() string

type QueryMemberResponse

type QueryMemberResponse struct {

	// current_group_member is the member detail.
	CurrentGroupMember *Member `protobuf:"bytes,1,opt,name=current_group_member,json=currentGroupMember,proto3" json:"current_group_member,omitempty"`
	// incoming_group_member is the member detail.
	IncomingGroupMember *Member `protobuf:"bytes,2,opt,name=incoming_group_member,json=incomingGroupMember,proto3" json:"incoming_group_member,omitempty"`
	// contains filtered or unexported fields
}

QueryMemberResponse is the response type for the Query/Member RPC method.

func (*QueryMemberResponse) Descriptor deprecated

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

Deprecated: Use QueryMemberResponse.ProtoReflect.Descriptor instead.

func (*QueryMemberResponse) GetCurrentGroupMember

func (x *QueryMemberResponse) GetCurrentGroupMember() *Member

func (*QueryMemberResponse) GetIncomingGroupMember

func (x *QueryMemberResponse) GetIncomingGroupMember() *Member

func (*QueryMemberResponse) ProtoMessage

func (*QueryMemberResponse) ProtoMessage()

func (*QueryMemberResponse) ProtoReflect

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

func (*QueryMemberResponse) Reset

func (x *QueryMemberResponse) Reset()

func (*QueryMemberResponse) String

func (x *QueryMemberResponse) String() string

type QueryMembersRequest

type QueryMembersRequest struct {

	// status define type of filter on member's status.
	Status MemberStatusFilter `protobuf:"varint,1,opt,name=status,proto3,enum=band.bandtss.v1beta1.MemberStatusFilter" json:"status,omitempty"`
	// is_incoming_group is a flag to indicate whether user query members in the incoming group
	// or the current group.
	IsIncomingGroup bool `protobuf:"varint,2,opt,name=is_incoming_group,json=isIncomingGroup,proto3" json:"is_incoming_group,omitempty"`
	// pagination defines pagination settings for the request.
	Pagination *v1beta1.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,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) GetIsIncomingGroup

func (x *QueryMembersRequest) GetIsIncomingGroup() bool

func (*QueryMembersRequest) GetPagination

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

func (*QueryMembersRequest) GetStatus

func (x *QueryMembersRequest) GetStatus() MemberStatusFilter

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 those individuals who correspond to the provided is_active status.
	Members []*Member `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,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) GetPagination

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

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

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

func (*QueryParamsResponse) Descriptor deprecated

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

Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.

func (*QueryParamsResponse) GetParams

func (x *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) ProtoReflect

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

func (*QueryParamsResponse) Reset

func (x *QueryParamsResponse) Reset()

func (*QueryParamsResponse) String

func (x *QueryParamsResponse) String() string

type QueryServer

type QueryServer interface {
	// Counts queries the number of existing signing.
	Counts(context.Context, *QueryCountsRequest) (*QueryCountsResponse, error)
	// Members queries all members.
	Members(context.Context, *QueryMembersRequest) (*QueryMembersResponse, error)
	// Member queries the member information of the given address.
	Member(context.Context, *QueryMemberRequest) (*QueryMemberResponse, error)
	// CurrentGroup queries the current group information.
	CurrentGroup(context.Context, *QueryCurrentGroupRequest) (*QueryCurrentGroupResponse, error)
	// IncomingGroup queries the incoming group information.
	IncomingGroup(context.Context, *QueryIncomingGroupRequest) (*QueryIncomingGroupResponse, error)
	// Signing queries the signing result of the given signing request ID.
	Signing(context.Context, *QuerySigningRequest) (*QuerySigningResponse, error)
	// GroupTransition queries the group transition information.
	GroupTransition(context.Context, *QueryGroupTransitionRequest) (*QueryGroupTransitionResponse, error)
	// Params queries parameters of bandtss 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
}

QuerySingingRequest 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 {

	// fee_per_signer is the tokens that will be paid per signer for this bandtss signing.
	FeePerSigner []*v1beta12.Coin `protobuf:"bytes,1,rep,name=fee_per_signer,json=feePerSigner,proto3" json:"fee_per_signer,omitempty"`
	// requester is the address of requester who paid for bandtss signing.
	Requester string `protobuf:"bytes,2,opt,name=requester,proto3" json:"requester,omitempty"`
	// current_group_signing_result is the signing result from the current group.
	CurrentGroupSigningResult *v1beta11.SigningResult `` /* 140-byte string literal not displayed */
	// incoming_group_signing_result is the signing result from the incoming group.
	IncomingGroupSigningResult *v1beta11.SigningResult `` /* 143-byte string literal not displayed */
	// 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) GetCurrentGroupSigningResult

func (x *QuerySigningResponse) GetCurrentGroupSigningResult() *v1beta11.SigningResult

func (*QuerySigningResponse) GetFeePerSigner

func (x *QuerySigningResponse) GetFeePerSigner() []*v1beta12.Coin

func (*QuerySigningResponse) GetIncomingGroupSigningResult

func (x *QuerySigningResponse) GetIncomingGroupSigningResult() *v1beta11.SigningResult

func (*QuerySigningResponse) GetRequester

func (x *QuerySigningResponse) GetRequester() string

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 Signing

type Signing struct {

	// id is the unique identifier of the bandtss signing.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// fee_per_signer is the tokens that will be paid per signer for this bandtss signing.
	FeePerSigner []*v1beta1.Coin `protobuf:"bytes,2,rep,name=fee_per_signer,json=feePerSigner,proto3" json:"fee_per_signer,omitempty"`
	// requester is the address who pays the Bandtss signing.
	Requester string `protobuf:"bytes,3,opt,name=requester,proto3" json:"requester,omitempty"`
	// current_group_signing_id is a tss signing ID of a current group.
	CurrentGroupSigningId uint64 `` /* 129-byte string literal not displayed */
	// incoming_group_signing_id is a tss signing ID of an incoming group, if any.
	IncomingGroupSigningId uint64 `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

Signing is a bandtss signing information.

func (*Signing) Descriptor deprecated

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

Deprecated: Use Signing.ProtoReflect.Descriptor instead.

func (*Signing) GetCurrentGroupSigningId

func (x *Signing) GetCurrentGroupSigningId() uint64

func (*Signing) GetFeePerSigner

func (x *Signing) GetFeePerSigner() []*v1beta1.Coin

func (*Signing) GetId

func (x *Signing) GetId() uint64

func (*Signing) GetIncomingGroupSigningId

func (x *Signing) GetIncomingGroupSigningId() uint64

func (*Signing) GetRequester

func (x *Signing) GetRequester() string

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 TransitionStatus

type TransitionStatus int32

TransitionStatus is an enumeration of the possible statuses of a group transition process.

const (
	// TRANSITION_STATUS_UNSPECIFIED is the status of a group transition that has not been specified.
	TransitionStatus_TRANSITION_STATUS_UNSPECIFIED TransitionStatus = 0
	// TRANSITION_STATUS_CREATING_GROUP is the status of a group transition that a new group
	// is being created.
	TransitionStatus_TRANSITION_STATUS_CREATING_GROUP TransitionStatus = 1
	// TRANSITION_STATUS_WAITING_SIGN is the status of a group transition that waits members in
	// a current group to sign the transition message.
	TransitionStatus_TRANSITION_STATUS_WAITING_SIGN TransitionStatus = 2
	// TRANSITION_STATUS_WAITING_EXECUTION is the status of a group transition that
	// a transition process is completed, either from a forceTransition or having a current-group
	// signature on a transition message, but waits for the execution time.
	TransitionStatus_TRANSITION_STATUS_WAITING_EXECUTION TransitionStatus = 3
)

func (TransitionStatus) Descriptor

func (TransitionStatus) Enum

func (TransitionStatus) EnumDescriptor deprecated

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

Deprecated: Use TransitionStatus.Descriptor instead.

func (TransitionStatus) Number

func (TransitionStatus) String

func (x TransitionStatus) String() string

func (TransitionStatus) Type

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) Activate

func (UnimplementedMsgServer) RequestSignature

func (UnimplementedMsgServer) TransitionGroup

func (UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) Counts

func (UnimplementedQueryServer) Member

func (UnimplementedQueryServer) Members

func (UnimplementedQueryServer) Params

func (UnimplementedQueryServer) Signing

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