distributionv1beta1

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: Apache-2.0 Imports: 18 Imported by: 14

Documentation

Overview

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

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

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

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

Index

Constants

This section is empty.

Variables

View Source
var File_cosmos_distribution_v1beta1_distribution_proto protoreflect.FileDescriptor
View Source
var File_cosmos_distribution_v1beta1_genesis_proto protoreflect.FileDescriptor
View Source
var File_cosmos_distribution_v1beta1_query_proto protoreflect.FileDescriptor
View Source
var File_cosmos_distribution_v1beta1_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cosmos.distribution.v1beta1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SetWithdrawAddress",
			Handler:    _Msg_SetWithdrawAddress_Handler,
		},
		{
			MethodName: "WithdrawDelegatorReward",
			Handler:    _Msg_WithdrawDelegatorReward_Handler,
		},
		{
			MethodName: "WithdrawValidatorCommission",
			Handler:    _Msg_WithdrawValidatorCommission_Handler,
		},
		{
			MethodName: "FundCommunityPool",
			Handler:    _Msg_FundCommunityPool_Handler,
		},
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
		{
			MethodName: "CommunityPoolSpend",
			Handler:    _Msg_CommunityPoolSpend_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cosmos/distribution/v1beta1/tx.proto",
}

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

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cosmos.distribution.v1beta1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
		{
			MethodName: "ValidatorDistributionInfo",
			Handler:    _Query_ValidatorDistributionInfo_Handler,
		},
		{
			MethodName: "ValidatorOutstandingRewards",
			Handler:    _Query_ValidatorOutstandingRewards_Handler,
		},
		{
			MethodName: "ValidatorCommission",
			Handler:    _Query_ValidatorCommission_Handler,
		},
		{
			MethodName: "ValidatorSlashes",
			Handler:    _Query_ValidatorSlashes_Handler,
		},
		{
			MethodName: "DelegationRewards",
			Handler:    _Query_DelegationRewards_Handler,
		},
		{
			MethodName: "DelegationTotalRewards",
			Handler:    _Query_DelegationTotalRewards_Handler,
		},
		{
			MethodName: "DelegatorValidators",
			Handler:    _Query_DelegatorValidators_Handler,
		},
		{
			MethodName: "DelegatorWithdrawAddress",
			Handler:    _Query_DelegatorWithdrawAddress_Handler,
		},
		{
			MethodName: "CommunityPool",
			Handler:    _Query_CommunityPool_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cosmos/distribution/v1beta1/query.proto",
}

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

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type CommunityPoolSpendProposal deprecated

type CommunityPoolSpendProposal struct {
	Title       string          `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string          `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Recipient   string          `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Amount      []*v1beta1.Coin `protobuf:"bytes,4,rep,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

CommunityPoolSpendProposal details a proposal for use of community funds, together with how many coins are proposed to be spent, and to which recipient account.

Deprecated: Do not use. As of the Cosmos SDK release v0.47.x, there is no longer a need for an explicit CommunityPoolSpendProposal. To spend community pool funds, a simple MsgCommunityPoolSpend can be invoked from the x/gov module via a v1 governance proposal.

Deprecated: Do not use.

func (*CommunityPoolSpendProposal) Descriptor deprecated

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

Deprecated: Use CommunityPoolSpendProposal.ProtoReflect.Descriptor instead.

func (*CommunityPoolSpendProposal) GetAmount

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

func (*CommunityPoolSpendProposal) GetDescription

func (x *CommunityPoolSpendProposal) GetDescription() string

func (*CommunityPoolSpendProposal) GetRecipient

func (x *CommunityPoolSpendProposal) GetRecipient() string

func (*CommunityPoolSpendProposal) GetTitle

func (x *CommunityPoolSpendProposal) GetTitle() string

func (*CommunityPoolSpendProposal) ProtoMessage

func (*CommunityPoolSpendProposal) ProtoMessage()

func (*CommunityPoolSpendProposal) ProtoReflect

func (*CommunityPoolSpendProposal) Reset

func (x *CommunityPoolSpendProposal) Reset()

func (*CommunityPoolSpendProposal) String

func (x *CommunityPoolSpendProposal) String() string

type CommunityPoolSpendProposalWithDeposit

type CommunityPoolSpendProposalWithDeposit struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Recipient   string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Amount      string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	Deposit     string `protobuf:"bytes,5,opt,name=deposit,proto3" json:"deposit,omitempty"`
	// contains filtered or unexported fields
}

CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal with a deposit

func (*CommunityPoolSpendProposalWithDeposit) Descriptor deprecated

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

Deprecated: Use CommunityPoolSpendProposalWithDeposit.ProtoReflect.Descriptor instead.

func (*CommunityPoolSpendProposalWithDeposit) GetAmount

func (*CommunityPoolSpendProposalWithDeposit) GetDeposit

func (*CommunityPoolSpendProposalWithDeposit) GetDescription

func (x *CommunityPoolSpendProposalWithDeposit) GetDescription() string

func (*CommunityPoolSpendProposalWithDeposit) GetRecipient

func (*CommunityPoolSpendProposalWithDeposit) GetTitle

func (*CommunityPoolSpendProposalWithDeposit) ProtoMessage

func (*CommunityPoolSpendProposalWithDeposit) ProtoMessage()

func (*CommunityPoolSpendProposalWithDeposit) ProtoReflect

func (*CommunityPoolSpendProposalWithDeposit) Reset

func (*CommunityPoolSpendProposalWithDeposit) String

type DelegationDelegatorReward

type DelegationDelegatorReward struct {
	ValidatorAddress string             `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Reward           []*v1beta1.DecCoin `protobuf:"bytes,2,rep,name=reward,proto3" json:"reward,omitempty"`
	// contains filtered or unexported fields
}

DelegationDelegatorReward represents the properties of a delegator's delegation reward.

func (*DelegationDelegatorReward) Descriptor deprecated

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

Deprecated: Use DelegationDelegatorReward.ProtoReflect.Descriptor instead.

func (*DelegationDelegatorReward) GetReward

func (x *DelegationDelegatorReward) GetReward() []*v1beta1.DecCoin

func (*DelegationDelegatorReward) GetValidatorAddress

func (x *DelegationDelegatorReward) GetValidatorAddress() string

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 DelegatorStartingInfo

type DelegatorStartingInfo struct {
	PreviousPeriod uint64 `protobuf:"varint,1,opt,name=previous_period,json=previousPeriod,proto3" json:"previous_period,omitempty"`
	Stake          string `protobuf:"bytes,2,opt,name=stake,proto3" json:"stake,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 validator 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) GetStake

func (x *DelegatorStartingInfo) GetStake() string

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"`
	// validator_address is the address of the validator.
	ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,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) GetDelegatorAddress

func (x *DelegatorStartingInfoRecord) GetDelegatorAddress() string

func (*DelegatorStartingInfoRecord) GetStartingInfo

func (x *DelegatorStartingInfoRecord) GetStartingInfo() *DelegatorStartingInfo

func (*DelegatorStartingInfoRecord) GetValidatorAddress

