rewardsv1

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

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

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

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

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

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

Index

Constants

View Source
const (
	Msg_CreateRewardsPlan_FullMethodName          = "/milkyway.rewards.v1.Msg/CreateRewardsPlan"
	Msg_SetWithdrawAddress_FullMethodName         = "/milkyway.rewards.v1.Msg/SetWithdrawAddress"
	Msg_WithdrawDelegatorReward_FullMethodName    = "/milkyway.rewards.v1.Msg/WithdrawDelegatorReward"
	Msg_WithdrawOperatorCommission_FullMethodName = "/milkyway.rewards.v1.Msg/WithdrawOperatorCommission"
	Msg_UpdateParams_FullMethodName               = "/milkyway.rewards.v1.Msg/UpdateParams"
)
View Source
const (
	Query_Params_FullMethodName                     = "/milkyway.rewards.v1.Query/Params"
	Query_RewardsPlans_FullMethodName               = "/milkyway.rewards.v1.Query/RewardsPlans"
	Query_RewardsPlan_FullMethodName                = "/milkyway.rewards.v1.Query/RewardsPlan"
	Query_PoolOutstandingRewards_FullMethodName     = "/milkyway.rewards.v1.Query/PoolOutstandingRewards"
	Query_OperatorOutstandingRewards_FullMethodName = "/milkyway.rewards.v1.Query/OperatorOutstandingRewards"
	Query_ServiceOutstandingRewards_FullMethodName  = "/milkyway.rewards.v1.Query/ServiceOutstandingRewards"
	Query_OperatorCommission_FullMethodName         = "/milkyway.rewards.v1.Query/OperatorCommission"
	Query_PoolDelegationRewards_FullMethodName      = "/milkyway.rewards.v1.Query/PoolDelegationRewards"
	Query_OperatorDelegationRewards_FullMethodName  = "/milkyway.rewards.v1.Query/OperatorDelegationRewards"
	Query_ServiceDelegationRewards_FullMethodName   = "/milkyway.rewards.v1.Query/ServiceDelegationRewards"
	Query_DelegatorTotalRewards_FullMethodName      = "/milkyway.rewards.v1.Query/DelegatorTotalRewards"
	Query_DelegatorWithdrawAddress_FullMethodName   = "/milkyway.rewards.v1.Query/DelegatorWithdrawAddress"
)

Variables

