Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GetDelegatorStartingInfoAddresses(key []byte) (valAddr sdk.ValAddress, delAddr sdk.AccAddress)
- func GetDelegatorStartingInfoKey(v sdk.ValAddress, d sdk.AccAddress) []byte
- func GetDelegatorWithdrawAddrKey(delAddr sdk.AccAddress) []byte
- func GetDelegatorWithdrawInfoAddress(key []byte) (delAddr sdk.AccAddress)
- func GetValidatorAccumulatedCommissionAddress(key []byte) (valAddr sdk.ValAddress)
- func GetValidatorAccumulatedCommissionKey(v sdk.ValAddress) []byte
- func GetValidatorCurrentRewardsAddress(key []byte) (valAddr sdk.ValAddress)
- func GetValidatorCurrentRewardsKey(v sdk.ValAddress) []byte
- func GetValidatorHistoricalRewardsAddressPeriod(key []byte) (valAddr sdk.ValAddress, period uint64)
- func GetValidatorHistoricalRewardsKey(v sdk.ValAddress, k uint64) []byte
- func GetValidatorHistoricalRewardsPrefix(v sdk.ValAddress) []byte
- func GetValidatorOutstandingRewardsAddress(key []byte) (valAddr sdk.ValAddress)
- func GetValidatorOutstandingRewardsKey(valAddr sdk.ValAddress) []byte
- func GetValidatorSlashEventAddressHeight(key []byte) (valAddr sdk.ValAddress, height uint64)
- func GetValidatorSlashEventKey(v sdk.ValAddress, height, period uint64) []byte
- func GetValidatorSlashEventKeyPrefix(v sdk.ValAddress, height uint64) []byte
- func GetValidatorSlashEventPrefix(v sdk.ValAddress) []byte
- func ParamKeyTable() paramtypes.KeyTabledeprecated
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func ValidateGenesis(gs *GenesisState) error
- type AccountKeeper
- type BankKeeper
- type CommunityPoolSpendProposaldeprecated
- func (*CommunityPoolSpendProposal) Descriptor() ([]byte, []int)
- func (csp *CommunityPoolSpendProposal) GetDescription() string
- func (csp *CommunityPoolSpendProposal) GetTitle() string
- func (m *CommunityPoolSpendProposal) Marshal() (dAtA []byte, err error)
- func (m *CommunityPoolSpendProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *CommunityPoolSpendProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (csp *CommunityPoolSpendProposal) ProposalRoute() string
- func (csp *CommunityPoolSpendProposal) ProposalType() string
- func (*CommunityPoolSpendProposal) ProtoMessage()
- func (m *CommunityPoolSpendProposal) Reset()
- func (m *CommunityPoolSpendProposal) Size() (n int)
- func (csp CommunityPoolSpendProposal) String() string
- func (m *CommunityPoolSpendProposal) Unmarshal(dAtA []byte) error
- func (csp *CommunityPoolSpendProposal) ValidateBasic() error
- func (m *CommunityPoolSpendProposal) XXX_DiscardUnknown()
- func (m *CommunityPoolSpendProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommunityPoolSpendProposal) XXX_Merge(src proto.Message)
- func (m *CommunityPoolSpendProposal) XXX_Size() int
- func (m *CommunityPoolSpendProposal) XXX_Unmarshal(b []byte) error
- type CommunityPoolSpendProposalWithDeposit
- func (*CommunityPoolSpendProposalWithDeposit) Descriptor() ([]byte, []int)
- func (this *CommunityPoolSpendProposalWithDeposit) Equal(that interface{}) bool
- func (m *CommunityPoolSpendProposalWithDeposit) Marshal() (dAtA []byte, err error)
- func (m *CommunityPoolSpendProposalWithDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *CommunityPoolSpendProposalWithDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CommunityPoolSpendProposalWithDeposit) ProtoMessage()
- func (m *CommunityPoolSpendProposalWithDeposit) Reset()
- func (m *CommunityPoolSpendProposalWithDeposit) Size() (n int)
- func (m *CommunityPoolSpendProposalWithDeposit) String() string
- func (m *CommunityPoolSpendProposalWithDeposit) Unmarshal(dAtA []byte) error
- func (m *CommunityPoolSpendProposalWithDeposit) XXX_DiscardUnknown()
- func (m *CommunityPoolSpendProposalWithDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommunityPoolSpendProposalWithDeposit) XXX_Merge(src proto.Message)
- func (m *CommunityPoolSpendProposalWithDeposit) XXX_Size() int
- func (m *CommunityPoolSpendProposalWithDeposit) XXX_Unmarshal(b []byte) error
- type DelegationDelegatorReward
- func (*DelegationDelegatorReward) Descriptor() ([]byte, []int)
- func (this *DelegationDelegatorReward) Equal(that interface{}) bool
- func (m *DelegationDelegatorReward) Marshal() (dAtA []byte, err error)
- func (m *DelegationDelegatorReward) MarshalTo(dAtA []byte) (int, error)
- func (m *DelegationDelegatorReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DelegationDelegatorReward) ProtoMessage()
- func (m *DelegationDelegatorReward) Reset()
- func (m *DelegationDelegatorReward) Size() (n int)
- func (m *DelegationDelegatorReward) String() string
- func (m *DelegationDelegatorReward) Unmarshal(dAtA []byte) error
- func (m *DelegationDelegatorReward) XXX_DiscardUnknown()
- func (m *DelegationDelegatorReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelegationDelegatorReward) XXX_Merge(src proto.Message)
- func (m *DelegationDelegatorReward) XXX_Size() int
- func (m *DelegationDelegatorReward) XXX_Unmarshal(b []byte) error
- type DelegatorStartingInfo
- func (*DelegatorStartingInfo) Descriptor() ([]byte, []int)
- func (this *DelegatorStartingInfo) Equal(that interface{}) bool
- func (m *DelegatorStartingInfo) GetHeight() uint64
- func (m *DelegatorStartingInfo) GetPreviousPeriod() uint64
- func (m *DelegatorStartingInfo) Marshal() (dAtA []byte, err error)
- func (m *DelegatorStartingInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *DelegatorStartingInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DelegatorStartingInfo) ProtoMessage()
- func (m *DelegatorStartingInfo) Reset()
- func (m *DelegatorStartingInfo) Size() (n int)
- func (m *DelegatorStartingInfo) String() string
- func (m *DelegatorStartingInfo) Unmarshal(dAtA []byte) error
- func (m *DelegatorStartingInfo) XXX_DiscardUnknown()
- func (m *DelegatorStartingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelegatorStartingInfo) XXX_Merge(src proto.Message)
- func (m *DelegatorStartingInfo) XXX_Size() int
- func (m *DelegatorStartingInfo) XXX_Unmarshal(b []byte) error
- type DelegatorStartingInfoRecord
- func (*DelegatorStartingInfoRecord) Descriptor() ([]byte, []int)
- func (m *DelegatorStartingInfoRecord) Marshal() (dAtA []byte, err error)
- func (m *DelegatorStartingInfoRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *DelegatorStartingInfoRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DelegatorStartingInfoRecord) ProtoMessage()
- func (m *DelegatorStartingInfoRecord) Reset()
- func (m *DelegatorStartingInfoRecord) Size() (n int)
- func (m *DelegatorStartingInfoRecord) String() string
- func (m *DelegatorStartingInfoRecord) Unmarshal(dAtA []byte) error
- func (m *DelegatorStartingInfoRecord) XXX_DiscardUnknown()
- func (m *DelegatorStartingInfoRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelegatorStartingInfoRecord) XXX_Merge(src proto.Message)
- func (m *DelegatorStartingInfoRecord) XXX_Size() int
- func (m *DelegatorStartingInfoRecord) XXX_Unmarshal(b []byte) error
- type DelegatorWithdrawInfo
- func (*DelegatorWithdrawInfo) Descriptor() ([]byte, []int)
- func (m *DelegatorWithdrawInfo) Marshal() (dAtA []byte, err error)
- func (m *DelegatorWithdrawInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *DelegatorWithdrawInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DelegatorWithdrawInfo) ProtoMessage()
- func (m *DelegatorWithdrawInfo) Reset()
- func (m *DelegatorWithdrawInfo) Size() (n int)
- func (m *DelegatorWithdrawInfo) String() string
- func (m *DelegatorWithdrawInfo) Unmarshal(dAtA []byte) error
- func (m *DelegatorWithdrawInfo) XXX_DiscardUnknown()
- func (m *DelegatorWithdrawInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelegatorWithdrawInfo) XXX_Merge(src proto.Message)
- func (m *DelegatorWithdrawInfo) XXX_Size() int
- func (m *DelegatorWithdrawInfo) XXX_Unmarshal(b []byte) error
- type FeePool
- func (*FeePool) Descriptor() ([]byte, []int)
- func (this *FeePool) Equal(that interface{}) bool
- func (m *FeePool) GetCommunityPool() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *FeePool) Marshal() (dAtA []byte, err error)
- func (m *FeePool) MarshalTo(dAtA []byte) (int, error)
- func (m *FeePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeePool) ProtoMessage()
- func (m *FeePool) Reset()
- func (m *FeePool) Size() (n int)
- func (m *FeePool) String() string
- func (m *FeePool) Unmarshal(dAtA []byte) error
- func (f FeePool) ValidateGenesis() error
- func (m *FeePool) XXX_DiscardUnknown()
- func (m *FeePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeePool) XXX_Merge(src proto.Message)
- func (m *FeePool) XXX_Size() int
- func (m *FeePool) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCommunityPoolSpend
- func (*MsgCommunityPoolSpend) Descriptor() ([]byte, []int)
- func (this *MsgCommunityPoolSpend) Equal(that interface{}) bool
- func (m *MsgCommunityPoolSpend) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgCommunityPoolSpend) GetAuthority() string
- func (m *MsgCommunityPoolSpend) GetRecipient() string
- func (msg MsgCommunityPoolSpend) GetSignBytes() []byte
- func (msg MsgCommunityPoolSpend) GetSigners() []sdk.AccAddress
- func (m *MsgCommunityPoolSpend) Marshal() (dAtA []byte, err error)
- func (m *MsgCommunityPoolSpend) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCommunityPoolSpend) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCommunityPoolSpend) ProtoMessage()
- func (m *MsgCommunityPoolSpend) Reset()
- func (msg MsgCommunityPoolSpend) Route() string
- func (m *MsgCommunityPoolSpend) Size() (n int)
- func (m *MsgCommunityPoolSpend) String() string
- func (msg MsgCommunityPoolSpend) Type() string
- func (m *MsgCommunityPoolSpend) Unmarshal(dAtA []byte) error
- func (msg MsgCommunityPoolSpend) ValidateBasic() error
- func (m *MsgCommunityPoolSpend) XXX_DiscardUnknown()
- func (m *MsgCommunityPoolSpend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCommunityPoolSpend) XXX_Merge(src proto.Message)
- func (m *MsgCommunityPoolSpend) XXX_Size() int
- func (m *MsgCommunityPoolSpend) XXX_Unmarshal(b []byte) error
- type MsgCommunityPoolSpendResponse
- func (*MsgCommunityPoolSpendResponse) Descriptor() ([]byte, []int)
- func (this *MsgCommunityPoolSpendResponse) Equal(that interface{}) bool
- func (m *MsgCommunityPoolSpendResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCommunityPoolSpendResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCommunityPoolSpendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCommunityPoolSpendResponse) ProtoMessage()
- func (m *MsgCommunityPoolSpendResponse) Reset()
- func (m *MsgCommunityPoolSpendResponse) Size() (n int)
- func (m *MsgCommunityPoolSpendResponse) String() string
- func (m *MsgCommunityPoolSpendResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCommunityPoolSpendResponse) XXX_DiscardUnknown()
- func (m *MsgCommunityPoolSpendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCommunityPoolSpendResponse) XXX_Merge(src proto.Message)
- func (m *MsgCommunityPoolSpendResponse) XXX_Size() int
- func (m *MsgCommunityPoolSpendResponse) XXX_Unmarshal(b []byte) error
- type MsgFundCommunityPool
- func (*MsgFundCommunityPool) Descriptor() ([]byte, []int)
- func (msg MsgFundCommunityPool) GetSignBytes() []byte
- func (msg MsgFundCommunityPool) GetSigners() []sdk.AccAddress
- func (m *MsgFundCommunityPool) Marshal() (dAtA []byte, err error)
- func (m *MsgFundCommunityPool) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgFundCommunityPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgFundCommunityPool) ProtoMessage()
- func (m *MsgFundCommunityPool) Reset()
- func (msg MsgFundCommunityPool) Route() string
- func (m *MsgFundCommunityPool) Size() (n int)
- func (m *MsgFundCommunityPool) String() string
- func (msg MsgFundCommunityPool) Type() string
- func (m *MsgFundCommunityPool) Unmarshal(dAtA []byte) error
- func (msg MsgFundCommunityPool) ValidateBasic() error
- func (m *MsgFundCommunityPool) XXX_DiscardUnknown()
- func (m *MsgFundCommunityPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgFundCommunityPool) XXX_Merge(src proto.Message)
- func (m *MsgFundCommunityPool) XXX_Size() int
- func (m *MsgFundCommunityPool) XXX_Unmarshal(b []byte) error
- type MsgFundCommunityPoolResponse
- func (*MsgFundCommunityPoolResponse) Descriptor() ([]byte, []int)
- func (this *MsgFundCommunityPoolResponse) Equal(that interface{}) bool
- func (m *MsgFundCommunityPoolResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgFundCommunityPoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgFundCommunityPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgFundCommunityPoolResponse) ProtoMessage()
- func (m *MsgFundCommunityPoolResponse) Reset()
- func (m *MsgFundCommunityPoolResponse) Size() (n int)
- func (m *MsgFundCommunityPoolResponse) String() string
- func (m *MsgFundCommunityPoolResponse) Unmarshal(dAtA []byte) error
- func (m *MsgFundCommunityPoolResponse) XXX_DiscardUnknown()
- func (m *MsgFundCommunityPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgFundCommunityPoolResponse) XXX_Merge(src proto.Message)
- func (m *MsgFundCommunityPoolResponse) XXX_Size() int
- func (m *MsgFundCommunityPoolResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSetWithdrawAddress
- func (*MsgSetWithdrawAddress) Descriptor() ([]byte, []int)
- func (msg MsgSetWithdrawAddress) GetSignBytes() []byte
- func (msg MsgSetWithdrawAddress) GetSigners() []sdk.AccAddress
- func (m *MsgSetWithdrawAddress) Marshal() (dAtA []byte, err error)
- func (m *MsgSetWithdrawAddress) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetWithdrawAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetWithdrawAddress) ProtoMessage()
- func (m *MsgSetWithdrawAddress) Reset()
- func (msg MsgSetWithdrawAddress) Route() string
- func (m *MsgSetWithdrawAddress) Size() (n int)
- func (m *MsgSetWithdrawAddress) String() string
- func (msg MsgSetWithdrawAddress) Type() string
- func (m *MsgSetWithdrawAddress) Unmarshal(dAtA []byte) error
- func (msg MsgSetWithdrawAddress) ValidateBasic() error
- func (m *MsgSetWithdrawAddress) XXX_DiscardUnknown()
- func (m *MsgSetWithdrawAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetWithdrawAddress) XXX_Merge(src proto.Message)
- func (m *MsgSetWithdrawAddress) XXX_Size() int
- func (m *MsgSetWithdrawAddress) XXX_Unmarshal(b []byte) error
- type MsgSetWithdrawAddressResponse
- func (*MsgSetWithdrawAddressResponse) Descriptor() ([]byte, []int)
- func (this *MsgSetWithdrawAddressResponse) Equal(that interface{}) bool
- func (m *MsgSetWithdrawAddressResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetWithdrawAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetWithdrawAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetWithdrawAddressResponse) ProtoMessage()
- func (m *MsgSetWithdrawAddressResponse) Reset()
- func (m *MsgSetWithdrawAddressResponse) Size() (n int)
- func (m *MsgSetWithdrawAddressResponse) String() string
- func (m *MsgSetWithdrawAddressResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetWithdrawAddressResponse) XXX_DiscardUnknown()
- func (m *MsgSetWithdrawAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetWithdrawAddressResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetWithdrawAddressResponse) XXX_Size() int
- func (m *MsgSetWithdrawAddressResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (this *MsgUpdateParams) Equal(that interface{}) bool
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (msg MsgUpdateParams) GetSignBytes() []byte
- func (msg MsgUpdateParams) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (msg MsgUpdateParams) Route() string
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (msg MsgUpdateParams) Type() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateParams) ValidateBasic() error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (this *MsgUpdateParamsResponse) Equal(that interface{}) bool
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdrawDelegatorReward
- func (*MsgWithdrawDelegatorReward) Descriptor() ([]byte, []int)
- func (msg MsgWithdrawDelegatorReward) GetSignBytes() []byte
- func (msg MsgWithdrawDelegatorReward) GetSigners() []sdk.AccAddress
- func (m *MsgWithdrawDelegatorReward) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawDelegatorReward) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawDelegatorReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawDelegatorReward) ProtoMessage()
- func (m *MsgWithdrawDelegatorReward) Reset()
- func (msg MsgWithdrawDelegatorReward) Route() string
- func (m *MsgWithdrawDelegatorReward) Size() (n int)
- func (m *MsgWithdrawDelegatorReward) String() string
- func (msg MsgWithdrawDelegatorReward) Type() string
- func (m *MsgWithdrawDelegatorReward) Unmarshal(dAtA []byte) error
- func (msg MsgWithdrawDelegatorReward) ValidateBasic() error
- func (m *MsgWithdrawDelegatorReward) XXX_DiscardUnknown()
- func (m *MsgWithdrawDelegatorReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawDelegatorReward) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawDelegatorReward) XXX_Size() int
- func (m *MsgWithdrawDelegatorReward) XXX_Unmarshal(b []byte) error
- type MsgWithdrawDelegatorRewardResponse
- func (*MsgWithdrawDelegatorRewardResponse) Descriptor() ([]byte, []int)
- func (this *MsgWithdrawDelegatorRewardResponse) Equal(that interface{}) bool
- func (m *MsgWithdrawDelegatorRewardResponse) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgWithdrawDelegatorRewardResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawDelegatorRewardResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawDelegatorRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawDelegatorRewardResponse) ProtoMessage()
- func (m *MsgWithdrawDelegatorRewardResponse) Reset()
- func (m *MsgWithdrawDelegatorRewardResponse) Size() (n int)
- func (m *MsgWithdrawDelegatorRewardResponse) String() string
- func (m *MsgWithdrawDelegatorRewardResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawDelegatorRewardResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawDelegatorRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawDelegatorRewardResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawDelegatorRewardResponse) XXX_Size() int
- func (m *MsgWithdrawDelegatorRewardResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdrawValidatorCommission
- func (*MsgWithdrawValidatorCommission) Descriptor() ([]byte, []int)
- func (msg MsgWithdrawValidatorCommission) GetSignBytes() []byte
- func (msg MsgWithdrawValidatorCommission) GetSigners() []sdk.AccAddress
- func (m *MsgWithdrawValidatorCommission) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawValidatorCommission) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawValidatorCommission) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawValidatorCommission) ProtoMessage()
- func (m *MsgWithdrawValidatorCommission) Reset()
- func (msg MsgWithdrawValidatorCommission) Route() string
- func (m *MsgWithdrawValidatorCommission) Size() (n int)
- func (m *MsgWithdrawValidatorCommission) String() string
- func (msg MsgWithdrawValidatorCommission) Type() string
- func (m *MsgWithdrawValidatorCommission) Unmarshal(dAtA []byte) error
- func (msg MsgWithdrawValidatorCommission) ValidateBasic() error
- func (m *MsgWithdrawValidatorCommission) XXX_DiscardUnknown()
- func (m *MsgWithdrawValidatorCommission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawValidatorCommission) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawValidatorCommission) XXX_Size() int
- func (m *MsgWithdrawValidatorCommission) XXX_Unmarshal(b []byte) error
- type MsgWithdrawValidatorCommissionResponse
- func (*MsgWithdrawValidatorCommissionResponse) Descriptor() ([]byte, []int)
- func (this *MsgWithdrawValidatorCommissionResponse) Equal(that interface{}) bool
- func (m *MsgWithdrawValidatorCommissionResponse) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgWithdrawValidatorCommissionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawValidatorCommissionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawValidatorCommissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawValidatorCommissionResponse) ProtoMessage()
- func (m *MsgWithdrawValidatorCommissionResponse) Reset()
- func (m *MsgWithdrawValidatorCommissionResponse) Size() (n int)
- func (m *MsgWithdrawValidatorCommissionResponse) String() string
- func (m *MsgWithdrawValidatorCommissionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawValidatorCommissionResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawValidatorCommissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawValidatorCommissionResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawValidatorCommissionResponse) XXX_Size() int
- func (m *MsgWithdrawValidatorCommissionResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetWithdrawAddrEnabled() bool
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairsdeprecated
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) ValidateBasic() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryCommunityPoolRequest
- func (*QueryCommunityPoolRequest) Descriptor() ([]byte, []int)
- func (m *QueryCommunityPoolRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCommunityPoolRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCommunityPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCommunityPoolRequest) ProtoMessage()
- func (m *QueryCommunityPoolRequest) Reset()
- func (m *QueryCommunityPoolRequest) Size() (n int)
- func (m *QueryCommunityPoolRequest) String() string
- func (m *QueryCommunityPoolRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCommunityPoolRequest) XXX_DiscardUnknown()
- func (m *QueryCommunityPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCommunityPoolRequest) XXX_Merge(src proto.Message)
- func (m *QueryCommunityPoolRequest) XXX_Size() int
- func (m *QueryCommunityPoolRequest) XXX_Unmarshal(b []byte) error
- type QueryCommunityPoolResponse
- func (*QueryCommunityPoolResponse) Descriptor() ([]byte, []int)
- func (m *QueryCommunityPoolResponse) GetPool() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *QueryCommunityPoolResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCommunityPoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCommunityPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCommunityPoolResponse) ProtoMessage()
- func (m *QueryCommunityPoolResponse) Reset()
- func (m *QueryCommunityPoolResponse) Size() (n int)
- func (m *QueryCommunityPoolResponse) String() string
- func (m *QueryCommunityPoolResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCommunityPoolResponse) XXX_DiscardUnknown()
- func (m *QueryCommunityPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCommunityPoolResponse) XXX_Merge(src proto.Message)
- func (m *QueryCommunityPoolResponse) XXX_Size() int
- func (m *QueryCommunityPoolResponse) XXX_Unmarshal(b []byte) error
- type QueryDelegationRewardsParams
- type QueryDelegationRewardsRequest
- func (*QueryDelegationRewardsRequest) Descriptor() ([]byte, []int)
- func (m *QueryDelegationRewardsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDelegationRewardsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDelegationRewardsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDelegationRewardsRequest) ProtoMessage()
- func (m *QueryDelegationRewardsRequest) Reset()
- func (m *QueryDelegationRewardsRequest) Size() (n int)
- func (m *QueryDelegationRewardsRequest) String() string
- func (m *QueryDelegationRewardsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDelegationRewardsRequest) XXX_DiscardUnknown()
- func (m *QueryDelegationRewardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDelegationRewardsRequest) XXX_Merge(src proto.Message)
- func (m *QueryDelegationRewardsRequest) XXX_Size() int
- func (m *QueryDelegationRewardsRequest) XXX_Unmarshal(b []byte) error
- type QueryDelegationRewardsResponse
- func (*QueryDelegationRewardsResponse) Descriptor() ([]byte, []int)
- func (m *QueryDelegationRewardsResponse) GetRewards() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *QueryDelegationRewardsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDelegationRewardsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDelegationRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDelegationRewardsResponse) ProtoMessage()
- func (m *QueryDelegationRewardsResponse) Reset()
- func (m *QueryDelegationRewardsResponse) Size() (n int)
- func (m *QueryDelegationRewardsResponse) String() string
- func (m *QueryDelegationRewardsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDelegationRewardsResponse) XXX_DiscardUnknown()
- func (m *QueryDelegationRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDelegationRewardsResponse) XXX_Merge(src proto.Message)
- func (m *QueryDelegationRewardsResponse) XXX_Size() int
- func (m *QueryDelegationRewardsResponse) XXX_Unmarshal(b []byte) error
- type QueryDelegationTotalRewardsRequest
- func (*QueryDelegationTotalRewardsRequest) Descriptor() ([]byte, []int)
- func (m *QueryDelegationTotalRewardsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDelegationTotalRewardsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDelegationTotalRewardsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDelegationTotalRewardsRequest) ProtoMessage()
- func (m *QueryDelegationTotalRewardsRequest) Reset()
- func (m *QueryDelegationTotalRewardsRequest) Size() (n int)
- func (m *QueryDelegationTotalRewardsRequest) String() string
- func (m *QueryDelegationTotalRewardsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDelegationTotalRewardsRequest) XXX_DiscardUnknown()
- func (m *QueryDelegationTotalRewardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDelegationTotalRewardsRequest) XXX_Merge(src proto.Message)
- func (m *QueryDelegationTotalRewardsRequest) XXX_Size() int
- func (m *QueryDelegationTotalRewardsRequest) XXX_Unmarshal(b []byte) error
- type QueryDelegationTotalRewardsResponse
- func (*QueryDelegationTotalRewardsResponse) Descriptor() ([]byte, []int)
- func (m *QueryDelegationTotalRewardsResponse) GetRewards() []DelegationDelegatorReward
- func (m *QueryDelegationTotalRewardsResponse) GetTotal() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *QueryDelegationTotalRewardsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDelegationTotalRewardsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDelegationTotalRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDelegationTotalRewardsResponse) ProtoMessage()
- func (m *QueryDelegationTotalRewardsResponse) Reset()
- func (m *QueryDelegationTotalRewardsResponse) Size() (n int)
- func (m *QueryDelegationTotalRewardsResponse) String() string
- func (m *QueryDelegationTotalRewardsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDelegationTotalRewardsResponse) XXX_DiscardUnknown()
- func (m *QueryDelegationTotalRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDelegationTotalRewardsResponse) XXX_Merge(src proto.Message)
- func (m *QueryDelegationTotalRewardsResponse) XXX_Size() int
- func (m *QueryDelegationTotalRewardsResponse) XXX_Unmarshal(b []byte) error
- type QueryDelegatorParams
- type QueryDelegatorTotalRewardsResponse
- type QueryDelegatorValidatorsRequest
- func (*QueryDelegatorValidatorsRequest) Descriptor() ([]byte, []int)
- func (m *QueryDelegatorValidatorsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDelegatorValidatorsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDelegatorValidatorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDelegatorValidatorsRequest) ProtoMessage()
- func (m *QueryDelegatorValidatorsRequest) Reset()
- func (m *QueryDelegatorValidatorsRequest) Size() (n int)
- func (m *QueryDelegatorValidatorsRequest) String() string
- func (m *QueryDelegatorValidatorsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDelegatorValidatorsRequest) XXX_DiscardUnknown()
- func (m *QueryDelegatorValidatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDelegatorValidatorsRequest) XXX_Merge(src proto.Message)
- func (m *QueryDelegatorValidatorsRequest) XXX_Size() int
- func (m *QueryDelegatorValidatorsRequest) XXX_Unmarshal(b []byte) error
- type QueryDelegatorValidatorsResponse
- func (*QueryDelegatorValidatorsResponse) Descriptor() ([]byte, []int)
- func (m *QueryDelegatorValidatorsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDelegatorValidatorsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDelegatorValidatorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDelegatorValidatorsResponse) ProtoMessage()
- func (m *QueryDelegatorValidatorsResponse) Reset()
- func (m *QueryDelegatorValidatorsResponse) Size() (n int)
- func (m *QueryDelegatorValidatorsResponse) String() string
- func (m *QueryDelegatorValidatorsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDelegatorValidatorsResponse) XXX_DiscardUnknown()
- func (m *QueryDelegatorValidatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDelegatorValidatorsResponse) XXX_Merge(src proto.Message)
- func (m *QueryDelegatorValidatorsResponse) XXX_Size() int
- func (m *QueryDelegatorValidatorsResponse) XXX_Unmarshal(b []byte) error
- type QueryDelegatorWithdrawAddrParams
- type QueryDelegatorWithdrawAddressRequest
- func (*QueryDelegatorWithdrawAddressRequest) Descriptor() ([]byte, []int)
- func (m *QueryDelegatorWithdrawAddressRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDelegatorWithdrawAddressRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDelegatorWithdrawAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDelegatorWithdrawAddressRequest) ProtoMessage()
- func (m *QueryDelegatorWithdrawAddressRequest) Reset()
- func (m *QueryDelegatorWithdrawAddressRequest) Size() (n int)
- func (m *QueryDelegatorWithdrawAddressRequest) String() string
- func (m *QueryDelegatorWithdrawAddressRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDelegatorWithdrawAddressRequest) XXX_DiscardUnknown()
- func (m *QueryDelegatorWithdrawAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDelegatorWithdrawAddressRequest) XXX_Merge(src proto.Message)
- func (m *QueryDelegatorWithdrawAddressRequest) XXX_Size() int
- func (m *QueryDelegatorWithdrawAddressRequest) XXX_Unmarshal(b []byte) error
- type QueryDelegatorWithdrawAddressResponse
- func (*QueryDelegatorWithdrawAddressResponse) Descriptor() ([]byte, []int)
- func (m *QueryDelegatorWithdrawAddressResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDelegatorWithdrawAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDelegatorWithdrawAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDelegatorWithdrawAddressResponse) ProtoMessage()
- func (m *QueryDelegatorWithdrawAddressResponse) Reset()
- func (m *QueryDelegatorWithdrawAddressResponse) Size() (n int)
- func (m *QueryDelegatorWithdrawAddressResponse) String() string
- func (m *QueryDelegatorWithdrawAddressResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDelegatorWithdrawAddressResponse) XXX_DiscardUnknown()
- func (m *QueryDelegatorWithdrawAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDelegatorWithdrawAddressResponse) XXX_Merge(src proto.Message)
- func (m *QueryDelegatorWithdrawAddressResponse) XXX_Size() int
- func (m *QueryDelegatorWithdrawAddressResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryValidatorCommissionParams
- type QueryValidatorCommissionRequest
- func (*QueryValidatorCommissionRequest) Descriptor() ([]byte, []int)
- func (m *QueryValidatorCommissionRequest) GetValidatorAddress() string
- func (m *QueryValidatorCommissionRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorCommissionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorCommissionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorCommissionRequest) ProtoMessage()
- func (m *QueryValidatorCommissionRequest) Reset()
- func (m *QueryValidatorCommissionRequest) Size() (n int)
- func (m *QueryValidatorCommissionRequest) String() string
- func (m *QueryValidatorCommissionRequest) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorCommissionRequest) XXX_DiscardUnknown()
- func (m *QueryValidatorCommissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorCommissionRequest) XXX_Merge(src proto.Message)
- func (m *QueryValidatorCommissionRequest) XXX_Size() int
- func (m *QueryValidatorCommissionRequest) XXX_Unmarshal(b []byte) error
- type QueryValidatorCommissionResponse
- func (*QueryValidatorCommissionResponse) Descriptor() ([]byte, []int)
- func (m *QueryValidatorCommissionResponse) GetCommission() ValidatorAccumulatedCommission
- func (m *QueryValidatorCommissionResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorCommissionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorCommissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorCommissionResponse) ProtoMessage()
- func (m *QueryValidatorCommissionResponse) Reset()
- func (m *QueryValidatorCommissionResponse) Size() (n int)
- func (m *QueryValidatorCommissionResponse) String() string
- func (m *QueryValidatorCommissionResponse) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorCommissionResponse) XXX_DiscardUnknown()
- func (m *QueryValidatorCommissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorCommissionResponse) XXX_Merge(src proto.Message)
- func (m *QueryValidatorCommissionResponse) XXX_Size() int
- func (m *QueryValidatorCommissionResponse) XXX_Unmarshal(b []byte) error
- type QueryValidatorDistributionInfoRequest
- func (*QueryValidatorDistributionInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryValidatorDistributionInfoRequest) GetValidatorAddress() string
- func (m *QueryValidatorDistributionInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorDistributionInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorDistributionInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorDistributionInfoRequest) ProtoMessage()
- func (m *QueryValidatorDistributionInfoRequest) Reset()
- func (m *QueryValidatorDistributionInfoRequest) Size() (n int)
- func (m *QueryValidatorDistributionInfoRequest) String() string
- func (m *QueryValidatorDistributionInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorDistributionInfoRequest) XXX_DiscardUnknown()
- func (m *QueryValidatorDistributionInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorDistributionInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryValidatorDistributionInfoRequest) XXX_Size() int
- func (m *QueryValidatorDistributionInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryValidatorDistributionInfoResponse
- func (*QueryValidatorDistributionInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryValidatorDistributionInfoResponse) GetCommission() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *QueryValidatorDistributionInfoResponse) GetOperatorAddress() string
- func (m *QueryValidatorDistributionInfoResponse) GetSelfBondRewards() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *QueryValidatorDistributionInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorDistributionInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorDistributionInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorDistributionInfoResponse) ProtoMessage()
- func (m *QueryValidatorDistributionInfoResponse) Reset()
- func (m *QueryValidatorDistributionInfoResponse) Size() (n int)
- func (m *QueryValidatorDistributionInfoResponse) String() string
- func (m *QueryValidatorDistributionInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorDistributionInfoResponse) XXX_DiscardUnknown()
- func (m *QueryValidatorDistributionInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorDistributionInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryValidatorDistributionInfoResponse) XXX_Size() int
- func (m *QueryValidatorDistributionInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryValidatorOutstandingRewardsParams
- type QueryValidatorOutstandingRewardsRequest
- func (*QueryValidatorOutstandingRewardsRequest) Descriptor() ([]byte, []int)
- func (m *QueryValidatorOutstandingRewardsRequest) GetValidatorAddress() string
- func (m *QueryValidatorOutstandingRewardsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorOutstandingRewardsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorOutstandingRewardsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorOutstandingRewardsRequest) ProtoMessage()
- func (m *QueryValidatorOutstandingRewardsRequest) Reset()
- func (m *QueryValidatorOutstandingRewardsRequest) Size() (n int)
- func (m *QueryValidatorOutstandingRewardsRequest) String() string
- func (m *QueryValidatorOutstandingRewardsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorOutstandingRewardsRequest) XXX_DiscardUnknown()
- func (m *QueryValidatorOutstandingRewardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorOutstandingRewardsRequest) XXX_Merge(src proto.Message)
- func (m *QueryValidatorOutstandingRewardsRequest) XXX_Size() int
- func (m *QueryValidatorOutstandingRewardsRequest) XXX_Unmarshal(b []byte) error
- type QueryValidatorOutstandingRewardsResponse
- func (*QueryValidatorOutstandingRewardsResponse) Descriptor() ([]byte, []int)
- func (m *QueryValidatorOutstandingRewardsResponse) GetRewards() ValidatorOutstandingRewards
- func (m *QueryValidatorOutstandingRewardsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorOutstandingRewardsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorOutstandingRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorOutstandingRewardsResponse) ProtoMessage()
- func (m *QueryValidatorOutstandingRewardsResponse) Reset()
- func (m *QueryValidatorOutstandingRewardsResponse) Size() (n int)
- func (m *QueryValidatorOutstandingRewardsResponse) String() string
- func (m *QueryValidatorOutstandingRewardsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorOutstandingRewardsResponse) XXX_DiscardUnknown()
- func (m *QueryValidatorOutstandingRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorOutstandingRewardsResponse) XXX_Merge(src proto.Message)
- func (m *QueryValidatorOutstandingRewardsResponse) XXX_Size() int
- func (m *QueryValidatorOutstandingRewardsResponse) XXX_Unmarshal(b []byte) error
- type QueryValidatorSlashesParams
- type QueryValidatorSlashesRequest
- func (*QueryValidatorSlashesRequest) Descriptor() ([]byte, []int)
- func (m *QueryValidatorSlashesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorSlashesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorSlashesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorSlashesRequest) ProtoMessage()
- func (m *QueryValidatorSlashesRequest) Reset()
- func (m *QueryValidatorSlashesRequest) Size() (n int)
- func (m *QueryValidatorSlashesRequest) String() string
- func (m *QueryValidatorSlashesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorSlashesRequest) XXX_DiscardUnknown()
- func (m *QueryValidatorSlashesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorSlashesRequest) XXX_Merge(src proto.Message)
- func (m *QueryValidatorSlashesRequest) XXX_Size() int
- func (m *QueryValidatorSlashesRequest) XXX_Unmarshal(b []byte) error
- type QueryValidatorSlashesResponse
- func (*QueryValidatorSlashesResponse) Descriptor() ([]byte, []int)
- func (m *QueryValidatorSlashesResponse) GetPagination() *query.PageResponse
- func (m *QueryValidatorSlashesResponse) GetSlashes() []ValidatorSlashEvent
- func (m *QueryValidatorSlashesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorSlashesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorSlashesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorSlashesResponse) ProtoMessage()
- func (m *QueryValidatorSlashesResponse) Reset()
- func (m *QueryValidatorSlashesResponse) Size() (n int)
- func (m *QueryValidatorSlashesResponse) String() string
- func (m *QueryValidatorSlashesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorSlashesResponse) XXX_DiscardUnknown()
- func (m *QueryValidatorSlashesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorSlashesResponse) XXX_Merge(src proto.Message)
- func (m *QueryValidatorSlashesResponse) XXX_Size() int
- func (m *QueryValidatorSlashesResponse) XXX_Unmarshal(b []byte) error
- type StakingHooks
- type StakingKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CommunityPoolSpend(ctx context.Context, req *MsgCommunityPoolSpend) (*MsgCommunityPoolSpendResponse, error)
- func (*UnimplementedMsgServer) FundCommunityPool(ctx context.Context, req *MsgFundCommunityPool) (*MsgFundCommunityPoolResponse, error)
- func (*UnimplementedMsgServer) SetWithdrawAddress(ctx context.Context, req *MsgSetWithdrawAddress) (*MsgSetWithdrawAddressResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- func (*UnimplementedMsgServer) WithdrawDelegatorReward(ctx context.Context, req *MsgWithdrawDelegatorReward) (*MsgWithdrawDelegatorRewardResponse, error)
- func (*UnimplementedMsgServer) WithdrawValidatorCommission(ctx context.Context, req *MsgWithdrawValidatorCommission) (*MsgWithdrawValidatorCommissionResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) CommunityPool(ctx context.Context, req *QueryCommunityPoolRequest) (*QueryCommunityPoolResponse, error)
- func (*UnimplementedQueryServer) DelegationRewards(ctx context.Context, req *QueryDelegationRewardsRequest) (*QueryDelegationRewardsResponse, error)
- func (*UnimplementedQueryServer) DelegationTotalRewards(ctx context.Context, req *QueryDelegationTotalRewardsRequest) (*QueryDelegationTotalRewardsResponse, error)
- func (*UnimplementedQueryServer) DelegatorValidators(ctx context.Context, req *QueryDelegatorValidatorsRequest) (*QueryDelegatorValidatorsResponse, error)
- func (*UnimplementedQueryServer) DelegatorWithdrawAddress(ctx context.Context, req *QueryDelegatorWithdrawAddressRequest) (*QueryDelegatorWithdrawAddressResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) ValidatorCommission(ctx context.Context, req *QueryValidatorCommissionRequest) (*QueryValidatorCommissionResponse, error)
- func (*UnimplementedQueryServer) ValidatorDistributionInfo(ctx context.Context, req *QueryValidatorDistributionInfoRequest) (*QueryValidatorDistributionInfoResponse, error)
- func (*UnimplementedQueryServer) ValidatorOutstandingRewards(ctx context.Context, req *QueryValidatorOutstandingRewardsRequest) (*QueryValidatorOutstandingRewardsResponse, error)
- func (*UnimplementedQueryServer) ValidatorSlashes(ctx context.Context, req *QueryValidatorSlashesRequest) (*QueryValidatorSlashesResponse, error)
- type ValidatorAccumulatedCommission
- func (*ValidatorAccumulatedCommission) Descriptor() ([]byte, []int)
- func (this *ValidatorAccumulatedCommission) Equal(that interface{}) bool
- func (m *ValidatorAccumulatedCommission) GetCommission() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *ValidatorAccumulatedCommission) Marshal() (dAtA []byte, err error)
- func (m *ValidatorAccumulatedCommission) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorAccumulatedCommission) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorAccumulatedCommission) ProtoMessage()
- func (m *ValidatorAccumulatedCommission) Reset()
- func (m *ValidatorAccumulatedCommission) Size() (n int)
- func (m *ValidatorAccumulatedCommission) String() string
- func (m *ValidatorAccumulatedCommission) Unmarshal(dAtA []byte) error
- func (m *ValidatorAccumulatedCommission) XXX_DiscardUnknown()
- func (m *ValidatorAccumulatedCommission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorAccumulatedCommission) XXX_Merge(src proto.Message)
- func (m *ValidatorAccumulatedCommission) XXX_Size() int
- func (m *ValidatorAccumulatedCommission) XXX_Unmarshal(b []byte) error
- type ValidatorAccumulatedCommissionRecord
- func (*ValidatorAccumulatedCommissionRecord) Descriptor() ([]byte, []int)
- func (m *ValidatorAccumulatedCommissionRecord) Marshal() (dAtA []byte, err error)
- func (m *ValidatorAccumulatedCommissionRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorAccumulatedCommissionRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorAccumulatedCommissionRecord) ProtoMessage()
- func (m *ValidatorAccumulatedCommissionRecord) Reset()
- func (m *ValidatorAccumulatedCommissionRecord) Size() (n int)
- func (m *ValidatorAccumulatedCommissionRecord) String() string
- func (m *ValidatorAccumulatedCommissionRecord) Unmarshal(dAtA []byte) error
- func (m *ValidatorAccumulatedCommissionRecord) XXX_DiscardUnknown()
- func (m *ValidatorAccumulatedCommissionRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorAccumulatedCommissionRecord) XXX_Merge(src proto.Message)
- func (m *ValidatorAccumulatedCommissionRecord) XXX_Size() int
- func (m *ValidatorAccumulatedCommissionRecord) XXX_Unmarshal(b []byte) error
- type ValidatorCurrentRewards
- func (*ValidatorCurrentRewards) Descriptor() ([]byte, []int)
- func (this *ValidatorCurrentRewards) Equal(that interface{}) bool
- func (m *ValidatorCurrentRewards) GetPeriod() uint64
- func (m *ValidatorCurrentRewards) GetRewards() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *ValidatorCurrentRewards) Marshal() (dAtA []byte, err error)
- func (m *ValidatorCurrentRewards) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorCurrentRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorCurrentRewards) ProtoMessage()
- func (m *ValidatorCurrentRewards) Reset()
- func (m *ValidatorCurrentRewards) Size() (n int)
- func (m *ValidatorCurrentRewards) String() string
- func (m *ValidatorCurrentRewards) Unmarshal(dAtA []byte) error
- func (m *ValidatorCurrentRewards) XXX_DiscardUnknown()
- func (m *ValidatorCurrentRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorCurrentRewards) XXX_Merge(src proto.Message)
- func (m *ValidatorCurrentRewards) XXX_Size() int
- func (m *ValidatorCurrentRewards) XXX_Unmarshal(b []byte) error
- type ValidatorCurrentRewardsRecord
- func (*ValidatorCurrentRewardsRecord) Descriptor() ([]byte, []int)
- func (m *ValidatorCurrentRewardsRecord) Marshal() (dAtA []byte, err error)
- func (m *ValidatorCurrentRewardsRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorCurrentRewardsRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorCurrentRewardsRecord) ProtoMessage()
- func (m *ValidatorCurrentRewardsRecord) Reset()
- func (m *ValidatorCurrentRewardsRecord) Size() (n int)
- func (m *ValidatorCurrentRewardsRecord) String() string
- func (m *ValidatorCurrentRewardsRecord) Unmarshal(dAtA []byte) error
- func (m *ValidatorCurrentRewardsRecord) XXX_DiscardUnknown()
- func (m *ValidatorCurrentRewardsRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorCurrentRewardsRecord) XXX_Merge(src proto.Message)
- func (m *ValidatorCurrentRewardsRecord) XXX_Size() int
- func (m *ValidatorCurrentRewardsRecord) XXX_Unmarshal(b []byte) error
- type ValidatorHistoricalRewards
- func (*ValidatorHistoricalRewards) Descriptor() ([]byte, []int)
- func (this *ValidatorHistoricalRewards) Equal(that interface{}) bool
- func (m *ValidatorHistoricalRewards) GetCumulativeRewardRatio() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *ValidatorHistoricalRewards) GetReferenceCount() uint32
- func (m *ValidatorHistoricalRewards) Marshal() (dAtA []byte, err error)
- func (m *ValidatorHistoricalRewards) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorHistoricalRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorHistoricalRewards) ProtoMessage()
- func (m *ValidatorHistoricalRewards) Reset()
- func (m *ValidatorHistoricalRewards) Size() (n int)
- func (m *ValidatorHistoricalRewards) String() string
- func (m *ValidatorHistoricalRewards) Unmarshal(dAtA []byte) error
- func (m *ValidatorHistoricalRewards) XXX_DiscardUnknown()
- func (m *ValidatorHistoricalRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorHistoricalRewards) XXX_Merge(src proto.Message)
- func (m *ValidatorHistoricalRewards) XXX_Size() int
- func (m *ValidatorHistoricalRewards) XXX_Unmarshal(b []byte) error
- type ValidatorHistoricalRewardsRecord
- func (*ValidatorHistoricalRewardsRecord) Descriptor() ([]byte, []int)
- func (m *ValidatorHistoricalRewardsRecord) Marshal() (dAtA []byte, err error)
- func (m *ValidatorHistoricalRewardsRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorHistoricalRewardsRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorHistoricalRewardsRecord) ProtoMessage()
- func (m *ValidatorHistoricalRewardsRecord) Reset()
- func (m *ValidatorHistoricalRewardsRecord) Size() (n int)
- func (m *ValidatorHistoricalRewardsRecord) String() string
- func (m *ValidatorHistoricalRewardsRecord) Unmarshal(dAtA []byte) error
- func (m *ValidatorHistoricalRewardsRecord) XXX_DiscardUnknown()
- func (m *ValidatorHistoricalRewardsRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorHistoricalRewardsRecord) XXX_Merge(src proto.Message)
- func (m *ValidatorHistoricalRewardsRecord) XXX_Size() int
- func (m *ValidatorHistoricalRewardsRecord) XXX_Unmarshal(b []byte) error
- type ValidatorOutstandingRewards
- func (*ValidatorOutstandingRewards) Descriptor() ([]byte, []int)
- func (this *ValidatorOutstandingRewards) Equal(that interface{}) bool
- func (m *ValidatorOutstandingRewards) GetRewards() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *ValidatorOutstandingRewards) Marshal() (dAtA []byte, err error)
- func (m *ValidatorOutstandingRewards) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorOutstandingRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorOutstandingRewards) ProtoMessage()
- func (m *ValidatorOutstandingRewards) Reset()
- func (m *ValidatorOutstandingRewards) Size() (n int)
- func (m *ValidatorOutstandingRewards) String() string
- func (m *ValidatorOutstandingRewards) Unmarshal(dAtA []byte) error
- func (m *ValidatorOutstandingRewards) XXX_DiscardUnknown()
- func (m *ValidatorOutstandingRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorOutstandingRewards) XXX_Merge(src proto.Message)
- func (m *ValidatorOutstandingRewards) XXX_Size() int
- func (m *ValidatorOutstandingRewards) XXX_Unmarshal(b []byte) error
- type ValidatorOutstandingRewardsRecord
- func (*ValidatorOutstandingRewardsRecord) Descriptor() ([]byte, []int)
- func (m *ValidatorOutstandingRewardsRecord) Marshal() (dAtA []byte, err error)
- func (m *ValidatorOutstandingRewardsRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorOutstandingRewardsRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorOutstandingRewardsRecord) ProtoMessage()
- func (m *ValidatorOutstandingRewardsRecord) Reset()
- func (m *ValidatorOutstandingRewardsRecord) Size() (n int)
- func (m *ValidatorOutstandingRewardsRecord) String() string
- func (m *ValidatorOutstandingRewardsRecord) Unmarshal(dAtA []byte) error
- func (m *ValidatorOutstandingRewardsRecord) XXX_DiscardUnknown()
- func (m *ValidatorOutstandingRewardsRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorOutstandingRewardsRecord) XXX_Merge(src proto.Message)
- func (m *ValidatorOutstandingRewardsRecord) XXX_Size() int
- func (m *ValidatorOutstandingRewardsRecord) XXX_Unmarshal(b []byte) error
- type ValidatorSlashEvent
- func (*ValidatorSlashEvent) Descriptor() ([]byte, []int)
- func (this *ValidatorSlashEvent) Equal(that interface{}) bool
- func (m *ValidatorSlashEvent) GetValidatorPeriod() uint64
- func (m *ValidatorSlashEvent) Marshal() (dAtA []byte, err error)
- func (m *ValidatorSlashEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorSlashEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorSlashEvent) ProtoMessage()
- func (m *ValidatorSlashEvent) Reset()
- func (m *ValidatorSlashEvent) Size() (n int)
- func (m *ValidatorSlashEvent) String() string
- func (m *ValidatorSlashEvent) Unmarshal(dAtA []byte) error
- func (m *ValidatorSlashEvent) XXX_DiscardUnknown()
- func (m *ValidatorSlashEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorSlashEvent) XXX_Merge(src proto.Message)
- func (m *ValidatorSlashEvent) XXX_Size() int
- func (m *ValidatorSlashEvent) XXX_Unmarshal(b []byte) error
- type ValidatorSlashEventRecord
- func (*ValidatorSlashEventRecord) Descriptor() ([]byte, []int)
- func (m *ValidatorSlashEventRecord) Marshal() (dAtA []byte, err error)
- func (m *ValidatorSlashEventRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorSlashEventRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorSlashEventRecord) ProtoMessage()
- func (m *ValidatorSlashEventRecord) Reset()
- func (m *ValidatorSlashEventRecord) Size() (n int)
- func (m *ValidatorSlashEventRecord) String() string
- func (m *ValidatorSlashEventRecord) Unmarshal(dAtA []byte) error
- func (m *ValidatorSlashEventRecord) XXX_DiscardUnknown()
- func (m *ValidatorSlashEventRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorSlashEventRecord) XXX_Merge(src proto.Message)
- func (m *ValidatorSlashEventRecord) XXX_Size() int
- func (m *ValidatorSlashEventRecord) XXX_Unmarshal(b []byte) error
- type ValidatorSlashEvents
- func (*ValidatorSlashEvents) Descriptor() ([]byte, []int)
- func (this *ValidatorSlashEvents) Equal(that interface{}) bool
- func (m *ValidatorSlashEvents) GetValidatorSlashEvents() []ValidatorSlashEvent
- func (m *ValidatorSlashEvents) Marshal() (dAtA []byte, err error)
- func (m *ValidatorSlashEvents) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorSlashEvents) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorSlashEvents) ProtoMessage()
- func (m *ValidatorSlashEvents) Reset()
- func (m *ValidatorSlashEvents) Size() (n int)
- func (vs ValidatorSlashEvents) String() string
- func (m *ValidatorSlashEvents) Unmarshal(dAtA []byte) error
- func (m *ValidatorSlashEvents) XXX_DiscardUnknown()
- func (m *ValidatorSlashEvents) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorSlashEvents) XXX_Merge(src proto.Message)
- func (m *ValidatorSlashEvents) XXX_Size() int
- func (m *ValidatorSlashEvents) XXX_Unmarshal(b []byte) error
Constants ¶
const ( EventTypeSetWithdrawAddress = "set_withdraw_address" EventTypeRewards = "rewards" EventTypeCommission = "commission" EventTypeWithdrawRewards = "withdraw_rewards" EventTypeWithdrawCommission = "withdraw_commission" EventTypeProposerReward = "proposer_reward" AttributeKeyWithdrawAddress = "withdraw_address" AttributeKeyValidator = "validator" AttributeKeyDelegator = "delegator" )
distribution module event types
const ( // ModuleName is the module name constant used in many places ModuleName = "distribution" // StoreKey is the store key string for distribution StoreKey = ModuleName // RouterKey is the message route for distribution RouterKey = ModuleName )
const ( TypeMsgSetWithdrawAddress = "set_withdraw_address" TypeMsgWithdrawDelegatorReward = "withdraw_delegator_reward" TypeMsgWithdrawValidatorCommission = "withdraw_validator_commission" TypeMsgFundCommunityPool = "fund_community_pool" TypeMsgUpdateParams = "update_params" TypeMsgCommunityPoolSpend = "community_pool_spend" )
distribution message types
const ( QueryParams = "params" QueryValidatorOutstandingRewards = "validator_outstanding_rewards" QueryValidatorCommission = "validator_commission" QueryValidatorSlashes = "validator_slashes" QueryDelegationRewards = "delegation_rewards" QueryDelegatorTotalRewards = "delegator_total_rewards" QueryDelegatorValidators = "delegator_validators" QueryWithdrawAddr = "withdraw_addr" QueryCommunityPool = "community_pool" )
querier keys
Variables ¶
var ( ErrInvalidLengthDistribution = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDistribution = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDistribution = fmt.Errorf("proto: unexpected end of group") )
var ( ErrEmptyDelegatorAddr = sdkerrors.Register(ModuleName, 2, "delegator address is empty") ErrEmptyWithdrawAddr = sdkerrors.Register(ModuleName, 3, "withdraw address is empty") ErrEmptyValidatorAddr = sdkerrors.Register(ModuleName, 4, "validator address is empty") ErrEmptyDelegationDistInfo = sdkerrors.Register(ModuleName, 5, "no delegation distribution info") ErrNoValidatorDistInfo = sdkerrors.Register(ModuleName, 6, "no validator distribution info") ErrNoValidatorCommission = sdkerrors.Register(ModuleName, 7, "no validator commission to withdraw") ErrSetWithdrawAddrDisabled = sdkerrors.Register(ModuleName, 8, "set withdraw address disabled") ErrBadDistribution = sdkerrors.Register(ModuleName, 9, "community pool does not have sufficient coins to distribute") ErrInvalidProposalAmount = sdkerrors.Register(ModuleName, 10, "invalid community pool spend proposal amount") ErrEmptyProposalRecipient = sdkerrors.Register(ModuleName, 11, "invalid community pool spend proposal recipient") ErrNoValidatorExists = sdkerrors.Register(ModuleName, 12, "validator does not exist") ErrNoDelegationExists = sdkerrors.Register(ModuleName, 13, "delegation does not exist") )
x/distribution module sentinel errors
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( FeePoolKey = []byte{0x00} // key for global distribution state ProposerKey = []byte{0x01} // key for the proposer operator address ValidatorOutstandingRewardsPrefix = []byte{0x02} // key for outstanding rewards DelegatorWithdrawAddrPrefix = []byte{0x03} // key for delegator withdraw address DelegatorStartingInfoPrefix = []byte{0x04} // key for delegator starting info ValidatorHistoricalRewardsPrefix = []byte{0x05} // key for historical validators rewards / stake ValidatorCurrentRewardsPrefix = []byte{0x06} // key for current validator rewards ValidatorAccumulatedCommissionPrefix = []byte{0x07} // key for accumulated validator commission ValidatorSlashEventPrefix = []byte{0x08} // key for validator slash fraction ParamsKey = []byte{0x09} // key for distribution module params )
Keys for distribution store Items are stored with the following key: values
- 0x00<proposalID_Bytes>: FeePol
- 0x01: sdk.ConsAddress
- 0x02<valAddrLen (1 Byte)><valAddr_Bytes>: ValidatorOutstandingRewards
- 0x03<accAddrLen (1 Byte)><accAddr_Bytes>: sdk.AccAddress
- 0x04<valAddrLen (1 Byte)><valAddr_Bytes><accAddrLen (1 Byte)><accAddr_Bytes>: DelegatorStartingInfo
- 0x05<valAddrLen (1 Byte)><valAddr_Bytes><period_Bytes>: ValidatorHistoricalRewards
- 0x06<valAddrLen (1 Byte)><valAddr_Bytes>: ValidatorCurrentRewards
- 0x07<valAddrLen (1 Byte)><valAddr_Bytes>: ValidatorCurrentCommission
- 0x08<valAddrLen (1 Byte)><valAddr_Bytes><height>: ValidatorSlashEvent
- 0x09: Params
var ( ParamStoreKeyCommunityTax = []byte("communitytax") ParamStoreKeyWithdrawAddrEnabled = []byte("withdrawaddrenabled") )
Parameter keys
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
ModuleCdc = codec.NewAminoCodec(amino)
)
Functions ¶
func GetDelegatorStartingInfoAddresses ¶
func GetDelegatorStartingInfoAddresses(key []byte) (valAddr sdk.ValAddress, delAddr sdk.AccAddress)
GetDelegatorStartingInfoAddresses creates the addresses from a delegator starting info key.
func GetDelegatorStartingInfoKey ¶
func GetDelegatorStartingInfoKey(v sdk.ValAddress, d sdk.AccAddress) []byte
GetDelegatorStartingInfoKey creates the key for a delegator's starting info.
func GetDelegatorWithdrawAddrKey ¶
func GetDelegatorWithdrawAddrKey(delAddr sdk.AccAddress) []byte
GetDelegatorWithdrawAddrKey creates the key for a delegator's withdraw addr.
func GetDelegatorWithdrawInfoAddress ¶
func GetDelegatorWithdrawInfoAddress(key []byte) (delAddr sdk.AccAddress)
GetDelegatorWithdrawInfoAddress creates an address from a delegator's withdraw info key.
func GetValidatorAccumulatedCommissionAddress ¶
func GetValidatorAccumulatedCommissionAddress(key []byte) (valAddr sdk.ValAddress)
GetValidatorAccumulatedCommissionAddress creates the address from a validator's accumulated commission key.
func GetValidatorAccumulatedCommissionKey ¶
func GetValidatorAccumulatedCommissionKey(v sdk.ValAddress) []byte
GetValidatorAccumulatedCommissionKey creates the key for a validator's current commission.
func GetValidatorCurrentRewardsAddress ¶
func GetValidatorCurrentRewardsAddress(key []byte) (valAddr sdk.ValAddress)
GetValidatorCurrentRewardsAddress creates the address from a validator's current rewards key.
func GetValidatorCurrentRewardsKey ¶
func GetValidatorCurrentRewardsKey(v sdk.ValAddress) []byte
GetValidatorCurrentRewardsKey creates the key for a validator's current rewards.
func GetValidatorHistoricalRewardsAddressPeriod ¶
func GetValidatorHistoricalRewardsAddressPeriod(key []byte) (valAddr sdk.ValAddress, period uint64)
GetValidatorHistoricalRewardsAddressPeriod creates the address & period from a validator's historical rewards key.
func GetValidatorHistoricalRewardsKey ¶
func GetValidatorHistoricalRewardsKey(v sdk.ValAddress, k uint64) []byte
GetValidatorHistoricalRewardsKey creates the key for a validator's historical rewards.
func GetValidatorHistoricalRewardsPrefix ¶
func GetValidatorHistoricalRewardsPrefix(v sdk.ValAddress) []byte
GetValidatorHistoricalRewardsPrefix creates the prefix key for a validator's historical rewards.
func GetValidatorOutstandingRewardsAddress ¶
func GetValidatorOutstandingRewardsAddress(key []byte) (valAddr sdk.ValAddress)
GetValidatorOutstandingRewardsAddress creates an address from a validator's outstanding rewards key.
func GetValidatorOutstandingRewardsKey ¶
func GetValidatorOutstandingRewardsKey(valAddr sdk.ValAddress) []byte
GetValidatorOutstandingRewardsKey creates the outstanding rewards key for a validator.
func GetValidatorSlashEventAddressHeight ¶
func GetValidatorSlashEventAddressHeight(key []byte) (valAddr sdk.ValAddress, height uint64)
GetValidatorSlashEventAddressHeight creates the height from a validator's slash event key.
func GetValidatorSlashEventKey ¶
func GetValidatorSlashEventKey(v sdk.ValAddress, height, period uint64) []byte
GetValidatorSlashEventKey creates the key for a validator's slash fraction.
func GetValidatorSlashEventKeyPrefix ¶
func GetValidatorSlashEventKeyPrefix(v sdk.ValAddress, height uint64) []byte
GetValidatorSlashEventKeyPrefix creates the prefix key for a validator's slash fraction (ValidatorSlashEventPrefix + height).
func GetValidatorSlashEventPrefix ¶
func GetValidatorSlashEventPrefix(v sdk.ValAddress) []byte
GetValidatorSlashEventPrefix creates the prefix key for a validator's slash fractions.
func ParamKeyTable
deprecated
func ParamKeyTable() paramtypes.KeyTable
Deprecated: ParamKeyTable returns the parameter key table.
func RegisterInterfaces ¶ added in v0.40.0
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶ added in v0.40.0
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the necessary x/distribution interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.
func RegisterMsgServer ¶ added in v0.40.0
func RegisterQueryHandler ¶ added in v0.40.0
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶ added in v0.40.0
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶ added in v0.40.0
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶ added in v0.40.0
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶ added in v0.40.0
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func ValidateGenesis ¶
func ValidateGenesis(gs *GenesisState) error
ValidateGenesis validates the genesis state of distribution genesis input
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI GetModuleAddress(name string) sdk.AccAddress GetModuleAccount(ctx sdk.Context, name string) types.ModuleAccountI // TODO remove with genesis 2-phases refactor https://github.com/cosmos/cosmos-sdk/issues/2862 SetModuleAccount(sdk.Context, types.ModuleAccountI) }
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
type BankKeeper interface { GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins SendCoinsFromModuleToModule(ctx sdk.Context, senderModule string, recipientModule string, amt sdk.Coins) error SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error BlockedAddr(addr sdk.AccAddress) bool }
BankKeeper defines the expected interface needed to retrieve account balances.
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 github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` }
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 ¶
func (*CommunityPoolSpendProposal) Descriptor() ([]byte, []int)
func (*CommunityPoolSpendProposal) GetDescription ¶
func (csp *CommunityPoolSpendProposal) GetDescription() string
GetDescription returns the description of a community pool spend proposal.
func (*CommunityPoolSpendProposal) GetTitle ¶
func (csp *CommunityPoolSpendProposal) GetTitle() string
GetTitle returns the title of a community pool spend proposal.
func (*CommunityPoolSpendProposal) Marshal ¶
func (m *CommunityPoolSpendProposal) Marshal() (dAtA []byte, err error)
func (*CommunityPoolSpendProposal) MarshalTo ¶
func (m *CommunityPoolSpendProposal) MarshalTo(dAtA []byte) (int, error)
func (*CommunityPoolSpendProposal) MarshalToSizedBuffer ¶
func (m *CommunityPoolSpendProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CommunityPoolSpendProposal) ProposalRoute ¶
func (csp *CommunityPoolSpendProposal) ProposalRoute() string
GetDescription returns the routing key of a community pool spend proposal.
func (*CommunityPoolSpendProposal) ProposalType ¶
func (csp *CommunityPoolSpendProposal) ProposalType() string
ProposalType returns the type of a community pool spend proposal.
func (*CommunityPoolSpendProposal) ProtoMessage ¶
func (*CommunityPoolSpendProposal) ProtoMessage()
func (*CommunityPoolSpendProposal) Reset ¶
func (m *CommunityPoolSpendProposal) Reset()
func (*CommunityPoolSpendProposal) Size ¶
func (m *CommunityPoolSpendProposal) Size() (n int)
func (CommunityPoolSpendProposal) String ¶
func (csp CommunityPoolSpendProposal) String() string
String implements the Stringer interface.
func (*CommunityPoolSpendProposal) Unmarshal ¶
func (m *CommunityPoolSpendProposal) Unmarshal(dAtA []byte) error
func (*CommunityPoolSpendProposal) ValidateBasic ¶
func (csp *CommunityPoolSpendProposal) ValidateBasic() error
ValidateBasic runs basic stateless validity checks
func (*CommunityPoolSpendProposal) XXX_DiscardUnknown ¶
func (m *CommunityPoolSpendProposal) XXX_DiscardUnknown()
func (*CommunityPoolSpendProposal) XXX_Marshal ¶
func (m *CommunityPoolSpendProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommunityPoolSpendProposal) XXX_Merge ¶
func (m *CommunityPoolSpendProposal) XXX_Merge(src proto.Message)
func (*CommunityPoolSpendProposal) XXX_Size ¶
func (m *CommunityPoolSpendProposal) XXX_Size() int
func (*CommunityPoolSpendProposal) XXX_Unmarshal ¶
func (m *CommunityPoolSpendProposal) XXX_Unmarshal(b []byte) error
type CommunityPoolSpendProposalWithDeposit ¶ added in v0.40.0
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"` }
CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal with a deposit
func (*CommunityPoolSpendProposalWithDeposit) Descriptor ¶ added in v0.40.0
func (*CommunityPoolSpendProposalWithDeposit) Descriptor() ([]byte, []int)
func (*CommunityPoolSpendProposalWithDeposit) Equal ¶ added in v0.40.0
func (this *CommunityPoolSpendProposalWithDeposit) Equal(that interface{}) bool
func (*CommunityPoolSpendProposalWithDeposit) Marshal ¶ added in v0.40.0
func (m *CommunityPoolSpendProposalWithDeposit) Marshal() (dAtA []byte, err error)
func (*CommunityPoolSpendProposalWithDeposit) MarshalTo ¶ added in v0.40.0
func (m *CommunityPoolSpendProposalWithDeposit) MarshalTo(dAtA []byte) (int, error)
func (*CommunityPoolSpendProposalWithDeposit) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *CommunityPoolSpendProposalWithDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CommunityPoolSpendProposalWithDeposit) ProtoMessage ¶ added in v0.40.0
func (*CommunityPoolSpendProposalWithDeposit) ProtoMessage()
func (*CommunityPoolSpendProposalWithDeposit) Reset ¶ added in v0.40.0
func (m *CommunityPoolSpendProposalWithDeposit) Reset()
func (*CommunityPoolSpendProposalWithDeposit) Size ¶ added in v0.40.0
func (m *CommunityPoolSpendProposalWithDeposit) Size() (n int)
func (*CommunityPoolSpendProposalWithDeposit) String ¶ added in v0.40.0
func (m *CommunityPoolSpendProposalWithDeposit) String() string
func (*CommunityPoolSpendProposalWithDeposit) Unmarshal ¶ added in v0.40.0
func (m *CommunityPoolSpendProposalWithDeposit) Unmarshal(dAtA []byte) error
func (*CommunityPoolSpendProposalWithDeposit) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *CommunityPoolSpendProposalWithDeposit) XXX_DiscardUnknown()
func (*CommunityPoolSpendProposalWithDeposit) XXX_Marshal ¶ added in v0.40.0
func (m *CommunityPoolSpendProposalWithDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommunityPoolSpendProposalWithDeposit) XXX_Merge ¶ added in v0.40.0
func (m *CommunityPoolSpendProposalWithDeposit) XXX_Merge(src proto.Message)
func (*CommunityPoolSpendProposalWithDeposit) XXX_Size ¶ added in v0.40.0
func (m *CommunityPoolSpendProposalWithDeposit) XXX_Size() int
func (*CommunityPoolSpendProposalWithDeposit) XXX_Unmarshal ¶ added in v0.40.0
func (m *CommunityPoolSpendProposalWithDeposit) XXX_Unmarshal(b []byte) error
type DelegationDelegatorReward ¶
type DelegationDelegatorReward struct { ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` Reward github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,2,rep,name=reward,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"reward"` }
DelegationDelegatorReward represents the properties of a delegator's delegation reward.
func NewDelegationDelegatorReward ¶
func NewDelegationDelegatorReward(valAddr sdk.ValAddress, reward sdk.DecCoins) DelegationDelegatorReward
NewDelegationDelegatorReward constructs a DelegationDelegatorReward.
func (*DelegationDelegatorReward) Descriptor ¶ added in v0.40.0
func (*DelegationDelegatorReward) Descriptor() ([]byte, []int)
func (*DelegationDelegatorReward) Equal ¶ added in v0.40.0
func (this *DelegationDelegatorReward) Equal(that interface{}) bool
func (*DelegationDelegatorReward) Marshal ¶ added in v0.40.0
func (m *DelegationDelegatorReward) Marshal() (dAtA []byte, err error)
func (*DelegationDelegatorReward) MarshalTo ¶ added in v0.40.0
func (m *DelegationDelegatorReward) MarshalTo(dAtA []byte) (int, error)
func (*DelegationDelegatorReward) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *DelegationDelegatorReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DelegationDelegatorReward) ProtoMessage ¶ added in v0.40.0
func (*DelegationDelegatorReward) ProtoMessage()
func (*DelegationDelegatorReward) Reset ¶ added in v0.40.0
func (m *DelegationDelegatorReward) Reset()
func (*DelegationDelegatorReward) Size ¶ added in v0.40.0
func (m *DelegationDelegatorReward) Size() (n int)
func (*DelegationDelegatorReward) String ¶ added in v0.40.0
func (m *DelegationDelegatorReward) String() string
func (*DelegationDelegatorReward) Unmarshal ¶ added in v0.40.0
func (m *DelegationDelegatorReward) Unmarshal(dAtA []byte) error
func (*DelegationDelegatorReward) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *DelegationDelegatorReward) XXX_DiscardUnknown()
func (*DelegationDelegatorReward) XXX_Marshal ¶ added in v0.40.0
func (m *DelegationDelegatorReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelegationDelegatorReward) XXX_Merge ¶ added in v0.40.0
func (m *DelegationDelegatorReward) XXX_Merge(src proto.Message)
func (*DelegationDelegatorReward) XXX_Size ¶ added in v0.40.0
func (m *DelegationDelegatorReward) XXX_Size() int
func (*DelegationDelegatorReward) XXX_Unmarshal ¶ added in v0.40.0
func (m *DelegationDelegatorReward) XXX_Unmarshal(b []byte) error
type DelegatorStartingInfo ¶
type DelegatorStartingInfo struct { PreviousPeriod uint64 `protobuf:"varint,1,opt,name=previous_period,json=previousPeriod,proto3" json:"previous_period,omitempty"` Stake github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=stake,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"stake"` Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"creation_height"` }
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 NewDelegatorStartingInfo ¶
func NewDelegatorStartingInfo(previousPeriod uint64, stake sdk.Dec, height uint64) DelegatorStartingInfo
create a new DelegatorStartingInfo
func (*DelegatorStartingInfo) Descriptor ¶
func (*DelegatorStartingInfo) Descriptor() ([]byte, []int)
func (*DelegatorStartingInfo) Equal ¶
func (this *DelegatorStartingInfo) Equal(that interface{}) bool
func (*DelegatorStartingInfo) GetHeight ¶
func (m *DelegatorStartingInfo) GetHeight() uint64
func (*DelegatorStartingInfo) GetPreviousPeriod ¶
func (m *DelegatorStartingInfo) GetPreviousPeriod() uint64
func (*DelegatorStartingInfo) Marshal ¶
func (m *DelegatorStartingInfo) Marshal() (dAtA []byte, err error)
func (*DelegatorStartingInfo) MarshalTo ¶
func (m *DelegatorStartingInfo) MarshalTo(dAtA []byte) (int, error)
func (*DelegatorStartingInfo) MarshalToSizedBuffer ¶
func (m *DelegatorStartingInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DelegatorStartingInfo) ProtoMessage ¶
func (*DelegatorStartingInfo) ProtoMessage()
func (*DelegatorStartingInfo) Reset ¶
func (m *DelegatorStartingInfo) Reset()
func (*DelegatorStartingInfo) Size ¶
func (m *DelegatorStartingInfo) Size() (n int)
func (*DelegatorStartingInfo) String ¶
func (m *DelegatorStartingInfo) String() string
func (*DelegatorStartingInfo) Unmarshal ¶
func (m *DelegatorStartingInfo) Unmarshal(dAtA []byte) error
func (*DelegatorStartingInfo) XXX_DiscardUnknown ¶
func (m *DelegatorStartingInfo) XXX_DiscardUnknown()
func (*DelegatorStartingInfo) XXX_Marshal ¶
func (m *DelegatorStartingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelegatorStartingInfo) XXX_Merge ¶
func (m *DelegatorStartingInfo) XXX_Merge(src proto.Message)
func (*DelegatorStartingInfo) XXX_Size ¶
func (m *DelegatorStartingInfo) XXX_Size() int
func (*DelegatorStartingInfo) XXX_Unmarshal ¶
func (m *DelegatorStartingInfo) XXX_Unmarshal(b []byte) error
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"` }
DelegatorStartingInfoRecord used for import / export via genesis json.
func (*DelegatorStartingInfoRecord) Descriptor ¶ added in v0.40.0
func (*DelegatorStartingInfoRecord) Descriptor() ([]byte, []int)
func (*DelegatorStartingInfoRecord) Marshal ¶ added in v0.40.0
func (m *DelegatorStartingInfoRecord) Marshal() (dAtA []byte, err error)
func (*DelegatorStartingInfoRecord) MarshalTo ¶ added in v0.40.0
func (m *DelegatorStartingInfoRecord) MarshalTo(dAtA []byte) (int, error)
func (*DelegatorStartingInfoRecord) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *DelegatorStartingInfoRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DelegatorStartingInfoRecord) ProtoMessage ¶ added in v0.40.0
func (*DelegatorStartingInfoRecord) ProtoMessage()
func (*DelegatorStartingInfoRecord) Reset ¶ added in v0.40.0
func (m *DelegatorStartingInfoRecord) Reset()
func (*DelegatorStartingInfoRecord) Size ¶ added in v0.40.0
func (m *DelegatorStartingInfoRecord) Size() (n int)
func (*DelegatorStartingInfoRecord) String ¶ added in v0.40.0
func (m *DelegatorStartingInfoRecord) String() string
func (*DelegatorStartingInfoRecord) Unmarshal ¶ added in v0.40.0
func (m *DelegatorStartingInfoRecord) Unmarshal(dAtA []byte) error
func (*DelegatorStartingInfoRecord) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *DelegatorStartingInfoRecord) XXX_DiscardUnknown()
func (*DelegatorStartingInfoRecord) XXX_Marshal ¶ added in v0.40.0
func (m *DelegatorStartingInfoRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelegatorStartingInfoRecord) XXX_Merge ¶ added in v0.40.0
func (m *DelegatorStartingInfoRecord) XXX_Merge(src proto.Message)
func (*DelegatorStartingInfoRecord) XXX_Size ¶ added in v0.40.0
func (m *DelegatorStartingInfoRecord) XXX_Size() int
func (*DelegatorStartingInfoRecord) XXX_Unmarshal ¶ added in v0.40.0
func (m *DelegatorStartingInfoRecord) XXX_Unmarshal(b []byte) error
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"` }
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 ¶ added in v0.40.0
func (*DelegatorWithdrawInfo) Descriptor() ([]byte, []int)
func (*DelegatorWithdrawInfo) Marshal ¶ added in v0.40.0
func (m *DelegatorWithdrawInfo) Marshal() (dAtA []byte, err error)
func (*DelegatorWithdrawInfo) MarshalTo ¶ added in v0.40.0
func (m *DelegatorWithdrawInfo) MarshalTo(dAtA []byte) (int, error)
func (*DelegatorWithdrawInfo) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *DelegatorWithdrawInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DelegatorWithdrawInfo) ProtoMessage ¶ added in v0.40.0
func (*DelegatorWithdrawInfo) ProtoMessage()
func (*DelegatorWithdrawInfo) Reset ¶ added in v0.40.0
func (m *DelegatorWithdrawInfo) Reset()
func (*DelegatorWithdrawInfo) Size ¶ added in v0.40.0
func (m *DelegatorWithdrawInfo) Size() (n int)
func (*DelegatorWithdrawInfo) String ¶ added in v0.40.0
func (m *DelegatorWithdrawInfo) String() string
func (*DelegatorWithdrawInfo) Unmarshal ¶ added in v0.40.0
func (m *DelegatorWithdrawInfo) Unmarshal(dAtA []byte) error
func (*DelegatorWithdrawInfo) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *DelegatorWithdrawInfo) XXX_DiscardUnknown()
func (*DelegatorWithdrawInfo) XXX_Marshal ¶ added in v0.40.0
func (m *DelegatorWithdrawInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelegatorWithdrawInfo) XXX_Merge ¶ added in v0.40.0
func (m *DelegatorWithdrawInfo) XXX_Merge(src proto.Message)
func (*DelegatorWithdrawInfo) XXX_Size ¶ added in v0.40.0
func (m *DelegatorWithdrawInfo) XXX_Size() int
func (*DelegatorWithdrawInfo) XXX_Unmarshal ¶ added in v0.40.0
func (m *DelegatorWithdrawInfo) XXX_Unmarshal(b []byte) error
type FeePool ¶
type FeePool struct {
CommunityPool github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 147-byte string literal not displayed */
}
FeePool is the global fee pool for distribution.
func (*FeePool) Descriptor ¶
func (*FeePool) GetCommunityPool ¶
func (m *FeePool) GetCommunityPool() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*FeePool) MarshalToSizedBuffer ¶
func (*FeePool) ProtoMessage ¶
func (*FeePool) ProtoMessage()
func (FeePool) ValidateGenesis ¶
ValidateGenesis validates the fee pool for a genesis state
func (*FeePool) XXX_DiscardUnknown ¶
func (m *FeePool) XXX_DiscardUnknown()
func (*FeePool) XXX_Marshal ¶
func (*FeePool) XXX_Unmarshal ¶
type GenesisState ¶
type GenesisState struct { // params defines all the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // fee_pool defines the fee pool at genesis. FeePool FeePool `protobuf:"bytes,2,opt,name=fee_pool,json=feePool,proto3" json:"fee_pool"` // fee_pool defines the delegator withdraw infos at genesis. DelegatorWithdrawInfos []DelegatorWithdrawInfo `protobuf:"bytes,3,rep,name=delegator_withdraw_infos,json=delegatorWithdrawInfos,proto3" json:"delegator_withdraw_infos"` // 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"` // fee_pool defines the accumulated commissions of all validators at genesis. ValidatorAccumulatedCommissions []ValidatorAccumulatedCommissionRecord `` /* 146-byte string literal not displayed */ // fee_pool defines the historical rewards of all validators at genesis. ValidatorHistoricalRewards []ValidatorHistoricalRewardsRecord `` /* 131-byte string literal not displayed */ // fee_pool defines the current rewards of all validators at genesis. ValidatorCurrentRewards []ValidatorCurrentRewardsRecord `protobuf:"bytes,8,rep,name=validator_current_rewards,json=validatorCurrentRewards,proto3" json:"validator_current_rewards"` // fee_pool defines the delegator starting infos at genesis. DelegatorStartingInfos []DelegatorStartingInfoRecord `protobuf:"bytes,9,rep,name=delegator_starting_infos,json=delegatorStartingInfos,proto3" json:"delegator_starting_infos"` // 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"` }
GenesisState defines the distribution module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
get raw genesis raw message for testing
func NewGenesisState ¶
func NewGenesisState( params Params, fp FeePool, dwis []DelegatorWithdrawInfo, pp sdk.ConsAddress, r []ValidatorOutstandingRewardsRecord, acc []ValidatorAccumulatedCommissionRecord, historical []ValidatorHistoricalRewardsRecord, cur []ValidatorCurrentRewardsRecord, dels []DelegatorStartingInfoRecord, slashes []ValidatorSlashEventRecord, ) *GenesisState
func (*GenesisState) Descriptor ¶ added in v0.40.0
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) Marshal ¶ added in v0.40.0
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalTo ¶ added in v0.40.0
func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
func (*GenesisState) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶ added in v0.40.0
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶ added in v0.40.0
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶ added in v0.40.0
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶ added in v0.40.0
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶ added in v0.40.0
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶ added in v0.40.0
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶ added in v0.40.0
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶ added in v0.40.0
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶ added in v0.40.0
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MsgClient ¶ added in v0.40.0
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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶ added in v0.40.0
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgCommunityPoolSpend ¶ added in v0.47.0
type MsgCommunityPoolSpend struct { // authority is the address that controls the module (defaults to x/gov unless overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` }
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 ¶ added in v0.47.0
func (*MsgCommunityPoolSpend) Descriptor() ([]byte, []int)
func (*MsgCommunityPoolSpend) Equal ¶ added in v0.47.0
func (this *MsgCommunityPoolSpend) Equal(that interface{}) bool
func (*MsgCommunityPoolSpend) GetAmount ¶ added in v0.47.0
func (m *MsgCommunityPoolSpend) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgCommunityPoolSpend) GetAuthority ¶ added in v0.47.0
func (m *MsgCommunityPoolSpend) GetAuthority() string
func (*MsgCommunityPoolSpend) GetRecipient ¶ added in v0.47.0
func (m *MsgCommunityPoolSpend) GetRecipient() string
func (MsgCommunityPoolSpend) GetSignBytes ¶ added in v0.47.0
func (msg MsgCommunityPoolSpend) GetSignBytes() []byte
GetSignBytes returns the raw bytes for a MsgCommunityPoolSpend message that the expected signer needs to sign.
func (MsgCommunityPoolSpend) GetSigners ¶ added in v0.47.0
func (msg MsgCommunityPoolSpend) GetSigners() []sdk.AccAddress
GetSigners returns the signer addresses that are expected to sign the result of GetSignBytes, which is the authority.
func (*MsgCommunityPoolSpend) Marshal ¶ added in v0.47.0
func (m *MsgCommunityPoolSpend) Marshal() (dAtA []byte, err error)
func (*MsgCommunityPoolSpend) MarshalTo ¶ added in v0.47.0
func (m *MsgCommunityPoolSpend) MarshalTo(dAtA []byte) (int, error)
func (*MsgCommunityPoolSpend) MarshalToSizedBuffer ¶ added in v0.47.0
func (m *MsgCommunityPoolSpend) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCommunityPoolSpend) ProtoMessage ¶ added in v0.47.0
func (*MsgCommunityPoolSpend) ProtoMessage()
func (*MsgCommunityPoolSpend) Reset ¶ added in v0.47.0
func (m *MsgCommunityPoolSpend) Reset()
func (MsgCommunityPoolSpend) Route ¶ added in v0.47.0
func (msg MsgCommunityPoolSpend) Route() string
Route returns the MsgCommunityPoolSpend message route.
func (*MsgCommunityPoolSpend) Size ¶ added in v0.47.0
func (m *MsgCommunityPoolSpend) Size() (n int)
func (*MsgCommunityPoolSpend) String ¶ added in v0.47.0
func (m *MsgCommunityPoolSpend) String() string
func (MsgCommunityPoolSpend) Type ¶ added in v0.47.0
func (msg MsgCommunityPoolSpend) Type() string
Type returns the MsgCommunityPoolSpend message type.
func (*MsgCommunityPoolSpend) Unmarshal ¶ added in v0.47.0
func (m *MsgCommunityPoolSpend) Unmarshal(dAtA []byte) error
func (MsgCommunityPoolSpend) ValidateBasic ¶ added in v0.47.0
func (msg MsgCommunityPoolSpend) ValidateBasic() error
ValidateBasic performs basic MsgCommunityPoolSpend message validation.
func (*MsgCommunityPoolSpend) XXX_DiscardUnknown ¶ added in v0.47.0
func (m *MsgCommunityPoolSpend) XXX_DiscardUnknown()
func (*MsgCommunityPoolSpend) XXX_Marshal ¶ added in v0.47.0
func (m *MsgCommunityPoolSpend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCommunityPoolSpend) XXX_Merge ¶ added in v0.47.0
func (m *MsgCommunityPoolSpend) XXX_Merge(src proto.Message)
func (*MsgCommunityPoolSpend) XXX_Size ¶ added in v0.47.0
func (m *MsgCommunityPoolSpend) XXX_Size() int
func (*MsgCommunityPoolSpend) XXX_Unmarshal ¶ added in v0.47.0
func (m *MsgCommunityPoolSpend) XXX_Unmarshal(b []byte) error
type MsgCommunityPoolSpendResponse ¶ added in v0.47.0
type MsgCommunityPoolSpendResponse struct { }
MsgCommunityPoolSpendResponse defines the response to executing a MsgCommunityPoolSpend message.
Since: cosmos-sdk 0.47
func (*MsgCommunityPoolSpendResponse) Descriptor ¶ added in v0.47.0
func (*MsgCommunityPoolSpendResponse) Descriptor() ([]byte, []int)
func (*MsgCommunityPoolSpendResponse) Equal ¶ added in v0.47.0
func (this *MsgCommunityPoolSpendResponse) Equal(that interface{}) bool
func (*MsgCommunityPoolSpendResponse) Marshal ¶ added in v0.47.0
func (m *MsgCommunityPoolSpendResponse) Marshal() (dAtA []byte, err error)
func (*MsgCommunityPoolSpendResponse) MarshalTo ¶ added in v0.47.0
func (m *MsgCommunityPoolSpendResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCommunityPoolSpendResponse) MarshalToSizedBuffer ¶ added in v0.47.0
func (m *MsgCommunityPoolSpendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCommunityPoolSpendResponse) ProtoMessage ¶ added in v0.47.0
func (*MsgCommunityPoolSpendResponse) ProtoMessage()
func (*MsgCommunityPoolSpendResponse) Reset ¶ added in v0.47.0
func (m *MsgCommunityPoolSpendResponse) Reset()
func (*MsgCommunityPoolSpendResponse) Size ¶ added in v0.47.0
func (m *MsgCommunityPoolSpendResponse) Size() (n int)
func (*MsgCommunityPoolSpendResponse) String ¶ added in v0.47.0
func (m *MsgCommunityPoolSpendResponse) String() string
func (*MsgCommunityPoolSpendResponse) Unmarshal ¶ added in v0.47.0
func (m *MsgCommunityPoolSpendResponse) Unmarshal(dAtA []byte) error
func (*MsgCommunityPoolSpendResponse) XXX_DiscardUnknown ¶ added in v0.47.0
func (m *MsgCommunityPoolSpendResponse) XXX_DiscardUnknown()
func (*MsgCommunityPoolSpendResponse) XXX_Marshal ¶ added in v0.47.0
func (m *MsgCommunityPoolSpendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCommunityPoolSpendResponse) XXX_Merge ¶ added in v0.47.0
func (m *MsgCommunityPoolSpendResponse) XXX_Merge(src proto.Message)
func (*MsgCommunityPoolSpendResponse) XXX_Size ¶ added in v0.47.0
func (m *MsgCommunityPoolSpendResponse) XXX_Size() int
func (*MsgCommunityPoolSpendResponse) XXX_Unmarshal ¶ added in v0.47.0
func (m *MsgCommunityPoolSpendResponse) XXX_Unmarshal(b []byte) error
type MsgFundCommunityPool ¶
type MsgFundCommunityPool struct { Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` Depositor string `protobuf:"bytes,2,opt,name=depositor,proto3" json:"depositor,omitempty"` }
MsgFundCommunityPool allows an account to directly fund the community pool.
func NewMsgFundCommunityPool ¶
func NewMsgFundCommunityPool(amount sdk.Coins, depositor sdk.AccAddress) *MsgFundCommunityPool
NewMsgFundCommunityPool returns a new MsgFundCommunityPool with a sender and a funding amount.
func (*MsgFundCommunityPool) Descriptor ¶
func (*MsgFundCommunityPool) Descriptor() ([]byte, []int)
func (MsgFundCommunityPool) GetSignBytes ¶
func (msg MsgFundCommunityPool) GetSignBytes() []byte
GetSignBytes returns the raw bytes for a MsgFundCommunityPool message that the expected signer needs to sign.
func (MsgFundCommunityPool) GetSigners ¶
func (msg MsgFundCommunityPool) GetSigners() []sdk.AccAddress
GetSigners returns the signer addresses that are expected to sign the result of GetSignBytes.
func (*MsgFundCommunityPool) Marshal ¶
func (m *MsgFundCommunityPool) Marshal() (dAtA []byte, err error)
func (*MsgFundCommunityPool) MarshalTo ¶
func (m *MsgFundCommunityPool) MarshalTo(dAtA []byte) (int, error)
func (*MsgFundCommunityPool) MarshalToSizedBuffer ¶
func (m *MsgFundCommunityPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgFundCommunityPool) ProtoMessage ¶
func (*MsgFundCommunityPool) ProtoMessage()
func (*MsgFundCommunityPool) Reset ¶
func (m *MsgFundCommunityPool) Reset()
func (MsgFundCommunityPool) Route ¶
func (msg MsgFundCommunityPool) Route() string
Route returns the MsgFundCommunityPool message route.
func (*MsgFundCommunityPool) Size ¶
func (m *MsgFundCommunityPool) Size() (n int)
func (*MsgFundCommunityPool) String ¶
func (m *MsgFundCommunityPool) String() string
func (MsgFundCommunityPool) Type ¶
func (msg MsgFundCommunityPool) Type() string
Type returns the MsgFundCommunityPool message type.
func (*MsgFundCommunityPool) Unmarshal ¶
func (m *MsgFundCommunityPool) Unmarshal(dAtA []byte) error
func (MsgFundCommunityPool) ValidateBasic ¶
func (msg MsgFundCommunityPool) ValidateBasic() error
ValidateBasic performs basic MsgFundCommunityPool message validation.
func (*MsgFundCommunityPool) XXX_DiscardUnknown ¶
func (m *MsgFundCommunityPool) XXX_DiscardUnknown()
func (*MsgFundCommunityPool) XXX_Marshal ¶
func (m *MsgFundCommunityPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgFundCommunityPool) XXX_Merge ¶
func (m *MsgFundCommunityPool) XXX_Merge(src proto.Message)
func (*MsgFundCommunityPool) XXX_Size ¶
func (m *MsgFundCommunityPool) XXX_Size() int
func (*MsgFundCommunityPool) XXX_Unmarshal ¶
func (m *MsgFundCommunityPool) XXX_Unmarshal(b []byte) error
type MsgFundCommunityPoolResponse ¶ added in v0.40.0
type MsgFundCommunityPoolResponse struct { }
MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type.
func (*MsgFundCommunityPoolResponse) Descriptor ¶ added in v0.40.0
func (*MsgFundCommunityPoolResponse) Descriptor() ([]byte, []int)
func (*MsgFundCommunityPoolResponse) Equal ¶ added in v0.40.0
func (this *MsgFundCommunityPoolResponse) Equal(that interface{}) bool
func (*MsgFundCommunityPoolResponse) Marshal ¶ added in v0.40.0
func (m *MsgFundCommunityPoolResponse) Marshal() (dAtA []byte, err error)
func (*MsgFundCommunityPoolResponse) MarshalTo ¶ added in v0.40.0
func (m *MsgFundCommunityPoolResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgFundCommunityPoolResponse) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *MsgFundCommunityPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgFundCommunityPoolResponse) ProtoMessage ¶ added in v0.40.0
func (*MsgFundCommunityPoolResponse) ProtoMessage()
func (*MsgFundCommunityPoolResponse) Reset ¶ added in v0.40.0
func (m *MsgFundCommunityPoolResponse) Reset()
func (*MsgFundCommunityPoolResponse) Size ¶ added in v0.40.0
func (m *MsgFundCommunityPoolResponse) Size() (n int)
func (*MsgFundCommunityPoolResponse) String ¶ added in v0.40.0
func (m *MsgFundCommunityPoolResponse) String() string
func (*MsgFundCommunityPoolResponse) Unmarshal ¶ added in v0.40.0
func (m *MsgFundCommunityPoolResponse) Unmarshal(dAtA []byte) error
func (*MsgFundCommunityPoolResponse) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *MsgFundCommunityPoolResponse) XXX_DiscardUnknown()
func (*MsgFundCommunityPoolResponse) XXX_Marshal ¶ added in v0.40.0
func (m *MsgFundCommunityPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgFundCommunityPoolResponse) XXX_Merge ¶ added in v0.40.0
func (m *MsgFundCommunityPoolResponse) XXX_Merge(src proto.Message)
func (*MsgFundCommunityPoolResponse) XXX_Size ¶ added in v0.40.0
func (m *MsgFundCommunityPoolResponse) XXX_Size() int
func (*MsgFundCommunityPoolResponse) XXX_Unmarshal ¶ added in v0.40.0
func (m *MsgFundCommunityPoolResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶ added in v0.40.0
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) }
MsgServer is the server API for Msg service.
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"` }
MsgSetWithdrawAddress sets the withdraw address for a delegator (or validator self-delegation).
func NewMsgSetWithdrawAddress ¶
func NewMsgSetWithdrawAddress(delAddr, withdrawAddr sdk.AccAddress) *MsgSetWithdrawAddress
func (*MsgSetWithdrawAddress) Descriptor ¶
func (*MsgSetWithdrawAddress) Descriptor() ([]byte, []int)
func (MsgSetWithdrawAddress) GetSignBytes ¶
func (msg MsgSetWithdrawAddress) GetSignBytes() []byte
get the bytes for the message signer to sign on
func (MsgSetWithdrawAddress) GetSigners ¶
func (msg MsgSetWithdrawAddress) GetSigners() []sdk.AccAddress
Return address that must sign over msg.GetSignBytes()
func (*MsgSetWithdrawAddress) Marshal ¶
func (m *MsgSetWithdrawAddress) Marshal() (dAtA []byte, err error)
func (*MsgSetWithdrawAddress) MarshalTo ¶
func (m *MsgSetWithdrawAddress) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetWithdrawAddress) MarshalToSizedBuffer ¶
func (m *MsgSetWithdrawAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetWithdrawAddress) ProtoMessage ¶
func (*MsgSetWithdrawAddress) ProtoMessage()
func (*MsgSetWithdrawAddress) Reset ¶
func (m *MsgSetWithdrawAddress) Reset()
func (MsgSetWithdrawAddress) Route ¶
func (msg MsgSetWithdrawAddress) Route() string
func (*MsgSetWithdrawAddress) Size ¶
func (m *MsgSetWithdrawAddress) Size() (n int)
func (*MsgSetWithdrawAddress) String ¶
func (m *MsgSetWithdrawAddress) String() string
func (MsgSetWithdrawAddress) Type ¶
func (msg MsgSetWithdrawAddress) Type() string
func (*MsgSetWithdrawAddress) Unmarshal ¶
func (m *MsgSetWithdrawAddress) Unmarshal(dAtA []byte) error
func (MsgSetWithdrawAddress) ValidateBasic ¶
func (msg MsgSetWithdrawAddress) ValidateBasic() error
quick validity check
func (*MsgSetWithdrawAddress) XXX_DiscardUnknown ¶
func (m *MsgSetWithdrawAddress) XXX_DiscardUnknown()
func (*MsgSetWithdrawAddress) XXX_Marshal ¶
func (m *MsgSetWithdrawAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetWithdrawAddress) XXX_Merge ¶
func (m *MsgSetWithdrawAddress) XXX_Merge(src proto.Message)
func (*MsgSetWithdrawAddress) XXX_Size ¶
func (m *MsgSetWithdrawAddress) XXX_Size() int
func (*MsgSetWithdrawAddress) XXX_Unmarshal ¶
func (m *MsgSetWithdrawAddress) XXX_Unmarshal(b []byte) error
type MsgSetWithdrawAddressResponse ¶ added in v0.40.0
type MsgSetWithdrawAddressResponse struct { }
MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type.
func (*MsgSetWithdrawAddressResponse) Descriptor ¶ added in v0.40.0
func (*MsgSetWithdrawAddressResponse) Descriptor() ([]byte, []int)
func (*MsgSetWithdrawAddressResponse) Equal ¶ added in v0.40.0
func (this *MsgSetWithdrawAddressResponse) Equal(that interface{}) bool
func (*MsgSetWithdrawAddressResponse) Marshal ¶ added in v0.40.0
func (m *MsgSetWithdrawAddressResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetWithdrawAddressResponse) MarshalTo ¶ added in v0.40.0
func (m *MsgSetWithdrawAddressResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetWithdrawAddressResponse) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *MsgSetWithdrawAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetWithdrawAddressResponse) ProtoMessage ¶ added in v0.40.0
func (*MsgSetWithdrawAddressResponse) ProtoMessage()
func (*MsgSetWithdrawAddressResponse) Reset ¶ added in v0.40.0
func (m *MsgSetWithdrawAddressResponse) Reset()
func (*MsgSetWithdrawAddressResponse) Size ¶ added in v0.40.0
func (m *MsgSetWithdrawAddressResponse) Size() (n int)
func (*MsgSetWithdrawAddressResponse) String ¶ added in v0.40.0
func (m *MsgSetWithdrawAddressResponse) String() string
func (*MsgSetWithdrawAddressResponse) Unmarshal ¶ added in v0.40.0
func (m *MsgSetWithdrawAddressResponse) Unmarshal(dAtA []byte) error
func (*MsgSetWithdrawAddressResponse) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *MsgSetWithdrawAddressResponse) XXX_DiscardUnknown()
func (*MsgSetWithdrawAddressResponse) XXX_Marshal ¶ added in v0.40.0
func (m *MsgSetWithdrawAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetWithdrawAddressResponse) XXX_Merge ¶ added in v0.40.0
func (m *MsgSetWithdrawAddressResponse) XXX_Merge(src proto.Message)
func (*MsgSetWithdrawAddressResponse) XXX_Size ¶ added in v0.40.0
func (m *MsgSetWithdrawAddressResponse) XXX_Size() int
func (*MsgSetWithdrawAddressResponse) XXX_Unmarshal ¶ added in v0.40.0
func (m *MsgSetWithdrawAddressResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶ added in v0.47.0
type MsgUpdateParams struct { // authority is the address that controls the module (defaults to x/gov unless overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the x/distribution parameters to update. // // NOTE: All parameters must be supplied. Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
MsgUpdateParams is the Msg/UpdateParams request type.
Since: cosmos-sdk 0.47
func (*MsgUpdateParams) Descriptor ¶ added in v0.47.0
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) Equal ¶ added in v0.47.0
func (this *MsgUpdateParams) Equal(that interface{}) bool
func (*MsgUpdateParams) GetAuthority ¶ added in v0.47.0
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶ added in v0.47.0
func (m *MsgUpdateParams) GetParams() Params
func (MsgUpdateParams) GetSignBytes ¶ added in v0.47.0
func (msg MsgUpdateParams) GetSignBytes() []byte
GetSignBytes returns the raw bytes for a MsgUpdateParams message that the expected signer needs to sign.
func (MsgUpdateParams) GetSigners ¶ added in v0.47.0
func (msg MsgUpdateParams) GetSigners() []sdk.AccAddress
GetSigners returns the signer addresses that are expected to sign the result of GetSignBytes.
func (*MsgUpdateParams) Marshal ¶ added in v0.47.0
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalTo ¶ added in v0.47.0
func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶ added in v0.47.0
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶ added in v0.47.0
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶ added in v0.47.0
func (m *MsgUpdateParams) Reset()
func (MsgUpdateParams) Route ¶ added in v0.47.0
func (msg MsgUpdateParams) Route() string
Route returns the MsgUpdateParams message route.
func (*MsgUpdateParams) Size ¶ added in v0.47.0
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶ added in v0.47.0
func (m *MsgUpdateParams) String() string
func (MsgUpdateParams) Type ¶ added in v0.47.0
func (msg MsgUpdateParams) Type() string
Type returns the MsgUpdateParams message type.
func (*MsgUpdateParams) Unmarshal ¶ added in v0.47.0
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (MsgUpdateParams) ValidateBasic ¶ added in v0.47.0
func (msg MsgUpdateParams) ValidateBasic() error
ValidateBasic performs basic MsgUpdateParams message validation.
func (*MsgUpdateParams) XXX_DiscardUnknown ¶ added in v0.47.0
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶ added in v0.47.0
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶ added in v0.47.0
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶ added in v0.47.0
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶ added in v0.47.0
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶ added in v0.47.0
type MsgUpdateParamsResponse struct { }
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
Since: cosmos-sdk 0.47
func (*MsgUpdateParamsResponse) Descriptor ¶ added in v0.47.0
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Equal ¶ added in v0.47.0
func (this *MsgUpdateParamsResponse) Equal(that interface{}) bool
func (*MsgUpdateParamsResponse) Marshal ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶ added in v0.47.0
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
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"` }
MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator from a single validator.
func NewMsgWithdrawDelegatorReward ¶
func NewMsgWithdrawDelegatorReward(delAddr sdk.AccAddress, valAddr sdk.ValAddress) *MsgWithdrawDelegatorReward
func (*MsgWithdrawDelegatorReward) Descriptor ¶
func (*MsgWithdrawDelegatorReward) Descriptor() ([]byte, []int)
func (MsgWithdrawDelegatorReward) GetSignBytes ¶
func (msg MsgWithdrawDelegatorReward) GetSignBytes() []byte
get the bytes for the message signer to sign on
func (MsgWithdrawDelegatorReward) GetSigners ¶
func (msg MsgWithdrawDelegatorReward) GetSigners() []sdk.AccAddress
Return address that must sign over msg.GetSignBytes()
func (*MsgWithdrawDelegatorReward) Marshal ¶
func (m *MsgWithdrawDelegatorReward) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawDelegatorReward) MarshalTo ¶
func (m *MsgWithdrawDelegatorReward) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawDelegatorReward) MarshalToSizedBuffer ¶
func (m *MsgWithdrawDelegatorReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawDelegatorReward) ProtoMessage ¶
func (*MsgWithdrawDelegatorReward) ProtoMessage()
func (*MsgWithdrawDelegatorReward) Reset ¶
func (m *MsgWithdrawDelegatorReward) Reset()
func (MsgWithdrawDelegatorReward) Route ¶
func (msg MsgWithdrawDelegatorReward) Route() string
func (*MsgWithdrawDelegatorReward) Size ¶
func (m *MsgWithdrawDelegatorReward) Size() (n int)
func (*MsgWithdrawDelegatorReward) String ¶
func (m *MsgWithdrawDelegatorReward) String() string
func (MsgWithdrawDelegatorReward) Type ¶
func (msg MsgWithdrawDelegatorReward) Type() string
func (*MsgWithdrawDelegatorReward) Unmarshal ¶
func (m *MsgWithdrawDelegatorReward) Unmarshal(dAtA []byte) error
func (MsgWithdrawDelegatorReward) ValidateBasic ¶
func (msg MsgWithdrawDelegatorReward) ValidateBasic() error
quick validity check
func (*MsgWithdrawDelegatorReward) XXX_DiscardUnknown ¶
func (m *MsgWithdrawDelegatorReward) XXX_DiscardUnknown()
func (*MsgWithdrawDelegatorReward) XXX_Marshal ¶
func (m *MsgWithdrawDelegatorReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawDelegatorReward) XXX_Merge ¶
func (m *MsgWithdrawDelegatorReward) XXX_Merge(src proto.Message)
func (*MsgWithdrawDelegatorReward) XXX_Size ¶
func (m *MsgWithdrawDelegatorReward) XXX_Size() int
func (*MsgWithdrawDelegatorReward) XXX_Unmarshal ¶
func (m *MsgWithdrawDelegatorReward) XXX_Unmarshal(b []byte) error
type MsgWithdrawDelegatorRewardResponse ¶ added in v0.40.0
type MsgWithdrawDelegatorRewardResponse struct { // Since: cosmos-sdk 0.46 Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` }
MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type.
func (*MsgWithdrawDelegatorRewardResponse) Descriptor ¶ added in v0.40.0
func (*MsgWithdrawDelegatorRewardResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawDelegatorRewardResponse) Equal ¶ added in v0.40.0
func (this *MsgWithdrawDelegatorRewardResponse) Equal(that interface{}) bool
func (*MsgWithdrawDelegatorRewardResponse) GetAmount ¶ added in v0.46.0
func (m *MsgWithdrawDelegatorRewardResponse) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgWithdrawDelegatorRewardResponse) Marshal ¶ added in v0.40.0
func (m *MsgWithdrawDelegatorRewardResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawDelegatorRewardResponse) MarshalTo ¶ added in v0.40.0
func (m *MsgWithdrawDelegatorRewardResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawDelegatorRewardResponse) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *MsgWithdrawDelegatorRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawDelegatorRewardResponse) ProtoMessage ¶ added in v0.40.0
func (*MsgWithdrawDelegatorRewardResponse) ProtoMessage()
func (*MsgWithdrawDelegatorRewardResponse) Reset ¶ added in v0.40.0
func (m *MsgWithdrawDelegatorRewardResponse) Reset()
func (*MsgWithdrawDelegatorRewardResponse) Size ¶ added in v0.40.0
func (m *MsgWithdrawDelegatorRewardResponse) Size() (n int)
func (*MsgWithdrawDelegatorRewardResponse) String ¶ added in v0.40.0
func (m *MsgWithdrawDelegatorRewardResponse) String() string
func (*MsgWithdrawDelegatorRewardResponse) Unmarshal ¶ added in v0.40.0
func (m *MsgWithdrawDelegatorRewardResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawDelegatorRewardResponse) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *MsgWithdrawDelegatorRewardResponse) XXX_DiscardUnknown()
func (*MsgWithdrawDelegatorRewardResponse) XXX_Marshal ¶ added in v0.40.0
func (m *MsgWithdrawDelegatorRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawDelegatorRewardResponse) XXX_Merge ¶ added in v0.40.0
func (m *MsgWithdrawDelegatorRewardResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawDelegatorRewardResponse) XXX_Size ¶ added in v0.40.0
func (m *MsgWithdrawDelegatorRewardResponse) XXX_Size() int
func (*MsgWithdrawDelegatorRewardResponse) XXX_Unmarshal ¶ added in v0.40.0
func (m *MsgWithdrawDelegatorRewardResponse) XXX_Unmarshal(b []byte) error
type MsgWithdrawValidatorCommission ¶
type MsgWithdrawValidatorCommission struct {
ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
}
MsgWithdrawValidatorCommission withdraws the full commission to the validator address.
func NewMsgWithdrawValidatorCommission ¶
func NewMsgWithdrawValidatorCommission(valAddr sdk.ValAddress) *MsgWithdrawValidatorCommission
func (*MsgWithdrawValidatorCommission) Descriptor ¶
func (*MsgWithdrawValidatorCommission) Descriptor() ([]byte, []int)
func (MsgWithdrawValidatorCommission) GetSignBytes ¶
func (msg MsgWithdrawValidatorCommission) GetSignBytes() []byte
get the bytes for the message signer to sign on
func (MsgWithdrawValidatorCommission) GetSigners ¶
func (msg MsgWithdrawValidatorCommission) GetSigners() []sdk.AccAddress
Return address that must sign over msg.GetSignBytes()
func (*MsgWithdrawValidatorCommission) Marshal ¶
func (m *MsgWithdrawValidatorCommission) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawValidatorCommission) MarshalTo ¶
func (m *MsgWithdrawValidatorCommission) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawValidatorCommission) MarshalToSizedBuffer ¶
func (m *MsgWithdrawValidatorCommission) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawValidatorCommission) ProtoMessage ¶
func (*MsgWithdrawValidatorCommission) ProtoMessage()
func (*MsgWithdrawValidatorCommission) Reset ¶
func (m *MsgWithdrawValidatorCommission) Reset()
func (MsgWithdrawValidatorCommission) Route ¶
func (msg MsgWithdrawValidatorCommission) Route() string
func (*MsgWithdrawValidatorCommission) Size ¶
func (m *MsgWithdrawValidatorCommission) Size() (n int)
func (*MsgWithdrawValidatorCommission) String ¶
func (m *MsgWithdrawValidatorCommission) String() string
func (MsgWithdrawValidatorCommission) Type ¶
func (msg MsgWithdrawValidatorCommission) Type() string
func (*MsgWithdrawValidatorCommission) Unmarshal ¶
func (m *MsgWithdrawValidatorCommission) Unmarshal(dAtA []byte) error
func (MsgWithdrawValidatorCommission) ValidateBasic ¶
func (msg MsgWithdrawValidatorCommission) ValidateBasic() error
quick validity check
func (*MsgWithdrawValidatorCommission) XXX_DiscardUnknown ¶
func (m *MsgWithdrawValidatorCommission) XXX_DiscardUnknown()
func (*MsgWithdrawValidatorCommission) XXX_Marshal ¶
func (m *MsgWithdrawValidatorCommission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawValidatorCommission) XXX_Merge ¶
func (m *MsgWithdrawValidatorCommission) XXX_Merge(src proto.Message)
func (*MsgWithdrawValidatorCommission) XXX_Size ¶
func (m *MsgWithdrawValidatorCommission) XXX_Size() int
func (*MsgWithdrawValidatorCommission) XXX_Unmarshal ¶
func (m *MsgWithdrawValidatorCommission) XXX_Unmarshal(b []byte) error
type MsgWithdrawValidatorCommissionResponse ¶ added in v0.40.0
type MsgWithdrawValidatorCommissionResponse struct { // Since: cosmos-sdk 0.46 Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` }
MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type.
func (*MsgWithdrawValidatorCommissionResponse) Descriptor ¶ added in v0.40.0
func (*MsgWithdrawValidatorCommissionResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawValidatorCommissionResponse) Equal ¶ added in v0.40.0
func (this *MsgWithdrawValidatorCommissionResponse) Equal(that interface{}) bool
func (*MsgWithdrawValidatorCommissionResponse) GetAmount ¶ added in v0.46.0
func (m *MsgWithdrawValidatorCommissionResponse) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgWithdrawValidatorCommissionResponse) Marshal ¶ added in v0.40.0
func (m *MsgWithdrawValidatorCommissionResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawValidatorCommissionResponse) MarshalTo ¶ added in v0.40.0
func (m *MsgWithdrawValidatorCommissionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawValidatorCommissionResponse) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *MsgWithdrawValidatorCommissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawValidatorCommissionResponse) ProtoMessage ¶ added in v0.40.0
func (*MsgWithdrawValidatorCommissionResponse) ProtoMessage()
func (*MsgWithdrawValidatorCommissionResponse) Reset ¶ added in v0.40.0
func (m *MsgWithdrawValidatorCommissionResponse) Reset()
func (*MsgWithdrawValidatorCommissionResponse) Size ¶ added in v0.40.0
func (m *MsgWithdrawValidatorCommissionResponse) Size() (n int)
func (*MsgWithdrawValidatorCommissionResponse) String ¶ added in v0.40.0
func (m *MsgWithdrawValidatorCommissionResponse) String() string
func (*MsgWithdrawValidatorCommissionResponse) Unmarshal ¶ added in v0.40.0
func (m *MsgWithdrawValidatorCommissionResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawValidatorCommissionResponse) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *MsgWithdrawValidatorCommissionResponse) XXX_DiscardUnknown()
func (*MsgWithdrawValidatorCommissionResponse) XXX_Marshal ¶ added in v0.40.0
func (m *MsgWithdrawValidatorCommissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawValidatorCommissionResponse) XXX_Merge ¶ added in v0.40.0
func (m *MsgWithdrawValidatorCommissionResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawValidatorCommissionResponse) XXX_Size ¶ added in v0.40.0
func (m *MsgWithdrawValidatorCommissionResponse) XXX_Size() int
func (*MsgWithdrawValidatorCommissionResponse) XXX_Unmarshal ¶ added in v0.40.0
func (m *MsgWithdrawValidatorCommissionResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { CommunityTax github_com_cosmos_cosmos_sdk_types.Dec `` /* 137-byte string literal not displayed */ // Deprecated: The base_proposer_reward field is deprecated and is no longer used // in the x/distribution module's reward mechanism. BaseProposerReward github_com_cosmos_cosmos_sdk_types.Dec `` // Deprecated: Do not use. /* 157-byte string literal not displayed */ // Deprecated: The bonus_proposer_reward field is deprecated and is no longer used // in the x/distribution module's reward mechanism. BonusProposerReward github_com_cosmos_cosmos_sdk_types.Dec `` // Deprecated: Do not use. /* 160-byte string literal not displayed */ WithdrawAddrEnabled bool `protobuf:"varint,4,opt,name=withdraw_addr_enabled,json=withdrawAddrEnabled,proto3" json:"withdraw_addr_enabled,omitempty"` }
Params defines the set of params for the distribution module.
func DefaultParams ¶
func DefaultParams() Params
DefaultParams returns default distribution parameters
func (*Params) Descriptor ¶
func (*Params) GetWithdrawAddrEnabled ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs
deprecated
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
Deprecated: ParamSetPairs returns the parameter set pairs.
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (Params) ValidateBasic ¶
ValidateBasic performs basic validation on distribution parameters.
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClient ¶ added in v0.40.0
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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶ added in v0.40.0
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryCommunityPoolRequest ¶ added in v0.40.0
type QueryCommunityPoolRequest struct { }
QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC method.
func (*QueryCommunityPoolRequest) Descriptor ¶ added in v0.40.0
func (*QueryCommunityPoolRequest) Descriptor() ([]byte, []int)
func (*QueryCommunityPoolRequest) Marshal ¶ added in v0.40.0
func (m *QueryCommunityPoolRequest) Marshal() (dAtA []byte, err error)
func (*QueryCommunityPoolRequest) MarshalTo ¶ added in v0.40.0
func (m *QueryCommunityPoolRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCommunityPoolRequest) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryCommunityPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCommunityPoolRequest) ProtoMessage ¶ added in v0.40.0
func (*QueryCommunityPoolRequest) ProtoMessage()
func (*QueryCommunityPoolRequest) Reset ¶ added in v0.40.0
func (m *QueryCommunityPoolRequest) Reset()
func (*QueryCommunityPoolRequest) Size ¶ added in v0.40.0
func (m *QueryCommunityPoolRequest) Size() (n int)
func (*QueryCommunityPoolRequest) String ¶ added in v0.40.0
func (m *QueryCommunityPoolRequest) String() string
func (*QueryCommunityPoolRequest) Unmarshal ¶ added in v0.40.0
func (m *QueryCommunityPoolRequest) Unmarshal(dAtA []byte) error
func (*QueryCommunityPoolRequest) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryCommunityPoolRequest) XXX_DiscardUnknown()
func (*QueryCommunityPoolRequest) XXX_Marshal ¶ added in v0.40.0
func (m *QueryCommunityPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCommunityPoolRequest) XXX_Merge ¶ added in v0.40.0
func (m *QueryCommunityPoolRequest) XXX_Merge(src proto.Message)
func (*QueryCommunityPoolRequest) XXX_Size ¶ added in v0.40.0
func (m *QueryCommunityPoolRequest) XXX_Size() int
func (*QueryCommunityPoolRequest) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryCommunityPoolRequest) XXX_Unmarshal(b []byte) error
type QueryCommunityPoolResponse ¶ added in v0.40.0
type QueryCommunityPoolResponse struct { // pool defines community pool's coins. Pool github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=pool,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"pool"` }
QueryCommunityPoolResponse is the response type for the Query/CommunityPool RPC method.
func (*QueryCommunityPoolResponse) Descriptor ¶ added in v0.40.0
func (*QueryCommunityPoolResponse) Descriptor() ([]byte, []int)
func (*QueryCommunityPoolResponse) GetPool ¶ added in v0.40.0
func (m *QueryCommunityPoolResponse) GetPool() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*QueryCommunityPoolResponse) Marshal ¶ added in v0.40.0
func (m *QueryCommunityPoolResponse) Marshal() (dAtA []byte, err error)
func (*QueryCommunityPoolResponse) MarshalTo ¶ added in v0.40.0
func (m *QueryCommunityPoolResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCommunityPoolResponse) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryCommunityPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCommunityPoolResponse) ProtoMessage ¶ added in v0.40.0
func (*QueryCommunityPoolResponse) ProtoMessage()
func (*QueryCommunityPoolResponse) Reset ¶ added in v0.40.0
func (m *QueryCommunityPoolResponse) Reset()
func (*QueryCommunityPoolResponse) Size ¶ added in v0.40.0
func (m *QueryCommunityPoolResponse) Size() (n int)
func (*QueryCommunityPoolResponse) String ¶ added in v0.40.0
func (m *QueryCommunityPoolResponse) String() string
func (*QueryCommunityPoolResponse) Unmarshal ¶ added in v0.40.0
func (m *QueryCommunityPoolResponse) Unmarshal(dAtA []byte) error
func (*QueryCommunityPoolResponse) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryCommunityPoolResponse) XXX_DiscardUnknown()
func (*QueryCommunityPoolResponse) XXX_Marshal ¶ added in v0.40.0
func (m *QueryCommunityPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCommunityPoolResponse) XXX_Merge ¶ added in v0.40.0
func (m *QueryCommunityPoolResponse) XXX_Merge(src proto.Message)
func (*QueryCommunityPoolResponse) XXX_Size ¶ added in v0.40.0
func (m *QueryCommunityPoolResponse) XXX_Size() int
func (*QueryCommunityPoolResponse) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryCommunityPoolResponse) XXX_Unmarshal(b []byte) error
type QueryDelegationRewardsParams ¶
type QueryDelegationRewardsParams struct { DelegatorAddress sdk.AccAddress `json:"delegator_address" yaml:"delegator_address"` ValidatorAddress sdk.ValAddress `json:"validator_address" yaml:"validator_address"` }
params for query 'custom/distr/delegation_rewards'
func NewQueryDelegationRewardsParams ¶
func NewQueryDelegationRewardsParams(delegatorAddr sdk.AccAddress, validatorAddr sdk.ValAddress) QueryDelegationRewardsParams
creates a new instance of QueryDelegationRewardsParams
type QueryDelegationRewardsRequest ¶ added in v0.40.0
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"` }
QueryDelegationRewardsRequest is the request type for the Query/DelegationRewards RPC method.
func (*QueryDelegationRewardsRequest) Descriptor ¶ added in v0.40.0
func (*QueryDelegationRewardsRequest) Descriptor() ([]byte, []int)
func (*QueryDelegationRewardsRequest) Marshal ¶ added in v0.40.0
func (m *QueryDelegationRewardsRequest) Marshal() (dAtA []byte, err error)
func (*QueryDelegationRewardsRequest) MarshalTo ¶ added in v0.40.0
func (m *QueryDelegationRewardsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDelegationRewardsRequest) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryDelegationRewardsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDelegationRewardsRequest) ProtoMessage ¶ added in v0.40.0
func (*QueryDelegationRewardsRequest) ProtoMessage()
func (*QueryDelegationRewardsRequest) Reset ¶ added in v0.40.0
func (m *QueryDelegationRewardsRequest) Reset()
func (*QueryDelegationRewardsRequest) Size ¶ added in v0.40.0
func (m *QueryDelegationRewardsRequest) Size() (n int)
func (*QueryDelegationRewardsRequest) String ¶ added in v0.40.0
func (m *QueryDelegationRewardsRequest) String() string
func (*QueryDelegationRewardsRequest) Unmarshal ¶ added in v0.40.0
func (m *QueryDelegationRewardsRequest) Unmarshal(dAtA []byte) error
func (*QueryDelegationRewardsRequest) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryDelegationRewardsRequest) XXX_DiscardUnknown()
func (*QueryDelegationRewardsRequest) XXX_Marshal ¶ added in v0.40.0
func (m *QueryDelegationRewardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDelegationRewardsRequest) XXX_Merge ¶ added in v0.40.0
func (m *QueryDelegationRewardsRequest) XXX_Merge(src proto.Message)
func (*QueryDelegationRewardsRequest) XXX_Size ¶ added in v0.40.0
func (m *QueryDelegationRewardsRequest) XXX_Size() int
func (*QueryDelegationRewardsRequest) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryDelegationRewardsRequest) XXX_Unmarshal(b []byte) error
type QueryDelegationRewardsResponse ¶ added in v0.40.0
type QueryDelegationRewardsResponse struct { // rewards defines the rewards accrued by a delegation. Rewards github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=rewards,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"rewards"` }
QueryDelegationRewardsResponse is the response type for the Query/DelegationRewards RPC method.
func (*QueryDelegationRewardsResponse) Descriptor ¶ added in v0.40.0
func (*QueryDelegationRewardsResponse) Descriptor() ([]byte, []int)
func (*QueryDelegationRewardsResponse) GetRewards ¶ added in v0.40.0
func (m *QueryDelegationRewardsResponse) GetRewards() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*QueryDelegationRewardsResponse) Marshal ¶ added in v0.40.0
func (m *QueryDelegationRewardsResponse) Marshal() (dAtA []byte, err error)
func (*QueryDelegationRewardsResponse) MarshalTo ¶ added in v0.40.0
func (m *QueryDelegationRewardsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDelegationRewardsResponse) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryDelegationRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDelegationRewardsResponse) ProtoMessage ¶ added in v0.40.0
func (*QueryDelegationRewardsResponse) ProtoMessage()
func (*QueryDelegationRewardsResponse) Reset ¶ added in v0.40.0
func (m *QueryDelegationRewardsResponse) Reset()
func (*QueryDelegationRewardsResponse) Size ¶ added in v0.40.0
func (m *QueryDelegationRewardsResponse) Size() (n int)
func (*QueryDelegationRewardsResponse) String ¶ added in v0.40.0
func (m *QueryDelegationRewardsResponse) String() string
func (*QueryDelegationRewardsResponse) Unmarshal ¶ added in v0.40.0
func (m *QueryDelegationRewardsResponse) Unmarshal(dAtA []byte) error
func (*QueryDelegationRewardsResponse) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryDelegationRewardsResponse) XXX_DiscardUnknown()
func (*QueryDelegationRewardsResponse) XXX_Marshal ¶ added in v0.40.0
func (m *QueryDelegationRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDelegationRewardsResponse) XXX_Merge ¶ added in v0.40.0
func (m *QueryDelegationRewardsResponse) XXX_Merge(src proto.Message)
func (*QueryDelegationRewardsResponse) XXX_Size ¶ added in v0.40.0
func (m *QueryDelegationRewardsResponse) XXX_Size() int
func (*QueryDelegationRewardsResponse) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryDelegationRewardsResponse) XXX_Unmarshal(b []byte) error
type QueryDelegationTotalRewardsRequest ¶ added in v0.40.0
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"` }
QueryDelegationTotalRewardsRequest is the request type for the Query/DelegationTotalRewards RPC method.
func (*QueryDelegationTotalRewardsRequest) Descriptor ¶ added in v0.40.0
func (*QueryDelegationTotalRewardsRequest) Descriptor() ([]byte, []int)
func (*QueryDelegationTotalRewardsRequest) Marshal ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsRequest) Marshal() (dAtA []byte, err error)
func (*QueryDelegationTotalRewardsRequest) MarshalTo ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDelegationTotalRewardsRequest) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDelegationTotalRewardsRequest) ProtoMessage ¶ added in v0.40.0
func (*QueryDelegationTotalRewardsRequest) ProtoMessage()
func (*QueryDelegationTotalRewardsRequest) Reset ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsRequest) Reset()
func (*QueryDelegationTotalRewardsRequest) Size ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsRequest) Size() (n int)
func (*QueryDelegationTotalRewardsRequest) String ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsRequest) String() string
func (*QueryDelegationTotalRewardsRequest) Unmarshal ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsRequest) Unmarshal(dAtA []byte) error
func (*QueryDelegationTotalRewardsRequest) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsRequest) XXX_DiscardUnknown()
func (*QueryDelegationTotalRewardsRequest) XXX_Marshal ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDelegationTotalRewardsRequest) XXX_Merge ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsRequest) XXX_Merge(src proto.Message)
func (*QueryDelegationTotalRewardsRequest) XXX_Size ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsRequest) XXX_Size() int
func (*QueryDelegationTotalRewardsRequest) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsRequest) XXX_Unmarshal(b []byte) error
type QueryDelegationTotalRewardsResponse ¶ added in v0.40.0
type QueryDelegationTotalRewardsResponse struct { // rewards defines all the rewards accrued by a delegator. Rewards []DelegationDelegatorReward `protobuf:"bytes,1,rep,name=rewards,proto3" json:"rewards"` // total defines the sum of all the rewards. Total github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,2,rep,name=total,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"total"` }
QueryDelegationTotalRewardsResponse is the response type for the Query/DelegationTotalRewards RPC method.
func (*QueryDelegationTotalRewardsResponse) Descriptor ¶ added in v0.40.0
func (*QueryDelegationTotalRewardsResponse) Descriptor() ([]byte, []int)
func (*QueryDelegationTotalRewardsResponse) GetRewards ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsResponse) GetRewards() []DelegationDelegatorReward
func (*QueryDelegationTotalRewardsResponse) GetTotal ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsResponse) GetTotal() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*QueryDelegationTotalRewardsResponse) Marshal ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsResponse) Marshal() (dAtA []byte, err error)
func (*QueryDelegationTotalRewardsResponse) MarshalTo ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDelegationTotalRewardsResponse) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDelegationTotalRewardsResponse) ProtoMessage ¶ added in v0.40.0
func (*QueryDelegationTotalRewardsResponse) ProtoMessage()
func (*QueryDelegationTotalRewardsResponse) Reset ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsResponse) Reset()
func (*QueryDelegationTotalRewardsResponse) Size ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsResponse) Size() (n int)
func (*QueryDelegationTotalRewardsResponse) String ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsResponse) String() string
func (*QueryDelegationTotalRewardsResponse) Unmarshal ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsResponse) Unmarshal(dAtA []byte) error
func (*QueryDelegationTotalRewardsResponse) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsResponse) XXX_DiscardUnknown()
func (*QueryDelegationTotalRewardsResponse) XXX_Marshal ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDelegationTotalRewardsResponse) XXX_Merge ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsResponse) XXX_Merge(src proto.Message)
func (*QueryDelegationTotalRewardsResponse) XXX_Size ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsResponse) XXX_Size() int
func (*QueryDelegationTotalRewardsResponse) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryDelegationTotalRewardsResponse) XXX_Unmarshal(b []byte) error
type QueryDelegatorParams ¶
type QueryDelegatorParams struct {
DelegatorAddress sdk.AccAddress `json:"delegator_address" yaml:"delegator_address"`
}
params for query 'custom/distr/delegator_total_rewards' and 'custom/distr/delegator_validators'
func NewQueryDelegatorParams ¶
func NewQueryDelegatorParams(delegatorAddr sdk.AccAddress) QueryDelegatorParams
creates a new instance of QueryDelegationRewardsParams
type QueryDelegatorTotalRewardsResponse ¶
type QueryDelegatorTotalRewardsResponse struct { Rewards []DelegationDelegatorReward `json:"rewards" yaml:"rewards"` Total sdk.DecCoins `json:"total" yaml:"total"` }
QueryDelegatorTotalRewardsResponse defines the properties of QueryDelegatorTotalRewards query's response.
func NewQueryDelegatorTotalRewardsResponse ¶
func NewQueryDelegatorTotalRewardsResponse(rewards []DelegationDelegatorReward, total sdk.DecCoins) QueryDelegatorTotalRewardsResponse
NewQueryDelegatorTotalRewardsResponse constructs a QueryDelegatorTotalRewardsResponse
func (QueryDelegatorTotalRewardsResponse) String ¶
func (res QueryDelegatorTotalRewardsResponse) String() string
type QueryDelegatorValidatorsRequest ¶ added in v0.40.0
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"` }
QueryDelegatorValidatorsRequest is the request type for the Query/DelegatorValidators RPC method.
func (*QueryDelegatorValidatorsRequest) Descriptor ¶ added in v0.40.0
func (*QueryDelegatorValidatorsRequest) Descriptor() ([]byte, []int)
func (*QueryDelegatorValidatorsRequest) Marshal ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsRequest) Marshal() (dAtA []byte, err error)
func (*QueryDelegatorValidatorsRequest) MarshalTo ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDelegatorValidatorsRequest) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDelegatorValidatorsRequest) ProtoMessage ¶ added in v0.40.0
func (*QueryDelegatorValidatorsRequest) ProtoMessage()
func (*QueryDelegatorValidatorsRequest) Reset ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsRequest) Reset()
func (*QueryDelegatorValidatorsRequest) Size ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsRequest) Size() (n int)
func (*QueryDelegatorValidatorsRequest) String ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsRequest) String() string
func (*QueryDelegatorValidatorsRequest) Unmarshal ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsRequest) Unmarshal(dAtA []byte) error
func (*QueryDelegatorValidatorsRequest) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsRequest) XXX_DiscardUnknown()
func (*QueryDelegatorValidatorsRequest) XXX_Marshal ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDelegatorValidatorsRequest) XXX_Merge ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsRequest) XXX_Merge(src proto.Message)
func (*QueryDelegatorValidatorsRequest) XXX_Size ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsRequest) XXX_Size() int
func (*QueryDelegatorValidatorsRequest) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsRequest) XXX_Unmarshal(b []byte) error
type QueryDelegatorValidatorsResponse ¶ added in v0.40.0
type QueryDelegatorValidatorsResponse struct { // validators defines the validators a delegator is delegating for. Validators []string `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"` }
QueryDelegatorValidatorsResponse is the response type for the Query/DelegatorValidators RPC method.
func (*QueryDelegatorValidatorsResponse) Descriptor ¶ added in v0.40.0
func (*QueryDelegatorValidatorsResponse) Descriptor() ([]byte, []int)
func (*QueryDelegatorValidatorsResponse) Marshal ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsResponse) Marshal() (dAtA []byte, err error)
func (*QueryDelegatorValidatorsResponse) MarshalTo ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDelegatorValidatorsResponse) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDelegatorValidatorsResponse) ProtoMessage ¶ added in v0.40.0
func (*QueryDelegatorValidatorsResponse) ProtoMessage()
func (*QueryDelegatorValidatorsResponse) Reset ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsResponse) Reset()
func (*QueryDelegatorValidatorsResponse) Size ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsResponse) Size() (n int)
func (*QueryDelegatorValidatorsResponse) String ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsResponse) String() string
func (*QueryDelegatorValidatorsResponse) Unmarshal ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsResponse) Unmarshal(dAtA []byte) error
func (*QueryDelegatorValidatorsResponse) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsResponse) XXX_DiscardUnknown()
func (*QueryDelegatorValidatorsResponse) XXX_Marshal ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDelegatorValidatorsResponse) XXX_Merge ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsResponse) XXX_Merge(src proto.Message)
func (*QueryDelegatorValidatorsResponse) XXX_Size ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsResponse) XXX_Size() int
func (*QueryDelegatorValidatorsResponse) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryDelegatorValidatorsResponse) XXX_Unmarshal(b []byte) error
type QueryDelegatorWithdrawAddrParams ¶
type QueryDelegatorWithdrawAddrParams struct {
DelegatorAddress sdk.AccAddress `json:"delegator_address" yaml:"delegator_address"`
}
params for query 'custom/distr/withdraw_addr'
func NewQueryDelegatorWithdrawAddrParams ¶
func NewQueryDelegatorWithdrawAddrParams(delegatorAddr sdk.AccAddress) QueryDelegatorWithdrawAddrParams
NewQueryDelegatorWithdrawAddrParams creates a new instance of QueryDelegatorWithdrawAddrParams.
type QueryDelegatorWithdrawAddressRequest ¶ added in v0.40.0
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"` }
QueryDelegatorWithdrawAddressRequest is the request type for the Query/DelegatorWithdrawAddress RPC method.
func (*QueryDelegatorWithdrawAddressRequest) Descriptor ¶ added in v0.40.0
func (*QueryDelegatorWithdrawAddressRequest) Descriptor() ([]byte, []int)
func (*QueryDelegatorWithdrawAddressRequest) Marshal ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressRequest) Marshal() (dAtA []byte, err error)
func (*QueryDelegatorWithdrawAddressRequest) MarshalTo ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDelegatorWithdrawAddressRequest) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDelegatorWithdrawAddressRequest) ProtoMessage ¶ added in v0.40.0
func (*QueryDelegatorWithdrawAddressRequest) ProtoMessage()
func (*QueryDelegatorWithdrawAddressRequest) Reset ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressRequest) Reset()
func (*QueryDelegatorWithdrawAddressRequest) Size ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressRequest) Size() (n int)
func (*QueryDelegatorWithdrawAddressRequest) String ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressRequest) String() string
func (*QueryDelegatorWithdrawAddressRequest) Unmarshal ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressRequest) Unmarshal(dAtA []byte) error
func (*QueryDelegatorWithdrawAddressRequest) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressRequest) XXX_DiscardUnknown()
func (*QueryDelegatorWithdrawAddressRequest) XXX_Marshal ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDelegatorWithdrawAddressRequest) XXX_Merge ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressRequest) XXX_Merge(src proto.Message)
func (*QueryDelegatorWithdrawAddressRequest) XXX_Size ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressRequest) XXX_Size() int
func (*QueryDelegatorWithdrawAddressRequest) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressRequest) XXX_Unmarshal(b []byte) error
type QueryDelegatorWithdrawAddressResponse ¶ added in v0.40.0
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"` }
QueryDelegatorWithdrawAddressResponse is the response type for the Query/DelegatorWithdrawAddress RPC method.
func (*QueryDelegatorWithdrawAddressResponse) Descriptor ¶ added in v0.40.0
func (*QueryDelegatorWithdrawAddressResponse) Descriptor() ([]byte, []int)
func (*QueryDelegatorWithdrawAddressResponse) Marshal ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressResponse) Marshal() (dAtA []byte, err error)
func (*QueryDelegatorWithdrawAddressResponse) MarshalTo ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDelegatorWithdrawAddressResponse) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDelegatorWithdrawAddressResponse) ProtoMessage ¶ added in v0.40.0
func (*QueryDelegatorWithdrawAddressResponse) ProtoMessage()
func (*QueryDelegatorWithdrawAddressResponse) Reset ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressResponse) Reset()
func (*QueryDelegatorWithdrawAddressResponse) Size ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressResponse) Size() (n int)
func (*QueryDelegatorWithdrawAddressResponse) String ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressResponse) String() string
func (*QueryDelegatorWithdrawAddressResponse) Unmarshal ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressResponse) Unmarshal(dAtA []byte) error
func (*QueryDelegatorWithdrawAddressResponse) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressResponse) XXX_DiscardUnknown()
func (*QueryDelegatorWithdrawAddressResponse) XXX_Marshal ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDelegatorWithdrawAddressResponse) XXX_Merge ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressResponse) XXX_Merge(src proto.Message)
func (*QueryDelegatorWithdrawAddressResponse) XXX_Size ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressResponse) XXX_Size() int
func (*QueryDelegatorWithdrawAddressResponse) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryDelegatorWithdrawAddressResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶ added in v0.40.0
type QueryParamsRequest struct { }
QueryParamsRequest is the request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶ added in v0.40.0
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶ added in v0.40.0
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶ added in v0.40.0
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶ added in v0.40.0
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶ added in v0.40.0
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶ added in v0.40.0
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶ added in v0.40.0
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶ added in v0.40.0
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶ added in v0.40.0
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶ added in v0.40.0
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶ added in v0.40.0
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶ added in v0.40.0
type QueryParamsResponse struct { // params defines the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is the response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶ added in v0.40.0
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶ added in v0.40.0
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶ added in v0.40.0
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶ added in v0.40.0
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶ added in v0.40.0
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶ added in v0.40.0
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶ added in v0.40.0
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶ added in v0.40.0
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶ added in v0.40.0
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶ added in v0.40.0
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶ added in v0.40.0
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶ added in v0.40.0
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶ added in v0.40.0
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) }
QueryServer is the server API for Query service.
type QueryValidatorCommissionParams ¶
type QueryValidatorCommissionParams struct {
ValidatorAddress sdk.ValAddress `json:"validator_address" yaml:"validator_address"`
}
params for query 'custom/distr/validator_commission'
func NewQueryValidatorCommissionParams ¶
func NewQueryValidatorCommissionParams(validatorAddr sdk.ValAddress) QueryValidatorCommissionParams
creates a new instance of QueryValidatorCommissionParams
type QueryValidatorCommissionRequest ¶ added in v0.40.0
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"` }
QueryValidatorCommissionRequest is the request type for the Query/ValidatorCommission RPC method
func (*QueryValidatorCommissionRequest) Descriptor ¶ added in v0.40.0
func (*QueryValidatorCommissionRequest) Descriptor() ([]byte, []int)
func (*QueryValidatorCommissionRequest) GetValidatorAddress ¶ added in v0.40.0
func (m *QueryValidatorCommissionRequest) GetValidatorAddress() string
func (*QueryValidatorCommissionRequest) Marshal ¶ added in v0.40.0
func (m *QueryValidatorCommissionRequest) Marshal() (dAtA []byte, err error)
func (*QueryValidatorCommissionRequest) MarshalTo ¶ added in v0.40.0
func (m *QueryValidatorCommissionRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorCommissionRequest) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryValidatorCommissionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorCommissionRequest) ProtoMessage ¶ added in v0.40.0
func (*QueryValidatorCommissionRequest) ProtoMessage()
func (*QueryValidatorCommissionRequest) Reset ¶ added in v0.40.0
func (m *QueryValidatorCommissionRequest) Reset()
func (*QueryValidatorCommissionRequest) Size ¶ added in v0.40.0
func (m *QueryValidatorCommissionRequest) Size() (n int)
func (*QueryValidatorCommissionRequest) String ¶ added in v0.40.0
func (m *QueryValidatorCommissionRequest) String() string
func (*QueryValidatorCommissionRequest) Unmarshal ¶ added in v0.40.0
func (m *QueryValidatorCommissionRequest) Unmarshal(dAtA []byte) error
func (*QueryValidatorCommissionRequest) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryValidatorCommissionRequest) XXX_DiscardUnknown()
func (*QueryValidatorCommissionRequest) XXX_Marshal ¶ added in v0.40.0
func (m *QueryValidatorCommissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorCommissionRequest) XXX_Merge ¶ added in v0.40.0
func (m *QueryValidatorCommissionRequest) XXX_Merge(src proto.Message)
func (*QueryValidatorCommissionRequest) XXX_Size ¶ added in v0.40.0
func (m *QueryValidatorCommissionRequest) XXX_Size() int
func (*QueryValidatorCommissionRequest) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryValidatorCommissionRequest) XXX_Unmarshal(b []byte) error
type QueryValidatorCommissionResponse ¶ added in v0.40.0
type QueryValidatorCommissionResponse struct { // commission defines the commission the validator received. Commission ValidatorAccumulatedCommission `protobuf:"bytes,1,opt,name=commission,proto3" json:"commission"` }
QueryValidatorCommissionResponse is the response type for the Query/ValidatorCommission RPC method
func (*QueryValidatorCommissionResponse) Descriptor ¶ added in v0.40.0
func (*QueryValidatorCommissionResponse) Descriptor() ([]byte, []int)
func (*QueryValidatorCommissionResponse) GetCommission ¶ added in v0.40.0
func (m *QueryValidatorCommissionResponse) GetCommission() ValidatorAccumulatedCommission
func (*QueryValidatorCommissionResponse) Marshal ¶ added in v0.40.0
func (m *QueryValidatorCommissionResponse) Marshal() (dAtA []byte, err error)
func (*QueryValidatorCommissionResponse) MarshalTo ¶ added in v0.40.0
func (m *QueryValidatorCommissionResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorCommissionResponse) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryValidatorCommissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorCommissionResponse) ProtoMessage ¶ added in v0.40.0
func (*QueryValidatorCommissionResponse) ProtoMessage()
func (*QueryValidatorCommissionResponse) Reset ¶ added in v0.40.0
func (m *QueryValidatorCommissionResponse) Reset()
func (*QueryValidatorCommissionResponse) Size ¶ added in v0.40.0
func (m *QueryValidatorCommissionResponse) Size() (n int)
func (*QueryValidatorCommissionResponse) String ¶ added in v0.40.0
func (m *QueryValidatorCommissionResponse) String() string
func (*QueryValidatorCommissionResponse) Unmarshal ¶ added in v0.40.0
func (m *QueryValidatorCommissionResponse) Unmarshal(dAtA []byte) error
func (*QueryValidatorCommissionResponse) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryValidatorCommissionResponse) XXX_DiscardUnknown()
func (*QueryValidatorCommissionResponse) XXX_Marshal ¶ added in v0.40.0
func (m *QueryValidatorCommissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorCommissionResponse) XXX_Merge ¶ added in v0.40.0
func (m *QueryValidatorCommissionResponse) XXX_Merge(src proto.Message)
func (*QueryValidatorCommissionResponse) XXX_Size ¶ added in v0.40.0
func (m *QueryValidatorCommissionResponse) XXX_Size() int
func (*QueryValidatorCommissionResponse) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryValidatorCommissionResponse) XXX_Unmarshal(b []byte) error
type QueryValidatorDistributionInfoRequest ¶ added in v0.47.0
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"` }
QueryValidatorDistributionInfoRequest is the request type for the Query/ValidatorDistributionInfo RPC method.
func (*QueryValidatorDistributionInfoRequest) Descriptor ¶ added in v0.47.0
func (*QueryValidatorDistributionInfoRequest) Descriptor() ([]byte, []int)
func (*QueryValidatorDistributionInfoRequest) GetValidatorAddress ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoRequest) GetValidatorAddress() string
func (*QueryValidatorDistributionInfoRequest) Marshal ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryValidatorDistributionInfoRequest) MarshalTo ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorDistributionInfoRequest) MarshalToSizedBuffer ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorDistributionInfoRequest) ProtoMessage ¶ added in v0.47.0
func (*QueryValidatorDistributionInfoRequest) ProtoMessage()
func (*QueryValidatorDistributionInfoRequest) Reset ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoRequest) Reset()
func (*QueryValidatorDistributionInfoRequest) Size ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoRequest) Size() (n int)
func (*QueryValidatorDistributionInfoRequest) String ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoRequest) String() string
func (*QueryValidatorDistributionInfoRequest) Unmarshal ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryValidatorDistributionInfoRequest) XXX_DiscardUnknown ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoRequest) XXX_DiscardUnknown()
func (*QueryValidatorDistributionInfoRequest) XXX_Marshal ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorDistributionInfoRequest) XXX_Merge ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoRequest) XXX_Merge(src proto.Message)
func (*QueryValidatorDistributionInfoRequest) XXX_Size ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoRequest) XXX_Size() int
func (*QueryValidatorDistributionInfoRequest) XXX_Unmarshal ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoRequest) XXX_Unmarshal(b []byte) error
type QueryValidatorDistributionInfoResponse ¶ added in v0.47.0
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 github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 155-byte string literal not displayed */ // commission defines the commission the validator received. Commission github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,3,rep,name=commission,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"commission"` }
QueryValidatorDistributionInfoResponse is the response type for the Query/ValidatorDistributionInfo RPC method.
func (*QueryValidatorDistributionInfoResponse) Descriptor ¶ added in v0.47.0
func (*QueryValidatorDistributionInfoResponse) Descriptor() ([]byte, []int)
func (*QueryValidatorDistributionInfoResponse) GetCommission ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoResponse) GetCommission() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*QueryValidatorDistributionInfoResponse) GetOperatorAddress ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoResponse) GetOperatorAddress() string
func (*QueryValidatorDistributionInfoResponse) GetSelfBondRewards ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoResponse) GetSelfBondRewards() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*QueryValidatorDistributionInfoResponse) Marshal ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryValidatorDistributionInfoResponse) MarshalTo ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorDistributionInfoResponse) MarshalToSizedBuffer ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorDistributionInfoResponse) ProtoMessage ¶ added in v0.47.0
func (*QueryValidatorDistributionInfoResponse) ProtoMessage()
func (*QueryValidatorDistributionInfoResponse) Reset ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoResponse) Reset()
func (*QueryValidatorDistributionInfoResponse) Size ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoResponse) Size() (n int)
func (*QueryValidatorDistributionInfoResponse) String ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoResponse) String() string
func (*QueryValidatorDistributionInfoResponse) Unmarshal ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryValidatorDistributionInfoResponse) XXX_DiscardUnknown ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoResponse) XXX_DiscardUnknown()
func (*QueryValidatorDistributionInfoResponse) XXX_Marshal ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorDistributionInfoResponse) XXX_Merge ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoResponse) XXX_Merge(src proto.Message)
func (*QueryValidatorDistributionInfoResponse) XXX_Size ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoResponse) XXX_Size() int
func (*QueryValidatorDistributionInfoResponse) XXX_Unmarshal ¶ added in v0.47.0
func (m *QueryValidatorDistributionInfoResponse) XXX_Unmarshal(b []byte) error
type QueryValidatorOutstandingRewardsParams ¶
type QueryValidatorOutstandingRewardsParams struct {
ValidatorAddress sdk.ValAddress `json:"validator_address" yaml:"validator_address"`
}
params for query 'custom/distr/validator_outstanding_rewards'
func NewQueryValidatorOutstandingRewardsParams ¶
func NewQueryValidatorOutstandingRewardsParams(validatorAddr sdk.ValAddress) QueryValidatorOutstandingRewardsParams
creates a new instance of QueryValidatorOutstandingRewardsParams
type QueryValidatorOutstandingRewardsRequest ¶ added in v0.40.0
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"` }
QueryValidatorOutstandingRewardsRequest is the request type for the Query/ValidatorOutstandingRewards RPC method.
func (*QueryValidatorOutstandingRewardsRequest) Descriptor ¶ added in v0.40.0
func (*QueryValidatorOutstandingRewardsRequest) Descriptor() ([]byte, []int)
func (*QueryValidatorOutstandingRewardsRequest) GetValidatorAddress ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsRequest) GetValidatorAddress() string
func (*QueryValidatorOutstandingRewardsRequest) Marshal ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsRequest) Marshal() (dAtA []byte, err error)
func (*QueryValidatorOutstandingRewardsRequest) MarshalTo ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorOutstandingRewardsRequest) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorOutstandingRewardsRequest) ProtoMessage ¶ added in v0.40.0
func (*QueryValidatorOutstandingRewardsRequest) ProtoMessage()
func (*QueryValidatorOutstandingRewardsRequest) Reset ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsRequest) Reset()
func (*QueryValidatorOutstandingRewardsRequest) Size ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsRequest) Size() (n int)
func (*QueryValidatorOutstandingRewardsRequest) String ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsRequest) String() string
func (*QueryValidatorOutstandingRewardsRequest) Unmarshal ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsRequest) Unmarshal(dAtA []byte) error
func (*QueryValidatorOutstandingRewardsRequest) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsRequest) XXX_DiscardUnknown()
func (*QueryValidatorOutstandingRewardsRequest) XXX_Marshal ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorOutstandingRewardsRequest) XXX_Merge ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsRequest) XXX_Merge(src proto.Message)
func (*QueryValidatorOutstandingRewardsRequest) XXX_Size ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsRequest) XXX_Size() int
func (*QueryValidatorOutstandingRewardsRequest) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsRequest) XXX_Unmarshal(b []byte) error
type QueryValidatorOutstandingRewardsResponse ¶ added in v0.40.0
type QueryValidatorOutstandingRewardsResponse struct {
Rewards ValidatorOutstandingRewards `protobuf:"bytes,1,opt,name=rewards,proto3" json:"rewards"`
}
QueryValidatorOutstandingRewardsResponse is the response type for the Query/ValidatorOutstandingRewards RPC method.
func (*QueryValidatorOutstandingRewardsResponse) Descriptor ¶ added in v0.40.0
func (*QueryValidatorOutstandingRewardsResponse) Descriptor() ([]byte, []int)
func (*QueryValidatorOutstandingRewardsResponse) GetRewards ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsResponse) GetRewards() ValidatorOutstandingRewards
func (*QueryValidatorOutstandingRewardsResponse) Marshal ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsResponse) Marshal() (dAtA []byte, err error)
func (*QueryValidatorOutstandingRewardsResponse) MarshalTo ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorOutstandingRewardsResponse) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorOutstandingRewardsResponse) ProtoMessage ¶ added in v0.40.0
func (*QueryValidatorOutstandingRewardsResponse) ProtoMessage()
func (*QueryValidatorOutstandingRewardsResponse) Reset ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsResponse) Reset()
func (*QueryValidatorOutstandingRewardsResponse) Size ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsResponse) Size() (n int)
func (*QueryValidatorOutstandingRewardsResponse) String ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsResponse) String() string
func (*QueryValidatorOutstandingRewardsResponse) Unmarshal ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsResponse) Unmarshal(dAtA []byte) error
func (*QueryValidatorOutstandingRewardsResponse) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsResponse) XXX_DiscardUnknown()
func (*QueryValidatorOutstandingRewardsResponse) XXX_Marshal ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorOutstandingRewardsResponse) XXX_Merge ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsResponse) XXX_Merge(src proto.Message)
func (*QueryValidatorOutstandingRewardsResponse) XXX_Size ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsResponse) XXX_Size() int
func (*QueryValidatorOutstandingRewardsResponse) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryValidatorOutstandingRewardsResponse) XXX_Unmarshal(b []byte) error
type QueryValidatorSlashesParams ¶
type QueryValidatorSlashesParams struct { ValidatorAddress sdk.ValAddress `json:"validator_address" yaml:"validator_address"` StartingHeight uint64 `json:"starting_height" yaml:"starting_height"` EndingHeight uint64 `json:"ending_height" yaml:"ending_height"` }
params for query 'custom/distr/validator_slashes'
func NewQueryValidatorSlashesParams ¶
func NewQueryValidatorSlashesParams(validatorAddr sdk.ValAddress, startingHeight uint64, endingHeight uint64) QueryValidatorSlashesParams
creates a new instance of QueryValidatorSlashesParams
type QueryValidatorSlashesRequest ¶ added in v0.40.0
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 *query.PageRequest `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryValidatorSlashesRequest is the request type for the Query/ValidatorSlashes RPC method
func (*QueryValidatorSlashesRequest) Descriptor ¶ added in v0.40.0
func (*QueryValidatorSlashesRequest) Descriptor() ([]byte, []int)
func (*QueryValidatorSlashesRequest) Marshal ¶ added in v0.40.0
func (m *QueryValidatorSlashesRequest) Marshal() (dAtA []byte, err error)
func (*QueryValidatorSlashesRequest) MarshalTo ¶ added in v0.40.0
func (m *QueryValidatorSlashesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorSlashesRequest) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryValidatorSlashesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorSlashesRequest) ProtoMessage ¶ added in v0.40.0
func (*QueryValidatorSlashesRequest) ProtoMessage()
func (*QueryValidatorSlashesRequest) Reset ¶ added in v0.40.0
func (m *QueryValidatorSlashesRequest) Reset()
func (*QueryValidatorSlashesRequest) Size ¶ added in v0.40.0
func (m *QueryValidatorSlashesRequest) Size() (n int)
func (*QueryValidatorSlashesRequest) String ¶ added in v0.40.0
func (m *QueryValidatorSlashesRequest) String() string
func (*QueryValidatorSlashesRequest) Unmarshal ¶ added in v0.40.0
func (m *QueryValidatorSlashesRequest) Unmarshal(dAtA []byte) error
func (*QueryValidatorSlashesRequest) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryValidatorSlashesRequest) XXX_DiscardUnknown()
func (*QueryValidatorSlashesRequest) XXX_Marshal ¶ added in v0.40.0
func (m *QueryValidatorSlashesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorSlashesRequest) XXX_Merge ¶ added in v0.40.0
func (m *QueryValidatorSlashesRequest) XXX_Merge(src proto.Message)
func (*QueryValidatorSlashesRequest) XXX_Size ¶ added in v0.40.0
func (m *QueryValidatorSlashesRequest) XXX_Size() int
func (*QueryValidatorSlashesRequest) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryValidatorSlashesRequest) XXX_Unmarshal(b []byte) error
type QueryValidatorSlashesResponse ¶ added in v0.40.0
type QueryValidatorSlashesResponse struct { // slashes defines the slashes the validator received. Slashes []ValidatorSlashEvent `protobuf:"bytes,1,rep,name=slashes,proto3" json:"slashes"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryValidatorSlashesResponse is the response type for the Query/ValidatorSlashes RPC method.
func (*QueryValidatorSlashesResponse) Descriptor ¶ added in v0.40.0
func (*QueryValidatorSlashesResponse) Descriptor() ([]byte, []int)
func (*QueryValidatorSlashesResponse) GetPagination ¶ added in v0.40.0
func (m *QueryValidatorSlashesResponse) GetPagination() *query.PageResponse
func (*QueryValidatorSlashesResponse) GetSlashes ¶ added in v0.40.0
func (m *QueryValidatorSlashesResponse) GetSlashes() []ValidatorSlashEvent
func (*QueryValidatorSlashesResponse) Marshal ¶ added in v0.40.0
func (m *QueryValidatorSlashesResponse) Marshal() (dAtA []byte, err error)
func (*QueryValidatorSlashesResponse) MarshalTo ¶ added in v0.40.0
func (m *QueryValidatorSlashesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorSlashesResponse) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryValidatorSlashesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorSlashesResponse) ProtoMessage ¶ added in v0.40.0
func (*QueryValidatorSlashesResponse) ProtoMessage()
func (*QueryValidatorSlashesResponse) Reset ¶ added in v0.40.0
func (m *QueryValidatorSlashesResponse) Reset()
func (*QueryValidatorSlashesResponse) Size ¶ added in v0.40.0
func (m *QueryValidatorSlashesResponse) Size() (n int)
func (*QueryValidatorSlashesResponse) String ¶ added in v0.40.0
func (m *QueryValidatorSlashesResponse) String() string
func (*QueryValidatorSlashesResponse) Unmarshal ¶ added in v0.40.0
func (m *QueryValidatorSlashesResponse) Unmarshal(dAtA []byte) error
func (*QueryValidatorSlashesResponse) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryValidatorSlashesResponse) XXX_DiscardUnknown()
func (*QueryValidatorSlashesResponse) XXX_Marshal ¶ added in v0.40.0
func (m *QueryValidatorSlashesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorSlashesResponse) XXX_Merge ¶ added in v0.40.0
func (m *QueryValidatorSlashesResponse) XXX_Merge(src proto.Message)
func (*QueryValidatorSlashesResponse) XXX_Size ¶ added in v0.40.0
func (m *QueryValidatorSlashesResponse) XXX_Size() int
func (*QueryValidatorSlashesResponse) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryValidatorSlashesResponse) XXX_Unmarshal(b []byte) error
type StakingHooks ¶
type StakingHooks interface { AfterValidatorCreated(ctx sdk.Context, valAddr sdk.ValAddress) // Must be called when a validator is created AfterDelegationModified(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) }
StakingHooks event hooks for staking validator object (noalias)
type StakingKeeper ¶
type StakingKeeper interface { // iterate through validators by operator address, execute func for each validator IterateValidators(sdk.Context, func(index int64, validator stakingtypes.ValidatorI) (stop bool)) Validator(sdk.Context, sdk.ValAddress) stakingtypes.ValidatorI // get a particular validator by operator address ValidatorByConsAddr(sdk.Context, sdk.ConsAddress) stakingtypes.ValidatorI // get a particular validator by consensus address // Delegation allows for getting a particular delegation for a given validator // and delegator outside the scope of the staking module. Delegation(sdk.Context, sdk.AccAddress, sdk.ValAddress) stakingtypes.DelegationI IterateDelegations(ctx sdk.Context, delegator sdk.AccAddress, fn func(index int64, delegation stakingtypes.DelegationI) (stop bool)) GetAllSDKDelegations(ctx sdk.Context) []stakingtypes.Delegation GetAllValidators(ctx sdk.Context) (validators []stakingtypes.Validator) GetAllDelegatorDelegations(ctx sdk.Context, delegator sdk.AccAddress) []stakingtypes.Delegation }
StakingKeeper expected staking keeper (noalias)
type UnimplementedMsgServer ¶ added in v0.40.0
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CommunityPoolSpend ¶ added in v0.47.0
func (*UnimplementedMsgServer) CommunityPoolSpend(ctx context.Context, req *MsgCommunityPoolSpend) (*MsgCommunityPoolSpendResponse, error)
func (*UnimplementedMsgServer) FundCommunityPool ¶ added in v0.40.0
func (*UnimplementedMsgServer) FundCommunityPool(ctx context.Context, req *MsgFundCommunityPool) (*MsgFundCommunityPoolResponse, error)
func (*UnimplementedMsgServer) SetWithdrawAddress ¶ added in v0.40.0
func (*UnimplementedMsgServer) SetWithdrawAddress(ctx context.Context, req *MsgSetWithdrawAddress) (*MsgSetWithdrawAddressResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶ added in v0.47.0
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
func (*UnimplementedMsgServer) WithdrawDelegatorReward ¶ added in v0.40.0
func (*UnimplementedMsgServer) WithdrawDelegatorReward(ctx context.Context, req *MsgWithdrawDelegatorReward) (*MsgWithdrawDelegatorRewardResponse, error)
func (*UnimplementedMsgServer) WithdrawValidatorCommission ¶ added in v0.40.0
func (*UnimplementedMsgServer) WithdrawValidatorCommission(ctx context.Context, req *MsgWithdrawValidatorCommission) (*MsgWithdrawValidatorCommissionResponse, error)
type UnimplementedQueryServer ¶ added in v0.40.0
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) CommunityPool ¶ added in v0.40.0
func (*UnimplementedQueryServer) CommunityPool(ctx context.Context, req *QueryCommunityPoolRequest) (*QueryCommunityPoolResponse, error)
func (*UnimplementedQueryServer) DelegationRewards ¶ added in v0.40.0
func (*UnimplementedQueryServer) DelegationRewards(ctx context.Context, req *QueryDelegationRewardsRequest) (*QueryDelegationRewardsResponse, error)
func (*UnimplementedQueryServer) DelegationTotalRewards ¶ added in v0.40.0
func (*UnimplementedQueryServer) DelegationTotalRewards(ctx context.Context, req *QueryDelegationTotalRewardsRequest) (*QueryDelegationTotalRewardsResponse, error)
func (*UnimplementedQueryServer) DelegatorValidators ¶ added in v0.40.0
func (*UnimplementedQueryServer) DelegatorValidators(ctx context.Context, req *QueryDelegatorValidatorsRequest) (*QueryDelegatorValidatorsResponse, error)
func (*UnimplementedQueryServer) DelegatorWithdrawAddress ¶ added in v0.40.0
func (*UnimplementedQueryServer) DelegatorWithdrawAddress(ctx context.Context, req *QueryDelegatorWithdrawAddressRequest) (*QueryDelegatorWithdrawAddressResponse, error)
func (*UnimplementedQueryServer) Params ¶ added in v0.40.0
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) ValidatorCommission ¶ added in v0.40.0
func (*UnimplementedQueryServer) ValidatorCommission(ctx context.Context, req *QueryValidatorCommissionRequest) (*QueryValidatorCommissionResponse, error)
func (*UnimplementedQueryServer) ValidatorDistributionInfo ¶ added in v0.47.0
func (*UnimplementedQueryServer) ValidatorDistributionInfo(ctx context.Context, req *QueryValidatorDistributionInfoRequest) (*QueryValidatorDistributionInfoResponse, error)
func (*UnimplementedQueryServer) ValidatorOutstandingRewards ¶ added in v0.40.0
func (*UnimplementedQueryServer) ValidatorOutstandingRewards(ctx context.Context, req *QueryValidatorOutstandingRewardsRequest) (*QueryValidatorOutstandingRewardsResponse, error)
func (*UnimplementedQueryServer) ValidatorSlashes ¶ added in v0.40.0
func (*UnimplementedQueryServer) ValidatorSlashes(ctx context.Context, req *QueryValidatorSlashesRequest) (*QueryValidatorSlashesResponse, error)
type ValidatorAccumulatedCommission ¶
type ValidatorAccumulatedCommission struct {
Commission github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=commission,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"commission"`
}
ValidatorAccumulatedCommission represents accumulated commission for a validator kept as a running counter, can be withdrawn at any time.
func InitialValidatorAccumulatedCommission ¶
func InitialValidatorAccumulatedCommission() ValidatorAccumulatedCommission
return the initial accumulated commission (zero)
func (*ValidatorAccumulatedCommission) Descriptor ¶
func (*ValidatorAccumulatedCommission) Descriptor() ([]byte, []int)
func (*ValidatorAccumulatedCommission) Equal ¶
func (this *ValidatorAccumulatedCommission) Equal(that interface{}) bool
func (*ValidatorAccumulatedCommission) GetCommission ¶
func (m *ValidatorAccumulatedCommission) GetCommission() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*ValidatorAccumulatedCommission) Marshal ¶
func (m *ValidatorAccumulatedCommission) Marshal() (dAtA []byte, err error)
func (*ValidatorAccumulatedCommission) MarshalTo ¶
func (m *ValidatorAccumulatedCommission) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorAccumulatedCommission) MarshalToSizedBuffer ¶
func (m *ValidatorAccumulatedCommission) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorAccumulatedCommission) ProtoMessage ¶
func (*ValidatorAccumulatedCommission) ProtoMessage()
func (*ValidatorAccumulatedCommission) Reset ¶
func (m *ValidatorAccumulatedCommission) Reset()
func (*ValidatorAccumulatedCommission) Size ¶
func (m *ValidatorAccumulatedCommission) Size() (n int)
func (*ValidatorAccumulatedCommission) String ¶
func (m *ValidatorAccumulatedCommission) String() string
func (*ValidatorAccumulatedCommission) Unmarshal ¶
func (m *ValidatorAccumulatedCommission) Unmarshal(dAtA []byte) error
func (*ValidatorAccumulatedCommission) XXX_DiscardUnknown ¶
func (m *ValidatorAccumulatedCommission) XXX_DiscardUnknown()
func (*ValidatorAccumulatedCommission) XXX_Marshal ¶
func (m *ValidatorAccumulatedCommission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorAccumulatedCommission) XXX_Merge ¶
func (m *ValidatorAccumulatedCommission) XXX_Merge(src proto.Message)
func (*ValidatorAccumulatedCommission) XXX_Size ¶
func (m *ValidatorAccumulatedCommission) XXX_Size() int
func (*ValidatorAccumulatedCommission) XXX_Unmarshal ¶
func (m *ValidatorAccumulatedCommission) XXX_Unmarshal(b []byte) error
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"` }
ValidatorAccumulatedCommissionRecord is used for import / export via genesis json.
func (*ValidatorAccumulatedCommissionRecord) Descriptor ¶ added in v0.40.0
func (*ValidatorAccumulatedCommissionRecord) Descriptor() ([]byte, []int)
func (*ValidatorAccumulatedCommissionRecord) Marshal ¶ added in v0.40.0
func (m *ValidatorAccumulatedCommissionRecord) Marshal() (dAtA []byte, err error)
func (*ValidatorAccumulatedCommissionRecord) MarshalTo ¶ added in v0.40.0
func (m *ValidatorAccumulatedCommissionRecord) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorAccumulatedCommissionRecord) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *ValidatorAccumulatedCommissionRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorAccumulatedCommissionRecord) ProtoMessage ¶ added in v0.40.0
func (*ValidatorAccumulatedCommissionRecord) ProtoMessage()
func (*ValidatorAccumulatedCommissionRecord) Reset ¶ added in v0.40.0
func (m *ValidatorAccumulatedCommissionRecord) Reset()
func (*ValidatorAccumulatedCommissionRecord) Size ¶ added in v0.40.0
func (m *ValidatorAccumulatedCommissionRecord) Size() (n int)
func (*ValidatorAccumulatedCommissionRecord) String ¶ added in v0.40.0
func (m *ValidatorAccumulatedCommissionRecord) String() string
func (*ValidatorAccumulatedCommissionRecord) Unmarshal ¶ added in v0.40.0
func (m *ValidatorAccumulatedCommissionRecord) Unmarshal(dAtA []byte) error
func (*ValidatorAccumulatedCommissionRecord) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *ValidatorAccumulatedCommissionRecord) XXX_DiscardUnknown()
func (*ValidatorAccumulatedCommissionRecord) XXX_Marshal ¶ added in v0.40.0
func (m *ValidatorAccumulatedCommissionRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorAccumulatedCommissionRecord) XXX_Merge ¶ added in v0.40.0
func (m *ValidatorAccumulatedCommissionRecord) XXX_Merge(src proto.Message)
func (*ValidatorAccumulatedCommissionRecord) XXX_Size ¶ added in v0.40.0
func (m *ValidatorAccumulatedCommissionRecord) XXX_Size() int
func (*ValidatorAccumulatedCommissionRecord) XXX_Unmarshal ¶ added in v0.40.0
func (m *ValidatorAccumulatedCommissionRecord) XXX_Unmarshal(b []byte) error
type ValidatorCurrentRewards ¶
type ValidatorCurrentRewards struct { Rewards github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=rewards,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"rewards"` Period uint64 `protobuf:"varint,2,opt,name=period,proto3" json:"period,omitempty"` }
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 NewValidatorCurrentRewards ¶
func NewValidatorCurrentRewards(rewards sdk.DecCoins, period uint64) ValidatorCurrentRewards
create a new ValidatorCurrentRewards
func (*ValidatorCurrentRewards) Descriptor ¶
func (*ValidatorCurrentRewards) Descriptor() ([]byte, []int)
func (*ValidatorCurrentRewards) Equal ¶
func (this *ValidatorCurrentRewards) Equal(that interface{}) bool
func (*ValidatorCurrentRewards) GetPeriod ¶
func (m *ValidatorCurrentRewards) GetPeriod() uint64
func (*ValidatorCurrentRewards) GetRewards ¶
func (m *ValidatorCurrentRewards) GetRewards() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*ValidatorCurrentRewards) Marshal ¶
func (m *ValidatorCurrentRewards) Marshal() (dAtA []byte, err error)
func (*ValidatorCurrentRewards) MarshalTo ¶
func (m *ValidatorCurrentRewards) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorCurrentRewards) MarshalToSizedBuffer ¶
func (m *ValidatorCurrentRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorCurrentRewards) ProtoMessage ¶
func (*ValidatorCurrentRewards) ProtoMessage()
func (*ValidatorCurrentRewards) Reset ¶
func (m *ValidatorCurrentRewards) Reset()
func (*ValidatorCurrentRewards) Size ¶
func (m *ValidatorCurrentRewards) Size() (n int)
func (*ValidatorCurrentRewards) String ¶
func (m *ValidatorCurrentRewards) String() string
func (*ValidatorCurrentRewards) Unmarshal ¶
func (m *ValidatorCurrentRewards) Unmarshal(dAtA []byte) error
func (*ValidatorCurrentRewards) XXX_DiscardUnknown ¶
func (m *ValidatorCurrentRewards) XXX_DiscardUnknown()
func (*ValidatorCurrentRewards) XXX_Marshal ¶
func (m *ValidatorCurrentRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorCurrentRewards) XXX_Merge ¶
func (m *ValidatorCurrentRewards) XXX_Merge(src proto.Message)
func (*ValidatorCurrentRewards) XXX_Size ¶
func (m *ValidatorCurrentRewards) XXX_Size() int
func (*ValidatorCurrentRewards) XXX_Unmarshal ¶
func (m *ValidatorCurrentRewards) XXX_Unmarshal(b []byte) error
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"` }
ValidatorCurrentRewardsRecord is used for import / export via genesis json.
func (*ValidatorCurrentRewardsRecord) Descriptor ¶ added in v0.40.0
func (*ValidatorCurrentRewardsRecord) Descriptor() ([]byte, []int)
func (*ValidatorCurrentRewardsRecord) Marshal ¶ added in v0.40.0
func (m *ValidatorCurrentRewardsRecord) Marshal() (dAtA []byte, err error)
func (*ValidatorCurrentRewardsRecord) MarshalTo ¶ added in v0.40.0
func (m *ValidatorCurrentRewardsRecord) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorCurrentRewardsRecord) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *ValidatorCurrentRewardsRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorCurrentRewardsRecord) ProtoMessage ¶ added in v0.40.0
func (*ValidatorCurrentRewardsRecord) ProtoMessage()
func (*ValidatorCurrentRewardsRecord) Reset ¶ added in v0.40.0
func (m *ValidatorCurrentRewardsRecord) Reset()
func (*ValidatorCurrentRewardsRecord) Size ¶ added in v0.40.0
func (m *ValidatorCurrentRewardsRecord) Size() (n int)
func (*ValidatorCurrentRewardsRecord) String ¶ added in v0.40.0
func (m *ValidatorCurrentRewardsRecord) String() string
func (*ValidatorCurrentRewardsRecord) Unmarshal ¶ added in v0.40.0
func (m *ValidatorCurrentRewardsRecord) Unmarshal(dAtA []byte) error
func (*ValidatorCurrentRewardsRecord) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *ValidatorCurrentRewardsRecord) XXX_DiscardUnknown()
func (*ValidatorCurrentRewardsRecord) XXX_Marshal ¶ added in v0.40.0
func (m *ValidatorCurrentRewardsRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorCurrentRewardsRecord) XXX_Merge ¶ added in v0.40.0
func (m *ValidatorCurrentRewardsRecord) XXX_Merge(src proto.Message)
func (*ValidatorCurrentRewardsRecord) XXX_Size ¶ added in v0.40.0
func (m *ValidatorCurrentRewardsRecord) XXX_Size() int
func (*ValidatorCurrentRewardsRecord) XXX_Unmarshal ¶ added in v0.40.0
func (m *ValidatorCurrentRewardsRecord) XXX_Unmarshal(b []byte) error
type ValidatorHistoricalRewards ¶
type ValidatorHistoricalRewards struct { CumulativeRewardRatio github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 173-byte string literal not displayed */ ReferenceCount uint32 `protobuf:"varint,2,opt,name=reference_count,json=referenceCount,proto3" json:"reference_count,omitempty"` }
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 NewValidatorHistoricalRewards ¶
func NewValidatorHistoricalRewards(cumulativeRewardRatio sdk.DecCoins, referenceCount uint32) ValidatorHistoricalRewards
create a new ValidatorHistoricalRewards
func (*ValidatorHistoricalRewards) Descriptor ¶
func (*ValidatorHistoricalRewards) Descriptor() ([]byte, []int)
func (*ValidatorHistoricalRewards) Equal ¶
func (this *ValidatorHistoricalRewards) Equal(that interface{}) bool
func (*ValidatorHistoricalRewards) GetCumulativeRewardRatio ¶
func (m *ValidatorHistoricalRewards) GetCumulativeRewardRatio() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*ValidatorHistoricalRewards) GetReferenceCount ¶
func (m *ValidatorHistoricalRewards) GetReferenceCount() uint32
func (*ValidatorHistoricalRewards) Marshal ¶
func (m *ValidatorHistoricalRewards) Marshal() (dAtA []byte, err error)
func (*ValidatorHistoricalRewards) MarshalTo ¶
func (m *ValidatorHistoricalRewards) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorHistoricalRewards) MarshalToSizedBuffer ¶
func (m *ValidatorHistoricalRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorHistoricalRewards) ProtoMessage ¶
func (*ValidatorHistoricalRewards) ProtoMessage()
func (*ValidatorHistoricalRewards) Reset ¶
func (m *ValidatorHistoricalRewards) Reset()
func (*ValidatorHistoricalRewards) Size ¶
func (m *ValidatorHistoricalRewards) Size() (n int)
func (*ValidatorHistoricalRewards) String ¶
func (m *ValidatorHistoricalRewards) String() string
func (*ValidatorHistoricalRewards) Unmarshal ¶
func (m *ValidatorHistoricalRewards) Unmarshal(dAtA []byte) error
func (*ValidatorHistoricalRewards) XXX_DiscardUnknown ¶
func (m *ValidatorHistoricalRewards) XXX_DiscardUnknown()
func (*ValidatorHistoricalRewards) XXX_Marshal ¶
func (m *ValidatorHistoricalRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorHistoricalRewards) XXX_Merge ¶
func (m *ValidatorHistoricalRewards) XXX_Merge(src proto.Message)
func (*ValidatorHistoricalRewards) XXX_Size ¶
func (m *ValidatorHistoricalRewards) XXX_Size() int
func (*ValidatorHistoricalRewards) XXX_Unmarshal ¶
func (m *ValidatorHistoricalRewards) XXX_Unmarshal(b []byte) error
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"` }
ValidatorHistoricalRewardsRecord is used for import / export via genesis json.
func (*ValidatorHistoricalRewardsRecord) Descriptor ¶ added in v0.40.0
func (*ValidatorHistoricalRewardsRecord) Descriptor() ([]byte, []int)
func (*ValidatorHistoricalRewardsRecord) Marshal ¶ added in v0.40.0
func (m *ValidatorHistoricalRewardsRecord) Marshal() (dAtA []byte, err error)
func (*ValidatorHistoricalRewardsRecord) MarshalTo ¶ added in v0.40.0
func (m *ValidatorHistoricalRewardsRecord) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorHistoricalRewardsRecord) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *ValidatorHistoricalRewardsRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorHistoricalRewardsRecord) ProtoMessage ¶ added in v0.40.0
func (*ValidatorHistoricalRewardsRecord) ProtoMessage()
func (*ValidatorHistoricalRewardsRecord) Reset ¶ added in v0.40.0
func (m *ValidatorHistoricalRewardsRecord) Reset()
func (*ValidatorHistoricalRewardsRecord) Size ¶ added in v0.40.0
func (m *ValidatorHistoricalRewardsRecord) Size() (n int)
func (*ValidatorHistoricalRewardsRecord) String ¶ added in v0.40.0
func (m *ValidatorHistoricalRewardsRecord) String() string
func (*ValidatorHistoricalRewardsRecord) Unmarshal ¶ added in v0.40.0
func (m *ValidatorHistoricalRewardsRecord) Unmarshal(dAtA []byte) error
func (*ValidatorHistoricalRewardsRecord) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *ValidatorHistoricalRewardsRecord) XXX_DiscardUnknown()
func (*ValidatorHistoricalRewardsRecord) XXX_Marshal ¶ added in v0.40.0
func (m *ValidatorHistoricalRewardsRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorHistoricalRewardsRecord) XXX_Merge ¶ added in v0.40.0
func (m *ValidatorHistoricalRewardsRecord) XXX_Merge(src proto.Message)
func (*ValidatorHistoricalRewardsRecord) XXX_Size ¶ added in v0.40.0
func (m *ValidatorHistoricalRewardsRecord) XXX_Size() int
func (*ValidatorHistoricalRewardsRecord) XXX_Unmarshal ¶ added in v0.40.0
func (m *ValidatorHistoricalRewardsRecord) XXX_Unmarshal(b []byte) error
type ValidatorOutstandingRewards ¶
type ValidatorOutstandingRewards struct {
Rewards github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=rewards,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"rewards"`
}
ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards for a validator inexpensive to track, allows simple sanity checks.
func (*ValidatorOutstandingRewards) Descriptor ¶
func (*ValidatorOutstandingRewards) Descriptor() ([]byte, []int)
func (*ValidatorOutstandingRewards) Equal ¶
func (this *ValidatorOutstandingRewards) Equal(that interface{}) bool
func (*ValidatorOutstandingRewards) GetRewards ¶
func (m *ValidatorOutstandingRewards) GetRewards() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*ValidatorOutstandingRewards) Marshal ¶
func (m *ValidatorOutstandingRewards) Marshal() (dAtA []byte, err error)
func (*ValidatorOutstandingRewards) MarshalTo ¶
func (m *ValidatorOutstandingRewards) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorOutstandingRewards) MarshalToSizedBuffer ¶
func (m *ValidatorOutstandingRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorOutstandingRewards) ProtoMessage ¶
func (*ValidatorOutstandingRewards) ProtoMessage()
func (*ValidatorOutstandingRewards) Reset ¶
func (m *ValidatorOutstandingRewards) Reset()
func (*ValidatorOutstandingRewards) Size ¶
func (m *ValidatorOutstandingRewards) Size() (n int)
func (*ValidatorOutstandingRewards) String ¶
func (m *ValidatorOutstandingRewards) String() string
func (*ValidatorOutstandingRewards) Unmarshal ¶
func (m *ValidatorOutstandingRewards) Unmarshal(dAtA []byte) error
func (*ValidatorOutstandingRewards) XXX_DiscardUnknown ¶
func (m *ValidatorOutstandingRewards) XXX_DiscardUnknown()
func (*ValidatorOutstandingRewards) XXX_Marshal ¶
func (m *ValidatorOutstandingRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorOutstandingRewards) XXX_Merge ¶
func (m *ValidatorOutstandingRewards) XXX_Merge(src proto.Message)
func (*ValidatorOutstandingRewards) XXX_Size ¶
func (m *ValidatorOutstandingRewards) XXX_Size() int
func (*ValidatorOutstandingRewards) XXX_Unmarshal ¶
func (m *ValidatorOutstandingRewards) XXX_Unmarshal(b []byte) error
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 github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 162-byte string literal not displayed */ }
ValidatorOutstandingRewardsRecord is used for import/export via genesis json.
func (*ValidatorOutstandingRewardsRecord) Descriptor ¶ added in v0.40.0
func (*ValidatorOutstandingRewardsRecord) Descriptor() ([]byte, []int)
func (*ValidatorOutstandingRewardsRecord) Marshal ¶ added in v0.40.0
func (m *ValidatorOutstandingRewardsRecord) Marshal() (dAtA []byte, err error)
func (*ValidatorOutstandingRewardsRecord) MarshalTo ¶ added in v0.40.0
func (m *ValidatorOutstandingRewardsRecord) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorOutstandingRewardsRecord) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *ValidatorOutstandingRewardsRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorOutstandingRewardsRecord) ProtoMessage ¶ added in v0.40.0
func (*ValidatorOutstandingRewardsRecord) ProtoMessage()
func (*ValidatorOutstandingRewardsRecord) Reset ¶ added in v0.40.0
func (m *ValidatorOutstandingRewardsRecord) Reset()
func (*ValidatorOutstandingRewardsRecord) Size ¶ added in v0.40.0
func (m *ValidatorOutstandingRewardsRecord) Size() (n int)
func (*ValidatorOutstandingRewardsRecord) String ¶ added in v0.40.0
func (m *ValidatorOutstandingRewardsRecord) String() string
func (*ValidatorOutstandingRewardsRecord) Unmarshal ¶ added in v0.40.0
func (m *ValidatorOutstandingRewardsRecord) Unmarshal(dAtA []byte) error
func (*ValidatorOutstandingRewardsRecord) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *ValidatorOutstandingRewardsRecord) XXX_DiscardUnknown()
func (*ValidatorOutstandingRewardsRecord) XXX_Marshal ¶ added in v0.40.0
func (m *ValidatorOutstandingRewardsRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorOutstandingRewardsRecord) XXX_Merge ¶ added in v0.40.0
func (m *ValidatorOutstandingRewardsRecord) XXX_Merge(src proto.Message)
func (*ValidatorOutstandingRewardsRecord) XXX_Size ¶ added in v0.40.0
func (m *ValidatorOutstandingRewardsRecord) XXX_Size() int
func (*ValidatorOutstandingRewardsRecord) XXX_Unmarshal ¶ added in v0.40.0
func (m *ValidatorOutstandingRewardsRecord) XXX_Unmarshal(b []byte) error
type ValidatorSlashEvent ¶
type ValidatorSlashEvent struct { ValidatorPeriod uint64 `protobuf:"varint,1,opt,name=validator_period,json=validatorPeriod,proto3" json:"validator_period,omitempty"` Fraction github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=fraction,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"fraction"` }
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 NewValidatorSlashEvent ¶
func NewValidatorSlashEvent(validatorPeriod uint64, fraction sdk.Dec) ValidatorSlashEvent
create a new ValidatorSlashEvent
func (*ValidatorSlashEvent) Descriptor ¶
func (*ValidatorSlashEvent) Descriptor() ([]byte, []int)
func (*ValidatorSlashEvent) Equal ¶
func (this *ValidatorSlashEvent) Equal(that interface{}) bool
func (*ValidatorSlashEvent) GetValidatorPeriod ¶
func (m *ValidatorSlashEvent) GetValidatorPeriod() uint64
func (*ValidatorSlashEvent) Marshal ¶
func (m *ValidatorSlashEvent) Marshal() (dAtA []byte, err error)
func (*ValidatorSlashEvent) MarshalTo ¶
func (m *ValidatorSlashEvent) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorSlashEvent) MarshalToSizedBuffer ¶
func (m *ValidatorSlashEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorSlashEvent) ProtoMessage ¶
func (*ValidatorSlashEvent) ProtoMessage()
func (*ValidatorSlashEvent) Reset ¶
func (m *ValidatorSlashEvent) Reset()
func (*ValidatorSlashEvent) Size ¶
func (m *ValidatorSlashEvent) Size() (n int)
func (*ValidatorSlashEvent) String ¶
func (m *ValidatorSlashEvent) String() string
func (*ValidatorSlashEvent) Unmarshal ¶
func (m *ValidatorSlashEvent) Unmarshal(dAtA []byte) error
func (*ValidatorSlashEvent) XXX_DiscardUnknown ¶
func (m *ValidatorSlashEvent) XXX_DiscardUnknown()
func (*ValidatorSlashEvent) XXX_Marshal ¶
func (m *ValidatorSlashEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorSlashEvent) XXX_Merge ¶
func (m *ValidatorSlashEvent) XXX_Merge(src proto.Message)
func (*ValidatorSlashEvent) XXX_Size ¶
func (m *ValidatorSlashEvent) XXX_Size() int
func (*ValidatorSlashEvent) XXX_Unmarshal ¶
func (m *ValidatorSlashEvent) XXX_Unmarshal(b []byte) error
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"` }
ValidatorSlashEventRecord is used for import / export via genesis json.
func (*ValidatorSlashEventRecord) Descriptor ¶ added in v0.40.0
func (*ValidatorSlashEventRecord) Descriptor() ([]byte, []int)
func (*ValidatorSlashEventRecord) Marshal ¶ added in v0.40.0
func (m *ValidatorSlashEventRecord) Marshal() (dAtA []byte, err error)
func (*ValidatorSlashEventRecord) MarshalTo ¶ added in v0.40.0
func (m *ValidatorSlashEventRecord) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorSlashEventRecord) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *ValidatorSlashEventRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorSlashEventRecord) ProtoMessage ¶ added in v0.40.0
func (*ValidatorSlashEventRecord) ProtoMessage()
func (*ValidatorSlashEventRecord) Reset ¶ added in v0.40.0
func (m *ValidatorSlashEventRecord) Reset()
func (*ValidatorSlashEventRecord) Size ¶ added in v0.40.0
func (m *ValidatorSlashEventRecord) Size() (n int)
func (*ValidatorSlashEventRecord) String ¶ added in v0.40.0
func (m *ValidatorSlashEventRecord) String() string
func (*ValidatorSlashEventRecord) Unmarshal ¶ added in v0.40.0
func (m *ValidatorSlashEventRecord) Unmarshal(dAtA []byte) error
func (*ValidatorSlashEventRecord) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *ValidatorSlashEventRecord) XXX_DiscardUnknown()
func (*ValidatorSlashEventRecord) XXX_Marshal ¶ added in v0.40.0
func (m *ValidatorSlashEventRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorSlashEventRecord) XXX_Merge ¶ added in v0.40.0
func (m *ValidatorSlashEventRecord) XXX_Merge(src proto.Message)
func (*ValidatorSlashEventRecord) XXX_Size ¶ added in v0.40.0
func (m *ValidatorSlashEventRecord) XXX_Size() int
func (*ValidatorSlashEventRecord) XXX_Unmarshal ¶ added in v0.40.0
func (m *ValidatorSlashEventRecord) XXX_Unmarshal(b []byte) error
type ValidatorSlashEvents ¶
type ValidatorSlashEvents struct {
ValidatorSlashEvents []ValidatorSlashEvent `protobuf:"bytes,1,rep,name=validator_slash_events,json=validatorSlashEvents,proto3" json:"validator_slash_events"`
}
ValidatorSlashEvents is a collection of ValidatorSlashEvent messages.
func (*ValidatorSlashEvents) Descriptor ¶
func (*ValidatorSlashEvents) Descriptor() ([]byte, []int)
func (*ValidatorSlashEvents) Equal ¶
func (this *ValidatorSlashEvents) Equal(that interface{}) bool
func (*ValidatorSlashEvents) GetValidatorSlashEvents ¶
func (m *ValidatorSlashEvents) GetValidatorSlashEvents() []ValidatorSlashEvent
func (*ValidatorSlashEvents) Marshal ¶
func (m *ValidatorSlashEvents) Marshal() (dAtA []byte, err error)
func (*ValidatorSlashEvents) MarshalTo ¶
func (m *ValidatorSlashEvents) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorSlashEvents) MarshalToSizedBuffer ¶
func (m *ValidatorSlashEvents) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorSlashEvents) ProtoMessage ¶
func (*ValidatorSlashEvents) ProtoMessage()
func (*ValidatorSlashEvents) Reset ¶
func (m *ValidatorSlashEvents) Reset()
func (*ValidatorSlashEvents) Size ¶
func (m *ValidatorSlashEvents) Size() (n int)
func (ValidatorSlashEvents) String ¶
func (vs ValidatorSlashEvents) String() string
func (*ValidatorSlashEvents) Unmarshal ¶
func (m *ValidatorSlashEvents) Unmarshal(dAtA []byte) error
func (*ValidatorSlashEvents) XXX_DiscardUnknown ¶
func (m *ValidatorSlashEvents) XXX_DiscardUnknown()
func (*ValidatorSlashEvents) XXX_Marshal ¶
func (m *ValidatorSlashEvents) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorSlashEvents) XXX_Merge ¶
func (m *ValidatorSlashEvents) XXX_Merge(src proto.Message)
func (*ValidatorSlashEvents) XXX_Size ¶
func (m *ValidatorSlashEvents) XXX_Size() int
func (*ValidatorSlashEvents) XXX_Unmarshal ¶
func (m *ValidatorSlashEvents) XXX_Unmarshal(b []byte) error