func (x *DelegatorStartingInfoRecord) GetValidatorAddress() string

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 distributions 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 FeePool

type FeePool struct {
	CommunityPool []*v1beta1.DecCoin `protobuf:"bytes,1,rep,name=community_pool,json=communityPool,proto3" json:"community_pool,omitempty"`
	// contains filtered or unexported fields
}

FeePool is the global fee pool for distribution.

func (*FeePool) Descriptor deprecated

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

Deprecated: Use FeePool.ProtoReflect.Descriptor instead.

func (*FeePool) GetCommunityPool

func (x *FeePool) GetCommunityPool() []*v1beta1.DecCoin

func (*FeePool) ProtoMessage

func (*FeePool) ProtoMessage()

func (*FeePool) ProtoReflect

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

func (*FeePool) Reset

func (x *FeePool) Reset()

func (*FeePool) String

func (x *FeePool) String() string

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"`
	// fee_pool defines the fee pool at genesis.
	FeePool *FeePool `protobuf:"bytes,2,opt,name=fee_pool,json=feePool,proto3" json:"fee_pool,omitempty"`
	// fee_pool defines the delegator withdraw infos at genesis.
	DelegatorWithdrawInfos []*DelegatorWithdrawInfo `` /* 129-byte string literal not displayed */
	// fee_pool defines the previous proposer at genesis.
	PreviousProposer string `protobuf:"bytes,4,opt,name=previous_proposer,json=previousProposer,proto3" json:"previous_proposer,omitempty"`
	// fee_pool defines the outstanding rewards of all validators at genesis.
	OutstandingRewards []*ValidatorOutstandingRewardsRecord `protobuf:"bytes,5,rep,name=outstanding_rewards,json=outstandingRewards,proto3" json:"outstanding_rewards,omitempty"`
	// fee_pool defines the accumulated commisions of all validators at genesis.
	ValidatorAccumulatedCommissions []*ValidatorAccumulatedCommissionRecord `` /* 156-byte string literal not displayed */
	// fee_pool defines the historical rewards of all validators at genesis.
	ValidatorHistoricalRewards []*ValidatorHistoricalRewardsRecord `` /* 141-byte string literal not displayed */
	// fee_pool defines the current rewards of all validators at genesis.
	ValidatorCurrentRewards []*ValidatorCurrentRewardsRecord `` /* 132-byte string literal not displayed */
	// fee_pool defines the delegator starting infos at genesis.
	DelegatorStartingInfos []*DelegatorStartingInfoRecord `` /* 129-byte string literal not displayed */
	// fee_pool defines the validator slash events at genesis.
	ValidatorSlashEvents []*ValidatorSlashEventRecord `protobuf:"bytes,10,rep,name=validator_slash_events,json=validatorSlashEvents,proto3" json:"validator_slash_events,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the distribution module's genesis state.

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetDelegatorStartingInfos

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

func (*GenesisState) GetDelegatorWithdrawInfos

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

func (*GenesisState) GetFeePool

func (x *GenesisState) GetFeePool() *FeePool

func (*GenesisState) GetOutstandingRewards

func (x *GenesisState) GetOutstandingRewards() []*ValidatorOutstandingRewardsRecord

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

func (*GenesisState) GetPreviousProposer

func (x *GenesisState) GetPreviousProposer() string

func (*GenesisState) GetValidatorAccumulatedCommissions

func (x *GenesisState) GetValidatorAccumulatedCommissions() []*ValidatorAccumulatedCommissionRecord

func (*GenesisState) GetValidatorCurrentRewards

func (x *GenesisState) GetValidatorCurrentRewards() []*ValidatorCurrentRewardsRecord

func (*GenesisState) GetValidatorHistoricalRewards

func (x *GenesisState) GetValidatorHistoricalRewards() []*ValidatorHistoricalRewardsRecord

func (*GenesisState) GetValidatorSlashEvents

func (x *GenesisState) GetValidatorSlashEvents() []*ValidatorSlashEventRecord

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 MsgClient

type MsgClient interface {
	// SetWithdrawAddress defines a method to change the withdraw address
	// for a delegator (or validator self-delegation).
	SetWithdrawAddress(ctx context.Context, in *MsgSetWithdrawAddress, opts ...grpc.CallOption) (*MsgSetWithdrawAddressResponse, error)
	// WithdrawDelegatorReward defines a method to withdraw rewards of delegator
	// from a single validator.
	WithdrawDelegatorReward(ctx context.Context, in *MsgWithdrawDelegatorReward, opts ...grpc.CallOption) (*MsgWithdrawDelegatorRewardResponse, error)
	// WithdrawValidatorCommission defines a method to withdraw the
	// full commission to the validator address.
	WithdrawValidatorCommission(ctx context.Context, in *MsgWithdrawValidatorCommission, opts ...grpc.CallOption) (*MsgWithdrawValidatorCommissionResponse, error)
	// FundCommunityPool defines a method to allow an account to directly
	// fund the community pool.
	FundCommunityPool(ctx context.Context, in *MsgFundCommunityPool, opts ...grpc.CallOption) (*MsgFundCommunityPoolResponse, error)
	// UpdateParams defines a governance operation for updating the x/distribution
	// module parameters. The authority is defined in the keeper.
	//
	// Since: cosmos-sdk 0.47
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
	// CommunityPoolSpend defines a governance operation for sending tokens from
	// the community pool in the x/distribution module to another account, which
	// could be the governance module itself. The authority is defined in the
	// keeper.
	//
	// Since: cosmos-sdk 0.47
	CommunityPoolSpend(ctx context.Context, in *MsgCommunityPoolSpend, opts ...grpc.CallOption) (*MsgCommunityPoolSpendResponse, 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 MsgCommunityPoolSpend

type MsgCommunityPoolSpend struct {

	// authority is the address of the governance account.
	Authority string          `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Recipient string          `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Amount    []*v1beta1.Coin `protobuf:"bytes,3,rep,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

MsgCommunityPoolSpend defines a message for sending tokens from the community pool to another account. This message is typically executed via a governance proposal with the governance module being the executing authority.

Since: cosmos-sdk 0.47

func (*MsgCommunityPoolSpend) Descriptor deprecated

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

Deprecated: Use MsgCommunityPoolSpend.ProtoReflect.Descriptor instead.

func (*MsgCommunityPoolSpend) GetAmount

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

func (*MsgCommunityPoolSpend) GetAuthority

func (x *MsgCommunityPoolSpend) GetAuthority() string

func (*MsgCommunityPoolSpend) GetRecipient

func (x *MsgCommunityPoolSpend) GetRecipient() string

func (*MsgCommunityPoolSpend) ProtoMessage

func (*MsgCommunityPoolSpend) ProtoMessage()

func (*MsgCommunityPoolSpend) ProtoReflect

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

func (*MsgCommunityPoolSpend) Reset

func (x *MsgCommunityPoolSpend) Reset()

func (*MsgCommunityPoolSpend) String

func (x *MsgCommunityPoolSpend) String() string

type MsgCommunityPoolSpendResponse

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

MsgCommunityPoolSpendResponse defines the response to executing a MsgCommunityPoolSpend message.

