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 ¶
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type CommunityPoolSpendProposaldeprecated
- func (*CommunityPoolSpendProposal) Descriptor() ([]byte, []int)deprecated
- func (x *CommunityPoolSpendProposal) GetAmount() []*v1beta1.Coin
- func (x *CommunityPoolSpendProposal) GetDescription() string
- func (x *CommunityPoolSpendProposal) GetRecipient() string
- func (x *CommunityPoolSpendProposal) GetTitle() string
- func (*CommunityPoolSpendProposal) ProtoMessage()
- func (x *CommunityPoolSpendProposal) ProtoReflect() protoreflect.Message
- func (x *CommunityPoolSpendProposal) Reset()
- func (x *CommunityPoolSpendProposal) String() string
- type CommunityPoolSpendProposalWithDeposit
- func (*CommunityPoolSpendProposalWithDeposit) Descriptor() ([]byte, []int)deprecated
- func (x *CommunityPoolSpendProposalWithDeposit) GetAmount() string
- func (x *CommunityPoolSpendProposalWithDeposit) GetDeposit() string
- func (x *CommunityPoolSpendProposalWithDeposit) GetDescription() string
- func (x *CommunityPoolSpendProposalWithDeposit) GetRecipient() string
- func (x *CommunityPoolSpendProposalWithDeposit) GetTitle() string
- func (*CommunityPoolSpendProposalWithDeposit) ProtoMessage()
- func (x *CommunityPoolSpendProposalWithDeposit) ProtoReflect() protoreflect.Message
- func (x *CommunityPoolSpendProposalWithDeposit) Reset()
- func (x *CommunityPoolSpendProposalWithDeposit) String() string
- type DelegationDelegatorReward
- func (*DelegationDelegatorReward) Descriptor() ([]byte, []int)deprecated
- func (x *DelegationDelegatorReward) GetReward() []*v1beta1.DecCoin
- func (x *DelegationDelegatorReward) GetValidatorAddress() string
- func (*DelegationDelegatorReward) ProtoMessage()
- func (x *DelegationDelegatorReward) ProtoReflect() protoreflect.Message
- func (x *DelegationDelegatorReward) Reset()
- func (x *DelegationDelegatorReward) String() string
- type DelegatorStartingInfo
- func (*DelegatorStartingInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DelegatorStartingInfo) GetHeight() uint64
- func (x *DelegatorStartingInfo) GetPreviousPeriod() uint64
- func (x *DelegatorStartingInfo) GetStake() string
- func (*DelegatorStartingInfo) ProtoMessage()
- func (x *DelegatorStartingInfo) ProtoReflect() protoreflect.Message
- func (x *DelegatorStartingInfo) Reset()
- func (x *DelegatorStartingInfo) String() string
- type DelegatorStartingInfoRecord
- func (*DelegatorStartingInfoRecord) Descriptor() ([]byte, []int)deprecated
- func (x *DelegatorStartingInfoRecord) GetDelegatorAddress() string
- func (x *DelegatorStartingInfoRecord) GetStartingInfo() *DelegatorStartingInfo
- func (x *DelegatorStartingInfoRecord) GetValidatorAddress() string
- func (*DelegatorStartingInfoRecord) ProtoMessage()
- func (x *DelegatorStartingInfoRecord) ProtoReflect() protoreflect.Message
- func (x *DelegatorStartingInfoRecord) Reset()
- func (x *DelegatorStartingInfoRecord) String() string
- type DelegatorWithdrawInfo
- func (*DelegatorWithdrawInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DelegatorWithdrawInfo) GetDelegatorAddress() string
- func (x *DelegatorWithdrawInfo) GetWithdrawAddress() string
- func (*DelegatorWithdrawInfo) ProtoMessage()
- func (x *DelegatorWithdrawInfo) ProtoReflect() protoreflect.Message
- func (x *DelegatorWithdrawInfo) Reset()
- func (x *DelegatorWithdrawInfo) String() string
- type FeePool
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetDelegatorStartingInfos() []*DelegatorStartingInfoRecord
- func (x *GenesisState) GetDelegatorWithdrawInfos() []*DelegatorWithdrawInfo
- func (x *GenesisState) GetFeePool() *FeePool
- func (x *GenesisState) GetOutstandingRewards() []*ValidatorOutstandingRewardsRecord
- func (x *GenesisState) GetParams() *Params
- func (x *GenesisState) GetPreviousProposer() string
- func (x *GenesisState) GetValidatorAccumulatedCommissions() []*ValidatorAccumulatedCommissionRecord
- func (x *GenesisState) GetValidatorCurrentRewards() []*ValidatorCurrentRewardsRecord
- func (x *GenesisState) GetValidatorHistoricalRewards() []*ValidatorHistoricalRewardsRecord
- func (x *GenesisState) GetValidatorSlashEvents() []*ValidatorSlashEventRecord
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type MsgClient
- type MsgCommunityPoolSpend
- func (*MsgCommunityPoolSpend) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCommunityPoolSpend) GetAmount() []*v1beta1.Coin
- func (x *MsgCommunityPoolSpend) GetAuthority() string
- func (x *MsgCommunityPoolSpend) GetRecipient() string
- func (*MsgCommunityPoolSpend) ProtoMessage()
- func (x *MsgCommunityPoolSpend) ProtoReflect() protoreflect.Message
- func (x *MsgCommunityPoolSpend) Reset()
- func (x *MsgCommunityPoolSpend) String() string
- type MsgCommunityPoolSpendResponse
- func (*MsgCommunityPoolSpendResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgCommunityPoolSpendResponse) ProtoMessage()
- func (x *MsgCommunityPoolSpendResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCommunityPoolSpendResponse) Reset()
- func (x *MsgCommunityPoolSpendResponse) String() string
- type MsgFundCommunityPool
- func (*MsgFundCommunityPool) Descriptor() ([]byte, []int)deprecated
- func (x *MsgFundCommunityPool) GetAmount() []*v1beta1.Coin
- func (x *MsgFundCommunityPool) GetDepositor() string
- func (*MsgFundCommunityPool) ProtoMessage()
- func (x *MsgFundCommunityPool) ProtoReflect() protoreflect.Message
- func (x *MsgFundCommunityPool) Reset()
- func (x *MsgFundCommunityPool) String() string
- type MsgFundCommunityPoolResponse
- func (*MsgFundCommunityPoolResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgFundCommunityPoolResponse) ProtoMessage()
- func (x *MsgFundCommunityPoolResponse) ProtoReflect() protoreflect.Message
- func (x *MsgFundCommunityPoolResponse) Reset()
- func (x *MsgFundCommunityPoolResponse) String() string
- type MsgServer
- type MsgSetWithdrawAddress
- func (*MsgSetWithdrawAddress) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSetWithdrawAddress) GetDelegatorAddress() string
- func (x *MsgSetWithdrawAddress) GetWithdrawAddress() string
- func (*MsgSetWithdrawAddress) ProtoMessage()
- func (x *MsgSetWithdrawAddress) ProtoReflect() protoreflect.Message
- func (x *MsgSetWithdrawAddress) Reset()
- func (x *MsgSetWithdrawAddress) String() string
- type MsgSetWithdrawAddressResponse
- func (*MsgSetWithdrawAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgSetWithdrawAddressResponse) ProtoMessage()
- func (x *MsgSetWithdrawAddressResponse) ProtoReflect() protoreflect.Message
- func (x *MsgSetWithdrawAddressResponse) Reset()
- func (x *MsgSetWithdrawAddressResponse) String() string
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParams) GetAuthority() string
- func (x *MsgUpdateParams) GetParams() *Params
- func (*MsgUpdateParams) ProtoMessage()
- func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParams) Reset()
- func (x *MsgUpdateParams) String() string
- type MsgUpdateParamsResponse
- type MsgWithdrawDelegatorReward
- func (*MsgWithdrawDelegatorReward) Descriptor() ([]byte, []int)deprecated
- func (x *MsgWithdrawDelegatorReward) GetDelegatorAddress() string
- func (x *MsgWithdrawDelegatorReward) GetValidatorAddress() string
- func (*MsgWithdrawDelegatorReward) ProtoMessage()
- func (x *MsgWithdrawDelegatorReward) ProtoReflect() protoreflect.Message
- func (x *MsgWithdrawDelegatorReward) Reset()
- func (x *MsgWithdrawDelegatorReward) String() string
- type MsgWithdrawDelegatorRewardResponse
- func (*MsgWithdrawDelegatorRewardResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgWithdrawDelegatorRewardResponse) GetAmount() []*v1beta1.Coin
- func (*MsgWithdrawDelegatorRewardResponse) ProtoMessage()
- func (x *MsgWithdrawDelegatorRewardResponse) ProtoReflect() protoreflect.Message
- func (x *MsgWithdrawDelegatorRewardResponse) Reset()
- func (x *MsgWithdrawDelegatorRewardResponse) String() string
- type MsgWithdrawValidatorCommission
- func (*MsgWithdrawValidatorCommission) Descriptor() ([]byte, []int)deprecated
- func (x *MsgWithdrawValidatorCommission) GetValidatorAddress() string
- func (*MsgWithdrawValidatorCommission) ProtoMessage()
- func (x *MsgWithdrawValidatorCommission) ProtoReflect() protoreflect.Message
- func (x *MsgWithdrawValidatorCommission) Reset()
- func (x *MsgWithdrawValidatorCommission) String() string
- type MsgWithdrawValidatorCommissionResponse
- func (*MsgWithdrawValidatorCommissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgWithdrawValidatorCommissionResponse) GetAmount() []*v1beta1.Coin
- func (*MsgWithdrawValidatorCommissionResponse) ProtoMessage()
- func (x *MsgWithdrawValidatorCommissionResponse) ProtoReflect() protoreflect.Message
- func (x *MsgWithdrawValidatorCommissionResponse) Reset()
- func (x *MsgWithdrawValidatorCommissionResponse) String() string
- type Params
- func (*Params) Descriptor() ([]byte, []int)deprecated
- func (x *Params) GetBaseProposerReward() stringdeprecated
- func (x *Params) GetBonusProposerReward() stringdeprecated
- func (x *Params) GetCommunityTax() string
- func (x *Params) GetWithdrawAddrEnabled() bool
- func (*Params) ProtoMessage()
- func (x *Params) ProtoReflect() protoreflect.Message
- func (x *Params) Reset()
- func (x *Params) String() string
- type QueryClient
- type QueryCommunityPoolRequest
- type QueryCommunityPoolResponse
- func (*QueryCommunityPoolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryCommunityPoolResponse) GetPool() []*v1beta1.DecCoin
- func (*QueryCommunityPoolResponse) ProtoMessage()
- func (x *QueryCommunityPoolResponse) ProtoReflect() protoreflect.Message
- func (x *QueryCommunityPoolResponse) Reset()
- func (x *QueryCommunityPoolResponse) String() string
- type QueryDelegationRewardsRequest
- func (*QueryDelegationRewardsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDelegationRewardsRequest) GetDelegatorAddress() string
- func (x *QueryDelegationRewardsRequest) GetValidatorAddress() string
- func (*QueryDelegationRewardsRequest) ProtoMessage()
- func (x *QueryDelegationRewardsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryDelegationRewardsRequest) Reset()
- func (x *QueryDelegationRewardsRequest) String() string
- type QueryDelegationRewardsResponse
- func (*QueryDelegationRewardsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDelegationRewardsResponse) GetRewards() []*v1beta1.DecCoin
- func (*QueryDelegationRewardsResponse) ProtoMessage()
- func (x *QueryDelegationRewardsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryDelegationRewardsResponse) Reset()
- func (x *QueryDelegationRewardsResponse) String() string
- type QueryDelegationTotalRewardsRequest
- func (*QueryDelegationTotalRewardsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDelegationTotalRewardsRequest) GetDelegatorAddress() string
- func (*QueryDelegationTotalRewardsRequest) ProtoMessage()
- func (x *QueryDelegationTotalRewardsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryDelegationTotalRewardsRequest) Reset()
- func (x *QueryDelegationTotalRewardsRequest) String() string
- type QueryDelegationTotalRewardsResponse
- func (*QueryDelegationTotalRewardsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDelegationTotalRewardsResponse) GetRewards() []*DelegationDelegatorReward
- func (x *QueryDelegationTotalRewardsResponse) GetTotal() []*v1beta1.DecCoin
- func (*QueryDelegationTotalRewardsResponse) ProtoMessage()
- func (x *QueryDelegationTotalRewardsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryDelegationTotalRewardsResponse) Reset()
- func (x *QueryDelegationTotalRewardsResponse) String() string
- type QueryDelegatorValidatorsRequest
- func (*QueryDelegatorValidatorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDelegatorValidatorsRequest) GetDelegatorAddress() string
- func (*QueryDelegatorValidatorsRequest) ProtoMessage()
- func (x *QueryDelegatorValidatorsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryDelegatorValidatorsRequest) Reset()
- func (x *QueryDelegatorValidatorsRequest) String() string
- type QueryDelegatorValidatorsResponse
- func (*QueryDelegatorValidatorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDelegatorValidatorsResponse) GetValidators() []string
- func (*QueryDelegatorValidatorsResponse) ProtoMessage()
- func (x *QueryDelegatorValidatorsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryDelegatorValidatorsResponse) Reset()
- func (x *QueryDelegatorValidatorsResponse) String() string
- type QueryDelegatorWithdrawAddressRequest
- func (*QueryDelegatorWithdrawAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDelegatorWithdrawAddressRequest) GetDelegatorAddress() string
- func (*QueryDelegatorWithdrawAddressRequest) ProtoMessage()
- func (x *QueryDelegatorWithdrawAddressRequest) ProtoReflect() protoreflect.Message
- func (x *QueryDelegatorWithdrawAddressRequest) Reset()
- func (x *QueryDelegatorWithdrawAddressRequest) String() string
- type QueryDelegatorWithdrawAddressResponse
- func (*QueryDelegatorWithdrawAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDelegatorWithdrawAddressResponse) GetWithdrawAddress() string
- func (*QueryDelegatorWithdrawAddressResponse) ProtoMessage()
- func (x *QueryDelegatorWithdrawAddressResponse) ProtoReflect() protoreflect.Message
- func (x *QueryDelegatorWithdrawAddressResponse) Reset()
- func (x *QueryDelegatorWithdrawAddressResponse) String() string
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryServer
- type QueryValidatorCommissionRequest
- func (*QueryValidatorCommissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryValidatorCommissionRequest) GetValidatorAddress() string
- func (*QueryValidatorCommissionRequest) ProtoMessage()
- func (x *QueryValidatorCommissionRequest) ProtoReflect() protoreflect.Message
- func (x *QueryValidatorCommissionRequest) Reset()
- func (x *QueryValidatorCommissionRequest) String() string
- type QueryValidatorCommissionResponse
- func (*QueryValidatorCommissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryValidatorCommissionResponse) GetCommission() *ValidatorAccumulatedCommission
- func (*QueryValidatorCommissionResponse) ProtoMessage()
- func (x *QueryValidatorCommissionResponse) ProtoReflect() protoreflect.Message
- func (x *QueryValidatorCommissionResponse) Reset()
- func (x *QueryValidatorCommissionResponse) String() string
- type QueryValidatorDistributionInfoRequest
- func (*QueryValidatorDistributionInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryValidatorDistributionInfoRequest) GetValidatorAddress() string
- func (*QueryValidatorDistributionInfoRequest) ProtoMessage()
- func (x *QueryValidatorDistributionInfoRequest) ProtoReflect() protoreflect.Message
- func (x *QueryValidatorDistributionInfoRequest) Reset()
- func (x *QueryValidatorDistributionInfoRequest) String() string
- type QueryValidatorDistributionInfoResponse
- func (*QueryValidatorDistributionInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryValidatorDistributionInfoResponse) GetCommission() []*v1beta1.DecCoin
- func (x *QueryValidatorDistributionInfoResponse) GetOperatorAddress() string
- func (x *QueryValidatorDistributionInfoResponse) GetSelfBondRewards() []*v1beta1.DecCoin
- func (*QueryValidatorDistributionInfoResponse) ProtoMessage()
- func (x *QueryValidatorDistributionInfoResponse) ProtoReflect() protoreflect.Message
- func (x *QueryValidatorDistributionInfoResponse) Reset()
- func (x *QueryValidatorDistributionInfoResponse) String() string
- type QueryValidatorOutstandingRewardsRequest
- func (*QueryValidatorOutstandingRewardsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryValidatorOutstandingRewardsRequest) GetValidatorAddress() string
- func (*QueryValidatorOutstandingRewardsRequest) ProtoMessage()
- func (x *QueryValidatorOutstandingRewardsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryValidatorOutstandingRewardsRequest) Reset()
- func (x *QueryValidatorOutstandingRewardsRequest) String() string
- type QueryValidatorOutstandingRewardsResponse
- func (*QueryValidatorOutstandingRewardsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryValidatorOutstandingRewardsResponse) GetRewards() *ValidatorOutstandingRewards
- func (*QueryValidatorOutstandingRewardsResponse) ProtoMessage()
- func (x *QueryValidatorOutstandingRewardsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryValidatorOutstandingRewardsResponse) Reset()
- func (x *QueryValidatorOutstandingRewardsResponse) String() string
- type QueryValidatorSlashesRequest
- func (*QueryValidatorSlashesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryValidatorSlashesRequest) GetEndingHeight() uint64
- func (x *QueryValidatorSlashesRequest) GetPagination() *v1beta11.PageRequest
- func (x *QueryValidatorSlashesRequest) GetStartingHeight() uint64
- func (x *QueryValidatorSlashesRequest) GetValidatorAddress() string
- func (*QueryValidatorSlashesRequest) ProtoMessage()
- func (x *QueryValidatorSlashesRequest) ProtoReflect() protoreflect.Message
- func (x *QueryValidatorSlashesRequest) Reset()
- func (x *QueryValidatorSlashesRequest) String() string
- type QueryValidatorSlashesResponse
- func (*QueryValidatorSlashesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryValidatorSlashesResponse) GetPagination() *v1beta11.PageResponse
- func (x *QueryValidatorSlashesResponse) GetSlashes() []*ValidatorSlashEvent
- func (*QueryValidatorSlashesResponse) ProtoMessage()
- func (x *QueryValidatorSlashesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryValidatorSlashesResponse) Reset()
- func (x *QueryValidatorSlashesResponse) String() string
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) CommunityPoolSpend(context.Context, *MsgCommunityPoolSpend) (*MsgCommunityPoolSpendResponse, error)
- func (UnimplementedMsgServer) FundCommunityPool(context.Context, *MsgFundCommunityPool) (*MsgFundCommunityPoolResponse, error)
- func (UnimplementedMsgServer) SetWithdrawAddress(context.Context, *MsgSetWithdrawAddress) (*MsgSetWithdrawAddressResponse, error)
- func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- func (UnimplementedMsgServer) WithdrawDelegatorReward(context.Context, *MsgWithdrawDelegatorReward) (*MsgWithdrawDelegatorRewardResponse, error)
- func (UnimplementedMsgServer) WithdrawValidatorCommission(context.Context, *MsgWithdrawValidatorCommission) (*MsgWithdrawValidatorCommissionResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) CommunityPool(context.Context, *QueryCommunityPoolRequest) (*QueryCommunityPoolResponse, error)
- func (UnimplementedQueryServer) DelegationRewards(context.Context, *QueryDelegationRewardsRequest) (*QueryDelegationRewardsResponse, error)
- func (UnimplementedQueryServer) DelegationTotalRewards(context.Context, *QueryDelegationTotalRewardsRequest) (*QueryDelegationTotalRewardsResponse, error)
- func (UnimplementedQueryServer) DelegatorValidators(context.Context, *QueryDelegatorValidatorsRequest) (*QueryDelegatorValidatorsResponse, error)
- func (UnimplementedQueryServer) DelegatorWithdrawAddress(context.Context, *QueryDelegatorWithdrawAddressRequest) (*QueryDelegatorWithdrawAddressResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- func (UnimplementedQueryServer) ValidatorCommission(context.Context, *QueryValidatorCommissionRequest) (*QueryValidatorCommissionResponse, error)
- func (UnimplementedQueryServer) ValidatorDistributionInfo(context.Context, *QueryValidatorDistributionInfoRequest) (*QueryValidatorDistributionInfoResponse, error)
- func (UnimplementedQueryServer) ValidatorOutstandingRewards(context.Context, *QueryValidatorOutstandingRewardsRequest) (*QueryValidatorOutstandingRewardsResponse, error)
- func (UnimplementedQueryServer) ValidatorSlashes(context.Context, *QueryValidatorSlashesRequest) (*QueryValidatorSlashesResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
- type ValidatorAccumulatedCommission
- func (*ValidatorAccumulatedCommission) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorAccumulatedCommission) GetCommission() []*v1beta1.DecCoin
- func (*ValidatorAccumulatedCommission) ProtoMessage()
- func (x *ValidatorAccumulatedCommission) ProtoReflect() protoreflect.Message
- func (x *ValidatorAccumulatedCommission) Reset()
- func (x *ValidatorAccumulatedCommission) String() string
- type ValidatorAccumulatedCommissionRecord
- func (*ValidatorAccumulatedCommissionRecord) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorAccumulatedCommissionRecord) GetAccumulated() *ValidatorAccumulatedCommission
- func (x *ValidatorAccumulatedCommissionRecord) GetValidatorAddress() string
- func (*ValidatorAccumulatedCommissionRecord) ProtoMessage()
- func (x *ValidatorAccumulatedCommissionRecord) ProtoReflect() protoreflect.Message
- func (x *ValidatorAccumulatedCommissionRecord) Reset()
- func (x *ValidatorAccumulatedCommissionRecord) String() string
- type ValidatorCurrentRewards
- func (*ValidatorCurrentRewards) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorCurrentRewards) GetPeriod() uint64
- func (x *ValidatorCurrentRewards) GetRewards() []*v1beta1.DecCoin
- func (*ValidatorCurrentRewards) ProtoMessage()
- func (x *ValidatorCurrentRewards) ProtoReflect() protoreflect.Message
- func (x *ValidatorCurrentRewards) Reset()
- func (x *ValidatorCurrentRewards) String() string
- type ValidatorCurrentRewardsRecord
- func (*ValidatorCurrentRewardsRecord) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorCurrentRewardsRecord) GetRewards() *ValidatorCurrentRewards
- func (x *ValidatorCurrentRewardsRecord) GetValidatorAddress() string
- func (*ValidatorCurrentRewardsRecord) ProtoMessage()
- func (x *ValidatorCurrentRewardsRecord) ProtoReflect() protoreflect.Message
- func (x *ValidatorCurrentRewardsRecord) Reset()
- func (x *ValidatorCurrentRewardsRecord) String() string
- type ValidatorHistoricalRewards
- func (*ValidatorHistoricalRewards) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorHistoricalRewards) GetCumulativeRewardRatio() []*v1beta1.DecCoin
- func (x *ValidatorHistoricalRewards) GetReferenceCount() uint32
- func (*ValidatorHistoricalRewards) ProtoMessage()
- func (x *ValidatorHistoricalRewards) ProtoReflect() protoreflect.Message
- func (x *ValidatorHistoricalRewards) Reset()
- func (x *ValidatorHistoricalRewards) String() string
- type ValidatorHistoricalRewardsRecord
- func (*ValidatorHistoricalRewardsRecord) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorHistoricalRewardsRecord) GetPeriod() uint64
- func (x *ValidatorHistoricalRewardsRecord) GetRewards() *ValidatorHistoricalRewards
- func (x *ValidatorHistoricalRewardsRecord) GetValidatorAddress() string
- func (*ValidatorHistoricalRewardsRecord) ProtoMessage()
- func (x *ValidatorHistoricalRewardsRecord) ProtoReflect() protoreflect.Message
- func (x *ValidatorHistoricalRewardsRecord) Reset()
- func (x *ValidatorHistoricalRewardsRecord) String() string
- type ValidatorOutstandingRewards
- func (*ValidatorOutstandingRewards) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorOutstandingRewards) GetRewards() []*v1beta1.DecCoin
- func (*ValidatorOutstandingRewards) ProtoMessage()
- func (x *ValidatorOutstandingRewards) ProtoReflect() protoreflect.Message
- func (x *ValidatorOutstandingRewards) Reset()
- func (x *ValidatorOutstandingRewards) String() string
- type ValidatorOutstandingRewardsRecord
- func (*ValidatorOutstandingRewardsRecord) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorOutstandingRewardsRecord) GetOutstandingRewards() []*v1beta1.DecCoin
- func (x *ValidatorOutstandingRewardsRecord) GetValidatorAddress() string
- func (*ValidatorOutstandingRewardsRecord) ProtoMessage()
- func (x *ValidatorOutstandingRewardsRecord) ProtoReflect() protoreflect.Message
- func (x *ValidatorOutstandingRewardsRecord) Reset()
- func (x *ValidatorOutstandingRewardsRecord) String() string
- type ValidatorSlashEvent
- func (*ValidatorSlashEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorSlashEvent) GetFraction() string
- func (x *ValidatorSlashEvent) GetValidatorPeriod() uint64
- func (*ValidatorSlashEvent) ProtoMessage()
- func (x *ValidatorSlashEvent) ProtoReflect() protoreflect.Message
- func (x *ValidatorSlashEvent) Reset()
- func (x *ValidatorSlashEvent) String() string
- type ValidatorSlashEventRecord
- func (*ValidatorSlashEventRecord) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorSlashEventRecord) GetHeight() uint64
- func (x *ValidatorSlashEventRecord) GetPeriod() uint64
- func (x *ValidatorSlashEventRecord) GetValidatorAddress() string
- func (x *ValidatorSlashEventRecord) GetValidatorSlashEvent() *ValidatorSlashEvent
- func (*ValidatorSlashEventRecord) ProtoMessage()
- func (x *ValidatorSlashEventRecord) ProtoReflect() protoreflect.Message
- func (x *ValidatorSlashEventRecord) Reset()
- func (x *ValidatorSlashEventRecord) String() string
- type ValidatorSlashEvents
- func (*ValidatorSlashEvents) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorSlashEvents) GetValidatorSlashEvents() []*ValidatorSlashEvent
- func (*ValidatorSlashEvents) ProtoMessage()
- func (x *ValidatorSlashEvents) ProtoReflect() protoreflect.Message
- func (x *ValidatorSlashEvents) Reset()
- func (x *ValidatorSlashEvents) String() string
Constants ¶
This section is empty.
Variables ¶
var File_cosmos_distribution_v1beta1_distribution_proto protoreflect.FileDescriptor
var File_cosmos_distribution_v1beta1_genesis_proto protoreflect.FileDescriptor
var File_cosmos_distribution_v1beta1_query_proto protoreflect.FileDescriptor
var File_cosmos_distribution_v1beta1_tx_proto protoreflect.FileDescriptor
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)
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 (x *CommunityPoolSpendProposal) ProtoReflect() protoreflect.Message
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 (x *CommunityPoolSpendProposalWithDeposit) GetAmount() string
func (*CommunityPoolSpendProposalWithDeposit) GetDeposit ¶
func (x *CommunityPoolSpendProposalWithDeposit) GetDeposit() string
func (*CommunityPoolSpendProposalWithDeposit) GetDescription ¶
func (x *CommunityPoolSpendProposalWithDeposit) GetDescription() string
func (*CommunityPoolSpendProposalWithDeposit) GetRecipient ¶
func (x *CommunityPoolSpendProposalWithDeposit) GetRecipient() string
func (*CommunityPoolSpendProposalWithDeposit) GetTitle ¶
func (x *CommunityPoolSpendProposalWithDeposit) GetTitle() string
func (*CommunityPoolSpendProposalWithDeposit) ProtoMessage ¶
func (*CommunityPoolSpendProposalWithDeposit) ProtoMessage()
func (*CommunityPoolSpendProposalWithDeposit) ProtoReflect ¶
func (x *CommunityPoolSpendProposalWithDeposit) ProtoReflect() protoreflect.Message
func (*CommunityPoolSpendProposalWithDeposit) Reset ¶
func (x *CommunityPoolSpendProposalWithDeposit) Reset()
func (*CommunityPoolSpendProposalWithDeposit) String ¶
func (x *CommunityPoolSpendProposalWithDeposit) String() 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 (x *DelegationDelegatorReward) ProtoReflect() protoreflect.Message
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 (x *DelegatorStartingInfoRecord) ProtoReflect() protoreflect.Message
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) ProtoReflect ¶
func (x *FeePool) ProtoReflect() protoreflect.Message
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 (x *MsgCommunityPoolSpendResponse) ProtoReflect() protoreflect.Message
func (*MsgCommunityPoolSpendResponse) Reset ¶
func (x *MsgCommunityPoolSpendResponse) Reset()
func (*MsgCommunityPoolSpendResponse) String ¶
func (x *MsgCommunityPoolSpendResponse) String() 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 (x *MsgFundCommunityPoolResponse) ProtoReflect() protoreflect.Message
func (*MsgFundCommunityPoolResponse) Reset ¶
func (x *MsgFundCommunityPoolResponse) Reset()
func (*MsgFundCommunityPoolResponse) String ¶
func (x *MsgFundCommunityPoolResponse) String() 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 (x *MsgSetWithdrawAddressResponse) ProtoReflect() protoreflect.Message
func (*MsgSetWithdrawAddressResponse) Reset ¶
func (x *MsgSetWithdrawAddressResponse) Reset()
func (*MsgSetWithdrawAddressResponse) String ¶
func (x *MsgSetWithdrawAddressResponse) String() 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 (x *MsgWithdrawDelegatorReward) ProtoReflect() protoreflect.Message
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 (x *MsgWithdrawDelegatorRewardResponse) GetAmount() []*v1beta1.Coin
func (*MsgWithdrawDelegatorRewardResponse) ProtoMessage ¶
func (*MsgWithdrawDelegatorRewardResponse) ProtoMessage()
func (*MsgWithdrawDelegatorRewardResponse) ProtoReflect ¶
func (x *MsgWithdrawDelegatorRewardResponse) ProtoReflect() protoreflect.Message
func (*MsgWithdrawDelegatorRewardResponse) Reset ¶
func (x *MsgWithdrawDelegatorRewardResponse) Reset()
func (*MsgWithdrawDelegatorRewardResponse) String ¶
func (x *MsgWithdrawDelegatorRewardResponse) String() 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 (x *MsgWithdrawValidatorCommission) ProtoReflect() protoreflect.Message
func (*MsgWithdrawValidatorCommission) Reset ¶
func (x *MsgWithdrawValidatorCommission) Reset()
func (*MsgWithdrawValidatorCommission) String ¶
func (x *MsgWithdrawValidatorCommission) String() 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 (x *MsgWithdrawValidatorCommissionResponse) GetAmount() []*v1beta1.Coin
func (*MsgWithdrawValidatorCommissionResponse) ProtoMessage ¶
func (*MsgWithdrawValidatorCommissionResponse) ProtoMessage()
func (*MsgWithdrawValidatorCommissionResponse) ProtoReflect ¶
func (x *MsgWithdrawValidatorCommissionResponse) ProtoReflect() protoreflect.Message
func (*MsgWithdrawValidatorCommissionResponse) Reset ¶
func (x *MsgWithdrawValidatorCommissionResponse) Reset()
func (*MsgWithdrawValidatorCommissionResponse) String ¶
func (x *MsgWithdrawValidatorCommissionResponse) String() 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) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
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 commission 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 (x *QueryCommunityPoolRequest) ProtoReflect() protoreflect.Message
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 (x *QueryCommunityPoolResponse) ProtoReflect() protoreflect.Message
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 (x *QueryDelegationRewardsRequest) ProtoReflect() protoreflect.Message
func (*QueryDelegationRewardsRequest) Reset ¶
func (x *QueryDelegationRewardsRequest) Reset()
func (*QueryDelegationRewardsRequest) String ¶
func (x *QueryDelegationRewardsRequest) String() 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 (x *QueryDelegationRewardsResponse) ProtoReflect() protoreflect.Message
func (*QueryDelegationRewardsResponse) Reset ¶
func (x *QueryDelegationRewardsResponse) Reset()
func (*QueryDelegationRewardsResponse) String ¶
func (x *QueryDelegationRewardsResponse) String() 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 (x *QueryDelegationTotalRewardsRequest) ProtoReflect() protoreflect.Message
func (*QueryDelegationTotalRewardsRequest) Reset ¶
func (x *QueryDelegationTotalRewardsRequest) Reset()
func (*QueryDelegationTotalRewardsRequest) String ¶
func (x *QueryDelegationTotalRewardsRequest) String() 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 (x *QueryDelegationTotalRewardsResponse) GetRewards() []*DelegationDelegatorReward
func (*QueryDelegationTotalRewardsResponse) GetTotal ¶
func (x *QueryDelegationTotalRewardsResponse) GetTotal() []*v1beta1.DecCoin
func (*QueryDelegationTotalRewardsResponse) ProtoMessage ¶
func (*QueryDelegationTotalRewardsResponse) ProtoMessage()
func (*QueryDelegationTotalRewardsResponse) ProtoReflect ¶
func (x *QueryDelegationTotalRewardsResponse) ProtoReflect() protoreflect.Message
func (*QueryDelegationTotalRewardsResponse) Reset ¶
func (x *QueryDelegationTotalRewardsResponse) Reset()
func (*QueryDelegationTotalRewardsResponse) String ¶
func (x *QueryDelegationTotalRewardsResponse) String() 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 (x *QueryDelegatorValidatorsRequest) ProtoReflect() protoreflect.Message
func (*QueryDelegatorValidatorsRequest) Reset ¶
func (x *QueryDelegatorValidatorsRequest) Reset()
func (*QueryDelegatorValidatorsRequest) String ¶
func (x *QueryDelegatorValidatorsRequest) String() 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 (x *QueryDelegatorValidatorsResponse) ProtoReflect() protoreflect.Message
func (*QueryDelegatorValidatorsResponse) Reset ¶
func (x *QueryDelegatorValidatorsResponse) Reset()
func (*QueryDelegatorValidatorsResponse) String ¶
func (x *QueryDelegatorValidatorsResponse) String() 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 (x *QueryDelegatorWithdrawAddressRequest) ProtoReflect() protoreflect.Message
func (*QueryDelegatorWithdrawAddressRequest) Reset ¶
func (x *QueryDelegatorWithdrawAddressRequest) Reset()
func (*QueryDelegatorWithdrawAddressRequest) String ¶
func (x *QueryDelegatorWithdrawAddressRequest) String() 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 (x *QueryDelegatorWithdrawAddressResponse) ProtoReflect() protoreflect.Message
func (*QueryDelegatorWithdrawAddressResponse) Reset ¶
func (x *QueryDelegatorWithdrawAddressResponse) Reset()
func (*QueryDelegatorWithdrawAddressResponse) String ¶
func (x *QueryDelegatorWithdrawAddressResponse) String() string
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
QueryParamsRequest is the request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor
deprecated
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) ProtoReflect ¶
func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message
func (*QueryParamsRequest) Reset ¶
func (x *QueryParamsRequest) Reset()
func (*QueryParamsRequest) String ¶
func (x *QueryParamsRequest) String() string
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params 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 commission 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 (x *QueryValidatorCommissionRequest) ProtoReflect() protoreflect.Message
func (*QueryValidatorCommissionRequest) Reset ¶
func (x *QueryValidatorCommissionRequest) Reset()
func (*QueryValidatorCommissionRequest) String ¶
func (x *QueryValidatorCommissionRequest) String() string
type QueryValidatorCommissionResponse ¶
type QueryValidatorCommissionResponse struct { // commission defines the commission 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 (x *QueryValidatorCommissionResponse) GetCommission() *ValidatorAccumulatedCommission
func (*QueryValidatorCommissionResponse) ProtoMessage ¶
func (*QueryValidatorCommissionResponse) ProtoMessage()
func (*QueryValidatorCommissionResponse) ProtoReflect ¶
func (x *QueryValidatorCommissionResponse) ProtoReflect() protoreflect.Message
func (*QueryValidatorCommissionResponse) Reset ¶
func (x *QueryValidatorCommissionResponse) Reset()
func (*QueryValidatorCommissionResponse) String ¶
func (x *QueryValidatorCommissionResponse) String() 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 (x *QueryValidatorDistributionInfoRequest) ProtoReflect() protoreflect.Message
func (*QueryValidatorDistributionInfoRequest) Reset ¶
func (x *QueryValidatorDistributionInfoRequest) Reset()
func (*QueryValidatorDistributionInfoRequest) String ¶
func (x *QueryValidatorDistributionInfoRequest) String() 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 commission 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 (x *QueryValidatorDistributionInfoResponse) GetCommission() []*v1beta1.DecCoin
func (*QueryValidatorDistributionInfoResponse) GetOperatorAddress ¶
func (x *QueryValidatorDistributionInfoResponse) GetOperatorAddress() string
func (*QueryValidatorDistributionInfoResponse) GetSelfBondRewards ¶
func (x *QueryValidatorDistributionInfoResponse) GetSelfBondRewards() []*v1beta1.DecCoin
func (*QueryValidatorDistributionInfoResponse) ProtoMessage ¶
func (*QueryValidatorDistributionInfoResponse) ProtoMessage()
func (*QueryValidatorDistributionInfoResponse) ProtoReflect ¶
func (x *QueryValidatorDistributionInfoResponse) ProtoReflect() protoreflect.Message
func (*QueryValidatorDistributionInfoResponse) Reset ¶
func (x *QueryValidatorDistributionInfoResponse) Reset()
func (*QueryValidatorDistributionInfoResponse) String ¶
func (x *QueryValidatorDistributionInfoResponse) String() 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) ProtoMessage()
func (*QueryValidatorOutstandingRewardsRequest) ProtoReflect ¶
func (x *QueryValidatorOutstandingRewardsRequest) ProtoReflect() protoreflect.Message
func (*QueryValidatorOutstandingRewardsRequest) Reset ¶
func (x *QueryValidatorOutstandingRewardsRequest) Reset()
func (*QueryValidatorOutstandingRewardsRequest) String ¶
func (x *QueryValidatorOutstandingRewardsRequest) String() 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 (x *QueryValidatorOutstandingRewardsResponse) GetRewards() *ValidatorOutstandingRewards
func (*QueryValidatorOutstandingRewardsResponse) ProtoMessage ¶
func (*QueryValidatorOutstandingRewardsResponse) ProtoMessage()
func (*QueryValidatorOutstandingRewardsResponse) ProtoReflect ¶
func (x *QueryValidatorOutstandingRewardsResponse) ProtoReflect() protoreflect.Message
func (*QueryValidatorOutstandingRewardsResponse) Reset ¶
func (x *QueryValidatorOutstandingRewardsResponse) Reset()
func (*QueryValidatorOutstandingRewardsResponse) String ¶
func (x *QueryValidatorOutstandingRewardsResponse) String() 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 (x *QueryValidatorSlashesRequest) GetPagination() *v1beta11.PageRequest
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 (x *QueryValidatorSlashesRequest) ProtoReflect() protoreflect.Message
func (*QueryValidatorSlashesRequest) Reset ¶
func (x *QueryValidatorSlashesRequest) Reset()
func (*QueryValidatorSlashesRequest) String ¶
func (x *QueryValidatorSlashesRequest) String() 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 (x *QueryValidatorSlashesResponse) GetPagination() *v1beta11.PageResponse
func (*QueryValidatorSlashesResponse) GetSlashes ¶
func (x *QueryValidatorSlashesResponse) GetSlashes() []*ValidatorSlashEvent
func (*QueryValidatorSlashesResponse) ProtoMessage ¶
func (*QueryValidatorSlashesResponse) ProtoMessage()
func (*QueryValidatorSlashesResponse) ProtoReflect ¶
func (x *QueryValidatorSlashesResponse) ProtoReflect() protoreflect.Message
func (*QueryValidatorSlashesResponse) Reset ¶
func (x *QueryValidatorSlashesResponse) Reset()
func (*QueryValidatorSlashesResponse) String ¶
func (x *QueryValidatorSlashesResponse) String() string
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) CommunityPoolSpend ¶
func (UnimplementedMsgServer) CommunityPoolSpend(context.Context, *MsgCommunityPoolSpend) (*MsgCommunityPoolSpendResponse, error)
func (UnimplementedMsgServer) FundCommunityPool ¶
func (UnimplementedMsgServer) FundCommunityPool(context.Context, *MsgFundCommunityPool) (*MsgFundCommunityPoolResponse, error)
func (UnimplementedMsgServer) SetWithdrawAddress ¶
func (UnimplementedMsgServer) SetWithdrawAddress(context.Context, *MsgSetWithdrawAddress) (*MsgSetWithdrawAddressResponse, error)
func (UnimplementedMsgServer) UpdateParams ¶
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
func (UnimplementedMsgServer) WithdrawDelegatorReward ¶
func (UnimplementedMsgServer) WithdrawDelegatorReward(context.Context, *MsgWithdrawDelegatorReward) (*MsgWithdrawDelegatorRewardResponse, error)
func (UnimplementedMsgServer) WithdrawValidatorCommission ¶
func (UnimplementedMsgServer) WithdrawValidatorCommission(context.Context, *MsgWithdrawValidatorCommission) (*MsgWithdrawValidatorCommissionResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) CommunityPool ¶
func (UnimplementedQueryServer) CommunityPool(context.Context, *QueryCommunityPoolRequest) (*QueryCommunityPoolResponse, error)
func (UnimplementedQueryServer) DelegationRewards ¶
func (UnimplementedQueryServer) DelegationRewards(context.Context, *QueryDelegationRewardsRequest) (*QueryDelegationRewardsResponse, error)
func (UnimplementedQueryServer) DelegationTotalRewards ¶
func (UnimplementedQueryServer) DelegationTotalRewards(context.Context, *QueryDelegationTotalRewardsRequest) (*QueryDelegationTotalRewardsResponse, error)
func (UnimplementedQueryServer) DelegatorValidators ¶
func (UnimplementedQueryServer) DelegatorValidators(context.Context, *QueryDelegatorValidatorsRequest) (*QueryDelegatorValidatorsResponse, error)
func (UnimplementedQueryServer) DelegatorWithdrawAddress ¶
func (UnimplementedQueryServer) DelegatorWithdrawAddress(context.Context, *QueryDelegatorWithdrawAddressRequest) (*QueryDelegatorWithdrawAddressResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
func (UnimplementedQueryServer) ValidatorCommission ¶
func (UnimplementedQueryServer) ValidatorCommission(context.Context, *QueryValidatorCommissionRequest) (*QueryValidatorCommissionResponse, error)
func (UnimplementedQueryServer) ValidatorDistributionInfo ¶
func (UnimplementedQueryServer) ValidatorDistributionInfo(context.Context, *QueryValidatorDistributionInfoRequest) (*QueryValidatorDistributionInfoResponse, error)
func (UnimplementedQueryServer) ValidatorOutstandingRewards ¶
func (UnimplementedQueryServer) ValidatorOutstandingRewards(context.Context, *QueryValidatorOutstandingRewardsRequest) (*QueryValidatorOutstandingRewardsResponse, error)
func (UnimplementedQueryServer) ValidatorSlashes ¶
func (UnimplementedQueryServer) ValidatorSlashes(context.Context, *QueryValidatorSlashesRequest) (*QueryValidatorSlashesResponse, error)
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 (x *ValidatorAccumulatedCommission) ProtoReflect() protoreflect.Message
func (*ValidatorAccumulatedCommission) Reset ¶
func (x *ValidatorAccumulatedCommission) Reset()
func (*ValidatorAccumulatedCommission) String ¶
func (x *ValidatorAccumulatedCommission) String() 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 (x *ValidatorAccumulatedCommissionRecord) GetAccumulated() *ValidatorAccumulatedCommission
func (*ValidatorAccumulatedCommissionRecord) GetValidatorAddress ¶
func (x *ValidatorAccumulatedCommissionRecord) GetValidatorAddress() string
func (*ValidatorAccumulatedCommissionRecord) ProtoMessage ¶
func (*ValidatorAccumulatedCommissionRecord) ProtoMessage()
func (*ValidatorAccumulatedCommissionRecord) ProtoReflect ¶
func (x *ValidatorAccumulatedCommissionRecord) ProtoReflect() protoreflect.Message
func (*ValidatorAccumulatedCommissionRecord) Reset ¶
func (x *ValidatorAccumulatedCommissionRecord) Reset()
func (*ValidatorAccumulatedCommissionRecord) String ¶
func (x *ValidatorAccumulatedCommissionRecord) String() 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 (x *ValidatorCurrentRewardsRecord) GetRewards() *ValidatorCurrentRewards
func (*ValidatorCurrentRewardsRecord) GetValidatorAddress ¶
func (x *ValidatorCurrentRewardsRecord) GetValidatorAddress() string
func (*ValidatorCurrentRewardsRecord) ProtoMessage ¶
func (*ValidatorCurrentRewardsRecord) ProtoMessage()
func (*ValidatorCurrentRewardsRecord) ProtoReflect ¶
func (x *ValidatorCurrentRewardsRecord) ProtoReflect() protoreflect.Message
func (*ValidatorCurrentRewardsRecord) Reset ¶
func (x *ValidatorCurrentRewardsRecord) Reset()
func (*ValidatorCurrentRewardsRecord) String ¶
func (x *ValidatorCurrentRewardsRecord) String() 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 (x *ValidatorHistoricalRewards) ProtoReflect() protoreflect.Message
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 (x *ValidatorHistoricalRewardsRecord) GetPeriod() uint64
func (*ValidatorHistoricalRewardsRecord) GetRewards ¶
func (x *ValidatorHistoricalRewardsRecord) GetRewards() *ValidatorHistoricalRewards
func (*ValidatorHistoricalRewardsRecord) GetValidatorAddress ¶
func (x *ValidatorHistoricalRewardsRecord) GetValidatorAddress() string
func (*ValidatorHistoricalRewardsRecord) ProtoMessage ¶
func (*ValidatorHistoricalRewardsRecord) ProtoMessage()
func (*ValidatorHistoricalRewardsRecord) ProtoReflect ¶
func (x *ValidatorHistoricalRewardsRecord) ProtoReflect() protoreflect.Message
func (*ValidatorHistoricalRewardsRecord) Reset ¶
func (x *ValidatorHistoricalRewardsRecord) Reset()
func (*ValidatorHistoricalRewardsRecord) String ¶
func (x *ValidatorHistoricalRewardsRecord) String() 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 (x *ValidatorOutstandingRewards) ProtoReflect() protoreflect.Message
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 outstanding 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 (x *ValidatorOutstandingRewardsRecord) ProtoReflect() protoreflect.Message
func (*ValidatorOutstandingRewardsRecord) Reset ¶
func (x *ValidatorOutstandingRewardsRecord) Reset()
func (*ValidatorOutstandingRewardsRecord) String ¶
func (x *ValidatorOutstandingRewardsRecord) String() 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 occurred. 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 (x *ValidatorSlashEventRecord) ProtoReflect() protoreflect.Message
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