github.com/cosmos/cosmos-sdk@v0.50.10/x/distribution/types/tx.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: cosmos/distribution/v1beta1/tx.proto
     3  
     4  package types
     5  
     6  import (
     7  	context "context"
     8  	fmt "fmt"
     9  	_ "github.com/cosmos/cosmos-proto"
    10  	github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
    11  	types "github.com/cosmos/cosmos-sdk/types"
    12  	_ "github.com/cosmos/cosmos-sdk/types/msgservice"
    13  	_ "github.com/cosmos/cosmos-sdk/types/tx/amino"
    14  	_ "github.com/cosmos/gogoproto/gogoproto"
    15  	grpc1 "github.com/cosmos/gogoproto/grpc"
    16  	proto "github.com/cosmos/gogoproto/proto"
    17  	grpc "google.golang.org/grpc"
    18  	codes "google.golang.org/grpc/codes"
    19  	status "google.golang.org/grpc/status"
    20  	io "io"
    21  	math "math"
    22  	math_bits "math/bits"
    23  )
    24  
    25  // Reference imports to suppress errors if they are not otherwise used.
    26  var _ = proto.Marshal
    27  var _ = fmt.Errorf
    28  var _ = math.Inf
    29  
    30  // This is a compile-time assertion to ensure that this generated file
    31  // is compatible with the proto package it is being compiled against.
    32  // A compilation error at this line likely means your copy of the
    33  // proto package needs to be updated.
    34  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    35  
    36  // MsgSetWithdrawAddress sets the withdraw address for
    37  // a delegator (or validator self-delegation).
    38  type MsgSetWithdrawAddress struct {
    39  	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
    40  	WithdrawAddress  string `protobuf:"bytes,2,opt,name=withdraw_address,json=withdrawAddress,proto3" json:"withdraw_address,omitempty"`
    41  }
    42  
    43  func (m *MsgSetWithdrawAddress) Reset()         { *m = MsgSetWithdrawAddress{} }
    44  func (m *MsgSetWithdrawAddress) String() string { return proto.CompactTextString(m) }
    45  func (*MsgSetWithdrawAddress) ProtoMessage()    {}
    46  func (*MsgSetWithdrawAddress) Descriptor() ([]byte, []int) {
    47  	return fileDescriptor_ed4f433d965e58ca, []int{0}
    48  }
    49  func (m *MsgSetWithdrawAddress) XXX_Unmarshal(b []byte) error {
    50  	return m.Unmarshal(b)
    51  }
    52  func (m *MsgSetWithdrawAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    53  	if deterministic {
    54  		return xxx_messageInfo_MsgSetWithdrawAddress.Marshal(b, m, deterministic)
    55  	} else {
    56  		b = b[:cap(b)]
    57  		n, err := m.MarshalToSizedBuffer(b)
    58  		if err != nil {
    59  			return nil, err
    60  		}
    61  		return b[:n], nil
    62  	}
    63  }
    64  func (m *MsgSetWithdrawAddress) XXX_Merge(src proto.Message) {
    65  	xxx_messageInfo_MsgSetWithdrawAddress.Merge(m, src)
    66  }
    67  func (m *MsgSetWithdrawAddress) XXX_Size() int {
    68  	return m.Size()
    69  }
    70  func (m *MsgSetWithdrawAddress) XXX_DiscardUnknown() {
    71  	xxx_messageInfo_MsgSetWithdrawAddress.DiscardUnknown(m)
    72  }
    73  
    74  var xxx_messageInfo_MsgSetWithdrawAddress proto.InternalMessageInfo
    75  
    76  // MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response
    77  // type.
    78  type MsgSetWithdrawAddressResponse struct {
    79  }
    80  
    81  func (m *MsgSetWithdrawAddressResponse) Reset()         { *m = MsgSetWithdrawAddressResponse{} }
    82  func (m *MsgSetWithdrawAddressResponse) String() string { return proto.CompactTextString(m) }
    83  func (*MsgSetWithdrawAddressResponse) ProtoMessage()    {}
    84  func (*MsgSetWithdrawAddressResponse) Descriptor() ([]byte, []int) {
    85  	return fileDescriptor_ed4f433d965e58ca, []int{1}
    86  }
    87  func (m *MsgSetWithdrawAddressResponse) XXX_Unmarshal(b []byte) error {
    88  	return m.Unmarshal(b)
    89  }
    90  func (m *MsgSetWithdrawAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    91  	if deterministic {
    92  		return xxx_messageInfo_MsgSetWithdrawAddressResponse.Marshal(b, m, deterministic)
    93  	} else {
    94  		b = b[:cap(b)]
    95  		n, err := m.MarshalToSizedBuffer(b)
    96  		if err != nil {
    97  			return nil, err
    98  		}
    99  		return b[:n], nil
   100  	}
   101  }
   102  func (m *MsgSetWithdrawAddressResponse) XXX_Merge(src proto.Message) {
   103  	xxx_messageInfo_MsgSetWithdrawAddressResponse.Merge(m, src)
   104  }
   105  func (m *MsgSetWithdrawAddressResponse) XXX_Size() int {
   106  	return m.Size()
   107  }
   108  func (m *MsgSetWithdrawAddressResponse) XXX_DiscardUnknown() {
   109  	xxx_messageInfo_MsgSetWithdrawAddressResponse.DiscardUnknown(m)
   110  }
   111  
   112  var xxx_messageInfo_MsgSetWithdrawAddressResponse proto.InternalMessageInfo
   113  
   114  // MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator
   115  // from a single validator.
   116  type MsgWithdrawDelegatorReward struct {
   117  	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
   118  	ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
   119  }
   120  
   121  func (m *MsgWithdrawDelegatorReward) Reset()         { *m = MsgWithdrawDelegatorReward{} }
   122  func (m *MsgWithdrawDelegatorReward) String() string { return proto.CompactTextString(m) }
   123  func (*MsgWithdrawDelegatorReward) ProtoMessage()    {}
   124  func (*MsgWithdrawDelegatorReward) Descriptor() ([]byte, []int) {
   125  	return fileDescriptor_ed4f433d965e58ca, []int{2}
   126  }
   127  func (m *MsgWithdrawDelegatorReward) XXX_Unmarshal(b []byte) error {
   128  	return m.Unmarshal(b)
   129  }
   130  func (m *MsgWithdrawDelegatorReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   131  	if deterministic {
   132  		return xxx_messageInfo_MsgWithdrawDelegatorReward.Marshal(b, m, deterministic)
   133  	} else {
   134  		b = b[:cap(b)]
   135  		n, err := m.MarshalToSizedBuffer(b)
   136  		if err != nil {
   137  			return nil, err
   138  		}
   139  		return b[:n], nil
   140  	}
   141  }
   142  func (m *MsgWithdrawDelegatorReward) XXX_Merge(src proto.Message) {
   143  	xxx_messageInfo_MsgWithdrawDelegatorReward.Merge(m, src)
   144  }
   145  func (m *MsgWithdrawDelegatorReward) XXX_Size() int {
   146  	return m.Size()
   147  }
   148  func (m *MsgWithdrawDelegatorReward) XXX_DiscardUnknown() {
   149  	xxx_messageInfo_MsgWithdrawDelegatorReward.DiscardUnknown(m)
   150  }
   151  
   152  var xxx_messageInfo_MsgWithdrawDelegatorReward proto.InternalMessageInfo
   153  
   154  // MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward
   155  // response type.
   156  type MsgWithdrawDelegatorRewardResponse struct {
   157  	// Since: cosmos-sdk 0.46
   158  	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"`
   159  }
   160  
   161  func (m *MsgWithdrawDelegatorRewardResponse) Reset()         { *m = MsgWithdrawDelegatorRewardResponse{} }
   162  func (m *MsgWithdrawDelegatorRewardResponse) String() string { return proto.CompactTextString(m) }
   163  func (*MsgWithdrawDelegatorRewardResponse) ProtoMessage()    {}
   164  func (*MsgWithdrawDelegatorRewardResponse) Descriptor() ([]byte, []int) {
   165  	return fileDescriptor_ed4f433d965e58ca, []int{3}
   166  }
   167  func (m *MsgWithdrawDelegatorRewardResponse) XXX_Unmarshal(b []byte) error {
   168  	return m.Unmarshal(b)
   169  }
   170  func (m *MsgWithdrawDelegatorRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   171  	if deterministic {
   172  		return xxx_messageInfo_MsgWithdrawDelegatorRewardResponse.Marshal(b, m, deterministic)
   173  	} else {
   174  		b = b[:cap(b)]
   175  		n, err := m.MarshalToSizedBuffer(b)
   176  		if err != nil {
   177  			return nil, err
   178  		}
   179  		return b[:n], nil
   180  	}
   181  }
   182  func (m *MsgWithdrawDelegatorRewardResponse) XXX_Merge(src proto.Message) {
   183  	xxx_messageInfo_MsgWithdrawDelegatorRewardResponse.Merge(m, src)
   184  }
   185  func (m *MsgWithdrawDelegatorRewardResponse) XXX_Size() int {
   186  	return m.Size()
   187  }
   188  func (m *MsgWithdrawDelegatorRewardResponse) XXX_DiscardUnknown() {
   189  	xxx_messageInfo_MsgWithdrawDelegatorRewardResponse.DiscardUnknown(m)
   190  }
   191  
   192  var xxx_messageInfo_MsgWithdrawDelegatorRewardResponse proto.InternalMessageInfo
   193  
   194  func (m *MsgWithdrawDelegatorRewardResponse) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins {
   195  	if m != nil {
   196  		return m.Amount
   197  	}
   198  	return nil
   199  }
   200  
   201  // MsgWithdrawValidatorCommission withdraws the full commission to the validator
   202  // address.
   203  type MsgWithdrawValidatorCommission struct {
   204  	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
   205  }
   206  
   207  func (m *MsgWithdrawValidatorCommission) Reset()         { *m = MsgWithdrawValidatorCommission{} }
   208  func (m *MsgWithdrawValidatorCommission) String() string { return proto.CompactTextString(m) }
   209  func (*MsgWithdrawValidatorCommission) ProtoMessage()    {}
   210  func (*MsgWithdrawValidatorCommission) Descriptor() ([]byte, []int) {
   211  	return fileDescriptor_ed4f433d965e58ca, []int{4}
   212  }
   213  func (m *MsgWithdrawValidatorCommission) XXX_Unmarshal(b []byte) error {
   214  	return m.Unmarshal(b)
   215  }
   216  func (m *MsgWithdrawValidatorCommission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   217  	if deterministic {
   218  		return xxx_messageInfo_MsgWithdrawValidatorCommission.Marshal(b, m, deterministic)
   219  	} else {
   220  		b = b[:cap(b)]
   221  		n, err := m.MarshalToSizedBuffer(b)
   222  		if err != nil {
   223  			return nil, err
   224  		}
   225  		return b[:n], nil
   226  	}
   227  }
   228  func (m *MsgWithdrawValidatorCommission) XXX_Merge(src proto.Message) {
   229  	xxx_messageInfo_MsgWithdrawValidatorCommission.Merge(m, src)
   230  }
   231  func (m *MsgWithdrawValidatorCommission) XXX_Size() int {
   232  	return m.Size()
   233  }
   234  func (m *MsgWithdrawValidatorCommission) XXX_DiscardUnknown() {
   235  	xxx_messageInfo_MsgWithdrawValidatorCommission.DiscardUnknown(m)
   236  }
   237  
   238  var xxx_messageInfo_MsgWithdrawValidatorCommission proto.InternalMessageInfo
   239  
   240  // MsgWithdrawValidatorCommissionResponse defines the
   241  // Msg/WithdrawValidatorCommission response type.
   242  type MsgWithdrawValidatorCommissionResponse struct {
   243  	// Since: cosmos-sdk 0.46
   244  	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"`
   245  }
   246  
   247  func (m *MsgWithdrawValidatorCommissionResponse) Reset() {
   248  	*m = MsgWithdrawValidatorCommissionResponse{}
   249  }
   250  func (m *MsgWithdrawValidatorCommissionResponse) String() string { return proto.CompactTextString(m) }
   251  func (*MsgWithdrawValidatorCommissionResponse) ProtoMessage()    {}
   252  func (*MsgWithdrawValidatorCommissionResponse) Descriptor() ([]byte, []int) {
   253  	return fileDescriptor_ed4f433d965e58ca, []int{5}
   254  }
   255  func (m *MsgWithdrawValidatorCommissionResponse) XXX_Unmarshal(b []byte) error {
   256  	return m.Unmarshal(b)
   257  }
   258  func (m *MsgWithdrawValidatorCommissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   259  	if deterministic {
   260  		return xxx_messageInfo_MsgWithdrawValidatorCommissionResponse.Marshal(b, m, deterministic)
   261  	} else {
   262  		b = b[:cap(b)]
   263  		n, err := m.MarshalToSizedBuffer(b)
   264  		if err != nil {
   265  			return nil, err
   266  		}
   267  		return b[:n], nil
   268  	}
   269  }
   270  func (m *MsgWithdrawValidatorCommissionResponse) XXX_Merge(src proto.Message) {
   271  	xxx_messageInfo_MsgWithdrawValidatorCommissionResponse.Merge(m, src)
   272  }
   273  func (m *MsgWithdrawValidatorCommissionResponse) XXX_Size() int {
   274  	return m.Size()
   275  }
   276  func (m *MsgWithdrawValidatorCommissionResponse) XXX_DiscardUnknown() {
   277  	xxx_messageInfo_MsgWithdrawValidatorCommissionResponse.DiscardUnknown(m)
   278  }
   279  
   280  var xxx_messageInfo_MsgWithdrawValidatorCommissionResponse proto.InternalMessageInfo
   281  
   282  func (m *MsgWithdrawValidatorCommissionResponse) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins {
   283  	if m != nil {
   284  		return m.Amount
   285  	}
   286  	return nil
   287  }
   288  
   289  // MsgFundCommunityPool allows an account to directly
   290  // fund the community pool.
   291  type MsgFundCommunityPool struct {
   292  	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"`
   293  	Depositor string                                   `protobuf:"bytes,2,opt,name=depositor,proto3" json:"depositor,omitempty"`
   294  }
   295  
   296  func (m *MsgFundCommunityPool) Reset()         { *m = MsgFundCommunityPool{} }
   297  func (m *MsgFundCommunityPool) String() string { return proto.CompactTextString(m) }
   298  func (*MsgFundCommunityPool) ProtoMessage()    {}
   299  func (*MsgFundCommunityPool) Descriptor() ([]byte, []int) {
   300  	return fileDescriptor_ed4f433d965e58ca, []int{6}
   301  }
   302  func (m *MsgFundCommunityPool) XXX_Unmarshal(b []byte) error {
   303  	return m.Unmarshal(b)
   304  }
   305  func (m *MsgFundCommunityPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   306  	if deterministic {
   307  		return xxx_messageInfo_MsgFundCommunityPool.Marshal(b, m, deterministic)
   308  	} else {
   309  		b = b[:cap(b)]
   310  		n, err := m.MarshalToSizedBuffer(b)
   311  		if err != nil {
   312  			return nil, err
   313  		}
   314  		return b[:n], nil
   315  	}
   316  }
   317  func (m *MsgFundCommunityPool) XXX_Merge(src proto.Message) {
   318  	xxx_messageInfo_MsgFundCommunityPool.Merge(m, src)
   319  }
   320  func (m *MsgFundCommunityPool) XXX_Size() int {
   321  	return m.Size()
   322  }
   323  func (m *MsgFundCommunityPool) XXX_DiscardUnknown() {
   324  	xxx_messageInfo_MsgFundCommunityPool.DiscardUnknown(m)
   325  }
   326  
   327  var xxx_messageInfo_MsgFundCommunityPool proto.InternalMessageInfo
   328  
   329  // MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type.
   330  type MsgFundCommunityPoolResponse struct {
   331  }
   332  
   333  func (m *MsgFundCommunityPoolResponse) Reset()         { *m = MsgFundCommunityPoolResponse{} }
   334  func (m *MsgFundCommunityPoolResponse) String() string { return proto.CompactTextString(m) }
   335  func (*MsgFundCommunityPoolResponse) ProtoMessage()    {}
   336  func (*MsgFundCommunityPoolResponse) Descriptor() ([]byte, []int) {
   337  	return fileDescriptor_ed4f433d965e58ca, []int{7}
   338  }
   339  func (m *MsgFundCommunityPoolResponse) XXX_Unmarshal(b []byte) error {
   340  	return m.Unmarshal(b)
   341  }
   342  func (m *MsgFundCommunityPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   343  	if deterministic {
   344  		return xxx_messageInfo_MsgFundCommunityPoolResponse.Marshal(b, m, deterministic)
   345  	} else {
   346  		b = b[:cap(b)]
   347  		n, err := m.MarshalToSizedBuffer(b)
   348  		if err != nil {
   349  			return nil, err
   350  		}
   351  		return b[:n], nil
   352  	}
   353  }
   354  func (m *MsgFundCommunityPoolResponse) XXX_Merge(src proto.Message) {
   355  	xxx_messageInfo_MsgFundCommunityPoolResponse.Merge(m, src)
   356  }
   357  func (m *MsgFundCommunityPoolResponse) XXX_Size() int {
   358  	return m.Size()
   359  }
   360  func (m *MsgFundCommunityPoolResponse) XXX_DiscardUnknown() {
   361  	xxx_messageInfo_MsgFundCommunityPoolResponse.DiscardUnknown(m)
   362  }
   363  
   364  var xxx_messageInfo_MsgFundCommunityPoolResponse proto.InternalMessageInfo
   365  
   366  // MsgUpdateParams is the Msg/UpdateParams request type.
   367  //
   368  // Since: cosmos-sdk 0.47
   369  type MsgUpdateParams struct {
   370  	// authority is the address that controls the module (defaults to x/gov unless overwritten).
   371  	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
   372  	// params defines the x/distribution parameters to update.
   373  	//
   374  	// NOTE: All parameters must be supplied.
   375  	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
   376  }
   377  
   378  func (m *MsgUpdateParams) Reset()         { *m = MsgUpdateParams{} }
   379  func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) }
   380  func (*MsgUpdateParams) ProtoMessage()    {}
   381  func (*MsgUpdateParams) Descriptor() ([]byte, []int) {
   382  	return fileDescriptor_ed4f433d965e58ca, []int{8}
   383  }
   384  func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error {
   385  	return m.Unmarshal(b)
   386  }
   387  func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   388  	if deterministic {
   389  		return xxx_messageInfo_MsgUpdateParams.Marshal(b, m, deterministic)
   390  	} else {
   391  		b = b[:cap(b)]
   392  		n, err := m.MarshalToSizedBuffer(b)
   393  		if err != nil {
   394  			return nil, err
   395  		}
   396  		return b[:n], nil
   397  	}
   398  }
   399  func (m *MsgUpdateParams) XXX_Merge(src proto.Message) {
   400  	xxx_messageInfo_MsgUpdateParams.Merge(m, src)
   401  }
   402  func (m *MsgUpdateParams) XXX_Size() int {
   403  	return m.Size()
   404  }
   405  func (m *MsgUpdateParams) XXX_DiscardUnknown() {
   406  	xxx_messageInfo_MsgUpdateParams.DiscardUnknown(m)
   407  }
   408  
   409  var xxx_messageInfo_MsgUpdateParams proto.InternalMessageInfo
   410  
   411  func (m *MsgUpdateParams) GetAuthority() string {
   412  	if m != nil {
   413  		return m.Authority
   414  	}
   415  	return ""
   416  }
   417  
   418  func (m *MsgUpdateParams) GetParams() Params {
   419  	if m != nil {
   420  		return m.Params
   421  	}
   422  	return Params{}
   423  }
   424  
   425  // MsgUpdateParamsResponse defines the response structure for executing a
   426  // MsgUpdateParams message.
   427  //
   428  // Since: cosmos-sdk 0.47
   429  type MsgUpdateParamsResponse struct {
   430  }
   431  
   432  func (m *MsgUpdateParamsResponse) Reset()         { *m = MsgUpdateParamsResponse{} }
   433  func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) }
   434  func (*MsgUpdateParamsResponse) ProtoMessage()    {}
   435  func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) {
   436  	return fileDescriptor_ed4f433d965e58ca, []int{9}
   437  }
   438  func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error {
   439  	return m.Unmarshal(b)
   440  }
   441  func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   442  	if deterministic {
   443  		return xxx_messageInfo_MsgUpdateParamsResponse.Marshal(b, m, deterministic)
   444  	} else {
   445  		b = b[:cap(b)]
   446  		n, err := m.MarshalToSizedBuffer(b)
   447  		if err != nil {
   448  			return nil, err
   449  		}
   450  		return b[:n], nil
   451  	}
   452  }
   453  func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) {
   454  	xxx_messageInfo_MsgUpdateParamsResponse.Merge(m, src)
   455  }
   456  func (m *MsgUpdateParamsResponse) XXX_Size() int {
   457  	return m.Size()
   458  }
   459  func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() {
   460  	xxx_messageInfo_MsgUpdateParamsResponse.DiscardUnknown(m)
   461  }
   462  
   463  var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo
   464  
   465  // MsgCommunityPoolSpend defines a message for sending tokens from the community
   466  // pool to another account. This message is typically executed via a governance
   467  // proposal with the governance module being the executing authority.
   468  //
   469  // Since: cosmos-sdk 0.47
   470  type MsgCommunityPoolSpend struct {
   471  	// authority is the address that controls the module (defaults to x/gov unless overwritten).
   472  	Authority string                                   `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
   473  	Recipient string                                   `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
   474  	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"`
   475  }
   476  
   477  func (m *MsgCommunityPoolSpend) Reset()         { *m = MsgCommunityPoolSpend{} }
   478  func (m *MsgCommunityPoolSpend) String() string { return proto.CompactTextString(m) }
   479  func (*MsgCommunityPoolSpend) ProtoMessage()    {}
   480  func (*MsgCommunityPoolSpend) Descriptor() ([]byte, []int) {
   481  	return fileDescriptor_ed4f433d965e58ca, []int{10}
   482  }
   483  func (m *MsgCommunityPoolSpend) XXX_Unmarshal(b []byte) error {
   484  	return m.Unmarshal(b)
   485  }
   486  func (m *MsgCommunityPoolSpend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   487  	if deterministic {
   488  		return xxx_messageInfo_MsgCommunityPoolSpend.Marshal(b, m, deterministic)
   489  	} else {
   490  		b = b[:cap(b)]
   491  		n, err := m.MarshalToSizedBuffer(b)
   492  		if err != nil {
   493  			return nil, err
   494  		}
   495  		return b[:n], nil
   496  	}
   497  }
   498  func (m *MsgCommunityPoolSpend) XXX_Merge(src proto.Message) {
   499  	xxx_messageInfo_MsgCommunityPoolSpend.Merge(m, src)
   500  }
   501  func (m *MsgCommunityPoolSpend) XXX_Size() int {
   502  	return m.Size()
   503  }
   504  func (m *MsgCommunityPoolSpend) XXX_DiscardUnknown() {
   505  	xxx_messageInfo_MsgCommunityPoolSpend.DiscardUnknown(m)
   506  }
   507  
   508  var xxx_messageInfo_MsgCommunityPoolSpend proto.InternalMessageInfo
   509  
   510  func (m *MsgCommunityPoolSpend) GetAuthority() string {
   511  	if m != nil {
   512  		return m.Authority
   513  	}
   514  	return ""
   515  }
   516  
   517  func (m *MsgCommunityPoolSpend) GetRecipient() string {
   518  	if m != nil {
   519  		return m.Recipient
   520  	}
   521  	return ""
   522  }
   523  
   524  func (m *MsgCommunityPoolSpend) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins {
   525  	if m != nil {
   526  		return m.Amount
   527  	}
   528  	return nil
   529  }
   530  
   531  // MsgCommunityPoolSpendResponse defines the response to executing a
   532  // MsgCommunityPoolSpend message.
   533  //
   534  // Since: cosmos-sdk 0.47
   535  type MsgCommunityPoolSpendResponse struct {
   536  }
   537  
   538  func (m *MsgCommunityPoolSpendResponse) Reset()         { *m = MsgCommunityPoolSpendResponse{} }
   539  func (m *MsgCommunityPoolSpendResponse) String() string { return proto.CompactTextString(m) }
   540  func (*MsgCommunityPoolSpendResponse) ProtoMessage()    {}
   541  func (*MsgCommunityPoolSpendResponse) Descriptor() ([]byte, []int) {
   542  	return fileDescriptor_ed4f433d965e58ca, []int{11}
   543  }
   544  func (m *MsgCommunityPoolSpendResponse) XXX_Unmarshal(b []byte) error {
   545  	return m.Unmarshal(b)
   546  }
   547  func (m *MsgCommunityPoolSpendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   548  	if deterministic {
   549  		return xxx_messageInfo_MsgCommunityPoolSpendResponse.Marshal(b, m, deterministic)
   550  	} else {
   551  		b = b[:cap(b)]
   552  		n, err := m.MarshalToSizedBuffer(b)
   553  		if err != nil {
   554  			return nil, err
   555  		}
   556  		return b[:n], nil
   557  	}
   558  }
   559  func (m *MsgCommunityPoolSpendResponse) XXX_Merge(src proto.Message) {
   560  	xxx_messageInfo_MsgCommunityPoolSpendResponse.Merge(m, src)
   561  }
   562  func (m *MsgCommunityPoolSpendResponse) XXX_Size() int {
   563  	return m.Size()
   564  }
   565  func (m *MsgCommunityPoolSpendResponse) XXX_DiscardUnknown() {
   566  	xxx_messageInfo_MsgCommunityPoolSpendResponse.DiscardUnknown(m)
   567  }
   568  
   569  var xxx_messageInfo_MsgCommunityPoolSpendResponse proto.InternalMessageInfo
   570  
   571  // DepositValidatorRewardsPool defines the request structure to provide
   572  // additional rewards to delegators from a specific validator.
   573  //
   574  // Since: cosmos-sdk 0.50
   575  type MsgDepositValidatorRewardsPool struct {
   576  	Depositor        string                                   `protobuf:"bytes,1,opt,name=depositor,proto3" json:"depositor,omitempty"`
   577  	ValidatorAddress string                                   `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
   578  	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"`
   579  }
   580  
   581  func (m *MsgDepositValidatorRewardsPool) Reset()         { *m = MsgDepositValidatorRewardsPool{} }
   582  func (m *MsgDepositValidatorRewardsPool) String() string { return proto.CompactTextString(m) }
   583  func (*MsgDepositValidatorRewardsPool) ProtoMessage()    {}
   584  func (*MsgDepositValidatorRewardsPool) Descriptor() ([]byte, []int) {
   585  	return fileDescriptor_ed4f433d965e58ca, []int{12}
   586  }
   587  func (m *MsgDepositValidatorRewardsPool) XXX_Unmarshal(b []byte) error {
   588  	return m.Unmarshal(b)
   589  }
   590  func (m *MsgDepositValidatorRewardsPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   591  	if deterministic {
   592  		return xxx_messageInfo_MsgDepositValidatorRewardsPool.Marshal(b, m, deterministic)
   593  	} else {
   594  		b = b[:cap(b)]
   595  		n, err := m.MarshalToSizedBuffer(b)
   596  		if err != nil {
   597  			return nil, err
   598  		}
   599  		return b[:n], nil
   600  	}
   601  }
   602  func (m *MsgDepositValidatorRewardsPool) XXX_Merge(src proto.Message) {
   603  	xxx_messageInfo_MsgDepositValidatorRewardsPool.Merge(m, src)
   604  }
   605  func (m *MsgDepositValidatorRewardsPool) XXX_Size() int {
   606  	return m.Size()
   607  }
   608  func (m *MsgDepositValidatorRewardsPool) XXX_DiscardUnknown() {
   609  	xxx_messageInfo_MsgDepositValidatorRewardsPool.DiscardUnknown(m)
   610  }
   611  
   612  var xxx_messageInfo_MsgDepositValidatorRewardsPool proto.InternalMessageInfo
   613  
   614  // MsgDepositValidatorRewardsPoolResponse defines the response to executing a
   615  // MsgDepositValidatorRewardsPool message.
   616  //
   617  // Since: cosmos-sdk 0.50
   618  type MsgDepositValidatorRewardsPoolResponse struct {
   619  }
   620  
   621  func (m *MsgDepositValidatorRewardsPoolResponse) Reset() {
   622  	*m = MsgDepositValidatorRewardsPoolResponse{}
   623  }
   624  func (m *MsgDepositValidatorRewardsPoolResponse) String() string { return proto.CompactTextString(m) }
   625  func (*MsgDepositValidatorRewardsPoolResponse) ProtoMessage()    {}
   626  func (*MsgDepositValidatorRewardsPoolResponse) Descriptor() ([]byte, []int) {
   627  	return fileDescriptor_ed4f433d965e58ca, []int{13}
   628  }
   629  func (m *MsgDepositValidatorRewardsPoolResponse) XXX_Unmarshal(b []byte) error {
   630  	return m.Unmarshal(b)
   631  }
   632  func (m *MsgDepositValidatorRewardsPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   633  	if deterministic {
   634  		return xxx_messageInfo_MsgDepositValidatorRewardsPoolResponse.Marshal(b, m, deterministic)
   635  	} else {
   636  		b = b[:cap(b)]
   637  		n, err := m.MarshalToSizedBuffer(b)
   638  		if err != nil {
   639  			return nil, err
   640  		}
   641  		return b[:n], nil
   642  	}
   643  }
   644  func (m *MsgDepositValidatorRewardsPoolResponse) XXX_Merge(src proto.Message) {
   645  	xxx_messageInfo_MsgDepositValidatorRewardsPoolResponse.Merge(m, src)
   646  }
   647  func (m *MsgDepositValidatorRewardsPoolResponse) XXX_Size() int {
   648  	return m.Size()
   649  }
   650  func (m *MsgDepositValidatorRewardsPoolResponse) XXX_DiscardUnknown() {
   651  	xxx_messageInfo_MsgDepositValidatorRewardsPoolResponse.DiscardUnknown(m)
   652  }
   653  
   654  var xxx_messageInfo_MsgDepositValidatorRewardsPoolResponse proto.InternalMessageInfo
   655  
   656  func init() {
   657  	proto.RegisterType((*MsgSetWithdrawAddress)(nil), "cosmos.distribution.v1beta1.MsgSetWithdrawAddress")
   658  	proto.RegisterType((*MsgSetWithdrawAddressResponse)(nil), "cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse")
   659  	proto.RegisterType((*MsgWithdrawDelegatorReward)(nil), "cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward")
   660  	proto.RegisterType((*MsgWithdrawDelegatorRewardResponse)(nil), "cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse")
   661  	proto.RegisterType((*MsgWithdrawValidatorCommission)(nil), "cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission")
   662  	proto.RegisterType((*MsgWithdrawValidatorCommissionResponse)(nil), "cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse")
   663  	proto.RegisterType((*MsgFundCommunityPool)(nil), "cosmos.distribution.v1beta1.MsgFundCommunityPool")
   664  	proto.RegisterType((*MsgFundCommunityPoolResponse)(nil), "cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse")
   665  	proto.RegisterType((*MsgUpdateParams)(nil), "cosmos.distribution.v1beta1.MsgUpdateParams")
   666  	proto.RegisterType((*MsgUpdateParamsResponse)(nil), "cosmos.distribution.v1beta1.MsgUpdateParamsResponse")
   667  	proto.RegisterType((*MsgCommunityPoolSpend)(nil), "cosmos.distribution.v1beta1.MsgCommunityPoolSpend")
   668  	proto.RegisterType((*MsgCommunityPoolSpendResponse)(nil), "cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse")
   669  	proto.RegisterType((*MsgDepositValidatorRewardsPool)(nil), "cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool")
   670  	proto.RegisterType((*MsgDepositValidatorRewardsPoolResponse)(nil), "cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPoolResponse")
   671  }
   672  
   673  func init() {
   674  	proto.RegisterFile("cosmos/distribution/v1beta1/tx.proto", fileDescriptor_ed4f433d965e58ca)
   675  }
   676  
   677  var fileDescriptor_ed4f433d965e58ca = []byte{
   678  	// 925 bytes of a gzipped FileDescriptorProto
   679  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0x41, 0x6f, 0xe3, 0x44,
   680  	0x14, 0xce, 0xa4, 0xa2, 0x28, 0xb3, 0x2b, 0xed, 0x26, 0x2a, 0x6a, 0xeb, 0xdd, 0x75, 0x16, 0x17,
   681  	0x4a, 0x14, 0x51, 0x5b, 0x09, 0x08, 0x54, 0x73, 0x00, 0x92, 0x12, 0x89, 0x43, 0xa0, 0x4a, 0x05,
   682  	0x48, 0x5c, 0x2a, 0x27, 0x36, 0xee, 0x88, 0xda, 0x63, 0x79, 0x26, 0x49, 0x73, 0x03, 0x04, 0x12,
   683  	0xe2, 0x84, 0xc4, 0x8d, 0x4b, 0x2b, 0xf5, 0x52, 0x71, 0xca, 0xa1, 0x07, 0x7e, 0x42, 0x2f, 0x48,
   684  	0x55, 0x4f, 0x9c, 0x00, 0xa5, 0x42, 0x41, 0x82, 0xdf, 0x80, 0x90, 0xed, 0x89, 0x63, 0xc7, 0x8e,
   685  	0xdd, 0x96, 0x8a, 0x72, 0x69, 0xab, 0x99, 0xf7, 0xbe, 0xf9, 0xde, 0x37, 0xdf, 0xbc, 0xe7, 0xc2,
   686  	0x17, 0x3a, 0x98, 0x18, 0x98, 0x48, 0x2a, 0x22, 0xd4, 0x46, 0xed, 0x2e, 0x45, 0xd8, 0x94, 0x7a,
   687  	0x95, 0xb6, 0x46, 0x95, 0x8a, 0x44, 0x0f, 0x44, 0xcb, 0xc6, 0x14, 0x17, 0x1e, 0x79, 0x51, 0x62,
   688  	0x30, 0x4a, 0x64, 0x51, 0xdc, 0x92, 0x8e, 0x75, 0xec, 0xc6, 0x49, 0xce, 0x5f, 0x5e, 0x0a, 0xc7,
   689  	0x33, 0xe0, 0xb6, 0x42, 0x34, 0x1f, 0xb0, 0x83, 0x91, 0xc9, 0xf6, 0x57, 0xbd, 0xfd, 0x5d, 0x2f,
   690  	0x91, 0xe1, 0x7b, 0x5b, 0xcb, 0x2c, 0xd5, 0x20, 0xba, 0xd4, 0xab, 0x38, 0xbf, 0xd8, 0x46, 0x5e,
   691  	0x31, 0x90, 0x89, 0x25, 0xf7, 0x27, 0x5b, 0x12, 0x93, 0xf8, 0x87, 0xe8, 0xba, 0xf1, 0xc2, 0x9f,
   692  	0x00, 0x3e, 0xd7, 0x24, 0xfa, 0x8e, 0x46, 0x3f, 0x42, 0x74, 0x4f, 0xb5, 0x95, 0xfe, 0xdb, 0xaa,
   693  	0x6a, 0x6b, 0x84, 0x14, 0xde, 0x81, 0x79, 0x55, 0xdb, 0xd7, 0x74, 0x85, 0x62, 0x7b, 0x57, 0xf1,
   694  	0x16, 0x57, 0xc0, 0x53, 0x50, 0xca, 0xd5, 0x56, 0x2e, 0x4e, 0x37, 0x96, 0x18, 0x45, 0x16, 0xbe,
   695  	0x43, 0x6d, 0x64, 0xea, 0xad, 0x87, 0x7e, 0xca, 0x04, 0xa6, 0x0e, 0x1f, 0xf6, 0x19, 0xb2, 0x8f,
   696  	0x92, 0x4d, 0x41, 0x79, 0xd0, 0x0f, 0x73, 0x91, 0x1b, 0x5f, 0x1f, 0x15, 0x33, 0x7f, 0x1c, 0x15,
   697  	0x33, 0x5f, 0x8c, 0x87, 0xe5, 0x28, 0xad, 0x6f, 0xc6, 0xc3, 0xf2, 0x9a, 0x87, 0xb4, 0x41, 0xd4,
   698  	0x4f, 0xa5, 0x26, 0xd1, 0x9b, 0x58, 0x45, 0x9f, 0x0c, 0x66, 0x6a, 0x12, 0x8a, 0xf0, 0x49, 0x6c,
   699  	0xb1, 0x2d, 0x8d, 0x58, 0xd8, 0x24, 0x9a, 0xf0, 0x37, 0x80, 0x5c, 0x93, 0xe8, 0x93, 0xed, 0xad,
   700  	0xc9, 0x49, 0x2d, 0xad, 0xaf, 0xd8, 0xea, 0x6d, 0x69, 0xf2, 0x1e, 0xcc, 0xf7, 0x94, 0x7d, 0xa4,
   701  	0x86, 0x60, 0x3c, 0x51, 0x9e, 0xbf, 0x38, 0xdd, 0x78, 0xc2, 0x60, 0x3e, 0x9c, 0xc4, 0xcc, 0xe0,
   702  	0xf5, 0x66, 0xd6, 0xe5, 0x77, 0xd3, 0xe5, 0x59, 0x0f, 0xcb, 0x33, 0x53, 0x20, 0xc2, 0xa6, 0x57,
   703  	0xa1, 0x70, 0x08, 0xa0, 0x30, 0x5f, 0x80, 0x89, 0x4e, 0x85, 0x01, 0x5c, 0x54, 0x0c, 0xdc, 0x35,
   704  	0xe9, 0x0a, 0x78, 0xba, 0x50, 0xba, 0x57, 0x5d, 0x65, 0xbe, 0x13, 0x1d, 0x7b, 0x4f, 0x5e, 0x82,
   705  	0x58, 0xc7, 0xc8, 0xac, 0x35, 0xce, 0x7e, 0x29, 0x66, 0x7e, 0xf8, 0xb5, 0x58, 0xd2, 0x11, 0xdd,
   706  	0xeb, 0xb6, 0xc5, 0x0e, 0x36, 0x98, 0xbd, 0xa5, 0x00, 0x27, 0x3a, 0xb0, 0x34, 0xe2, 0x26, 0x90,
   707  	0xef, 0xc7, 0xc3, 0xf2, 0x7d, 0xe7, 0xd8, 0xce, 0x60, 0xd7, 0x79, 0x20, 0xe4, 0x64, 0x3c, 0x2c,
   708  	0x83, 0x16, 0x3b, 0x50, 0xf8, 0x11, 0x40, 0x3e, 0xc0, 0xd0, 0x17, 0xa9, 0x8e, 0x0d, 0x03, 0x11,
   709  	0x82, 0xb0, 0x19, 0xaf, 0x2f, 0xb8, 0xb9, 0xbe, 0x61, 0xfb, 0x45, 0xa0, 0x63, 0xec, 0x17, 0x60,
   710  	0x37, 0xe5, 0x25, 0x1c, 0x03, 0xb8, 0x9e, 0x4c, 0xfd, 0xff, 0x20, 0xf0, 0x57, 0x59, 0xb8, 0xd4,
   711  	0x24, 0x7a, 0xa3, 0x6b, 0xaa, 0x0e, 0xb1, 0xae, 0x89, 0xe8, 0x60, 0x1b, 0xe3, 0xfd, 0x3b, 0xe4,
   712  	0x54, 0x78, 0x0d, 0xe6, 0x54, 0xcd, 0xc2, 0x04, 0x51, 0x6c, 0xa7, 0xb6, 0x8f, 0x69, 0xa8, 0x2c,
   713  	0x07, 0x6f, 0x6e, 0xba, 0xee, 0xdc, 0x58, 0x31, 0x7c, 0x63, 0x91, 0x72, 0x05, 0x1e, 0x3e, 0x8e,
   714  	0x5b, 0xf7, 0x7b, 0xc5, 0x4f, 0x00, 0x3e, 0x68, 0x12, 0xfd, 0x03, 0x4b, 0x55, 0xa8, 0xb6, 0xad,
   715  	0xd8, 0x8a, 0x41, 0x1c, 0x9e, 0x4a, 0x97, 0xee, 0x61, 0x1b, 0xd1, 0x41, 0x6a, 0x63, 0x98, 0x86,
   716  	0x16, 0x1a, 0x70, 0xd1, 0x72, 0x11, 0xdc, 0xe2, 0xee, 0x55, 0xd7, 0xc4, 0x84, 0x09, 0x23, 0x7a,
   717  	0x87, 0xd5, 0x72, 0x8e, 0xc8, 0x4c, 0x27, 0x2f, 0x5b, 0x96, 0xdd, 0x3a, 0x7d, 0x5c, 0xa7, 0xce,
   718  	0x97, 0x02, 0x75, 0x86, 0xa6, 0xc2, 0x0c, 0x77, 0x61, 0x15, 0x2e, 0xcf, 0x2c, 0xf9, 0xa5, 0x1e,
   719  	0x67, 0xdd, 0x29, 0x11, 0xd2, 0x61, 0xc7, 0xd2, 0x4c, 0xf5, 0xc6, 0x05, 0x3f, 0x86, 0x39, 0x5b,
   720  	0xeb, 0x20, 0x0b, 0x69, 0x26, 0xf5, 0x2e, 0xb4, 0x35, 0x5d, 0x08, 0x38, 0x6d, 0xe1, 0x3f, 0x76,
   721  	0x9a, 0xbc, 0x19, 0x55, 0x70, 0x7d, 0x56, 0x41, 0x29, 0x56, 0x0b, 0x36, 0x5d, 0xa2, 0x1b, 0xbe,
   722  	0x8c, 0xbf, 0x67, 0xdd, 0xd6, 0xb5, 0xe5, 0xd9, 0xd0, 0x7f, 0xfe, 0x5e, 0x6f, 0x25, 0xee, 0x1b,
   723  	0x0b, 0x19, 0x1d, 0x5c, 0xd9, 0xe8, 0xb7, 0x3d, 0x52, 0xee, 0xf2, 0x06, 0xde, 0x9a, 0xff, 0x66,
   724  	0x5f, 0x8c, 0xbb, 0x89, 0xa9, 0x9c, 0x4c, 0x48, 0xa1, 0xe4, 0xb6, 0xd9, 0x04, 0x99, 0x27, 0x37,
   725  	0x52, 0xfd, 0xeb, 0x59, 0xb8, 0xd0, 0x24, 0x7a, 0xe1, 0x4b, 0x00, 0x0b, 0x31, 0xdf, 0x40, 0xd5,
   726  	0xc4, 0x67, 0x18, 0xfb, 0x29, 0xc1, 0xc9, 0xd7, 0xcf, 0xf1, 0xbb, 0xfe, 0x77, 0x00, 0x2e, 0xcf,
   727  	0xfb, 0xf6, 0x78, 0x3d, 0x0d, 0x77, 0x4e, 0x22, 0xf7, 0xe6, 0x0d, 0x13, 0x7d, 0x56, 0x87, 0x00,
   728  	0x3e, 0x4a, 0x1a, 0xb7, 0x6f, 0x5c, 0xf5, 0x80, 0x98, 0x64, 0xae, 0xfe, 0x2f, 0x92, 0x7d, 0x86,
   729  	0x9f, 0x03, 0x98, 0x8f, 0xce, 0xab, 0x4a, 0x1a, 0x74, 0x24, 0x85, 0xdb, 0xbc, 0x76, 0x8a, 0xcf,
   730  	0xc1, 0x86, 0xf7, 0x43, 0xa3, 0xe0, 0xe5, 0x34, 0xa8, 0x60, 0x34, 0xf7, 0xea, 0x75, 0xa2, 0xfd,
   731  	0x33, 0x1d, 0xdb, 0xc6, 0x34, 0xe5, 0x54, 0xdb, 0x46, 0x73, 0xd2, 0x6d, 0x3b, 0xbf, 0xaf, 0xb9,
   732  	0x06, 0x49, 0x6a, 0x6a, 0xa9, 0x06, 0x49, 0x48, 0x4e, 0x37, 0xc8, 0x15, 0xde, 0x39, 0xf7, 0xcc,
   733  	0x67, 0x4e, 0x8b, 0xa9, 0xbd, 0x7f, 0x32, 0xe2, 0xc1, 0xd9, 0x88, 0x07, 0xe7, 0x23, 0x1e, 0xfc,
   734  	0x36, 0xe2, 0xc1, 0xb7, 0x97, 0x7c, 0xe6, 0xfc, 0x92, 0xcf, 0xfc, 0x7c, 0xc9, 0x67, 0x3e, 0xae,
   735  	0x24, 0x36, 0xb0, 0x83, 0xf0, 0xf4, 0x74, 0xfb, 0x59, 0x7b, 0xd1, 0xfd, 0x2f, 0xea, 0x95, 0x7f,
   736  	0x02, 0x00, 0x00, 0xff, 0xff, 0x97, 0xa4, 0x34, 0x89, 0x37, 0x0e, 0x00, 0x00,
   737  }
   738  
   739  func (this *MsgSetWithdrawAddressResponse) Equal(that interface{}) bool {
   740  	if that == nil {
   741  		return this == nil
   742  	}
   743  
   744  	that1, ok := that.(*MsgSetWithdrawAddressResponse)
   745  	if !ok {
   746  		that2, ok := that.(MsgSetWithdrawAddressResponse)
   747  		if ok {
   748  			that1 = &that2
   749  		} else {
   750  			return false
   751  		}
   752  	}
   753  	if that1 == nil {
   754  		return this == nil
   755  	} else if this == nil {
   756  		return false
   757  	}
   758  	return true
   759  }
   760  func (this *MsgWithdrawDelegatorRewardResponse) Equal(that interface{}) bool {
   761  	if that == nil {
   762  		return this == nil
   763  	}
   764  
   765  	that1, ok := that.(*MsgWithdrawDelegatorRewardResponse)
   766  	if !ok {
   767  		that2, ok := that.(MsgWithdrawDelegatorRewardResponse)
   768  		if ok {
   769  			that1 = &that2
   770  		} else {
   771  			return false
   772  		}
   773  	}
   774  	if that1 == nil {
   775  		return this == nil
   776  	} else if this == nil {
   777  		return false
   778  	}
   779  	if len(this.Amount) != len(that1.Amount) {
   780  		return false
   781  	}
   782  	for i := range this.Amount {
   783  		if !this.Amount[i].Equal(&that1.Amount[i]) {
   784  			return false
   785  		}
   786  	}
   787  	return true
   788  }
   789  func (this *MsgWithdrawValidatorCommissionResponse) Equal(that interface{}) bool {
   790  	if that == nil {
   791  		return this == nil
   792  	}
   793  
   794  	that1, ok := that.(*MsgWithdrawValidatorCommissionResponse)
   795  	if !ok {
   796  		that2, ok := that.(MsgWithdrawValidatorCommissionResponse)
   797  		if ok {
   798  			that1 = &that2
   799  		} else {
   800  			return false
   801  		}
   802  	}
   803  	if that1 == nil {
   804  		return this == nil
   805  	} else if this == nil {
   806  		return false
   807  	}
   808  	if len(this.Amount) != len(that1.Amount) {
   809  		return false
   810  	}
   811  	for i := range this.Amount {
   812  		if !this.Amount[i].Equal(&that1.Amount[i]) {
   813  			return false
   814  		}
   815  	}
   816  	return true
   817  }
   818  func (this *MsgFundCommunityPoolResponse) Equal(that interface{}) bool {
   819  	if that == nil {
   820  		return this == nil
   821  	}
   822  
   823  	that1, ok := that.(*MsgFundCommunityPoolResponse)
   824  	if !ok {
   825  		that2, ok := that.(MsgFundCommunityPoolResponse)
   826  		if ok {
   827  			that1 = &that2
   828  		} else {
   829  			return false
   830  		}
   831  	}
   832  	if that1 == nil {
   833  		return this == nil
   834  	} else if this == nil {
   835  		return false
   836  	}
   837  	return true
   838  }
   839  func (this *MsgUpdateParams) Equal(that interface{}) bool {
   840  	if that == nil {
   841  		return this == nil
   842  	}
   843  
   844  	that1, ok := that.(*MsgUpdateParams)
   845  	if !ok {
   846  		that2, ok := that.(MsgUpdateParams)
   847  		if ok {
   848  			that1 = &that2
   849  		} else {
   850  			return false
   851  		}
   852  	}
   853  	if that1 == nil {
   854  		return this == nil
   855  	} else if this == nil {
   856  		return false
   857  	}
   858  	if this.Authority != that1.Authority {
   859  		return false
   860  	}
   861  	if !this.Params.Equal(&that1.Params) {
   862  		return false
   863  	}
   864  	return true
   865  }
   866  func (this *MsgUpdateParamsResponse) Equal(that interface{}) bool {
   867  	if that == nil {
   868  		return this == nil
   869  	}
   870  
   871  	that1, ok := that.(*MsgUpdateParamsResponse)
   872  	if !ok {
   873  		that2, ok := that.(MsgUpdateParamsResponse)
   874  		if ok {
   875  			that1 = &that2
   876  		} else {
   877  			return false
   878  		}
   879  	}
   880  	if that1 == nil {
   881  		return this == nil
   882  	} else if this == nil {
   883  		return false
   884  	}
   885  	return true
   886  }
   887  func (this *MsgCommunityPoolSpend) Equal(that interface{}) bool {
   888  	if that == nil {
   889  		return this == nil
   890  	}
   891  
   892  	that1, ok := that.(*MsgCommunityPoolSpend)
   893  	if !ok {
   894  		that2, ok := that.(MsgCommunityPoolSpend)
   895  		if ok {
   896  			that1 = &that2
   897  		} else {
   898  			return false
   899  		}
   900  	}
   901  	if that1 == nil {
   902  		return this == nil
   903  	} else if this == nil {
   904  		return false
   905  	}
   906  	if this.Authority != that1.Authority {
   907  		return false
   908  	}
   909  	if this.Recipient != that1.Recipient {
   910  		return false
   911  	}
   912  	if len(this.Amount) != len(that1.Amount) {
   913  		return false
   914  	}
   915  	for i := range this.Amount {
   916  		if !this.Amount[i].Equal(&that1.Amount[i]) {
   917  			return false
   918  		}
   919  	}
   920  	return true
   921  }
   922  func (this *MsgCommunityPoolSpendResponse) Equal(that interface{}) bool {
   923  	if that == nil {
   924  		return this == nil
   925  	}
   926  
   927  	that1, ok := that.(*MsgCommunityPoolSpendResponse)
   928  	if !ok {
   929  		that2, ok := that.(MsgCommunityPoolSpendResponse)
   930  		if ok {
   931  			that1 = &that2
   932  		} else {
   933  			return false
   934  		}
   935  	}
   936  	if that1 == nil {
   937  		return this == nil
   938  	} else if this == nil {
   939  		return false
   940  	}
   941  	return true
   942  }
   943  func (this *MsgDepositValidatorRewardsPoolResponse) Equal(that interface{}) bool {
   944  	if that == nil {
   945  		return this == nil
   946  	}
   947  
   948  	that1, ok := that.(*MsgDepositValidatorRewardsPoolResponse)
   949  	if !ok {
   950  		that2, ok := that.(MsgDepositValidatorRewardsPoolResponse)
   951  		if ok {
   952  			that1 = &that2
   953  		} else {
   954  			return false
   955  		}
   956  	}
   957  	if that1 == nil {
   958  		return this == nil
   959  	} else if this == nil {
   960  		return false
   961  	}
   962  	return true
   963  }
   964  
   965  // Reference imports to suppress errors if they are not otherwise used.
   966  var _ context.Context
   967  var _ grpc.ClientConn
   968  
   969  // This is a compile-time assertion to ensure that this generated file
   970  // is compatible with the grpc package it is being compiled against.
   971  const _ = grpc.SupportPackageIsVersion4
   972  
   973  // MsgClient is the client API for Msg service.
   974  //
   975  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   976  type MsgClient interface {
   977  	// SetWithdrawAddress defines a method to change the withdraw address
   978  	// for a delegator (or validator self-delegation).
   979  	SetWithdrawAddress(ctx context.Context, in *MsgSetWithdrawAddress, opts ...grpc.CallOption) (*MsgSetWithdrawAddressResponse, error)
   980  	// WithdrawDelegatorReward defines a method to withdraw rewards of delegator
   981  	// from a single validator.
   982  	WithdrawDelegatorReward(ctx context.Context, in *MsgWithdrawDelegatorReward, opts ...grpc.CallOption) (*MsgWithdrawDelegatorRewardResponse, error)
   983  	// WithdrawValidatorCommission defines a method to withdraw the
   984  	// full commission to the validator address.
   985  	WithdrawValidatorCommission(ctx context.Context, in *MsgWithdrawValidatorCommission, opts ...grpc.CallOption) (*MsgWithdrawValidatorCommissionResponse, error)
   986  	// FundCommunityPool defines a method to allow an account to directly
   987  	// fund the community pool.
   988  	FundCommunityPool(ctx context.Context, in *MsgFundCommunityPool, opts ...grpc.CallOption) (*MsgFundCommunityPoolResponse, error)
   989  	// UpdateParams defines a governance operation for updating the x/distribution
   990  	// module parameters. The authority is defined in the keeper.
   991  	//
   992  	// Since: cosmos-sdk 0.47
   993  	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
   994  	// CommunityPoolSpend defines a governance operation for sending tokens from
   995  	// the community pool in the x/distribution module to another account, which
   996  	// could be the governance module itself. The authority is defined in the
   997  	// keeper.
   998  	//
   999  	// Since: cosmos-sdk 0.47
  1000  	CommunityPoolSpend(ctx context.Context, in *MsgCommunityPoolSpend, opts ...grpc.CallOption) (*MsgCommunityPoolSpendResponse, error)
  1001  	// DepositValidatorRewardsPool defines a method to provide additional rewards
  1002  	// to delegators to a specific validator.
  1003  	//
  1004  	// Since: cosmos-sdk 0.50
  1005  	DepositValidatorRewardsPool(ctx context.Context, in *MsgDepositValidatorRewardsPool, opts ...grpc.CallOption) (*MsgDepositValidatorRewardsPoolResponse, error)
  1006  }
  1007  
  1008  type msgClient struct {
  1009  	cc grpc1.ClientConn
  1010  }
  1011  
  1012  func NewMsgClient(cc grpc1.ClientConn) MsgClient {
  1013  	return &msgClient{cc}
  1014  }
  1015  
  1016  func (c *msgClient) SetWithdrawAddress(ctx context.Context, in *MsgSetWithdrawAddress, opts ...grpc.CallOption) (*MsgSetWithdrawAddressResponse, error) {
  1017  	out := new(MsgSetWithdrawAddressResponse)
  1018  	err := c.cc.Invoke(ctx, "/cosmos.distribution.v1beta1.Msg/SetWithdrawAddress", in, out, opts...)
  1019  	if err != nil {
  1020  		return nil, err
  1021  	}
  1022  	return out, nil
  1023  }
  1024  
  1025  func (c *msgClient) WithdrawDelegatorReward(ctx context.Context, in *MsgWithdrawDelegatorReward, opts ...grpc.CallOption) (*MsgWithdrawDelegatorRewardResponse, error) {
  1026  	out := new(MsgWithdrawDelegatorRewardResponse)
  1027  	err := c.cc.Invoke(ctx, "/cosmos.distribution.v1beta1.Msg/WithdrawDelegatorReward", in, out, opts...)
  1028  	if err != nil {
  1029  		return nil, err
  1030  	}
  1031  	return out, nil
  1032  }
  1033  
  1034  func (c *msgClient) WithdrawValidatorCommission(ctx context.Context, in *MsgWithdrawValidatorCommission, opts ...grpc.CallOption) (*MsgWithdrawValidatorCommissionResponse, error) {
  1035  	out := new(MsgWithdrawValidatorCommissionResponse)
  1036  	err := c.cc.Invoke(ctx, "/cosmos.distribution.v1beta1.Msg/WithdrawValidatorCommission", in, out, opts...)
  1037  	if err != nil {
  1038  		return nil, err
  1039  	}
  1040  	return out, nil
  1041  }
  1042  
  1043  func (c *msgClient) FundCommunityPool(ctx context.Context, in *MsgFundCommunityPool, opts ...grpc.CallOption) (*MsgFundCommunityPoolResponse, error) {
  1044  	out := new(MsgFundCommunityPoolResponse)
  1045  	err := c.cc.Invoke(ctx, "/cosmos.distribution.v1beta1.Msg/FundCommunityPool", in, out, opts...)
  1046  	if err != nil {
  1047  		return nil, err
  1048  	}
  1049  	return out, nil
  1050  }
  1051  
  1052  func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) {
  1053  	out := new(MsgUpdateParamsResponse)
  1054  	err := c.cc.Invoke(ctx, "/cosmos.distribution.v1beta1.Msg/UpdateParams", in, out, opts...)
  1055  	if err != nil {
  1056  		return nil, err
  1057  	}
  1058  	return out, nil
  1059  }
  1060  
  1061  func (c *msgClient) CommunityPoolSpend(ctx context.Context, in *MsgCommunityPoolSpend, opts ...grpc.CallOption) (*MsgCommunityPoolSpendResponse, error) {
  1062  	out := new(MsgCommunityPoolSpendResponse)
  1063  	err := c.cc.Invoke(ctx, "/cosmos.distribution.v1beta1.Msg/CommunityPoolSpend", in, out, opts...)
  1064  	if err != nil {
  1065  		return nil, err
  1066  	}
  1067  	return out, nil
  1068  }
  1069  
  1070  func (c *msgClient) DepositValidatorRewardsPool(ctx context.Context, in *MsgDepositValidatorRewardsPool, opts ...grpc.CallOption) (*MsgDepositValidatorRewardsPoolResponse, error) {
  1071  	out := new(MsgDepositValidatorRewardsPoolResponse)
  1072  	err := c.cc.Invoke(ctx, "/cosmos.distribution.v1beta1.Msg/DepositValidatorRewardsPool", in, out, opts...)
  1073  	if err != nil {
  1074  		return nil, err
  1075  	}
  1076  	return out, nil
  1077  }
  1078  
  1079  // MsgServer is the server API for Msg service.
  1080  type MsgServer interface {
  1081  	// SetWithdrawAddress defines a method to change the withdraw address
  1082  	// for a delegator (or validator self-delegation).
  1083  	SetWithdrawAddress(context.Context, *MsgSetWithdrawAddress) (*MsgSetWithdrawAddressResponse, error)
  1084  	// WithdrawDelegatorReward defines a method to withdraw rewards of delegator
  1085  	// from a single validator.
  1086  	WithdrawDelegatorReward(context.Context, *MsgWithdrawDelegatorReward) (*MsgWithdrawDelegatorRewardResponse, error)
  1087  	// WithdrawValidatorCommission defines a method to withdraw the
  1088  	// full commission to the validator address.
  1089  	WithdrawValidatorCommission(context.Context, *MsgWithdrawValidatorCommission) (*MsgWithdrawValidatorCommissionResponse, error)
  1090  	// FundCommunityPool defines a method to allow an account to directly
  1091  	// fund the community pool.
  1092  	FundCommunityPool(context.Context, *MsgFundCommunityPool) (*MsgFundCommunityPoolResponse, error)
  1093  	// UpdateParams defines a governance operation for updating the x/distribution
  1094  	// module parameters. The authority is defined in the keeper.
  1095  	//
  1096  	// Since: cosmos-sdk 0.47
  1097  	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
  1098  	// CommunityPoolSpend defines a governance operation for sending tokens from
  1099  	// the community pool in the x/distribution module to another account, which
  1100  	// could be the governance module itself. The authority is defined in the
  1101  	// keeper.
  1102  	//
  1103  	// Since: cosmos-sdk 0.47
  1104  	CommunityPoolSpend(context.Context, *MsgCommunityPoolSpend) (*MsgCommunityPoolSpendResponse, error)
  1105  	// DepositValidatorRewardsPool defines a method to provide additional rewards
  1106  	// to delegators to a specific validator.
  1107  	//
  1108  	// Since: cosmos-sdk 0.50
  1109  	DepositValidatorRewardsPool(context.Context, *MsgDepositValidatorRewardsPool) (*MsgDepositValidatorRewardsPoolResponse, error)
  1110  }
  1111  
  1112  // UnimplementedMsgServer can be embedded to have forward compatible implementations.
  1113  type UnimplementedMsgServer struct {
  1114  }
  1115  
  1116  func (*UnimplementedMsgServer) SetWithdrawAddress(ctx context.Context, req *MsgSetWithdrawAddress) (*MsgSetWithdrawAddressResponse, error) {
  1117  	return nil, status.Errorf(codes.Unimplemented, "method SetWithdrawAddress not implemented")
  1118  }
  1119  func (*UnimplementedMsgServer) WithdrawDelegatorReward(ctx context.Context, req *MsgWithdrawDelegatorReward) (*MsgWithdrawDelegatorRewardResponse, error) {
  1120  	return nil, status.Errorf(codes.Unimplemented, "method WithdrawDelegatorReward not implemented")
  1121  }
  1122  func (*UnimplementedMsgServer) WithdrawValidatorCommission(ctx context.Context, req *MsgWithdrawValidatorCommission) (*MsgWithdrawValidatorCommissionResponse, error) {
  1123  	return nil, status.Errorf(codes.Unimplemented, "method WithdrawValidatorCommission not implemented")
  1124  }
  1125  func (*UnimplementedMsgServer) FundCommunityPool(ctx context.Context, req *MsgFundCommunityPool) (*MsgFundCommunityPoolResponse, error) {
  1126  	return nil, status.Errorf(codes.Unimplemented, "method FundCommunityPool not implemented")
  1127  }
  1128  func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) {
  1129  	return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented")
  1130  }
  1131  func (*UnimplementedMsgServer) CommunityPoolSpend(ctx context.Context, req *MsgCommunityPoolSpend) (*MsgCommunityPoolSpendResponse, error) {
  1132  	return nil, status.Errorf(codes.Unimplemented, "method CommunityPoolSpend not implemented")
  1133  }
  1134  func (*UnimplementedMsgServer) DepositValidatorRewardsPool(ctx context.Context, req *MsgDepositValidatorRewardsPool) (*MsgDepositValidatorRewardsPoolResponse, error) {
  1135  	return nil, status.Errorf(codes.Unimplemented, "method DepositValidatorRewardsPool not implemented")
  1136  }
  1137  
  1138  func RegisterMsgServer(s grpc1.Server, srv MsgServer) {
  1139  	s.RegisterService(&_Msg_serviceDesc, srv)
  1140  }
  1141  
  1142  func _Msg_SetWithdrawAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1143  	in := new(MsgSetWithdrawAddress)
  1144  	if err := dec(in); err != nil {
  1145  		return nil, err
  1146  	}
  1147  	if interceptor == nil {
  1148  		return srv.(MsgServer).SetWithdrawAddress(ctx, in)
  1149  	}
  1150  	info := &grpc.UnaryServerInfo{
  1151  		Server:     srv,
  1152  		FullMethod: "/cosmos.distribution.v1beta1.Msg/SetWithdrawAddress",
  1153  	}
  1154  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1155  		return srv.(MsgServer).SetWithdrawAddress(ctx, req.(*MsgSetWithdrawAddress))
  1156  	}
  1157  	return interceptor(ctx, in, info, handler)
  1158  }
  1159  
  1160  func _Msg_WithdrawDelegatorReward_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1161  	in := new(MsgWithdrawDelegatorReward)
  1162  	if err := dec(in); err != nil {
  1163  		return nil, err
  1164  	}
  1165  	if interceptor == nil {
  1166  		return srv.(MsgServer).WithdrawDelegatorReward(ctx, in)
  1167  	}
  1168  	info := &grpc.UnaryServerInfo{
  1169  		Server:     srv,
  1170  		FullMethod: "/cosmos.distribution.v1beta1.Msg/WithdrawDelegatorReward",
  1171  	}
  1172  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1173  		return srv.(MsgServer).WithdrawDelegatorReward(ctx, req.(*MsgWithdrawDelegatorReward))
  1174  	}
  1175  	return interceptor(ctx, in, info, handler)
  1176  }
  1177  
  1178  func _Msg_WithdrawValidatorCommission_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1179  	in := new(MsgWithdrawValidatorCommission)
  1180  	if err := dec(in); err != nil {
  1181  		return nil, err
  1182  	}
  1183  	if interceptor == nil {
  1184  		return srv.(MsgServer).WithdrawValidatorCommission(ctx, in)
  1185  	}
  1186  	info := &grpc.UnaryServerInfo{
  1187  		Server:     srv,
  1188  		FullMethod: "/cosmos.distribution.v1beta1.Msg/WithdrawValidatorCommission",
  1189  	}
  1190  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1191  		return srv.(MsgServer).WithdrawValidatorCommission(ctx, req.(*MsgWithdrawValidatorCommission))
  1192  	}
  1193  	return interceptor(ctx, in, info, handler)
  1194  }
  1195  
  1196  func _Msg_FundCommunityPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1197  	in := new(MsgFundCommunityPool)
  1198  	if err := dec(in); err != nil {
  1199  		return nil, err
  1200  	}
  1201  	if interceptor == nil {
  1202  		return srv.(MsgServer).FundCommunityPool(ctx, in)
  1203  	}
  1204  	info := &grpc.UnaryServerInfo{
  1205  		Server:     srv,
  1206  		FullMethod: "/cosmos.distribution.v1beta1.Msg/FundCommunityPool",
  1207  	}
  1208  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1209  		return srv.(MsgServer).FundCommunityPool(ctx, req.(*MsgFundCommunityPool))
  1210  	}
  1211  	return interceptor(ctx, in, info, handler)
  1212  }
  1213  
  1214  func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1215  	in := new(MsgUpdateParams)
  1216  	if err := dec(in); err != nil {
  1217  		return nil, err
  1218  	}
  1219  	if interceptor == nil {
  1220  		return srv.(MsgServer).UpdateParams(ctx, in)
  1221  	}
  1222  	info := &grpc.UnaryServerInfo{
  1223  		Server:     srv,
  1224  		FullMethod: "/cosmos.distribution.v1beta1.Msg/UpdateParams",
  1225  	}
  1226  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1227  		return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams))
  1228  	}
  1229  	return interceptor(ctx, in, info, handler)
  1230  }
  1231  
  1232  func _Msg_CommunityPoolSpend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1233  	in := new(MsgCommunityPoolSpend)
  1234  	if err := dec(in); err != nil {
  1235  		return nil, err
  1236  	}
  1237  	if interceptor == nil {
  1238  		return srv.(MsgServer).CommunityPoolSpend(ctx, in)
  1239  	}
  1240  	info := &grpc.UnaryServerInfo{
  1241  		Server:     srv,
  1242  		FullMethod: "/cosmos.distribution.v1beta1.Msg/CommunityPoolSpend",
  1243  	}
  1244  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1245  		return srv.(MsgServer).CommunityPoolSpend(ctx, req.(*MsgCommunityPoolSpend))
  1246  	}
  1247  	return interceptor(ctx, in, info, handler)
  1248  }
  1249  
  1250  func _Msg_DepositValidatorRewardsPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1251  	in := new(MsgDepositValidatorRewardsPool)
  1252  	if err := dec(in); err != nil {
  1253  		return nil, err
  1254  	}
  1255  	if interceptor == nil {
  1256  		return srv.(MsgServer).DepositValidatorRewardsPool(ctx, in)
  1257  	}
  1258  	info := &grpc.UnaryServerInfo{
  1259  		Server:     srv,
  1260  		FullMethod: "/cosmos.distribution.v1beta1.Msg/DepositValidatorRewardsPool",
  1261  	}
  1262  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1263  		return srv.(MsgServer).DepositValidatorRewardsPool(ctx, req.(*MsgDepositValidatorRewardsPool))
  1264  	}
  1265  	return interceptor(ctx, in, info, handler)
  1266  }
  1267  
  1268  var _Msg_serviceDesc = grpc.ServiceDesc{
  1269  	ServiceName: "cosmos.distribution.v1beta1.Msg",
  1270  	HandlerType: (*MsgServer)(nil),
  1271  	Methods: []grpc.MethodDesc{
  1272  		{
  1273  			MethodName: "SetWithdrawAddress",
  1274  			Handler:    _Msg_SetWithdrawAddress_Handler,
  1275  		},
  1276  		{
  1277  			MethodName: "WithdrawDelegatorReward",
  1278  			Handler:    _Msg_WithdrawDelegatorReward_Handler,
  1279  		},
  1280  		{
  1281  			MethodName: "WithdrawValidatorCommission",
  1282  			Handler:    _Msg_WithdrawValidatorCommission_Handler,
  1283  		},
  1284  		{
  1285  			MethodName: "FundCommunityPool",
  1286  			Handler:    _Msg_FundCommunityPool_Handler,
  1287  		},
  1288  		{
  1289  			MethodName: "UpdateParams",
  1290  			Handler:    _Msg_UpdateParams_Handler,
  1291  		},
  1292  		{
  1293  			MethodName: "CommunityPoolSpend",
  1294  			Handler:    _Msg_CommunityPoolSpend_Handler,
  1295  		},
  1296  		{
  1297  			MethodName: "DepositValidatorRewardsPool",
  1298  			Handler:    _Msg_DepositValidatorRewardsPool_Handler,
  1299  		},
  1300  	},
  1301  	Streams:  []grpc.StreamDesc{},
  1302  	Metadata: "cosmos/distribution/v1beta1/tx.proto",
  1303  }
  1304  
  1305  func (m *MsgSetWithdrawAddress) Marshal() (dAtA []byte, err error) {
  1306  	size := m.Size()
  1307  	dAtA = make([]byte, size)
  1308  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1309  	if err != nil {
  1310  		return nil, err
  1311  	}
  1312  	return dAtA[:n], nil
  1313  }
  1314  
  1315  func (m *MsgSetWithdrawAddress) MarshalTo(dAtA []byte) (int, error) {
  1316  	size := m.Size()
  1317  	return m.MarshalToSizedBuffer(dAtA[:size])
  1318  }
  1319  
  1320  func (m *MsgSetWithdrawAddress) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1321  	i := len(dAtA)
  1322  	_ = i
  1323  	var l int
  1324  	_ = l
  1325  	if len(m.WithdrawAddress) > 0 {
  1326  		i -= len(m.WithdrawAddress)
  1327  		copy(dAtA[i:], m.WithdrawAddress)
  1328  		i = encodeVarintTx(dAtA, i, uint64(len(m.WithdrawAddress)))
  1329  		i--
  1330  		dAtA[i] = 0x12
  1331  	}
  1332  	if len(m.DelegatorAddress) > 0 {
  1333  		i -= len(m.DelegatorAddress)
  1334  		copy(dAtA[i:], m.DelegatorAddress)
  1335  		i = encodeVarintTx(dAtA, i, uint64(len(m.DelegatorAddress)))
  1336  		i--
  1337  		dAtA[i] = 0xa
  1338  	}
  1339  	return len(dAtA) - i, nil
  1340  }
  1341  
  1342  func (m *MsgSetWithdrawAddressResponse) Marshal() (dAtA []byte, err error) {
  1343  	size := m.Size()
  1344  	dAtA = make([]byte, size)
  1345  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1346  	if err != nil {
  1347  		return nil, err
  1348  	}
  1349  	return dAtA[:n], nil
  1350  }
  1351  
  1352  func (m *MsgSetWithdrawAddressResponse) MarshalTo(dAtA []byte) (int, error) {
  1353  	size := m.Size()
  1354  	return m.MarshalToSizedBuffer(dAtA[:size])
  1355  }
  1356  
  1357  func (m *MsgSetWithdrawAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1358  	i := len(dAtA)
  1359  	_ = i
  1360  	var l int
  1361  	_ = l
  1362  	return len(dAtA) - i, nil
  1363  }
  1364  
  1365  func (m *MsgWithdrawDelegatorReward) Marshal() (dAtA []byte, err error) {
  1366  	size := m.Size()
  1367  	dAtA = make([]byte, size)
  1368  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1369  	if err != nil {
  1370  		return nil, err
  1371  	}
  1372  	return dAtA[:n], nil
  1373  }
  1374  
  1375  func (m *MsgWithdrawDelegatorReward) MarshalTo(dAtA []byte) (int, error) {
  1376  	size := m.Size()
  1377  	return m.MarshalToSizedBuffer(dAtA[:size])
  1378  }
  1379  
  1380  func (m *MsgWithdrawDelegatorReward) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1381  	i := len(dAtA)
  1382  	_ = i
  1383  	var l int
  1384  	_ = l
  1385  	if len(m.ValidatorAddress) > 0 {
  1386  		i -= len(m.ValidatorAddress)
  1387  		copy(dAtA[i:], m.ValidatorAddress)
  1388  		i = encodeVarintTx(dAtA, i, uint64(len(m.ValidatorAddress)))
  1389  		i--
  1390  		dAtA[i] = 0x12
  1391  	}
  1392  	if len(m.DelegatorAddress) > 0 {
  1393  		i -= len(m.DelegatorAddress)
  1394  		copy(dAtA[i:], m.DelegatorAddress)
  1395  		i = encodeVarintTx(dAtA, i, uint64(len(m.DelegatorAddress)))
  1396  		i--
  1397  		dAtA[i] = 0xa
  1398  	}
  1399  	return len(dAtA) - i, nil
  1400  }
  1401  
  1402  func (m *MsgWithdrawDelegatorRewardResponse) Marshal() (dAtA []byte, err error) {
  1403  	size := m.Size()
  1404  	dAtA = make([]byte, size)
  1405  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1406  	if err != nil {
  1407  		return nil, err
  1408  	}
  1409  	return dAtA[:n], nil
  1410  }
  1411  
  1412  func (m *MsgWithdrawDelegatorRewardResponse) MarshalTo(dAtA []byte) (int, error) {
  1413  	size := m.Size()
  1414  	return m.MarshalToSizedBuffer(dAtA[:size])
  1415  }
  1416  
  1417  func (m *MsgWithdrawDelegatorRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1418  	i := len(dAtA)
  1419  	_ = i
  1420  	var l int
  1421  	_ = l
  1422  	if len(m.Amount) > 0 {
  1423  		for iNdEx := len(m.Amount) - 1; iNdEx >= 0; iNdEx-- {
  1424  			{
  1425  				size, err := m.Amount[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  1426  				if err != nil {
  1427  					return 0, err
  1428  				}
  1429  				i -= size
  1430  				i = encodeVarintTx(dAtA, i, uint64(size))
  1431  			}
  1432  			i--
  1433  			dAtA[i] = 0xa
  1434  		}
  1435  	}
  1436  	return len(dAtA) - i, nil
  1437  }
  1438  
  1439  func (m *MsgWithdrawValidatorCommission) Marshal() (dAtA []byte, err error) {
  1440  	size := m.Size()
  1441  	dAtA = make([]byte, size)
  1442  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1443  	if err != nil {
  1444  		return nil, err
  1445  	}
  1446  	return dAtA[:n], nil
  1447  }
  1448  
  1449  func (m *MsgWithdrawValidatorCommission) MarshalTo(dAtA []byte) (int, error) {
  1450  	size := m.Size()
  1451  	return m.MarshalToSizedBuffer(dAtA[:size])
  1452  }
  1453  
  1454  func (m *MsgWithdrawValidatorCommission) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1455  	i := len(dAtA)
  1456  	_ = i
  1457  	var l int
  1458  	_ = l
  1459  	if len(m.ValidatorAddress) > 0 {
  1460  		i -= len(m.ValidatorAddress)
  1461  		copy(dAtA[i:], m.ValidatorAddress)
  1462  		i = encodeVarintTx(dAtA, i, uint64(len(m.ValidatorAddress)))
  1463  		i--
  1464  		dAtA[i] = 0xa
  1465  	}
  1466  	return len(dAtA) - i, nil
  1467  }
  1468  
  1469  func (m *MsgWithdrawValidatorCommissionResponse) Marshal() (dAtA []byte, err error) {
  1470  	size := m.Size()
  1471  	dAtA = make([]byte, size)
  1472  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1473  	if err != nil {
  1474  		return nil, err
  1475  	}
  1476  	return dAtA[:n], nil
  1477  }
  1478  
  1479  func (m *MsgWithdrawValidatorCommissionResponse) MarshalTo(dAtA []byte) (int, error) {
  1480  	size := m.Size()
  1481  	return m.MarshalToSizedBuffer(dAtA[:size])
  1482  }
  1483  
  1484  func (m *MsgWithdrawValidatorCommissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1485  	i := len(dAtA)
  1486  	_ = i
  1487  	var l int
  1488  	_ = l
  1489  	if len(m.Amount) > 0 {
  1490  		for iNdEx := len(m.Amount) - 1; iNdEx >= 0; iNdEx-- {
  1491  			{
  1492  				size, err := m.Amount[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  1493  				if err != nil {
  1494  					return 0, err
  1495  				}
  1496  				i -= size
  1497  				i = encodeVarintTx(dAtA, i, uint64(size))
  1498  			}
  1499  			i--
  1500  			dAtA[i] = 0xa
  1501  		}
  1502  	}
  1503  	return len(dAtA) - i, nil
  1504  }
  1505  
  1506  func (m *MsgFundCommunityPool) Marshal() (dAtA []byte, err error) {
  1507  	size := m.Size()
  1508  	dAtA = make([]byte, size)
  1509  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1510  	if err != nil {
  1511  		return nil, err
  1512  	}
  1513  	return dAtA[:n], nil
  1514  }
  1515  
  1516  func (m *MsgFundCommunityPool) MarshalTo(dAtA []byte) (int, error) {
  1517  	size := m.Size()
  1518  	return m.MarshalToSizedBuffer(dAtA[:size])
  1519  }
  1520  
  1521  func (m *MsgFundCommunityPool) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1522  	i := len(dAtA)
  1523  	_ = i
  1524  	var l int
  1525  	_ = l
  1526  	if len(m.Depositor) > 0 {
  1527  		i -= len(m.Depositor)
  1528  		copy(dAtA[i:], m.Depositor)
  1529  		i = encodeVarintTx(dAtA, i, uint64(len(m.Depositor)))
  1530  		i--
  1531  		dAtA[i] = 0x12
  1532  	}
  1533  	if len(m.Amount) > 0 {
  1534  		for iNdEx := len(m.Amount) - 1; iNdEx >= 0; iNdEx-- {
  1535  			{
  1536  				size, err := m.Amount[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  1537  				if err != nil {
  1538  					return 0, err
  1539  				}
  1540  				i -= size
  1541  				i = encodeVarintTx(dAtA, i, uint64(size))
  1542  			}
  1543  			i--
  1544  			dAtA[i] = 0xa
  1545  		}
  1546  	}
  1547  	return len(dAtA) - i, nil
  1548  }
  1549  
  1550  func (m *MsgFundCommunityPoolResponse) Marshal() (dAtA []byte, err error) {
  1551  	size := m.Size()
  1552  	dAtA = make([]byte, size)
  1553  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1554  	if err != nil {
  1555  		return nil, err
  1556  	}
  1557  	return dAtA[:n], nil
  1558  }
  1559  
  1560  func (m *MsgFundCommunityPoolResponse) MarshalTo(dAtA []byte) (int, error) {
  1561  	size := m.Size()
  1562  	return m.MarshalToSizedBuffer(dAtA[:size])
  1563  }
  1564  
  1565  func (m *MsgFundCommunityPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1566  	i := len(dAtA)
  1567  	_ = i
  1568  	var l int
  1569  	_ = l
  1570  	return len(dAtA) - i, nil
  1571  }
  1572  
  1573  func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) {
  1574  	size := m.Size()
  1575  	dAtA = make([]byte, size)
  1576  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1577  	if err != nil {
  1578  		return nil, err
  1579  	}
  1580  	return dAtA[:n], nil
  1581  }
  1582  
  1583  func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) {
  1584  	size := m.Size()
  1585  	return m.MarshalToSizedBuffer(dAtA[:size])
  1586  }
  1587  
  1588  func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1589  	i := len(dAtA)
  1590  	_ = i
  1591  	var l int
  1592  	_ = l
  1593  	{
  1594  		size, err := m.Params.MarshalToSizedBuffer(dAtA[:i])
  1595  		if err != nil {
  1596  			return 0, err
  1597  		}
  1598  		i -= size
  1599  		i = encodeVarintTx(dAtA, i, uint64(size))
  1600  	}
  1601  	i--
  1602  	dAtA[i] = 0x12
  1603  	if len(m.Authority) > 0 {
  1604  		i -= len(m.Authority)
  1605  		copy(dAtA[i:], m.Authority)
  1606  		i = encodeVarintTx(dAtA, i, uint64(len(m.Authority)))
  1607  		i--
  1608  		dAtA[i] = 0xa
  1609  	}
  1610  	return len(dAtA) - i, nil
  1611  }
  1612  
  1613  func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) {
  1614  	size := m.Size()
  1615  	dAtA = make([]byte, size)
  1616  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1617  	if err != nil {
  1618  		return nil, err
  1619  	}
  1620  	return dAtA[:n], nil
  1621  }
  1622  
  1623  func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) {
  1624  	size := m.Size()
  1625  	return m.MarshalToSizedBuffer(dAtA[:size])
  1626  }
  1627  
  1628  func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1629  	i := len(dAtA)
  1630  	_ = i
  1631  	var l int
  1632  	_ = l
  1633  	return len(dAtA) - i, nil
  1634  }
  1635  
  1636  func (m *MsgCommunityPoolSpend) Marshal() (dAtA []byte, err error) {
  1637  	size := m.Size()
  1638  	dAtA = make([]byte, size)
  1639  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1640  	if err != nil {
  1641  		return nil, err
  1642  	}
  1643  	return dAtA[:n], nil
  1644  }
  1645  
  1646  func (m *MsgCommunityPoolSpend) MarshalTo(dAtA []byte) (int, error) {
  1647  	size := m.Size()
  1648  	return m.MarshalToSizedBuffer(dAtA[:size])
  1649  }
  1650  
  1651  func (m *MsgCommunityPoolSpend) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1652  	i := len(dAtA)
  1653  	_ = i
  1654  	var l int
  1655  	_ = l
  1656  	if len(m.Amount) > 0 {
  1657  		for iNdEx := len(m.Amount) - 1; iNdEx >= 0; iNdEx-- {
  1658  			{
  1659  				size, err := m.Amount[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  1660  				if err != nil {
  1661  					return 0, err
  1662  				}
  1663  				i -= size
  1664  				i = encodeVarintTx(dAtA, i, uint64(size))
  1665  			}
  1666  			i--
  1667  			dAtA[i] = 0x1a
  1668  		}
  1669  	}
  1670  	if len(m.Recipient) > 0 {
  1671  		i -= len(m.Recipient)
  1672  		copy(dAtA[i:], m.Recipient)
  1673  		i = encodeVarintTx(dAtA, i, uint64(len(m.Recipient)))
  1674  		i--
  1675  		dAtA[i] = 0x12
  1676  	}
  1677  	if len(m.Authority) > 0 {
  1678  		i -= len(m.Authority)
  1679  		copy(dAtA[i:], m.Authority)
  1680  		i = encodeVarintTx(dAtA, i, uint64(len(m.Authority)))
  1681  		i--
  1682  		dAtA[i] = 0xa
  1683  	}
  1684  	return len(dAtA) - i, nil
  1685  }
  1686  
  1687  func (m *MsgCommunityPoolSpendResponse) Marshal() (dAtA []byte, err error) {
  1688  	size := m.Size()
  1689  	dAtA = make([]byte, size)
  1690  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1691  	if err != nil {
  1692  		return nil, err
  1693  	}
  1694  	return dAtA[:n], nil
  1695  }
  1696  
  1697  func (m *MsgCommunityPoolSpendResponse) MarshalTo(dAtA []byte) (int, error) {
  1698  	size := m.Size()
  1699  	return m.MarshalToSizedBuffer(dAtA[:size])
  1700  }
  1701  
  1702  func (m *MsgCommunityPoolSpendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1703  	i := len(dAtA)
  1704  	_ = i
  1705  	var l int
  1706  	_ = l
  1707  	return len(dAtA) - i, nil
  1708  }
  1709  
  1710  func (m *MsgDepositValidatorRewardsPool) Marshal() (dAtA []byte, err error) {
  1711  	size := m.Size()
  1712  	dAtA = make([]byte, size)
  1713  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1714  	if err != nil {
  1715  		return nil, err
  1716  	}
  1717  	return dAtA[:n], nil
  1718  }
  1719  
  1720  func (m *MsgDepositValidatorRewardsPool) MarshalTo(dAtA []byte) (int, error) {
  1721  	size := m.Size()
  1722  	return m.MarshalToSizedBuffer(dAtA[:size])
  1723  }
  1724  
  1725  func (m *MsgDepositValidatorRewardsPool) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1726  	i := len(dAtA)
  1727  	_ = i
  1728  	var l int
  1729  	_ = l
  1730  	if len(m.Amount) > 0 {
  1731  		for iNdEx := len(m.Amount) - 1; iNdEx >= 0; iNdEx-- {
  1732  			{
  1733  				size, err := m.Amount[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  1734  				if err != nil {
  1735  					return 0, err
  1736  				}
  1737  				i -= size
  1738  				i = encodeVarintTx(dAtA, i, uint64(size))
  1739  			}
  1740  			i--
  1741  			dAtA[i] = 0x1a
  1742  		}
  1743  	}
  1744  	if len(m.ValidatorAddress) > 0 {
  1745  		i -= len(m.ValidatorAddress)
  1746  		copy(dAtA[i:], m.ValidatorAddress)
  1747  		i = encodeVarintTx(dAtA, i, uint64(len(m.ValidatorAddress)))
  1748  		i--
  1749  		dAtA[i] = 0x12
  1750  	}
  1751  	if len(m.Depositor) > 0 {
  1752  		i -= len(m.Depositor)
  1753  		copy(dAtA[i:], m.Depositor)
  1754  		i = encodeVarintTx(dAtA, i, uint64(len(m.Depositor)))
  1755  		i--
  1756  		dAtA[i] = 0xa
  1757  	}
  1758  	return len(dAtA) - i, nil
  1759  }
  1760  
  1761  func (m *MsgDepositValidatorRewardsPoolResponse) Marshal() (dAtA []byte, err error) {
  1762  	size := m.Size()
  1763  	dAtA = make([]byte, size)
  1764  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1765  	if err != nil {
  1766  		return nil, err
  1767  	}
  1768  	return dAtA[:n], nil
  1769  }
  1770  
  1771  func (m *MsgDepositValidatorRewardsPoolResponse) MarshalTo(dAtA []byte) (int, error) {
  1772  	size := m.Size()
  1773  	return m.MarshalToSizedBuffer(dAtA[:size])
  1774  }
  1775  
  1776  func (m *MsgDepositValidatorRewardsPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1777  	i := len(dAtA)
  1778  	_ = i
  1779  	var l int
  1780  	_ = l
  1781  	return len(dAtA) - i, nil
  1782  }
  1783  
  1784  func encodeVarintTx(dAtA []byte, offset int, v uint64) int {
  1785  	offset -= sovTx(v)
  1786  	base := offset
  1787  	for v >= 1<<7 {
  1788  		dAtA[offset] = uint8(v&0x7f | 0x80)
  1789  		v >>= 7
  1790  		offset++
  1791  	}
  1792  	dAtA[offset] = uint8(v)
  1793  	return base
  1794  }
  1795  func (m *MsgSetWithdrawAddress) Size() (n int) {
  1796  	if m == nil {
  1797  		return 0
  1798  	}
  1799  	var l int
  1800  	_ = l
  1801  	l = len(m.DelegatorAddress)
  1802  	if l > 0 {
  1803  		n += 1 + l + sovTx(uint64(l))
  1804  	}
  1805  	l = len(m.WithdrawAddress)
  1806  	if l > 0 {
  1807  		n += 1 + l + sovTx(uint64(l))
  1808  	}
  1809  	return n
  1810  }
  1811  
  1812  func (m *MsgSetWithdrawAddressResponse) Size() (n int) {
  1813  	if m == nil {
  1814  		return 0
  1815  	}
  1816  	var l int
  1817  	_ = l
  1818  	return n
  1819  }
  1820  
  1821  func (m *MsgWithdrawDelegatorReward) Size() (n int) {
  1822  	if m == nil {
  1823  		return 0
  1824  	}
  1825  	var l int
  1826  	_ = l
  1827  	l = len(m.DelegatorAddress)
  1828  	if l > 0 {
  1829  		n += 1 + l + sovTx(uint64(l))
  1830  	}
  1831  	l = len(m.ValidatorAddress)
  1832  	if l > 0 {
  1833  		n += 1 + l + sovTx(uint64(l))
  1834  	}
  1835  	return n
  1836  }
  1837  
  1838  func (m *MsgWithdrawDelegatorRewardResponse) Size() (n int) {
  1839  	if m == nil {
  1840  		return 0
  1841  	}
  1842  	var l int
  1843  	_ = l
  1844  	if len(m.Amount) > 0 {
  1845  		for _, e := range m.Amount {
  1846  			l = e.Size()
  1847  			n += 1 + l + sovTx(uint64(l))
  1848  		}
  1849  	}
  1850  	return n
  1851  }
  1852  
  1853  func (m *MsgWithdrawValidatorCommission) Size() (n int) {
  1854  	if m == nil {
  1855  		return 0
  1856  	}
  1857  	var l int
  1858  	_ = l
  1859  	l = len(m.ValidatorAddress)
  1860  	if l > 0 {
  1861  		n += 1 + l + sovTx(uint64(l))
  1862  	}
  1863  	return n
  1864  }
  1865  
  1866  func (m *MsgWithdrawValidatorCommissionResponse) Size() (n int) {
  1867  	if m == nil {
  1868  		return 0
  1869  	}
  1870  	var l int
  1871  	_ = l
  1872  	if len(m.Amount) > 0 {
  1873  		for _, e := range m.Amount {
  1874  			l = e.Size()
  1875  			n += 1 + l + sovTx(uint64(l))
  1876  		}
  1877  	}
  1878  	return n
  1879  }
  1880  
  1881  func (m *MsgFundCommunityPool) Size() (n int) {
  1882  	if m == nil {
  1883  		return 0
  1884  	}
  1885  	var l int
  1886  	_ = l
  1887  	if len(m.Amount) > 0 {
  1888  		for _, e := range m.Amount {
  1889  			l = e.Size()
  1890  			n += 1 + l + sovTx(uint64(l))
  1891  		}
  1892  	}
  1893  	l = len(m.Depositor)
  1894  	if l > 0 {
  1895  		n += 1 + l + sovTx(uint64(l))
  1896  	}
  1897  	return n
  1898  }
  1899  
  1900  func (m *MsgFundCommunityPoolResponse) Size() (n int) {
  1901  	if m == nil {
  1902  		return 0
  1903  	}
  1904  	var l int
  1905  	_ = l
  1906  	return n
  1907  }
  1908  
  1909  func (m *MsgUpdateParams) Size() (n int) {
  1910  	if m == nil {
  1911  		return 0
  1912  	}
  1913  	var l int
  1914  	_ = l
  1915  	l = len(m.Authority)
  1916  	if l > 0 {
  1917  		n += 1 + l + sovTx(uint64(l))
  1918  	}
  1919  	l = m.Params.Size()
  1920  	n += 1 + l + sovTx(uint64(l))
  1921  	return n
  1922  }
  1923  
  1924  func (m *MsgUpdateParamsResponse) Size() (n int) {
  1925  	if m == nil {
  1926  		return 0
  1927  	}
  1928  	var l int
  1929  	_ = l
  1930  	return n
  1931  }
  1932  
  1933  func (m *MsgCommunityPoolSpend) Size() (n int) {
  1934  	if m == nil {
  1935  		return 0
  1936  	}
  1937  	var l int
  1938  	_ = l
  1939  	l = len(m.Authority)
  1940  	if l > 0 {
  1941  		n += 1 + l + sovTx(uint64(l))
  1942  	}
  1943  	l = len(m.Recipient)
  1944  	if l > 0 {
  1945  		n += 1 + l + sovTx(uint64(l))
  1946  	}
  1947  	if len(m.Amount) > 0 {
  1948  		for _, e := range m.Amount {
  1949  			l = e.Size()
  1950  			n += 1 + l + sovTx(uint64(l))
  1951  		}
  1952  	}
  1953  	return n
  1954  }
  1955  
  1956  func (m *MsgCommunityPoolSpendResponse) Size() (n int) {
  1957  	if m == nil {
  1958  		return 0
  1959  	}
  1960  	var l int
  1961  	_ = l
  1962  	return n
  1963  }
  1964  
  1965  func (m *MsgDepositValidatorRewardsPool) Size() (n int) {
  1966  	if m == nil {
  1967  		return 0
  1968  	}
  1969  	var l int
  1970  	_ = l
  1971  	l = len(m.Depositor)
  1972  	if l > 0 {
  1973  		n += 1 + l + sovTx(uint64(l))
  1974  	}
  1975  	l = len(m.ValidatorAddress)
  1976  	if l > 0 {
  1977  		n += 1 + l + sovTx(uint64(l))
  1978  	}
  1979  	if len(m.Amount) > 0 {
  1980  		for _, e := range m.Amount {
  1981  			l = e.Size()
  1982  			n += 1 + l + sovTx(uint64(l))
  1983  		}
  1984  	}
  1985  	return n
  1986  }
  1987  
  1988  func (m *MsgDepositValidatorRewardsPoolResponse) Size() (n int) {
  1989  	if m == nil {
  1990  		return 0
  1991  	}
  1992  	var l int
  1993  	_ = l
  1994  	return n
  1995  }
  1996  
  1997  func sovTx(x uint64) (n int) {
  1998  	return (math_bits.Len64(x|1) + 6) / 7
  1999  }
  2000  func sozTx(x uint64) (n int) {
  2001  	return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  2002  }
  2003  func (m *MsgSetWithdrawAddress) Unmarshal(dAtA []byte) error {
  2004  	l := len(dAtA)
  2005  	iNdEx := 0
  2006  	for iNdEx < l {
  2007  		preIndex := iNdEx
  2008  		var wire uint64
  2009  		for shift := uint(0); ; shift += 7 {
  2010  			if shift >= 64 {
  2011  				return ErrIntOverflowTx
  2012  			}
  2013  			if iNdEx >= l {
  2014  				return io.ErrUnexpectedEOF
  2015  			}
  2016  			b := dAtA[iNdEx]
  2017  			iNdEx++
  2018  			wire |= uint64(b&0x7F) << shift
  2019  			if b < 0x80 {
  2020  				break
  2021  			}
  2022  		}
  2023  		fieldNum := int32(wire >> 3)
  2024  		wireType := int(wire & 0x7)
  2025  		if wireType == 4 {
  2026  			return fmt.Errorf("proto: MsgSetWithdrawAddress: wiretype end group for non-group")
  2027  		}
  2028  		if fieldNum <= 0 {
  2029  			return fmt.Errorf("proto: MsgSetWithdrawAddress: illegal tag %d (wire type %d)", fieldNum, wire)
  2030  		}
  2031  		switch fieldNum {
  2032  		case 1:
  2033  			if wireType != 2 {
  2034  				return fmt.Errorf("proto: wrong wireType = %d for field DelegatorAddress", wireType)
  2035  			}
  2036  			var stringLen uint64
  2037  			for shift := uint(0); ; shift += 7 {
  2038  				if shift >= 64 {
  2039  					return ErrIntOverflowTx
  2040  				}
  2041  				if iNdEx >= l {
  2042  					return io.ErrUnexpectedEOF
  2043  				}
  2044  				b := dAtA[iNdEx]
  2045  				iNdEx++
  2046  				stringLen |= uint64(b&0x7F) << shift
  2047  				if b < 0x80 {
  2048  					break
  2049  				}
  2050  			}
  2051  			intStringLen := int(stringLen)
  2052  			if intStringLen < 0 {
  2053  				return ErrInvalidLengthTx
  2054  			}
  2055  			postIndex := iNdEx + intStringLen
  2056  			if postIndex < 0 {
  2057  				return ErrInvalidLengthTx
  2058  			}
  2059  			if postIndex > l {
  2060  				return io.ErrUnexpectedEOF
  2061  			}
  2062  			m.DelegatorAddress = string(dAtA[iNdEx:postIndex])
  2063  			iNdEx = postIndex
  2064  		case 2:
  2065  			if wireType != 2 {
  2066  				return fmt.Errorf("proto: wrong wireType = %d for field WithdrawAddress", wireType)
  2067  			}
  2068  			var stringLen uint64
  2069  			for shift := uint(0); ; shift += 7 {
  2070  				if shift >= 64 {
  2071  					return ErrIntOverflowTx
  2072  				}
  2073  				if iNdEx >= l {
  2074  					return io.ErrUnexpectedEOF
  2075  				}
  2076  				b := dAtA[iNdEx]
  2077  				iNdEx++
  2078  				stringLen |= uint64(b&0x7F) << shift
  2079  				if b < 0x80 {
  2080  					break
  2081  				}
  2082  			}
  2083  			intStringLen := int(stringLen)
  2084  			if intStringLen < 0 {
  2085  				return ErrInvalidLengthTx
  2086  			}
  2087  			postIndex := iNdEx + intStringLen
  2088  			if postIndex < 0 {
  2089  				return ErrInvalidLengthTx
  2090  			}
  2091  			if postIndex > l {
  2092  				return io.ErrUnexpectedEOF
  2093  			}
  2094  			m.WithdrawAddress = string(dAtA[iNdEx:postIndex])
  2095  			iNdEx = postIndex
  2096  		default:
  2097  			iNdEx = preIndex
  2098  			skippy, err := skipTx(dAtA[iNdEx:])
  2099  			if err != nil {
  2100  				return err
  2101  			}
  2102  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2103  				return ErrInvalidLengthTx
  2104  			}
  2105  			if (iNdEx + skippy) > l {
  2106  				return io.ErrUnexpectedEOF
  2107  			}
  2108  			iNdEx += skippy
  2109  		}
  2110  	}
  2111  
  2112  	if iNdEx > l {
  2113  		return io.ErrUnexpectedEOF
  2114  	}
  2115  	return nil
  2116  }
  2117  func (m *MsgSetWithdrawAddressResponse) Unmarshal(dAtA []byte) error {
  2118  	l := len(dAtA)
  2119  	iNdEx := 0
  2120  	for iNdEx < l {
  2121  		preIndex := iNdEx
  2122  		var wire uint64
  2123  		for shift := uint(0); ; shift += 7 {
  2124  			if shift >= 64 {
  2125  				return ErrIntOverflowTx
  2126  			}
  2127  			if iNdEx >= l {
  2128  				return io.ErrUnexpectedEOF
  2129  			}
  2130  			b := dAtA[iNdEx]
  2131  			iNdEx++
  2132  			wire |= uint64(b&0x7F) << shift
  2133  			if b < 0x80 {
  2134  				break
  2135  			}
  2136  		}
  2137  		fieldNum := int32(wire >> 3)
  2138  		wireType := int(wire & 0x7)
  2139  		if wireType == 4 {
  2140  			return fmt.Errorf("proto: MsgSetWithdrawAddressResponse: wiretype end group for non-group")
  2141  		}
  2142  		if fieldNum <= 0 {
  2143  			return fmt.Errorf("proto: MsgSetWithdrawAddressResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  2144  		}
  2145  		switch fieldNum {
  2146  		default:
  2147  			iNdEx = preIndex
  2148  			skippy, err := skipTx(dAtA[iNdEx:])
  2149  			if err != nil {
  2150  				return err
  2151  			}
  2152  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2153  				return ErrInvalidLengthTx
  2154  			}
  2155  			if (iNdEx + skippy) > l {
  2156  				return io.ErrUnexpectedEOF
  2157  			}
  2158  			iNdEx += skippy
  2159  		}
  2160  	}
  2161  
  2162  	if iNdEx > l {
  2163  		return io.ErrUnexpectedEOF
  2164  	}
  2165  	return nil
  2166  }
  2167  func (m *MsgWithdrawDelegatorReward) Unmarshal(dAtA []byte) error {
  2168  	l := len(dAtA)
  2169  	iNdEx := 0
  2170  	for iNdEx < l {
  2171  		preIndex := iNdEx
  2172  		var wire uint64
  2173  		for shift := uint(0); ; shift += 7 {
  2174  			if shift >= 64 {
  2175  				return ErrIntOverflowTx
  2176  			}
  2177  			if iNdEx >= l {
  2178  				return io.ErrUnexpectedEOF
  2179  			}
  2180  			b := dAtA[iNdEx]
  2181  			iNdEx++
  2182  			wire |= uint64(b&0x7F) << shift
  2183  			if b < 0x80 {
  2184  				break
  2185  			}
  2186  		}
  2187  		fieldNum := int32(wire >> 3)
  2188  		wireType := int(wire & 0x7)
  2189  		if wireType == 4 {
  2190  			return fmt.Errorf("proto: MsgWithdrawDelegatorReward: wiretype end group for non-group")
  2191  		}
  2192  		if fieldNum <= 0 {
  2193  			return fmt.Errorf("proto: MsgWithdrawDelegatorReward: illegal tag %d (wire type %d)", fieldNum, wire)
  2194  		}
  2195  		switch fieldNum {
  2196  		case 1:
  2197  			if wireType != 2 {
  2198  				return fmt.Errorf("proto: wrong wireType = %d for field DelegatorAddress", wireType)
  2199  			}
  2200  			var stringLen uint64
  2201  			for shift := uint(0); ; shift += 7 {
  2202  				if shift >= 64 {
  2203  					return ErrIntOverflowTx
  2204  				}
  2205  				if iNdEx >= l {
  2206  					return io.ErrUnexpectedEOF
  2207  				}
  2208  				b := dAtA[iNdEx]
  2209  				iNdEx++
  2210  				stringLen |= uint64(b&0x7F) << shift
  2211  				if b < 0x80 {
  2212  					break
  2213  				}
  2214  			}
  2215  			intStringLen := int(stringLen)
  2216  			if intStringLen < 0 {
  2217  				return ErrInvalidLengthTx
  2218  			}
  2219  			postIndex := iNdEx + intStringLen
  2220  			if postIndex < 0 {
  2221  				return ErrInvalidLengthTx
  2222  			}
  2223  			if postIndex > l {
  2224  				return io.ErrUnexpectedEOF
  2225  			}
  2226  			m.DelegatorAddress = string(dAtA[iNdEx:postIndex])
  2227  			iNdEx = postIndex
  2228  		case 2:
  2229  			if wireType != 2 {
  2230  				return fmt.Errorf("proto: wrong wireType = %d for field ValidatorAddress", wireType)
  2231  			}
  2232  			var stringLen uint64
  2233  			for shift := uint(0); ; shift += 7 {
  2234  				if shift >= 64 {
  2235  					return ErrIntOverflowTx
  2236  				}
  2237  				if iNdEx >= l {
  2238  					return io.ErrUnexpectedEOF
  2239  				}
  2240  				b := dAtA[iNdEx]
  2241  				iNdEx++
  2242  				stringLen |= uint64(b&0x7F) << shift
  2243  				if b < 0x80 {
  2244  					break
  2245  				}
  2246  			}
  2247  			intStringLen := int(stringLen)
  2248  			if intStringLen < 0 {
  2249  				return ErrInvalidLengthTx
  2250  			}
  2251  			postIndex := iNdEx + intStringLen
  2252  			if postIndex < 0 {
  2253  				return ErrInvalidLengthTx
  2254  			}
  2255  			if postIndex > l {
  2256  				return io.ErrUnexpectedEOF
  2257  			}
  2258  			m.ValidatorAddress = string(dAtA[iNdEx:postIndex])
  2259  			iNdEx = postIndex
  2260  		default:
  2261  			iNdEx = preIndex
  2262  			skippy, err := skipTx(dAtA[iNdEx:])
  2263  			if err != nil {
  2264  				return err
  2265  			}
  2266  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2267  				return ErrInvalidLengthTx
  2268  			}
  2269  			if (iNdEx + skippy) > l {
  2270  				return io.ErrUnexpectedEOF
  2271  			}
  2272  			iNdEx += skippy
  2273  		}
  2274  	}
  2275  
  2276  	if iNdEx > l {
  2277  		return io.ErrUnexpectedEOF
  2278  	}
  2279  	return nil
  2280  }
  2281  func (m *MsgWithdrawDelegatorRewardResponse) Unmarshal(dAtA []byte) error {
  2282  	l := len(dAtA)
  2283  	iNdEx := 0
  2284  	for iNdEx < l {
  2285  		preIndex := iNdEx
  2286  		var wire uint64
  2287  		for shift := uint(0); ; shift += 7 {
  2288  			if shift >= 64 {
  2289  				return ErrIntOverflowTx
  2290  			}
  2291  			if iNdEx >= l {
  2292  				return io.ErrUnexpectedEOF
  2293  			}
  2294  			b := dAtA[iNdEx]
  2295  			iNdEx++
  2296  			wire |= uint64(b&0x7F) << shift
  2297  			if b < 0x80 {
  2298  				break
  2299  			}
  2300  		}
  2301  		fieldNum := int32(wire >> 3)
  2302  		wireType := int(wire & 0x7)
  2303  		if wireType == 4 {
  2304  			return fmt.Errorf("proto: MsgWithdrawDelegatorRewardResponse: wiretype end group for non-group")
  2305  		}
  2306  		if fieldNum <= 0 {
  2307  			return fmt.Errorf("proto: MsgWithdrawDelegatorRewardResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  2308  		}
  2309  		switch fieldNum {
  2310  		case 1:
  2311  			if wireType != 2 {
  2312  				return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
  2313  			}
  2314  			var msglen int
  2315  			for shift := uint(0); ; shift += 7 {
  2316  				if shift >= 64 {
  2317  					return ErrIntOverflowTx
  2318  				}
  2319  				if iNdEx >= l {
  2320  					return io.ErrUnexpectedEOF
  2321  				}
  2322  				b := dAtA[iNdEx]
  2323  				iNdEx++
  2324  				msglen |= int(b&0x7F) << shift
  2325  				if b < 0x80 {
  2326  					break
  2327  				}
  2328  			}
  2329  			if msglen < 0 {
  2330  				return ErrInvalidLengthTx
  2331  			}
  2332  			postIndex := iNdEx + msglen
  2333  			if postIndex < 0 {
  2334  				return ErrInvalidLengthTx
  2335  			}
  2336  			if postIndex > l {
  2337  				return io.ErrUnexpectedEOF
  2338  			}
  2339  			m.Amount = append(m.Amount, types.Coin{})
  2340  			if err := m.Amount[len(m.Amount)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2341  				return err
  2342  			}
  2343  			iNdEx = postIndex
  2344  		default:
  2345  			iNdEx = preIndex
  2346  			skippy, err := skipTx(dAtA[iNdEx:])
  2347  			if err != nil {
  2348  				return err
  2349  			}
  2350  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2351  				return ErrInvalidLengthTx
  2352  			}
  2353  			if (iNdEx + skippy) > l {
  2354  				return io.ErrUnexpectedEOF
  2355  			}
  2356  			iNdEx += skippy
  2357  		}
  2358  	}
  2359  
  2360  	if iNdEx > l {
  2361  		return io.ErrUnexpectedEOF
  2362  	}
  2363  	return nil
  2364  }
  2365  func (m *MsgWithdrawValidatorCommission) Unmarshal(dAtA []byte) error {
  2366  	l := len(dAtA)
  2367  	iNdEx := 0
  2368  	for iNdEx < l {
  2369  		preIndex := iNdEx
  2370  		var wire uint64
  2371  		for shift := uint(0); ; shift += 7 {
  2372  			if shift >= 64 {
  2373  				return ErrIntOverflowTx
  2374  			}
  2375  			if iNdEx >= l {
  2376  				return io.ErrUnexpectedEOF
  2377  			}
  2378  			b := dAtA[iNdEx]
  2379  			iNdEx++
  2380  			wire |= uint64(b&0x7F) << shift
  2381  			if b < 0x80 {
  2382  				break
  2383  			}
  2384  		}
  2385  		fieldNum := int32(wire >> 3)
  2386  		wireType := int(wire & 0x7)
  2387  		if wireType == 4 {
  2388  			return fmt.Errorf("proto: MsgWithdrawValidatorCommission: wiretype end group for non-group")
  2389  		}
  2390  		if fieldNum <= 0 {
  2391  			return fmt.Errorf("proto: MsgWithdrawValidatorCommission: illegal tag %d (wire type %d)", fieldNum, wire)
  2392  		}
  2393  		switch fieldNum {
  2394  		case 1:
  2395  			if wireType != 2 {
  2396  				return fmt.Errorf("proto: wrong wireType = %d for field ValidatorAddress", wireType)
  2397  			}
  2398  			var stringLen uint64
  2399  			for shift := uint(0); ; shift += 7 {
  2400  				if shift >= 64 {
  2401  					return ErrIntOverflowTx
  2402  				}
  2403  				if iNdEx >= l {
  2404  					return io.ErrUnexpectedEOF
  2405  				}
  2406  				b := dAtA[iNdEx]
  2407  				iNdEx++
  2408  				stringLen |= uint64(b&0x7F) << shift
  2409  				if b < 0x80 {
  2410  					break
  2411  				}
  2412  			}
  2413  			intStringLen := int(stringLen)
  2414  			if intStringLen < 0 {
  2415  				return ErrInvalidLengthTx
  2416  			}
  2417  			postIndex := iNdEx + intStringLen
  2418  			if postIndex < 0 {
  2419  				return ErrInvalidLengthTx
  2420  			}
  2421  			if postIndex > l {
  2422  				return io.ErrUnexpectedEOF
  2423  			}
  2424  			m.ValidatorAddress = string(dAtA[iNdEx:postIndex])
  2425  			iNdEx = postIndex
  2426  		default:
  2427  			iNdEx = preIndex
  2428  			skippy, err := skipTx(dAtA[iNdEx:])
  2429  			if err != nil {
  2430  				return err
  2431  			}
  2432  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2433  				return ErrInvalidLengthTx
  2434  			}
  2435  			if (iNdEx + skippy) > l {
  2436  				return io.ErrUnexpectedEOF
  2437  			}
  2438  			iNdEx += skippy
  2439  		}
  2440  	}
  2441  
  2442  	if iNdEx > l {
  2443  		return io.ErrUnexpectedEOF
  2444  	}
  2445  	return nil
  2446  }
  2447  func (m *MsgWithdrawValidatorCommissionResponse) Unmarshal(dAtA []byte) error {
  2448  	l := len(dAtA)
  2449  	iNdEx := 0
  2450  	for iNdEx < l {
  2451  		preIndex := iNdEx
  2452  		var wire uint64
  2453  		for shift := uint(0); ; shift += 7 {
  2454  			if shift >= 64 {
  2455  				return ErrIntOverflowTx
  2456  			}
  2457  			if iNdEx >= l {
  2458  				return io.ErrUnexpectedEOF
  2459  			}
  2460  			b := dAtA[iNdEx]
  2461  			iNdEx++
  2462  			wire |= uint64(b&0x7F) << shift
  2463  			if b < 0x80 {
  2464  				break
  2465  			}
  2466  		}
  2467  		fieldNum := int32(wire >> 3)
  2468  		wireType := int(wire & 0x7)
  2469  		if wireType == 4 {
  2470  			return fmt.Errorf("proto: MsgWithdrawValidatorCommissionResponse: wiretype end group for non-group")
  2471  		}
  2472  		if fieldNum <= 0 {
  2473  			return fmt.Errorf("proto: MsgWithdrawValidatorCommissionResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  2474  		}
  2475  		switch fieldNum {
  2476  		case 1:
  2477  			if wireType != 2 {
  2478  				return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
  2479  			}
  2480  			var msglen int
  2481  			for shift := uint(0); ; shift += 7 {
  2482  				if shift >= 64 {
  2483  					return ErrIntOverflowTx
  2484  				}
  2485  				if iNdEx >= l {
  2486  					return io.ErrUnexpectedEOF
  2487  				}
  2488  				b := dAtA[iNdEx]
  2489  				iNdEx++
  2490  				msglen |= int(b&0x7F) << shift
  2491  				if b < 0x80 {
  2492  					break
  2493  				}
  2494  			}
  2495  			if msglen < 0 {
  2496  				return ErrInvalidLengthTx
  2497  			}
  2498  			postIndex := iNdEx + msglen
  2499  			if postIndex < 0 {
  2500  				return ErrInvalidLengthTx
  2501  			}
  2502  			if postIndex > l {
  2503  				return io.ErrUnexpectedEOF
  2504  			}
  2505  			m.Amount = append(m.Amount, types.Coin{})
  2506  			if err := m.Amount[len(m.Amount)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2507  				return err
  2508  			}
  2509  			iNdEx = postIndex
  2510  		default:
  2511  			iNdEx = preIndex
  2512  			skippy, err := skipTx(dAtA[iNdEx:])
  2513  			if err != nil {
  2514  				return err
  2515  			}
  2516  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2517  				return ErrInvalidLengthTx
  2518  			}
  2519  			if (iNdEx + skippy) > l {
  2520  				return io.ErrUnexpectedEOF
  2521  			}
  2522  			iNdEx += skippy
  2523  		}
  2524  	}
  2525  
  2526  	if iNdEx > l {
  2527  		return io.ErrUnexpectedEOF
  2528  	}
  2529  	return nil
  2530  }
  2531  func (m *MsgFundCommunityPool) Unmarshal(dAtA []byte) error {
  2532  	l := len(dAtA)
  2533  	iNdEx := 0
  2534  	for iNdEx < l {
  2535  		preIndex := iNdEx
  2536  		var wire uint64
  2537  		for shift := uint(0); ; shift += 7 {
  2538  			if shift >= 64 {
  2539  				return ErrIntOverflowTx
  2540  			}
  2541  			if iNdEx >= l {
  2542  				return io.ErrUnexpectedEOF
  2543  			}
  2544  			b := dAtA[iNdEx]
  2545  			iNdEx++
  2546  			wire |= uint64(b&0x7F) << shift
  2547  			if b < 0x80 {
  2548  				break
  2549  			}
  2550  		}
  2551  		fieldNum := int32(wire >> 3)
  2552  		wireType := int(wire & 0x7)
  2553  		if wireType == 4 {
  2554  			return fmt.Errorf("proto: MsgFundCommunityPool: wiretype end group for non-group")
  2555  		}
  2556  		if fieldNum <= 0 {
  2557  			return fmt.Errorf("proto: MsgFundCommunityPool: illegal tag %d (wire type %d)", fieldNum, wire)
  2558  		}
  2559  		switch fieldNum {
  2560  		case 1:
  2561  			if wireType != 2 {
  2562  				return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
  2563  			}
  2564  			var msglen int
  2565  			for shift := uint(0); ; shift += 7 {
  2566  				if shift >= 64 {
  2567  					return ErrIntOverflowTx
  2568  				}
  2569  				if iNdEx >= l {
  2570  					return io.ErrUnexpectedEOF
  2571  				}
  2572  				b := dAtA[iNdEx]
  2573  				iNdEx++
  2574  				msglen |= int(b&0x7F) << shift
  2575  				if b < 0x80 {
  2576  					break
  2577  				}
  2578  			}
  2579  			if msglen < 0 {
  2580  				return ErrInvalidLengthTx
  2581  			}
  2582  			postIndex := iNdEx + msglen
  2583  			if postIndex < 0 {
  2584  				return ErrInvalidLengthTx
  2585  			}
  2586  			if postIndex > l {
  2587  				return io.ErrUnexpectedEOF
  2588  			}
  2589  			m.Amount = append(m.Amount, types.Coin{})
  2590  			if err := m.Amount[len(m.Amount)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2591  				return err
  2592  			}
  2593  			iNdEx = postIndex
  2594  		case 2:
  2595  			if wireType != 2 {
  2596  				return fmt.Errorf("proto: wrong wireType = %d for field Depositor", wireType)
  2597  			}
  2598  			var stringLen uint64
  2599  			for shift := uint(0); ; shift += 7 {
  2600  				if shift >= 64 {
  2601  					return ErrIntOverflowTx
  2602  				}
  2603  				if iNdEx >= l {
  2604  					return io.ErrUnexpectedEOF
  2605  				}
  2606  				b := dAtA[iNdEx]
  2607  				iNdEx++
  2608  				stringLen |= uint64(b&0x7F) << shift
  2609  				if b < 0x80 {
  2610  					break
  2611  				}
  2612  			}
  2613  			intStringLen := int(stringLen)
  2614  			if intStringLen < 0 {
  2615  				return ErrInvalidLengthTx
  2616  			}
  2617  			postIndex := iNdEx + intStringLen
  2618  			if postIndex < 0 {
  2619  				return ErrInvalidLengthTx
  2620  			}
  2621  			if postIndex > l {
  2622  				return io.ErrUnexpectedEOF
  2623  			}
  2624  			m.Depositor = string(dAtA[iNdEx:postIndex])
  2625  			iNdEx = postIndex
  2626  		default:
  2627  			iNdEx = preIndex
  2628  			skippy, err := skipTx(dAtA[iNdEx:])
  2629  			if err != nil {
  2630  				return err
  2631  			}
  2632  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2633  				return ErrInvalidLengthTx
  2634  			}
  2635  			if (iNdEx + skippy) > l {
  2636  				return io.ErrUnexpectedEOF
  2637  			}
  2638  			iNdEx += skippy
  2639  		}
  2640  	}
  2641  
  2642  	if iNdEx > l {
  2643  		return io.ErrUnexpectedEOF
  2644  	}
  2645  	return nil
  2646  }
  2647  func (m *MsgFundCommunityPoolResponse) Unmarshal(dAtA []byte) error {
  2648  	l := len(dAtA)
  2649  	iNdEx := 0
  2650  	for iNdEx < l {
  2651  		preIndex := iNdEx
  2652  		var wire uint64
  2653  		for shift := uint(0); ; shift += 7 {
  2654  			if shift >= 64 {
  2655  				return ErrIntOverflowTx
  2656  			}
  2657  			if iNdEx >= l {
  2658  				return io.ErrUnexpectedEOF
  2659  			}
  2660  			b := dAtA[iNdEx]
  2661  			iNdEx++
  2662  			wire |= uint64(b&0x7F) << shift
  2663  			if b < 0x80 {
  2664  				break
  2665  			}
  2666  		}
  2667  		fieldNum := int32(wire >> 3)
  2668  		wireType := int(wire & 0x7)
  2669  		if wireType == 4 {
  2670  			return fmt.Errorf("proto: MsgFundCommunityPoolResponse: wiretype end group for non-group")
  2671  		}
  2672  		if fieldNum <= 0 {
  2673  			return fmt.Errorf("proto: MsgFundCommunityPoolResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  2674  		}
  2675  		switch fieldNum {
  2676  		default:
  2677  			iNdEx = preIndex
  2678  			skippy, err := skipTx(dAtA[iNdEx:])
  2679  			if err != nil {
  2680  				return err
  2681  			}
  2682  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2683  				return ErrInvalidLengthTx
  2684  			}
  2685  			if (iNdEx + skippy) > l {
  2686  				return io.ErrUnexpectedEOF
  2687  			}
  2688  			iNdEx += skippy
  2689  		}
  2690  	}
  2691  
  2692  	if iNdEx > l {
  2693  		return io.ErrUnexpectedEOF
  2694  	}
  2695  	return nil
  2696  }
  2697  func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error {
  2698  	l := len(dAtA)
  2699  	iNdEx := 0
  2700  	for iNdEx < l {
  2701  		preIndex := iNdEx
  2702  		var wire uint64
  2703  		for shift := uint(0); ; shift += 7 {
  2704  			if shift >= 64 {
  2705  				return ErrIntOverflowTx
  2706  			}
  2707  			if iNdEx >= l {
  2708  				return io.ErrUnexpectedEOF
  2709  			}
  2710  			b := dAtA[iNdEx]
  2711  			iNdEx++
  2712  			wire |= uint64(b&0x7F) << shift
  2713  			if b < 0x80 {
  2714  				break
  2715  			}
  2716  		}
  2717  		fieldNum := int32(wire >> 3)
  2718  		wireType := int(wire & 0x7)
  2719  		if wireType == 4 {
  2720  			return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group")
  2721  		}
  2722  		if fieldNum <= 0 {
  2723  			return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire)
  2724  		}
  2725  		switch fieldNum {
  2726  		case 1:
  2727  			if wireType != 2 {
  2728  				return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType)
  2729  			}
  2730  			var stringLen uint64
  2731  			for shift := uint(0); ; shift += 7 {
  2732  				if shift >= 64 {
  2733  					return ErrIntOverflowTx
  2734  				}
  2735  				if iNdEx >= l {
  2736  					return io.ErrUnexpectedEOF
  2737  				}
  2738  				b := dAtA[iNdEx]
  2739  				iNdEx++
  2740  				stringLen |= uint64(b&0x7F) << shift
  2741  				if b < 0x80 {
  2742  					break
  2743  				}
  2744  			}
  2745  			intStringLen := int(stringLen)
  2746  			if intStringLen < 0 {
  2747  				return ErrInvalidLengthTx
  2748  			}
  2749  			postIndex := iNdEx + intStringLen
  2750  			if postIndex < 0 {
  2751  				return ErrInvalidLengthTx
  2752  			}
  2753  			if postIndex > l {
  2754  				return io.ErrUnexpectedEOF
  2755  			}
  2756  			m.Authority = string(dAtA[iNdEx:postIndex])
  2757  			iNdEx = postIndex
  2758  		case 2:
  2759  			if wireType != 2 {
  2760  				return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType)
  2761  			}
  2762  			var msglen int
  2763  			for shift := uint(0); ; shift += 7 {
  2764  				if shift >= 64 {
  2765  					return ErrIntOverflowTx
  2766  				}
  2767  				if iNdEx >= l {
  2768  					return io.ErrUnexpectedEOF
  2769  				}
  2770  				b := dAtA[iNdEx]
  2771  				iNdEx++
  2772  				msglen |= int(b&0x7F) << shift
  2773  				if b < 0x80 {
  2774  					break
  2775  				}
  2776  			}
  2777  			if msglen < 0 {
  2778  				return ErrInvalidLengthTx
  2779  			}
  2780  			postIndex := iNdEx + msglen
  2781  			if postIndex < 0 {
  2782  				return ErrInvalidLengthTx
  2783  			}
  2784  			if postIndex > l {
  2785  				return io.ErrUnexpectedEOF
  2786  			}
  2787  			if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2788  				return err
  2789  			}
  2790  			iNdEx = postIndex
  2791  		default:
  2792  			iNdEx = preIndex
  2793  			skippy, err := skipTx(dAtA[iNdEx:])
  2794  			if err != nil {
  2795  				return err
  2796  			}
  2797  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2798  				return ErrInvalidLengthTx
  2799  			}
  2800  			if (iNdEx + skippy) > l {
  2801  				return io.ErrUnexpectedEOF
  2802  			}
  2803  			iNdEx += skippy
  2804  		}
  2805  	}
  2806  
  2807  	if iNdEx > l {
  2808  		return io.ErrUnexpectedEOF
  2809  	}
  2810  	return nil
  2811  }
  2812  func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error {
  2813  	l := len(dAtA)
  2814  	iNdEx := 0
  2815  	for iNdEx < l {
  2816  		preIndex := iNdEx
  2817  		var wire uint64
  2818  		for shift := uint(0); ; shift += 7 {
  2819  			if shift >= 64 {
  2820  				return ErrIntOverflowTx
  2821  			}
  2822  			if iNdEx >= l {
  2823  				return io.ErrUnexpectedEOF
  2824  			}
  2825  			b := dAtA[iNdEx]
  2826  			iNdEx++
  2827  			wire |= uint64(b&0x7F) << shift
  2828  			if b < 0x80 {
  2829  				break
  2830  			}
  2831  		}
  2832  		fieldNum := int32(wire >> 3)
  2833  		wireType := int(wire & 0x7)
  2834  		if wireType == 4 {
  2835  			return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group")
  2836  		}
  2837  		if fieldNum <= 0 {
  2838  			return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  2839  		}
  2840  		switch fieldNum {
  2841  		default:
  2842  			iNdEx = preIndex
  2843  			skippy, err := skipTx(dAtA[iNdEx:])
  2844  			if err != nil {
  2845  				return err
  2846  			}
  2847  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2848  				return ErrInvalidLengthTx
  2849  			}
  2850  			if (iNdEx + skippy) > l {
  2851  				return io.ErrUnexpectedEOF
  2852  			}
  2853  			iNdEx += skippy
  2854  		}
  2855  	}
  2856  
  2857  	if iNdEx > l {
  2858  		return io.ErrUnexpectedEOF
  2859  	}
  2860  	return nil
  2861  }
  2862  func (m *MsgCommunityPoolSpend) Unmarshal(dAtA []byte) error {
  2863  	l := len(dAtA)
  2864  	iNdEx := 0
  2865  	for iNdEx < l {
  2866  		preIndex := iNdEx
  2867  		var wire uint64
  2868  		for shift := uint(0); ; shift += 7 {
  2869  			if shift >= 64 {
  2870  				return ErrIntOverflowTx
  2871  			}
  2872  			if iNdEx >= l {
  2873  				return io.ErrUnexpectedEOF
  2874  			}
  2875  			b := dAtA[iNdEx]
  2876  			iNdEx++
  2877  			wire |= uint64(b&0x7F) << shift
  2878  			if b < 0x80 {
  2879  				break
  2880  			}
  2881  		}
  2882  		fieldNum := int32(wire >> 3)
  2883  		wireType := int(wire & 0x7)
  2884  		if wireType == 4 {
  2885  			return fmt.Errorf("proto: MsgCommunityPoolSpend: wiretype end group for non-group")
  2886  		}
  2887  		if fieldNum <= 0 {
  2888  			return fmt.Errorf("proto: MsgCommunityPoolSpend: illegal tag %d (wire type %d)", fieldNum, wire)
  2889  		}
  2890  		switch fieldNum {
  2891  		case 1:
  2892  			if wireType != 2 {
  2893  				return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType)
  2894  			}
  2895  			var stringLen uint64
  2896  			for shift := uint(0); ; shift += 7 {
  2897  				if shift >= 64 {
  2898  					return ErrIntOverflowTx
  2899  				}
  2900  				if iNdEx >= l {
  2901  					return io.ErrUnexpectedEOF
  2902  				}
  2903  				b := dAtA[iNdEx]
  2904  				iNdEx++
  2905  				stringLen |= uint64(b&0x7F) << shift
  2906  				if b < 0x80 {
  2907  					break
  2908  				}
  2909  			}
  2910  			intStringLen := int(stringLen)
  2911  			if intStringLen < 0 {
  2912  				return ErrInvalidLengthTx
  2913  			}
  2914  			postIndex := iNdEx + intStringLen
  2915  			if postIndex < 0 {
  2916  				return ErrInvalidLengthTx
  2917  			}
  2918  			if postIndex > l {
  2919  				return io.ErrUnexpectedEOF
  2920  			}
  2921  			m.Authority = string(dAtA[iNdEx:postIndex])
  2922  			iNdEx = postIndex
  2923  		case 2:
  2924  			if wireType != 2 {
  2925  				return fmt.Errorf("proto: wrong wireType = %d for field Recipient", wireType)
  2926  			}
  2927  			var stringLen uint64
  2928  			for shift := uint(0); ; shift += 7 {
  2929  				if shift >= 64 {
  2930  					return ErrIntOverflowTx
  2931  				}
  2932  				if iNdEx >= l {
  2933  					return io.ErrUnexpectedEOF
  2934  				}
  2935  				b := dAtA[iNdEx]
  2936  				iNdEx++
  2937  				stringLen |= uint64(b&0x7F) << shift
  2938  				if b < 0x80 {
  2939  					break
  2940  				}
  2941  			}
  2942  			intStringLen := int(stringLen)
  2943  			if intStringLen < 0 {
  2944  				return ErrInvalidLengthTx
  2945  			}
  2946  			postIndex := iNdEx + intStringLen
  2947  			if postIndex < 0 {
  2948  				return ErrInvalidLengthTx
  2949  			}
  2950  			if postIndex > l {
  2951  				return io.ErrUnexpectedEOF
  2952  			}
  2953  			m.Recipient = string(dAtA[iNdEx:postIndex])
  2954  			iNdEx = postIndex
  2955  		case 3:
  2956  			if wireType != 2 {
  2957  				return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
  2958  			}
  2959  			var msglen int
  2960  			for shift := uint(0); ; shift += 7 {
  2961  				if shift >= 64 {
  2962  					return ErrIntOverflowTx
  2963  				}
  2964  				if iNdEx >= l {
  2965  					return io.ErrUnexpectedEOF
  2966  				}
  2967  				b := dAtA[iNdEx]
  2968  				iNdEx++
  2969  				msglen |= int(b&0x7F) << shift
  2970  				if b < 0x80 {
  2971  					break
  2972  				}
  2973  			}
  2974  			if msglen < 0 {
  2975  				return ErrInvalidLengthTx
  2976  			}
  2977  			postIndex := iNdEx + msglen
  2978  			if postIndex < 0 {
  2979  				return ErrInvalidLengthTx
  2980  			}
  2981  			if postIndex > l {
  2982  				return io.ErrUnexpectedEOF
  2983  			}
  2984  			m.Amount = append(m.Amount, types.Coin{})
  2985  			if err := m.Amount[len(m.Amount)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2986  				return err
  2987  			}
  2988  			iNdEx = postIndex
  2989  		default:
  2990  			iNdEx = preIndex
  2991  			skippy, err := skipTx(dAtA[iNdEx:])
  2992  			if err != nil {
  2993  				return err
  2994  			}
  2995  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2996  				return ErrInvalidLengthTx
  2997  			}
  2998  			if (iNdEx + skippy) > l {
  2999  				return io.ErrUnexpectedEOF
  3000  			}
  3001  			iNdEx += skippy
  3002  		}
  3003  	}
  3004  
  3005  	if iNdEx > l {
  3006  		return io.ErrUnexpectedEOF
  3007  	}
  3008  	return nil
  3009  }
  3010  func (m *MsgCommunityPoolSpendResponse) Unmarshal(dAtA []byte) error {
  3011  	l := len(dAtA)
  3012  	iNdEx := 0
  3013  	for iNdEx < l {
  3014  		preIndex := iNdEx
  3015  		var wire uint64
  3016  		for shift := uint(0); ; shift += 7 {
  3017  			if shift >= 64 {
  3018  				return ErrIntOverflowTx
  3019  			}
  3020  			if iNdEx >= l {
  3021  				return io.ErrUnexpectedEOF
  3022  			}
  3023  			b := dAtA[iNdEx]
  3024  			iNdEx++
  3025  			wire |= uint64(b&0x7F) << shift
  3026  			if b < 0x80 {
  3027  				break
  3028  			}
  3029  		}
  3030  		fieldNum := int32(wire >> 3)
  3031  		wireType := int(wire & 0x7)
  3032  		if wireType == 4 {
  3033  			return fmt.Errorf("proto: MsgCommunityPoolSpendResponse: wiretype end group for non-group")
  3034  		}
  3035  		if fieldNum <= 0 {
  3036  			return fmt.Errorf("proto: MsgCommunityPoolSpendResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  3037  		}
  3038  		switch fieldNum {
  3039  		default:
  3040  			iNdEx = preIndex
  3041  			skippy, err := skipTx(dAtA[iNdEx:])
  3042  			if err != nil {
  3043  				return err
  3044  			}
  3045  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3046  				return ErrInvalidLengthTx
  3047  			}
  3048  			if (iNdEx + skippy) > l {
  3049  				return io.ErrUnexpectedEOF
  3050  			}
  3051  			iNdEx += skippy
  3052  		}
  3053  	}
  3054  
  3055  	if iNdEx > l {
  3056  		return io.ErrUnexpectedEOF
  3057  	}
  3058  	return nil
  3059  }
  3060  func (m *MsgDepositValidatorRewardsPool) Unmarshal(dAtA []byte) error {
  3061  	l := len(dAtA)
  3062  	iNdEx := 0
  3063  	for iNdEx < l {
  3064  		preIndex := iNdEx
  3065  		var wire uint64
  3066  		for shift := uint(0); ; shift += 7 {
  3067  			if shift >= 64 {
  3068  				return ErrIntOverflowTx
  3069  			}
  3070  			if iNdEx >= l {
  3071  				return io.ErrUnexpectedEOF
  3072  			}
  3073  			b := dAtA[iNdEx]
  3074  			iNdEx++
  3075  			wire |= uint64(b&0x7F) << shift
  3076  			if b < 0x80 {
  3077  				break
  3078  			}
  3079  		}
  3080  		fieldNum := int32(wire >> 3)
  3081  		wireType := int(wire & 0x7)
  3082  		if wireType == 4 {
  3083  			return fmt.Errorf("proto: MsgDepositValidatorRewardsPool: wiretype end group for non-group")
  3084  		}
  3085  		if fieldNum <= 0 {
  3086  			return fmt.Errorf("proto: MsgDepositValidatorRewardsPool: illegal tag %d (wire type %d)", fieldNum, wire)
  3087  		}
  3088  		switch fieldNum {
  3089  		case 1:
  3090  			if wireType != 2 {
  3091  				return fmt.Errorf("proto: wrong wireType = %d for field Depositor", wireType)
  3092  			}
  3093  			var stringLen uint64
  3094  			for shift := uint(0); ; shift += 7 {
  3095  				if shift >= 64 {
  3096  					return ErrIntOverflowTx
  3097  				}
  3098  				if iNdEx >= l {
  3099  					return io.ErrUnexpectedEOF
  3100  				}
  3101  				b := dAtA[iNdEx]
  3102  				iNdEx++
  3103  				stringLen |= uint64(b&0x7F) << shift
  3104  				if b < 0x80 {
  3105  					break
  3106  				}
  3107  			}
  3108  			intStringLen := int(stringLen)
  3109  			if intStringLen < 0 {
  3110  				return ErrInvalidLengthTx
  3111  			}
  3112  			postIndex := iNdEx + intStringLen
  3113  			if postIndex < 0 {
  3114  				return ErrInvalidLengthTx
  3115  			}
  3116  			if postIndex > l {
  3117  				return io.ErrUnexpectedEOF
  3118  			}
  3119  			m.Depositor = string(dAtA[iNdEx:postIndex])
  3120  			iNdEx = postIndex
  3121  		case 2:
  3122  			if wireType != 2 {
  3123  				return fmt.Errorf("proto: wrong wireType = %d for field ValidatorAddress", wireType)
  3124  			}
  3125  			var stringLen uint64
  3126  			for shift := uint(0); ; shift += 7 {
  3127  				if shift >= 64 {
  3128  					return ErrIntOverflowTx
  3129  				}
  3130  				if iNdEx >= l {
  3131  					return io.ErrUnexpectedEOF
  3132  				}
  3133  				b := dAtA[iNdEx]
  3134  				iNdEx++
  3135  				stringLen |= uint64(b&0x7F) << shift
  3136  				if b < 0x80 {
  3137  					break
  3138  				}
  3139  			}
  3140  			intStringLen := int(stringLen)
  3141  			if intStringLen < 0 {
  3142  				return ErrInvalidLengthTx
  3143  			}
  3144  			postIndex := iNdEx + intStringLen
  3145  			if postIndex < 0 {
  3146  				return ErrInvalidLengthTx
  3147  			}
  3148  			if postIndex > l {
  3149  				return io.ErrUnexpectedEOF
  3150  			}
  3151  			m.ValidatorAddress = string(dAtA[iNdEx:postIndex])
  3152  			iNdEx = postIndex
  3153  		case 3:
  3154  			if wireType != 2 {
  3155  				return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
  3156  			}
  3157  			var msglen int
  3158  			for shift := uint(0); ; shift += 7 {
  3159  				if shift >= 64 {
  3160  					return ErrIntOverflowTx
  3161  				}
  3162  				if iNdEx >= l {
  3163  					return io.ErrUnexpectedEOF
  3164  				}
  3165  				b := dAtA[iNdEx]
  3166  				iNdEx++
  3167  				msglen |= int(b&0x7F) << shift
  3168  				if b < 0x80 {
  3169  					break
  3170  				}
  3171  			}
  3172  			if msglen < 0 {
  3173  				return ErrInvalidLengthTx
  3174  			}
  3175  			postIndex := iNdEx + msglen
  3176  			if postIndex < 0 {
  3177  				return ErrInvalidLengthTx
  3178  			}
  3179  			if postIndex > l {
  3180  				return io.ErrUnexpectedEOF
  3181  			}
  3182  			m.Amount = append(m.Amount, types.Coin{})
  3183  			if err := m.Amount[len(m.Amount)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3184  				return err
  3185  			}
  3186  			iNdEx = postIndex
  3187  		default:
  3188  			iNdEx = preIndex
  3189  			skippy, err := skipTx(dAtA[iNdEx:])
  3190  			if err != nil {
  3191  				return err
  3192  			}
  3193  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3194  				return ErrInvalidLengthTx
  3195  			}
  3196  			if (iNdEx + skippy) > l {
  3197  				return io.ErrUnexpectedEOF
  3198  			}
  3199  			iNdEx += skippy
  3200  		}
  3201  	}
  3202  
  3203  	if iNdEx > l {
  3204  		return io.ErrUnexpectedEOF
  3205  	}
  3206  	return nil
  3207  }
  3208  func (m *MsgDepositValidatorRewardsPoolResponse) Unmarshal(dAtA []byte) error {
  3209  	l := len(dAtA)
  3210  	iNdEx := 0
  3211  	for iNdEx < l {
  3212  		preIndex := iNdEx
  3213  		var wire uint64
  3214  		for shift := uint(0); ; shift += 7 {
  3215  			if shift >= 64 {
  3216  				return ErrIntOverflowTx
  3217  			}
  3218  			if iNdEx >= l {
  3219  				return io.ErrUnexpectedEOF
  3220  			}
  3221  			b := dAtA[iNdEx]
  3222  			iNdEx++
  3223  			wire |= uint64(b&0x7F) << shift
  3224  			if b < 0x80 {
  3225  				break
  3226  			}
  3227  		}
  3228  		fieldNum := int32(wire >> 3)
  3229  		wireType := int(wire & 0x7)
  3230  		if wireType == 4 {
  3231  			return fmt.Errorf("proto: MsgDepositValidatorRewardsPoolResponse: wiretype end group for non-group")
  3232  		}
  3233  		if fieldNum <= 0 {
  3234  			return fmt.Errorf("proto: MsgDepositValidatorRewardsPoolResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  3235  		}
  3236  		switch fieldNum {
  3237  		default:
  3238  			iNdEx = preIndex
  3239  			skippy, err := skipTx(dAtA[iNdEx:])
  3240  			if err != nil {
  3241  				return err
  3242  			}
  3243  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3244  				return ErrInvalidLengthTx
  3245  			}
  3246  			if (iNdEx + skippy) > l {
  3247  				return io.ErrUnexpectedEOF
  3248  			}
  3249  			iNdEx += skippy
  3250  		}
  3251  	}
  3252  
  3253  	if iNdEx > l {
  3254  		return io.ErrUnexpectedEOF
  3255  	}
  3256  	return nil
  3257  }
  3258  func skipTx(dAtA []byte) (n int, err error) {
  3259  	l := len(dAtA)
  3260  	iNdEx := 0
  3261  	depth := 0
  3262  	for iNdEx < l {
  3263  		var wire uint64
  3264  		for shift := uint(0); ; shift += 7 {
  3265  			if shift >= 64 {
  3266  				return 0, ErrIntOverflowTx
  3267  			}
  3268  			if iNdEx >= l {
  3269  				return 0, io.ErrUnexpectedEOF
  3270  			}
  3271  			b := dAtA[iNdEx]
  3272  			iNdEx++
  3273  			wire |= (uint64(b) & 0x7F) << shift
  3274  			if b < 0x80 {
  3275  				break
  3276  			}
  3277  		}
  3278  		wireType := int(wire & 0x7)
  3279  		switch wireType {
  3280  		case 0:
  3281  			for shift := uint(0); ; shift += 7 {
  3282  				if shift >= 64 {
  3283  					return 0, ErrIntOverflowTx
  3284  				}
  3285  				if iNdEx >= l {
  3286  					return 0, io.ErrUnexpectedEOF
  3287  				}
  3288  				iNdEx++
  3289  				if dAtA[iNdEx-1] < 0x80 {
  3290  					break
  3291  				}
  3292  			}
  3293  		case 1:
  3294  			iNdEx += 8
  3295  		case 2:
  3296  			var length int
  3297  			for shift := uint(0); ; shift += 7 {
  3298  				if shift >= 64 {
  3299  					return 0, ErrIntOverflowTx
  3300  				}
  3301  				if iNdEx >= l {
  3302  					return 0, io.ErrUnexpectedEOF
  3303  				}
  3304  				b := dAtA[iNdEx]
  3305  				iNdEx++
  3306  				length |= (int(b) & 0x7F) << shift
  3307  				if b < 0x80 {
  3308  					break
  3309  				}
  3310  			}
  3311  			if length < 0 {
  3312  				return 0, ErrInvalidLengthTx
  3313  			}
  3314  			iNdEx += length
  3315  		case 3:
  3316  			depth++
  3317  		case 4:
  3318  			if depth == 0 {
  3319  				return 0, ErrUnexpectedEndOfGroupTx
  3320  			}
  3321  			depth--
  3322  		case 5:
  3323  			iNdEx += 4
  3324  		default:
  3325  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  3326  		}
  3327  		if iNdEx < 0 {
  3328  			return 0, ErrInvalidLengthTx
  3329  		}
  3330  		if depth == 0 {
  3331  			return iNdEx, nil
  3332  		}
  3333  	}
  3334  	return 0, io.ErrUnexpectedEOF
  3335  }
  3336  
  3337  var (
  3338  	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
  3339  	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
  3340  	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
  3341  )