Since: cosmos-sdk 0.47

func (*MsgCommunityPoolSpendResponse) Descriptor deprecated

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

Deprecated: Use MsgCommunityPoolSpendResponse.ProtoReflect.Descriptor instead.

func (*MsgCommunityPoolSpendResponse) ProtoMessage

func (*MsgCommunityPoolSpendResponse) ProtoMessage()

func (*MsgCommunityPoolSpendResponse) ProtoReflect

func (*MsgCommunityPoolSpendResponse) Reset

func (x *MsgCommunityPoolSpendResponse) Reset()

func (*MsgCommunityPoolSpendResponse) String

type MsgFundCommunityPool

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

MsgFundCommunityPool allows an account to directly fund the community pool.

func (*MsgFundCommunityPool) Descriptor deprecated

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

Deprecated: Use MsgFundCommunityPool.ProtoReflect.Descriptor instead.

func (*MsgFundCommunityPool) GetAmount

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

func (*MsgFundCommunityPool) GetDepositor

func (x *MsgFundCommunityPool) GetDepositor() string

func (*MsgFundCommunityPool) ProtoMessage

func (*MsgFundCommunityPool) ProtoMessage()

func (*MsgFundCommunityPool) ProtoReflect

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

func (*MsgFundCommunityPool) Reset

func (x *MsgFundCommunityPool) Reset()

func (*MsgFundCommunityPool) String

func (x *MsgFundCommunityPool) String() string

type MsgFundCommunityPoolResponse

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

MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type.

func (*MsgFundCommunityPoolResponse) Descriptor deprecated

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

Deprecated: Use MsgFundCommunityPoolResponse.ProtoReflect.Descriptor instead.

func (*MsgFundCommunityPoolResponse) ProtoMessage

func (*MsgFundCommunityPoolResponse) ProtoMessage()

func (*MsgFundCommunityPoolResponse) ProtoReflect

func (*MsgFundCommunityPoolResponse) Reset

func (x *MsgFundCommunityPoolResponse) Reset()

func (*MsgFundCommunityPoolResponse) String

type MsgServer

type MsgServer interface {
	// SetWithdrawAddress defines a method to change the withdraw address
	// for a delegator (or validator self-delegation).
	SetWithdrawAddress(context.Context, *MsgSetWithdrawAddress) (*MsgSetWithdrawAddressResponse, error)
	// WithdrawDelegatorReward defines a method to withdraw rewards of delegator
	// from a single validator.
	WithdrawDelegatorReward(context.Context, *MsgWithdrawDelegatorReward) (*MsgWithdrawDelegatorRewardResponse, error)
	// WithdrawValidatorCommission defines a method to withdraw the
	// full commission to the validator address.
	WithdrawValidatorCommission(context.Context, *MsgWithdrawValidatorCommission) (*MsgWithdrawValidatorCommissionResponse, error)
	// FundCommunityPool defines a method to allow an account to directly
	// fund the community pool.
	FundCommunityPool(context.Context, *MsgFundCommunityPool) (*MsgFundCommunityPoolResponse, error)
	// UpdateParams defines a governance operation for updating the x/distribution
	// module parameters. The authority is defined in the keeper.
	//
	// Since: cosmos-sdk 0.47
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// CommunityPoolSpend defines a governance operation for sending tokens from
	// the community pool in the x/distribution module to another account, which
	// could be the governance module itself. The authority is defined in the
	// keeper.
	//
	// Since: cosmos-sdk 0.47
	CommunityPoolSpend(context.Context, *MsgCommunityPoolSpend) (*MsgCommunityPoolSpendResponse, error)
	// contains filtered or unexported methods
}

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

type MsgSetWithdrawAddress

type MsgSetWithdrawAddress struct {
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,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 validator self-delegation).

func (*MsgSetWithdrawAddress) Descriptor deprecated

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

Deprecated: Use MsgSetWithdrawAddress.ProtoReflect.Descriptor instead.

func (*MsgSetWithdrawAddress) GetDelegatorAddress

func (x *MsgSetWithdrawAddress) GetDelegatorAddress() 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 of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params defines the x/distribution 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 MsgWithdrawDelegatorReward

type MsgWithdrawDelegatorReward struct {
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// contains filtered or unexported fields
}

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

func (*MsgWithdrawDelegatorReward) Descriptor deprecated

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

Deprecated: Use MsgWithdrawDelegatorReward.ProtoReflect.Descriptor instead.

func (*MsgWithdrawDelegatorReward) GetDelegatorAddress

func (x *MsgWithdrawDelegatorReward) GetDelegatorAddress() string

func (*MsgWithdrawDelegatorReward) GetValidatorAddress

