uvalidatorv1

package
v0.0.41 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 18 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.

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

Index

Constants

View Source
const (
	Query_Params_FullMethodName                 = "/uvalidator.v1.Query/Params"
	Query_UniversalValidator_FullMethodName     = "/uvalidator.v1.Query/UniversalValidator"
	Query_AllUniversalValidators_FullMethodName = "/uvalidator.v1.Query/AllUniversalValidators"
	Query_Ballot_FullMethodName                 = "/uvalidator.v1.Query/Ballot"
	Query_AllBallots_FullMethodName             = "/uvalidator.v1.Query/AllBallots"
	Query_AllActiveBallotIDs_FullMethodName     = "/uvalidator.v1.Query/AllActiveBallotIDs"
	Query_AllActiveBallots_FullMethodName       = "/uvalidator.v1.Query/AllActiveBallots"
	Query_AllExpiredBallotIDs_FullMethodName    = "/uvalidator.v1.Query/AllExpiredBallotIDs"
	Query_AllExpiredBallots_FullMethodName      = "/uvalidator.v1.Query/AllExpiredBallots"
	Query_AllFinalizedBallotIDs_FullMethodName  = "/uvalidator.v1.Query/AllFinalizedBallotIDs"
	Query_AllFinalizedBallots_FullMethodName    = "/uvalidator.v1.Query/AllFinalizedBallots"
)
View Source
const (
	Msg_UpdateParams_FullMethodName                   = "/uvalidator.v1.Msg/UpdateParams"
	Msg_AddUniversalValidator_FullMethodName          = "/uvalidator.v1.Msg/AddUniversalValidator"
	Msg_UpdateUniversalValidator_FullMethodName       = "/uvalidator.v1.Msg/UpdateUniversalValidator"
	Msg_UpdateUniversalValidatorStatus_FullMethodName = "/uvalidator.v1.Msg/UpdateUniversalValidatorStatus"
	Msg_RemoveUniversalValidator_FullMethodName       = "/uvalidator.v1.Msg/RemoveUniversalValidator"
	Msg_RecomputeBallotQuorum_FullMethodName          = "/uvalidator.v1.Msg/RecomputeBallotQuorum"
)

Variables

View Source
var (
	BallotStatus_name = map[int32]string{
		0: "BALLOT_STATUS_UNSPECIFIED",
		1: "BALLOT_STATUS_PENDING",
		2: "BALLOT_STATUS_PASSED",
		3: "BALLOT_STATUS_REJECTED",
		4: "BALLOT_STATUS_EXPIRED",
	}
	BallotStatus_value = map[string]int32{
		"BALLOT_STATUS_UNSPECIFIED": 0,
		"BALLOT_STATUS_PENDING":     1,
		"BALLOT_STATUS_PASSED":      2,
		"BALLOT_STATUS_REJECTED":    3,
		"BALLOT_STATUS_EXPIRED":     4,
	}
)

Enum value maps for BallotStatus.

View Source
var (
	BallotObservationType_name = map[int32]string{
		0: "BALLOT_OBSERVATION_TYPE_UNSPECIFIED",
		1: "BALLOT_OBSERVATION_TYPE_INBOUND_TX",
		2: "BALLOT_OBSERVATION_TYPE_OUTBOUND_TX",
		3: "BALLOT_OBSERVATION_TYPE_TSS_KEY",
		4: "BALLOT_OBSERVATION_TYPE_FUND_MIGRATION",
	}
	BallotObservationType_value = map[string]int32{
		"BALLOT_OBSERVATION_TYPE_UNSPECIFIED":    0,
		"BALLOT_OBSERVATION_TYPE_INBOUND_TX":     1,
		"BALLOT_OBSERVATION_TYPE_OUTBOUND_TX":    2,
		"BALLOT_OBSERVATION_TYPE_TSS_KEY":        3,
		"BALLOT_OBSERVATION_TYPE_FUND_MIGRATION": 4,
	}
)

Enum value maps for BallotObservationType.

View Source
var (
	VoteResult_name = map[int32]string{
		0: "VOTE_RESULT_NOT_YET_VOTED",
		1: "VOTE_RESULT_SUCCESS",
		2: "VOTE_RESULT_FAILURE",
	}
	VoteResult_value = map[string]int32{
		"VOTE_RESULT_NOT_YET_VOTED": 0,
		"VOTE_RESULT_SUCCESS":       1,
		"VOTE_RESULT_FAILURE":       2,
	}
)

Enum value maps for VoteResult.

View Source
var (
	UVStatus_name = map[int32]string{
		0: "UV_STATUS_UNSPECIFIED",
		1: "UV_STATUS_ACTIVE",
		2: "UV_STATUS_PENDING_JOIN",
		3: "UV_STATUS_PENDING_LEAVE",
		4: "UV_STATUS_INACTIVE",
	}
	UVStatus_value = map[string]int32{
		"UV_STATUS_UNSPECIFIED":   0,
		"UV_STATUS_ACTIVE":        1,
		"UV_STATUS_PENDING_JOIN":  2,
		"UV_STATUS_PENDING_LEAVE": 3,
		"UV_STATUS_INACTIVE":      4,
	}
)

Enum value maps for UVStatus.

View Source
var (
	TransitionReason_name = map[int32]string{
		0: "TRANSITION_REASON_UNSPECIFIED",
		1: "TRANSITION_REASON_ADMIN",
		2: "TRANSITION_REASON_STAKING_HOOK",
	}
	TransitionReason_value = map[string]int32{
		"TRANSITION_REASON_UNSPECIFIED":  0,
		"TRANSITION_REASON_ADMIN":        1,
		"TRANSITION_REASON_STAKING_HOOK": 2,
	}
)

Enum value maps for TransitionReason.

View Source
var File_uvalidator_v1_ballot_proto protoreflect.FileDescriptor
View Source
var File_uvalidator_v1_genesis_proto protoreflect.FileDescriptor
View Source
var File_uvalidator_v1_query_proto protoreflect.FileDescriptor
View Source
var File_uvalidator_v1_tx_proto protoreflect.FileDescriptor
View Source
var File_uvalidator_v1_types_proto protoreflect.FileDescriptor
View Source
var File_uvalidator_v1_validator_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "uvalidator.v1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
		{
			MethodName: "AddUniversalValidator",
			Handler:    _Msg_AddUniversalValidator_Handler,
		},
		{
			MethodName: "UpdateUniversalValidator",
			Handler:    _Msg_UpdateUniversalValidator_Handler,
		},
		{
			MethodName: "UpdateUniversalValidatorStatus",
			Handler:    _Msg_UpdateUniversalValidatorStatus_Handler,
		},
		{
			MethodName: "RemoveUniversalValidator",
			Handler:    _Msg_RemoveUniversalValidator_Handler,
		},
		{
			MethodName: "RecomputeBallotQuorum",
			Handler:    _Msg_RecomputeBallotQuorum_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "uvalidator/v1/tx.proto",
}

Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "uvalidator.v1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
		{
			MethodName: "UniversalValidator",
			Handler:    _Query_UniversalValidator_Handler,
		},
		{
			MethodName: "AllUniversalValidators",
			Handler:    _Query_AllUniversalValidators_Handler,
		},
		{
			MethodName: "Ballot",
			Handler:    _Query_Ballot_Handler,
		},
		{
			MethodName: "AllBallots",
			Handler:    _Query_AllBallots_Handler,
		},
		{
			MethodName: "AllActiveBallotIDs",
			Handler:    _Query_AllActiveBallotIDs_Handler,
		},
		{
			MethodName: "AllActiveBallots",
			Handler:    _Query_AllActiveBallots_Handler,
		},
		{
			MethodName: "AllExpiredBallotIDs",
			Handler:    _Query_AllExpiredBallotIDs_Handler,
		},
		{
			MethodName: "AllExpiredBallots",
			Handler:    _Query_AllExpiredBallots_Handler,
		},
		{
			MethodName: "AllFinalizedBallotIDs",
			Handler:    _Query_AllFinalizedBallotIDs_Handler,
		},
		{
			MethodName: "AllFinalizedBallots",
			Handler:    _Query_AllFinalizedBallots_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "uvalidator/v1/query.proto",
}

Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type Ballot