View Source
var File_milkyway_rewards_v1_genesis_proto protoreflect.FileDescriptor
View Source
var File_milkyway_rewards_v1_messages_proto protoreflect.FileDescriptor
View Source
var File_milkyway_rewards_v1_models_proto protoreflect.FileDescriptor
View Source
var File_milkyway_rewards_v1_params_proto protoreflect.FileDescriptor
View Source
var File_milkyway_rewards_v1_query_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "milkyway.rewards.v1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateRewardsPlan",
			Handler:    _Msg_CreateRewardsPlan_Handler,
		},
		{
			MethodName: "SetWithdrawAddress",
			Handler:    _Msg_SetWithdrawAddress_Handler,
		},
		{
			MethodName: "WithdrawDelegatorReward",
			Handler:    _Msg_WithdrawDelegatorReward_Handler,
		},
		{
			MethodName: "WithdrawOperatorCommission",
			Handler:    _Msg_WithdrawOperatorCommission_Handler,
		},
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "milkyway/rewards/v1/messages.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: "milkyway.rewards.v1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
		{
			MethodName: "RewardsPlans",
			Handler:    _Query_RewardsPlans_Handler,
		},
		{
			MethodName: "RewardsPlan",
			Handler:    _Query_RewardsPlan_Handler,
		},
		{
			MethodName: "PoolOutstandingRewards",
			Handler:    _Query_PoolOutstandingRewards_Handler,
		},
		{
			MethodName: "OperatorOutstandingRewards",
			Handler:    _Query_OperatorOutstandingRewards_Handler,
		},
		{
			MethodName: "ServiceOutstandingRewards",
			Handler:    _Query_ServiceOutstandingRewards_Handler,
		},
		{
			MethodName: "OperatorCommission",
			Handler:    _Query_OperatorCommission_Handler,
		},
		{
			MethodName: "PoolDelegationRewards",
			Handler:    _Query_PoolDelegationRewards_Handler,
		},
		{
			MethodName: "OperatorDelegationRewards",
			Handler:    _Query_OperatorDelegationRewards_Handler,
		},
		{
			MethodName: "ServiceDelegationRewards",
			Handler:    _Query_ServiceDelegationRewards_Handler,
		},
		{
			MethodName: "DelegatorTotalRewards",
			Handler:    _Query_DelegatorTotalRewards_Handler,
		},
		{
			MethodName: "DelegatorWithdrawAddress",
			Handler:    _Query_DelegatorWithdrawAddress_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "milkyway/rewards/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 AccumulatedCommission

type AccumulatedCommission struct {
	Commissions []*DecPool `protobuf:"bytes,1,rep,name=commissions,proto3" json:"commissions,omitempty"`
	// contains filtered or unexported fields
}

AccumulatedCommission represents accumulated commission for a delegation target kept as a running counter, can be withdrawn at any time.

func (*AccumulatedCommission) Descriptor deprecated

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

Deprecated: Use AccumulatedCommission.ProtoReflect.Descriptor instead.

func (*AccumulatedCommission) GetCommissions

func (x *AccumulatedCommission) GetCommissions() []*DecPool

func (*AccumulatedCommission) ProtoMessage

func (*AccumulatedCommission) ProtoMessage()

func (*AccumulatedCommission) ProtoReflect

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

func (*AccumulatedCommission) Reset

func (x *AccumulatedCommission) Reset()

func (*AccumulatedCommission) String

func (x *AccumulatedCommission) String() string

type CurrentRewards

type CurrentRewards struct {
	Rewards []*DecPool `protobuf:"bytes,1,rep,name=rewards,proto3" json:"rewards,omitempty"`
	Period  uint64     `protobuf:"varint,2,opt,name=period,proto3" json:"period,omitempty"`
	// contains filtered or unexported fields
}

CurrentRewards represents current rewards and current period for a delegation target kept as a running counter and incremented each block as long as the delegation target's tokens remain constant.

func (*CurrentRewards) Descriptor deprecated

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

Deprecated: Use CurrentRewards.ProtoReflect.Descriptor instead.

func (*CurrentRewards) GetPeriod

func (x *CurrentRewards) GetPeriod() uint64

func (*CurrentRewards) GetRewards

func (x *CurrentRewards) GetRewards() []*DecPool

func (*CurrentRewards) ProtoMessage

func (*CurrentRewards) ProtoMessage()

func (*CurrentRewards) ProtoReflect

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

func (*CurrentRewards) Reset

func (x *CurrentRewards) Reset()

func (*CurrentRewards) String

func (x *CurrentRewards) String() string

type CurrentRewardsRecord

type CurrentRewardsRecord struct {

	// delegation_target_id is the ID of the delegation target.
	DelegationTargetId uint32 `protobuf:"varint,1,opt,name=delegation_target_id,json=delegationTargetId,proto3" json:"delegation_target_id,omitempty"`
	// rewards defines the current rewards of the delegation target.
	Rewards *CurrentRewards `protobuf:"bytes,2,opt,name=rewards,proto3" json:"rewards,omitempty"`
	// contains filtered or unexported fields
}

CurrentRewardsRecord is used for import / export via genesis json.

func (*CurrentRewardsRecord) Descriptor deprecated

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

Deprecated: Use CurrentRewardsRecord.ProtoReflect.Descriptor instead.

func (*CurrentRewardsRecord) GetDelegationTargetId

func (x *CurrentRewardsRecord) GetDelegationTargetId() uint32

func (*CurrentRewardsRecord) GetRewards

func (x *CurrentRewardsRecord) GetRewards() *CurrentRewards

func (*CurrentRewardsRecord) ProtoMessage

func (*CurrentRewardsRecord) ProtoMessage()

func (*CurrentRewardsRecord) ProtoReflect

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

func (*CurrentRewardsRecord) Reset

func (x *CurrentRewardsRecord) Reset()

func (*CurrentRewardsRecord) String

func (x *CurrentRewardsRecord) String() string

type DecPool

type DecPool struct {
	Denom    string             `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	DecCoins []*v1beta1.DecCoin `protobuf:"bytes,2,rep,name=dec_coins,json=decCoins,proto3" json:"dec_coins,omitempty"`
	// contains filtered or unexported fields
}

DecPool is a DecCoins wrapper with denom which represents the rewards pool for the given denom. It is used to represent the rewards associated with the denom.

func (*DecPool) Descriptor deprecated

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

Deprecated: Use DecPool.ProtoReflect.Descriptor instead.

func (*DecPool) GetDecCoins

func (x *DecPool) GetDecCoins() []*v1beta1.DecCoin

func (*DecPool) GetDenom

func (x *DecPool) GetDenom() string

func (*DecPool) ProtoMessage

func (*DecPool) ProtoMessage()

func (*DecPool) ProtoReflect

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

func (*DecPool) Reset

func (x *DecPool) Reset()

func (*DecPool) String

func (x *DecPool) String() string

type DelegationDelegatorReward

type DelegationDelegatorReward struct {
	DelegationType     v1.DelegationType `` /* 146-byte string literal not displayed */
	DelegationTargetId uint32            `protobuf:"varint,2,opt,name=delegation_target_id,json=delegationTargetId,proto3" json:"delegation_target_id,omitempty"`
	Reward             []*DecPool        `protobuf:"bytes,3,rep,name=reward,proto3" json:"reward,omitempty"`
	// contains filtered or unexported fields
}

DelegationDelegatorReward represents the properties of a delegator's delegation reward. The delegator address implicit in the within the query request.

func (*DelegationDelegatorReward) Descriptor deprecated

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

Deprecated: Use DelegationDelegatorReward.ProtoReflect.Descriptor instead.

func (*DelegationDelegatorReward) GetDelegationTargetId

func (x *DelegationDelegatorReward) GetDelegationTargetId() uint32

func (*DelegationDelegatorReward) GetDelegationType

func (x *DelegationDelegatorReward) GetDelegationType() v1.DelegationType

func (*DelegationDelegatorReward) GetReward

func (x *DelegationDelegatorReward) GetReward() []*DecPool

func (*DelegationDelegatorReward) ProtoMessage

func (*DelegationDelegatorReward) ProtoMessage()

func (*DelegationDelegatorReward) ProtoReflect

func (*DelegationDelegatorReward) Reset

func (x *DelegationDelegatorReward) Reset()

func (*DelegationDelegatorReward) String

func (x *DelegationDelegatorReward) String() string

type DelegationTypeRecords

type DelegationTypeRecords struct {

	// outstanding_rewards defines the outstanding rewards of all delegation
	// targets with the same delegation type at genesis.
	OutstandingRewards []*OutstandingRewardsRecord `protobuf:"bytes,1,rep,name=outstanding_rewards,json=outstandingRewards,proto3" json:"outstanding_rewards,omitempty"`
	// historical_rewards defines the historical rewards of all delegation targets
	// with the same delegation type at genesis.
	HistoricalRewards []*HistoricalRewardsRecord `protobuf:"bytes,2,rep,name=historical_rewards,json=historicalRewards,proto3" json:"historical_rewards,omitempty"`
	// current_rewards defines the current rewards of all delegation targets with
	// the same delegation type at genesis.
	CurrentRewards []*CurrentRewardsRecord `protobuf:"bytes,3,rep,name=current_rewards,json=currentRewards,proto3" json:"current_rewards,omitempty"`
	// delegator_starting_infos defines the delegator starting infos of all
	// delegation targets with the same delegation type at genesis.
	DelegatorStartingInfos []*DelegatorStartingInfoRecord `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

DelegationTypeRecords groups various genesis records under the same type of delegation target.

func (*DelegationTypeRecords) Descriptor deprecated

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

Deprecated: Use DelegationTypeRecords.ProtoReflect.Descriptor instead.

func (*DelegationTypeRecords) GetCurrentRewards

func (x *DelegationTypeRecords) GetCurrentRewards() []*CurrentRewardsRecord

func (*DelegationTypeRecords) GetDelegatorStartingInfos

func (x *DelegationTypeRecords) GetDelegatorStartingInfos() []*DelegatorStartingInfoRecord

func (*DelegationTypeRecords) GetHistoricalRewards

func (x *DelegationTypeRecords) GetHistoricalRewards() []*HistoricalRewardsRecord

func (*DelegationTypeRecords) GetOutstandingRewards

func (x *DelegationTypeRecords) GetOutstandingRewards() []*OutstandingRewardsRecord

func (*DelegationTypeRecords) ProtoMessage

func (*DelegationTypeRecords) ProtoMessage()

func (*DelegationTypeRecords) ProtoReflect

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

func (*DelegationTypeRecords) Reset

func (x *DelegationTypeRecords) Reset()

func (*DelegationTypeRecords) String

func (x *DelegationTypeRecords) String() string

type DelegatorStartingInfo

type DelegatorStartingInfo struct {
	PreviousPeriod uint64             `protobuf:"varint,1,opt,name=previous_period,json=previousPeriod,proto3" json:"previous_period,omitempty"`
	Stakes         []*v1beta1.DecCoin `protobuf:"bytes,2,rep,name=stakes,proto3" json:"stakes,omitempty"`
	Height         uint64             `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

DelegatorStartingInfo represents the starting info for a delegator reward period. It tracks the previous delegation target period, the delegation's amount of staking token, and the creation height (to check later on if any slashes have occurred). NOTE: Even though validators are slashed to whole staking tokens, the delegators within the validator may be left with less than a full token, thus sdk.Dec is used.

func (*DelegatorStartingInfo) Descriptor deprecated

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

Deprecated: Use DelegatorStartingInfo.ProtoReflect.Descriptor instead.

func (*DelegatorStartingInfo) GetHeight

func (x *DelegatorStartingInfo) GetHeight() uint64

func (*DelegatorStartingInfo) GetPreviousPeriod

func (x *DelegatorStartingInfo) GetPreviousPeriod() uint64

func (*DelegatorStartingInfo) GetStakes

func (x *DelegatorStartingInfo) GetStakes() []*v1beta1.DecCoin

func (*DelegatorStartingInfo) ProtoMessage

func (*DelegatorStartingInfo) ProtoMessage()

func (*DelegatorStartingInfo) ProtoReflect

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

func (*DelegatorStartingInfo) Reset

func (x *DelegatorStartingInfo) Reset()

func (*DelegatorStartingInfo) String

func (x *DelegatorStartingInfo) String() string

type DelegatorStartingInfoRecord

type DelegatorStartingInfoRecord struct {

	// delegator_address is the address of the delegator.
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// delegation_target_id is the ID of the delegation target.
	DelegationTargetId uint32 `protobuf:"varint,2,opt,name=delegation_target_id,json=delegationTargetId,proto3" json:"delegation_target_id,omitempty"`
	// starting_info defines the starting info of a delegator.
	StartingInfo *DelegatorStartingInfo `protobuf:"bytes,3,opt,name=starting_info,json=startingInfo,proto3" json:"starting_info,omitempty"`
	// contains filtered or unexported fields
}

DelegatorStartingInfoRecord used for import / export via genesis json.

func (*DelegatorStartingInfoRecord) Descriptor deprecated

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

Deprecated: Use DelegatorStartingInfoRecord.ProtoReflect.Descriptor instead.

func (*DelegatorStartingInfoRecord) GetDelegationTargetId

func (x *DelegatorStartingInfoRecord) GetDelegationTargetId() uint32

func (*DelegatorStartingInfoRecord) GetDelegatorAddress

func (x *DelegatorStartingInfoRecord) GetDelegatorAddress() string

func (*DelegatorStartingInfoRecord) GetStartingInfo

func (x *DelegatorStartingInfoRecord) GetStartingInfo() *DelegatorStartingInfo

func (*DelegatorStartingInfoRecord) ProtoMessage

func (*DelegatorStartingInfoRecord) ProtoMessage()

func (*DelegatorStartingInfoRecord) ProtoReflect

func (*DelegatorStartingInfoRecord) Reset

func (x *DelegatorStartingInfoRecord) Reset()

func (*DelegatorStartingInfoRecord) String

func (x *DelegatorStartingInfoRecord) String() string

type DelegatorWithdrawInfo

type DelegatorWithdrawInfo struct {

	// delegator_address is the address of the delegator.
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// withdraw_address is the address to withdraw the delegation rewards to.
	WithdrawAddress string `protobuf:"bytes,2,opt,name=withdraw_address,json=withdrawAddress,proto3" json:"withdraw_address,omitempty"`
	// contains filtered or unexported fields
}

DelegatorWithdrawInfo is the address for where delegation rewards are withdrawn to by default this struct is only used at genesis to feed in default withdraw addresses.

func (*DelegatorWithdrawInfo) Descriptor deprecated

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

Deprecated: Use DelegatorWithdrawInfo.ProtoReflect.Descriptor instead.

func (*DelegatorWithdrawInfo) GetDelegatorAddress

func (x *DelegatorWithdrawInfo) GetDelegatorAddress() string

func (*DelegatorWithdrawInfo) GetWithdrawAddress

func (x *DelegatorWithdrawInfo) GetWithdrawAddress() string

func (*DelegatorWithdrawInfo) ProtoMessage

func (*DelegatorWithdrawInfo) ProtoMessage()

func (*DelegatorWithdrawInfo) ProtoReflect

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

func (*DelegatorWithdrawInfo) Reset

func (x *DelegatorWithdrawInfo) Reset()

func (*DelegatorWithdrawInfo) String

func (x *DelegatorWithdrawInfo) String() string

type Distribution

type Distribution struct {

	// DelegationType is the type of delegation target which this distribution
	// parameters are for. It can be one of DELEGATION_TYPE_POOL and
	// DELEGATION_TYPE_OPERATOR.
	DelegationType v1.DelegationType `` /* 146-byte string literal not displayed */
	// Weight is the rewards distribution weight among other types of delegation
	// targets.
	Weight uint32 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
	// Type is one of basic/weighted/egalitarian distributions.
	Type_ *anypb.Any `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Distribution represents distribution parameters for restaking pools/operators.

func (*Distribution) Descriptor deprecated

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

Deprecated: Use Distribution.ProtoReflect.Descriptor instead.

func (*Distribution) GetDelegationType

func (x *Distribution) GetDelegationType() v1.DelegationType

func (*Distribution) GetType_

func (x *Distribution) GetType_() *anypb.Any

func (*Distribution) GetWeight

func (x *Distribution) GetWeight() uint32

func (*Distribution) ProtoMessage

func (*Distribution) ProtoMessage()

func (*Distribution) ProtoReflect

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

func (*Distribution) Reset

func (x *Distribution) Reset()

func (*Distribution) String

func (x *Distribution) String() string

type DistributionTypeBasic

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

DistributionTypeBasic represents the simplest form of distribution. Rewards are allocated to entities based on their delegation values. For example, if there are three operators with delegation values of $1000, $1500, and $2000, their rewards will be distributed in a 2:3:4 ratio.

func (*DistributionTypeBasic) Descriptor deprecated

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

Deprecated: Use DistributionTypeBasic.ProtoReflect.Descriptor instead.

func (*DistributionTypeBasic) ProtoMessage

func (*DistributionTypeBasic) ProtoMessage()

func (*DistributionTypeBasic) ProtoReflect

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

func (*DistributionTypeBasic) Reset

func (x *DistributionTypeBasic) Reset()

func (*DistributionTypeBasic) String

func (x *DistributionTypeBasic) String() string

type DistributionTypeEgalitarian

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

DistributionTypeEgalitarian is a distribution method where all entities receive an equal share of rewards(a.k.a. egalitarian method).

func (*DistributionTypeEgalitarian) Descriptor deprecated

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

Deprecated: Use DistributionTypeEgalitarian.ProtoReflect.Descriptor instead.

func (*DistributionTypeEgalitarian) ProtoMessage

func (*DistributionTypeEgalitarian) ProtoMessage()

func (*DistributionTypeEgalitarian) ProtoReflect

func (*DistributionTypeEgalitarian) Reset

func (x *DistributionTypeEgalitarian) Reset()

func (*DistributionTypeEgalitarian) String

func (x *DistributionTypeEgalitarian) String() string

type DistributionTypeWeighted

type DistributionTypeWeighted struct {
	Weights []*DistributionWeight `protobuf:"bytes,1,rep,name=weights,proto3" json:"weights,omitempty"`
	// contains filtered or unexported fields
}

DistributionTypeWeighted is a type of distribution where the reward weights for each entity are explicitly defined. Only the specified delegation targets will receive rewards.

func (*DistributionTypeWeighted) Descriptor deprecated

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

Deprecated: Use DistributionTypeWeighted.ProtoReflect.Descriptor instead.

func (*DistributionTypeWeighted) GetWeights

func (x *DistributionTypeWeighted) GetWeights() []*DistributionWeight

func (*DistributionTypeWeighted) ProtoMessage

func (*DistributionTypeWeighted) ProtoMessage()

func (*DistributionTypeWeighted) ProtoReflect

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

func (*DistributionTypeWeighted) Reset

func (x *DistributionTypeWeighted) Reset()

func (*DistributionTypeWeighted) String

func (x *DistributionTypeWeighted) String() string

type DistributionWeight

type DistributionWeight struct {
	DelegationTargetId uint32 `protobuf:"varint,1,opt,name=delegation_target_id,json=delegationTargetId,proto3" json:"delegation_target_id,omitempty"`
	Weight             uint32 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

DistributionWeight defines a delegation target and its assigned weight.

func (*DistributionWeight) Descriptor deprecated

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

Deprecated: Use DistributionWeight.ProtoReflect.Descriptor instead.

func (*DistributionWeight) GetDelegationTargetId

func (x *DistributionWeight) GetDelegationTargetId() uint32

func (*DistributionWeight) GetWeight

func (x *DistributionWeight) GetWeight() uint32

func (*DistributionWeight) ProtoMessage

func (*DistributionWeight) ProtoMessage()

func (*DistributionWeight) ProtoReflect

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

func (*DistributionWeight) Reset

func (x *DistributionWeight) Reset()

func (*DistributionWeight) String

func (x *DistributionWeight) String() string

type GenesisState

type GenesisState struct {

	// Params defines the parameters of the module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// NextRewardsPlanID represents the id to be used when creating the next
	// rewards plan.
	NextRewardsPlanId uint64 `protobuf:"varint,2,opt,name=next_rewards_plan_id,json=nextRewardsPlanId,proto3" json:"next_rewards_plan_id,omitempty"`
	// RewardsPlans defines the list of rewards plans.
	RewardsPlans []*RewardsPlan `protobuf:"bytes,3,rep,name=rewards_plans,json=rewardsPlans,proto3" json:"rewards_plans,omitempty"`
	// last_rewards_allocation_time is the last time rewards were allocated.
	LastRewardsAllocationTime *timestamppb.Timestamp `` /* 140-byte string literal not displayed */
	// delegator_withdraw_infos defines the delegator withdraw infos at genesis.
	DelegatorWithdrawInfos []*DelegatorWithdrawInfo `` /* 129-byte string literal not displayed */
	// pools_records defines a group of genesis records of all pools at genesis.
	PoolsRecords *DelegationTypeRecords `protobuf:"bytes,6,opt,name=pools_records,json=poolsRecords,proto3" json:"pools_records,omitempty"`
	// operators_records defines a group of genesis records of all operators at
	// genesis.
	OperatorsRecords *DelegationTypeRecords `protobuf:"bytes,7,opt,name=operators_records,json=operatorsRecords,proto3" json:"operators_records,omitempty"`
	// services_records defines a group of genesis records of all services at
	// genesis.
	ServicesRecords *DelegationTypeRecords `protobuf:"bytes,8,opt,name=services_records,json=servicesRecords,proto3" json:"services_records,omitempty"`
	// operator_accumulated_commissions defines the accumulated commissions of all
	// operators at genesis.
	OperatorAccumulatedCommissions []*OperatorAccumulatedCommissionRecord `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

GenesisState defines the module's genesis state.

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetDelegatorWithdrawInfos

func (x *GenesisState) GetDelegatorWithdrawInfos() []*DelegatorWithdrawInfo

func (*GenesisState) GetLastRewardsAllocationTime

func (x *GenesisState) GetLastRewardsAllocationTime() *timestamppb.Timestamp

func (*GenesisState) GetNextRewardsPlanId

func (x *GenesisState) GetNextRewardsPlanId() uint64

func (*GenesisState) GetOperatorAccumulatedCommissions

func (x *GenesisState) GetOperatorAccumulatedCommissions() []*OperatorAccumulatedCommissionRecord

func (*GenesisState) GetOperatorsRecords

func (x *GenesisState) GetOperatorsRecords() *DelegationTypeRecords

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

func (*GenesisState) GetPoolsRecords

func (x *GenesisState) GetPoolsRecords() *DelegationTypeRecords

func (*GenesisState) GetRewardsPlans

func (x *GenesisState) GetRewardsPlans() []*RewardsPlan

func (*GenesisState) GetServicesRecords

func (x *GenesisState) GetServicesRecords() *DelegationTypeRecords

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 HistoricalRewards

type HistoricalRewards struct {
	CumulativeRewardRatios []*DecPool `` /* 129-byte string literal not displayed */
	ReferenceCount         uint32     `protobuf:"varint,2,opt,name=reference_count,json=referenceCount,proto3" json:"reference_count,omitempty"`
	// contains filtered or unexported fields
}

HistoricalRewards represents historical rewards for a delegation target. Height is implicit within the store key. Cumulative reward ratio is the sum from the zeroeth period until this period of rewards / tokens, per the spec. The reference count indicates the number of objects which might need to reference this historical entry at any point. ReferenceCount =

  number of outstanding delegations which ended the associated period (and
  might need to read that record)
+ number of slashes which ended the associated period (and might need to
read that record)
+ one per validator for the zeroeth period, set on initialization

func (*HistoricalRewards) Descriptor deprecated

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

Deprecated: Use HistoricalRewards.ProtoReflect.Descriptor instead.

func (*HistoricalRewards) GetCumulativeRewardRatios

func (x *HistoricalRewards) GetCumulativeRewardRatios() []*DecPool

func (*HistoricalRewards) GetReferenceCount

func (x *HistoricalRewards) GetReferenceCount() uint32

func (*HistoricalRewards) ProtoMessage

func (*HistoricalRewards) ProtoMessage()

func (*HistoricalRewards) ProtoReflect

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

func (*HistoricalRewards) Reset

func (x *HistoricalRewards) Reset()

func (*HistoricalRewards) String

func (x *HistoricalRewards) String() string

type HistoricalRewardsRecord

type HistoricalRewardsRecord struct {

	// delegation_target_id is the ID of the delegation target.
	DelegationTargetId uint32 `protobuf:"varint,1,opt,name=delegation_target_id,json=delegationTargetId,proto3" json:"delegation_target_id,omitempty"`
	// period defines the period the historical rewards apply to.
	Period uint64 `protobuf:"varint,2,opt,name=period,proto3" json:"period,omitempty"`
	// rewards defines the historical rewards of the delegation target.
	Rewards *HistoricalRewards `protobuf:"bytes,3,opt,name=rewards,proto3" json:"rewards,omitempty"`
	// contains filtered or unexported fields
}

HistoricalRewardsRecord is used for import / export via genesis json.

func (*HistoricalRewardsRecord) Descriptor deprecated

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

Deprecated: Use HistoricalRewardsRecord.ProtoReflect.Descriptor instead.

func (*HistoricalRewardsRecord) GetDelegationTargetId

func (x *HistoricalRewardsRecord) GetDelegationTargetId() uint32

func (*HistoricalRewardsRecord) GetPeriod

func (x *HistoricalRewardsRecord) GetPeriod() uint64

func (*HistoricalRewardsRecord) GetRewards

func (x *HistoricalRewardsRecord) GetRewards() *HistoricalRewards

func (*HistoricalRewardsRecord) ProtoMessage

func (*HistoricalRewardsRecord) ProtoMessage()

func (*HistoricalRewardsRecord) ProtoReflect

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

func (*HistoricalRewardsRecord) Reset

func (x *HistoricalRewardsRecord) Reset()

func (*HistoricalRewardsRecord) String

func (x *HistoricalRewardsRecord) String() string

type MsgClient

type MsgClient interface {
	// CreateRewardsPlan defines the operation for creating a new
	// rewards plan.
	CreateRewardsPlan(ctx context.Context, in *MsgCreateRewardsPlan, opts ...grpc.CallOption) (*MsgCreateRewardsPlanResponse, error)
	// SetWithdrawAddress defines a method to change the withdraw address
	// for a delegator(or an operator, when withdrawing commission).
	SetWithdrawAddress(ctx context.Context, in *MsgSetWithdrawAddress, opts ...grpc.CallOption) (*MsgSetWithdrawAddressResponse, error)
	// WithdrawDelegatorReward defines a method to withdraw rewards of delegator
	// from a single delegation target.
	WithdrawDelegatorReward(ctx context.Context, in *MsgWithdrawDelegatorReward, opts ...grpc.CallOption) (*MsgWithdrawDelegatorRewardResponse, error)
	// WithdrawOperatorCommission defines a method to withdraw the
	// full commission to the operator.
	WithdrawOperatorCommission(ctx context.Context, in *MsgWithdrawOperatorCommission, opts ...grpc.CallOption) (*MsgWithdrawOperatorCommissionResponse, error)
	// UpdateParams defines a (governance) operation for updating the module
	// parameters.
	// The authority defaults to the x/gov module account.
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
}

MsgClient is the client API for Msg service.

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

Msg defines the services module's gRPC message service.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgCreateRewardsPlan

type MsgCreateRewardsPlan struct {

	// Sender is the address of the user creating the rewards plan
	Sender      string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	ServiceId   uint32 `protobuf:"varint,3,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Amount is the amount of rewards to be distributed.
	Amount []*v1beta1.Coin `protobuf:"bytes,4,rep,name=amount,proto3" json:"amount,omitempty"`
	// StartTime is the starting time of the plan.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// EndTime is the ending time of the plan.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// PoolsDistribution is the rewards distribution parameters for pools.
	PoolsDistribution *Distribution `protobuf:"bytes,7,opt,name=pools_distribution,json=poolsDistribution,proto3" json:"pools_distribution,omitempty"`
	// OperatorsDistribution is the rewards distribution parameters for operators.
	OperatorsDistribution *Distribution `protobuf:"bytes,8,opt,name=operators_distribution,json=operatorsDistribution,proto3" json:"operators_distribution,omitempty"`
	// UsersDistribution is the rewards distribution parameters for users who
	// delegated directly to the service.
	UsersDistribution *UsersDistribution `protobuf:"bytes,9,opt,name=users_distribution,json=usersDistribution,proto3" json:"users_distribution,omitempty"`
	// contains filtered or unexported fields
}

MsgCreateRewardsPlan defines the message structure for the CreateRewardsPlan gRPC service method. It allows an account to create a new rewards plan. It requires a sender address as well as the details of the plan to be created.

func (*MsgCreateRewardsPlan) Descriptor deprecated

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

Deprecated: Use MsgCreateRewardsPlan.ProtoReflect.Descriptor instead.

func (*MsgCreateRewardsPlan) GetAmount

func (x *MsgCreateRewardsPlan) GetAmount() []*v1beta1.Coin

func (*MsgCreateRewardsPlan) GetDescription

func (x *MsgCreateRewardsPlan) GetDescription() string

func (*MsgCreateRewardsPlan) GetEndTime

func (x *MsgCreateRewardsPlan) GetEndTime() *timestamppb.Timestamp

func (*MsgCreateRewardsPlan) GetOperatorsDistribution

func (x *MsgCreateRewardsPlan) GetOperatorsDistribution() *Distribution

func (*MsgCreateRewardsPlan) GetPoolsDistribution

func (x *MsgCreateRewardsPlan) GetPoolsDistribution() *Distribution

func (*MsgCreateRewardsPlan) GetSender

func (x *MsgCreateRewardsPlan) GetSender() string

func (*MsgCreateRewardsPlan) GetServiceId

func (x *MsgCreateRewardsPlan) GetServiceId() uint32

func (*MsgCreateRewardsPlan) GetStartTime

func (x *MsgCreateRewardsPlan) GetStartTime() *timestamppb.Timestamp

func (*MsgCreateRewardsPlan) GetUsersDistribution

func (x *MsgCreateRewardsPlan) GetUsersDistribution() *UsersDistribution

func (*MsgCreateRewardsPlan) ProtoMessage

func (*MsgCreateRewardsPlan) ProtoMessage()

func (*MsgCreateRewardsPlan) ProtoReflect

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

func (*MsgCreateRewardsPlan) Reset

func (x *MsgCreateRewardsPlan) Reset()

func (*MsgCreateRewardsPlan) String

func (x *MsgCreateRewardsPlan) String() string

type MsgCreateRewardsPlanResponse

type MsgCreateRewardsPlanResponse struct {

	// NewRewardsPlanID is the ID of the newly created rewards plan
	NewRewardsPlanId uint64 `protobuf:"varint,1,opt,name=new_rewards_plan_id,json=newRewardsPlanId,proto3" json:"new_rewards_plan_id,omitempty"`
	// contains filtered or unexported fields
}

MsgCreateRewardsPlanResponse is the return value of MsgCreateRewardsPlan. It returns the newly created plan ID.

func (*MsgCreateRewardsPlanResponse) Descriptor deprecated

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

Deprecated: Use MsgCreateRewardsPlanResponse.ProtoReflect.Descriptor instead.

func (*MsgCreateRewardsPlanResponse) GetNewRewardsPlanId

func (x *MsgCreateRewardsPlanResponse) GetNewRewardsPlanId() uint64

func (*MsgCreateRewardsPlanResponse) ProtoMessage

func (*MsgCreateRewardsPlanResponse) ProtoMessage()

func (*MsgCreateRewardsPlanResponse) ProtoReflect

func (*MsgCreateRewardsPlanResponse) Reset

func (x *MsgCreateRewardsPlanResponse) Reset()

func (*MsgCreateRewardsPlanResponse) String

type MsgServer

type MsgServer interface {
	// CreateRewardsPlan defines the operation for creating a new
	// rewards plan.
	CreateRewardsPlan(context.Context, *MsgCreateRewardsPlan) (*MsgCreateRewardsPlanResponse, error)
	// SetWithdrawAddress defines a method to change the withdraw address
	// for a delegator(or an operator, when withdrawing commission).
	SetWithdrawAddress(context.Context, *MsgSetWithdrawAddress) (*MsgSetWithdrawAddressResponse, error)
	// WithdrawDelegatorReward defines a method to withdraw rewards of delegator
	// from a single delegation target.
	WithdrawDelegatorReward(context.Context, *MsgWithdrawDelegatorReward) (*MsgWithdrawDelegatorRewardResponse, error)
	// WithdrawOperatorCommission defines a method to withdraw the
	// full commission to the operator.
	WithdrawOperatorCommission(context.Context, *MsgWithdrawOperatorCommission) (*MsgWithdrawOperatorCommissionResponse, error)
	// UpdateParams defines a (governance) operation for updating the module
	// parameters.
	// The authority defaults to the x/gov module account.
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// contains filtered or unexported methods
}

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

Msg defines the services module's gRPC message service.

type MsgSetWithdrawAddress

type MsgSetWithdrawAddress struct {
	Sender          string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	WithdrawAddress string `protobuf:"bytes,2,opt,name=withdraw_address,json=withdrawAddress,proto3" json:"withdraw_address,omitempty"`
	// contains filtered or unexported fields
}

MsgSetWithdrawAddress sets the withdraw address for a delegator(or an operator when withdrawing commission).

func (*MsgSetWithdrawAddress) Descriptor deprecated

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

Deprecated: Use MsgSetWithdrawAddress.ProtoReflect.Descriptor instead.

func (*MsgSetWithdrawAddress) GetSender

func (x *MsgSetWithdrawAddress) GetSender() string

func (*MsgSetWithdrawAddress) GetWithdrawAddress

func (x *MsgSetWithdrawAddress) GetWithdrawAddress() string

func (*MsgSetWithdrawAddress) ProtoMessage

func (*MsgSetWithdrawAddress) ProtoMessage()

func (*MsgSetWithdrawAddress) ProtoReflect

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

func (*MsgSetWithdrawAddress) Reset

func (x *MsgSetWithdrawAddress) Reset()

func (*MsgSetWithdrawAddress) String

func (x *MsgSetWithdrawAddress) String() string

type MsgSetWithdrawAddressResponse

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

MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type.

func (*MsgSetWithdrawAddressResponse) Descriptor deprecated

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

Deprecated: Use MsgSetWithdrawAddressResponse.ProtoReflect.Descriptor instead.

func (*MsgSetWithdrawAddressResponse) ProtoMessage

func (*MsgSetWithdrawAddressResponse) ProtoMessage()

func (*MsgSetWithdrawAddressResponse) ProtoReflect

func (*MsgSetWithdrawAddressResponse) Reset

func (x *MsgSetWithdrawAddressResponse) Reset()

func (*MsgSetWithdrawAddressResponse) String

type MsgUpdateParams

type MsgUpdateParams struct {

	// Authority is the address that controls the module (defaults to x/gov unless
	// overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// Params define 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 defines the message structure for the UpdateParams gRPC service method. It allows the authority to update the module parameters.

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 is the return value of MsgUpdateParams.

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 MsgWithdrawDelegatorReward

type MsgWithdrawDelegatorReward struct {
	DelegatorAddress   string            `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	DelegationType     v1.DelegationType `` /* 146-byte string literal not displayed */
	DelegationTargetId uint32            `protobuf:"varint,3,opt,name=delegation_target_id,json=delegationTargetId,proto3" json:"delegation_target_id,omitempty"`
	// contains filtered or unexported fields
}

MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator from a single delegation target.

func (*MsgWithdrawDelegatorReward) Descriptor deprecated

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

Deprecated: Use MsgWithdrawDelegatorReward.ProtoReflect.Descriptor instead.

func (*MsgWithdrawDelegatorReward) GetDelegationTargetId

func (x *MsgWithdrawDelegatorReward) GetDelegationTargetId() uint32

func (*MsgWithdrawDelegatorReward) GetDelegationType

func (x *MsgWithdrawDelegatorReward) GetDelegationType() v1.DelegationType

func (*MsgWithdrawDelegatorReward) GetDelegatorAddress

func (x *MsgWithdrawDelegatorReward) GetDelegatorAddress() string

func (*MsgWithdrawDelegatorReward) ProtoMessage

func (*MsgWithdrawDelegatorReward) ProtoMessage()

func (*MsgWithdrawDelegatorReward) ProtoReflect

func (*MsgWithdrawDelegatorReward) Reset

func (x *MsgWithdrawDelegatorReward) Reset()

func (*MsgWithdrawDelegatorReward) String

func (x *MsgWithdrawDelegatorReward) String() string

type MsgWithdrawDelegatorRewardResponse

type MsgWithdrawDelegatorRewardResponse struct {
	Amount []*v1beta1.Coin `protobuf:"bytes,1,rep,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type.

func (*MsgWithdrawDelegatorRewardResponse) Descriptor deprecated

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

Deprecated: Use MsgWithdrawDelegatorRewardResponse.ProtoReflect.Descriptor instead.

func (*MsgWithdrawDelegatorRewardResponse) GetAmount

func (*MsgWithdrawDelegatorRewardResponse) ProtoMessage

func (*MsgWithdrawDelegatorRewardResponse) ProtoMessage()

func (*MsgWithdrawDelegatorRewardResponse) ProtoReflect

func (*MsgWithdrawDelegatorRewardResponse) Reset

func (*MsgWithdrawDelegatorRewardResponse) String

type MsgWithdrawOperatorCommission

type MsgWithdrawOperatorCommission struct {
	Sender     string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	OperatorId uint32 `protobuf:"varint,2,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	// contains filtered or unexported fields
}

MsgWithdrawOperatorCommission withdraws the full commission to the operator.

func (*MsgWithdrawOperatorCommission) Descriptor deprecated

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

Deprecated: Use MsgWithdrawOperatorCommission.ProtoReflect.Descriptor instead.

func (*MsgWithdrawOperatorCommission) GetOperatorId

func (x *MsgWithdrawOperatorCommission) GetOperatorId() uint32

func (*MsgWithdrawOperatorCommission) GetSender

func (x *MsgWithdrawOperatorCommission) GetSender() string

func (*MsgWithdrawOperatorCommission) ProtoMessage

func (*MsgWithdrawOperatorCommission) ProtoMessage()

func (*MsgWithdrawOperatorCommission) ProtoReflect

func (*MsgWithdrawOperatorCommission) Reset

func (x *MsgWithdrawOperatorCommission) Reset()

func (*MsgWithdrawOperatorCommission) String

type MsgWithdrawOperatorCommissionResponse

type MsgWithdrawOperatorCommissionResponse struct {

	// Since: cosmos-sdk 0.46
	Amount []*v1beta1.Coin `protobuf:"bytes,1,rep,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

MsgWithdrawOperatorCommissionResponse defines the Msg/WithdrawOperatorCommission response type.

func (*MsgWithdrawOperatorCommissionResponse) Descriptor deprecated

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

Deprecated: Use MsgWithdrawOperatorCommissionResponse.ProtoReflect.Descriptor instead.

func (*MsgWithdrawOperatorCommissionResponse) GetAmount

func (*MsgWithdrawOperatorCommissionResponse) ProtoMessage

func (*MsgWithdrawOperatorCommissionResponse) ProtoMessage()

func (*MsgWithdrawOperatorCommissionResponse) ProtoReflect

func (*MsgWithdrawOperatorCommissionResponse) Reset

func (*MsgWithdrawOperatorCommissionResponse) String

type OperatorAccumulatedCommissionRecord

type OperatorAccumulatedCommissionRecord struct {
	OperatorId uint32 `protobuf:"varint,1,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	// accumulated is the accumulated commission of an operator.
	Accumulated *AccumulatedCommission `protobuf:"bytes,2,opt,name=accumulated,proto3" json:"accumulated,omitempty"`
	// contains filtered or unexported fields
}

func (*OperatorAccumulatedCommissionRecord) Descriptor deprecated

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

Deprecated: Use OperatorAccumulatedCommissionRecord.ProtoReflect.Descriptor instead.

func (*OperatorAccumulatedCommissionRecord) GetAccumulated

func (*OperatorAccumulatedCommissionRecord) GetOperatorId

func (x *OperatorAccumulatedCommissionRecord) GetOperatorId() uint32

func (*OperatorAccumulatedCommissionRecord) ProtoMessage

func (*OperatorAccumulatedCommissionRecord) ProtoMessage()

func (*OperatorAccumulatedCommissionRecord) ProtoReflect

func (*OperatorAccumulatedCommissionRecord) Reset

func (*OperatorAccumulatedCommissionRecord) String

type OutstandingRewards

type OutstandingRewards struct {
	Rewards []*DecPool `protobuf:"bytes,1,rep,name=rewards,proto3" json:"rewards,omitempty"`
	// contains filtered or unexported fields
}

OutstandingRewards represents outstanding (un-withdrawn) rewards for a delegation target inexpensive to track, allows simple sanity checks.

func (*OutstandingRewards) Descriptor deprecated

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

Deprecated: Use OutstandingRewards.ProtoReflect.Descriptor instead.

func (*OutstandingRewards) GetRewards

func (x *OutstandingRewards) GetRewards() []*DecPool

func (*OutstandingRewards) ProtoMessage

func (*OutstandingRewards) ProtoMessage()

func (*OutstandingRewards) ProtoReflect

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

func (*OutstandingRewards) Reset

func (x *OutstandingRewards) Reset()

func (*OutstandingRewards) String

func (x *OutstandingRewards) String() string

type OutstandingRewardsRecord

type OutstandingRewardsRecord struct {

	// delegation_target_id is the ID of the delegation target.
	DelegationTargetId uint32 `protobuf:"varint,1,opt,name=delegation_target_id,json=delegationTargetId,proto3" json:"delegation_target_id,omitempty"`
	// outstanding_rewards represents the outstanding rewards of the delegation
	// target.
	OutstandingRewards []*DecPool `protobuf:"bytes,2,rep,name=outstanding_rewards,json=outstandingRewards,proto3" json:"outstanding_rewards,omitempty"`
	// contains filtered or unexported fields
}

OutstandingRewardsRecord is used for import/export via genesis json.

func (*OutstandingRewardsRecord) Descriptor deprecated

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

Deprecated: Use OutstandingRewardsRecord.ProtoReflect.Descriptor instead.

func (*OutstandingRewardsRecord) GetDelegationTargetId

func (x *OutstandingRewardsRecord) GetDelegationTargetId() uint32

func (*OutstandingRewardsRecord) GetOutstandingRewards

func (x *OutstandingRewardsRecord) GetOutstandingRewards() []*DecPool

func (*OutstandingRewardsRecord) ProtoMessage

func (*OutstandingRewardsRecord) ProtoMessage()

func (*OutstandingRewardsRecord) ProtoReflect

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

func (*OutstandingRewardsRecord) Reset

func (x *OutstandingRewardsRecord) Reset()

func (*OutstandingRewardsRecord) String

func (x *OutstandingRewardsRecord) String() string

type Params

type Params struct {

	// RewardsPlanCreationFee represents the fee that an account must pay in
	// order to create a rewards plan.
	// The fee is drawn from the MsgCreateRewardsPlan sender's account and
	// transferred to the community pool.
	RewardsPlanCreationFee []*v1beta1.Coin `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

Params defines the parameters for the module.

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetRewardsPlanCreationFee

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

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 Pool

type Pool struct {
	Denom string          `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Coins []*v1beta1.Coin `protobuf:"bytes,2,rep,name=coins,proto3" json:"coins,omitempty"`
	// contains filtered or unexported fields
}

Pool is a Coins wrapper with denom which represents the rewards pool for the given denom. It is used to represent the rewards associated with the denom.

func (*Pool) Descriptor deprecated

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

Deprecated: Use Pool.ProtoReflect.Descriptor instead.

func (*Pool) GetCoins

func (x *Pool) GetCoins() []*v1beta1.Coin

func (*Pool) GetDenom

func (x *Pool) GetDenom() string

func (*Pool) ProtoMessage

func (*Pool) ProtoMessage()

func (*Pool) ProtoReflect

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

func (*Pool) Reset

func (x *Pool) Reset()

func (*Pool) String

func (x *Pool) String() string

type QueryClient

type QueryClient interface {
	// Params defines a gRPC query method that returns the parameters of the
	// module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// RewardsPlans queries all rewards plans.
	RewardsPlans(ctx context.Context, in *QueryRewardsPlansRequest, opts ...grpc.CallOption) (*QueryRewardsPlansResponse, error)
	// RewardsPlan queries a specific rewards plan by its ID.
	RewardsPlan(ctx context.Context, in *QueryRewardsPlanRequest, opts ...grpc.CallOption) (*QueryRewardsPlanResponse, error)
	// PoolOutstandingRewards queries rewards of a pool.
	PoolOutstandingRewards(ctx context.Context, in *QueryPoolOutstandingRewardsRequest, opts ...grpc.CallOption) (*QueryPoolOutstandingRewardsResponse, error)
	// OperatorOutstandingRewards queries rewards of an operator.
	OperatorOutstandingRewards(ctx context.Context, in *QueryOperatorOutstandingRewardsRequest, opts ...grpc.CallOption) (*QueryOperatorOutstandingRewardsResponse, error)
	// ServiceOutstandingRewards queries rewards of a service.
	ServiceOutstandingRewards(ctx context.Context, in *QueryServiceOutstandingRewardsRequest, opts ...grpc.CallOption) (*QueryServiceOutstandingRewardsResponse, error)
	// OperatorCommission queries accumulated commission for an operator.
	OperatorCommission(ctx context.Context, in *QueryOperatorCommissionRequest, opts ...grpc.CallOption) (*QueryOperatorCommissionResponse, error)
	// PoolDelegationRewards queries the total rewards accrued by a pool
	// delegation.
	PoolDelegationRewards(ctx context.Context, in *QueryPoolDelegationRewardsRequest, opts ...grpc.CallOption) (*QueryPoolDelegationRewardsResponse, error)
	// OperatorDelegationRewards queries the total rewards accrued by a operator
	// delegation.
	OperatorDelegationRewards(ctx context.Context, in *QueryOperatorDelegationRewardsRequest, opts ...grpc.CallOption) (*QueryOperatorDelegationRewardsResponse, error)
	// ServiceDelegationRewards queries the total rewards accrued by a service
	// delegation.
	ServiceDelegationRewards(ctx context.Context, in *QueryServiceDelegationRewardsRequest, opts ...grpc.CallOption) (*QueryServiceDelegationRewardsResponse, error)
	// DelegatorTotalRewards queries the total rewards accrued by a single
	// delegator
	DelegatorTotalRewards(ctx context.Context, in *QueryDelegatorTotalRewardsRequest, opts ...grpc.CallOption) (*QueryDelegatorTotalRewardsResponse, error)
	// DelegatorWithdrawAddress queries withdraw address of a delegator.
	DelegatorWithdrawAddress(ctx context.Context, in *QueryDelegatorWithdrawAddressRequest, opts ...grpc.CallOption) (*QueryDelegatorWithdrawAddressResponse, 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.

Query defines the gRPC querier service.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryDelegatorTotalRewardsRequest

type QueryDelegatorTotalRewardsRequest struct {

	// delegator_address defines the delegator address to query for.
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// contains filtered or unexported fields
}

QueryDelegatorTotalRewardsRequest is the request type for the Query/DelegatorTotalRewards RPC method.

func (*QueryDelegatorTotalRewardsRequest) Descriptor deprecated

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

Deprecated: Use QueryDelegatorTotalRewardsRequest.ProtoReflect.Descriptor instead.

func (*QueryDelegatorTotalRewardsRequest) GetDelegatorAddress

func (x *QueryDelegatorTotalRewardsRequest) GetDelegatorAddress() string

func (*QueryDelegatorTotalRewardsRequest) ProtoMessage

func (*QueryDelegatorTotalRewardsRequest) ProtoMessage()

func (*QueryDelegatorTotalRewardsRequest) ProtoReflect

func (*QueryDelegatorTotalRewardsRequest) Reset

func (*QueryDelegatorTotalRewardsRequest) String

type QueryDelegatorTotalRewardsResponse

type QueryDelegatorTotalRewardsResponse struct {

	// rewards defines all the rewards accrued by a delegator.
	Rewards []*DelegationDelegatorReward `protobuf:"bytes,1,rep,name=rewards,proto3" json:"rewards,omitempty"`
	// total defines the sum of all the rewards.
	Total []*DecPool `protobuf:"bytes,2,rep,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

QueryDelegatorTotalRewardsResponse is the response type for the Query/DelegatorTotalRewards RPC method.

func (*QueryDelegatorTotalRewardsResponse) Descriptor deprecated

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

Deprecated: Use QueryDelegatorTotalRewardsResponse.ProtoReflect.Descriptor instead.

func (*QueryDelegatorTotalRewardsResponse) GetRewards

func (*QueryDelegatorTotalRewardsResponse) GetTotal

func (*QueryDelegatorTotalRewardsResponse) ProtoMessage

func (*QueryDelegatorTotalRewardsResponse) ProtoMessage()

func (*QueryDelegatorTotalRewardsResponse) ProtoReflect

func (*QueryDelegatorTotalRewardsResponse) Reset

func (*QueryDelegatorTotalRewardsResponse) String

type QueryDelegatorWithdrawAddressRequest

type QueryDelegatorWithdrawAddressRequest struct {

	// delegator_address defines the delegator address to query for.
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// contains filtered or unexported fields
}

QueryDelegatorWithdrawAddressRequest is the request type for the Query/DelegatorWithdrawAddress RPC method.

func (*QueryDelegatorWithdrawAddressRequest) Descriptor deprecated

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

Deprecated: Use QueryDelegatorWithdrawAddressRequest.ProtoReflect.Descriptor instead.

func (*QueryDelegatorWithdrawAddressRequest) GetDelegatorAddress

func (x *QueryDelegatorWithdrawAddressRequest) GetDelegatorAddress() string

func (*QueryDelegatorWithdrawAddressRequest) ProtoMessage

func (*QueryDelegatorWithdrawAddressRequest) ProtoMessage()

func (*QueryDelegatorWithdrawAddressRequest) ProtoReflect

func (*QueryDelegatorWithdrawAddressRequest) Reset

func (*QueryDelegatorWithdrawAddressRequest) String

type QueryDelegatorWithdrawAddressResponse

type QueryDelegatorWithdrawAddressResponse struct {

	// withdraw_address defines the delegator address to query for.
	WithdrawAddress string `protobuf:"bytes,1,opt,name=withdraw_address,json=withdrawAddress,proto3" json:"withdraw_address,omitempty"`
	// contains filtered or unexported fields
}

QueryDelegatorWithdrawAddressResponse is the response type for the Query/DelegatorWithdrawAddress RPC method.

func (*QueryDelegatorWithdrawAddressResponse) Descriptor deprecated

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

Deprecated: Use QueryDelegatorWithdrawAddressResponse.ProtoReflect.Descriptor instead.

func (*QueryDelegatorWithdrawAddressResponse) GetWithdrawAddress

func (x *QueryDelegatorWithdrawAddressResponse) GetWithdrawAddress() string

func (*QueryDelegatorWithdrawAddressResponse) ProtoMessage

func (*QueryDelegatorWithdrawAddressResponse) ProtoMessage()

func (*QueryDelegatorWithdrawAddressResponse) ProtoReflect

func (*QueryDelegatorWithdrawAddressResponse) Reset

func (*QueryDelegatorWithdrawAddressResponse) String

type QueryOperatorCommissionRequest

type QueryOperatorCommissionRequest struct {

	// operator_id defines the validator address to query for.
	OperatorId uint32 `protobuf:"varint,1,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	// contains filtered or unexported fields
}

QueryOperatorCommissionRequest is the request type for the Query/OperatorCommission RPC method

func (*QueryOperatorCommissionRequest) Descriptor deprecated

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

Deprecated: Use QueryOperatorCommissionRequest.ProtoReflect.Descriptor instead.

func (*QueryOperatorCommissionRequest) GetOperatorId

func (x *QueryOperatorCommissionRequest) GetOperatorId() uint32

func (*QueryOperatorCommissionRequest) ProtoMessage

func (*QueryOperatorCommissionRequest) ProtoMessage()

func (*QueryOperatorCommissionRequest) ProtoReflect

func (*QueryOperatorCommissionRequest) Reset

func (x *QueryOperatorCommissionRequest) Reset()

func (*QueryOperatorCommissionRequest) String

type QueryOperatorCommissionResponse

type QueryOperatorCommissionResponse struct {

	// commission defines the commission the operator received.
	Commission *AccumulatedCommission `protobuf:"bytes,1,opt,name=commission,proto3" json:"commission,omitempty"`
	// contains filtered or unexported fields
}

QueryOperatorCommissionResponse is the response type for the Query/OperatorCommission RPC method

func (*QueryOperatorCommissionResponse) Descriptor deprecated

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

Deprecated: Use QueryOperatorCommissionResponse.ProtoReflect.Descriptor instead.

func (*QueryOperatorCommissionResponse) GetCommission

func (*QueryOperatorCommissionResponse) ProtoMessage

func (*QueryOperatorCommissionResponse) ProtoMessage()

func (*QueryOperatorCommissionResponse) ProtoReflect

func (*QueryOperatorCommissionResponse) Reset

func (*QueryOperatorCommissionResponse) String

type QueryOperatorDelegationRewardsRequest

type QueryOperatorDelegationRewardsRequest struct {

	// delegator_address defines the delegator address to query for.
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// operator_id defines the operator ID to query for.
	OperatorId uint32 `protobuf:"varint,2,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	// contains filtered or unexported fields
}

QueryOperatorDelegationRewardsRequest is the request type for the Query/OperatorDelegationRewards RPC method.

func (*QueryOperatorDelegationRewardsRequest) Descriptor deprecated

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

Deprecated: Use QueryOperatorDelegationRewardsRequest.ProtoReflect.Descriptor instead.

func (*QueryOperatorDelegationRewardsRequest) GetDelegatorAddress

func (x *QueryOperatorDelegationRewardsRequest) GetDelegatorAddress() string

func (*QueryOperatorDelegationRewardsRequest) GetOperatorId

func (x *QueryOperatorDelegationRewardsRequest) GetOperatorId() uint32

func (*QueryOperatorDelegationRewardsRequest) ProtoMessage

func (*QueryOperatorDelegationRewardsRequest) ProtoMessage()

func (*QueryOperatorDelegationRewardsRequest) ProtoReflect

func (*QueryOperatorDelegationRewardsRequest) Reset

func (*QueryOperatorDelegationRewardsRequest) String

type QueryOperatorDelegationRewardsResponse

type QueryOperatorDelegationRewardsResponse struct {

	// rewards defines the rewards accrued by a delegation.
	Rewards []*DecPool `protobuf:"bytes,1,rep,name=rewards,proto3" json:"rewards,omitempty"`
	// contains filtered or unexported fields
}

QueryOperatorDelegationRewardsResponse is the response type for the Query/OperatorDelegationRewards RPC method.

func (*QueryOperatorDelegationRewardsResponse) Descriptor deprecated

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

Deprecated: Use QueryOperatorDelegationRewardsResponse.ProtoReflect.Descriptor instead.

func (*QueryOperatorDelegationRewardsResponse) GetRewards

func (*QueryOperatorDelegationRewardsResponse) ProtoMessage

func (*QueryOperatorDelegationRewardsResponse) ProtoReflect

func (*QueryOperatorDelegationRewardsResponse) Reset

func (*QueryOperatorDelegationRewardsResponse) String

type QueryOperatorOutstandingRewardsRequest

type QueryOperatorOutstandingRewardsRequest struct {

	// operator_id defines the operator ID to query for.
	OperatorId uint32 `protobuf:"varint,1,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	// contains filtered or unexported fields
}

QueryOperatorOutstandingRewardsRequest is the request type for the Query/OperatorOutstandingRewards RPC method.

func (*QueryOperatorOutstandingRewardsRequest) Descriptor deprecated

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

Deprecated: Use QueryOperatorOutstandingRewardsRequest.ProtoReflect.Descriptor instead.

func (*QueryOperatorOutstandingRewardsRequest) GetOperatorId

func (*QueryOperatorOutstandingRewardsRequest) ProtoMessage

func (*QueryOperatorOutstandingRewardsRequest) ProtoReflect

func (*QueryOperatorOutstandingRewardsRequest) Reset

func (*QueryOperatorOutstandingRewardsRequest) String

type QueryOperatorOutstandingRewardsResponse

type QueryOperatorOutstandingRewardsResponse struct {
	Rewards *OutstandingRewards `protobuf:"bytes,1,opt,name=rewards,proto3" json:"rewards,omitempty"`
	// contains filtered or unexported fields
}

QueryOperatorOutstandingRewardsResponse is the response type for the Query/OperatorOutstandingRewards RPC method.

func (*QueryOperatorOutstandingRewardsResponse) Descriptor deprecated

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

Deprecated: Use QueryOperatorOutstandingRewardsResponse.ProtoReflect.Descriptor instead.

func (*QueryOperatorOutstandingRewardsResponse) GetRewards

func (*QueryOperatorOutstandingRewardsResponse) ProtoMessage

func (*QueryOperatorOutstandingRewardsResponse) ProtoReflect

func (*QueryOperatorOutstandingRewardsResponse) Reset

func (*QueryOperatorOutstandingRewardsResponse) 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 *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 QueryPoolDelegationRewardsRequest

type QueryPoolDelegationRewardsRequest struct {

	// delegator_address defines the delegator address to query for.
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// pool_id defines the pool ID to query for.
	PoolId uint32 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	// contains filtered or unexported fields
}

QueryPoolDelegationRewardsRequest is the request type for the Query/PoolDelegationRewards RPC method.

func (*QueryPoolDelegationRewardsRequest) Descriptor deprecated

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

Deprecated: Use QueryPoolDelegationRewardsRequest.ProtoReflect.Descriptor instead.

func (*QueryPoolDelegationRewardsRequest) GetDelegatorAddress

func (x *QueryPoolDelegationRewardsRequest) GetDelegatorAddress() string

func (*QueryPoolDelegationRewardsRequest) GetPoolId

func (*QueryPoolDelegationRewardsRequest) ProtoMessage

func (*QueryPoolDelegationRewardsRequest) ProtoMessage()

func (*QueryPoolDelegationRewardsRequest) ProtoReflect

func (*QueryPoolDelegationRewardsRequest) Reset

func (*QueryPoolDelegationRewardsRequest) String

type QueryPoolDelegationRewardsResponse

type QueryPoolDelegationRewardsResponse struct {

	// rewards defines the rewards accrued by a delegation.
	Rewards []*DecPool `protobuf:"bytes,1,rep,name=rewards,proto3" json:"rewards,omitempty"`
	// contains filtered or unexported fields
}

QueryPoolDelegationRewardsResponse is the response type for the Query/PoolDelegationRewards RPC method.

func (*QueryPoolDelegationRewardsResponse) Descriptor deprecated

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

Deprecated: Use QueryPoolDelegationRewardsResponse.ProtoReflect.Descriptor instead.

func (*QueryPoolDelegationRewardsResponse) GetRewards

func (x *QueryPoolDelegationRewardsResponse) GetRewards() []*DecPool

func (*QueryPoolDelegationRewardsResponse) ProtoMessage

func (*QueryPoolDelegationRewardsResponse) ProtoMessage()

func (*QueryPoolDelegationRewardsResponse) ProtoReflect

func (*QueryPoolDelegationRewardsResponse) Reset

func (*QueryPoolDelegationRewardsResponse) String

type QueryPoolOutstandingRewardsRequest

type QueryPoolOutstandingRewardsRequest struct {

	// pool_id defines the pool ID to query for.
	PoolId uint32 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	// contains filtered or unexported fields
}

QueryPoolOutstandingRewardsRequest is the request type for the Query/PoolOutstandingRewards RPC method.

func (*QueryPoolOutstandingRewardsRequest) Descriptor deprecated

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

Deprecated: Use QueryPoolOutstandingRewardsRequest.ProtoReflect.Descriptor instead.

func (*QueryPoolOutstandingRewardsRequest) GetPoolId

func (*QueryPoolOutstandingRewardsRequest) ProtoMessage

func (*QueryPoolOutstandingRewardsRequest) ProtoMessage()

func (*QueryPoolOutstandingRewardsRequest) ProtoReflect

func (*QueryPoolOutstandingRewardsRequest) Reset

func (*QueryPoolOutstandingRewardsRequest) String

type QueryPoolOutstandingRewardsResponse

type QueryPoolOutstandingRewardsResponse struct {
	Rewards *OutstandingRewards `protobuf:"bytes,1,opt,name=rewards,proto3" json:"rewards,omitempty"`
	// contains filtered or unexported fields
}

QueryPoolOutstandingRewardsResponse is the response type for the Query/PoolOutstandingRewards RPC method.

func (*QueryPoolOutstandingRewardsResponse) Descriptor deprecated

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

Deprecated: Use QueryPoolOutstandingRewardsResponse.ProtoReflect.Descriptor instead.

func (*QueryPoolOutstandingRewardsResponse) GetRewards

func (*QueryPoolOutstandingRewardsResponse) ProtoMessage

func (*QueryPoolOutstandingRewardsResponse) ProtoMessage()

func (*QueryPoolOutstandingRewardsResponse) ProtoReflect

func (*QueryPoolOutstandingRewardsResponse) Reset

func (*QueryPoolOutstandingRewardsResponse) String

type QueryRewardsPlanRequest

type QueryRewardsPlanRequest struct {
	PlanId uint64 `protobuf:"varint,1,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
	// contains filtered or unexported fields
}

QueryRewardsPlanRequest is the request type for the Query/RewardsPlan RPC method.

func (*QueryRewardsPlanRequest) Descriptor deprecated

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

Deprecated: Use QueryRewardsPlanRequest.ProtoReflect.Descriptor instead.

func (*QueryRewardsPlanRequest) GetPlanId

func (x *QueryRewardsPlanRequest) GetPlanId() uint64

func (*QueryRewardsPlanRequest) ProtoMessage

func (*QueryRewardsPlanRequest) ProtoMessage()

func (*QueryRewardsPlanRequest) ProtoReflect

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

func (*QueryRewardsPlanRequest) Reset

func (x *QueryRewardsPlanRequest) Reset()

func (*QueryRewardsPlanRequest) String

func (x *QueryRewardsPlanRequest) String() string

type QueryRewardsPlanResponse

type QueryRewardsPlanResponse struct {
	RewardsPlan *RewardsPlan `protobuf:"bytes,2,opt,name=rewards_plan,json=rewardsPlan,proto3" json:"rewards_plan,omitempty"`
	// contains filtered or unexported fields
}

QueryRewardsPlanResponse is the response type for the Query/RewardsPlan RPC method.

func (*QueryRewardsPlanResponse) Descriptor deprecated

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

Deprecated: Use QueryRewardsPlanResponse.ProtoReflect.Descriptor instead.

func (*QueryRewardsPlanResponse) GetRewardsPlan

func (x *QueryRewardsPlanResponse) GetRewardsPlan() *RewardsPlan

func (*QueryRewardsPlanResponse) ProtoMessage

func (*QueryRewardsPlanResponse) ProtoMessage()

func (*QueryRewardsPlanResponse) ProtoReflect

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

func (*QueryRewardsPlanResponse) Reset

func (x *QueryRewardsPlanResponse) Reset()

func (*QueryRewardsPlanResponse) String

func (x *QueryRewardsPlanResponse) String() string

type QueryRewardsPlansRequest

type QueryRewardsPlansRequest struct {

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

QueryRewardsPlansRequest is the request type for the Query/RewardsPlans RPC method.

func (*QueryRewardsPlansRequest) Descriptor deprecated

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

Deprecated: Use QueryRewardsPlansRequest.ProtoReflect.Descriptor instead.

func (*QueryRewardsPlansRequest) GetPagination

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

func (*QueryRewardsPlansRequest) ProtoMessage

func (*QueryRewardsPlansRequest) ProtoMessage()

func (*QueryRewardsPlansRequest) ProtoReflect

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

func (*QueryRewardsPlansRequest) Reset

func (x *QueryRewardsPlansRequest) Reset()

func (*QueryRewardsPlansRequest) String

func (x *QueryRewardsPlansRequest) String() string

type QueryRewardsPlansResponse

type QueryRewardsPlansResponse struct {
	RewardsPlans []*RewardsPlan `protobuf:"bytes,1,rep,name=rewards_plans,json=rewardsPlans,proto3" json:"rewards_plans,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
}

QueryRewardsPlansResponse is the response type for the Query/RewardsPlans RPC method.

func (*QueryRewardsPlansResponse) Descriptor deprecated

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

Deprecated: Use QueryRewardsPlansResponse.ProtoReflect.Descriptor instead.

func (*QueryRewardsPlansResponse) GetPagination

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

func (*QueryRewardsPlansResponse) GetRewardsPlans

func (x *QueryRewardsPlansResponse) GetRewardsPlans() []*RewardsPlan

func (*QueryRewardsPlansResponse) ProtoMessage

func (*QueryRewardsPlansResponse) ProtoMessage()

func (*QueryRewardsPlansResponse) ProtoReflect

func (*QueryRewardsPlansResponse) Reset

func (x *QueryRewardsPlansResponse) Reset()

func (*QueryRewardsPlansResponse) String

func (x *QueryRewardsPlansResponse) String() string

type QueryServer

type QueryServer interface {
	// Params defines a gRPC query method that returns the parameters of the
	// module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// RewardsPlans queries all rewards plans.
	RewardsPlans(context.Context, *QueryRewardsPlansRequest) (*QueryRewardsPlansResponse, error)
	// RewardsPlan queries a specific rewards plan by its ID.
	RewardsPlan(context.Context, *QueryRewardsPlanRequest) (*QueryRewardsPlanResponse, error)
	// PoolOutstandingRewards queries rewards of a pool.
	PoolOutstandingRewards(context.Context, *QueryPoolOutstandingRewardsRequest) (*QueryPoolOutstandingRewardsResponse, error)
	// OperatorOutstandingRewards queries rewards of an operator.
	OperatorOutstandingRewards(context.Context, *QueryOperatorOutstandingRewardsRequest) (*QueryOperatorOutstandingRewardsResponse, error)
	// ServiceOutstandingRewards queries rewards of a service.
	ServiceOutstandingRewards(context.Context, *QueryServiceOutstandingRewardsRequest) (*QueryServiceOutstandingRewardsResponse, error)
	// OperatorCommission queries accumulated commission for an operator.
	OperatorCommission(context.Context, *QueryOperatorCommissionRequest) (*QueryOperatorCommissionResponse, error)
	// PoolDelegationRewards queries the total rewards accrued by a pool
	// delegation.
	PoolDelegationRewards(context.Context, *QueryPoolDelegationRewardsRequest) (*QueryPoolDelegationRewardsResponse, error)
	// OperatorDelegationRewards queries the total rewards accrued by a operator
	// delegation.
	OperatorDelegationRewards(context.Context, *QueryOperatorDelegationRewardsRequest) (*QueryOperatorDelegationRewardsResponse, error)
	// ServiceDelegationRewards queries the total rewards accrued by a service
	// delegation.
	ServiceDelegationRewards(context.Context, *QueryServiceDelegationRewardsRequest) (*QueryServiceDelegationRewardsResponse, error)
	// DelegatorTotalRewards queries the total rewards accrued by a single
	// delegator
	DelegatorTotalRewards(context.Context, *QueryDelegatorTotalRewardsRequest) (*QueryDelegatorTotalRewardsResponse, error)
	// DelegatorWithdrawAddress queries withdraw address of a delegator.
	DelegatorWithdrawAddress(context.Context, *QueryDelegatorWithdrawAddressRequest) (*QueryDelegatorWithdrawAddressResponse, error)
	// contains filtered or unexported methods
}

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

Query defines the gRPC querier service.

type QueryServiceDelegationRewardsRequest

type QueryServiceDelegationRewardsRequest struct {

	// delegator_address defines the delegator address to query for.
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// service_id defines the service ID to query for.
	ServiceId uint32 `protobuf:"varint,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// contains filtered or unexported fields
}

QueryServiceDelegationRewardsRequest is the request type for the Query/ServiceDelegationRewards RPC method.

func (*QueryServiceDelegationRewardsRequest) Descriptor deprecated

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

Deprecated: Use QueryServiceDelegationRewardsRequest.ProtoReflect.Descriptor instead.

func (*QueryServiceDelegationRewardsRequest) GetDelegatorAddress

func (x *QueryServiceDelegationRewardsRequest) GetDelegatorAddress() string

func (*QueryServiceDelegationRewardsRequest) GetServiceId

func (x *QueryServiceDelegationRewardsRequest) GetServiceId() uint32

func (*QueryServiceDelegationRewardsRequest) ProtoMessage

func (*QueryServiceDelegationRewardsRequest) ProtoMessage()

func (*QueryServiceDelegationRewardsRequest) ProtoReflect

func (*QueryServiceDelegationRewardsRequest) Reset

func (*QueryServiceDelegationRewardsRequest) String

type QueryServiceDelegationRewardsResponse

type QueryServiceDelegationRewardsResponse struct {

	// rewards defines the rewards accrued by a delegation.
	Rewards []*DecPool `protobuf:"bytes,1,rep,name=rewards,proto3" json:"rewards,omitempty"`
	// contains filtered or unexported fields
}

QueryServiceDelegationRewardsResponse is the response type for the Query/ServiceDelegationRewards RPC method.

func (*QueryServiceDelegationRewardsResponse) Descriptor deprecated

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

Deprecated: Use QueryServiceDelegationRewardsResponse.ProtoReflect.Descriptor instead.

func (*QueryServiceDelegationRewardsResponse) GetRewards

func (*QueryServiceDelegationRewardsResponse) ProtoMessage

func (*QueryServiceDelegationRewardsResponse) ProtoMessage()

func (*QueryServiceDelegationRewardsResponse) ProtoReflect

func (*QueryServiceDelegationRewardsResponse) Reset

func (*QueryServiceDelegationRewardsResponse) String

type QueryServiceOutstandingRewardsRequest

type QueryServiceOutstandingRewardsRequest struct {

	// service_id defines the service ID to query for.
	ServiceId uint32 `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// contains filtered or unexported fields
}

QueryServiceOutstandingRewardsRequest is the request type for the Query/ServiceOutstandingRewards RPC method.

func (*QueryServiceOutstandingRewardsRequest) Descriptor deprecated

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

Deprecated: Use QueryServiceOutstandingRewardsRequest.ProtoReflect.Descriptor instead.

func (*QueryServiceOutstandingRewardsRequest) GetServiceId

func (*QueryServiceOutstandingRewardsRequest) ProtoMessage

func (*QueryServiceOutstandingRewardsRequest) ProtoMessage()

func (*QueryServiceOutstandingRewardsRequest) ProtoReflect

func (*QueryServiceOutstandingRewardsRequest) Reset

func (*QueryServiceOutstandingRewardsRequest) String

type QueryServiceOutstandingRewardsResponse

type QueryServiceOutstandingRewardsResponse struct {
	Rewards *OutstandingRewards `protobuf:"bytes,1,opt,name=rewards,proto3" json:"rewards,omitempty"`
	// contains filtered or unexported fields
}

QueryServiceOutstandingRewardsResponse is the response type for the Query/ServiceOutstandingRewards RPC method.

func (*QueryServiceOutstandingRewardsResponse) Descriptor deprecated

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

Deprecated: Use QueryServiceOutstandingRewardsResponse.ProtoReflect.Descriptor instead.

func (*QueryServiceOutstandingRewardsResponse) GetRewards

func (*QueryServiceOutstandingRewardsResponse) ProtoMessage

func (*QueryServiceOutstandingRewardsResponse) ProtoReflect

func (*QueryServiceOutstandingRewardsResponse) Reset

func (*QueryServiceOutstandingRewardsResponse) String

type RewardsPlan

type RewardsPlan struct {

	// ID is the unique identifier of the plan.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Description is the description of the plan.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// ServiceID is the service ID which the plan is related to.
	ServiceId uint32 `protobuf:"varint,3,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// AmountPerDay is the amount of rewards to be distributed, per day.
	// The rewards amount for every block will be calculated based on this.
	AmountPerDay []*v1beta1.Coin `protobuf:"bytes,4,rep,name=amount_per_day,json=amountPerDay,proto3" json:"amount_per_day,omitempty"`
	// StartTime is the starting time of the plan.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// EndTime is the ending time of the plan.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// RewardsPool is the address where rewards to be distributed are stored.
	// If the rewards pool doesn't have enough funds to be distributed, then
	// the rewards allocation for this plan will be skipped.
	RewardsPool string `protobuf:"bytes,7,opt,name=rewards_pool,json=rewardsPool,proto3" json:"rewards_pool,omitempty"`
	// PoolsDistribution is the rewards distribution parameters for pools.
	PoolsDistribution *Distribution `protobuf:"bytes,8,opt,name=pools_distribution,json=poolsDistribution,proto3" json:"pools_distribution,omitempty"`
	// OperatorsDistribution is the rewards distribution parameters for operators.
	OperatorsDistribution *Distribution `protobuf:"bytes,9,opt,name=operators_distribution,json=operatorsDistribution,proto3" json:"operators_distribution,omitempty"`
	// UsersDistribution is the rewards distribution parameters for users.
	UsersDistribution *UsersDistribution `protobuf:"bytes,10,opt,name=users_distribution,json=usersDistribution,proto3" json:"users_distribution,omitempty"`
	// contains filtered or unexported fields
}

RewardsPlan represents a rewards allocation plan.

func (*RewardsPlan) Descriptor deprecated

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

Deprecated: Use RewardsPlan.ProtoReflect.Descriptor instead.

func (*RewardsPlan) GetAmountPerDay

func (x *RewardsPlan) GetAmountPerDay() []*v1beta1.Coin

func (*RewardsPlan) GetDescription

func (x *RewardsPlan) GetDescription() string

func (*RewardsPlan) GetEndTime

func (x *RewardsPlan) GetEndTime() *timestamppb.Timestamp

func (*RewardsPlan) GetId

func (x *RewardsPlan) GetId() uint64

func (*RewardsPlan) GetOperatorsDistribution

func (x *RewardsPlan) GetOperatorsDistribution() *Distribution

func (*RewardsPlan) GetPoolsDistribution

func (x *RewardsPlan) GetPoolsDistribution() *Distribution

func (*RewardsPlan) GetRewardsPool

func (x *RewardsPlan) GetRewardsPool() string

func (*RewardsPlan) GetServiceId

func (x *RewardsPlan) GetServiceId() uint32

func (*RewardsPlan) GetStartTime

func (x *RewardsPlan) GetStartTime() *timestamppb.Timestamp

func (*RewardsPlan) GetUsersDistribution

func (x *RewardsPlan) GetUsersDistribution() *UsersDistribution

func (*RewardsPlan) ProtoMessage

func (*RewardsPlan) ProtoMessage()

func (*RewardsPlan) ProtoReflect

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

func (*RewardsPlan) Reset

func (x *RewardsPlan) Reset()

func (*RewardsPlan) String

func (x *RewardsPlan) String() string

type UnimplementedMsgServer

type UnimplementedMsgServer struct{}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct{}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedQueryServer) Params

type UnsafeMsgServer

type UnsafeMsgServer interface {
	// contains filtered or unexported methods
}

UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.

type UnsafeQueryServer

type UnsafeQueryServer interface {
	// contains filtered or unexported methods
}

UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.

type UsersDistribution

type UsersDistribution struct {

	// Weight is the rewards distribution weight among other types of delegation
	// targets.
	Weight uint32 `protobuf:"varint,1,opt,name=weight,proto3" json:"weight,omitempty"`
	// Type defines the rewards distribution method. Currently only the basic
	// distribution is allowed.
	Type_ *anypb.Any `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Distribution represents distribution parameters for delegators who directly staked their tokens to the service.

func (*UsersDistribution) Descriptor deprecated

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

Deprecated: Use UsersDistribution.ProtoReflect.Descriptor instead.

func (*UsersDistribution) GetType_

func (x *UsersDistribution) GetType_() *anypb.Any

func (*UsersDistribution) GetWeight

func (x *UsersDistribution) GetWeight() uint32

func (*UsersDistribution) ProtoMessage

func (*UsersDistribution) ProtoMessage()

func (*UsersDistribution) ProtoReflect

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

func (*UsersDistribution) Reset

func (x *UsersDistribution) Reset()

func (*UsersDistribution) String

func (x *UsersDistribution) String() string

type UsersDistributionTypeBasic

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

UsersDistributionTypeBasic represents the simplest form of distribution. Rewards are allocated to entities based on their delegation values. For example, if there are three users with delegation values of $1000, $1500, and $2000, their rewards will be distributed in a 2:3:4 ratio.

func (*UsersDistributionTypeBasic) Descriptor deprecated

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

Deprecated: Use UsersDistributionTypeBasic.ProtoReflect.Descriptor instead.

func (*UsersDistributionTypeBasic) ProtoMessage

func (*UsersDistributionTypeBasic) ProtoMessage()

func (*UsersDistributionTypeBasic) ProtoReflect

func (*UsersDistributionTypeBasic) Reset

func (x *UsersDistributionTypeBasic) Reset()

func (*UsersDistributionTypeBasic) String

func (x *UsersDistributionTypeBasic) String() string

Jump to

Keyboard shortcuts

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