func (x *MsgWithdrawDelegatorReward) GetValidatorAddress() 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 {

	// Since: cosmos-sdk 0.46
	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 MsgWithdrawValidatorCommission

type MsgWithdrawValidatorCommission struct {
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// contains filtered or unexported fields
}

MsgWithdrawValidatorCommission withdraws the full commission to the validator address.

func (*MsgWithdrawValidatorCommission) Descriptor deprecated

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

Deprecated: Use MsgWithdrawValidatorCommission.ProtoReflect.Descriptor instead.

func (*MsgWithdrawValidatorCommission) GetValidatorAddress

func (x *MsgWithdrawValidatorCommission) GetValidatorAddress() string

func (*MsgWithdrawValidatorCommission) ProtoMessage

func (*MsgWithdrawValidatorCommission) ProtoMessage()

func (*MsgWithdrawValidatorCommission) ProtoReflect

func (*MsgWithdrawValidatorCommission) Reset

func (x *MsgWithdrawValidatorCommission) Reset()

func (*MsgWithdrawValidatorCommission) String

type MsgWithdrawValidatorCommissionResponse

type MsgWithdrawValidatorCommissionResponse struct {

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

MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type.

func (*MsgWithdrawValidatorCommissionResponse) Descriptor deprecated

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

Deprecated: Use MsgWithdrawValidatorCommissionResponse.ProtoReflect.Descriptor instead.

func (*MsgWithdrawValidatorCommissionResponse) GetAmount

func (*MsgWithdrawValidatorCommissionResponse) ProtoMessage

func (*MsgWithdrawValidatorCommissionResponse) ProtoReflect

func (*MsgWithdrawValidatorCommissionResponse) Reset

func (*MsgWithdrawValidatorCommissionResponse) String

type Params

type Params struct {
	CommunityTax string `protobuf:"bytes,1,opt,name=community_tax,json=communityTax,proto3" json:"community_tax,omitempty"`
	// The base_proposer_reward and bonus_proposer_reward fields are deprecated
	// and are no longer used in the x/distribution module's reward mechanism.
	//
	// Deprecated: Do not use.
	BaseProposerReward string `protobuf:"bytes,2,opt,name=base_proposer_reward,json=baseProposerReward,proto3" json:"base_proposer_reward,omitempty"`
	// Deprecated: Do not use.
	BonusProposerReward string `protobuf:"bytes,3,opt,name=bonus_proposer_reward,json=bonusProposerReward,proto3" json:"bonus_proposer_reward,omitempty"`
	WithdrawAddrEnabled bool   `protobuf:"varint,4,opt,name=withdraw_addr_enabled,json=withdrawAddrEnabled,proto3" json:"withdraw_addr_enabled,omitempty"`
	// contains filtered or unexported fields
}

Params defines the set of params for the distribution module.

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetBaseProposerReward deprecated

func (x *Params) GetBaseProposerReward() string

Deprecated: Do not use.

func (*Params) GetBonusProposerReward deprecated

func (x *Params) GetBonusProposerReward() string

Deprecated: Do not use.

func (*Params) GetCommunityTax

func (x *Params) GetCommunityTax() string

func (*Params) GetWithdrawAddrEnabled

func (x *Params) GetWithdrawAddrEnabled() bool

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

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

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type QueryClient

type QueryClient interface {
	// Params queries params of the distribution module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// ValidatorDistributionInfo queries validator commision and self-delegation rewards for validator
	ValidatorDistributionInfo(ctx context.Context, in *QueryValidatorDistributionInfoRequest, opts ...grpc.CallOption) (*QueryValidatorDistributionInfoResponse, error)
	// ValidatorOutstandingRewards queries rewards of a validator address.
	ValidatorOutstandingRewards(ctx context.Context, in *QueryValidatorOutstandingRewardsRequest, opts ...grpc.CallOption) (*QueryValidatorOutstandingRewardsResponse, error)
	// ValidatorCommission queries accumulated commission for a validator.
	ValidatorCommission(ctx context.Context, in *QueryValidatorCommissionRequest, opts ...grpc.CallOption) (*QueryValidatorCommissionResponse, error)
	// ValidatorSlashes queries slash events of a validator.
	ValidatorSlashes(ctx context.Context, in *QueryValidatorSlashesRequest, opts ...grpc.CallOption) (*QueryValidatorSlashesResponse, error)
	// DelegationRewards queries the total rewards accrued by a delegation.
	DelegationRewards(ctx context.Context, in *QueryDelegationRewardsRequest, opts ...grpc.CallOption) (*QueryDelegationRewardsResponse, error)
	// DelegationTotalRewards queries the total rewards accrued by a each
	// validator.
	DelegationTotalRewards(ctx context.Context, in *QueryDelegationTotalRewardsRequest, opts ...grpc.CallOption) (*QueryDelegationTotalRewardsResponse, error)
	// DelegatorValidators queries the validators of a delegator.
	DelegatorValidators(ctx context.Context, in *QueryDelegatorValidatorsRequest, opts ...grpc.CallOption) (*QueryDelegatorValidatorsResponse, error)
	// DelegatorWithdrawAddress queries withdraw address of a delegator.
	DelegatorWithdrawAddress(ctx context.Context, in *QueryDelegatorWithdrawAddressRequest, opts ...grpc.CallOption) (*QueryDelegatorWithdrawAddressResponse, error)
	// CommunityPool queries the community pool coins.
	CommunityPool(ctx context.Context, in *QueryCommunityPoolRequest, opts ...grpc.CallOption) (*QueryCommunityPoolResponse, 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 QueryCommunityPoolRequest

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

QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC method.

func (*QueryCommunityPoolRequest) Descriptor deprecated

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

Deprecated: Use QueryCommunityPoolRequest.ProtoReflect.Descriptor instead.

func (*QueryCommunityPoolRequest) ProtoMessage

func (*QueryCommunityPoolRequest) ProtoMessage()

func (*QueryCommunityPoolRequest) ProtoReflect

func (*QueryCommunityPoolRequest) Reset

func (x *QueryCommunityPoolRequest) Reset()

func (*QueryCommunityPoolRequest) String

func (x *QueryCommunityPoolRequest) String() string

type QueryCommunityPoolResponse

type QueryCommunityPoolResponse struct {

	// pool defines community pool's coins.
	Pool []*v1beta1.DecCoin `protobuf:"bytes,1,rep,name=pool,proto3" json:"pool,omitempty"`
	// contains filtered or unexported fields
}

QueryCommunityPoolResponse is the response type for the Query/CommunityPool RPC method.

func (*QueryCommunityPoolResponse) Descriptor deprecated

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

Deprecated: Use QueryCommunityPoolResponse.ProtoReflect.Descriptor instead.

func (*QueryCommunityPoolResponse) GetPool

func (x *QueryCommunityPoolResponse) GetPool() []*v1beta1.DecCoin

func (*QueryCommunityPoolResponse) ProtoMessage

func (*QueryCommunityPoolResponse) ProtoMessage()

func (*QueryCommunityPoolResponse) ProtoReflect

func (*QueryCommunityPoolResponse) Reset

func (x *QueryCommunityPoolResponse) Reset()

func (*QueryCommunityPoolResponse) String

func (x *QueryCommunityPoolResponse) String() string

type QueryDelegationRewardsRequest

type QueryDelegationRewardsRequest 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"`
	// validator_address defines the validator address to query for.
	ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// contains filtered or unexported fields
}

QueryDelegationRewardsRequest is the request type for the Query/DelegationRewards RPC method.

func (*QueryDelegationRewardsRequest) Descriptor deprecated

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

Deprecated: Use QueryDelegationRewardsRequest.ProtoReflect.Descriptor instead.

func (*QueryDelegationRewardsRequest) GetDelegatorAddress

func (x *QueryDelegationRewardsRequest) GetDelegatorAddress() string

func (*QueryDelegationRewardsRequest) GetValidatorAddress

func (x *QueryDelegationRewardsRequest) GetValidatorAddress() string

func (*QueryDelegationRewardsRequest) ProtoMessage

func (*QueryDelegationRewardsRequest) ProtoMessage()

func (*QueryDelegationRewardsRequest) ProtoReflect

func (*QueryDelegationRewardsRequest) Reset

func (x *QueryDelegationRewardsRequest) Reset()

func (*QueryDelegationRewardsRequest) String

type QueryDelegationRewardsResponse

type QueryDelegationRewardsResponse struct {

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

QueryDelegationRewardsResponse is the response type for the Query/DelegationRewards RPC method.

func (*QueryDelegationRewardsResponse) Descriptor deprecated

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

Deprecated: Use QueryDelegationRewardsResponse.ProtoReflect.Descriptor instead.

func (*QueryDelegationRewardsResponse) GetRewards

func (x *QueryDelegationRewardsResponse) GetRewards() []*v1beta1.DecCoin

func (*QueryDelegationRewardsResponse) ProtoMessage

func (*QueryDelegationRewardsResponse) ProtoMessage()

func (*QueryDelegationRewardsResponse) ProtoReflect

func (*QueryDelegationRewardsResponse) Reset

func (x *QueryDelegationRewardsResponse) Reset()

func (*QueryDelegationRewardsResponse) String

type QueryDelegationTotalRewardsRequest

type QueryDelegationTotalRewardsRequest 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
}

QueryDelegationTotalRewardsRequest is the request type for the Query/DelegationTotalRewards RPC method.

func (*QueryDelegationTotalRewardsRequest) Descriptor deprecated

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

Deprecated: Use QueryDelegationTotalRewardsRequest.ProtoReflect.Descriptor instead.

func (*QueryDelegationTotalRewardsRequest) GetDelegatorAddress

func (x *QueryDelegationTotalRewardsRequest) GetDelegatorAddress() string

func (*QueryDelegationTotalRewardsRequest) ProtoMessage

func (*QueryDelegationTotalRewardsRequest) ProtoMessage()

func (*QueryDelegationTotalRewardsRequest) ProtoReflect

func (*QueryDelegationTotalRewardsRequest) Reset

func (*QueryDelegationTotalRewardsRequest) String

type QueryDelegationTotalRewardsResponse

type QueryDelegationTotalRewardsResponse 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 []*v1beta1.DecCoin `protobuf:"bytes,2,rep,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

QueryDelegationTotalRewardsResponse is the response type for the Query/DelegationTotalRewards RPC method.

func (*QueryDelegationTotalRewardsResponse) Descriptor deprecated

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

Deprecated: Use QueryDelegationTotalRewardsResponse.ProtoReflect.Descriptor instead.

func (*QueryDelegationTotalRewardsResponse) GetRewards

func (*QueryDelegationTotalRewardsResponse) GetTotal

func (*QueryDelegationTotalRewardsResponse) ProtoMessage

func (*QueryDelegationTotalRewardsResponse) ProtoMessage()

func (*QueryDelegationTotalRewardsResponse) ProtoReflect

func (*QueryDelegationTotalRewardsResponse) Reset

func (*QueryDelegationTotalRewardsResponse) String

type QueryDelegatorValidatorsRequest

type QueryDelegatorValidatorsRequest 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
}

QueryDelegatorValidatorsRequest is the request type for the Query/DelegatorValidators RPC method.

func (*QueryDelegatorValidatorsRequest) Descriptor deprecated

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

Deprecated: Use QueryDelegatorValidatorsRequest.ProtoReflect.Descriptor instead.

func (*QueryDelegatorValidatorsRequest) GetDelegatorAddress

func (x *QueryDelegatorValidatorsRequest) GetDelegatorAddress() string

func (*QueryDelegatorValidatorsRequest) ProtoMessage

func (*QueryDelegatorValidatorsRequest) ProtoMessage()

func (*QueryDelegatorValidatorsRequest) ProtoReflect

func (*QueryDelegatorValidatorsRequest) Reset

func (*QueryDelegatorValidatorsRequest) String

type QueryDelegatorValidatorsResponse

type QueryDelegatorValidatorsResponse struct {

	// validators defines the validators a delegator is delegating for.
	Validators []string `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"`
	// contains filtered or unexported fields
}

QueryDelegatorValidatorsResponse is the response type for the Query/DelegatorValidators RPC method.

func (*QueryDelegatorValidatorsResponse) Descriptor deprecated

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

Deprecated: Use QueryDelegatorValidatorsResponse.ProtoReflect.Descriptor instead.

func (*QueryDelegatorValidatorsResponse) GetValidators

func (x *QueryDelegatorValidatorsResponse) GetValidators() []string

func (*QueryDelegatorValidatorsResponse) ProtoMessage

func (*QueryDelegatorValidatorsResponse) ProtoMessage()

func (*QueryDelegatorValidatorsResponse) ProtoReflect

func (*QueryDelegatorValidatorsResponse) Reset

func (*QueryDelegatorValidatorsResponse) 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 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 params of the distribution module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// ValidatorDistributionInfo queries validator commision and self-delegation rewards for validator
	ValidatorDistributionInfo(context.Context, *QueryValidatorDistributionInfoRequest) (*QueryValidatorDistributionInfoResponse, error)
	// ValidatorOutstandingRewards queries rewards of a validator address.
	ValidatorOutstandingRewards(context.Context, *QueryValidatorOutstandingRewardsRequest) (*QueryValidatorOutstandingRewardsResponse, error)
	// ValidatorCommission queries accumulated commission for a validator.
	ValidatorCommission(context.Context, *QueryValidatorCommissionRequest) (*QueryValidatorCommissionResponse, error)
	// ValidatorSlashes queries slash events of a validator.
	ValidatorSlashes(context.Context, *QueryValidatorSlashesRequest) (*QueryValidatorSlashesResponse, error)
	// DelegationRewards queries the total rewards accrued by a delegation.
	DelegationRewards(context.Context, *QueryDelegationRewardsRequest) (*QueryDelegationRewardsResponse, error)
	// DelegationTotalRewards queries the total rewards accrued by a each
	// validator.
	DelegationTotalRewards(context.Context, *QueryDelegationTotalRewardsRequest) (*QueryDelegationTotalRewardsResponse, error)
	// DelegatorValidators queries the validators of a delegator.
	DelegatorValidators(context.Context, *QueryDelegatorValidatorsRequest) (*QueryDelegatorValidatorsResponse, error)
	// DelegatorWithdrawAddress queries withdraw address of a delegator.
	DelegatorWithdrawAddress(context.Context, *QueryDelegatorWithdrawAddressRequest) (*QueryDelegatorWithdrawAddressResponse, error)
	// CommunityPool queries the community pool coins.
	CommunityPool(context.Context, *QueryCommunityPoolRequest) (*QueryCommunityPoolResponse, error)
	// contains filtered or unexported methods
}

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

type QueryValidatorCommissionRequest

type QueryValidatorCommissionRequest struct {

	// validator_address defines the validator address to query for.
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// contains filtered or unexported fields
}

QueryValidatorCommissionRequest is the request type for the Query/ValidatorCommission RPC method

func (*QueryValidatorCommissionRequest) Descriptor deprecated

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

Deprecated: Use QueryValidatorCommissionRequest.ProtoReflect.Descriptor instead.

func (*QueryValidatorCommissionRequest) GetValidatorAddress

func (x *QueryValidatorCommissionRequest) GetValidatorAddress() string

func (*QueryValidatorCommissionRequest) ProtoMessage

func (*QueryValidatorCommissionRequest) ProtoMessage()

func (*QueryValidatorCommissionRequest) ProtoReflect

func (*QueryValidatorCommissionRequest) Reset

func (*QueryValidatorCommissionRequest) String

type QueryValidatorCommissionResponse

type QueryValidatorCommissionResponse struct {

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

QueryValidatorCommissionResponse is the response type for the Query/ValidatorCommission RPC method

func (*QueryValidatorCommissionResponse) Descriptor deprecated

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

Deprecated: Use QueryValidatorCommissionResponse.ProtoReflect.Descriptor instead.

func (*QueryValidatorCommissionResponse) GetCommission

func (*QueryValidatorCommissionResponse) ProtoMessage

func (*QueryValidatorCommissionResponse) ProtoMessage()

func (*QueryValidatorCommissionResponse) ProtoReflect

func (*QueryValidatorCommissionResponse) Reset

func (*QueryValidatorCommissionResponse) String

type QueryValidatorDistributionInfoRequest

type QueryValidatorDistributionInfoRequest struct {

	// validator_address defines the validator address to query for.
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// contains filtered or unexported fields
}

QueryValidatorDistributionInfoRequest is the request type for the Query/ValidatorDistributionInfo RPC method.

func (*QueryValidatorDistributionInfoRequest) Descriptor deprecated

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

Deprecated: Use QueryValidatorDistributionInfoRequest.ProtoReflect.Descriptor instead.

func (*QueryValidatorDistributionInfoRequest) GetValidatorAddress

func (x *QueryValidatorDistributionInfoRequest) GetValidatorAddress() string

func (*QueryValidatorDistributionInfoRequest) ProtoMessage

func (*QueryValidatorDistributionInfoRequest) ProtoMessage()

func (*QueryValidatorDistributionInfoRequest) ProtoReflect

func (*QueryValidatorDistributionInfoRequest) Reset

func (*QueryValidatorDistributionInfoRequest) String

type QueryValidatorDistributionInfoResponse

type QueryValidatorDistributionInfoResponse struct {

	// operator_address defines the validator operator address.
	OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"`
	// self_bond_rewards defines the self delegations rewards.
	SelfBondRewards []*v1beta1.DecCoin `protobuf:"bytes,2,rep,name=self_bond_rewards,json=selfBondRewards,proto3" json:"self_bond_rewards,omitempty"`
	// commission defines the commision the validator received.
	Commission []*v1beta1.DecCoin `protobuf:"bytes,3,rep,name=commission,proto3" json:"commission,omitempty"`
	// contains filtered or unexported fields
}

QueryValidatorDistributionInfoResponse is the response type for the Query/ValidatorDistributionInfo RPC method.

func (*QueryValidatorDistributionInfoResponse) Descriptor deprecated

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

Deprecated: Use QueryValidatorDistributionInfoResponse.ProtoReflect.Descriptor instead.

func (*QueryValidatorDistributionInfoResponse) GetCommission

func (*QueryValidatorDistributionInfoResponse) GetOperatorAddress

func (x *QueryValidatorDistributionInfoResponse) GetOperatorAddress() string

func (*QueryValidatorDistributionInfoResponse) GetSelfBondRewards

func (x *QueryValidatorDistributionInfoResponse) GetSelfBondRewards() []*v1beta1.DecCoin

func (*QueryValidatorDistributionInfoResponse) ProtoMessage

func (*QueryValidatorDistributionInfoResponse) ProtoReflect

func (*QueryValidatorDistributionInfoResponse) Reset

func (*QueryValidatorDistributionInfoResponse) String

type QueryValidatorOutstandingRewardsRequest

type QueryValidatorOutstandingRewardsRequest struct {

	// validator_address defines the validator address to query for.
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// contains filtered or unexported fields
}

QueryValidatorOutstandingRewardsRequest is the request type for the Query/ValidatorOutstandingRewards RPC method.

func (*QueryValidatorOutstandingRewardsRequest) Descriptor deprecated

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

Deprecated: Use QueryValidatorOutstandingRewardsRequest.ProtoReflect.Descriptor instead.

func (*QueryValidatorOutstandingRewardsRequest) GetValidatorAddress

func (x *QueryValidatorOutstandingRewardsRequest) GetValidatorAddress() string

func (*QueryValidatorOutstandingRewardsRequest) ProtoMessage

func (*QueryValidatorOutstandingRewardsRequest) ProtoReflect

func (*QueryValidatorOutstandingRewardsRequest) Reset

func (*QueryValidatorOutstandingRewardsRequest) String

type QueryValidatorOutstandingRewardsResponse

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

QueryValidatorOutstandingRewardsResponse is the response type for the Query/ValidatorOutstandingRewards RPC method.

func (*QueryValidatorOutstandingRewardsResponse) Descriptor deprecated

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

Deprecated: Use QueryValidatorOutstandingRewardsResponse.ProtoReflect.Descriptor instead.

func (*QueryValidatorOutstandingRewardsResponse) GetRewards

func (*QueryValidatorOutstandingRewardsResponse) ProtoMessage

func (*QueryValidatorOutstandingRewardsResponse) ProtoReflect

func (*QueryValidatorOutstandingRewardsResponse) Reset

func (*QueryValidatorOutstandingRewardsResponse) String

type QueryValidatorSlashesRequest

type QueryValidatorSlashesRequest struct {

	// validator_address defines the validator address to query for.
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// starting_height defines the optional starting height to query the slashes.
	StartingHeight uint64 `protobuf:"varint,2,opt,name=starting_height,json=startingHeight,proto3" json:"starting_height,omitempty"`
	// starting_height defines the optional ending height to query the slashes.
	EndingHeight uint64 `protobuf:"varint,3,opt,name=ending_height,json=endingHeight,proto3" json:"ending_height,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *v1beta11.PageRequest `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryValidatorSlashesRequest is the request type for the Query/ValidatorSlashes RPC method

func (*QueryValidatorSlashesRequest) Descriptor deprecated

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

Deprecated: Use QueryValidatorSlashesRequest.ProtoReflect.Descriptor instead.

func (*QueryValidatorSlashesRequest) GetEndingHeight

func (x *QueryValidatorSlashesRequest) GetEndingHeight() uint64

func (*QueryValidatorSlashesRequest) GetPagination

func (*QueryValidatorSlashesRequest) GetStartingHeight

func (x *QueryValidatorSlashesRequest) GetStartingHeight() uint64

func (*QueryValidatorSlashesRequest) GetValidatorAddress

func (x *QueryValidatorSlashesRequest) GetValidatorAddress() string

func (*QueryValidatorSlashesRequest) ProtoMessage

func (*QueryValidatorSlashesRequest) ProtoMessage()

func (*QueryValidatorSlashesRequest) ProtoReflect

func (*QueryValidatorSlashesRequest) Reset

func (x *QueryValidatorSlashesRequest) Reset()

func (*QueryValidatorSlashesRequest) String

type QueryValidatorSlashesResponse

type QueryValidatorSlashesResponse struct {

	// slashes defines the slashes the validator received.
	Slashes []*ValidatorSlashEvent `protobuf:"bytes,1,rep,name=slashes,proto3" json:"slashes,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *v1beta11.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryValidatorSlashesResponse is the response type for the Query/ValidatorSlashes RPC method.

func (*QueryValidatorSlashesResponse) Descriptor deprecated

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

Deprecated: Use QueryValidatorSlashesResponse.ProtoReflect.Descriptor instead.

func (*QueryValidatorSlashesResponse) GetPagination

func (*QueryValidatorSlashesResponse) GetSlashes

func (*QueryValidatorSlashesResponse) ProtoMessage

func (*QueryValidatorSlashesResponse) ProtoMessage()

func (*QueryValidatorSlashesResponse) ProtoReflect

func (*QueryValidatorSlashesResponse) Reset

func (x *QueryValidatorSlashesResponse) Reset()

func (*QueryValidatorSlashesResponse) String

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) CommunityPoolSpend

func (UnimplementedMsgServer) FundCommunityPool

func (UnimplementedMsgServer) SetWithdrawAddress

func (UnimplementedMsgServer) UpdateParams

func (UnimplementedMsgServer) WithdrawDelegatorReward

func (UnimplementedMsgServer) WithdrawValidatorCommission

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) CommunityPool

func (UnimplementedQueryServer) DelegationRewards

func (UnimplementedQueryServer) DelegationTotalRewards

func (UnimplementedQueryServer) DelegatorValidators

func (UnimplementedQueryServer) DelegatorWithdrawAddress

func (UnimplementedQueryServer) Params

func (UnimplementedQueryServer) ValidatorCommission

func (UnimplementedQueryServer) ValidatorDistributionInfo

func (UnimplementedQueryServer) ValidatorOutstandingRewards

func (UnimplementedQueryServer) ValidatorSlashes

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 ValidatorAccumulatedCommission

type ValidatorAccumulatedCommission struct {
	Commission []*v1beta1.DecCoin `protobuf:"bytes,1,rep,name=commission,proto3" json:"commission,omitempty"`
	// contains filtered or unexported fields
}

ValidatorAccumulatedCommission represents accumulated commission for a validator kept as a running counter, can be withdrawn at any time.

func (*ValidatorAccumulatedCommission) Descriptor deprecated

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

Deprecated: Use ValidatorAccumulatedCommission.ProtoReflect.Descriptor instead.

func (*ValidatorAccumulatedCommission) GetCommission

func (x *ValidatorAccumulatedCommission) GetCommission() []*v1beta1.DecCoin

func (*ValidatorAccumulatedCommission) ProtoMessage

func (*ValidatorAccumulatedCommission) ProtoMessage()

func (*ValidatorAccumulatedCommission) ProtoReflect

func (*ValidatorAccumulatedCommission) Reset

func (x *ValidatorAccumulatedCommission) Reset()

func (*ValidatorAccumulatedCommission) String

type ValidatorAccumulatedCommissionRecord

type ValidatorAccumulatedCommissionRecord struct {

	// validator_address is the address of the validator.
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// accumulated is the accumulated commission of a validator.
	Accumulated *ValidatorAccumulatedCommission `protobuf:"bytes,2,opt,name=accumulated,proto3" json:"accumulated,omitempty"`
	// contains filtered or unexported fields
}

ValidatorAccumulatedCommissionRecord is used for import / export via genesis json.

func (*ValidatorAccumulatedCommissionRecord) Descriptor deprecated

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

Deprecated: Use ValidatorAccumulatedCommissionRecord.ProtoReflect.Descriptor instead.

func (*ValidatorAccumulatedCommissionRecord) GetAccumulated

func (*ValidatorAccumulatedCommissionRecord) GetValidatorAddress

func (x *ValidatorAccumulatedCommissionRecord) GetValidatorAddress() string

func (*ValidatorAccumulatedCommissionRecord) ProtoMessage

func (*ValidatorAccumulatedCommissionRecord) ProtoMessage()

func (*ValidatorAccumulatedCommissionRecord) ProtoReflect

func (*ValidatorAccumulatedCommissionRecord) Reset

func (*ValidatorAccumulatedCommissionRecord) String

type ValidatorCurrentRewards

type ValidatorCurrentRewards struct {
	Rewards []*v1beta1.DecCoin `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
}

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

func (*ValidatorCurrentRewards) Descriptor deprecated

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

Deprecated: Use ValidatorCurrentRewards.ProtoReflect.Descriptor instead.

func (*ValidatorCurrentRewards) GetPeriod

func (x *ValidatorCurrentRewards) GetPeriod() uint64

func (*ValidatorCurrentRewards) GetRewards

func (x *ValidatorCurrentRewards) GetRewards() []*v1beta1.DecCoin

func (*ValidatorCurrentRewards) ProtoMessage

func (*ValidatorCurrentRewards) ProtoMessage()

func (*ValidatorCurrentRewards) ProtoReflect

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

func (*ValidatorCurrentRewards) Reset

func (x *ValidatorCurrentRewards) Reset()

func (*ValidatorCurrentRewards) String

func (x *ValidatorCurrentRewards) String() string

type ValidatorCurrentRewardsRecord

type ValidatorCurrentRewardsRecord struct {

	// validator_address is the address of the validator.
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// rewards defines the current rewards of a validator.
	Rewards *ValidatorCurrentRewards `protobuf:"bytes,2,opt,name=rewards,proto3" json:"rewards,omitempty"`
	// contains filtered or unexported fields
}

ValidatorCurrentRewardsRecord is used for import / export via genesis json.

func (*ValidatorCurrentRewardsRecord) Descriptor deprecated

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

Deprecated: Use ValidatorCurrentRewardsRecord.ProtoReflect.Descriptor instead.

func (*ValidatorCurrentRewardsRecord) GetRewards

func (*ValidatorCurrentRewardsRecord) GetValidatorAddress

func (x *ValidatorCurrentRewardsRecord) GetValidatorAddress() string

func (*ValidatorCurrentRewardsRecord) ProtoMessage

func (*ValidatorCurrentRewardsRecord) ProtoMessage()

func (*ValidatorCurrentRewardsRecord) ProtoReflect

func (*ValidatorCurrentRewardsRecord) Reset

func (x *ValidatorCurrentRewardsRecord) Reset()

func (*ValidatorCurrentRewardsRecord) String

type ValidatorHistoricalRewards

type ValidatorHistoricalRewards struct {
	CumulativeRewardRatio []*v1beta1.DecCoin `` /* 126-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
}

ValidatorHistoricalRewards represents historical rewards for a validator. 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 (*ValidatorHistoricalRewards) Descriptor deprecated

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

Deprecated: Use ValidatorHistoricalRewards.ProtoReflect.Descriptor instead.

func (*ValidatorHistoricalRewards) GetCumulativeRewardRatio

func (x *ValidatorHistoricalRewards) GetCumulativeRewardRatio() []*v1beta1.DecCoin

func (*ValidatorHistoricalRewards) GetReferenceCount

func (x *ValidatorHistoricalRewards) GetReferenceCount() uint32

func (*ValidatorHistoricalRewards) ProtoMessage

func (*ValidatorHistoricalRewards) ProtoMessage()

func (*ValidatorHistoricalRewards) ProtoReflect

func (*ValidatorHistoricalRewards) Reset

func (x *ValidatorHistoricalRewards) Reset()

func (*ValidatorHistoricalRewards) String

func (x *ValidatorHistoricalRewards) String() string

type ValidatorHistoricalRewardsRecord

type ValidatorHistoricalRewardsRecord struct {

	// validator_address is the address of the validator.
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,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 a validator.
	Rewards *ValidatorHistoricalRewards `protobuf:"bytes,3,opt,name=rewards,proto3" json:"rewards,omitempty"`
	// contains filtered or unexported fields
}

ValidatorHistoricalRewardsRecord is used for import / export via genesis json.

func (*ValidatorHistoricalRewardsRecord) Descriptor deprecated

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

Deprecated: Use ValidatorHistoricalRewardsRecord.ProtoReflect.Descriptor instead.

func (*ValidatorHistoricalRewardsRecord) GetPeriod

func (*ValidatorHistoricalRewardsRecord) GetRewards

func (*ValidatorHistoricalRewardsRecord) GetValidatorAddress

func (x *ValidatorHistoricalRewardsRecord) GetValidatorAddress() string

func (*ValidatorHistoricalRewardsRecord) ProtoMessage

func (*ValidatorHistoricalRewardsRecord) ProtoMessage()

func (*ValidatorHistoricalRewardsRecord) ProtoReflect

func (*ValidatorHistoricalRewardsRecord) Reset

func (*ValidatorHistoricalRewardsRecord) String

type ValidatorOutstandingRewards

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

ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards for a validator inexpensive to track, allows simple sanity checks.

func (*ValidatorOutstandingRewards) Descriptor deprecated

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

Deprecated: Use ValidatorOutstandingRewards.ProtoReflect.Descriptor instead.

func (*ValidatorOutstandingRewards) GetRewards

func (x *ValidatorOutstandingRewards) GetRewards() []*v1beta1.DecCoin

func (*ValidatorOutstandingRewards) ProtoMessage

func (*ValidatorOutstandingRewards) ProtoMessage()

func (*ValidatorOutstandingRewards) ProtoReflect

func (*ValidatorOutstandingRewards) Reset

func (x *ValidatorOutstandingRewards) Reset()

func (*ValidatorOutstandingRewards) String

func (x *ValidatorOutstandingRewards) String() string

type ValidatorOutstandingRewardsRecord

type ValidatorOutstandingRewardsRecord struct {

	// validator_address is the address of the validator.
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// outstanding_rewards represents the oustanding rewards of a validator.
	OutstandingRewards []*v1beta1.DecCoin `protobuf:"bytes,2,rep,name=outstanding_rewards,json=outstandingRewards,proto3" json:"outstanding_rewards,omitempty"`
	// contains filtered or unexported fields
}

ValidatorOutstandingRewardsRecord is used for import/export via genesis json.

func (*ValidatorOutstandingRewardsRecord) Descriptor deprecated

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

Deprecated: Use ValidatorOutstandingRewardsRecord.ProtoReflect.Descriptor instead.

func (*ValidatorOutstandingRewardsRecord) GetOutstandingRewards

func (x *ValidatorOutstandingRewardsRecord) GetOutstandingRewards() []*v1beta1.DecCoin

func (*ValidatorOutstandingRewardsRecord) GetValidatorAddress

func (x *ValidatorOutstandingRewardsRecord) GetValidatorAddress() string

func (*ValidatorOutstandingRewardsRecord) ProtoMessage

func (*ValidatorOutstandingRewardsRecord) ProtoMessage()

func (*ValidatorOutstandingRewardsRecord) ProtoReflect

func (*ValidatorOutstandingRewardsRecord) Reset

func (*ValidatorOutstandingRewardsRecord) String

type ValidatorSlashEvent

type ValidatorSlashEvent struct {
	ValidatorPeriod uint64 `protobuf:"varint,1,opt,name=validator_period,json=validatorPeriod,proto3" json:"validator_period,omitempty"`
	Fraction        string `protobuf:"bytes,2,opt,name=fraction,proto3" json:"fraction,omitempty"`
	// contains filtered or unexported fields
}

ValidatorSlashEvent represents a validator slash event. Height is implicit within the store key. This is needed to calculate appropriate amount of staking tokens for delegations which are withdrawn after a slash has occurred.

func (*ValidatorSlashEvent) Descriptor deprecated

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

Deprecated: Use ValidatorSlashEvent.ProtoReflect.Descriptor instead.

func (*ValidatorSlashEvent) GetFraction

func (x *ValidatorSlashEvent) GetFraction() string

func (*ValidatorSlashEvent) GetValidatorPeriod

func (x *ValidatorSlashEvent) GetValidatorPeriod() uint64

func (*ValidatorSlashEvent) ProtoMessage

func (*ValidatorSlashEvent) ProtoMessage()

func (*ValidatorSlashEvent) ProtoReflect

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

func (*ValidatorSlashEvent) Reset

func (x *ValidatorSlashEvent) Reset()

func (*ValidatorSlashEvent) String

func (x *ValidatorSlashEvent) String() string

type ValidatorSlashEventRecord

type ValidatorSlashEventRecord struct {

	// validator_address is the address of the validator.
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// height defines the block height at which the slash event occured.
	Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	// period is the period of the slash event.
	Period uint64 `protobuf:"varint,3,opt,name=period,proto3" json:"period,omitempty"`
	// validator_slash_event describes the slash event.
	ValidatorSlashEvent *ValidatorSlashEvent `protobuf:"bytes,4,opt,name=validator_slash_event,json=validatorSlashEvent,proto3" json:"validator_slash_event,omitempty"`
	// contains filtered or unexported fields
}

ValidatorSlashEventRecord is used for import / export via genesis json.

func (*ValidatorSlashEventRecord) Descriptor deprecated

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

Deprecated: Use ValidatorSlashEventRecord.ProtoReflect.Descriptor instead.

func (*ValidatorSlashEventRecord) GetHeight

func (x *ValidatorSlashEventRecord) GetHeight() uint64

func (*ValidatorSlashEventRecord) GetPeriod

func (x *ValidatorSlashEventRecord) GetPeriod() uint64

func (*ValidatorSlashEventRecord) GetValidatorAddress

func (x *ValidatorSlashEventRecord) GetValidatorAddress() string

func (*ValidatorSlashEventRecord) GetValidatorSlashEvent

func (x *ValidatorSlashEventRecord) GetValidatorSlashEvent() *ValidatorSlashEvent

func (*ValidatorSlashEventRecord) ProtoMessage

func (*ValidatorSlashEventRecord) ProtoMessage()

func (*ValidatorSlashEventRecord) ProtoReflect

func (*ValidatorSlashEventRecord) Reset

func (x *ValidatorSlashEventRecord) Reset()

func (*ValidatorSlashEventRecord) String

func (x *ValidatorSlashEventRecord) String() string

type ValidatorSlashEvents

type ValidatorSlashEvents struct {
	ValidatorSlashEvents []*ValidatorSlashEvent `protobuf:"bytes,1,rep,name=validator_slash_events,json=validatorSlashEvents,proto3" json:"validator_slash_events,omitempty"`
	// contains filtered or unexported fields
}

ValidatorSlashEvents is a collection of ValidatorSlashEvent messages.

func (*ValidatorSlashEvents) Descriptor deprecated

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

Deprecated: Use ValidatorSlashEvents.ProtoReflect.Descriptor instead.

func (*ValidatorSlashEvents) GetValidatorSlashEvents

func (x *ValidatorSlashEvents) GetValidatorSlashEvents() []*ValidatorSlashEvent

func (*ValidatorSlashEvents) ProtoMessage

func (*ValidatorSlashEvents) ProtoMessage()

func (*ValidatorSlashEvents) ProtoReflect

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

func (*ValidatorSlashEvents) Reset

func (x *ValidatorSlashEvents) Reset()

func (*ValidatorSlashEvents) String

func (x *ValidatorSlashEvents) String() string

Jump to

Keyboard shortcuts

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