type Ballot struct {
	Id         string                `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Unique ID (e.g., txHash, messageHash)
	BallotType BallotObservationType ``                                                          // Type of ballot
	/* 133-byte string literal not displayed */
	EligibleVoters     []string     `protobuf:"bytes,3,rep,name=eligible_voters,json=eligibleVoters,proto3" json:"eligible_voters,omitempty"`                // Snapshot of allowed voters at creation
	Votes              []VoteResult `protobuf:"varint,4,rep,packed,name=votes,proto3,enum=uvalidator.v1.VoteResult" json:"votes,omitempty"`                  // Parallel array to voter_list (same index = same voter)
	VotingThreshold    int64        `protobuf:"varint,5,opt,name=voting_threshold,json=votingThreshold,proto3" json:"voting_threshold,omitempty"`            // Required fraction (e.g., 0.66)
	Status             BallotStatus `protobuf:"varint,6,opt,name=status,proto3,enum=uvalidator.v1.BallotStatus" json:"status,omitempty"`                     // Lifecycle status of the ballot
	BlockHeightCreated int64        `protobuf:"varint,7,opt,name=block_height_created,json=blockHeightCreated,proto3" json:"block_height_created,omitempty"` // Creation block height
	BlockHeightExpiry  int64        `protobuf:"varint,8,opt,name=block_height_expiry,json=blockHeightExpiry,proto3" json:"block_height_expiry,omitempty"`    // Expiry block height
	// contains filtered or unexported fields
}

--------------------------- Core Ballot Message (Indexed Voting Approach) ---------------------------

func (*Ballot) Descriptor deprecated

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

Deprecated: Use Ballot.ProtoReflect.Descriptor instead.

func (*Ballot) GetBallotType

func (x *Ballot) GetBallotType() BallotObservationType

func (*Ballot) GetBlockHeightCreated

func (x *Ballot) GetBlockHeightCreated() int64

func (*Ballot) GetBlockHeightExpiry

func (x *Ballot) GetBlockHeightExpiry() int64

func (*Ballot) GetEligibleVoters

func (x *Ballot) GetEligibleVoters() []string

func (*Ballot) GetId

func (x *Ballot) GetId() string

func (*Ballot) GetStatus

func (x *Ballot) GetStatus() BallotStatus

func (*Ballot) GetVotes

func (x *Ballot) GetVotes() []VoteResult

func (*Ballot) GetVotingThreshold

func (x *Ballot) GetVotingThreshold() int64

func (*Ballot) ProtoMessage

func (*Ballot) ProtoMessage()

func (*Ballot) ProtoReflect

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

func (*Ballot) Reset

func (x *Ballot) Reset()

func (*Ballot) String

func (x *Ballot) String() string

type BallotObservationType

type BallotObservationType int32

--------------------------- Ballot Observation Type ---------------------------

const (
	BallotObservationType_BALLOT_OBSERVATION_TYPE_UNSPECIFIED    BallotObservationType = 0
	BallotObservationType_BALLOT_OBSERVATION_TYPE_INBOUND_TX     BallotObservationType = 1
	BallotObservationType_BALLOT_OBSERVATION_TYPE_OUTBOUND_TX    BallotObservationType = 2
	BallotObservationType_BALLOT_OBSERVATION_TYPE_TSS_KEY        BallotObservationType = 3
	BallotObservationType_BALLOT_OBSERVATION_TYPE_FUND_MIGRATION BallotObservationType = 4
)

func (BallotObservationType) Descriptor

func (BallotObservationType) Enum

func (BallotObservationType) EnumDescriptor deprecated

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

Deprecated: Use BallotObservationType.Descriptor instead.

func (BallotObservationType) Number

func (BallotObservationType) String

func (x BallotObservationType) String() string

func (BallotObservationType) Type

type BallotStatus

type BallotStatus int32

--------------------------- Ballot Status Enum ---------------------------

const (
	BallotStatus_BALLOT_STATUS_UNSPECIFIED BallotStatus = 0
	BallotStatus_BALLOT_STATUS_PENDING     BallotStatus = 1 // Ballot is collecting votes
	BallotStatus_BALLOT_STATUS_PASSED      BallotStatus = 2 // Ballot reached success threshold
	BallotStatus_BALLOT_STATUS_REJECTED    BallotStatus = 3 // Ballot reached failure threshold
	BallotStatus_BALLOT_STATUS_EXPIRED     BallotStatus = 4 // Ballot expired without quorum
)

func (BallotStatus) Descriptor

func (BallotStatus) Enum

func (x BallotStatus) Enum() *BallotStatus

func (BallotStatus) EnumDescriptor deprecated

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

Deprecated: Use BallotStatus.Descriptor instead.

func (BallotStatus) Number

func (BallotStatus) String

func (x BallotStatus) String() string

func (BallotStatus) Type

type GenesisState

type GenesisState struct {

	// Params defines all the parameters of the module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// universal_validators are key-value pairs from the UniversalValidatorSet Map.
	UniversalValidators []*UniversalValidatorEntry `protobuf:"bytes,2,rep,name=universal_validators,json=universalValidators,proto3" json:"universal_validators,omitempty"`
	// ballots are key-value pairs from the Ballots Map.
	Ballots []*Ballot `protobuf:"bytes,3,rep,name=ballots,proto3" json:"ballots,omitempty"`
	// active_ballot_ids are keys from the ActiveBallotIDs KeySet.
	ActiveBallotIds []string `protobuf:"bytes,4,rep,name=active_ballot_ids,json=activeBallotIds,proto3" json:"active_ballot_ids,omitempty"`
	// expired_ballot_ids are keys from the ExpiredBallotIDs KeySet.
	ExpiredBallotIds []string `protobuf:"bytes,5,rep,name=expired_ballot_ids,json=expiredBallotIds,proto3" json:"expired_ballot_ids,omitempty"`
	// finalized_ballot_ids are keys from the FinalizedBallotIDs KeySet.
	FinalizedBallotIds []string `protobuf:"bytes,6,rep,name=finalized_ballot_ids,json=finalizedBallotIds,proto3" json:"finalized_ballot_ids,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the module genesis state

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetActiveBallotIds added in v0.0.23

func (x *GenesisState) GetActiveBallotIds() []string

func (*GenesisState) GetBallots added in v0.0.23

func (x *GenesisState) GetBallots() []*Ballot

func (*GenesisState) GetExpiredBallotIds added in v0.0.23

func (x *GenesisState) GetExpiredBallotIds() []string

func (*GenesisState) GetFinalizedBallotIds added in v0.0.23

func (x *GenesisState) GetFinalizedBallotIds() []string

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

func (*GenesisState) GetUniversalValidators added in v0.0.23

func (x *GenesisState) GetUniversalValidators() []*UniversalValidatorEntry

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 IdentityInfo

type IdentityInfo struct {
	CoreValidatorAddress string `protobuf:"bytes,1,opt,name=core_validator_address,json=coreValidatorAddress,proto3" json:"core_validator_address,omitempty"` // Core validator address
	// contains filtered or unexported fields
}

Identity info for validator (chain-level)

func (*IdentityInfo) Descriptor deprecated

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

Deprecated: Use IdentityInfo.ProtoReflect.Descriptor instead.

func (*IdentityInfo) GetCoreValidatorAddress

func (x *IdentityInfo) GetCoreValidatorAddress() string

func (*IdentityInfo) ProtoMessage

func (*IdentityInfo) ProtoMessage()

func (*IdentityInfo) ProtoReflect

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

func (*IdentityInfo) Reset

func (x *IdentityInfo) Reset()

func (*IdentityInfo) String

func (x *IdentityInfo) String() string

type LifecycleEvent

type LifecycleEvent struct {
	Status      UVStatus         `protobuf:"varint,1,opt,name=status,proto3,enum=uvalidator.v1.UVStatus" json:"status,omitempty"`         // Validator status at this point in time
	BlockHeight int64            `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`        // Block height when this status transition occurred
	Reason      TransitionReason `protobuf:"varint,3,opt,name=reason,proto3,enum=uvalidator.v1.TransitionReason" json:"reason,omitempty"` // Why this transition happened
	// contains filtered or unexported fields
}

Lifecycle event info

func (*LifecycleEvent) Descriptor deprecated

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

Deprecated: Use LifecycleEvent.ProtoReflect.Descriptor instead.

func (*LifecycleEvent) GetBlockHeight

func (x *LifecycleEvent) GetBlockHeight() int64

func (*LifecycleEvent) GetReason added in v0.0.40

func (x *LifecycleEvent) GetReason() TransitionReason

func (*LifecycleEvent) GetStatus

func (x *LifecycleEvent) GetStatus() UVStatus

func (*LifecycleEvent) ProtoMessage

func (*LifecycleEvent) ProtoMessage()

func (*LifecycleEvent) ProtoReflect

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

func (*LifecycleEvent) Reset

func (x *LifecycleEvent) Reset()

func (*LifecycleEvent) String

func (x *LifecycleEvent) String() string

type LifecycleInfo

type LifecycleInfo struct {
	CurrentStatus UVStatus `` // Current validator state
	/* 129-byte string literal not displayed */
	History []*LifecycleEvent `protobuf:"bytes,2,rep,name=history,proto3" json:"history,omitempty"` // Added to registry
	// contains filtered or unexported fields
}

Validator lifecycle info

func (*LifecycleInfo) Descriptor deprecated

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

Deprecated: Use LifecycleInfo.ProtoReflect.Descriptor instead.

func (*LifecycleInfo) GetCurrentStatus

func (x *LifecycleInfo) GetCurrentStatus() UVStatus

func (*LifecycleInfo) GetHistory

func (x *LifecycleInfo) GetHistory() []*LifecycleEvent

func (*LifecycleInfo) ProtoMessage

func (*LifecycleInfo) ProtoMessage()

func (*LifecycleInfo) ProtoReflect

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

func (*LifecycleInfo) Reset

func (x *LifecycleInfo) Reset()

func (*LifecycleInfo) String

func (x *LifecycleInfo) String() string

type MsgAddUniversalValidator

type MsgAddUniversalValidator struct {

	// signer is the address authorized to execute this message
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	// core_validator_address is the address of the core validator.
	CoreValidatorAddress string `protobuf:"bytes,2,opt,name=core_validator_address,json=coreValidatorAddress,proto3" json:"core_validator_address,omitempty"`
	// network metadata for validator node (IP, etc.)
	Network *NetworkInfo `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgAddUniversalValidator) Descriptor deprecated

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

Deprecated: Use MsgAddUniversalValidator.ProtoReflect.Descriptor instead.

func (*MsgAddUniversalValidator) GetCoreValidatorAddress

func (x *MsgAddUniversalValidator) GetCoreValidatorAddress() string

func (*MsgAddUniversalValidator) GetNetwork

func (x *MsgAddUniversalValidator) GetNetwork() *NetworkInfo

func (*MsgAddUniversalValidator) GetSigner

func (x *MsgAddUniversalValidator) GetSigner() string

func (*MsgAddUniversalValidator) ProtoMessage

func (*MsgAddUniversalValidator) ProtoMessage()

func (*MsgAddUniversalValidator) ProtoReflect

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

func (*MsgAddUniversalValidator) Reset

func (x *MsgAddUniversalValidator) Reset()

func (*MsgAddUniversalValidator) String

func (x *MsgAddUniversalValidator) String() string

type MsgAddUniversalValidatorResponse

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

func (*MsgAddUniversalValidatorResponse) Descriptor deprecated

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

Deprecated: Use MsgAddUniversalValidatorResponse.ProtoReflect.Descriptor instead.

func (*MsgAddUniversalValidatorResponse) ProtoMessage

func (*MsgAddUniversalValidatorResponse) ProtoMessage()

func (*MsgAddUniversalValidatorResponse) ProtoReflect

func (*MsgAddUniversalValidatorResponse) Reset

func (*MsgAddUniversalValidatorResponse) String

type MsgClient

type MsgClient interface {
	// UpdateParams defines a governance operation for updating the parameters.
	//
	// Since: cosmos-sdk 0.47
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
	// AddUniversalValidator defines a message to add a universal validator.
	AddUniversalValidator(ctx context.Context, in *MsgAddUniversalValidator, opts ...grpc.CallOption) (*MsgAddUniversalValidatorResponse, error)
	// UpdateUniversalValidator defines a message to update a universal validator.
	UpdateUniversalValidator(ctx context.Context, in *MsgUpdateUniversalValidator, opts ...grpc.CallOption) (*MsgUpdateUniversalValidatorResponse, error)
	// UpdateUniversalValidatorStatus defines a message to update a universal validator status.
	UpdateUniversalValidatorStatus(ctx context.Context, in *MsgUpdateUniversalValidatorStatus, opts ...grpc.CallOption) (*MsgUpdateUniversalValidatorStatusResponse, error)
	// RemoveUniversalValidator defines a message to remove a universal validator.
	RemoveUniversalValidator(ctx context.Context, in *MsgRemoveUniversalValidator, opts ...grpc.CallOption) (*MsgRemoveUniversalValidatorResponse, error)
	// RecomputeBallotQuorum recomputes a pending ballot's eligible voters and
	// voting threshold against the current eligible-voter set. Used as an admin
	// escape hatch for ballots that became stuck due to eligibility drift.
	RecomputeBallotQuorum(ctx context.Context, in *MsgRecomputeBallotQuorum, opts ...grpc.CallOption) (*MsgRecomputeBallotQuorumResponse, 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 MsgRecomputeBallotQuorum added in v0.0.40

type MsgRecomputeBallotQuorum struct {

	// signer must equal Params.Admin
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	// ballot_id of the stuck pending ballot to recompute
	BallotId string `protobuf:"bytes,2,opt,name=ballot_id,json=ballotId,proto3" json:"ballot_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgRecomputeBallotQuorum) Descriptor deprecated added in v0.0.40

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

Deprecated: Use MsgRecomputeBallotQuorum.ProtoReflect.Descriptor instead.

func (*MsgRecomputeBallotQuorum) GetBallotId added in v0.0.40

func (x *MsgRecomputeBallotQuorum) GetBallotId() string

func (*MsgRecomputeBallotQuorum) GetSigner added in v0.0.40

func (x *MsgRecomputeBallotQuorum) GetSigner() string

func (*MsgRecomputeBallotQuorum) ProtoMessage added in v0.0.40

func (*MsgRecomputeBallotQuorum) ProtoMessage()

func (*MsgRecomputeBallotQuorum) ProtoReflect added in v0.0.40

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

func (*MsgRecomputeBallotQuorum) Reset added in v0.0.40

func (x *MsgRecomputeBallotQuorum) Reset()

func (*MsgRecomputeBallotQuorum) String added in v0.0.40

func (x *MsgRecomputeBallotQuorum) String() string

type MsgRecomputeBallotQuorumResponse added in v0.0.40

type MsgRecomputeBallotQuorumResponse struct {
	OldEligibleCount   int64        `protobuf:"varint,1,opt,name=old_eligible_count,json=oldEligibleCount,proto3" json:"old_eligible_count,omitempty"`
	NewEligibleCount   int64        `protobuf:"varint,2,opt,name=new_eligible_count,json=newEligibleCount,proto3" json:"new_eligible_count,omitempty"`
	OldVotingThreshold int64        `protobuf:"varint,3,opt,name=old_voting_threshold,json=oldVotingThreshold,proto3" json:"old_voting_threshold,omitempty"`
	NewVotingThreshold int64        `protobuf:"varint,4,opt,name=new_voting_threshold,json=newVotingThreshold,proto3" json:"new_voting_threshold,omitempty"`
	NewStatus          BallotStatus `protobuf:"varint,5,opt,name=new_status,json=newStatus,proto3,enum=uvalidator.v1.BallotStatus" json:"new_status,omitempty"` // PENDING (recomputed) or EXPIRED (zero eligible)
	// contains filtered or unexported fields
}

func (*MsgRecomputeBallotQuorumResponse) Descriptor deprecated added in v0.0.40

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

Deprecated: Use MsgRecomputeBallotQuorumResponse.ProtoReflect.Descriptor instead.

func (*MsgRecomputeBallotQuorumResponse) GetNewEligibleCount added in v0.0.40

func (x *MsgRecomputeBallotQuorumResponse) GetNewEligibleCount() int64

func (*MsgRecomputeBallotQuorumResponse) GetNewStatus added in v0.0.40

func (*MsgRecomputeBallotQuorumResponse) GetNewVotingThreshold added in v0.0.40

func (x *MsgRecomputeBallotQuorumResponse) GetNewVotingThreshold() int64

func (*MsgRecomputeBallotQuorumResponse) GetOldEligibleCount added in v0.0.40

func (x *MsgRecomputeBallotQuorumResponse) GetOldEligibleCount() int64

func (*MsgRecomputeBallotQuorumResponse) GetOldVotingThreshold added in v0.0.40

func (x *MsgRecomputeBallotQuorumResponse) GetOldVotingThreshold() int64

func (*MsgRecomputeBallotQuorumResponse) ProtoMessage added in v0.0.40

func (*MsgRecomputeBallotQuorumResponse) ProtoMessage()

func (*MsgRecomputeBallotQuorumResponse) ProtoReflect added in v0.0.40

func (*MsgRecomputeBallotQuorumResponse) Reset added in v0.0.40

func (*MsgRecomputeBallotQuorumResponse) String added in v0.0.40

type MsgRemoveUniversalValidator

type MsgRemoveUniversalValidator struct {

	// signer is the address authorized to execute this message
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	// core_validator_address is the address of the core validator to be removed.
	CoreValidatorAddress string `protobuf:"bytes,2,opt,name=core_validator_address,json=coreValidatorAddress,proto3" json:"core_validator_address,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgRemoveUniversalValidator) Descriptor deprecated

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

Deprecated: Use MsgRemoveUniversalValidator.ProtoReflect.Descriptor instead.

func (*MsgRemoveUniversalValidator) GetCoreValidatorAddress

func (x *MsgRemoveUniversalValidator) GetCoreValidatorAddress() string

func (*MsgRemoveUniversalValidator) GetSigner

func (x *MsgRemoveUniversalValidator) GetSigner() string

func (*MsgRemoveUniversalValidator) ProtoMessage

func (*MsgRemoveUniversalValidator) ProtoMessage()

func (*MsgRemoveUniversalValidator) ProtoReflect

func (*MsgRemoveUniversalValidator) Reset

func (x *MsgRemoveUniversalValidator) Reset()

func (*MsgRemoveUniversalValidator) String

func (x *MsgRemoveUniversalValidator) String() string

type MsgRemoveUniversalValidatorResponse

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

func (*MsgRemoveUniversalValidatorResponse) Descriptor deprecated

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

Deprecated: Use MsgRemoveUniversalValidatorResponse.ProtoReflect.Descriptor instead.

func (*MsgRemoveUniversalValidatorResponse) ProtoMessage

func (*MsgRemoveUniversalValidatorResponse) ProtoMessage()

func (*MsgRemoveUniversalValidatorResponse) ProtoReflect

func (*MsgRemoveUniversalValidatorResponse) Reset

func (*MsgRemoveUniversalValidatorResponse) String

type MsgServer

type MsgServer interface {
	// UpdateParams defines a governance operation for updating the parameters.
	//
	// Since: cosmos-sdk 0.47
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// AddUniversalValidator defines a message to add a universal validator.
	AddUniversalValidator(context.Context, *MsgAddUniversalValidator) (*MsgAddUniversalValidatorResponse, error)
	// UpdateUniversalValidator defines a message to update a universal validator.
	UpdateUniversalValidator(context.Context, *MsgUpdateUniversalValidator) (*MsgUpdateUniversalValidatorResponse, error)
	// UpdateUniversalValidatorStatus defines a message to update a universal validator status.
	UpdateUniversalValidatorStatus(context.Context, *MsgUpdateUniversalValidatorStatus) (*MsgUpdateUniversalValidatorStatusResponse, error)
	// RemoveUniversalValidator defines a message to remove a universal validator.
	RemoveUniversalValidator(context.Context, *MsgRemoveUniversalValidator) (*MsgRemoveUniversalValidatorResponse, error)
	// RecomputeBallotQuorum recomputes a pending ballot's eligible voters and
	// voting threshold against the current eligible-voter set. Used as an admin
	// escape hatch for ballots that became stuck due to eligibility drift.
	RecomputeBallotQuorum(context.Context, *MsgRecomputeBallotQuorum) (*MsgRecomputeBallotQuorumResponse, error)
	// contains filtered or unexported methods
}

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

type MsgUpdateParams

type MsgUpdateParams struct {

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

MsgUpdateParams is the Msg/UpdateParams request type.

Since: cosmos-sdk 0.47

func (*MsgUpdateParams) Descriptor deprecated

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

Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.

func (*MsgUpdateParams) GetAuthority

func (x *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (x *MsgUpdateParams) GetParams() *Params

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) ProtoReflect

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

func (*MsgUpdateParams) Reset

func (x *MsgUpdateParams) Reset()

func (*MsgUpdateParams) String

func (x *MsgUpdateParams) String() string

type MsgUpdateParamsResponse

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

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

Since: cosmos-sdk 0.47

func (*MsgUpdateParamsResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) ProtoReflect

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

func (*MsgUpdateParamsResponse) Reset

func (x *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) String

func (x *MsgUpdateParamsResponse) String() string

type MsgUpdateUniversalValidator

type MsgUpdateUniversalValidator struct {

	// signer is the address authorized to execute this message
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	// network metadata for validator node
	Network *NetworkInfo `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUpdateUniversalValidator) Descriptor deprecated

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

Deprecated: Use MsgUpdateUniversalValidator.ProtoReflect.Descriptor instead.

func (*MsgUpdateUniversalValidator) GetNetwork

func (x *MsgUpdateUniversalValidator) GetNetwork() *NetworkInfo

func (*MsgUpdateUniversalValidator) GetSigner

func (x *MsgUpdateUniversalValidator) GetSigner() string

func (*MsgUpdateUniversalValidator) ProtoMessage

func (*MsgUpdateUniversalValidator) ProtoMessage()

func (*MsgUpdateUniversalValidator) ProtoReflect

func (*MsgUpdateUniversalValidator) Reset

func (x *MsgUpdateUniversalValidator) Reset()

func (*MsgUpdateUniversalValidator) String

func (x *MsgUpdateUniversalValidator) String() string

type MsgUpdateUniversalValidatorResponse

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

func (*MsgUpdateUniversalValidatorResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateUniversalValidatorResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateUniversalValidatorResponse) ProtoMessage

func (*MsgUpdateUniversalValidatorResponse) ProtoMessage()

func (*MsgUpdateUniversalValidatorResponse) ProtoReflect

func (*MsgUpdateUniversalValidatorResponse) Reset

func (*MsgUpdateUniversalValidatorResponse) String

type MsgUpdateUniversalValidatorStatus

type MsgUpdateUniversalValidatorStatus struct {

	// signer is the address authorized to execute this message
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	// core_validator_address is the address of the core validator whose status is to be updated.
	CoreValidatorAddress string `protobuf:"bytes,2,opt,name=core_validator_address,json=coreValidatorAddress,proto3" json:"core_validator_address,omitempty"`
	// new status of the universal validator
	NewStatus UVStatus `protobuf:"varint,3,opt,name=new_status,json=newStatus,proto3,enum=uvalidator.v1.UVStatus" json:"new_status,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUpdateUniversalValidatorStatus) Descriptor deprecated

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

Deprecated: Use MsgUpdateUniversalValidatorStatus.ProtoReflect.Descriptor instead.

func (*MsgUpdateUniversalValidatorStatus) GetCoreValidatorAddress

func (x *MsgUpdateUniversalValidatorStatus) GetCoreValidatorAddress() string

func (*MsgUpdateUniversalValidatorStatus) GetNewStatus

func (x *MsgUpdateUniversalValidatorStatus) GetNewStatus() UVStatus

func (*MsgUpdateUniversalValidatorStatus) GetSigner

func (*MsgUpdateUniversalValidatorStatus) ProtoMessage

func (*MsgUpdateUniversalValidatorStatus) ProtoMessage()

func (*MsgUpdateUniversalValidatorStatus) ProtoReflect

func (*MsgUpdateUniversalValidatorStatus) Reset

func (*MsgUpdateUniversalValidatorStatus) String

type MsgUpdateUniversalValidatorStatusResponse

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

func (*MsgUpdateUniversalValidatorStatusResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateUniversalValidatorStatusResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateUniversalValidatorStatusResponse) ProtoMessage

func (*MsgUpdateUniversalValidatorStatusResponse) ProtoReflect

func (*MsgUpdateUniversalValidatorStatusResponse) Reset

func (*MsgUpdateUniversalValidatorStatusResponse) String

type NetworkInfo

type NetworkInfo struct {
	PeerId     string   `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	MultiAddrs []string `protobuf:"bytes,2,rep,name=multi_addrs,json=multiAddrs,proto3" json:"multi_addrs,omitempty"`
	// contains filtered or unexported fields
}

Validator network metadata

func (*NetworkInfo) Descriptor deprecated

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

Deprecated: Use NetworkInfo.ProtoReflect.Descriptor instead.

func (*NetworkInfo) GetMultiAddrs

func (x *NetworkInfo) GetMultiAddrs() []string

func (*NetworkInfo) GetPeerId

func (x *NetworkInfo) GetPeerId() string

func (*NetworkInfo) ProtoMessage

func (*NetworkInfo) ProtoMessage()

func (*NetworkInfo) ProtoReflect

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

func (*NetworkInfo) Reset

func (x *NetworkInfo) Reset()

func (*NetworkInfo) String

func (x *NetworkInfo) String() string

type Params

type Params struct {

	// The admin account of the uvalidator module.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,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) GetAdmin

func (x *Params) GetAdmin() string

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

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

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type QueryActiveBallotIDsRequest

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

Active ballots

func (*QueryActiveBallotIDsRequest) Descriptor deprecated

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

Deprecated: Use QueryActiveBallotIDsRequest.ProtoReflect.Descriptor instead.

func (*QueryActiveBallotIDsRequest) GetPagination

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

func (*QueryActiveBallotIDsRequest) ProtoMessage

func (*QueryActiveBallotIDsRequest) ProtoMessage()

func (*QueryActiveBallotIDsRequest) ProtoReflect

func (*QueryActiveBallotIDsRequest) Reset

func (x *QueryActiveBallotIDsRequest) Reset()

func (*QueryActiveBallotIDsRequest) String

func (x *QueryActiveBallotIDsRequest) String() string

type QueryActiveBallotIDsResponse

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

func (*QueryActiveBallotIDsResponse) Descriptor deprecated

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

Deprecated: Use QueryActiveBallotIDsResponse.ProtoReflect.Descriptor instead.

func (*QueryActiveBallotIDsResponse) GetIds

func (x *QueryActiveBallotIDsResponse) GetIds() []string

func (*QueryActiveBallotIDsResponse) GetPagination

func (*QueryActiveBallotIDsResponse) ProtoMessage

func (*QueryActiveBallotIDsResponse) ProtoMessage()

func (*QueryActiveBallotIDsResponse) ProtoReflect

func (*QueryActiveBallotIDsResponse) Reset

func (x *QueryActiveBallotIDsResponse) Reset()

func (*QueryActiveBallotIDsResponse) String

type QueryActiveBallotsRequest

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

func (*QueryActiveBallotsRequest) Descriptor deprecated

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

Deprecated: Use QueryActiveBallotsRequest.ProtoReflect.Descriptor instead.

func (*QueryActiveBallotsRequest) GetPagination

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

func (*QueryActiveBallotsRequest) ProtoMessage

func (*QueryActiveBallotsRequest) ProtoMessage()

func (*QueryActiveBallotsRequest) ProtoReflect

func (*QueryActiveBallotsRequest) Reset

func (x *QueryActiveBallotsRequest) Reset()

func (*QueryActiveBallotsRequest) String

func (x *QueryActiveBallotsRequest) String() string

type QueryActiveBallotsResponse

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

func (*QueryActiveBallotsResponse) Descriptor deprecated

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

Deprecated: Use QueryActiveBallotsResponse.ProtoReflect.Descriptor instead.

func (*QueryActiveBallotsResponse) GetBallots

func (x *QueryActiveBallotsResponse) GetBallots() []*Ballot

func (*QueryActiveBallotsResponse) GetPagination

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

func (*QueryActiveBallotsResponse) ProtoMessage

func (*QueryActiveBallotsResponse) ProtoMessage()

func (*QueryActiveBallotsResponse) ProtoReflect

func (*QueryActiveBallotsResponse) Reset

func (x *QueryActiveBallotsResponse) Reset()

func (*QueryActiveBallotsResponse) String

func (x *QueryActiveBallotsResponse) String() string

type QueryBallotRequest

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

Single ballot

func (*QueryBallotRequest) Descriptor deprecated

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

Deprecated: Use QueryBallotRequest.ProtoReflect.Descriptor instead.

func (*QueryBallotRequest) GetId

func (x *QueryBallotRequest) GetId() string

func (*QueryBallotRequest) ProtoMessage

func (*QueryBallotRequest) ProtoMessage()

func (*QueryBallotRequest) ProtoReflect

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

func (*QueryBallotRequest) Reset

func (x *QueryBallotRequest) Reset()

func (*QueryBallotRequest) String

func (x *QueryBallotRequest) String() string

type QueryBallotResponse

type QueryBallotResponse struct {
	Ballot *Ballot `protobuf:"bytes,1,opt,name=ballot,proto3" json:"ballot,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryBallotResponse) Descriptor deprecated

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

Deprecated: Use QueryBallotResponse.ProtoReflect.Descriptor instead.

func (*QueryBallotResponse) GetBallot

func (x *QueryBallotResponse) GetBallot() *Ballot

func (*QueryBallotResponse) ProtoMessage

func (*QueryBallotResponse) ProtoMessage()

func (*QueryBallotResponse) ProtoReflect

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

func (*QueryBallotResponse) Reset

func (x *QueryBallotResponse) Reset()

func (*QueryBallotResponse) String

func (x *QueryBallotResponse) String() string

type QueryBallotsRequest

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

All ballots

func (*QueryBallotsRequest) Descriptor deprecated

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

Deprecated: Use QueryBallotsRequest.ProtoReflect.Descriptor instead.

func (*QueryBallotsRequest) GetPagination

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

func (*QueryBallotsRequest) ProtoMessage

func (*QueryBallotsRequest) ProtoMessage()

func (*QueryBallotsRequest) ProtoReflect

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

func (*QueryBallotsRequest) Reset

func (x *QueryBallotsRequest) Reset()

func (*QueryBallotsRequest) String

func (x *QueryBallotsRequest) String() string

type QueryBallotsResponse

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

func (*QueryBallotsResponse) Descriptor deprecated

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

Deprecated: Use QueryBallotsResponse.ProtoReflect.Descriptor instead.

func (*QueryBallotsResponse) GetBallots

func (x *QueryBallotsResponse) GetBallots() []*Ballot

func (*QueryBallotsResponse) GetPagination

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

func (*QueryBallotsResponse) ProtoMessage

func (*QueryBallotsResponse) ProtoMessage()

func (*QueryBallotsResponse) ProtoReflect

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

func (*QueryBallotsResponse) Reset

func (x *QueryBallotsResponse) Reset()

func (*QueryBallotsResponse) String

func (x *QueryBallotsResponse) String() string

type QueryClient

type QueryClient interface {
	// Params queries all parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// UniversalValidator queries one universal validator by core validator address.
	UniversalValidator(ctx context.Context, in *QueryUniversalValidatorRequest, opts ...grpc.CallOption) (*QueryUniversalValidatorResponse, error)
	// AllUniversalValidators queries the details of a specific universal validator by its address.
	AllUniversalValidators(ctx context.Context, in *QueryUniversalValidatorsSetRequest, opts ...grpc.CallOption) (*QueryUniversalValidatorsSetResponse, error)
	// Ballot queries one ballot by ID.
	Ballot(ctx context.Context, in *QueryBallotRequest, opts ...grpc.CallOption) (*QueryBallotResponse, error)
	// Ballots queries all ballots.
	AllBallots(ctx context.Context, in *QueryBallotsRequest, opts ...grpc.CallOption) (*QueryBallotsResponse, error)
	// ActiveBallotIDs queries all active ballot IDs.
	AllActiveBallotIDs(ctx context.Context, in *QueryActiveBallotIDsRequest, opts ...grpc.CallOption) (*QueryActiveBallotIDsResponse, error)
	// ActiveBallots queries all active ballots with full details.
	AllActiveBallots(ctx context.Context, in *QueryActiveBallotsRequest, opts ...grpc.CallOption) (*QueryActiveBallotsResponse, error)
	// ExpiredBallotIDs queries all expired ballot IDs.
	AllExpiredBallotIDs(ctx context.Context, in *QueryExpiredBallotIDsRequest, opts ...grpc.CallOption) (*QueryExpiredBallotIDsResponse, error)
	// ExpiredBallots queries all expired ballots with full details.
	AllExpiredBallots(ctx context.Context, in *QueryExpiredBallotsRequest, opts ...grpc.CallOption) (*QueryExpiredBallotsResponse, error)
	// FinalizedBallotIDs queries all finalized ballot IDs.
	AllFinalizedBallotIDs(ctx context.Context, in *QueryFinalizedBallotIDsRequest, opts ...grpc.CallOption) (*QueryFinalizedBallotIDsResponse, error)
	// FinalizedBallots queries all finalized ballots with full details.
	AllFinalizedBallots(ctx context.Context, in *QueryFinalizedBallotsRequest, opts ...grpc.CallOption) (*QueryFinalizedBallotsResponse, 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 QueryExpiredBallotIDsRequest

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

Expired ballots

func (*QueryExpiredBallotIDsRequest) Descriptor deprecated

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

Deprecated: Use QueryExpiredBallotIDsRequest.ProtoReflect.Descriptor instead.

func (*QueryExpiredBallotIDsRequest) GetPagination

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

func (*QueryExpiredBallotIDsRequest) ProtoMessage

func (*QueryExpiredBallotIDsRequest) ProtoMessage()

func (*QueryExpiredBallotIDsRequest) ProtoReflect

func (*QueryExpiredBallotIDsRequest) Reset

func (x *QueryExpiredBallotIDsRequest) Reset()

func (*QueryExpiredBallotIDsRequest) String

type QueryExpiredBallotIDsResponse

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

func (*QueryExpiredBallotIDsResponse) Descriptor deprecated

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

Deprecated: Use QueryExpiredBallotIDsResponse.ProtoReflect.Descriptor instead.

func (*QueryExpiredBallotIDsResponse) GetIds

func (x *QueryExpiredBallotIDsResponse) GetIds() []string

func (*QueryExpiredBallotIDsResponse) GetPagination

func (*QueryExpiredBallotIDsResponse) ProtoMessage

func (*QueryExpiredBallotIDsResponse) ProtoMessage()

func (*QueryExpiredBallotIDsResponse) ProtoReflect

func (*QueryExpiredBallotIDsResponse) Reset

func (x *QueryExpiredBallotIDsResponse) Reset()

func (*QueryExpiredBallotIDsResponse) String

type QueryExpiredBallotsRequest

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

func (*QueryExpiredBallotsRequest) Descriptor deprecated

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

Deprecated: Use QueryExpiredBallotsRequest.ProtoReflect.Descriptor instead.

func (*QueryExpiredBallotsRequest) GetPagination

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

func (*QueryExpiredBallotsRequest) ProtoMessage

func (*QueryExpiredBallotsRequest) ProtoMessage()

func (*QueryExpiredBallotsRequest) ProtoReflect

func (*QueryExpiredBallotsRequest) Reset

func (x *QueryExpiredBallotsRequest) Reset()

func (*QueryExpiredBallotsRequest) String

func (x *QueryExpiredBallotsRequest) String() string

type QueryExpiredBallotsResponse

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

func (*QueryExpiredBallotsResponse) Descriptor deprecated

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

Deprecated: Use QueryExpiredBallotsResponse.ProtoReflect.Descriptor instead.

func (*QueryExpiredBallotsResponse) GetBallots

func (x *QueryExpiredBallotsResponse) GetBallots() []*Ballot

func (*QueryExpiredBallotsResponse) GetPagination

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

func (*QueryExpiredBallotsResponse) ProtoMessage

func (*QueryExpiredBallotsResponse) ProtoMessage()

func (*QueryExpiredBallotsResponse) ProtoReflect

func (*QueryExpiredBallotsResponse) Reset

func (x *QueryExpiredBallotsResponse) Reset()

func (*QueryExpiredBallotsResponse) String

func (x *QueryExpiredBallotsResponse) String() string

type QueryFinalizedBallotIDsRequest

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

Finalized ballots

func (*QueryFinalizedBallotIDsRequest) Descriptor deprecated

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

Deprecated: Use QueryFinalizedBallotIDsRequest.ProtoReflect.Descriptor instead.

func (*QueryFinalizedBallotIDsRequest) GetPagination

func (*QueryFinalizedBallotIDsRequest) ProtoMessage

func (*QueryFinalizedBallotIDsRequest) ProtoMessage()

func (*QueryFinalizedBallotIDsRequest) ProtoReflect

func (*QueryFinalizedBallotIDsRequest) Reset

func (x *QueryFinalizedBallotIDsRequest) Reset()

func (*QueryFinalizedBallotIDsRequest) String

type QueryFinalizedBallotIDsResponse

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

func (*QueryFinalizedBallotIDsResponse) Descriptor deprecated

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

Deprecated: Use QueryFinalizedBallotIDsResponse.ProtoReflect.Descriptor instead.

func (*QueryFinalizedBallotIDsResponse) GetIds

func (*QueryFinalizedBallotIDsResponse) GetPagination

func (*QueryFinalizedBallotIDsResponse) ProtoMessage

func (*QueryFinalizedBallotIDsResponse) ProtoMessage()

func (*QueryFinalizedBallotIDsResponse) ProtoReflect

func (*QueryFinalizedBallotIDsResponse) Reset

func (*QueryFinalizedBallotIDsResponse) String

type QueryFinalizedBallotsRequest

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

func (*QueryFinalizedBallotsRequest) Descriptor deprecated

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

Deprecated: Use QueryFinalizedBallotsRequest.ProtoReflect.Descriptor instead.

func (*QueryFinalizedBallotsRequest) GetPagination

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

func (*QueryFinalizedBallotsRequest) ProtoMessage

func (*QueryFinalizedBallotsRequest) ProtoMessage()

func (*QueryFinalizedBallotsRequest) ProtoReflect

func (*QueryFinalizedBallotsRequest) Reset

func (x *QueryFinalizedBallotsRequest) Reset()

func (*QueryFinalizedBallotsRequest) String

type QueryFinalizedBallotsResponse

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

func (*QueryFinalizedBallotsResponse) Descriptor deprecated

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

Deprecated: Use QueryFinalizedBallotsResponse.ProtoReflect.Descriptor instead.

func (*QueryFinalizedBallotsResponse) GetBallots

func (x *QueryFinalizedBallotsResponse) GetBallots() []*Ballot

func (*QueryFinalizedBallotsResponse) GetPagination

func (*QueryFinalizedBallotsResponse) ProtoMessage

func (*QueryFinalizedBallotsResponse) ProtoMessage()

func (*QueryFinalizedBallotsResponse) ProtoReflect

func (*QueryFinalizedBallotsResponse) Reset

func (x *QueryFinalizedBallotsResponse) Reset()

func (*QueryFinalizedBallotsResponse) 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 defines 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 QueryServer

type QueryServer interface {
	// Params queries all parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// UniversalValidator queries one universal validator by core validator address.
	UniversalValidator(context.Context, *QueryUniversalValidatorRequest) (*QueryUniversalValidatorResponse, error)
	// AllUniversalValidators queries the details of a specific universal validator by its address.
	AllUniversalValidators(context.Context, *QueryUniversalValidatorsSetRequest) (*QueryUniversalValidatorsSetResponse, error)
	// Ballot queries one ballot by ID.
	Ballot(context.Context, *QueryBallotRequest) (*QueryBallotResponse, error)
	// Ballots queries all ballots.
	AllBallots(context.Context, *QueryBallotsRequest) (*QueryBallotsResponse, error)
	// ActiveBallotIDs queries all active ballot IDs.
	AllActiveBallotIDs(context.Context, *QueryActiveBallotIDsRequest) (*QueryActiveBallotIDsResponse, error)
	// ActiveBallots queries all active ballots with full details.
	AllActiveBallots(context.Context, *QueryActiveBallotsRequest) (*QueryActiveBallotsResponse, error)
	// ExpiredBallotIDs queries all expired ballot IDs.
	AllExpiredBallotIDs(context.Context, *QueryExpiredBallotIDsRequest) (*QueryExpiredBallotIDsResponse, error)
	// ExpiredBallots queries all expired ballots with full details.
	AllExpiredBallots(context.Context, *QueryExpiredBallotsRequest) (*QueryExpiredBallotsResponse, error)
	// FinalizedBallotIDs queries all finalized ballot IDs.
	AllFinalizedBallotIDs(context.Context, *QueryFinalizedBallotIDsRequest) (*QueryFinalizedBallotIDsResponse, error)
	// FinalizedBallots queries all finalized ballots with full details.
	AllFinalizedBallots(context.Context, *QueryFinalizedBallotsRequest) (*QueryFinalizedBallotsResponse, error)
	// contains filtered or unexported methods
}

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

type QueryUniversalValidatorRequest

type QueryUniversalValidatorRequest struct {
	CoreValidatorAddress string `protobuf:"bytes,1,opt,name=core_validator_address,json=coreValidatorAddress,proto3" json:"core_validator_address,omitempty"`
	// contains filtered or unexported fields
}

Single Universal Validator

func (*QueryUniversalValidatorRequest) Descriptor deprecated

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

Deprecated: Use QueryUniversalValidatorRequest.ProtoReflect.Descriptor instead.

func (*QueryUniversalValidatorRequest) GetCoreValidatorAddress

func (x *QueryUniversalValidatorRequest) GetCoreValidatorAddress() string

func (*QueryUniversalValidatorRequest) ProtoMessage

func (*QueryUniversalValidatorRequest) ProtoMessage()

func (*QueryUniversalValidatorRequest) ProtoReflect

func (*QueryUniversalValidatorRequest) Reset

func (x *QueryUniversalValidatorRequest) Reset()

func (*QueryUniversalValidatorRequest) String

type QueryUniversalValidatorResponse

type QueryUniversalValidatorResponse struct {
	UniversalValidator *UniversalValidator `protobuf:"bytes,1,opt,name=universal_validator,json=universalValidator,proto3" json:"universal_validator,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryUniversalValidatorResponse) Descriptor deprecated

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

Deprecated: Use QueryUniversalValidatorResponse.ProtoReflect.Descriptor instead.

func (*QueryUniversalValidatorResponse) GetUniversalValidator

func (x *QueryUniversalValidatorResponse) GetUniversalValidator() *UniversalValidator

func (*QueryUniversalValidatorResponse) ProtoMessage

func (*QueryUniversalValidatorResponse) ProtoMessage()

func (*QueryUniversalValidatorResponse) ProtoReflect

func (*QueryUniversalValidatorResponse) Reset

func (*QueryUniversalValidatorResponse) String

type QueryUniversalValidatorsSetRequest

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

QueryUniversalValidatorsSetRequest is the request type for Query/UniversalValidatorAddresses.

func (*QueryUniversalValidatorsSetRequest) Descriptor deprecated

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

Deprecated: Use QueryUniversalValidatorsSetRequest.ProtoReflect.Descriptor instead.

func (*QueryUniversalValidatorsSetRequest) ProtoMessage

func (*QueryUniversalValidatorsSetRequest) ProtoMessage()

func (*QueryUniversalValidatorsSetRequest) ProtoReflect

func (*QueryUniversalValidatorsSetRequest) Reset

func (*QueryUniversalValidatorsSetRequest) String

type QueryUniversalValidatorsSetResponse

type QueryUniversalValidatorsSetResponse struct {

	// addresses is the list of all universal validator addresses registered in the module.
	UniversalValidator []*UniversalValidator `protobuf:"bytes,1,rep,name=universal_validator,json=universalValidator,proto3" json:"universal_validator,omitempty"`
	// contains filtered or unexported fields
}

QueryUniversalValidatorsSetResponse is the response type for Query/UniversalValidatorAddresses.

func (*QueryUniversalValidatorsSetResponse) Descriptor deprecated

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

Deprecated: Use QueryUniversalValidatorsSetResponse.ProtoReflect.Descriptor instead.

func (*QueryUniversalValidatorsSetResponse) GetUniversalValidator

func (x *QueryUniversalValidatorsSetResponse) GetUniversalValidator() []*UniversalValidator

func (*QueryUniversalValidatorsSetResponse) ProtoMessage

func (*QueryUniversalValidatorsSetResponse) ProtoMessage()

func (*QueryUniversalValidatorsSetResponse) ProtoReflect

func (*QueryUniversalValidatorsSetResponse) Reset

func (*QueryUniversalValidatorsSetResponse) String

type TransitionReason added in v0.0.40

type TransitionReason int32

What triggered a lifecycle transition. Drives auto-revival: STAKING_HOOK transitions are reversed when the base validator returns to bonded; ADMIN transitions stay put.

const (
	TransitionReason_TRANSITION_REASON_UNSPECIFIED  TransitionReason = 0 // Legacy/genesis entries (pre-enum)
	TransitionReason_TRANSITION_REASON_ADMIN        TransitionReason = 1 // Admin tx (MsgRemove/Update)
	TransitionReason_TRANSITION_REASON_STAKING_HOOK TransitionReason = 2 // Base-chain unbond/jail/tombstone or re-bond
)

func (TransitionReason) Descriptor added in v0.0.40

func (TransitionReason) Enum added in v0.0.40

func (TransitionReason) EnumDescriptor deprecated added in v0.0.40

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

Deprecated: Use TransitionReason.Descriptor instead.

func (TransitionReason) Number added in v0.0.40

func (TransitionReason) String added in v0.0.40

func (x TransitionReason) String() string

func (TransitionReason) Type added in v0.0.40

type UVStatus

type UVStatus int32

Universal Validator status

const (
	UVStatus_UV_STATUS_UNSPECIFIED   UVStatus = 0
	UVStatus_UV_STATUS_ACTIVE        UVStatus = 1 // Fully active (votes + signs)
	UVStatus_UV_STATUS_PENDING_JOIN  UVStatus = 2 // Waiting for onboarding keygen / vote
	UVStatus_UV_STATUS_PENDING_LEAVE UVStatus = 3 // Marked for removal (still active until TSS reshare)
	UVStatus_UV_STATUS_INACTIVE      UVStatus = 4 // No longer part of the validator set
)

func (UVStatus) Descriptor

func (UVStatus) Descriptor() protoreflect.EnumDescriptor

func (UVStatus) Enum

func (x UVStatus) Enum() *UVStatus

func (UVStatus) EnumDescriptor deprecated

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

Deprecated: Use UVStatus.Descriptor instead.

func (UVStatus) Number

func (x UVStatus) Number() protoreflect.EnumNumber

func (UVStatus) String

func (x UVStatus) String() string

func (UVStatus) Type

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) RecomputeBallotQuorum added in v0.0.40

func (UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) AllBallots

func (UnimplementedQueryServer) Ballot

func (UnimplementedQueryServer) Params

type UniversalValidator

type UniversalValidator struct {
	IdentifyInfo  *IdentityInfo  `protobuf:"bytes,1,opt,name=identify_info,json=identifyInfo,proto3" json:"identify_info,omitempty"`    // Identity info of the validator
	NetworkInfo   *NetworkInfo   `protobuf:"bytes,2,opt,name=network_info,json=networkInfo,proto3" json:"network_info,omitempty"`       // Metadata for networking
	LifecycleInfo *LifecycleInfo `protobuf:"bytes,3,opt,name=lifecycle_info,json=lifecycleInfo,proto3" json:"lifecycle_info,omitempty"` // Lifecyle info of the validator
	// contains filtered or unexported fields
}

Core Universal Validator object

func (*UniversalValidator) Descriptor deprecated

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

Deprecated: Use UniversalValidator.ProtoReflect.Descriptor instead.

func (*UniversalValidator) GetIdentifyInfo

func (x *UniversalValidator) GetIdentifyInfo() *IdentityInfo

func (*UniversalValidator) GetLifecycleInfo

func (x *UniversalValidator) GetLifecycleInfo() *LifecycleInfo

func (*UniversalValidator) GetNetworkInfo

func (x *UniversalValidator) GetNetworkInfo() *NetworkInfo

func (*UniversalValidator) ProtoMessage

func (*UniversalValidator) ProtoMessage()

func (*UniversalValidator) ProtoReflect

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

func (*UniversalValidator) Reset

func (x *UniversalValidator) Reset()

func (*UniversalValidator) String

func (x *UniversalValidator) String() string

type UniversalValidatorEntry added in v0.0.23

type UniversalValidatorEntry struct {
	Key   string              `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value *UniversalValidator `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

UniversalValidatorEntry is a key-value pair for exporting UniversalValidatorSet map state. The key is the bech32 string representation of the validator address.

func (*UniversalValidatorEntry) Descriptor deprecated added in v0.0.23

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

Deprecated: Use UniversalValidatorEntry.ProtoReflect.Descriptor instead.

func (*UniversalValidatorEntry) GetKey added in v0.0.23

func (x *UniversalValidatorEntry) GetKey() string

func (*UniversalValidatorEntry) GetValue added in v0.0.23

func (*UniversalValidatorEntry) ProtoMessage added in v0.0.23

func (*UniversalValidatorEntry) ProtoMessage()

func (*UniversalValidatorEntry) ProtoReflect added in v0.0.23

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

func (*UniversalValidatorEntry) Reset added in v0.0.23

func (x *UniversalValidatorEntry) Reset()

func (*UniversalValidatorEntry) String added in v0.0.23

func (x *UniversalValidatorEntry) String() string

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.

type VoteResult

type VoteResult int32

--------------------------- Vote Result Enum ---------------------------

const (
	VoteResult_VOTE_RESULT_NOT_YET_VOTED VoteResult = 0 // Default state before a vote is cast
	VoteResult_VOTE_RESULT_SUCCESS       VoteResult = 1 // Positive vote
	VoteResult_VOTE_RESULT_FAILURE       VoteResult = 2 // Negative vote
)

func (VoteResult) Descriptor

func (VoteResult) Descriptor() protoreflect.EnumDescriptor

func (VoteResult) Enum

func (x VoteResult) Enum() *VoteResult

func (VoteResult) EnumDescriptor deprecated

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

Deprecated: Use VoteResult.Descriptor instead.

func (VoteResult) Number

func (x VoteResult) Number() protoreflect.EnumNumber

func (VoteResult) String

func (x VoteResult) String() string

func (VoteResult) Type

Jump to

Keyboard shortcuts

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