github.com/Finschia/finschia-sdk@v0.48.1/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_Finschia_finschia_sdk_types "github.com/Finschia/finschia-sdk/types"
    10  	types "github.com/Finschia/finschia-sdk/types"
    11  	_ "github.com/gogo/protobuf/gogoproto"
    12  	grpc1 "github.com/gogo/protobuf/grpc"
    13  	proto "github.com/gogo/protobuf/proto"
    14  	grpc "google.golang.org/grpc"
    15  	codes "google.golang.org/grpc/codes"
    16  	status "google.golang.org/grpc/status"
    17  	io "io"
    18  	math "math"
    19  	math_bits "math/bits"
    20  )
    21  
    22  // Reference imports to suppress errors if they are not otherwise used.
    23  var _ = proto.Marshal
    24  var _ = fmt.Errorf
    25  var _ = math.Inf
    26  
    27  // This is a compile-time assertion to ensure that this generated file
    28  // is compatible with the proto package it is being compiled against.
    29  // A compilation error at this line likely means your copy of the
    30  // proto package needs to be updated.
    31  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    32  
    33  // MsgSetWithdrawAddress sets the withdraw address for
    34  // a delegator (or validator self-delegation).
    35  type MsgSetWithdrawAddress struct {
    36  	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty" yaml:"delegator_address"`
    37  	WithdrawAddress  string `protobuf:"bytes,2,opt,name=withdraw_address,json=withdrawAddress,proto3" json:"withdraw_address,omitempty" yaml:"withdraw_address"`
    38  }
    39  
    40  func (m *MsgSetWithdrawAddress) Reset()         { *m = MsgSetWithdrawAddress{} }
    41  func (m *MsgSetWithdrawAddress) String() string { return proto.CompactTextString(m) }
    42  func (*MsgSetWithdrawAddress) ProtoMessage()    {}
    43  func (*MsgSetWithdrawAddress) Descriptor() ([]byte, []int) {
    44  	return fileDescriptor_ed4f433d965e58ca, []int{0}
    45  }
    46  func (m *MsgSetWithdrawAddress) XXX_Unmarshal(b []byte) error {
    47  	return m.Unmarshal(b)
    48  }
    49  func (m *MsgSetWithdrawAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    50  	if deterministic {
    51  		return xxx_messageInfo_MsgSetWithdrawAddress.Marshal(b, m, deterministic)
    52  	} else {
    53  		b = b[:cap(b)]
    54  		n, err := m.MarshalToSizedBuffer(b)
    55  		if err != nil {
    56  			return nil, err
    57  		}
    58  		return b[:n], nil
    59  	}
    60  }
    61  func (m *MsgSetWithdrawAddress) XXX_Merge(src proto.Message) {
    62  	xxx_messageInfo_MsgSetWithdrawAddress.Merge(m, src)
    63  }
    64  func (m *MsgSetWithdrawAddress) XXX_Size() int {
    65  	return m.Size()
    66  }
    67  func (m *MsgSetWithdrawAddress) XXX_DiscardUnknown() {
    68  	xxx_messageInfo_MsgSetWithdrawAddress.DiscardUnknown(m)
    69  }
    70  
    71  var xxx_messageInfo_MsgSetWithdrawAddress proto.InternalMessageInfo
    72  
    73  // MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type.
    74  type MsgSetWithdrawAddressResponse struct {
    75  }
    76  
    77  func (m *MsgSetWithdrawAddressResponse) Reset()         { *m = MsgSetWithdrawAddressResponse{} }
    78  func (m *MsgSetWithdrawAddressResponse) String() string { return proto.CompactTextString(m) }
    79  func (*MsgSetWithdrawAddressResponse) ProtoMessage()    {}
    80  func (*MsgSetWithdrawAddressResponse) Descriptor() ([]byte, []int) {
    81  	return fileDescriptor_ed4f433d965e58ca, []int{1}
    82  }
    83  func (m *MsgSetWithdrawAddressResponse) XXX_Unmarshal(b []byte) error {
    84  	return m.Unmarshal(b)
    85  }
    86  func (m *MsgSetWithdrawAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    87  	if deterministic {
    88  		return xxx_messageInfo_MsgSetWithdrawAddressResponse.Marshal(b, m, deterministic)
    89  	} else {
    90  		b = b[:cap(b)]
    91  		n, err := m.MarshalToSizedBuffer(b)
    92  		if err != nil {
    93  			return nil, err
    94  		}
    95  		return b[:n], nil
    96  	}
    97  }
    98  func (m *MsgSetWithdrawAddressResponse) XXX_Merge(src proto.Message) {
    99  	xxx_messageInfo_MsgSetWithdrawAddressResponse.Merge(m, src)
   100  }
   101  func (m *MsgSetWithdrawAddressResponse) XXX_Size() int {
   102  	return m.Size()
   103  }
   104  func (m *MsgSetWithdrawAddressResponse) XXX_DiscardUnknown() {
   105  	xxx_messageInfo_MsgSetWithdrawAddressResponse.DiscardUnknown(m)
   106  }
   107  
   108  var xxx_messageInfo_MsgSetWithdrawAddressResponse proto.InternalMessageInfo
   109  
   110  // MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator
   111  // from a single validator.
   112  type MsgWithdrawDelegatorReward struct {
   113  	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty" yaml:"delegator_address"`
   114  	ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty" yaml:"validator_address"`
   115  }
   116  
   117  func (m *MsgWithdrawDelegatorReward) Reset()         { *m = MsgWithdrawDelegatorReward{} }
   118  func (m *MsgWithdrawDelegatorReward) String() string { return proto.CompactTextString(m) }
   119  func (*MsgWithdrawDelegatorReward) ProtoMessage()    {}
   120  func (*MsgWithdrawDelegatorReward) Descriptor() ([]byte, []int) {
   121  	return fileDescriptor_ed4f433d965e58ca, []int{2}
   122  }
   123  func (m *MsgWithdrawDelegatorReward) XXX_Unmarshal(b []byte) error {
   124  	return m.Unmarshal(b)
   125  }
   126  func (m *MsgWithdrawDelegatorReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   127  	if deterministic {
   128  		return xxx_messageInfo_MsgWithdrawDelegatorReward.Marshal(b, m, deterministic)
   129  	} else {
   130  		b = b[:cap(b)]
   131  		n, err := m.MarshalToSizedBuffer(b)
   132  		if err != nil {
   133  			return nil, err
   134  		}
   135  		return b[:n], nil
   136  	}
   137  }
   138  func (m *MsgWithdrawDelegatorReward) XXX_Merge(src proto.Message) {
   139  	xxx_messageInfo_MsgWithdrawDelegatorReward.Merge(m, src)
   140  }
   141  func (m *MsgWithdrawDelegatorReward) XXX_Size() int {
   142  	return m.Size()
   143  }
   144  func (m *MsgWithdrawDelegatorReward) XXX_DiscardUnknown() {
   145  	xxx_messageInfo_MsgWithdrawDelegatorReward.DiscardUnknown(m)
   146  }
   147  
   148  var xxx_messageInfo_MsgWithdrawDelegatorReward proto.InternalMessageInfo
   149  
   150  // MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type.
   151  type MsgWithdrawDelegatorRewardResponse struct {
   152  }
   153  
   154  func (m *MsgWithdrawDelegatorRewardResponse) Reset()         { *m = MsgWithdrawDelegatorRewardResponse{} }
   155  func (m *MsgWithdrawDelegatorRewardResponse) String() string { return proto.CompactTextString(m) }
   156  func (*MsgWithdrawDelegatorRewardResponse) ProtoMessage()    {}
   157  func (*MsgWithdrawDelegatorRewardResponse) Descriptor() ([]byte, []int) {
   158  	return fileDescriptor_ed4f433d965e58ca, []int{3}
   159  }
   160  func (m *MsgWithdrawDelegatorRewardResponse) XXX_Unmarshal(b []byte) error {
   161  	return m.Unmarshal(b)
   162  }
   163  func (m *MsgWithdrawDelegatorRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   164  	if deterministic {
   165  		return xxx_messageInfo_MsgWithdrawDelegatorRewardResponse.Marshal(b, m, deterministic)
   166  	} else {
   167  		b = b[:cap(b)]
   168  		n, err := m.MarshalToSizedBuffer(b)
   169  		if err != nil {
   170  			return nil, err
   171  		}
   172  		return b[:n], nil
   173  	}
   174  }
   175  func (m *MsgWithdrawDelegatorRewardResponse) XXX_Merge(src proto.Message) {
   176  	xxx_messageInfo_MsgWithdrawDelegatorRewardResponse.Merge(m, src)
   177  }
   178  func (m *MsgWithdrawDelegatorRewardResponse) XXX_Size() int {
   179  	return m.Size()
   180  }
   181  func (m *MsgWithdrawDelegatorRewardResponse) XXX_DiscardUnknown() {
   182  	xxx_messageInfo_MsgWithdrawDelegatorRewardResponse.DiscardUnknown(m)
   183  }
   184  
   185  var xxx_messageInfo_MsgWithdrawDelegatorRewardResponse proto.InternalMessageInfo
   186  
   187  // MsgWithdrawValidatorCommission withdraws the full commission to the validator
   188  // address.
   189  type MsgWithdrawValidatorCommission struct {
   190  	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty" yaml:"validator_address"`
   191  }
   192  
   193  func (m *MsgWithdrawValidatorCommission) Reset()         { *m = MsgWithdrawValidatorCommission{} }
   194  func (m *MsgWithdrawValidatorCommission) String() string { return proto.CompactTextString(m) }
   195  func (*MsgWithdrawValidatorCommission) ProtoMessage()    {}
   196  func (*MsgWithdrawValidatorCommission) Descriptor() ([]byte, []int) {
   197  	return fileDescriptor_ed4f433d965e58ca, []int{4}
   198  }
   199  func (m *MsgWithdrawValidatorCommission) XXX_Unmarshal(b []byte) error {
   200  	return m.Unmarshal(b)
   201  }
   202  func (m *MsgWithdrawValidatorCommission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   203  	if deterministic {
   204  		return xxx_messageInfo_MsgWithdrawValidatorCommission.Marshal(b, m, deterministic)
   205  	} else {
   206  		b = b[:cap(b)]
   207  		n, err := m.MarshalToSizedBuffer(b)
   208  		if err != nil {
   209  			return nil, err
   210  		}
   211  		return b[:n], nil
   212  	}
   213  }
   214  func (m *MsgWithdrawValidatorCommission) XXX_Merge(src proto.Message) {
   215  	xxx_messageInfo_MsgWithdrawValidatorCommission.Merge(m, src)
   216  }
   217  func (m *MsgWithdrawValidatorCommission) XXX_Size() int {
   218  	return m.Size()
   219  }
   220  func (m *MsgWithdrawValidatorCommission) XXX_DiscardUnknown() {
   221  	xxx_messageInfo_MsgWithdrawValidatorCommission.DiscardUnknown(m)
   222  }
   223  
   224  var xxx_messageInfo_MsgWithdrawValidatorCommission proto.InternalMessageInfo
   225  
   226  // MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type.
   227  type MsgWithdrawValidatorCommissionResponse struct {
   228  }
   229  
   230  func (m *MsgWithdrawValidatorCommissionResponse) Reset() {
   231  	*m = MsgWithdrawValidatorCommissionResponse{}
   232  }
   233  func (m *MsgWithdrawValidatorCommissionResponse) String() string { return proto.CompactTextString(m) }
   234  func (*MsgWithdrawValidatorCommissionResponse) ProtoMessage()    {}
   235  func (*MsgWithdrawValidatorCommissionResponse) Descriptor() ([]byte, []int) {
   236  	return fileDescriptor_ed4f433d965e58ca, []int{5}
   237  }
   238  func (m *MsgWithdrawValidatorCommissionResponse) XXX_Unmarshal(b []byte) error {
   239  	return m.Unmarshal(b)
   240  }
   241  func (m *MsgWithdrawValidatorCommissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   242  	if deterministic {
   243  		return xxx_messageInfo_MsgWithdrawValidatorCommissionResponse.Marshal(b, m, deterministic)
   244  	} else {
   245  		b = b[:cap(b)]
   246  		n, err := m.MarshalToSizedBuffer(b)
   247  		if err != nil {
   248  			return nil, err
   249  		}
   250  		return b[:n], nil
   251  	}
   252  }
   253  func (m *MsgWithdrawValidatorCommissionResponse) XXX_Merge(src proto.Message) {
   254  	xxx_messageInfo_MsgWithdrawValidatorCommissionResponse.Merge(m, src)
   255  }
   256  func (m *MsgWithdrawValidatorCommissionResponse) XXX_Size() int {
   257  	return m.Size()
   258  }
   259  func (m *MsgWithdrawValidatorCommissionResponse) XXX_DiscardUnknown() {
   260  	xxx_messageInfo_MsgWithdrawValidatorCommissionResponse.DiscardUnknown(m)
   261  }
   262  
   263  var xxx_messageInfo_MsgWithdrawValidatorCommissionResponse proto.InternalMessageInfo
   264  
   265  // MsgFundCommunityPool allows an account to directly
   266  // fund the community pool.
   267  type MsgFundCommunityPool struct {
   268  	Amount    github_com_Finschia_finschia_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/Finschia/finschia-sdk/types.Coins" json:"amount"`
   269  	Depositor string                                       `protobuf:"bytes,2,opt,name=depositor,proto3" json:"depositor,omitempty"`
   270  }
   271  
   272  func (m *MsgFundCommunityPool) Reset()         { *m = MsgFundCommunityPool{} }
   273  func (m *MsgFundCommunityPool) String() string { return proto.CompactTextString(m) }
   274  func (*MsgFundCommunityPool) ProtoMessage()    {}
   275  func (*MsgFundCommunityPool) Descriptor() ([]byte, []int) {
   276  	return fileDescriptor_ed4f433d965e58ca, []int{6}
   277  }
   278  func (m *MsgFundCommunityPool) XXX_Unmarshal(b []byte) error {
   279  	return m.Unmarshal(b)
   280  }
   281  func (m *MsgFundCommunityPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   282  	if deterministic {
   283  		return xxx_messageInfo_MsgFundCommunityPool.Marshal(b, m, deterministic)
   284  	} else {
   285  		b = b[:cap(b)]
   286  		n, err := m.MarshalToSizedBuffer(b)
   287  		if err != nil {
   288  			return nil, err
   289  		}
   290  		return b[:n], nil
   291  	}
   292  }
   293  func (m *MsgFundCommunityPool) XXX_Merge(src proto.Message) {
   294  	xxx_messageInfo_MsgFundCommunityPool.Merge(m, src)
   295  }
   296  func (m *MsgFundCommunityPool) XXX_Size() int {
   297  	return m.Size()
   298  }
   299  func (m *MsgFundCommunityPool) XXX_DiscardUnknown() {
   300  	xxx_messageInfo_MsgFundCommunityPool.DiscardUnknown(m)
   301  }
   302  
   303  var xxx_messageInfo_MsgFundCommunityPool proto.InternalMessageInfo
   304  
   305  // MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type.
   306  type MsgFundCommunityPoolResponse struct {
   307  }
   308  
   309  func (m *MsgFundCommunityPoolResponse) Reset()         { *m = MsgFundCommunityPoolResponse{} }
   310  func (m *MsgFundCommunityPoolResponse) String() string { return proto.CompactTextString(m) }
   311  func (*MsgFundCommunityPoolResponse) ProtoMessage()    {}
   312  func (*MsgFundCommunityPoolResponse) Descriptor() ([]byte, []int) {
   313  	return fileDescriptor_ed4f433d965e58ca, []int{7}
   314  }
   315  func (m *MsgFundCommunityPoolResponse) XXX_Unmarshal(b []byte) error {
   316  	return m.Unmarshal(b)
   317  }
   318  func (m *MsgFundCommunityPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   319  	if deterministic {
   320  		return xxx_messageInfo_MsgFundCommunityPoolResponse.Marshal(b, m, deterministic)
   321  	} else {
   322  		b = b[:cap(b)]
   323  		n, err := m.MarshalToSizedBuffer(b)
   324  		if err != nil {
   325  			return nil, err
   326  		}
   327  		return b[:n], nil
   328  	}
   329  }
   330  func (m *MsgFundCommunityPoolResponse) XXX_Merge(src proto.Message) {
   331  	xxx_messageInfo_MsgFundCommunityPoolResponse.Merge(m, src)
   332  }
   333  func (m *MsgFundCommunityPoolResponse) XXX_Size() int {
   334  	return m.Size()
   335  }
   336  func (m *MsgFundCommunityPoolResponse) XXX_DiscardUnknown() {
   337  	xxx_messageInfo_MsgFundCommunityPoolResponse.DiscardUnknown(m)
   338  }
   339  
   340  var xxx_messageInfo_MsgFundCommunityPoolResponse proto.InternalMessageInfo
   341  
   342  func init() {
   343  	proto.RegisterType((*MsgSetWithdrawAddress)(nil), "cosmos.distribution.v1beta1.MsgSetWithdrawAddress")
   344  	proto.RegisterType((*MsgSetWithdrawAddressResponse)(nil), "cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse")
   345  	proto.RegisterType((*MsgWithdrawDelegatorReward)(nil), "cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward")
   346  	proto.RegisterType((*MsgWithdrawDelegatorRewardResponse)(nil), "cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse")
   347  	proto.RegisterType((*MsgWithdrawValidatorCommission)(nil), "cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission")
   348  	proto.RegisterType((*MsgWithdrawValidatorCommissionResponse)(nil), "cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse")
   349  	proto.RegisterType((*MsgFundCommunityPool)(nil), "cosmos.distribution.v1beta1.MsgFundCommunityPool")
   350  	proto.RegisterType((*MsgFundCommunityPoolResponse)(nil), "cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse")
   351  }
   352  
   353  func init() {
   354  	proto.RegisterFile("cosmos/distribution/v1beta1/tx.proto", fileDescriptor_ed4f433d965e58ca)
   355  }
   356  
   357  var fileDescriptor_ed4f433d965e58ca = []byte{
   358  	// 564 bytes of a gzipped FileDescriptorProto
   359  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0x3f, 0x6f, 0xd3, 0x40,
   360  	0x18, 0xc6, 0x7d, 0x2d, 0xaa, 0xe8, 0x31, 0xd0, 0x58, 0x45, 0x0d, 0x4e, 0x38, 0x57, 0x56, 0x85,
   361  	0x32, 0x80, 0xad, 0x04, 0x10, 0x22, 0x0c, 0x88, 0x04, 0x45, 0xea, 0x10, 0x09, 0xb9, 0x12, 0x48,
   362  	0x2c, 0xe8, 0x92, 0x3b, 0x9c, 0x13, 0xb1, 0x2f, 0xf2, 0x9d, 0x9b, 0x66, 0x44, 0x62, 0x60, 0x44,
   363  	0xe2, 0x03, 0xd0, 0x0d, 0xc4, 0xcc, 0xc8, 0x07, 0xc8, 0xd8, 0x91, 0x29, 0xa0, 0x64, 0x61, 0xee,
   364  	0x27, 0x40, 0x89, 0xff, 0x90, 0x34, 0x4e, 0x42, 0x29, 0x9b, 0xf5, 0xde, 0xf3, 0xfc, 0xfc, 0xbc,
   365  	0xca, 0x73, 0x31, 0xdc, 0x6b, 0x72, 0xe1, 0x72, 0x61, 0x11, 0x26, 0xa4, 0xcf, 0x1a, 0x81, 0x64,
   366  	0xdc, 0xb3, 0x0e, 0x8b, 0x0d, 0x2a, 0x71, 0xd1, 0x92, 0x47, 0x66, 0xc7, 0xe7, 0x92, 0xab, 0xb9,
   367  	0x50, 0x65, 0x4e, 0xab, 0xcc, 0x48, 0xa5, 0x6d, 0x3b, 0xdc, 0xe1, 0x13, 0x9d, 0x35, 0x7e, 0x0a,
   368  	0x2d, 0x1a, 0x8a, 0xc0, 0x0d, 0x2c, 0x68, 0x02, 0x6c, 0x72, 0xe6, 0x85, 0xe7, 0xc6, 0x57, 0x00,
   369  	0xaf, 0xd5, 0x85, 0x73, 0x40, 0xe5, 0x73, 0x26, 0x5b, 0xc4, 0xc7, 0xdd, 0xc7, 0x84, 0xf8, 0x54,
   370  	0x08, 0x75, 0x1f, 0x66, 0x08, 0x6d, 0x53, 0x07, 0x4b, 0xee, 0xbf, 0xc4, 0xe1, 0x30, 0x0b, 0x76,
   371  	0x41, 0x61, 0xb3, 0x92, 0x3f, 0x1d, 0xe8, 0xd9, 0x1e, 0x76, 0xdb, 0x65, 0x63, 0x4e, 0x62, 0xd8,
   372  	0x5b, 0xc9, 0x2c, 0x46, 0xd5, 0xe0, 0x56, 0x37, 0xa2, 0x27, 0xa4, 0xb5, 0x09, 0x29, 0x77, 0x3a,
   373  	0xd0, 0x77, 0x42, 0xd2, 0x59, 0x85, 0x61, 0x5f, 0xed, 0xce, 0x46, 0x2a, 0x5f, 0x7e, 0x77, 0xac,
   374  	0x2b, 0xbf, 0x8e, 0x75, 0xc5, 0xd0, 0xe1, 0x8d, 0xd4, 0xd4, 0x36, 0x15, 0x1d, 0xee, 0x09, 0x6a,
   375  	0x7c, 0x03, 0x50, 0xab, 0x0b, 0x27, 0x3e, 0x7e, 0x12, 0x47, 0xb2, 0x69, 0x17, 0xfb, 0xe4, 0x7f,
   376  	0x2e, 0xb7, 0x0f, 0x33, 0x87, 0xb8, 0xcd, 0xc8, 0x0c, 0x6a, 0xed, 0x2c, 0x6a, 0x4e, 0x62, 0xd8,
   377  	0x5b, 0xc9, 0x6c, 0x7e, 0xbf, 0x3d, 0x68, 0x2c, 0x4e, 0x9f, 0x2c, 0x19, 0x40, 0x34, 0xa5, 0x7a,
   378  	0x16, 0xe3, 0xaa, 0xdc, 0x75, 0x99, 0x10, 0x8c, 0x7b, 0xe9, 0xe1, 0xc0, 0x05, 0xc3, 0x15, 0xe0,
   379  	0xcd, 0xe5, 0xaf, 0x4d, 0x02, 0x7e, 0x02, 0x70, 0xbb, 0x2e, 0x9c, 0x5a, 0xe0, 0x91, 0xf1, 0x69,
   380  	0xe0, 0x31, 0xd9, 0x7b, 0xca, 0x79, 0x5b, 0x75, 0xe0, 0x06, 0x76, 0x79, 0xe0, 0xc9, 0x2c, 0xd8,
   381  	0x5d, 0x2f, 0x5c, 0x29, 0x5d, 0x37, 0xa3, 0x6a, 0x8f, 0x7b, 0x1a, 0x57, 0xda, 0xac, 0x72, 0xe6,
   382  	0x55, 0xee, 0xf6, 0x07, 0xba, 0xf2, 0xe5, 0x87, 0x7e, 0xcb, 0x61, 0xb2, 0x15, 0x34, 0xcc, 0x26,
   383  	0x77, 0xad, 0x1a, 0xf3, 0x44, 0xb3, 0xc5, 0xb0, 0xf5, 0x2a, 0x7a, 0xb8, 0x2d, 0xc8, 0x6b, 0x4b,
   384  	0xf6, 0x3a, 0x54, 0x4c, 0x4c, 0xc2, 0x8e, 0xf0, 0x6a, 0x1e, 0x6e, 0x12, 0xda, 0xe1, 0x82, 0x49,
   385  	0xee, 0x87, 0xbf, 0x8a, 0xfd, 0x67, 0x30, 0xb5, 0x13, 0x82, 0xf9, 0xb4, 0xa0, 0xf1, 0x26, 0xa5,
   386  	0xfe, 0x25, 0xb8, 0x5e, 0x17, 0x8e, 0xfa, 0x16, 0x40, 0x35, 0xe5, 0xb2, 0x94, 0xcc, 0x25, 0x57,
   387  	0xd3, 0x4c, 0xad, 0xaa, 0x56, 0x3e, 0xbf, 0x27, 0x8e, 0xa3, 0x7e, 0x00, 0x70, 0x67, 0x51, 0xb7,
   388  	0xef, 0xaf, 0xe2, 0x2e, 0x30, 0x6a, 0x8f, 0xfe, 0xd1, 0x98, 0xa4, 0xfa, 0x08, 0x60, 0x6e, 0x59,
   389  	0x1b, 0x1f, 0xfe, 0xed, 0x0b, 0x52, 0xcc, 0x5a, 0xf5, 0x02, 0xe6, 0x24, 0xe1, 0x1b, 0x00, 0x33,
   390  	0xf3, 0x6d, 0x2c, 0xae, 0x42, 0xcf, 0x59, 0xb4, 0x07, 0xe7, 0xb6, 0xc4, 0x19, 0x2a, 0x07, 0x9f,
   391  	0x87, 0x08, 0xf4, 0x87, 0x08, 0x9c, 0x0c, 0x11, 0xf8, 0x39, 0x44, 0xe0, 0xfd, 0x08, 0x29, 0x27,
   392  	0x23, 0xa4, 0x7c, 0x1f, 0x21, 0xe5, 0xc5, 0xbd, 0x95, 0x35, 0x3f, 0x9a, 0xfd, 0x4a, 0x4c, 0x5a,
   393  	0xdf, 0xd8, 0x98, 0xfc, 0x9d, 0xdf, 0xf9, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x16, 0x81, 0xd8, 0xd9,
   394  	0x49, 0x06, 0x00, 0x00,
   395  }
   396  
   397  func (this *MsgSetWithdrawAddressResponse) Equal(that interface{}) bool {
   398  	if that == nil {
   399  		return this == nil
   400  	}
   401  
   402  	that1, ok := that.(*MsgSetWithdrawAddressResponse)
   403  	if !ok {
   404  		that2, ok := that.(MsgSetWithdrawAddressResponse)
   405  		if ok {
   406  			that1 = &that2
   407  		} else {
   408  			return false
   409  		}
   410  	}
   411  	if that1 == nil {
   412  		return this == nil
   413  	} else if this == nil {
   414  		return false
   415  	}
   416  	return true
   417  }
   418  func (this *MsgWithdrawDelegatorRewardResponse) Equal(that interface{}) bool {
   419  	if that == nil {
   420  		return this == nil
   421  	}
   422  
   423  	that1, ok := that.(*MsgWithdrawDelegatorRewardResponse)
   424  	if !ok {
   425  		that2, ok := that.(MsgWithdrawDelegatorRewardResponse)
   426  		if ok {
   427  			that1 = &that2
   428  		} else {
   429  			return false
   430  		}
   431  	}
   432  	if that1 == nil {
   433  		return this == nil
   434  	} else if this == nil {
   435  		return false
   436  	}
   437  	return true
   438  }
   439  func (this *MsgWithdrawValidatorCommissionResponse) Equal(that interface{}) bool {
   440  	if that == nil {
   441  		return this == nil
   442  	}
   443  
   444  	that1, ok := that.(*MsgWithdrawValidatorCommissionResponse)
   445  	if !ok {
   446  		that2, ok := that.(MsgWithdrawValidatorCommissionResponse)
   447  		if ok {
   448  			that1 = &that2
   449  		} else {
   450  			return false
   451  		}
   452  	}
   453  	if that1 == nil {
   454  		return this == nil
   455  	} else if this == nil {
   456  		return false
   457  	}
   458  	return true
   459  }
   460  func (this *MsgFundCommunityPoolResponse) Equal(that interface{}) bool {
   461  	if that == nil {
   462  		return this == nil
   463  	}
   464  
   465  	that1, ok := that.(*MsgFundCommunityPoolResponse)
   466  	if !ok {
   467  		that2, ok := that.(MsgFundCommunityPoolResponse)
   468  		if ok {
   469  			that1 = &that2
   470  		} else {
   471  			return false
   472  		}
   473  	}
   474  	if that1 == nil {
   475  		return this == nil
   476  	} else if this == nil {
   477  		return false
   478  	}
   479  	return true
   480  }
   481  
   482  // Reference imports to suppress errors if they are not otherwise used.
   483  var _ context.Context
   484  var _ grpc.ClientConn
   485  
   486  // This is a compile-time assertion to ensure that this generated file
   487  // is compatible with the grpc package it is being compiled against.
   488  const _ = grpc.SupportPackageIsVersion4
   489  
   490  // MsgClient is the client API for Msg service.
   491  //
   492  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   493  type MsgClient interface {
   494  	// SetWithdrawAddress defines a method to change the withdraw address
   495  	// for a delegator (or validator self-delegation).
   496  	SetWithdrawAddress(ctx context.Context, in *MsgSetWithdrawAddress, opts ...grpc.CallOption) (*MsgSetWithdrawAddressResponse, error)
   497  	// WithdrawDelegatorReward defines a method to withdraw rewards of delegator
   498  	// from a single validator.
   499  	WithdrawDelegatorReward(ctx context.Context, in *MsgWithdrawDelegatorReward, opts ...grpc.CallOption) (*MsgWithdrawDelegatorRewardResponse, error)
   500  	// WithdrawValidatorCommission defines a method to withdraw the
   501  	// full commission to the validator address.
   502  	WithdrawValidatorCommission(ctx context.Context, in *MsgWithdrawValidatorCommission, opts ...grpc.CallOption) (*MsgWithdrawValidatorCommissionResponse, error)
   503  	// FundCommunityPool defines a method to allow an account to directly
   504  	// fund the community pool.
   505  	FundCommunityPool(ctx context.Context, in *MsgFundCommunityPool, opts ...grpc.CallOption) (*MsgFundCommunityPoolResponse, error)
   506  }
   507  
   508  type msgClient struct {
   509  	cc grpc1.ClientConn
   510  }
   511  
   512  func NewMsgClient(cc grpc1.ClientConn) MsgClient {
   513  	return &msgClient{cc}
   514  }
   515  
   516  func (c *msgClient) SetWithdrawAddress(ctx context.Context, in *MsgSetWithdrawAddress, opts ...grpc.CallOption) (*MsgSetWithdrawAddressResponse, error) {
   517  	out := new(MsgSetWithdrawAddressResponse)
   518  	err := c.cc.Invoke(ctx, "/cosmos.distribution.v1beta1.Msg/SetWithdrawAddress", in, out, opts...)
   519  	if err != nil {
   520  		return nil, err
   521  	}
   522  	return out, nil
   523  }
   524  
   525  func (c *msgClient) WithdrawDelegatorReward(ctx context.Context, in *MsgWithdrawDelegatorReward, opts ...grpc.CallOption) (*MsgWithdrawDelegatorRewardResponse, error) {
   526  	out := new(MsgWithdrawDelegatorRewardResponse)
   527  	err := c.cc.Invoke(ctx, "/cosmos.distribution.v1beta1.Msg/WithdrawDelegatorReward", in, out, opts...)
   528  	if err != nil {
   529  		return nil, err
   530  	}
   531  	return out, nil
   532  }
   533  
   534  func (c *msgClient) WithdrawValidatorCommission(ctx context.Context, in *MsgWithdrawValidatorCommission, opts ...grpc.CallOption) (*MsgWithdrawValidatorCommissionResponse, error) {
   535  	out := new(MsgWithdrawValidatorCommissionResponse)
   536  	err := c.cc.Invoke(ctx, "/cosmos.distribution.v1beta1.Msg/WithdrawValidatorCommission", in, out, opts...)
   537  	if err != nil {
   538  		return nil, err
   539  	}
   540  	return out, nil
   541  }
   542  
   543  func (c *msgClient) FundCommunityPool(ctx context.Context, in *MsgFundCommunityPool, opts ...grpc.CallOption) (*MsgFundCommunityPoolResponse, error) {
   544  	out := new(MsgFundCommunityPoolResponse)
   545  	err := c.cc.Invoke(ctx, "/cosmos.distribution.v1beta1.Msg/FundCommunityPool", in, out, opts...)
   546  	if err != nil {
   547  		return nil, err
   548  	}
   549  	return out, nil
   550  }
   551  
   552  // MsgServer is the server API for Msg service.
   553  type MsgServer interface {
   554  	// SetWithdrawAddress defines a method to change the withdraw address
   555  	// for a delegator (or validator self-delegation).
   556  	SetWithdrawAddress(context.Context, *MsgSetWithdrawAddress) (*MsgSetWithdrawAddressResponse, error)
   557  	// WithdrawDelegatorReward defines a method to withdraw rewards of delegator
   558  	// from a single validator.
   559  	WithdrawDelegatorReward(context.Context, *MsgWithdrawDelegatorReward) (*MsgWithdrawDelegatorRewardResponse, error)
   560  	// WithdrawValidatorCommission defines a method to withdraw the
   561  	// full commission to the validator address.
   562  	WithdrawValidatorCommission(context.Context, *MsgWithdrawValidatorCommission) (*MsgWithdrawValidatorCommissionResponse, error)
   563  	// FundCommunityPool defines a method to allow an account to directly
   564  	// fund the community pool.
   565  	FundCommunityPool(context.Context, *MsgFundCommunityPool) (*MsgFundCommunityPoolResponse, error)
   566  }
   567  
   568  // UnimplementedMsgServer can be embedded to have forward compatible implementations.
   569  type UnimplementedMsgServer struct {
   570  }
   571  
   572  func (*UnimplementedMsgServer) SetWithdrawAddress(ctx context.Context, req *MsgSetWithdrawAddress) (*MsgSetWithdrawAddressResponse, error) {
   573  	return nil, status.Errorf(codes.Unimplemented, "method SetWithdrawAddress not implemented")
   574  }
   575  func (*UnimplementedMsgServer) WithdrawDelegatorReward(ctx context.Context, req *MsgWithdrawDelegatorReward) (*MsgWithdrawDelegatorRewardResponse, error) {
   576  	return nil, status.Errorf(codes.Unimplemented, "method WithdrawDelegatorReward not implemented")
   577  }
   578  func (*UnimplementedMsgServer) WithdrawValidatorCommission(ctx context.Context, req *MsgWithdrawValidatorCommission) (*MsgWithdrawValidatorCommissionResponse, error) {
   579  	return nil, status.Errorf(codes.Unimplemented, "method WithdrawValidatorCommission not implemented")
   580  }
   581  func (*UnimplementedMsgServer) FundCommunityPool(ctx context.Context, req *MsgFundCommunityPool) (*MsgFundCommunityPoolResponse, error) {
   582  	return nil, status.Errorf(codes.Unimplemented, "method FundCommunityPool not implemented")
   583  }
   584  
   585  func RegisterMsgServer(s grpc1.Server, srv MsgServer) {
   586  	s.RegisterService(&_Msg_serviceDesc, srv)
   587  }
   588  
   589  func _Msg_SetWithdrawAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   590  	in := new(MsgSetWithdrawAddress)
   591  	if err := dec(in); err != nil {
   592  		return nil, err
   593  	}
   594  	if interceptor == nil {
   595  		return srv.(MsgServer).SetWithdrawAddress(ctx, in)
   596  	}
   597  	info := &grpc.UnaryServerInfo{
   598  		Server:     srv,
   599  		FullMethod: "/cosmos.distribution.v1beta1.Msg/SetWithdrawAddress",
   600  	}
   601  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   602  		return srv.(MsgServer).SetWithdrawAddress(ctx, req.(*MsgSetWithdrawAddress))
   603  	}
   604  	return interceptor(ctx, in, info, handler)
   605  }
   606  
   607  func _Msg_WithdrawDelegatorReward_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   608  	in := new(MsgWithdrawDelegatorReward)
   609  	if err := dec(in); err != nil {
   610  		return nil, err
   611  	}
   612  	if interceptor == nil {
   613  		return srv.(MsgServer).WithdrawDelegatorReward(ctx, in)
   614  	}
   615  	info := &grpc.UnaryServerInfo{
   616  		Server:     srv,
   617  		FullMethod: "/cosmos.distribution.v1beta1.Msg/WithdrawDelegatorReward",
   618  	}
   619  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   620  		return srv.(MsgServer).WithdrawDelegatorReward(ctx, req.(*MsgWithdrawDelegatorReward))
   621  	}
   622  	return interceptor(ctx, in, info, handler)
   623  }
   624  
   625  func _Msg_WithdrawValidatorCommission_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   626  	in := new(MsgWithdrawValidatorCommission)
   627  	if err := dec(in); err != nil {
   628  		return nil, err
   629  	}
   630  	if interceptor == nil {
   631  		return srv.(MsgServer).WithdrawValidatorCommission(ctx, in)
   632  	}
   633  	info := &grpc.UnaryServerInfo{
   634  		Server:     srv,
   635  		FullMethod: "/cosmos.distribution.v1beta1.Msg/WithdrawValidatorCommission",
   636  	}
   637  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   638  		return srv.(MsgServer).WithdrawValidatorCommission(ctx, req.(*MsgWithdrawValidatorCommission))
   639  	}
   640  	return interceptor(ctx, in, info, handler)
   641  }
   642  
   643  func _Msg_FundCommunityPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   644  	in := new(MsgFundCommunityPool)
   645  	if err := dec(in); err != nil {
   646  		return nil, err
   647  	}
   648  	if interceptor == nil {
   649  		return srv.(MsgServer).FundCommunityPool(ctx, in)
   650  	}
   651  	info := &grpc.UnaryServerInfo{
   652  		Server:     srv,
   653  		FullMethod: "/cosmos.distribution.v1beta1.Msg/FundCommunityPool",
   654  	}
   655  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   656  		return srv.(MsgServer).FundCommunityPool(ctx, req.(*MsgFundCommunityPool))
   657  	}
   658  	return interceptor(ctx, in, info, handler)
   659  }
   660  
   661  var _Msg_serviceDesc = grpc.ServiceDesc{
   662  	ServiceName: "cosmos.distribution.v1beta1.Msg",
   663  	HandlerType: (*MsgServer)(nil),
   664  	Methods: []grpc.MethodDesc{
   665  		{
   666  			MethodName: "SetWithdrawAddress",
   667  			Handler:    _Msg_SetWithdrawAddress_Handler,
   668  		},
   669  		{
   670  			MethodName: "WithdrawDelegatorReward",
   671  			Handler:    _Msg_WithdrawDelegatorReward_Handler,
   672  		},
   673  		{
   674  			MethodName: "WithdrawValidatorCommission",
   675  			Handler:    _Msg_WithdrawValidatorCommission_Handler,
   676  		},
   677  		{
   678  			MethodName: "FundCommunityPool",
   679  			Handler:    _Msg_FundCommunityPool_Handler,
   680  		},
   681  	},
   682  	Streams:  []grpc.StreamDesc{},
   683  	Metadata: "cosmos/distribution/v1beta1/tx.proto",
   684  }
   685  
   686  func (m *MsgSetWithdrawAddress) Marshal() (dAtA []byte, err error) {
   687  	size := m.Size()
   688  	dAtA = make([]byte, size)
   689  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   690  	if err != nil {
   691  		return nil, err
   692  	}
   693  	return dAtA[:n], nil
   694  }
   695  
   696  func (m *MsgSetWithdrawAddress) MarshalTo(dAtA []byte) (int, error) {
   697  	size := m.Size()
   698  	return m.MarshalToSizedBuffer(dAtA[:size])
   699  }
   700  
   701  func (m *MsgSetWithdrawAddress) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   702  	i := len(dAtA)
   703  	_ = i
   704  	var l int
   705  	_ = l
   706  	if len(m.WithdrawAddress) > 0 {
   707  		i -= len(m.WithdrawAddress)
   708  		copy(dAtA[i:], m.WithdrawAddress)
   709  		i = encodeVarintTx(dAtA, i, uint64(len(m.WithdrawAddress)))
   710  		i--
   711  		dAtA[i] = 0x12
   712  	}
   713  	if len(m.DelegatorAddress) > 0 {
   714  		i -= len(m.DelegatorAddress)
   715  		copy(dAtA[i:], m.DelegatorAddress)
   716  		i = encodeVarintTx(dAtA, i, uint64(len(m.DelegatorAddress)))
   717  		i--
   718  		dAtA[i] = 0xa
   719  	}
   720  	return len(dAtA) - i, nil
   721  }
   722  
   723  func (m *MsgSetWithdrawAddressResponse) Marshal() (dAtA []byte, err error) {
   724  	size := m.Size()
   725  	dAtA = make([]byte, size)
   726  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   727  	if err != nil {
   728  		return nil, err
   729  	}
   730  	return dAtA[:n], nil
   731  }
   732  
   733  func (m *MsgSetWithdrawAddressResponse) MarshalTo(dAtA []byte) (int, error) {
   734  	size := m.Size()
   735  	return m.MarshalToSizedBuffer(dAtA[:size])
   736  }
   737  
   738  func (m *MsgSetWithdrawAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   739  	i := len(dAtA)
   740  	_ = i
   741  	var l int
   742  	_ = l
   743  	return len(dAtA) - i, nil
   744  }
   745  
   746  func (m *MsgWithdrawDelegatorReward) Marshal() (dAtA []byte, err error) {
   747  	size := m.Size()
   748  	dAtA = make([]byte, size)
   749  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   750  	if err != nil {
   751  		return nil, err
   752  	}
   753  	return dAtA[:n], nil
   754  }
   755  
   756  func (m *MsgWithdrawDelegatorReward) MarshalTo(dAtA []byte) (int, error) {
   757  	size := m.Size()
   758  	return m.MarshalToSizedBuffer(dAtA[:size])
   759  }
   760  
   761  func (m *MsgWithdrawDelegatorReward) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   762  	i := len(dAtA)
   763  	_ = i
   764  	var l int
   765  	_ = l
   766  	if len(m.ValidatorAddress) > 0 {
   767  		i -= len(m.ValidatorAddress)
   768  		copy(dAtA[i:], m.ValidatorAddress)
   769  		i = encodeVarintTx(dAtA, i, uint64(len(m.ValidatorAddress)))
   770  		i--
   771  		dAtA[i] = 0x12
   772  	}
   773  	if len(m.DelegatorAddress) > 0 {
   774  		i -= len(m.DelegatorAddress)
   775  		copy(dAtA[i:], m.DelegatorAddress)
   776  		i = encodeVarintTx(dAtA, i, uint64(len(m.DelegatorAddress)))
   777  		i--
   778  		dAtA[i] = 0xa
   779  	}
   780  	return len(dAtA) - i, nil
   781  }
   782  
   783  func (m *MsgWithdrawDelegatorRewardResponse) Marshal() (dAtA []byte, err error) {
   784  	size := m.Size()
   785  	dAtA = make([]byte, size)
   786  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   787  	if err != nil {
   788  		return nil, err
   789  	}
   790  	return dAtA[:n], nil
   791  }
   792  
   793  func (m *MsgWithdrawDelegatorRewardResponse) MarshalTo(dAtA []byte) (int, error) {
   794  	size := m.Size()
   795  	return m.MarshalToSizedBuffer(dAtA[:size])
   796  }
   797  
   798  func (m *MsgWithdrawDelegatorRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   799  	i := len(dAtA)
   800  	_ = i
   801  	var l int
   802  	_ = l
   803  	return len(dAtA) - i, nil
   804  }
   805  
   806  func (m *MsgWithdrawValidatorCommission) Marshal() (dAtA []byte, err error) {
   807  	size := m.Size()
   808  	dAtA = make([]byte, size)
   809  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   810  	if err != nil {
   811  		return nil, err
   812  	}
   813  	return dAtA[:n], nil
   814  }
   815  
   816  func (m *MsgWithdrawValidatorCommission) MarshalTo(dAtA []byte) (int, error) {
   817  	size := m.Size()
   818  	return m.MarshalToSizedBuffer(dAtA[:size])
   819  }
   820  
   821  func (m *MsgWithdrawValidatorCommission) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   822  	i := len(dAtA)
   823  	_ = i
   824  	var l int
   825  	_ = l
   826  	if len(m.ValidatorAddress) > 0 {
   827  		i -= len(m.ValidatorAddress)
   828  		copy(dAtA[i:], m.ValidatorAddress)
   829  		i = encodeVarintTx(dAtA, i, uint64(len(m.ValidatorAddress)))
   830  		i--
   831  		dAtA[i] = 0xa
   832  	}
   833  	return len(dAtA) - i, nil
   834  }
   835  
   836  func (m *MsgWithdrawValidatorCommissionResponse) Marshal() (dAtA []byte, err error) {
   837  	size := m.Size()
   838  	dAtA = make([]byte, size)
   839  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   840  	if err != nil {
   841  		return nil, err
   842  	}
   843  	return dAtA[:n], nil
   844  }
   845  
   846  func (m *MsgWithdrawValidatorCommissionResponse) MarshalTo(dAtA []byte) (int, error) {
   847  	size := m.Size()
   848  	return m.MarshalToSizedBuffer(dAtA[:size])
   849  }
   850  
   851  func (m *MsgWithdrawValidatorCommissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   852  	i := len(dAtA)
   853  	_ = i
   854  	var l int
   855  	_ = l
   856  	return len(dAtA) - i, nil
   857  }
   858  
   859  func (m *MsgFundCommunityPool) Marshal() (dAtA []byte, err error) {
   860  	size := m.Size()
   861  	dAtA = make([]byte, size)
   862  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   863  	if err != nil {
   864  		return nil, err
   865  	}
   866  	return dAtA[:n], nil
   867  }
   868  
   869  func (m *MsgFundCommunityPool) MarshalTo(dAtA []byte) (int, error) {
   870  	size := m.Size()
   871  	return m.MarshalToSizedBuffer(dAtA[:size])
   872  }
   873  
   874  func (m *MsgFundCommunityPool) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   875  	i := len(dAtA)
   876  	_ = i
   877  	var l int
   878  	_ = l
   879  	if len(m.Depositor) > 0 {
   880  		i -= len(m.Depositor)
   881  		copy(dAtA[i:], m.Depositor)
   882  		i = encodeVarintTx(dAtA, i, uint64(len(m.Depositor)))
   883  		i--
   884  		dAtA[i] = 0x12
   885  	}
   886  	if len(m.Amount) > 0 {
   887  		for iNdEx := len(m.Amount) - 1; iNdEx >= 0; iNdEx-- {
   888  			{
   889  				size, err := m.Amount[iNdEx].MarshalToSizedBuffer(dAtA[:i])
   890  				if err != nil {
   891  					return 0, err
   892  				}
   893  				i -= size
   894  				i = encodeVarintTx(dAtA, i, uint64(size))
   895  			}
   896  			i--
   897  			dAtA[i] = 0xa
   898  		}
   899  	}
   900  	return len(dAtA) - i, nil
   901  }
   902  
   903  func (m *MsgFundCommunityPoolResponse) Marshal() (dAtA []byte, err error) {
   904  	size := m.Size()
   905  	dAtA = make([]byte, size)
   906  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   907  	if err != nil {
   908  		return nil, err
   909  	}
   910  	return dAtA[:n], nil
   911  }
   912  
   913  func (m *MsgFundCommunityPoolResponse) MarshalTo(dAtA []byte) (int, error) {
   914  	size := m.Size()
   915  	return m.MarshalToSizedBuffer(dAtA[:size])
   916  }
   917  
   918  func (m *MsgFundCommunityPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   919  	i := len(dAtA)
   920  	_ = i
   921  	var l int
   922  	_ = l
   923  	return len(dAtA) - i, nil
   924  }
   925  
   926  func encodeVarintTx(dAtA []byte, offset int, v uint64) int {
   927  	offset -= sovTx(v)
   928  	base := offset
   929  	for v >= 1<<7 {
   930  		dAtA[offset] = uint8(v&0x7f | 0x80)
   931  		v >>= 7
   932  		offset++
   933  	}
   934  	dAtA[offset] = uint8(v)
   935  	return base
   936  }
   937  func (m *MsgSetWithdrawAddress) Size() (n int) {
   938  	if m == nil {
   939  		return 0
   940  	}
   941  	var l int
   942  	_ = l
   943  	l = len(m.DelegatorAddress)
   944  	if l > 0 {
   945  		n += 1 + l + sovTx(uint64(l))
   946  	}
   947  	l = len(m.WithdrawAddress)
   948  	if l > 0 {
   949  		n += 1 + l + sovTx(uint64(l))
   950  	}
   951  	return n
   952  }
   953  
   954  func (m *MsgSetWithdrawAddressResponse) Size() (n int) {
   955  	if m == nil {
   956  		return 0
   957  	}
   958  	var l int
   959  	_ = l
   960  	return n
   961  }
   962  
   963  func (m *MsgWithdrawDelegatorReward) Size() (n int) {
   964  	if m == nil {
   965  		return 0
   966  	}
   967  	var l int
   968  	_ = l
   969  	l = len(m.DelegatorAddress)
   970  	if l > 0 {
   971  		n += 1 + l + sovTx(uint64(l))
   972  	}
   973  	l = len(m.ValidatorAddress)
   974  	if l > 0 {
   975  		n += 1 + l + sovTx(uint64(l))
   976  	}
   977  	return n
   978  }
   979  
   980  func (m *MsgWithdrawDelegatorRewardResponse) Size() (n int) {
   981  	if m == nil {
   982  		return 0
   983  	}
   984  	var l int
   985  	_ = l
   986  	return n
   987  }
   988  
   989  func (m *MsgWithdrawValidatorCommission) Size() (n int) {
   990  	if m == nil {
   991  		return 0
   992  	}
   993  	var l int
   994  	_ = l
   995  	l = len(m.ValidatorAddress)
   996  	if l > 0 {
   997  		n += 1 + l + sovTx(uint64(l))
   998  	}
   999  	return n
  1000  }
  1001  
  1002  func (m *MsgWithdrawValidatorCommissionResponse) Size() (n int) {
  1003  	if m == nil {
  1004  		return 0
  1005  	}
  1006  	var l int
  1007  	_ = l
  1008  	return n
  1009  }
  1010  
  1011  func (m *MsgFundCommunityPool) Size() (n int) {
  1012  	if m == nil {
  1013  		return 0
  1014  	}
  1015  	var l int
  1016  	_ = l
  1017  	if len(m.Amount) > 0 {
  1018  		for _, e := range m.Amount {
  1019  			l = e.Size()
  1020  			n += 1 + l + sovTx(uint64(l))
  1021  		}
  1022  	}
  1023  	l = len(m.Depositor)
  1024  	if l > 0 {
  1025  		n += 1 + l + sovTx(uint64(l))
  1026  	}
  1027  	return n
  1028  }
  1029  
  1030  func (m *MsgFundCommunityPoolResponse) Size() (n int) {
  1031  	if m == nil {
  1032  		return 0
  1033  	}
  1034  	var l int
  1035  	_ = l
  1036  	return n
  1037  }
  1038  
  1039  func sovTx(x uint64) (n int) {
  1040  	return (math_bits.Len64(x|1) + 6) / 7
  1041  }
  1042  func sozTx(x uint64) (n int) {
  1043  	return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1044  }
  1045  func (m *MsgSetWithdrawAddress) Unmarshal(dAtA []byte) error {
  1046  	l := len(dAtA)
  1047  	iNdEx := 0
  1048  	for iNdEx < l {
  1049  		preIndex := iNdEx
  1050  		var wire uint64
  1051  		for shift := uint(0); ; shift += 7 {
  1052  			if shift >= 64 {
  1053  				return ErrIntOverflowTx
  1054  			}
  1055  			if iNdEx >= l {
  1056  				return io.ErrUnexpectedEOF
  1057  			}
  1058  			b := dAtA[iNdEx]
  1059  			iNdEx++
  1060  			wire |= uint64(b&0x7F) << shift
  1061  			if b < 0x80 {
  1062  				break
  1063  			}
  1064  		}
  1065  		fieldNum := int32(wire >> 3)
  1066  		wireType := int(wire & 0x7)
  1067  		if wireType == 4 {
  1068  			return fmt.Errorf("proto: MsgSetWithdrawAddress: wiretype end group for non-group")
  1069  		}
  1070  		if fieldNum <= 0 {
  1071  			return fmt.Errorf("proto: MsgSetWithdrawAddress: illegal tag %d (wire type %d)", fieldNum, wire)
  1072  		}
  1073  		switch fieldNum {
  1074  		case 1:
  1075  			if wireType != 2 {
  1076  				return fmt.Errorf("proto: wrong wireType = %d for field DelegatorAddress", wireType)
  1077  			}
  1078  			var stringLen uint64
  1079  			for shift := uint(0); ; shift += 7 {
  1080  				if shift >= 64 {
  1081  					return ErrIntOverflowTx
  1082  				}
  1083  				if iNdEx >= l {
  1084  					return io.ErrUnexpectedEOF
  1085  				}
  1086  				b := dAtA[iNdEx]
  1087  				iNdEx++
  1088  				stringLen |= uint64(b&0x7F) << shift
  1089  				if b < 0x80 {
  1090  					break
  1091  				}
  1092  			}
  1093  			intStringLen := int(stringLen)
  1094  			if intStringLen < 0 {
  1095  				return ErrInvalidLengthTx
  1096  			}
  1097  			postIndex := iNdEx + intStringLen
  1098  			if postIndex < 0 {
  1099  				return ErrInvalidLengthTx
  1100  			}
  1101  			if postIndex > l {
  1102  				return io.ErrUnexpectedEOF
  1103  			}
  1104  			m.DelegatorAddress = string(dAtA[iNdEx:postIndex])
  1105  			iNdEx = postIndex
  1106  		case 2:
  1107  			if wireType != 2 {
  1108  				return fmt.Errorf("proto: wrong wireType = %d for field WithdrawAddress", wireType)
  1109  			}
  1110  			var stringLen uint64
  1111  			for shift := uint(0); ; shift += 7 {
  1112  				if shift >= 64 {
  1113  					return ErrIntOverflowTx
  1114  				}
  1115  				if iNdEx >= l {
  1116  					return io.ErrUnexpectedEOF
  1117  				}
  1118  				b := dAtA[iNdEx]
  1119  				iNdEx++
  1120  				stringLen |= uint64(b&0x7F) << shift
  1121  				if b < 0x80 {
  1122  					break
  1123  				}
  1124  			}
  1125  			intStringLen := int(stringLen)
  1126  			if intStringLen < 0 {
  1127  				return ErrInvalidLengthTx
  1128  			}
  1129  			postIndex := iNdEx + intStringLen
  1130  			if postIndex < 0 {
  1131  				return ErrInvalidLengthTx
  1132  			}
  1133  			if postIndex > l {
  1134  				return io.ErrUnexpectedEOF
  1135  			}
  1136  			m.WithdrawAddress = string(dAtA[iNdEx:postIndex])
  1137  			iNdEx = postIndex
  1138  		default:
  1139  			iNdEx = preIndex
  1140  			skippy, err := skipTx(dAtA[iNdEx:])
  1141  			if err != nil {
  1142  				return err
  1143  			}
  1144  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1145  				return ErrInvalidLengthTx
  1146  			}
  1147  			if (iNdEx + skippy) > l {
  1148  				return io.ErrUnexpectedEOF
  1149  			}
  1150  			iNdEx += skippy
  1151  		}
  1152  	}
  1153  
  1154  	if iNdEx > l {
  1155  		return io.ErrUnexpectedEOF
  1156  	}
  1157  	return nil
  1158  }
  1159  func (m *MsgSetWithdrawAddressResponse) Unmarshal(dAtA []byte) error {
  1160  	l := len(dAtA)
  1161  	iNdEx := 0
  1162  	for iNdEx < l {
  1163  		preIndex := iNdEx
  1164  		var wire uint64
  1165  		for shift := uint(0); ; shift += 7 {
  1166  			if shift >= 64 {
  1167  				return ErrIntOverflowTx
  1168  			}
  1169  			if iNdEx >= l {
  1170  				return io.ErrUnexpectedEOF
  1171  			}
  1172  			b := dAtA[iNdEx]
  1173  			iNdEx++
  1174  			wire |= uint64(b&0x7F) << shift
  1175  			if b < 0x80 {
  1176  				break
  1177  			}
  1178  		}
  1179  		fieldNum := int32(wire >> 3)
  1180  		wireType := int(wire & 0x7)
  1181  		if wireType == 4 {
  1182  			return fmt.Errorf("proto: MsgSetWithdrawAddressResponse: wiretype end group for non-group")
  1183  		}
  1184  		if fieldNum <= 0 {
  1185  			return fmt.Errorf("proto: MsgSetWithdrawAddressResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  1186  		}
  1187  		switch fieldNum {
  1188  		default:
  1189  			iNdEx = preIndex
  1190  			skippy, err := skipTx(dAtA[iNdEx:])
  1191  			if err != nil {
  1192  				return err
  1193  			}
  1194  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1195  				return ErrInvalidLengthTx
  1196  			}
  1197  			if (iNdEx + skippy) > l {
  1198  				return io.ErrUnexpectedEOF
  1199  			}
  1200  			iNdEx += skippy
  1201  		}
  1202  	}
  1203  
  1204  	if iNdEx > l {
  1205  		return io.ErrUnexpectedEOF
  1206  	}
  1207  	return nil
  1208  }
  1209  func (m *MsgWithdrawDelegatorReward) Unmarshal(dAtA []byte) error {
  1210  	l := len(dAtA)
  1211  	iNdEx := 0
  1212  	for iNdEx < l {
  1213  		preIndex := iNdEx
  1214  		var wire uint64
  1215  		for shift := uint(0); ; shift += 7 {
  1216  			if shift >= 64 {
  1217  				return ErrIntOverflowTx
  1218  			}
  1219  			if iNdEx >= l {
  1220  				return io.ErrUnexpectedEOF
  1221  			}
  1222  			b := dAtA[iNdEx]
  1223  			iNdEx++
  1224  			wire |= uint64(b&0x7F) << shift
  1225  			if b < 0x80 {
  1226  				break
  1227  			}
  1228  		}
  1229  		fieldNum := int32(wire >> 3)
  1230  		wireType := int(wire & 0x7)
  1231  		if wireType == 4 {
  1232  			return fmt.Errorf("proto: MsgWithdrawDelegatorReward: wiretype end group for non-group")
  1233  		}
  1234  		if fieldNum <= 0 {
  1235  			return fmt.Errorf("proto: MsgWithdrawDelegatorReward: illegal tag %d (wire type %d)", fieldNum, wire)
  1236  		}
  1237  		switch fieldNum {
  1238  		case 1:
  1239  			if wireType != 2 {
  1240  				return fmt.Errorf("proto: wrong wireType = %d for field DelegatorAddress", wireType)
  1241  			}
  1242  			var stringLen uint64
  1243  			for shift := uint(0); ; shift += 7 {
  1244  				if shift >= 64 {
  1245  					return ErrIntOverflowTx
  1246  				}
  1247  				if iNdEx >= l {
  1248  					return io.ErrUnexpectedEOF
  1249  				}
  1250  				b := dAtA[iNdEx]
  1251  				iNdEx++
  1252  				stringLen |= uint64(b&0x7F) << shift
  1253  				if b < 0x80 {
  1254  					break
  1255  				}
  1256  			}
  1257  			intStringLen := int(stringLen)
  1258  			if intStringLen < 0 {
  1259  				return ErrInvalidLengthTx
  1260  			}
  1261  			postIndex := iNdEx + intStringLen
  1262  			if postIndex < 0 {
  1263  				return ErrInvalidLengthTx
  1264  			}
  1265  			if postIndex > l {
  1266  				return io.ErrUnexpectedEOF
  1267  			}
  1268  			m.DelegatorAddress = string(dAtA[iNdEx:postIndex])
  1269  			iNdEx = postIndex
  1270  		case 2:
  1271  			if wireType != 2 {
  1272  				return fmt.Errorf("proto: wrong wireType = %d for field ValidatorAddress", wireType)
  1273  			}
  1274  			var stringLen uint64
  1275  			for shift := uint(0); ; shift += 7 {
  1276  				if shift >= 64 {
  1277  					return ErrIntOverflowTx
  1278  				}
  1279  				if iNdEx >= l {
  1280  					return io.ErrUnexpectedEOF
  1281  				}
  1282  				b := dAtA[iNdEx]
  1283  				iNdEx++
  1284  				stringLen |= uint64(b&0x7F) << shift
  1285  				if b < 0x80 {
  1286  					break
  1287  				}
  1288  			}
  1289  			intStringLen := int(stringLen)
  1290  			if intStringLen < 0 {
  1291  				return ErrInvalidLengthTx
  1292  			}
  1293  			postIndex := iNdEx + intStringLen
  1294  			if postIndex < 0 {
  1295  				return ErrInvalidLengthTx
  1296  			}
  1297  			if postIndex > l {
  1298  				return io.ErrUnexpectedEOF
  1299  			}
  1300  			m.ValidatorAddress = string(dAtA[iNdEx:postIndex])
  1301  			iNdEx = postIndex
  1302  		default:
  1303  			iNdEx = preIndex
  1304  			skippy, err := skipTx(dAtA[iNdEx:])
  1305  			if err != nil {
  1306  				return err
  1307  			}
  1308  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1309  				return ErrInvalidLengthTx
  1310  			}
  1311  			if (iNdEx + skippy) > l {
  1312  				return io.ErrUnexpectedEOF
  1313  			}
  1314  			iNdEx += skippy
  1315  		}
  1316  	}
  1317  
  1318  	if iNdEx > l {
  1319  		return io.ErrUnexpectedEOF
  1320  	}
  1321  	return nil
  1322  }
  1323  func (m *MsgWithdrawDelegatorRewardResponse) Unmarshal(dAtA []byte) error {
  1324  	l := len(dAtA)
  1325  	iNdEx := 0
  1326  	for iNdEx < l {
  1327  		preIndex := iNdEx
  1328  		var wire uint64
  1329  		for shift := uint(0); ; shift += 7 {
  1330  			if shift >= 64 {
  1331  				return ErrIntOverflowTx
  1332  			}
  1333  			if iNdEx >= l {
  1334  				return io.ErrUnexpectedEOF
  1335  			}
  1336  			b := dAtA[iNdEx]
  1337  			iNdEx++
  1338  			wire |= uint64(b&0x7F) << shift
  1339  			if b < 0x80 {
  1340  				break
  1341  			}
  1342  		}
  1343  		fieldNum := int32(wire >> 3)
  1344  		wireType := int(wire & 0x7)
  1345  		if wireType == 4 {
  1346  			return fmt.Errorf("proto: MsgWithdrawDelegatorRewardResponse: wiretype end group for non-group")
  1347  		}
  1348  		if fieldNum <= 0 {
  1349  			return fmt.Errorf("proto: MsgWithdrawDelegatorRewardResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  1350  		}
  1351  		switch fieldNum {
  1352  		default:
  1353  			iNdEx = preIndex
  1354  			skippy, err := skipTx(dAtA[iNdEx:])
  1355  			if err != nil {
  1356  				return err
  1357  			}
  1358  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1359  				return ErrInvalidLengthTx
  1360  			}
  1361  			if (iNdEx + skippy) > l {
  1362  				return io.ErrUnexpectedEOF
  1363  			}
  1364  			iNdEx += skippy
  1365  		}
  1366  	}
  1367  
  1368  	if iNdEx > l {
  1369  		return io.ErrUnexpectedEOF
  1370  	}
  1371  	return nil
  1372  }
  1373  func (m *MsgWithdrawValidatorCommission) Unmarshal(dAtA []byte) error {
  1374  	l := len(dAtA)
  1375  	iNdEx := 0
  1376  	for iNdEx < l {
  1377  		preIndex := iNdEx
  1378  		var wire uint64
  1379  		for shift := uint(0); ; shift += 7 {
  1380  			if shift >= 64 {
  1381  				return ErrIntOverflowTx
  1382  			}
  1383  			if iNdEx >= l {
  1384  				return io.ErrUnexpectedEOF
  1385  			}
  1386  			b := dAtA[iNdEx]
  1387  			iNdEx++
  1388  			wire |= uint64(b&0x7F) << shift
  1389  			if b < 0x80 {
  1390  				break
  1391  			}
  1392  		}
  1393  		fieldNum := int32(wire >> 3)
  1394  		wireType := int(wire & 0x7)
  1395  		if wireType == 4 {
  1396  			return fmt.Errorf("proto: MsgWithdrawValidatorCommission: wiretype end group for non-group")
  1397  		}
  1398  		if fieldNum <= 0 {
  1399  			return fmt.Errorf("proto: MsgWithdrawValidatorCommission: illegal tag %d (wire type %d)", fieldNum, wire)
  1400  		}
  1401  		switch fieldNum {
  1402  		case 1:
  1403  			if wireType != 2 {
  1404  				return fmt.Errorf("proto: wrong wireType = %d for field ValidatorAddress", wireType)
  1405  			}
  1406  			var stringLen uint64
  1407  			for shift := uint(0); ; shift += 7 {
  1408  				if shift >= 64 {
  1409  					return ErrIntOverflowTx
  1410  				}
  1411  				if iNdEx >= l {
  1412  					return io.ErrUnexpectedEOF
  1413  				}
  1414  				b := dAtA[iNdEx]
  1415  				iNdEx++
  1416  				stringLen |= uint64(b&0x7F) << shift
  1417  				if b < 0x80 {
  1418  					break
  1419  				}
  1420  			}
  1421  			intStringLen := int(stringLen)
  1422  			if intStringLen < 0 {
  1423  				return ErrInvalidLengthTx
  1424  			}
  1425  			postIndex := iNdEx + intStringLen
  1426  			if postIndex < 0 {
  1427  				return ErrInvalidLengthTx
  1428  			}
  1429  			if postIndex > l {
  1430  				return io.ErrUnexpectedEOF
  1431  			}
  1432  			m.ValidatorAddress = string(dAtA[iNdEx:postIndex])
  1433  			iNdEx = postIndex
  1434  		default:
  1435  			iNdEx = preIndex
  1436  			skippy, err := skipTx(dAtA[iNdEx:])
  1437  			if err != nil {
  1438  				return err
  1439  			}
  1440  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1441  				return ErrInvalidLengthTx
  1442  			}
  1443  			if (iNdEx + skippy) > l {
  1444  				return io.ErrUnexpectedEOF
  1445  			}
  1446  			iNdEx += skippy
  1447  		}
  1448  	}
  1449  
  1450  	if iNdEx > l {
  1451  		return io.ErrUnexpectedEOF
  1452  	}
  1453  	return nil
  1454  }
  1455  func (m *MsgWithdrawValidatorCommissionResponse) Unmarshal(dAtA []byte) error {
  1456  	l := len(dAtA)
  1457  	iNdEx := 0
  1458  	for iNdEx < l {
  1459  		preIndex := iNdEx
  1460  		var wire uint64
  1461  		for shift := uint(0); ; shift += 7 {
  1462  			if shift >= 64 {
  1463  				return ErrIntOverflowTx
  1464  			}
  1465  			if iNdEx >= l {
  1466  				return io.ErrUnexpectedEOF
  1467  			}
  1468  			b := dAtA[iNdEx]
  1469  			iNdEx++
  1470  			wire |= uint64(b&0x7F) << shift
  1471  			if b < 0x80 {
  1472  				break
  1473  			}
  1474  		}
  1475  		fieldNum := int32(wire >> 3)
  1476  		wireType := int(wire & 0x7)
  1477  		if wireType == 4 {
  1478  			return fmt.Errorf("proto: MsgWithdrawValidatorCommissionResponse: wiretype end group for non-group")
  1479  		}
  1480  		if fieldNum <= 0 {
  1481  			return fmt.Errorf("proto: MsgWithdrawValidatorCommissionResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  1482  		}
  1483  		switch fieldNum {
  1484  		default:
  1485  			iNdEx = preIndex
  1486  			skippy, err := skipTx(dAtA[iNdEx:])
  1487  			if err != nil {
  1488  				return err
  1489  			}
  1490  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1491  				return ErrInvalidLengthTx
  1492  			}
  1493  			if (iNdEx + skippy) > l {
  1494  				return io.ErrUnexpectedEOF
  1495  			}
  1496  			iNdEx += skippy
  1497  		}
  1498  	}
  1499  
  1500  	if iNdEx > l {
  1501  		return io.ErrUnexpectedEOF
  1502  	}
  1503  	return nil
  1504  }
  1505  func (m *MsgFundCommunityPool) Unmarshal(dAtA []byte) error {
  1506  	l := len(dAtA)
  1507  	iNdEx := 0
  1508  	for iNdEx < l {
  1509  		preIndex := iNdEx
  1510  		var wire uint64
  1511  		for shift := uint(0); ; shift += 7 {
  1512  			if shift >= 64 {
  1513  				return ErrIntOverflowTx
  1514  			}
  1515  			if iNdEx >= l {
  1516  				return io.ErrUnexpectedEOF
  1517  			}
  1518  			b := dAtA[iNdEx]
  1519  			iNdEx++
  1520  			wire |= uint64(b&0x7F) << shift
  1521  			if b < 0x80 {
  1522  				break
  1523  			}
  1524  		}
  1525  		fieldNum := int32(wire >> 3)
  1526  		wireType := int(wire & 0x7)
  1527  		if wireType == 4 {
  1528  			return fmt.Errorf("proto: MsgFundCommunityPool: wiretype end group for non-group")
  1529  		}
  1530  		if fieldNum <= 0 {
  1531  			return fmt.Errorf("proto: MsgFundCommunityPool: illegal tag %d (wire type %d)", fieldNum, wire)
  1532  		}
  1533  		switch fieldNum {
  1534  		case 1:
  1535  			if wireType != 2 {
  1536  				return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
  1537  			}
  1538  			var msglen int
  1539  			for shift := uint(0); ; shift += 7 {
  1540  				if shift >= 64 {
  1541  					return ErrIntOverflowTx
  1542  				}
  1543  				if iNdEx >= l {
  1544  					return io.ErrUnexpectedEOF
  1545  				}
  1546  				b := dAtA[iNdEx]
  1547  				iNdEx++
  1548  				msglen |= int(b&0x7F) << shift
  1549  				if b < 0x80 {
  1550  					break
  1551  				}
  1552  			}
  1553  			if msglen < 0 {
  1554  				return ErrInvalidLengthTx
  1555  			}
  1556  			postIndex := iNdEx + msglen
  1557  			if postIndex < 0 {
  1558  				return ErrInvalidLengthTx
  1559  			}
  1560  			if postIndex > l {
  1561  				return io.ErrUnexpectedEOF
  1562  			}
  1563  			m.Amount = append(m.Amount, types.Coin{})
  1564  			if err := m.Amount[len(m.Amount)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1565  				return err
  1566  			}
  1567  			iNdEx = postIndex
  1568  		case 2:
  1569  			if wireType != 2 {
  1570  				return fmt.Errorf("proto: wrong wireType = %d for field Depositor", wireType)
  1571  			}
  1572  			var stringLen uint64
  1573  			for shift := uint(0); ; shift += 7 {
  1574  				if shift >= 64 {
  1575  					return ErrIntOverflowTx
  1576  				}
  1577  				if iNdEx >= l {
  1578  					return io.ErrUnexpectedEOF
  1579  				}
  1580  				b := dAtA[iNdEx]
  1581  				iNdEx++
  1582  				stringLen |= uint64(b&0x7F) << shift
  1583  				if b < 0x80 {
  1584  					break
  1585  				}
  1586  			}
  1587  			intStringLen := int(stringLen)
  1588  			if intStringLen < 0 {
  1589  				return ErrInvalidLengthTx
  1590  			}
  1591  			postIndex := iNdEx + intStringLen
  1592  			if postIndex < 0 {
  1593  				return ErrInvalidLengthTx
  1594  			}
  1595  			if postIndex > l {
  1596  				return io.ErrUnexpectedEOF
  1597  			}
  1598  			m.Depositor = string(dAtA[iNdEx:postIndex])
  1599  			iNdEx = postIndex
  1600  		default:
  1601  			iNdEx = preIndex
  1602  			skippy, err := skipTx(dAtA[iNdEx:])
  1603  			if err != nil {
  1604  				return err
  1605  			}
  1606  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1607  				return ErrInvalidLengthTx
  1608  			}
  1609  			if (iNdEx + skippy) > l {
  1610  				return io.ErrUnexpectedEOF
  1611  			}
  1612  			iNdEx += skippy
  1613  		}
  1614  	}
  1615  
  1616  	if iNdEx > l {
  1617  		return io.ErrUnexpectedEOF
  1618  	}
  1619  	return nil
  1620  }
  1621  func (m *MsgFundCommunityPoolResponse) Unmarshal(dAtA []byte) error {
  1622  	l := len(dAtA)
  1623  	iNdEx := 0
  1624  	for iNdEx < l {
  1625  		preIndex := iNdEx
  1626  		var wire uint64
  1627  		for shift := uint(0); ; shift += 7 {
  1628  			if shift >= 64 {
  1629  				return ErrIntOverflowTx
  1630  			}
  1631  			if iNdEx >= l {
  1632  				return io.ErrUnexpectedEOF
  1633  			}
  1634  			b := dAtA[iNdEx]
  1635  			iNdEx++
  1636  			wire |= uint64(b&0x7F) << shift
  1637  			if b < 0x80 {
  1638  				break
  1639  			}
  1640  		}
  1641  		fieldNum := int32(wire >> 3)
  1642  		wireType := int(wire & 0x7)
  1643  		if wireType == 4 {
  1644  			return fmt.Errorf("proto: MsgFundCommunityPoolResponse: wiretype end group for non-group")
  1645  		}
  1646  		if fieldNum <= 0 {
  1647  			return fmt.Errorf("proto: MsgFundCommunityPoolResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  1648  		}
  1649  		switch fieldNum {
  1650  		default:
  1651  			iNdEx = preIndex
  1652  			skippy, err := skipTx(dAtA[iNdEx:])
  1653  			if err != nil {
  1654  				return err
  1655  			}
  1656  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1657  				return ErrInvalidLengthTx
  1658  			}
  1659  			if (iNdEx + skippy) > l {
  1660  				return io.ErrUnexpectedEOF
  1661  			}
  1662  			iNdEx += skippy
  1663  		}
  1664  	}
  1665  
  1666  	if iNdEx > l {
  1667  		return io.ErrUnexpectedEOF
  1668  	}
  1669  	return nil
  1670  }
  1671  func skipTx(dAtA []byte) (n int, err error) {
  1672  	l := len(dAtA)
  1673  	iNdEx := 0
  1674  	depth := 0
  1675  	for iNdEx < l {
  1676  		var wire uint64
  1677  		for shift := uint(0); ; shift += 7 {
  1678  			if shift >= 64 {
  1679  				return 0, ErrIntOverflowTx
  1680  			}
  1681  			if iNdEx >= l {
  1682  				return 0, io.ErrUnexpectedEOF
  1683  			}
  1684  			b := dAtA[iNdEx]
  1685  			iNdEx++
  1686  			wire |= (uint64(b) & 0x7F) << shift
  1687  			if b < 0x80 {
  1688  				break
  1689  			}
  1690  		}
  1691  		wireType := int(wire & 0x7)
  1692  		switch wireType {
  1693  		case 0:
  1694  			for shift := uint(0); ; shift += 7 {
  1695  				if shift >= 64 {
  1696  					return 0, ErrIntOverflowTx
  1697  				}
  1698  				if iNdEx >= l {
  1699  					return 0, io.ErrUnexpectedEOF
  1700  				}
  1701  				iNdEx++
  1702  				if dAtA[iNdEx-1] < 0x80 {
  1703  					break
  1704  				}
  1705  			}
  1706  		case 1:
  1707  			iNdEx += 8
  1708  		case 2:
  1709  			var length int
  1710  			for shift := uint(0); ; shift += 7 {
  1711  				if shift >= 64 {
  1712  					return 0, ErrIntOverflowTx
  1713  				}
  1714  				if iNdEx >= l {
  1715  					return 0, io.ErrUnexpectedEOF
  1716  				}
  1717  				b := dAtA[iNdEx]
  1718  				iNdEx++
  1719  				length |= (int(b) & 0x7F) << shift
  1720  				if b < 0x80 {
  1721  					break
  1722  				}
  1723  			}
  1724  			if length < 0 {
  1725  				return 0, ErrInvalidLengthTx
  1726  			}
  1727  			iNdEx += length
  1728  		case 3:
  1729  			depth++
  1730  		case 4:
  1731  			if depth == 0 {
  1732  				return 0, ErrUnexpectedEndOfGroupTx
  1733  			}
  1734  			depth--
  1735  		case 5:
  1736  			iNdEx += 4
  1737  		default:
  1738  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  1739  		}
  1740  		if iNdEx < 0 {
  1741  			return 0, ErrInvalidLengthTx
  1742  		}
  1743  		if depth == 0 {
  1744  			return iNdEx, nil
  1745  		}
  1746  	}
  1747  	return 0, io.ErrUnexpectedEOF
  1748  }
  1749  
  1750  var (
  1751  	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
  1752  	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
  1753  	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
  1754  )