github.com/gravity-devs/liquidity@v1.5.3/x/liquidity/types/query.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: tendermint/liquidity/v1beta1/query.proto
     3  
     4  package types
     5  
     6  import (
     7  	context "context"
     8  	fmt "fmt"
     9  	query "github.com/cosmos/cosmos-sdk/types/query"
    10  	_ "github.com/gogo/protobuf/gogoproto"
    11  	grpc1 "github.com/gogo/protobuf/grpc"
    12  	proto "github.com/gogo/protobuf/proto"
    13  	_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
    14  	_ "google.golang.org/genproto/googleapis/api/annotations"
    15  	grpc "google.golang.org/grpc"
    16  	codes "google.golang.org/grpc/codes"
    17  	status "google.golang.org/grpc/status"
    18  	io "io"
    19  	math "math"
    20  	math_bits "math/bits"
    21  )
    22  
    23  // Reference imports to suppress errors if they are not otherwise used.
    24  var _ = proto.Marshal
    25  var _ = fmt.Errorf
    26  var _ = math.Inf
    27  
    28  // This is a compile-time assertion to ensure that this generated file
    29  // is compatible with the proto package it is being compiled against.
    30  // A compilation error at this line likely means your copy of the
    31  // proto package needs to be updated.
    32  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    33  
    34  // the request type for the QueryLiquidityPool RPC method. requestable specified pool_id.
    35  type QueryLiquidityPoolRequest struct {
    36  	PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
    37  }
    38  
    39  func (m *QueryLiquidityPoolRequest) Reset()         { *m = QueryLiquidityPoolRequest{} }
    40  func (m *QueryLiquidityPoolRequest) String() string { return proto.CompactTextString(m) }
    41  func (*QueryLiquidityPoolRequest) ProtoMessage()    {}
    42  func (*QueryLiquidityPoolRequest) Descriptor() ([]byte, []int) {
    43  	return fileDescriptor_f8c9321d314a3b1d, []int{0}
    44  }
    45  func (m *QueryLiquidityPoolRequest) XXX_Unmarshal(b []byte) error {
    46  	return m.Unmarshal(b)
    47  }
    48  func (m *QueryLiquidityPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    49  	if deterministic {
    50  		return xxx_messageInfo_QueryLiquidityPoolRequest.Marshal(b, m, deterministic)
    51  	} else {
    52  		b = b[:cap(b)]
    53  		n, err := m.MarshalToSizedBuffer(b)
    54  		if err != nil {
    55  			return nil, err
    56  		}
    57  		return b[:n], nil
    58  	}
    59  }
    60  func (m *QueryLiquidityPoolRequest) XXX_Merge(src proto.Message) {
    61  	xxx_messageInfo_QueryLiquidityPoolRequest.Merge(m, src)
    62  }
    63  func (m *QueryLiquidityPoolRequest) XXX_Size() int {
    64  	return m.Size()
    65  }
    66  func (m *QueryLiquidityPoolRequest) XXX_DiscardUnknown() {
    67  	xxx_messageInfo_QueryLiquidityPoolRequest.DiscardUnknown(m)
    68  }
    69  
    70  var xxx_messageInfo_QueryLiquidityPoolRequest proto.InternalMessageInfo
    71  
    72  func (m *QueryLiquidityPoolRequest) GetPoolId() uint64 {
    73  	if m != nil {
    74  		return m.PoolId
    75  	}
    76  	return 0
    77  }
    78  
    79  // the response type for the QueryLiquidityPoolResponse RPC method. Returns the liquidity pool that corresponds to the requested pool_id.
    80  type QueryLiquidityPoolResponse struct {
    81  	Pool Pool `protobuf:"bytes,1,opt,name=pool,proto3" json:"pool"`
    82  }
    83  
    84  func (m *QueryLiquidityPoolResponse) Reset()         { *m = QueryLiquidityPoolResponse{} }
    85  func (m *QueryLiquidityPoolResponse) String() string { return proto.CompactTextString(m) }
    86  func (*QueryLiquidityPoolResponse) ProtoMessage()    {}
    87  func (*QueryLiquidityPoolResponse) Descriptor() ([]byte, []int) {
    88  	return fileDescriptor_f8c9321d314a3b1d, []int{1}
    89  }
    90  func (m *QueryLiquidityPoolResponse) XXX_Unmarshal(b []byte) error {
    91  	return m.Unmarshal(b)
    92  }
    93  func (m *QueryLiquidityPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    94  	if deterministic {
    95  		return xxx_messageInfo_QueryLiquidityPoolResponse.Marshal(b, m, deterministic)
    96  	} else {
    97  		b = b[:cap(b)]
    98  		n, err := m.MarshalToSizedBuffer(b)
    99  		if err != nil {
   100  			return nil, err
   101  		}
   102  		return b[:n], nil
   103  	}
   104  }
   105  func (m *QueryLiquidityPoolResponse) XXX_Merge(src proto.Message) {
   106  	xxx_messageInfo_QueryLiquidityPoolResponse.Merge(m, src)
   107  }
   108  func (m *QueryLiquidityPoolResponse) XXX_Size() int {
   109  	return m.Size()
   110  }
   111  func (m *QueryLiquidityPoolResponse) XXX_DiscardUnknown() {
   112  	xxx_messageInfo_QueryLiquidityPoolResponse.DiscardUnknown(m)
   113  }
   114  
   115  var xxx_messageInfo_QueryLiquidityPoolResponse proto.InternalMessageInfo
   116  
   117  func (m *QueryLiquidityPoolResponse) GetPool() Pool {
   118  	if m != nil {
   119  		return m.Pool
   120  	}
   121  	return Pool{}
   122  }
   123  
   124  // the request type for the QueryLiquidityByPoolCoinDenomPool RPC method. Requestable specified pool_coin_denom.
   125  type QueryLiquidityPoolByPoolCoinDenomRequest struct {
   126  	PoolCoinDenom string `protobuf:"bytes,1,opt,name=pool_coin_denom,json=poolCoinDenom,proto3" json:"pool_coin_denom,omitempty"`
   127  }
   128  
   129  func (m *QueryLiquidityPoolByPoolCoinDenomRequest) Reset() {
   130  	*m = QueryLiquidityPoolByPoolCoinDenomRequest{}
   131  }
   132  func (m *QueryLiquidityPoolByPoolCoinDenomRequest) String() string { return proto.CompactTextString(m) }
   133  func (*QueryLiquidityPoolByPoolCoinDenomRequest) ProtoMessage()    {}
   134  func (*QueryLiquidityPoolByPoolCoinDenomRequest) Descriptor() ([]byte, []int) {
   135  	return fileDescriptor_f8c9321d314a3b1d, []int{2}
   136  }
   137  func (m *QueryLiquidityPoolByPoolCoinDenomRequest) XXX_Unmarshal(b []byte) error {
   138  	return m.Unmarshal(b)
   139  }
   140  func (m *QueryLiquidityPoolByPoolCoinDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   141  	if deterministic {
   142  		return xxx_messageInfo_QueryLiquidityPoolByPoolCoinDenomRequest.Marshal(b, m, deterministic)
   143  	} else {
   144  		b = b[:cap(b)]
   145  		n, err := m.MarshalToSizedBuffer(b)
   146  		if err != nil {
   147  			return nil, err
   148  		}
   149  		return b[:n], nil
   150  	}
   151  }
   152  func (m *QueryLiquidityPoolByPoolCoinDenomRequest) XXX_Merge(src proto.Message) {
   153  	xxx_messageInfo_QueryLiquidityPoolByPoolCoinDenomRequest.Merge(m, src)
   154  }
   155  func (m *QueryLiquidityPoolByPoolCoinDenomRequest) XXX_Size() int {
   156  	return m.Size()
   157  }
   158  func (m *QueryLiquidityPoolByPoolCoinDenomRequest) XXX_DiscardUnknown() {
   159  	xxx_messageInfo_QueryLiquidityPoolByPoolCoinDenomRequest.DiscardUnknown(m)
   160  }
   161  
   162  var xxx_messageInfo_QueryLiquidityPoolByPoolCoinDenomRequest proto.InternalMessageInfo
   163  
   164  func (m *QueryLiquidityPoolByPoolCoinDenomRequest) GetPoolCoinDenom() string {
   165  	if m != nil {
   166  		return m.PoolCoinDenom
   167  	}
   168  	return ""
   169  }
   170  
   171  // the request type for the QueryLiquidityByReserveAcc RPC method. Requestable specified reserve_acc.
   172  type QueryLiquidityPoolByReserveAccRequest struct {
   173  	ReserveAcc string `protobuf:"bytes,1,opt,name=reserve_acc,json=reserveAcc,proto3" json:"reserve_acc,omitempty"`
   174  }
   175  
   176  func (m *QueryLiquidityPoolByReserveAccRequest) Reset()         { *m = QueryLiquidityPoolByReserveAccRequest{} }
   177  func (m *QueryLiquidityPoolByReserveAccRequest) String() string { return proto.CompactTextString(m) }
   178  func (*QueryLiquidityPoolByReserveAccRequest) ProtoMessage()    {}
   179  func (*QueryLiquidityPoolByReserveAccRequest) Descriptor() ([]byte, []int) {
   180  	return fileDescriptor_f8c9321d314a3b1d, []int{3}
   181  }
   182  func (m *QueryLiquidityPoolByReserveAccRequest) XXX_Unmarshal(b []byte) error {
   183  	return m.Unmarshal(b)
   184  }
   185  func (m *QueryLiquidityPoolByReserveAccRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   186  	if deterministic {
   187  		return xxx_messageInfo_QueryLiquidityPoolByReserveAccRequest.Marshal(b, m, deterministic)
   188  	} else {
   189  		b = b[:cap(b)]
   190  		n, err := m.MarshalToSizedBuffer(b)
   191  		if err != nil {
   192  			return nil, err
   193  		}
   194  		return b[:n], nil
   195  	}
   196  }
   197  func (m *QueryLiquidityPoolByReserveAccRequest) XXX_Merge(src proto.Message) {
   198  	xxx_messageInfo_QueryLiquidityPoolByReserveAccRequest.Merge(m, src)
   199  }
   200  func (m *QueryLiquidityPoolByReserveAccRequest) XXX_Size() int {
   201  	return m.Size()
   202  }
   203  func (m *QueryLiquidityPoolByReserveAccRequest) XXX_DiscardUnknown() {
   204  	xxx_messageInfo_QueryLiquidityPoolByReserveAccRequest.DiscardUnknown(m)
   205  }
   206  
   207  var xxx_messageInfo_QueryLiquidityPoolByReserveAccRequest proto.InternalMessageInfo
   208  
   209  func (m *QueryLiquidityPoolByReserveAccRequest) GetReserveAcc() string {
   210  	if m != nil {
   211  		return m.ReserveAcc
   212  	}
   213  	return ""
   214  }
   215  
   216  // the request type for the QueryLiquidityPoolBatch RPC method. requestable including specified pool_id.
   217  type QueryLiquidityPoolBatchRequest struct {
   218  	// id of the target pool for query
   219  	PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
   220  }
   221  
   222  func (m *QueryLiquidityPoolBatchRequest) Reset()         { *m = QueryLiquidityPoolBatchRequest{} }
   223  func (m *QueryLiquidityPoolBatchRequest) String() string { return proto.CompactTextString(m) }
   224  func (*QueryLiquidityPoolBatchRequest) ProtoMessage()    {}
   225  func (*QueryLiquidityPoolBatchRequest) Descriptor() ([]byte, []int) {
   226  	return fileDescriptor_f8c9321d314a3b1d, []int{4}
   227  }
   228  func (m *QueryLiquidityPoolBatchRequest) XXX_Unmarshal(b []byte) error {
   229  	return m.Unmarshal(b)
   230  }
   231  func (m *QueryLiquidityPoolBatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   232  	if deterministic {
   233  		return xxx_messageInfo_QueryLiquidityPoolBatchRequest.Marshal(b, m, deterministic)
   234  	} else {
   235  		b = b[:cap(b)]
   236  		n, err := m.MarshalToSizedBuffer(b)
   237  		if err != nil {
   238  			return nil, err
   239  		}
   240  		return b[:n], nil
   241  	}
   242  }
   243  func (m *QueryLiquidityPoolBatchRequest) XXX_Merge(src proto.Message) {
   244  	xxx_messageInfo_QueryLiquidityPoolBatchRequest.Merge(m, src)
   245  }
   246  func (m *QueryLiquidityPoolBatchRequest) XXX_Size() int {
   247  	return m.Size()
   248  }
   249  func (m *QueryLiquidityPoolBatchRequest) XXX_DiscardUnknown() {
   250  	xxx_messageInfo_QueryLiquidityPoolBatchRequest.DiscardUnknown(m)
   251  }
   252  
   253  var xxx_messageInfo_QueryLiquidityPoolBatchRequest proto.InternalMessageInfo
   254  
   255  func (m *QueryLiquidityPoolBatchRequest) GetPoolId() uint64 {
   256  	if m != nil {
   257  		return m.PoolId
   258  	}
   259  	return 0
   260  }
   261  
   262  // the response type for the QueryLiquidityPoolBatchResponse RPC method. Returns the liquidity pool batch that corresponds to the requested pool_id.
   263  type QueryLiquidityPoolBatchResponse struct {
   264  	Batch PoolBatch `protobuf:"bytes,1,opt,name=batch,proto3" json:"batch"`
   265  }
   266  
   267  func (m *QueryLiquidityPoolBatchResponse) Reset()         { *m = QueryLiquidityPoolBatchResponse{} }
   268  func (m *QueryLiquidityPoolBatchResponse) String() string { return proto.CompactTextString(m) }
   269  func (*QueryLiquidityPoolBatchResponse) ProtoMessage()    {}
   270  func (*QueryLiquidityPoolBatchResponse) Descriptor() ([]byte, []int) {
   271  	return fileDescriptor_f8c9321d314a3b1d, []int{5}
   272  }
   273  func (m *QueryLiquidityPoolBatchResponse) XXX_Unmarshal(b []byte) error {
   274  	return m.Unmarshal(b)
   275  }
   276  func (m *QueryLiquidityPoolBatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   277  	if deterministic {
   278  		return xxx_messageInfo_QueryLiquidityPoolBatchResponse.Marshal(b, m, deterministic)
   279  	} else {
   280  		b = b[:cap(b)]
   281  		n, err := m.MarshalToSizedBuffer(b)
   282  		if err != nil {
   283  			return nil, err
   284  		}
   285  		return b[:n], nil
   286  	}
   287  }
   288  func (m *QueryLiquidityPoolBatchResponse) XXX_Merge(src proto.Message) {
   289  	xxx_messageInfo_QueryLiquidityPoolBatchResponse.Merge(m, src)
   290  }
   291  func (m *QueryLiquidityPoolBatchResponse) XXX_Size() int {
   292  	return m.Size()
   293  }
   294  func (m *QueryLiquidityPoolBatchResponse) XXX_DiscardUnknown() {
   295  	xxx_messageInfo_QueryLiquidityPoolBatchResponse.DiscardUnknown(m)
   296  }
   297  
   298  var xxx_messageInfo_QueryLiquidityPoolBatchResponse proto.InternalMessageInfo
   299  
   300  func (m *QueryLiquidityPoolBatchResponse) GetBatch() PoolBatch {
   301  	if m != nil {
   302  		return m.Batch
   303  	}
   304  	return PoolBatch{}
   305  }
   306  
   307  // the request type for the QueryLiquidityPools RPC method. Requestable including pagination offset, limit, key.
   308  type QueryLiquidityPoolsRequest struct {
   309  	// pagination defines an optional pagination for the request.
   310  	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
   311  }
   312  
   313  func (m *QueryLiquidityPoolsRequest) Reset()         { *m = QueryLiquidityPoolsRequest{} }
   314  func (m *QueryLiquidityPoolsRequest) String() string { return proto.CompactTextString(m) }
   315  func (*QueryLiquidityPoolsRequest) ProtoMessage()    {}
   316  func (*QueryLiquidityPoolsRequest) Descriptor() ([]byte, []int) {
   317  	return fileDescriptor_f8c9321d314a3b1d, []int{6}
   318  }
   319  func (m *QueryLiquidityPoolsRequest) XXX_Unmarshal(b []byte) error {
   320  	return m.Unmarshal(b)
   321  }
   322  func (m *QueryLiquidityPoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   323  	if deterministic {
   324  		return xxx_messageInfo_QueryLiquidityPoolsRequest.Marshal(b, m, deterministic)
   325  	} else {
   326  		b = b[:cap(b)]
   327  		n, err := m.MarshalToSizedBuffer(b)
   328  		if err != nil {
   329  			return nil, err
   330  		}
   331  		return b[:n], nil
   332  	}
   333  }
   334  func (m *QueryLiquidityPoolsRequest) XXX_Merge(src proto.Message) {
   335  	xxx_messageInfo_QueryLiquidityPoolsRequest.Merge(m, src)
   336  }
   337  func (m *QueryLiquidityPoolsRequest) XXX_Size() int {
   338  	return m.Size()
   339  }
   340  func (m *QueryLiquidityPoolsRequest) XXX_DiscardUnknown() {
   341  	xxx_messageInfo_QueryLiquidityPoolsRequest.DiscardUnknown(m)
   342  }
   343  
   344  var xxx_messageInfo_QueryLiquidityPoolsRequest proto.InternalMessageInfo
   345  
   346  func (m *QueryLiquidityPoolsRequest) GetPagination() *query.PageRequest {
   347  	if m != nil {
   348  		return m.Pagination
   349  	}
   350  	return nil
   351  }
   352  
   353  // the response type for the QueryLiquidityPoolsResponse RPC method. This includes a list of all existing liquidity pools and paging results that contain next_key and total count.
   354  type QueryLiquidityPoolsResponse struct {
   355  	Pools []Pool `protobuf:"bytes,1,rep,name=pools,proto3" json:"pools"`
   356  	// pagination defines the pagination in the response. not working on this version.
   357  	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
   358  }
   359  
   360  func (m *QueryLiquidityPoolsResponse) Reset()         { *m = QueryLiquidityPoolsResponse{} }
   361  func (m *QueryLiquidityPoolsResponse) String() string { return proto.CompactTextString(m) }
   362  func (*QueryLiquidityPoolsResponse) ProtoMessage()    {}
   363  func (*QueryLiquidityPoolsResponse) Descriptor() ([]byte, []int) {
   364  	return fileDescriptor_f8c9321d314a3b1d, []int{7}
   365  }
   366  func (m *QueryLiquidityPoolsResponse) XXX_Unmarshal(b []byte) error {
   367  	return m.Unmarshal(b)
   368  }
   369  func (m *QueryLiquidityPoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   370  	if deterministic {
   371  		return xxx_messageInfo_QueryLiquidityPoolsResponse.Marshal(b, m, deterministic)
   372  	} else {
   373  		b = b[:cap(b)]
   374  		n, err := m.MarshalToSizedBuffer(b)
   375  		if err != nil {
   376  			return nil, err
   377  		}
   378  		return b[:n], nil
   379  	}
   380  }
   381  func (m *QueryLiquidityPoolsResponse) XXX_Merge(src proto.Message) {
   382  	xxx_messageInfo_QueryLiquidityPoolsResponse.Merge(m, src)
   383  }
   384  func (m *QueryLiquidityPoolsResponse) XXX_Size() int {
   385  	return m.Size()
   386  }
   387  func (m *QueryLiquidityPoolsResponse) XXX_DiscardUnknown() {
   388  	xxx_messageInfo_QueryLiquidityPoolsResponse.DiscardUnknown(m)
   389  }
   390  
   391  var xxx_messageInfo_QueryLiquidityPoolsResponse proto.InternalMessageInfo
   392  
   393  func (m *QueryLiquidityPoolsResponse) GetPools() []Pool {
   394  	if m != nil {
   395  		return m.Pools
   396  	}
   397  	return nil
   398  }
   399  
   400  func (m *QueryLiquidityPoolsResponse) GetPagination() *query.PageResponse {
   401  	if m != nil {
   402  		return m.Pagination
   403  	}
   404  	return nil
   405  }
   406  
   407  // QueryParamsRequest is request type for the QueryParams RPC method.
   408  type QueryParamsRequest struct {
   409  }
   410  
   411  func (m *QueryParamsRequest) Reset()         { *m = QueryParamsRequest{} }
   412  func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) }
   413  func (*QueryParamsRequest) ProtoMessage()    {}
   414  func (*QueryParamsRequest) Descriptor() ([]byte, []int) {
   415  	return fileDescriptor_f8c9321d314a3b1d, []int{8}
   416  }
   417  func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error {
   418  	return m.Unmarshal(b)
   419  }
   420  func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   421  	if deterministic {
   422  		return xxx_messageInfo_QueryParamsRequest.Marshal(b, m, deterministic)
   423  	} else {
   424  		b = b[:cap(b)]
   425  		n, err := m.MarshalToSizedBuffer(b)
   426  		if err != nil {
   427  			return nil, err
   428  		}
   429  		return b[:n], nil
   430  	}
   431  }
   432  func (m *QueryParamsRequest) XXX_Merge(src proto.Message) {
   433  	xxx_messageInfo_QueryParamsRequest.Merge(m, src)
   434  }
   435  func (m *QueryParamsRequest) XXX_Size() int {
   436  	return m.Size()
   437  }
   438  func (m *QueryParamsRequest) XXX_DiscardUnknown() {
   439  	xxx_messageInfo_QueryParamsRequest.DiscardUnknown(m)
   440  }
   441  
   442  var xxx_messageInfo_QueryParamsRequest proto.InternalMessageInfo
   443  
   444  // the response type for the QueryParamsResponse RPC method. This includes current parameter of the liquidity module.
   445  type QueryParamsResponse struct {
   446  	// params holds all the parameters of this module.
   447  	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
   448  }
   449  
   450  func (m *QueryParamsResponse) Reset()         { *m = QueryParamsResponse{} }
   451  func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) }
   452  func (*QueryParamsResponse) ProtoMessage()    {}
   453  func (*QueryParamsResponse) Descriptor() ([]byte, []int) {
   454  	return fileDescriptor_f8c9321d314a3b1d, []int{9}
   455  }
   456  func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error {
   457  	return m.Unmarshal(b)
   458  }
   459  func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   460  	if deterministic {
   461  		return xxx_messageInfo_QueryParamsResponse.Marshal(b, m, deterministic)
   462  	} else {
   463  		b = b[:cap(b)]
   464  		n, err := m.MarshalToSizedBuffer(b)
   465  		if err != nil {
   466  			return nil, err
   467  		}
   468  		return b[:n], nil
   469  	}
   470  }
   471  func (m *QueryParamsResponse) XXX_Merge(src proto.Message) {
   472  	xxx_messageInfo_QueryParamsResponse.Merge(m, src)
   473  }
   474  func (m *QueryParamsResponse) XXX_Size() int {
   475  	return m.Size()
   476  }
   477  func (m *QueryParamsResponse) XXX_DiscardUnknown() {
   478  	xxx_messageInfo_QueryParamsResponse.DiscardUnknown(m)
   479  }
   480  
   481  var xxx_messageInfo_QueryParamsResponse proto.InternalMessageInfo
   482  
   483  func (m *QueryParamsResponse) GetParams() Params {
   484  	if m != nil {
   485  		return m.Params
   486  	}
   487  	return Params{}
   488  }
   489  
   490  // the request type for the QueryPoolBatchSwapMsgs RPC method. Requestable including specified pool_id and pagination offset, limit, key.
   491  type QueryPoolBatchSwapMsgsRequest struct {
   492  	// id of the target pool for query
   493  	PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
   494  	// pagination defines an optional pagination for the request.
   495  	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
   496  }
   497  
   498  func (m *QueryPoolBatchSwapMsgsRequest) Reset()         { *m = QueryPoolBatchSwapMsgsRequest{} }
   499  func (m *QueryPoolBatchSwapMsgsRequest) String() string { return proto.CompactTextString(m) }
   500  func (*QueryPoolBatchSwapMsgsRequest) ProtoMessage()    {}
   501  func (*QueryPoolBatchSwapMsgsRequest) Descriptor() ([]byte, []int) {
   502  	return fileDescriptor_f8c9321d314a3b1d, []int{10}
   503  }
   504  func (m *QueryPoolBatchSwapMsgsRequest) XXX_Unmarshal(b []byte) error {
   505  	return m.Unmarshal(b)
   506  }
   507  func (m *QueryPoolBatchSwapMsgsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   508  	if deterministic {
   509  		return xxx_messageInfo_QueryPoolBatchSwapMsgsRequest.Marshal(b, m, deterministic)
   510  	} else {
   511  		b = b[:cap(b)]
   512  		n, err := m.MarshalToSizedBuffer(b)
   513  		if err != nil {
   514  			return nil, err
   515  		}
   516  		return b[:n], nil
   517  	}
   518  }
   519  func (m *QueryPoolBatchSwapMsgsRequest) XXX_Merge(src proto.Message) {
   520  	xxx_messageInfo_QueryPoolBatchSwapMsgsRequest.Merge(m, src)
   521  }
   522  func (m *QueryPoolBatchSwapMsgsRequest) XXX_Size() int {
   523  	return m.Size()
   524  }
   525  func (m *QueryPoolBatchSwapMsgsRequest) XXX_DiscardUnknown() {
   526  	xxx_messageInfo_QueryPoolBatchSwapMsgsRequest.DiscardUnknown(m)
   527  }
   528  
   529  var xxx_messageInfo_QueryPoolBatchSwapMsgsRequest proto.InternalMessageInfo
   530  
   531  func (m *QueryPoolBatchSwapMsgsRequest) GetPoolId() uint64 {
   532  	if m != nil {
   533  		return m.PoolId
   534  	}
   535  	return 0
   536  }
   537  
   538  func (m *QueryPoolBatchSwapMsgsRequest) GetPagination() *query.PageRequest {
   539  	if m != nil {
   540  		return m.Pagination
   541  	}
   542  	return nil
   543  }
   544  
   545  // the request type for the QueryPoolBatchSwap RPC method. Requestable including specified pool_id and msg_index.
   546  type QueryPoolBatchSwapMsgRequest struct {
   547  	// id of the target pool for query
   548  	PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
   549  	// target msg_index of the pool
   550  	MsgIndex uint64 `protobuf:"varint,2,opt,name=msg_index,json=msgIndex,proto3" json:"msg_index,omitempty"`
   551  }
   552  
   553  func (m *QueryPoolBatchSwapMsgRequest) Reset()         { *m = QueryPoolBatchSwapMsgRequest{} }
   554  func (m *QueryPoolBatchSwapMsgRequest) String() string { return proto.CompactTextString(m) }
   555  func (*QueryPoolBatchSwapMsgRequest) ProtoMessage()    {}
   556  func (*QueryPoolBatchSwapMsgRequest) Descriptor() ([]byte, []int) {
   557  	return fileDescriptor_f8c9321d314a3b1d, []int{11}
   558  }
   559  func (m *QueryPoolBatchSwapMsgRequest) XXX_Unmarshal(b []byte) error {
   560  	return m.Unmarshal(b)
   561  }
   562  func (m *QueryPoolBatchSwapMsgRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   563  	if deterministic {
   564  		return xxx_messageInfo_QueryPoolBatchSwapMsgRequest.Marshal(b, m, deterministic)
   565  	} else {
   566  		b = b[:cap(b)]
   567  		n, err := m.MarshalToSizedBuffer(b)
   568  		if err != nil {
   569  			return nil, err
   570  		}
   571  		return b[:n], nil
   572  	}
   573  }
   574  func (m *QueryPoolBatchSwapMsgRequest) XXX_Merge(src proto.Message) {
   575  	xxx_messageInfo_QueryPoolBatchSwapMsgRequest.Merge(m, src)
   576  }
   577  func (m *QueryPoolBatchSwapMsgRequest) XXX_Size() int {
   578  	return m.Size()
   579  }
   580  func (m *QueryPoolBatchSwapMsgRequest) XXX_DiscardUnknown() {
   581  	xxx_messageInfo_QueryPoolBatchSwapMsgRequest.DiscardUnknown(m)
   582  }
   583  
   584  var xxx_messageInfo_QueryPoolBatchSwapMsgRequest proto.InternalMessageInfo
   585  
   586  func (m *QueryPoolBatchSwapMsgRequest) GetPoolId() uint64 {
   587  	if m != nil {
   588  		return m.PoolId
   589  	}
   590  	return 0
   591  }
   592  
   593  func (m *QueryPoolBatchSwapMsgRequest) GetMsgIndex() uint64 {
   594  	if m != nil {
   595  		return m.MsgIndex
   596  	}
   597  	return 0
   598  }
   599  
   600  // the response type for the QueryPoolBatchSwapMsgs RPC method. This includes list of all currently existing swap messages of the batch and paging results that contain next_key and total count.
   601  type QueryPoolBatchSwapMsgsResponse struct {
   602  	Swaps []SwapMsgState `protobuf:"bytes,1,rep,name=swaps,proto3" json:"swaps"`
   603  	// pagination defines the pagination in the response. not working on this version.
   604  	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
   605  }
   606  
   607  func (m *QueryPoolBatchSwapMsgsResponse) Reset()         { *m = QueryPoolBatchSwapMsgsResponse{} }
   608  func (m *QueryPoolBatchSwapMsgsResponse) String() string { return proto.CompactTextString(m) }
   609  func (*QueryPoolBatchSwapMsgsResponse) ProtoMessage()    {}
   610  func (*QueryPoolBatchSwapMsgsResponse) Descriptor() ([]byte, []int) {
   611  	return fileDescriptor_f8c9321d314a3b1d, []int{12}
   612  }
   613  func (m *QueryPoolBatchSwapMsgsResponse) XXX_Unmarshal(b []byte) error {
   614  	return m.Unmarshal(b)
   615  }
   616  func (m *QueryPoolBatchSwapMsgsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   617  	if deterministic {
   618  		return xxx_messageInfo_QueryPoolBatchSwapMsgsResponse.Marshal(b, m, deterministic)
   619  	} else {
   620  		b = b[:cap(b)]
   621  		n, err := m.MarshalToSizedBuffer(b)
   622  		if err != nil {
   623  			return nil, err
   624  		}
   625  		return b[:n], nil
   626  	}
   627  }
   628  func (m *QueryPoolBatchSwapMsgsResponse) XXX_Merge(src proto.Message) {
   629  	xxx_messageInfo_QueryPoolBatchSwapMsgsResponse.Merge(m, src)
   630  }
   631  func (m *QueryPoolBatchSwapMsgsResponse) XXX_Size() int {
   632  	return m.Size()
   633  }
   634  func (m *QueryPoolBatchSwapMsgsResponse) XXX_DiscardUnknown() {
   635  	xxx_messageInfo_QueryPoolBatchSwapMsgsResponse.DiscardUnknown(m)
   636  }
   637  
   638  var xxx_messageInfo_QueryPoolBatchSwapMsgsResponse proto.InternalMessageInfo
   639  
   640  func (m *QueryPoolBatchSwapMsgsResponse) GetSwaps() []SwapMsgState {
   641  	if m != nil {
   642  		return m.Swaps
   643  	}
   644  	return nil
   645  }
   646  
   647  func (m *QueryPoolBatchSwapMsgsResponse) GetPagination() *query.PageResponse {
   648  	if m != nil {
   649  		return m.Pagination
   650  	}
   651  	return nil
   652  }
   653  
   654  // the response type for the QueryPoolBatchSwapMsg RPC method. This includes a batch swap message of the batch.
   655  type QueryPoolBatchSwapMsgResponse struct {
   656  	Swap SwapMsgState `protobuf:"bytes,1,opt,name=swap,proto3" json:"swap"`
   657  }
   658  
   659  func (m *QueryPoolBatchSwapMsgResponse) Reset()         { *m = QueryPoolBatchSwapMsgResponse{} }
   660  func (m *QueryPoolBatchSwapMsgResponse) String() string { return proto.CompactTextString(m) }
   661  func (*QueryPoolBatchSwapMsgResponse) ProtoMessage()    {}
   662  func (*QueryPoolBatchSwapMsgResponse) Descriptor() ([]byte, []int) {
   663  	return fileDescriptor_f8c9321d314a3b1d, []int{13}
   664  }
   665  func (m *QueryPoolBatchSwapMsgResponse) XXX_Unmarshal(b []byte) error {
   666  	return m.Unmarshal(b)
   667  }
   668  func (m *QueryPoolBatchSwapMsgResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   669  	if deterministic {
   670  		return xxx_messageInfo_QueryPoolBatchSwapMsgResponse.Marshal(b, m, deterministic)
   671  	} else {
   672  		b = b[:cap(b)]
   673  		n, err := m.MarshalToSizedBuffer(b)
   674  		if err != nil {
   675  			return nil, err
   676  		}
   677  		return b[:n], nil
   678  	}
   679  }
   680  func (m *QueryPoolBatchSwapMsgResponse) XXX_Merge(src proto.Message) {
   681  	xxx_messageInfo_QueryPoolBatchSwapMsgResponse.Merge(m, src)
   682  }
   683  func (m *QueryPoolBatchSwapMsgResponse) XXX_Size() int {
   684  	return m.Size()
   685  }
   686  func (m *QueryPoolBatchSwapMsgResponse) XXX_DiscardUnknown() {
   687  	xxx_messageInfo_QueryPoolBatchSwapMsgResponse.DiscardUnknown(m)
   688  }
   689  
   690  var xxx_messageInfo_QueryPoolBatchSwapMsgResponse proto.InternalMessageInfo
   691  
   692  func (m *QueryPoolBatchSwapMsgResponse) GetSwap() SwapMsgState {
   693  	if m != nil {
   694  		return m.Swap
   695  	}
   696  	return SwapMsgState{}
   697  }
   698  
   699  // the request type for the QueryPoolBatchDeposit RPC method. Requestable including specified pool_id and pagination offset, limit, key.
   700  type QueryPoolBatchDepositMsgsRequest struct {
   701  	// id of the target pool for query
   702  	PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
   703  	// pagination defines an optional pagination for the request.
   704  	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
   705  }
   706  
   707  func (m *QueryPoolBatchDepositMsgsRequest) Reset()         { *m = QueryPoolBatchDepositMsgsRequest{} }
   708  func (m *QueryPoolBatchDepositMsgsRequest) String() string { return proto.CompactTextString(m) }
   709  func (*QueryPoolBatchDepositMsgsRequest) ProtoMessage()    {}
   710  func (*QueryPoolBatchDepositMsgsRequest) Descriptor() ([]byte, []int) {
   711  	return fileDescriptor_f8c9321d314a3b1d, []int{14}
   712  }
   713  func (m *QueryPoolBatchDepositMsgsRequest) XXX_Unmarshal(b []byte) error {
   714  	return m.Unmarshal(b)
   715  }
   716  func (m *QueryPoolBatchDepositMsgsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   717  	if deterministic {
   718  		return xxx_messageInfo_QueryPoolBatchDepositMsgsRequest.Marshal(b, m, deterministic)
   719  	} else {
   720  		b = b[:cap(b)]
   721  		n, err := m.MarshalToSizedBuffer(b)
   722  		if err != nil {
   723  			return nil, err
   724  		}
   725  		return b[:n], nil
   726  	}
   727  }
   728  func (m *QueryPoolBatchDepositMsgsRequest) XXX_Merge(src proto.Message) {
   729  	xxx_messageInfo_QueryPoolBatchDepositMsgsRequest.Merge(m, src)
   730  }
   731  func (m *QueryPoolBatchDepositMsgsRequest) XXX_Size() int {
   732  	return m.Size()
   733  }
   734  func (m *QueryPoolBatchDepositMsgsRequest) XXX_DiscardUnknown() {
   735  	xxx_messageInfo_QueryPoolBatchDepositMsgsRequest.DiscardUnknown(m)
   736  }
   737  
   738  var xxx_messageInfo_QueryPoolBatchDepositMsgsRequest proto.InternalMessageInfo
   739  
   740  func (m *QueryPoolBatchDepositMsgsRequest) GetPoolId() uint64 {
   741  	if m != nil {
   742  		return m.PoolId
   743  	}
   744  	return 0
   745  }
   746  
   747  func (m *QueryPoolBatchDepositMsgsRequest) GetPagination() *query.PageRequest {
   748  	if m != nil {
   749  		return m.Pagination
   750  	}
   751  	return nil
   752  }
   753  
   754  // the request type for the QueryPoolBatchDeposit RPC method. requestable including specified pool_id and msg_index.
   755  type QueryPoolBatchDepositMsgRequest struct {
   756  	// id of the target pool for query
   757  	PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
   758  	// target msg_index of the pool
   759  	MsgIndex uint64 `protobuf:"varint,2,opt,name=msg_index,json=msgIndex,proto3" json:"msg_index,omitempty"`
   760  }
   761  
   762  func (m *QueryPoolBatchDepositMsgRequest) Reset()         { *m = QueryPoolBatchDepositMsgRequest{} }
   763  func (m *QueryPoolBatchDepositMsgRequest) String() string { return proto.CompactTextString(m) }
   764  func (*QueryPoolBatchDepositMsgRequest) ProtoMessage()    {}
   765  func (*QueryPoolBatchDepositMsgRequest) Descriptor() ([]byte, []int) {
   766  	return fileDescriptor_f8c9321d314a3b1d, []int{15}
   767  }
   768  func (m *QueryPoolBatchDepositMsgRequest) XXX_Unmarshal(b []byte) error {
   769  	return m.Unmarshal(b)
   770  }
   771  func (m *QueryPoolBatchDepositMsgRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   772  	if deterministic {
   773  		return xxx_messageInfo_QueryPoolBatchDepositMsgRequest.Marshal(b, m, deterministic)
   774  	} else {
   775  		b = b[:cap(b)]
   776  		n, err := m.MarshalToSizedBuffer(b)
   777  		if err != nil {
   778  			return nil, err
   779  		}
   780  		return b[:n], nil
   781  	}
   782  }
   783  func (m *QueryPoolBatchDepositMsgRequest) XXX_Merge(src proto.Message) {
   784  	xxx_messageInfo_QueryPoolBatchDepositMsgRequest.Merge(m, src)
   785  }
   786  func (m *QueryPoolBatchDepositMsgRequest) XXX_Size() int {
   787  	return m.Size()
   788  }
   789  func (m *QueryPoolBatchDepositMsgRequest) XXX_DiscardUnknown() {
   790  	xxx_messageInfo_QueryPoolBatchDepositMsgRequest.DiscardUnknown(m)
   791  }
   792  
   793  var xxx_messageInfo_QueryPoolBatchDepositMsgRequest proto.InternalMessageInfo
   794  
   795  func (m *QueryPoolBatchDepositMsgRequest) GetPoolId() uint64 {
   796  	if m != nil {
   797  		return m.PoolId
   798  	}
   799  	return 0
   800  }
   801  
   802  func (m *QueryPoolBatchDepositMsgRequest) GetMsgIndex() uint64 {
   803  	if m != nil {
   804  		return m.MsgIndex
   805  	}
   806  	return 0
   807  }
   808  
   809  // the response type for the QueryPoolBatchDeposit RPC method. This includes a list of all currently existing deposit messages of the batch and paging results that contain next_key and total count.
   810  type QueryPoolBatchDepositMsgsResponse struct {
   811  	Deposits []DepositMsgState `protobuf:"bytes,1,rep,name=deposits,proto3" json:"deposits"`
   812  	// pagination defines the pagination in the response. not working on this version.
   813  	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
   814  }
   815  
   816  func (m *QueryPoolBatchDepositMsgsResponse) Reset()         { *m = QueryPoolBatchDepositMsgsResponse{} }
   817  func (m *QueryPoolBatchDepositMsgsResponse) String() string { return proto.CompactTextString(m) }
   818  func (*QueryPoolBatchDepositMsgsResponse) ProtoMessage()    {}
   819  func (*QueryPoolBatchDepositMsgsResponse) Descriptor() ([]byte, []int) {
   820  	return fileDescriptor_f8c9321d314a3b1d, []int{16}
   821  }
   822  func (m *QueryPoolBatchDepositMsgsResponse) XXX_Unmarshal(b []byte) error {
   823  	return m.Unmarshal(b)
   824  }
   825  func (m *QueryPoolBatchDepositMsgsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   826  	if deterministic {
   827  		return xxx_messageInfo_QueryPoolBatchDepositMsgsResponse.Marshal(b, m, deterministic)
   828  	} else {
   829  		b = b[:cap(b)]
   830  		n, err := m.MarshalToSizedBuffer(b)
   831  		if err != nil {
   832  			return nil, err
   833  		}
   834  		return b[:n], nil
   835  	}
   836  }
   837  func (m *QueryPoolBatchDepositMsgsResponse) XXX_Merge(src proto.Message) {
   838  	xxx_messageInfo_QueryPoolBatchDepositMsgsResponse.Merge(m, src)
   839  }
   840  func (m *QueryPoolBatchDepositMsgsResponse) XXX_Size() int {
   841  	return m.Size()
   842  }
   843  func (m *QueryPoolBatchDepositMsgsResponse) XXX_DiscardUnknown() {
   844  	xxx_messageInfo_QueryPoolBatchDepositMsgsResponse.DiscardUnknown(m)
   845  }
   846  
   847  var xxx_messageInfo_QueryPoolBatchDepositMsgsResponse proto.InternalMessageInfo
   848  
   849  func (m *QueryPoolBatchDepositMsgsResponse) GetDeposits() []DepositMsgState {
   850  	if m != nil {
   851  		return m.Deposits
   852  	}
   853  	return nil
   854  }
   855  
   856  func (m *QueryPoolBatchDepositMsgsResponse) GetPagination() *query.PageResponse {
   857  	if m != nil {
   858  		return m.Pagination
   859  	}
   860  	return nil
   861  }
   862  
   863  // the response type for the QueryPoolBatchDepositMsg RPC method. This includes a batch swap message of the batch.
   864  type QueryPoolBatchDepositMsgResponse struct {
   865  	Deposit DepositMsgState `protobuf:"bytes,1,opt,name=deposit,proto3" json:"deposit"`
   866  }
   867  
   868  func (m *QueryPoolBatchDepositMsgResponse) Reset()         { *m = QueryPoolBatchDepositMsgResponse{} }
   869  func (m *QueryPoolBatchDepositMsgResponse) String() string { return proto.CompactTextString(m) }
   870  func (*QueryPoolBatchDepositMsgResponse) ProtoMessage()    {}
   871  func (*QueryPoolBatchDepositMsgResponse) Descriptor() ([]byte, []int) {
   872  	return fileDescriptor_f8c9321d314a3b1d, []int{17}
   873  }
   874  func (m *QueryPoolBatchDepositMsgResponse) XXX_Unmarshal(b []byte) error {
   875  	return m.Unmarshal(b)
   876  }
   877  func (m *QueryPoolBatchDepositMsgResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   878  	if deterministic {
   879  		return xxx_messageInfo_QueryPoolBatchDepositMsgResponse.Marshal(b, m, deterministic)
   880  	} else {
   881  		b = b[:cap(b)]
   882  		n, err := m.MarshalToSizedBuffer(b)
   883  		if err != nil {
   884  			return nil, err
   885  		}
   886  		return b[:n], nil
   887  	}
   888  }
   889  func (m *QueryPoolBatchDepositMsgResponse) XXX_Merge(src proto.Message) {
   890  	xxx_messageInfo_QueryPoolBatchDepositMsgResponse.Merge(m, src)
   891  }
   892  func (m *QueryPoolBatchDepositMsgResponse) XXX_Size() int {
   893  	return m.Size()
   894  }
   895  func (m *QueryPoolBatchDepositMsgResponse) XXX_DiscardUnknown() {
   896  	xxx_messageInfo_QueryPoolBatchDepositMsgResponse.DiscardUnknown(m)
   897  }
   898  
   899  var xxx_messageInfo_QueryPoolBatchDepositMsgResponse proto.InternalMessageInfo
   900  
   901  func (m *QueryPoolBatchDepositMsgResponse) GetDeposit() DepositMsgState {
   902  	if m != nil {
   903  		return m.Deposit
   904  	}
   905  	return DepositMsgState{}
   906  }
   907  
   908  // the request type for the QueryPoolBatchWithdraw RPC method. Requestable including specified pool_id and pagination offset, limit, key.
   909  type QueryPoolBatchWithdrawMsgsRequest struct {
   910  	// id of the target pool for query
   911  	PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
   912  	// pagination defines an optional pagination for the request.
   913  	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
   914  }
   915  
   916  func (m *QueryPoolBatchWithdrawMsgsRequest) Reset()         { *m = QueryPoolBatchWithdrawMsgsRequest{} }
   917  func (m *QueryPoolBatchWithdrawMsgsRequest) String() string { return proto.CompactTextString(m) }
   918  func (*QueryPoolBatchWithdrawMsgsRequest) ProtoMessage()    {}
   919  func (*QueryPoolBatchWithdrawMsgsRequest) Descriptor() ([]byte, []int) {
   920  	return fileDescriptor_f8c9321d314a3b1d, []int{18}
   921  }
   922  func (m *QueryPoolBatchWithdrawMsgsRequest) XXX_Unmarshal(b []byte) error {
   923  	return m.Unmarshal(b)
   924  }
   925  func (m *QueryPoolBatchWithdrawMsgsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   926  	if deterministic {
   927  		return xxx_messageInfo_QueryPoolBatchWithdrawMsgsRequest.Marshal(b, m, deterministic)
   928  	} else {
   929  		b = b[:cap(b)]
   930  		n, err := m.MarshalToSizedBuffer(b)
   931  		if err != nil {
   932  			return nil, err
   933  		}
   934  		return b[:n], nil
   935  	}
   936  }
   937  func (m *QueryPoolBatchWithdrawMsgsRequest) XXX_Merge(src proto.Message) {
   938  	xxx_messageInfo_QueryPoolBatchWithdrawMsgsRequest.Merge(m, src)
   939  }
   940  func (m *QueryPoolBatchWithdrawMsgsRequest) XXX_Size() int {
   941  	return m.Size()
   942  }
   943  func (m *QueryPoolBatchWithdrawMsgsRequest) XXX_DiscardUnknown() {
   944  	xxx_messageInfo_QueryPoolBatchWithdrawMsgsRequest.DiscardUnknown(m)
   945  }
   946  
   947  var xxx_messageInfo_QueryPoolBatchWithdrawMsgsRequest proto.InternalMessageInfo
   948  
   949  func (m *QueryPoolBatchWithdrawMsgsRequest) GetPoolId() uint64 {
   950  	if m != nil {
   951  		return m.PoolId
   952  	}
   953  	return 0
   954  }
   955  
   956  func (m *QueryPoolBatchWithdrawMsgsRequest) GetPagination() *query.PageRequest {
   957  	if m != nil {
   958  		return m.Pagination
   959  	}
   960  	return nil
   961  }
   962  
   963  // the request type for the QueryPoolBatchWithdraw RPC method. requestable including specified pool_id and msg_index.
   964  type QueryPoolBatchWithdrawMsgRequest struct {
   965  	// id of the target pool for query
   966  	PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
   967  	// target msg_index of the pool
   968  	MsgIndex uint64 `protobuf:"varint,2,opt,name=msg_index,json=msgIndex,proto3" json:"msg_index,omitempty"`
   969  }
   970  
   971  func (m *QueryPoolBatchWithdrawMsgRequest) Reset()         { *m = QueryPoolBatchWithdrawMsgRequest{} }
   972  func (m *QueryPoolBatchWithdrawMsgRequest) String() string { return proto.CompactTextString(m) }
   973  func (*QueryPoolBatchWithdrawMsgRequest) ProtoMessage()    {}
   974  func (*QueryPoolBatchWithdrawMsgRequest) Descriptor() ([]byte, []int) {
   975  	return fileDescriptor_f8c9321d314a3b1d, []int{19}
   976  }
   977  func (m *QueryPoolBatchWithdrawMsgRequest) XXX_Unmarshal(b []byte) error {
   978  	return m.Unmarshal(b)
   979  }
   980  func (m *QueryPoolBatchWithdrawMsgRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   981  	if deterministic {
   982  		return xxx_messageInfo_QueryPoolBatchWithdrawMsgRequest.Marshal(b, m, deterministic)
   983  	} else {
   984  		b = b[:cap(b)]
   985  		n, err := m.MarshalToSizedBuffer(b)
   986  		if err != nil {
   987  			return nil, err
   988  		}
   989  		return b[:n], nil
   990  	}
   991  }
   992  func (m *QueryPoolBatchWithdrawMsgRequest) XXX_Merge(src proto.Message) {
   993  	xxx_messageInfo_QueryPoolBatchWithdrawMsgRequest.Merge(m, src)
   994  }
   995  func (m *QueryPoolBatchWithdrawMsgRequest) XXX_Size() int {
   996  	return m.Size()
   997  }
   998  func (m *QueryPoolBatchWithdrawMsgRequest) XXX_DiscardUnknown() {
   999  	xxx_messageInfo_QueryPoolBatchWithdrawMsgRequest.DiscardUnknown(m)
  1000  }
  1001  
  1002  var xxx_messageInfo_QueryPoolBatchWithdrawMsgRequest proto.InternalMessageInfo
  1003  
  1004  func (m *QueryPoolBatchWithdrawMsgRequest) GetPoolId() uint64 {
  1005  	if m != nil {
  1006  		return m.PoolId
  1007  	}
  1008  	return 0
  1009  }
  1010  
  1011  func (m *QueryPoolBatchWithdrawMsgRequest) GetMsgIndex() uint64 {
  1012  	if m != nil {
  1013  		return m.MsgIndex
  1014  	}
  1015  	return 0
  1016  }
  1017  
  1018  // the response type for the QueryPoolBatchWithdraw RPC method. This includes a list of all currently existing withdraw messages of the batch and paging results that contain next_key and total count.
  1019  type QueryPoolBatchWithdrawMsgsResponse struct {
  1020  	Withdraws []WithdrawMsgState `protobuf:"bytes,1,rep,name=withdraws,proto3" json:"withdraws"`
  1021  	// pagination defines the pagination in the response. Not supported on this version.
  1022  	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
  1023  }
  1024  
  1025  func (m *QueryPoolBatchWithdrawMsgsResponse) Reset()         { *m = QueryPoolBatchWithdrawMsgsResponse{} }
  1026  func (m *QueryPoolBatchWithdrawMsgsResponse) String() string { return proto.CompactTextString(m) }
  1027  func (*QueryPoolBatchWithdrawMsgsResponse) ProtoMessage()    {}
  1028  func (*QueryPoolBatchWithdrawMsgsResponse) Descriptor() ([]byte, []int) {
  1029  	return fileDescriptor_f8c9321d314a3b1d, []int{20}
  1030  }
  1031  func (m *QueryPoolBatchWithdrawMsgsResponse) XXX_Unmarshal(b []byte) error {
  1032  	return m.Unmarshal(b)
  1033  }
  1034  func (m *QueryPoolBatchWithdrawMsgsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1035  	if deterministic {
  1036  		return xxx_messageInfo_QueryPoolBatchWithdrawMsgsResponse.Marshal(b, m, deterministic)
  1037  	} else {
  1038  		b = b[:cap(b)]
  1039  		n, err := m.MarshalToSizedBuffer(b)
  1040  		if err != nil {
  1041  			return nil, err
  1042  		}
  1043  		return b[:n], nil
  1044  	}
  1045  }
  1046  func (m *QueryPoolBatchWithdrawMsgsResponse) XXX_Merge(src proto.Message) {
  1047  	xxx_messageInfo_QueryPoolBatchWithdrawMsgsResponse.Merge(m, src)
  1048  }
  1049  func (m *QueryPoolBatchWithdrawMsgsResponse) XXX_Size() int {
  1050  	return m.Size()
  1051  }
  1052  func (m *QueryPoolBatchWithdrawMsgsResponse) XXX_DiscardUnknown() {
  1053  	xxx_messageInfo_QueryPoolBatchWithdrawMsgsResponse.DiscardUnknown(m)
  1054  }
  1055  
  1056  var xxx_messageInfo_QueryPoolBatchWithdrawMsgsResponse proto.InternalMessageInfo
  1057  
  1058  func (m *QueryPoolBatchWithdrawMsgsResponse) GetWithdraws() []WithdrawMsgState {
  1059  	if m != nil {
  1060  		return m.Withdraws
  1061  	}
  1062  	return nil
  1063  }
  1064  
  1065  func (m *QueryPoolBatchWithdrawMsgsResponse) GetPagination() *query.PageResponse {
  1066  	if m != nil {
  1067  		return m.Pagination
  1068  	}
  1069  	return nil
  1070  }
  1071  
  1072  // the response type for the QueryPoolBatchWithdrawMsg RPC method. This includes a batch swap message of the batch.
  1073  type QueryPoolBatchWithdrawMsgResponse struct {
  1074  	Withdraw WithdrawMsgState `protobuf:"bytes,1,opt,name=withdraw,proto3" json:"withdraw"`
  1075  }
  1076  
  1077  func (m *QueryPoolBatchWithdrawMsgResponse) Reset()         { *m = QueryPoolBatchWithdrawMsgResponse{} }
  1078  func (m *QueryPoolBatchWithdrawMsgResponse) String() string { return proto.CompactTextString(m) }
  1079  func (*QueryPoolBatchWithdrawMsgResponse) ProtoMessage()    {}
  1080  func (*QueryPoolBatchWithdrawMsgResponse) Descriptor() ([]byte, []int) {
  1081  	return fileDescriptor_f8c9321d314a3b1d, []int{21}
  1082  }
  1083  func (m *QueryPoolBatchWithdrawMsgResponse) XXX_Unmarshal(b []byte) error {
  1084  	return m.Unmarshal(b)
  1085  }
  1086  func (m *QueryPoolBatchWithdrawMsgResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1087  	if deterministic {
  1088  		return xxx_messageInfo_QueryPoolBatchWithdrawMsgResponse.Marshal(b, m, deterministic)
  1089  	} else {
  1090  		b = b[:cap(b)]
  1091  		n, err := m.MarshalToSizedBuffer(b)
  1092  		if err != nil {
  1093  			return nil, err
  1094  		}
  1095  		return b[:n], nil
  1096  	}
  1097  }
  1098  func (m *QueryPoolBatchWithdrawMsgResponse) XXX_Merge(src proto.Message) {
  1099  	xxx_messageInfo_QueryPoolBatchWithdrawMsgResponse.Merge(m, src)
  1100  }
  1101  func (m *QueryPoolBatchWithdrawMsgResponse) XXX_Size() int {
  1102  	return m.Size()
  1103  }
  1104  func (m *QueryPoolBatchWithdrawMsgResponse) XXX_DiscardUnknown() {
  1105  	xxx_messageInfo_QueryPoolBatchWithdrawMsgResponse.DiscardUnknown(m)
  1106  }
  1107  
  1108  var xxx_messageInfo_QueryPoolBatchWithdrawMsgResponse proto.InternalMessageInfo
  1109  
  1110  func (m *QueryPoolBatchWithdrawMsgResponse) GetWithdraw() WithdrawMsgState {
  1111  	if m != nil {
  1112  		return m.Withdraw
  1113  	}
  1114  	return WithdrawMsgState{}
  1115  }
  1116  
  1117  func init() {
  1118  	proto.RegisterType((*QueryLiquidityPoolRequest)(nil), "tendermint.liquidity.v1beta1.QueryLiquidityPoolRequest")
  1119  	proto.RegisterType((*QueryLiquidityPoolResponse)(nil), "tendermint.liquidity.v1beta1.QueryLiquidityPoolResponse")
  1120  	proto.RegisterType((*QueryLiquidityPoolByPoolCoinDenomRequest)(nil), "tendermint.liquidity.v1beta1.QueryLiquidityPoolByPoolCoinDenomRequest")
  1121  	proto.RegisterType((*QueryLiquidityPoolByReserveAccRequest)(nil), "tendermint.liquidity.v1beta1.QueryLiquidityPoolByReserveAccRequest")
  1122  	proto.RegisterType((*QueryLiquidityPoolBatchRequest)(nil), "tendermint.liquidity.v1beta1.QueryLiquidityPoolBatchRequest")
  1123  	proto.RegisterType((*QueryLiquidityPoolBatchResponse)(nil), "tendermint.liquidity.v1beta1.QueryLiquidityPoolBatchResponse")
  1124  	proto.RegisterType((*QueryLiquidityPoolsRequest)(nil), "tendermint.liquidity.v1beta1.QueryLiquidityPoolsRequest")
  1125  	proto.RegisterType((*QueryLiquidityPoolsResponse)(nil), "tendermint.liquidity.v1beta1.QueryLiquidityPoolsResponse")
  1126  	proto.RegisterType((*QueryParamsRequest)(nil), "tendermint.liquidity.v1beta1.QueryParamsRequest")
  1127  	proto.RegisterType((*QueryParamsResponse)(nil), "tendermint.liquidity.v1beta1.QueryParamsResponse")
  1128  	proto.RegisterType((*QueryPoolBatchSwapMsgsRequest)(nil), "tendermint.liquidity.v1beta1.QueryPoolBatchSwapMsgsRequest")
  1129  	proto.RegisterType((*QueryPoolBatchSwapMsgRequest)(nil), "tendermint.liquidity.v1beta1.QueryPoolBatchSwapMsgRequest")
  1130  	proto.RegisterType((*QueryPoolBatchSwapMsgsResponse)(nil), "tendermint.liquidity.v1beta1.QueryPoolBatchSwapMsgsResponse")
  1131  	proto.RegisterType((*QueryPoolBatchSwapMsgResponse)(nil), "tendermint.liquidity.v1beta1.QueryPoolBatchSwapMsgResponse")
  1132  	proto.RegisterType((*QueryPoolBatchDepositMsgsRequest)(nil), "tendermint.liquidity.v1beta1.QueryPoolBatchDepositMsgsRequest")
  1133  	proto.RegisterType((*QueryPoolBatchDepositMsgRequest)(nil), "tendermint.liquidity.v1beta1.QueryPoolBatchDepositMsgRequest")
  1134  	proto.RegisterType((*QueryPoolBatchDepositMsgsResponse)(nil), "tendermint.liquidity.v1beta1.QueryPoolBatchDepositMsgsResponse")
  1135  	proto.RegisterType((*QueryPoolBatchDepositMsgResponse)(nil), "tendermint.liquidity.v1beta1.QueryPoolBatchDepositMsgResponse")
  1136  	proto.RegisterType((*QueryPoolBatchWithdrawMsgsRequest)(nil), "tendermint.liquidity.v1beta1.QueryPoolBatchWithdrawMsgsRequest")
  1137  	proto.RegisterType((*QueryPoolBatchWithdrawMsgRequest)(nil), "tendermint.liquidity.v1beta1.QueryPoolBatchWithdrawMsgRequest")
  1138  	proto.RegisterType((*QueryPoolBatchWithdrawMsgsResponse)(nil), "tendermint.liquidity.v1beta1.QueryPoolBatchWithdrawMsgsResponse")
  1139  	proto.RegisterType((*QueryPoolBatchWithdrawMsgResponse)(nil), "tendermint.liquidity.v1beta1.QueryPoolBatchWithdrawMsgResponse")
  1140  }
  1141  
  1142  func init() {
  1143  	proto.RegisterFile("tendermint/liquidity/v1beta1/query.proto", fileDescriptor_f8c9321d314a3b1d)
  1144  }
  1145  
  1146  var fileDescriptor_f8c9321d314a3b1d = []byte{
  1147  	// 1984 bytes of a gzipped FileDescriptorProto
  1148  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x9a, 0x5f, 0x8c, 0xdc, 0x46,
  1149  	0x19, 0xc0, 0xe3, 0x8b, 0x77, 0x9b, 0x4c, 0x54, 0x28, 0xd3, 0x54, 0xb4, 0x6e, 0x7a, 0x99, 0x5a,
  1150  	0xd0, 0x84, 0x72, 0x67, 0xe7, 0xf2, 0x47, 0x4d, 0x36, 0xb9, 0x94, 0xbd, 0xbb, 0x5e, 0x49, 0x44,
  1151  	0x4a, 0xd8, 0x14, 0x0a, 0x29, 0xe8, 0x98, 0xb3, 0x27, 0x3e, 0x83, 0x77, 0xc6, 0xf1, 0xcc, 0xee,
  1152  	0xdd, 0x71, 0x9c, 0x14, 0xfe, 0x48, 0xa5, 0x2f, 0x25, 0x5a, 0x04, 0x42, 0x48, 0x44, 0x20, 0x44,
  1153  	0x29, 0x6a, 0x11, 0x02, 0xc1, 0x5b, 0x11, 0x2a, 0x08, 0x5a, 0x1e, 0x90, 0x8a, 0xfa, 0xc2, 0x0b,
  1154  	0x08, 0x12, 0x5e, 0x78, 0x42, 0xbc, 0xf2, 0x84, 0x6c, 0x8f, 0x77, 0xbd, 0xbb, 0xde, 0xdd, 0xb3,
  1155  	0x2f, 0xf4, 0xa8, 0xb2, 0x2f, 0xc9, 0xad, 0x3d, 0xdf, 0x37, 0xdf, 0x9f, 0xdf, 0x37, 0xdf, 0x78,
  1156  	0x6c, 0x70, 0x58, 0x10, 0x6a, 0x93, 0xa0, 0xee, 0x52, 0x61, 0x7a, 0xee, 0xd5, 0x86, 0x6b, 0xbb,
  1157  	0x62, 0xdd, 0x6c, 0xce, 0x2c, 0x13, 0x81, 0x67, 0xcc, 0xab, 0x0d, 0x12, 0xac, 0x1b, 0x7e, 0xc0,
  1158  	0x04, 0x83, 0x07, 0x3a, 0x23, 0x8d, 0xf6, 0x48, 0x43, 0x8e, 0xd4, 0xf6, 0x3b, 0xcc, 0x61, 0xd1,
  1159  	0x40, 0x33, 0xfc, 0x2b, 0x96, 0xd1, 0xa6, 0x86, 0x6a, 0xef, 0x68, 0x89, 0x47, 0x1f, 0x70, 0x18,
  1160  	0x73, 0x3c, 0x62, 0x62, 0xdf, 0x35, 0x31, 0xa5, 0x4c, 0x60, 0xe1, 0x32, 0xca, 0xe5, 0xdd, 0x87,
  1161  	0x2c, 0xc6, 0xeb, 0x8c, 0x2f, 0xc5, 0x93, 0xf8, 0xd8, 0x71, 0x69, 0x74, 0x5f, 0xde, 0x8e, 0xff,
  1162  	0xb3, 0xa6, 0x1d, 0x42, 0xa7, 0x99, 0x4f, 0x28, 0xf6, 0xdd, 0xe6, 0x51, 0x93, 0xf9, 0x91, 0x8a,
  1163  	0x7e, 0x75, 0xfa, 0x71, 0xf0, 0xc0, 0xc7, 0x42, 0xef, 0x3e, 0x92, 0x18, 0x71, 0x91, 0x31, 0xaf,
  1164  	0x46, 0xae, 0x36, 0x08, 0x17, 0xf0, 0xbd, 0xe0, 0x2e, 0x9f, 0x31, 0x6f, 0xc9, 0xb5, 0xef, 0x57,
  1165  	0x90, 0x72, 0x58, 0xad, 0x95, 0xc3, 0x9f, 0xe7, 0x6c, 0xfd, 0x32, 0xd0, 0xb2, 0xa4, 0xb8, 0xcf,
  1166  	0x28, 0x27, 0xf0, 0x0c, 0x50, 0xc3, 0x71, 0x91, 0xcc, 0xbe, 0xa3, 0xba, 0x31, 0x2c, 0x62, 0x46,
  1167  	0x28, 0x39, 0xa7, 0xbe, 0xf1, 0xd7, 0x83, 0xbb, 0x6a, 0x91, 0x94, 0x5e, 0x03, 0x87, 0xfb, 0x75,
  1168  	0xcf, 0x45, 0xff, 0xce, 0x33, 0x97, 0x2e, 0x10, 0xca, 0xea, 0x89, 0x81, 0x8f, 0x80, 0x77, 0x47,
  1169  	0x06, 0x5a, 0xcc, 0xa5, 0x4b, 0x76, 0x78, 0x27, 0x9a, 0x74, 0x6f, 0xed, 0x6e, 0x3f, 0x3d, 0x5c,
  1170  	0xff, 0x30, 0x78, 0x7f, 0x96, 0xce, 0x1a, 0xe1, 0x24, 0x68, 0x92, 0xaa, 0x65, 0x25, 0x0a, 0x0f,
  1171  	0x82, 0x7d, 0x41, 0x7c, 0x71, 0x09, 0x5b, 0x96, 0x54, 0x06, 0x82, 0xf6, 0x38, 0xfd, 0x14, 0x98,
  1172  	0xcc, 0xd0, 0x84, 0x85, 0xb5, 0x32, 0x32, 0x68, 0x57, 0xc0, 0xc1, 0x81, 0xa2, 0x32, 0x72, 0xf3,
  1173  	0xa0, 0xb4, 0x1c, 0x5e, 0x90, 0xa1, 0x3b, 0xb4, 0x85, 0xd0, 0x85, 0xc3, 0x65, 0xfc, 0x62, 0x59,
  1174  	0xdd, 0xce, 0x4a, 0x0e, 0x4f, 0xcc, 0x5b, 0x04, 0xa0, 0x03, 0x8d, 0x9c, 0xe7, 0x11, 0x23, 0x86,
  1175  	0xca, 0x58, 0xc6, 0x9c, 0x18, 0x31, 0xed, 0xed, 0x49, 0xb0, 0x43, 0xa4, 0x6c, 0x2d, 0x25, 0xa9,
  1176  	0xbf, 0xa8, 0x80, 0x07, 0x33, 0xa7, 0x91, 0xae, 0x9c, 0x05, 0xa5, 0xd0, 0x6f, 0x7e, 0xbf, 0x82,
  1177  	0x76, 0xe7, 0xa2, 0x20, 0x16, 0x83, 0x4f, 0x76, 0xd9, 0x39, 0x21, 0xe3, 0x31, 0xca, 0xce, 0x78,
  1178  	0xf2, 0x2e, 0x43, 0xf7, 0x03, 0x18, 0xd9, 0x79, 0x11, 0x07, 0xb8, 0x9e, 0x84, 0x41, 0xff, 0x14,
  1179  	0xb8, 0xb7, 0xeb, 0xaa, 0xb4, 0x7a, 0x0e, 0x94, 0xfd, 0xe8, 0x8a, 0x8c, 0xcc, 0xfb, 0x46, 0x98,
  1180  	0x1d, 0x8d, 0x95, 0x86, 0x4b, 0x49, 0xfd, 0x9a, 0x02, 0x1e, 0x8a, 0x75, 0x27, 0xf9, 0xb9, 0xb4,
  1181  	0x8a, 0xfd, 0x0b, 0xdc, 0xe1, 0xa3, 0x10, 0xe9, 0x49, 0xce, 0x44, 0xe1, 0xe4, 0x3c, 0x0d, 0x0e,
  1182  	0x64, 0x5a, 0x30, 0xd2, 0x80, 0x07, 0xc1, 0xde, 0x3a, 0x77, 0x96, 0x5c, 0x6a, 0x93, 0xb5, 0x68,
  1183  	0x7e, 0xb5, 0xb6, 0xa7, 0xce, 0x9d, 0x73, 0xe1, 0x6f, 0xfd, 0x67, 0x8a, 0x84, 0x3f, 0xc3, 0x31,
  1184  	0x19, 0xbf, 0x45, 0x50, 0xe2, 0xab, 0xd8, 0x4f, 0xb2, 0xfe, 0xe8, 0xf0, 0xf0, 0x49, 0xf1, 0x4b,
  1185  	0x02, 0x0b, 0x92, 0x64, 0x3f, 0x12, 0xbf, 0x7d, 0xd9, 0x27, 0x03, 0x72, 0xd1, 0xb6, 0x78, 0x01,
  1186  	0xa8, 0xe1, 0x94, 0x32, 0xdf, 0xf9, 0x0d, 0x8e, 0xa4, 0xf5, 0xaf, 0x28, 0x00, 0x75, 0xcf, 0xb3,
  1187  	0x40, 0x7c, 0xc6, 0x5d, 0xf1, 0xb6, 0xa6, 0xfd, 0x19, 0xb9, 0xc2, 0x64, 0x18, 0xb1, 0xbd, 0xcc,
  1188  	0xff, 0x4a, 0x01, 0x0f, 0x0f, 0x71, 0x4f, 0x86, 0xf2, 0xa3, 0x60, 0x8f, 0x1d, 0x5f, 0x4e, 0xf2,
  1189  	0x3f, 0x3d, 0x3c, 0x9c, 0x1d, 0x25, 0xe9, 0x88, 0xb6, 0x95, 0xdc, 0x3e, 0x0a, 0xae, 0x0e, 0xce,
  1190  	0x4e, 0xdb, 0xfa, 0x0b, 0xe0, 0x2e, 0x39, 0xb1, 0x64, 0xa1, 0x90, 0xf1, 0x89, 0x0e, 0xfd, 0xab,
  1191  	0x7d, 0x21, 0x7b, 0xc6, 0x15, 0x2b, 0x76, 0x80, 0x57, 0xdf, 0x56, 0x24, 0x3e, 0xd9, 0xeb, 0x79,
  1192  	0xca, 0x8a, 0xed, 0x31, 0xf1, 0x9a, 0x02, 0xf4, 0x61, 0x0e, 0xca, 0xb0, 0xd6, 0xc0, 0xde, 0x55,
  1193  	0x79, 0x3d, 0xa1, 0xc2, 0x18, 0x1e, 0xd8, 0x94, 0x9a, 0x74, 0x64, 0x3b, 0x6a, 0x6e, 0x1f, 0x17,
  1194  	0x8d, 0x21, 0x39, 0x6a, 0x7b, 0x70, 0x11, 0xec, 0x49, 0xa6, 0x96, 0x64, 0x14, 0x73, 0xa0, 0xad,
  1195  	0xe5, 0xe8, 0xb5, 0x05, 0x50, 0x8a, 0xe6, 0x85, 0xd7, 0x55, 0xf0, 0xae, 0xee, 0x06, 0x0a, 0x4f,
  1196  	0x0e, 0x57, 0x3e, 0xb8, 0xb5, 0x6b, 0xa7, 0x0a, 0x48, 0xc6, 0x3e, 0xea, 0x5f, 0xdb, 0xdd, 0xaa,
  1197  	0xfe, 0x65, 0x42, 0x9b, 0xad, 0x11, 0xd1, 0x08, 0x28, 0x47, 0x18, 0x79, 0x2e, 0x17, 0x88, 0x5d,
  1198  	0x41, 0xd8, 0xf3, 0x50, 0x5b, 0x17, 0x8a, 0x7a, 0x33, 0x0a, 0x1d, 0x41, 0x9d, 0x30, 0xa2, 0x80,
  1199  	0xf0, 0x86, 0x27, 0x0c, 0x9d, 0x83, 0xe9, 0x45, 0x97, 0xda, 0x88, 0x35, 0x04, 0xaa, 0xb3, 0x80,
  1200  	0x20, 0xbc, 0x1c, 0xfe, 0x29, 0x56, 0x08, 0x8a, 0x12, 0x82, 0x30, 0xb5, 0x11, 0x09, 0x02, 0x16,
  1201  	0x20, 0x8b, 0xd9, 0x84, 0xc3, 0xb9, 0x15, 0x21, 0x7c, 0x5e, 0x31, 0x4d, 0xc7, 0x15, 0x2b, 0x8d,
  1202  	0x65, 0xc3, 0x62, 0x75, 0x33, 0x73, 0xaf, 0xbc, 0xec, 0xb1, 0x65, 0xd3, 0x26, 0x4d, 0xe2, 0x31,
  1203  	0xdf, 0xb4, 0x99, 0x65, 0x5a, 0x9e, 0x4b, 0xa8, 0x30, 0xea, 0xf6, 0xf9, 0x17, 0x15, 0xb0, 0xfb,
  1204  	0xc4, 0x91, 0x23, 0xf0, 0x86, 0x02, 0xee, 0x3b, 0x47, 0x05, 0x09, 0x28, 0xf6, 0xd0, 0xa5, 0x70,
  1205  	0xbf, 0x16, 0xa0, 0x27, 0xc2, 0xb9, 0xc2, 0x52, 0xbc, 0x07, 0xfb, 0xbe, 0xe7, 0x5a, 0x91, 0xb9,
  1206  	0xe6, 0xe7, 0x38, 0xa3, 0xd0, 0xdf, 0xd0, 0x43, 0x1b, 0xf4, 0xca, 0xd1, 0x29, 0xbd, 0x4e, 0x38,
  1207  	0xc7, 0x0e, 0xd1, 0x2b, 0x7a, 0xe0, 0x5b, 0xb1, 0x81, 0x95, 0xc8, 0x42, 0x34, 0x8b, 0x9e, 0x62,
  1208  	0x62, 0x91, 0x35, 0xa8, 0x8d, 0x6c, 0xc2, 0x2d, 0x34, 0x8b, 0x9e, 0x5e, 0x21, 0xa1, 0x63, 0x01,
  1209  	0x41, 0x94, 0xc9, 0x70, 0xf8, 0xe1, 0xfe, 0x90, 0x0a, 0xa3, 0x82, 0x3e, 0x4f, 0xd6, 0x11, 0x65,
  1210  	0x02, 0x5d, 0x09, 0x25, 0xf4, 0x29, 0xdd, 0x26, 0x02, 0xbb, 0x1e, 0xd7, 0x2b, 0xcf, 0x7e, 0x66,
  1211  	0xf3, 0xcb, 0x6f, 0xfd, 0xe3, 0x1b, 0x13, 0x0f, 0xc3, 0x83, 0x66, 0xcc, 0x69, 0xc6, 0x83, 0x40,
  1212  	0xbc, 0xf1, 0x79, 0xad, 0x04, 0xee, 0xee, 0xca, 0x12, 0x7c, 0x2c, 0x6f, 0x5e, 0x13, 0x20, 0x4e,
  1213  	0xe6, 0x17, 0x94, 0x3c, 0xbc, 0xaa, 0xb6, 0xaa, 0xcf, 0xa9, 0xda, 0xe9, 0x84, 0x87, 0x30, 0x85,
  1214  	0xdd, 0x14, 0x20, 0xb1, 0x82, 0x05, 0xb2, 0x58, 0x10, 0x44, 0x32, 0x36, 0x47, 0x82, 0x45, 0xc3,
  1215  	0xe4, 0x52, 0xb2, 0x83, 0x34, 0x1c, 0x8f, 0x69, 0xd8, 0x37, 0x87, 0x6d, 0x94, 0xec, 0xf7, 0x5e,
  1216  	0xc8, 0x62, 0xe0, 0x0b, 0x09, 0x03, 0xc7, 0xd2, 0x0c, 0x88, 0x75, 0x9f, 0xa0, 0xba, 0xcb, 0xeb,
  1217  	0xe1, 0x82, 0x30, 0x85, 0xa2, 0x5d, 0x1d, 0x11, 0x24, 0xa8, 0x24, 0xae, 0x4d, 0x25, 0x88, 0x70,
  1218  	0x11, 0x58, 0x8c, 0x36, 0xc3, 0x6d, 0x20, 0x27, 0x1f, 0x77, 0xa9, 0xa8, 0x84, 0xa3, 0xb9, 0x4b,
  1219  	0x1d, 0xf4, 0x68, 0x05, 0xb9, 0xb4, 0x89, 0x3d, 0xd7, 0x46, 0x7c, 0x9d, 0x0a, 0xbc, 0xd6, 0x43,
  1220  	0xc3, 0xf9, 0x1f, 0x4b, 0x6c, 0xbf, 0x3f, 0x10, 0xdb, 0xe7, 0xb2, 0x4c, 0xe6, 0x05, 0xb1, 0xed,
  1221  	0x49, 0xde, 0x31, 0x64, 0x33, 0xc2, 0xe9, 0x21, 0x81, 0xc8, 0x9a, 0xcb, 0xc5, 0x16, 0xc8, 0xfd,
  1222  	0x20, 0xfc, 0xc0, 0x08, 0x72, 0xcd, 0x0d, 0x19, 0x9f, 0x4d, 0xf8, 0xcb, 0x32, 0x38, 0x30, 0xec,
  1223  	0xf9, 0x0d, 0x2e, 0xe6, 0x25, 0x33, 0xfb, 0x01, 0x70, 0x1b, 0x84, 0xb7, 0x4a, 0xad, 0xea, 0xef,
  1224  	0x54, 0x6d, 0xfe, 0x9c, 0x40, 0xc1, 0x60, 0xc8, 0x3b, 0x7c, 0x87, 0x49, 0x4d, 0x13, 0xde, 0x79,
  1225  	0xe4, 0xdc, 0x21, 0xd2, 0x7f, 0x11, 0x91, 0x7e, 0x1c, 0xbe, 0xa2, 0x80, 0xbd, 0x4f, 0x31, 0x81,
  1226  	0xa2, 0x74, 0xeb, 0x37, 0xb2, 0xa0, 0x79, 0x5e, 0x49, 0xa8, 0x39, 0xb1, 0x2d, 0x6a, 0xe2, 0x75,
  1227  	0x3f, 0x8e, 0x8b, 0x4b, 0x51, 0xe4, 0x3d, 0x5a, 0x5b, 0xcb, 0xc3, 0xd2, 0xf9, 0x3f, 0x49, 0xee,
  1228  	0xff, 0x30, 0x90, 0xfb, 0x9f, 0x66, 0xb9, 0xf0, 0x1d, 0xa5, 0x20, 0xf8, 0x05, 0x93, 0x9a, 0xbb,
  1229  	0x3e, 0xe6, 0x61, 0x75, 0x54, 0x7d, 0xf4, 0x4c, 0x21, 0xeb, 0xa5, 0x73, 0x61, 0x13, 0xde, 0x28,
  1230  	0x83, 0x07, 0x06, 0x9e, 0x51, 0xc0, 0xf9, 0xfc, 0x45, 0xd3, 0x77, 0xc2, 0xb1, 0x8d, 0x8a, 0xf9,
  1231  	0x52, 0xa9, 0x55, 0x7d, 0xb5, 0x58, 0xc5, 0xc8, 0x03, 0x14, 0x84, 0x2d, 0x8b, 0x35, 0xe8, 0x4e,
  1232  	0xed, 0x14, 0x5e, 0x96, 0x15, 0xf3, 0x83, 0xae, 0x8a, 0xf9, 0x66, 0x16, 0x6e, 0xd7, 0x8a, 0x56,
  1233  	0x4c, 0x86, 0xb7, 0x08, 0xdb, 0x76, 0x40, 0x38, 0x0f, 0x2b, 0xc5, 0xe5, 0x11, 0x45, 0x51, 0x63,
  1234  	0x78, 0x87, 0x16, 0x4a, 0xaf, 0x77, 0x79, 0x0b, 0xe5, 0x34, 0x3c, 0x35, 0xaa, 0x50, 0x52, 0x47,
  1235  	0x70, 0xe6, 0x46, 0xea, 0xc7, 0x26, 0xfc, 0x7b, 0x09, 0xc0, 0xfe, 0xf3, 0x33, 0x78, 0x26, 0x77,
  1236  	0x65, 0xa4, 0x4e, 0xec, 0xb4, 0xd9, 0x82, 0xd2, 0xb2, 0x2e, 0xfe, 0xa8, 0xb6, 0xaa, 0x2d, 0x55,
  1237  	0x5b, 0x4c, 0xef, 0x95, 0xac, 0x46, 0x10, 0x10, 0x2a, 0x50, 0x74, 0x22, 0x17, 0x6e, 0xa3, 0x93,
  1238  	0x25, 0x66, 0xbc, 0x6d, 0xba, 0xb3, 0xb6, 0x4d, 0x33, 0xd0, 0xdc, 0xf2, 0xb6, 0xc9, 0x8c, 0x68,
  1239  	0x81, 0xff, 0x29, 0x81, 0xf7, 0xf4, 0x9d, 0xb0, 0xc1, 0xd3, 0x5b, 0x80, 0x74, 0xd0, 0x81, 0xa3,
  1240  	0x76, 0xa6, 0x98, 0xb0, 0x04, 0xfc, 0x9f, 0x6a, 0xab, 0xfa, 0x92, 0xaa, 0x7d, 0x3a, 0xfb, 0xe1,
  1241  	0x90, 0xaf, 0x62, 0x1f, 0xc9, 0x98, 0x72, 0xe4, 0xd2, 0x11, 0xfc, 0xff, 0xdf, 0x3d, 0x3b, 0x8e,
  1242  	0xb1, 0xff, 0x1f, 0x60, 0xff, 0x18, 0x3c, 0x91, 0x13, 0x7b, 0x33, 0x3e, 0xf8, 0xfd, 0x6e, 0x19,
  1243  	0xdc, 0xd3, 0x4b, 0x22, 0xac, 0x14, 0xc0, 0x37, 0x41, 0xff, 0x74, 0x21, 0x59, 0x49, 0xfe, 0xd7,
  1244  	0x4b, 0xad, 0xea, 0x6f, 0x54, 0xed, 0x13, 0xe9, 0xa5, 0x3d, 0xcd, 0xfb, 0xc0, 0xd5, 0xbc, 0x7d,
  1245  	0x6c, 0x96, 0x14, 0x44, 0xe8, 0xec, 0x21, 0xde, 0x5d, 0x17, 0x3b, 0xc3, 0xfc, 0x4b, 0x92, 0xf9,
  1246  	0xef, 0xf5, 0x30, 0x7f, 0x3d, 0x0b, 0xa0, 0x2f, 0xe6, 0x64, 0xbe, 0xed, 0xf7, 0x6d, 0xa1, 0xfe,
  1247  	0x75, 0x49, 0xfd, 0xaf, 0x07, 0x52, 0xff, 0xc3, 0x2c, 0xa3, 0xaf, 0x2b, 0x1b, 0x7a, 0xc0, 0x98,
  1248  	0xd0, 0x2b, 0x29, 0xfc, 0x53, 0x8a, 0xf3, 0xef, 0x8b, 0xea, 0xdc, 0x41, 0x8e, 0xdb, 0x24, 0x34,
  1249  	0x95, 0xd8, 0x99, 0xee, 0xa2, 0x40, 0x2c, 0x40, 0x36, 0xf1, 0x88, 0x20, 0x7d, 0x1b, 0xbb, 0xcd,
  1250  	0x2d, 0x3f, 0x21, 0x64, 0xd6, 0x84, 0xb9, 0xd1, 0x9e, 0x74, 0x13, 0x3e, 0x5f, 0x06, 0xfb, 0xb3,
  1251  	0x0e, 0xe1, 0xe1, 0xd9, 0x3c, 0x9c, 0xf7, 0xbf, 0x9c, 0xd0, 0x1e, 0x2f, 0x2c, 0x2f, 0x6b, 0xe5,
  1252  	0x5f, 0x6a, 0xab, 0xfa, 0xb2, 0xaa, 0x2d, 0x65, 0x77, 0x09, 0x79, 0x2c, 0x3e, 0x6e, 0x14, 0xe3,
  1253  	0x46, 0xd1, 0xd5, 0x28, 0x2a, 0xf0, 0x64, 0xde, 0xa2, 0x68, 0xbf, 0x1e, 0xfa, 0x49, 0x19, 0xdc,
  1254  	0x9b, 0x81, 0x24, 0x9c, 0x2d, 0x86, 0x72, 0x52, 0x09, 0x67, 0x8b, 0x8a, 0xcb, 0x42, 0xf8, 0x56,
  1255  	0xa9, 0x55, 0xfd, 0xbd, 0xaa, 0x5d, 0x4e, 0x37, 0x8d, 0x1e, 0xfc, 0xb7, 0xd7, 0x37, 0x8c, 0x71,
  1256  	0xe3, 0xb8, 0xa3, 0x1a, 0xc7, 0x22, 0x5c, 0x28, 0x5a, 0x23, 0x5d, 0xbd, 0xe3, 0x85, 0x32, 0xb8,
  1257  	0x2f, 0xf3, 0x65, 0x1d, 0xcc, 0xb5, 0xf8, 0x67, 0xbc, 0xc7, 0xd4, 0x3e, 0x54, 0x5c, 0x81, 0xac,
  1258  	0x9a, 0x7f, 0xab, 0xad, 0xea, 0x2b, 0xaa, 0xf6, 0xd9, 0xec, 0xf6, 0x91, 0xbc, 0x3a, 0x1b, 0xf7,
  1259  	0x8f, 0x71, 0xff, 0xc8, 0x7b, 0x9a, 0xd4, 0x5b, 0x1b, 0x9d, 0xf7, 0xc8, 0x3f, 0x4f, 0x6f, 0xa6,
  1260  	0x52, 0x54, 0xe6, 0xdb, 0x4c, 0xf5, 0xbf, 0x51, 0xd7, 0x1e, 0x2f, 0x2c, 0x2f, 0xab, 0xe1, 0xdb,
  1261  	0xa5, 0x56, 0xf5, 0x75, 0x55, 0x7b, 0x36, 0xdd, 0x43, 0x7a, 0x6b, 0x60, 0xdc, 0x44, 0xc6, 0x4d,
  1262  	0x64, 0xeb, 0x4d, 0xe4, 0x49, 0xf8, 0x44, 0xe1, 0x42, 0xe9, 0xea, 0x22, 0xbf, 0x9d, 0x00, 0xe5,
  1263  	0xf8, 0xbb, 0x37, 0x78, 0x64, 0x2b, 0x98, 0xa7, 0x3f, 0xbb, 0xd3, 0x66, 0x72, 0x48, 0xc8, 0x52,
  1264  	0x78, 0x4b, 0x69, 0x55, 0x7f, 0xa4, 0x68, 0x66, 0xbb, 0x31, 0x78, 0x5e, 0x27, 0xe7, 0x3c, 0x59,
  1265  	0xf2, 0x3b, 0x0b, 0x49, 0x9d, 0xd9, 0x0d, 0x8f, 0x18, 0xba, 0x00, 0x93, 0x83, 0xf0, 0x8e, 0x3f,
  1266  	0xd4, 0x83, 0xb5, 0x42, 0x3c, 0xaf, 0xa5, 0x6e, 0x70, 0x9f, 0x58, 0xe6, 0x91, 0x93, 0x4b, 0xb1,
  1267  	0x42, 0xa3, 0x6e, 0x47, 0xa1, 0xd6, 0x21, 0x1a, 0x12, 0xea, 0xf8, 0x93, 0xc1, 0x0b, 0x6f, 0xdc,
  1268  	0x9c, 0x54, 0xde, 0xbc, 0x39, 0xa9, 0xfc, 0xed, 0xe6, 0xa4, 0x72, 0xfd, 0xd6, 0xe4, 0xae, 0x37,
  1269  	0x6f, 0x4d, 0xee, 0xfa, 0xf3, 0xad, 0xc9, 0x5d, 0x97, 0x8f, 0xa5, 0xac, 0x71, 0x02, 0xdc, 0x74,
  1270  	0xc5, 0xfa, 0xb4, 0x4d, 0x9a, 0x69, 0x5d, 0x69, 0x13, 0xc2, 0x6a, 0xe0, 0xcb, 0xe5, 0xe8, 0x6b,
  1271  	0xde, 0x63, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x82, 0x5f, 0x48, 0x66, 0xc8, 0x2c, 0x00, 0x00,
  1272  }
  1273  
  1274  // Reference imports to suppress errors if they are not otherwise used.
  1275  var _ context.Context
  1276  var _ grpc.ClientConn
  1277  
  1278  // This is a compile-time assertion to ensure that this generated file
  1279  // is compatible with the grpc package it is being compiled against.
  1280  const _ = grpc.SupportPackageIsVersion4
  1281  
  1282  // QueryClient is the client API for Query service.
  1283  //
  1284  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1285  type QueryClient interface {
  1286  	// Get existing liquidity pools.
  1287  	LiquidityPools(ctx context.Context, in *QueryLiquidityPoolsRequest, opts ...grpc.CallOption) (*QueryLiquidityPoolsResponse, error)
  1288  	// Get specific liquidity pool.
  1289  	LiquidityPool(ctx context.Context, in *QueryLiquidityPoolRequest, opts ...grpc.CallOption) (*QueryLiquidityPoolResponse, error)
  1290  	// Get specific liquidity pool corresponding to the pool_coin_denom.
  1291  	LiquidityPoolByPoolCoinDenom(ctx context.Context, in *QueryLiquidityPoolByPoolCoinDenomRequest, opts ...grpc.CallOption) (*QueryLiquidityPoolResponse, error)
  1292  	// Get specific liquidity pool corresponding to the reserve account.
  1293  	LiquidityPoolByReserveAcc(ctx context.Context, in *QueryLiquidityPoolByReserveAccRequest, opts ...grpc.CallOption) (*QueryLiquidityPoolResponse, error)
  1294  	// Get the pool's current batch.
  1295  	LiquidityPoolBatch(ctx context.Context, in *QueryLiquidityPoolBatchRequest, opts ...grpc.CallOption) (*QueryLiquidityPoolBatchResponse, error)
  1296  	// Get all swap messages in the pool's current batch.
  1297  	PoolBatchSwapMsgs(ctx context.Context, in *QueryPoolBatchSwapMsgsRequest, opts ...grpc.CallOption) (*QueryPoolBatchSwapMsgsResponse, error)
  1298  	// Get a specific swap message in the pool's current batch.
  1299  	PoolBatchSwapMsg(ctx context.Context, in *QueryPoolBatchSwapMsgRequest, opts ...grpc.CallOption) (*QueryPoolBatchSwapMsgResponse, error)
  1300  	// Get all deposit messages in the pool's current batch.
  1301  	PoolBatchDepositMsgs(ctx context.Context, in *QueryPoolBatchDepositMsgsRequest, opts ...grpc.CallOption) (*QueryPoolBatchDepositMsgsResponse, error)
  1302  	// Get a specific deposit message in the pool's current batch.
  1303  	PoolBatchDepositMsg(ctx context.Context, in *QueryPoolBatchDepositMsgRequest, opts ...grpc.CallOption) (*QueryPoolBatchDepositMsgResponse, error)
  1304  	// Get all withdraw messages in the pool's current batch.
  1305  	PoolBatchWithdrawMsgs(ctx context.Context, in *QueryPoolBatchWithdrawMsgsRequest, opts ...grpc.CallOption) (*QueryPoolBatchWithdrawMsgsResponse, error)
  1306  	// Get a specific withdraw message in the pool's current batch.
  1307  	PoolBatchWithdrawMsg(ctx context.Context, in *QueryPoolBatchWithdrawMsgRequest, opts ...grpc.CallOption) (*QueryPoolBatchWithdrawMsgResponse, error)
  1308  	// Get all parameters of the liquidity module.
  1309  	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
  1310  }
  1311  
  1312  type queryClient struct {
  1313  	cc grpc1.ClientConn
  1314  }
  1315  
  1316  func NewQueryClient(cc grpc1.ClientConn) QueryClient {
  1317  	return &queryClient{cc}
  1318  }
  1319  
  1320  func (c *queryClient) LiquidityPools(ctx context.Context, in *QueryLiquidityPoolsRequest, opts ...grpc.CallOption) (*QueryLiquidityPoolsResponse, error) {
  1321  	out := new(QueryLiquidityPoolsResponse)
  1322  	err := c.cc.Invoke(ctx, "/tendermint.liquidity.v1beta1.Query/LiquidityPools", in, out, opts...)
  1323  	if err != nil {
  1324  		return nil, err
  1325  	}
  1326  	return out, nil
  1327  }
  1328  
  1329  func (c *queryClient) LiquidityPool(ctx context.Context, in *QueryLiquidityPoolRequest, opts ...grpc.CallOption) (*QueryLiquidityPoolResponse, error) {
  1330  	out := new(QueryLiquidityPoolResponse)
  1331  	err := c.cc.Invoke(ctx, "/tendermint.liquidity.v1beta1.Query/LiquidityPool", in, out, opts...)
  1332  	if err != nil {
  1333  		return nil, err
  1334  	}
  1335  	return out, nil
  1336  }
  1337  
  1338  func (c *queryClient) LiquidityPoolByPoolCoinDenom(ctx context.Context, in *QueryLiquidityPoolByPoolCoinDenomRequest, opts ...grpc.CallOption) (*QueryLiquidityPoolResponse, error) {
  1339  	out := new(QueryLiquidityPoolResponse)
  1340  	err := c.cc.Invoke(ctx, "/tendermint.liquidity.v1beta1.Query/LiquidityPoolByPoolCoinDenom", in, out, opts...)
  1341  	if err != nil {
  1342  		return nil, err
  1343  	}
  1344  	return out, nil
  1345  }
  1346  
  1347  func (c *queryClient) LiquidityPoolByReserveAcc(ctx context.Context, in *QueryLiquidityPoolByReserveAccRequest, opts ...grpc.CallOption) (*QueryLiquidityPoolResponse, error) {
  1348  	out := new(QueryLiquidityPoolResponse)
  1349  	err := c.cc.Invoke(ctx, "/tendermint.liquidity.v1beta1.Query/LiquidityPoolByReserveAcc", in, out, opts...)
  1350  	if err != nil {
  1351  		return nil, err
  1352  	}
  1353  	return out, nil
  1354  }
  1355  
  1356  func (c *queryClient) LiquidityPoolBatch(ctx context.Context, in *QueryLiquidityPoolBatchRequest, opts ...grpc.CallOption) (*QueryLiquidityPoolBatchResponse, error) {
  1357  	out := new(QueryLiquidityPoolBatchResponse)
  1358  	err := c.cc.Invoke(ctx, "/tendermint.liquidity.v1beta1.Query/LiquidityPoolBatch", in, out, opts...)
  1359  	if err != nil {
  1360  		return nil, err
  1361  	}
  1362  	return out, nil
  1363  }
  1364  
  1365  func (c *queryClient) PoolBatchSwapMsgs(ctx context.Context, in *QueryPoolBatchSwapMsgsRequest, opts ...grpc.CallOption) (*QueryPoolBatchSwapMsgsResponse, error) {
  1366  	out := new(QueryPoolBatchSwapMsgsResponse)
  1367  	err := c.cc.Invoke(ctx, "/tendermint.liquidity.v1beta1.Query/PoolBatchSwapMsgs", in, out, opts...)
  1368  	if err != nil {
  1369  		return nil, err
  1370  	}
  1371  	return out, nil
  1372  }
  1373  
  1374  func (c *queryClient) PoolBatchSwapMsg(ctx context.Context, in *QueryPoolBatchSwapMsgRequest, opts ...grpc.CallOption) (*QueryPoolBatchSwapMsgResponse, error) {
  1375  	out := new(QueryPoolBatchSwapMsgResponse)
  1376  	err := c.cc.Invoke(ctx, "/tendermint.liquidity.v1beta1.Query/PoolBatchSwapMsg", in, out, opts...)
  1377  	if err != nil {
  1378  		return nil, err
  1379  	}
  1380  	return out, nil
  1381  }
  1382  
  1383  func (c *queryClient) PoolBatchDepositMsgs(ctx context.Context, in *QueryPoolBatchDepositMsgsRequest, opts ...grpc.CallOption) (*QueryPoolBatchDepositMsgsResponse, error) {
  1384  	out := new(QueryPoolBatchDepositMsgsResponse)
  1385  	err := c.cc.Invoke(ctx, "/tendermint.liquidity.v1beta1.Query/PoolBatchDepositMsgs", in, out, opts...)
  1386  	if err != nil {
  1387  		return nil, err
  1388  	}
  1389  	return out, nil
  1390  }
  1391  
  1392  func (c *queryClient) PoolBatchDepositMsg(ctx context.Context, in *QueryPoolBatchDepositMsgRequest, opts ...grpc.CallOption) (*QueryPoolBatchDepositMsgResponse, error) {
  1393  	out := new(QueryPoolBatchDepositMsgResponse)
  1394  	err := c.cc.Invoke(ctx, "/tendermint.liquidity.v1beta1.Query/PoolBatchDepositMsg", in, out, opts...)
  1395  	if err != nil {
  1396  		return nil, err
  1397  	}
  1398  	return out, nil
  1399  }
  1400  
  1401  func (c *queryClient) PoolBatchWithdrawMsgs(ctx context.Context, in *QueryPoolBatchWithdrawMsgsRequest, opts ...grpc.CallOption) (*QueryPoolBatchWithdrawMsgsResponse, error) {
  1402  	out := new(QueryPoolBatchWithdrawMsgsResponse)
  1403  	err := c.cc.Invoke(ctx, "/tendermint.liquidity.v1beta1.Query/PoolBatchWithdrawMsgs", in, out, opts...)
  1404  	if err != nil {
  1405  		return nil, err
  1406  	}
  1407  	return out, nil
  1408  }
  1409  
  1410  func (c *queryClient) PoolBatchWithdrawMsg(ctx context.Context, in *QueryPoolBatchWithdrawMsgRequest, opts ...grpc.CallOption) (*QueryPoolBatchWithdrawMsgResponse, error) {
  1411  	out := new(QueryPoolBatchWithdrawMsgResponse)
  1412  	err := c.cc.Invoke(ctx, "/tendermint.liquidity.v1beta1.Query/PoolBatchWithdrawMsg", in, out, opts...)
  1413  	if err != nil {
  1414  		return nil, err
  1415  	}
  1416  	return out, nil
  1417  }
  1418  
  1419  func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) {
  1420  	out := new(QueryParamsResponse)
  1421  	err := c.cc.Invoke(ctx, "/tendermint.liquidity.v1beta1.Query/Params", in, out, opts...)
  1422  	if err != nil {
  1423  		return nil, err
  1424  	}
  1425  	return out, nil
  1426  }
  1427  
  1428  // QueryServer is the server API for Query service.
  1429  type QueryServer interface {
  1430  	// Get existing liquidity pools.
  1431  	LiquidityPools(context.Context, *QueryLiquidityPoolsRequest) (*QueryLiquidityPoolsResponse, error)
  1432  	// Get specific liquidity pool.
  1433  	LiquidityPool(context.Context, *QueryLiquidityPoolRequest) (*QueryLiquidityPoolResponse, error)
  1434  	// Get specific liquidity pool corresponding to the pool_coin_denom.
  1435  	LiquidityPoolByPoolCoinDenom(context.Context, *QueryLiquidityPoolByPoolCoinDenomRequest) (*QueryLiquidityPoolResponse, error)
  1436  	// Get specific liquidity pool corresponding to the reserve account.
  1437  	LiquidityPoolByReserveAcc(context.Context, *QueryLiquidityPoolByReserveAccRequest) (*QueryLiquidityPoolResponse, error)
  1438  	// Get the pool's current batch.
  1439  	LiquidityPoolBatch(context.Context, *QueryLiquidityPoolBatchRequest) (*QueryLiquidityPoolBatchResponse, error)
  1440  	// Get all swap messages in the pool's current batch.
  1441  	PoolBatchSwapMsgs(context.Context, *QueryPoolBatchSwapMsgsRequest) (*QueryPoolBatchSwapMsgsResponse, error)
  1442  	// Get a specific swap message in the pool's current batch.
  1443  	PoolBatchSwapMsg(context.Context, *QueryPoolBatchSwapMsgRequest) (*QueryPoolBatchSwapMsgResponse, error)
  1444  	// Get all deposit messages in the pool's current batch.
  1445  	PoolBatchDepositMsgs(context.Context, *QueryPoolBatchDepositMsgsRequest) (*QueryPoolBatchDepositMsgsResponse, error)
  1446  	// Get a specific deposit message in the pool's current batch.
  1447  	PoolBatchDepositMsg(context.Context, *QueryPoolBatchDepositMsgRequest) (*QueryPoolBatchDepositMsgResponse, error)
  1448  	// Get all withdraw messages in the pool's current batch.
  1449  	PoolBatchWithdrawMsgs(context.Context, *QueryPoolBatchWithdrawMsgsRequest) (*QueryPoolBatchWithdrawMsgsResponse, error)
  1450  	// Get a specific withdraw message in the pool's current batch.
  1451  	PoolBatchWithdrawMsg(context.Context, *QueryPoolBatchWithdrawMsgRequest) (*QueryPoolBatchWithdrawMsgResponse, error)
  1452  	// Get all parameters of the liquidity module.
  1453  	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
  1454  }
  1455  
  1456  // UnimplementedQueryServer can be embedded to have forward compatible implementations.
  1457  type UnimplementedQueryServer struct {
  1458  }
  1459  
  1460  func (*UnimplementedQueryServer) LiquidityPools(ctx context.Context, req *QueryLiquidityPoolsRequest) (*QueryLiquidityPoolsResponse, error) {
  1461  	return nil, status.Errorf(codes.Unimplemented, "method LiquidityPools not implemented")
  1462  }
  1463  func (*UnimplementedQueryServer) LiquidityPool(ctx context.Context, req *QueryLiquidityPoolRequest) (*QueryLiquidityPoolResponse, error) {
  1464  	return nil, status.Errorf(codes.Unimplemented, "method LiquidityPool not implemented")
  1465  }
  1466  func (*UnimplementedQueryServer) LiquidityPoolByPoolCoinDenom(ctx context.Context, req *QueryLiquidityPoolByPoolCoinDenomRequest) (*QueryLiquidityPoolResponse, error) {
  1467  	return nil, status.Errorf(codes.Unimplemented, "method LiquidityPoolByPoolCoinDenom not implemented")
  1468  }
  1469  func (*UnimplementedQueryServer) LiquidityPoolByReserveAcc(ctx context.Context, req *QueryLiquidityPoolByReserveAccRequest) (*QueryLiquidityPoolResponse, error) {
  1470  	return nil, status.Errorf(codes.Unimplemented, "method LiquidityPoolByReserveAcc not implemented")
  1471  }
  1472  func (*UnimplementedQueryServer) LiquidityPoolBatch(ctx context.Context, req *QueryLiquidityPoolBatchRequest) (*QueryLiquidityPoolBatchResponse, error) {
  1473  	return nil, status.Errorf(codes.Unimplemented, "method LiquidityPoolBatch not implemented")
  1474  }
  1475  func (*UnimplementedQueryServer) PoolBatchSwapMsgs(ctx context.Context, req *QueryPoolBatchSwapMsgsRequest) (*QueryPoolBatchSwapMsgsResponse, error) {
  1476  	return nil, status.Errorf(codes.Unimplemented, "method PoolBatchSwapMsgs not implemented")
  1477  }
  1478  func (*UnimplementedQueryServer) PoolBatchSwapMsg(ctx context.Context, req *QueryPoolBatchSwapMsgRequest) (*QueryPoolBatchSwapMsgResponse, error) {
  1479  	return nil, status.Errorf(codes.Unimplemented, "method PoolBatchSwapMsg not implemented")
  1480  }
  1481  func (*UnimplementedQueryServer) PoolBatchDepositMsgs(ctx context.Context, req *QueryPoolBatchDepositMsgsRequest) (*QueryPoolBatchDepositMsgsResponse, error) {
  1482  	return nil, status.Errorf(codes.Unimplemented, "method PoolBatchDepositMsgs not implemented")
  1483  }
  1484  func (*UnimplementedQueryServer) PoolBatchDepositMsg(ctx context.Context, req *QueryPoolBatchDepositMsgRequest) (*QueryPoolBatchDepositMsgResponse, error) {
  1485  	return nil, status.Errorf(codes.Unimplemented, "method PoolBatchDepositMsg not implemented")
  1486  }
  1487  func (*UnimplementedQueryServer) PoolBatchWithdrawMsgs(ctx context.Context, req *QueryPoolBatchWithdrawMsgsRequest) (*QueryPoolBatchWithdrawMsgsResponse, error) {
  1488  	return nil, status.Errorf(codes.Unimplemented, "method PoolBatchWithdrawMsgs not implemented")
  1489  }
  1490  func (*UnimplementedQueryServer) PoolBatchWithdrawMsg(ctx context.Context, req *QueryPoolBatchWithdrawMsgRequest) (*QueryPoolBatchWithdrawMsgResponse, error) {
  1491  	return nil, status.Errorf(codes.Unimplemented, "method PoolBatchWithdrawMsg not implemented")
  1492  }
  1493  func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) {
  1494  	return nil, status.Errorf(codes.Unimplemented, "method Params not implemented")
  1495  }
  1496  
  1497  func RegisterQueryServer(s grpc1.Server, srv QueryServer) {
  1498  	s.RegisterService(&_Query_serviceDesc, srv)
  1499  }
  1500  
  1501  func _Query_LiquidityPools_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1502  	in := new(QueryLiquidityPoolsRequest)
  1503  	if err := dec(in); err != nil {
  1504  		return nil, err
  1505  	}
  1506  	if interceptor == nil {
  1507  		return srv.(QueryServer).LiquidityPools(ctx, in)
  1508  	}
  1509  	info := &grpc.UnaryServerInfo{
  1510  		Server:     srv,
  1511  		FullMethod: "/tendermint.liquidity.v1beta1.Query/LiquidityPools",
  1512  	}
  1513  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1514  		return srv.(QueryServer).LiquidityPools(ctx, req.(*QueryLiquidityPoolsRequest))
  1515  	}
  1516  	return interceptor(ctx, in, info, handler)
  1517  }
  1518  
  1519  func _Query_LiquidityPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1520  	in := new(QueryLiquidityPoolRequest)
  1521  	if err := dec(in); err != nil {
  1522  		return nil, err
  1523  	}
  1524  	if interceptor == nil {
  1525  		return srv.(QueryServer).LiquidityPool(ctx, in)
  1526  	}
  1527  	info := &grpc.UnaryServerInfo{
  1528  		Server:     srv,
  1529  		FullMethod: "/tendermint.liquidity.v1beta1.Query/LiquidityPool",
  1530  	}
  1531  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1532  		return srv.(QueryServer).LiquidityPool(ctx, req.(*QueryLiquidityPoolRequest))
  1533  	}
  1534  	return interceptor(ctx, in, info, handler)
  1535  }
  1536  
  1537  func _Query_LiquidityPoolByPoolCoinDenom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1538  	in := new(QueryLiquidityPoolByPoolCoinDenomRequest)
  1539  	if err := dec(in); err != nil {
  1540  		return nil, err
  1541  	}
  1542  	if interceptor == nil {
  1543  		return srv.(QueryServer).LiquidityPoolByPoolCoinDenom(ctx, in)
  1544  	}
  1545  	info := &grpc.UnaryServerInfo{
  1546  		Server:     srv,
  1547  		FullMethod: "/tendermint.liquidity.v1beta1.Query/LiquidityPoolByPoolCoinDenom",
  1548  	}
  1549  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1550  		return srv.(QueryServer).LiquidityPoolByPoolCoinDenom(ctx, req.(*QueryLiquidityPoolByPoolCoinDenomRequest))
  1551  	}
  1552  	return interceptor(ctx, in, info, handler)
  1553  }
  1554  
  1555  func _Query_LiquidityPoolByReserveAcc_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1556  	in := new(QueryLiquidityPoolByReserveAccRequest)
  1557  	if err := dec(in); err != nil {
  1558  		return nil, err
  1559  	}
  1560  	if interceptor == nil {
  1561  		return srv.(QueryServer).LiquidityPoolByReserveAcc(ctx, in)
  1562  	}
  1563  	info := &grpc.UnaryServerInfo{
  1564  		Server:     srv,
  1565  		FullMethod: "/tendermint.liquidity.v1beta1.Query/LiquidityPoolByReserveAcc",
  1566  	}
  1567  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1568  		return srv.(QueryServer).LiquidityPoolByReserveAcc(ctx, req.(*QueryLiquidityPoolByReserveAccRequest))
  1569  	}
  1570  	return interceptor(ctx, in, info, handler)
  1571  }
  1572  
  1573  func _Query_LiquidityPoolBatch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1574  	in := new(QueryLiquidityPoolBatchRequest)
  1575  	if err := dec(in); err != nil {
  1576  		return nil, err
  1577  	}
  1578  	if interceptor == nil {
  1579  		return srv.(QueryServer).LiquidityPoolBatch(ctx, in)
  1580  	}
  1581  	info := &grpc.UnaryServerInfo{
  1582  		Server:     srv,
  1583  		FullMethod: "/tendermint.liquidity.v1beta1.Query/LiquidityPoolBatch",
  1584  	}
  1585  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1586  		return srv.(QueryServer).LiquidityPoolBatch(ctx, req.(*QueryLiquidityPoolBatchRequest))
  1587  	}
  1588  	return interceptor(ctx, in, info, handler)
  1589  }
  1590  
  1591  func _Query_PoolBatchSwapMsgs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1592  	in := new(QueryPoolBatchSwapMsgsRequest)
  1593  	if err := dec(in); err != nil {
  1594  		return nil, err
  1595  	}
  1596  	if interceptor == nil {
  1597  		return srv.(QueryServer).PoolBatchSwapMsgs(ctx, in)
  1598  	}
  1599  	info := &grpc.UnaryServerInfo{
  1600  		Server:     srv,
  1601  		FullMethod: "/tendermint.liquidity.v1beta1.Query/PoolBatchSwapMsgs",
  1602  	}
  1603  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1604  		return srv.(QueryServer).PoolBatchSwapMsgs(ctx, req.(*QueryPoolBatchSwapMsgsRequest))
  1605  	}
  1606  	return interceptor(ctx, in, info, handler)
  1607  }
  1608  
  1609  func _Query_PoolBatchSwapMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1610  	in := new(QueryPoolBatchSwapMsgRequest)
  1611  	if err := dec(in); err != nil {
  1612  		return nil, err
  1613  	}
  1614  	if interceptor == nil {
  1615  		return srv.(QueryServer).PoolBatchSwapMsg(ctx, in)
  1616  	}
  1617  	info := &grpc.UnaryServerInfo{
  1618  		Server:     srv,
  1619  		FullMethod: "/tendermint.liquidity.v1beta1.Query/PoolBatchSwapMsg",
  1620  	}
  1621  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1622  		return srv.(QueryServer).PoolBatchSwapMsg(ctx, req.(*QueryPoolBatchSwapMsgRequest))
  1623  	}
  1624  	return interceptor(ctx, in, info, handler)
  1625  }
  1626  
  1627  func _Query_PoolBatchDepositMsgs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1628  	in := new(QueryPoolBatchDepositMsgsRequest)
  1629  	if err := dec(in); err != nil {
  1630  		return nil, err
  1631  	}
  1632  	if interceptor == nil {
  1633  		return srv.(QueryServer).PoolBatchDepositMsgs(ctx, in)
  1634  	}
  1635  	info := &grpc.UnaryServerInfo{
  1636  		Server:     srv,
  1637  		FullMethod: "/tendermint.liquidity.v1beta1.Query/PoolBatchDepositMsgs",
  1638  	}
  1639  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1640  		return srv.(QueryServer).PoolBatchDepositMsgs(ctx, req.(*QueryPoolBatchDepositMsgsRequest))
  1641  	}
  1642  	return interceptor(ctx, in, info, handler)
  1643  }
  1644  
  1645  func _Query_PoolBatchDepositMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1646  	in := new(QueryPoolBatchDepositMsgRequest)
  1647  	if err := dec(in); err != nil {
  1648  		return nil, err
  1649  	}
  1650  	if interceptor == nil {
  1651  		return srv.(QueryServer).PoolBatchDepositMsg(ctx, in)
  1652  	}
  1653  	info := &grpc.UnaryServerInfo{
  1654  		Server:     srv,
  1655  		FullMethod: "/tendermint.liquidity.v1beta1.Query/PoolBatchDepositMsg",
  1656  	}
  1657  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1658  		return srv.(QueryServer).PoolBatchDepositMsg(ctx, req.(*QueryPoolBatchDepositMsgRequest))
  1659  	}
  1660  	return interceptor(ctx, in, info, handler)
  1661  }
  1662  
  1663  func _Query_PoolBatchWithdrawMsgs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1664  	in := new(QueryPoolBatchWithdrawMsgsRequest)
  1665  	if err := dec(in); err != nil {
  1666  		return nil, err
  1667  	}
  1668  	if interceptor == nil {
  1669  		return srv.(QueryServer).PoolBatchWithdrawMsgs(ctx, in)
  1670  	}
  1671  	info := &grpc.UnaryServerInfo{
  1672  		Server:     srv,
  1673  		FullMethod: "/tendermint.liquidity.v1beta1.Query/PoolBatchWithdrawMsgs",
  1674  	}
  1675  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1676  		return srv.(QueryServer).PoolBatchWithdrawMsgs(ctx, req.(*QueryPoolBatchWithdrawMsgsRequest))
  1677  	}
  1678  	return interceptor(ctx, in, info, handler)
  1679  }
  1680  
  1681  func _Query_PoolBatchWithdrawMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1682  	in := new(QueryPoolBatchWithdrawMsgRequest)
  1683  	if err := dec(in); err != nil {
  1684  		return nil, err
  1685  	}
  1686  	if interceptor == nil {
  1687  		return srv.(QueryServer).PoolBatchWithdrawMsg(ctx, in)
  1688  	}
  1689  	info := &grpc.UnaryServerInfo{
  1690  		Server:     srv,
  1691  		FullMethod: "/tendermint.liquidity.v1beta1.Query/PoolBatchWithdrawMsg",
  1692  	}
  1693  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1694  		return srv.(QueryServer).PoolBatchWithdrawMsg(ctx, req.(*QueryPoolBatchWithdrawMsgRequest))
  1695  	}
  1696  	return interceptor(ctx, in, info, handler)
  1697  }
  1698  
  1699  func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1700  	in := new(QueryParamsRequest)
  1701  	if err := dec(in); err != nil {
  1702  		return nil, err
  1703  	}
  1704  	if interceptor == nil {
  1705  		return srv.(QueryServer).Params(ctx, in)
  1706  	}
  1707  	info := &grpc.UnaryServerInfo{
  1708  		Server:     srv,
  1709  		FullMethod: "/tendermint.liquidity.v1beta1.Query/Params",
  1710  	}
  1711  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1712  		return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest))
  1713  	}
  1714  	return interceptor(ctx, in, info, handler)
  1715  }
  1716  
  1717  var _Query_serviceDesc = grpc.ServiceDesc{
  1718  	ServiceName: "tendermint.liquidity.v1beta1.Query",
  1719  	HandlerType: (*QueryServer)(nil),
  1720  	Methods: []grpc.MethodDesc{
  1721  		{
  1722  			MethodName: "LiquidityPools",
  1723  			Handler:    _Query_LiquidityPools_Handler,
  1724  		},
  1725  		{
  1726  			MethodName: "LiquidityPool",
  1727  			Handler:    _Query_LiquidityPool_Handler,
  1728  		},
  1729  		{
  1730  			MethodName: "LiquidityPoolByPoolCoinDenom",
  1731  			Handler:    _Query_LiquidityPoolByPoolCoinDenom_Handler,
  1732  		},
  1733  		{
  1734  			MethodName: "LiquidityPoolByReserveAcc",
  1735  			Handler:    _Query_LiquidityPoolByReserveAcc_Handler,
  1736  		},
  1737  		{
  1738  			MethodName: "LiquidityPoolBatch",
  1739  			Handler:    _Query_LiquidityPoolBatch_Handler,
  1740  		},
  1741  		{
  1742  			MethodName: "PoolBatchSwapMsgs",
  1743  			Handler:    _Query_PoolBatchSwapMsgs_Handler,
  1744  		},
  1745  		{
  1746  			MethodName: "PoolBatchSwapMsg",
  1747  			Handler:    _Query_PoolBatchSwapMsg_Handler,
  1748  		},
  1749  		{
  1750  			MethodName: "PoolBatchDepositMsgs",
  1751  			Handler:    _Query_PoolBatchDepositMsgs_Handler,
  1752  		},
  1753  		{
  1754  			MethodName: "PoolBatchDepositMsg",
  1755  			Handler:    _Query_PoolBatchDepositMsg_Handler,
  1756  		},
  1757  		{
  1758  			MethodName: "PoolBatchWithdrawMsgs",
  1759  			Handler:    _Query_PoolBatchWithdrawMsgs_Handler,
  1760  		},
  1761  		{
  1762  			MethodName: "PoolBatchWithdrawMsg",
  1763  			Handler:    _Query_PoolBatchWithdrawMsg_Handler,
  1764  		},
  1765  		{
  1766  			MethodName: "Params",
  1767  			Handler:    _Query_Params_Handler,
  1768  		},
  1769  	},
  1770  	Streams:  []grpc.StreamDesc{},
  1771  	Metadata: "tendermint/liquidity/v1beta1/query.proto",
  1772  }
  1773  
  1774  func (m *QueryLiquidityPoolRequest) Marshal() (dAtA []byte, err error) {
  1775  	size := m.Size()
  1776  	dAtA = make([]byte, size)
  1777  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1778  	if err != nil {
  1779  		return nil, err
  1780  	}
  1781  	return dAtA[:n], nil
  1782  }
  1783  
  1784  func (m *QueryLiquidityPoolRequest) MarshalTo(dAtA []byte) (int, error) {
  1785  	size := m.Size()
  1786  	return m.MarshalToSizedBuffer(dAtA[:size])
  1787  }
  1788  
  1789  func (m *QueryLiquidityPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1790  	i := len(dAtA)
  1791  	_ = i
  1792  	var l int
  1793  	_ = l
  1794  	if m.PoolId != 0 {
  1795  		i = encodeVarintQuery(dAtA, i, uint64(m.PoolId))
  1796  		i--
  1797  		dAtA[i] = 0x8
  1798  	}
  1799  	return len(dAtA) - i, nil
  1800  }
  1801  
  1802  func (m *QueryLiquidityPoolResponse) Marshal() (dAtA []byte, err error) {
  1803  	size := m.Size()
  1804  	dAtA = make([]byte, size)
  1805  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1806  	if err != nil {
  1807  		return nil, err
  1808  	}
  1809  	return dAtA[:n], nil
  1810  }
  1811  
  1812  func (m *QueryLiquidityPoolResponse) MarshalTo(dAtA []byte) (int, error) {
  1813  	size := m.Size()
  1814  	return m.MarshalToSizedBuffer(dAtA[:size])
  1815  }
  1816  
  1817  func (m *QueryLiquidityPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1818  	i := len(dAtA)
  1819  	_ = i
  1820  	var l int
  1821  	_ = l
  1822  	{
  1823  		size, err := m.Pool.MarshalToSizedBuffer(dAtA[:i])
  1824  		if err != nil {
  1825  			return 0, err
  1826  		}
  1827  		i -= size
  1828  		i = encodeVarintQuery(dAtA, i, uint64(size))
  1829  	}
  1830  	i--
  1831  	dAtA[i] = 0xa
  1832  	return len(dAtA) - i, nil
  1833  }
  1834  
  1835  func (m *QueryLiquidityPoolByPoolCoinDenomRequest) Marshal() (dAtA []byte, err error) {
  1836  	size := m.Size()
  1837  	dAtA = make([]byte, size)
  1838  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1839  	if err != nil {
  1840  		return nil, err
  1841  	}
  1842  	return dAtA[:n], nil
  1843  }
  1844  
  1845  func (m *QueryLiquidityPoolByPoolCoinDenomRequest) MarshalTo(dAtA []byte) (int, error) {
  1846  	size := m.Size()
  1847  	return m.MarshalToSizedBuffer(dAtA[:size])
  1848  }
  1849  
  1850  func (m *QueryLiquidityPoolByPoolCoinDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1851  	i := len(dAtA)
  1852  	_ = i
  1853  	var l int
  1854  	_ = l
  1855  	if len(m.PoolCoinDenom) > 0 {
  1856  		i -= len(m.PoolCoinDenom)
  1857  		copy(dAtA[i:], m.PoolCoinDenom)
  1858  		i = encodeVarintQuery(dAtA, i, uint64(len(m.PoolCoinDenom)))
  1859  		i--
  1860  		dAtA[i] = 0xa
  1861  	}
  1862  	return len(dAtA) - i, nil
  1863  }
  1864  
  1865  func (m *QueryLiquidityPoolByReserveAccRequest) Marshal() (dAtA []byte, err error) {
  1866  	size := m.Size()
  1867  	dAtA = make([]byte, size)
  1868  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1869  	if err != nil {
  1870  		return nil, err
  1871  	}
  1872  	return dAtA[:n], nil
  1873  }
  1874  
  1875  func (m *QueryLiquidityPoolByReserveAccRequest) MarshalTo(dAtA []byte) (int, error) {
  1876  	size := m.Size()
  1877  	return m.MarshalToSizedBuffer(dAtA[:size])
  1878  }
  1879  
  1880  func (m *QueryLiquidityPoolByReserveAccRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1881  	i := len(dAtA)
  1882  	_ = i
  1883  	var l int
  1884  	_ = l
  1885  	if len(m.ReserveAcc) > 0 {
  1886  		i -= len(m.ReserveAcc)
  1887  		copy(dAtA[i:], m.ReserveAcc)
  1888  		i = encodeVarintQuery(dAtA, i, uint64(len(m.ReserveAcc)))
  1889  		i--
  1890  		dAtA[i] = 0xa
  1891  	}
  1892  	return len(dAtA) - i, nil
  1893  }
  1894  
  1895  func (m *QueryLiquidityPoolBatchRequest) Marshal() (dAtA []byte, err error) {
  1896  	size := m.Size()
  1897  	dAtA = make([]byte, size)
  1898  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1899  	if err != nil {
  1900  		return nil, err
  1901  	}
  1902  	return dAtA[:n], nil
  1903  }
  1904  
  1905  func (m *QueryLiquidityPoolBatchRequest) MarshalTo(dAtA []byte) (int, error) {
  1906  	size := m.Size()
  1907  	return m.MarshalToSizedBuffer(dAtA[:size])
  1908  }
  1909  
  1910  func (m *QueryLiquidityPoolBatchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1911  	i := len(dAtA)
  1912  	_ = i
  1913  	var l int
  1914  	_ = l
  1915  	if m.PoolId != 0 {
  1916  		i = encodeVarintQuery(dAtA, i, uint64(m.PoolId))
  1917  		i--
  1918  		dAtA[i] = 0x8
  1919  	}
  1920  	return len(dAtA) - i, nil
  1921  }
  1922  
  1923  func (m *QueryLiquidityPoolBatchResponse) Marshal() (dAtA []byte, err error) {
  1924  	size := m.Size()
  1925  	dAtA = make([]byte, size)
  1926  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1927  	if err != nil {
  1928  		return nil, err
  1929  	}
  1930  	return dAtA[:n], nil
  1931  }
  1932  
  1933  func (m *QueryLiquidityPoolBatchResponse) MarshalTo(dAtA []byte) (int, error) {
  1934  	size := m.Size()
  1935  	return m.MarshalToSizedBuffer(dAtA[:size])
  1936  }
  1937  
  1938  func (m *QueryLiquidityPoolBatchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1939  	i := len(dAtA)
  1940  	_ = i
  1941  	var l int
  1942  	_ = l
  1943  	{
  1944  		size, err := m.Batch.MarshalToSizedBuffer(dAtA[:i])
  1945  		if err != nil {
  1946  			return 0, err
  1947  		}
  1948  		i -= size
  1949  		i = encodeVarintQuery(dAtA, i, uint64(size))
  1950  	}
  1951  	i--
  1952  	dAtA[i] = 0xa
  1953  	return len(dAtA) - i, nil
  1954  }
  1955  
  1956  func (m *QueryLiquidityPoolsRequest) Marshal() (dAtA []byte, err error) {
  1957  	size := m.Size()
  1958  	dAtA = make([]byte, size)
  1959  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1960  	if err != nil {
  1961  		return nil, err
  1962  	}
  1963  	return dAtA[:n], nil
  1964  }
  1965  
  1966  func (m *QueryLiquidityPoolsRequest) MarshalTo(dAtA []byte) (int, error) {
  1967  	size := m.Size()
  1968  	return m.MarshalToSizedBuffer(dAtA[:size])
  1969  }
  1970  
  1971  func (m *QueryLiquidityPoolsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1972  	i := len(dAtA)
  1973  	_ = i
  1974  	var l int
  1975  	_ = l
  1976  	if m.Pagination != nil {
  1977  		{
  1978  			size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
  1979  			if err != nil {
  1980  				return 0, err
  1981  			}
  1982  			i -= size
  1983  			i = encodeVarintQuery(dAtA, i, uint64(size))
  1984  		}
  1985  		i--
  1986  		dAtA[i] = 0xa
  1987  	}
  1988  	return len(dAtA) - i, nil
  1989  }
  1990  
  1991  func (m *QueryLiquidityPoolsResponse) Marshal() (dAtA []byte, err error) {
  1992  	size := m.Size()
  1993  	dAtA = make([]byte, size)
  1994  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1995  	if err != nil {
  1996  		return nil, err
  1997  	}
  1998  	return dAtA[:n], nil
  1999  }
  2000  
  2001  func (m *QueryLiquidityPoolsResponse) MarshalTo(dAtA []byte) (int, error) {
  2002  	size := m.Size()
  2003  	return m.MarshalToSizedBuffer(dAtA[:size])
  2004  }
  2005  
  2006  func (m *QueryLiquidityPoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2007  	i := len(dAtA)
  2008  	_ = i
  2009  	var l int
  2010  	_ = l
  2011  	if m.Pagination != nil {
  2012  		{
  2013  			size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
  2014  			if err != nil {
  2015  				return 0, err
  2016  			}
  2017  			i -= size
  2018  			i = encodeVarintQuery(dAtA, i, uint64(size))
  2019  		}
  2020  		i--
  2021  		dAtA[i] = 0x12
  2022  	}
  2023  	if len(m.Pools) > 0 {
  2024  		for iNdEx := len(m.Pools) - 1; iNdEx >= 0; iNdEx-- {
  2025  			{
  2026  				size, err := m.Pools[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  2027  				if err != nil {
  2028  					return 0, err
  2029  				}
  2030  				i -= size
  2031  				i = encodeVarintQuery(dAtA, i, uint64(size))
  2032  			}
  2033  			i--
  2034  			dAtA[i] = 0xa
  2035  		}
  2036  	}
  2037  	return len(dAtA) - i, nil
  2038  }
  2039  
  2040  func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) {
  2041  	size := m.Size()
  2042  	dAtA = make([]byte, size)
  2043  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2044  	if err != nil {
  2045  		return nil, err
  2046  	}
  2047  	return dAtA[:n], nil
  2048  }
  2049  
  2050  func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) {
  2051  	size := m.Size()
  2052  	return m.MarshalToSizedBuffer(dAtA[:size])
  2053  }
  2054  
  2055  func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2056  	i := len(dAtA)
  2057  	_ = i
  2058  	var l int
  2059  	_ = l
  2060  	return len(dAtA) - i, nil
  2061  }
  2062  
  2063  func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) {
  2064  	size := m.Size()
  2065  	dAtA = make([]byte, size)
  2066  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2067  	if err != nil {
  2068  		return nil, err
  2069  	}
  2070  	return dAtA[:n], nil
  2071  }
  2072  
  2073  func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) {
  2074  	size := m.Size()
  2075  	return m.MarshalToSizedBuffer(dAtA[:size])
  2076  }
  2077  
  2078  func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2079  	i := len(dAtA)
  2080  	_ = i
  2081  	var l int
  2082  	_ = l
  2083  	{
  2084  		size, err := m.Params.MarshalToSizedBuffer(dAtA[:i])
  2085  		if err != nil {
  2086  			return 0, err
  2087  		}
  2088  		i -= size
  2089  		i = encodeVarintQuery(dAtA, i, uint64(size))
  2090  	}
  2091  	i--
  2092  	dAtA[i] = 0xa
  2093  	return len(dAtA) - i, nil
  2094  }
  2095  
  2096  func (m *QueryPoolBatchSwapMsgsRequest) Marshal() (dAtA []byte, err error) {
  2097  	size := m.Size()
  2098  	dAtA = make([]byte, size)
  2099  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2100  	if err != nil {
  2101  		return nil, err
  2102  	}
  2103  	return dAtA[:n], nil
  2104  }
  2105  
  2106  func (m *QueryPoolBatchSwapMsgsRequest) MarshalTo(dAtA []byte) (int, error) {
  2107  	size := m.Size()
  2108  	return m.MarshalToSizedBuffer(dAtA[:size])
  2109  }
  2110  
  2111  func (m *QueryPoolBatchSwapMsgsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2112  	i := len(dAtA)
  2113  	_ = i
  2114  	var l int
  2115  	_ = l
  2116  	if m.Pagination != nil {
  2117  		{
  2118  			size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
  2119  			if err != nil {
  2120  				return 0, err
  2121  			}
  2122  			i -= size
  2123  			i = encodeVarintQuery(dAtA, i, uint64(size))
  2124  		}
  2125  		i--
  2126  		dAtA[i] = 0x12
  2127  	}
  2128  	if m.PoolId != 0 {
  2129  		i = encodeVarintQuery(dAtA, i, uint64(m.PoolId))
  2130  		i--
  2131  		dAtA[i] = 0x8
  2132  	}
  2133  	return len(dAtA) - i, nil
  2134  }
  2135  
  2136  func (m *QueryPoolBatchSwapMsgRequest) Marshal() (dAtA []byte, err error) {
  2137  	size := m.Size()
  2138  	dAtA = make([]byte, size)
  2139  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2140  	if err != nil {
  2141  		return nil, err
  2142  	}
  2143  	return dAtA[:n], nil
  2144  }
  2145  
  2146  func (m *QueryPoolBatchSwapMsgRequest) MarshalTo(dAtA []byte) (int, error) {
  2147  	size := m.Size()
  2148  	return m.MarshalToSizedBuffer(dAtA[:size])
  2149  }
  2150  
  2151  func (m *QueryPoolBatchSwapMsgRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2152  	i := len(dAtA)
  2153  	_ = i
  2154  	var l int
  2155  	_ = l
  2156  	if m.MsgIndex != 0 {
  2157  		i = encodeVarintQuery(dAtA, i, uint64(m.MsgIndex))
  2158  		i--
  2159  		dAtA[i] = 0x10
  2160  	}
  2161  	if m.PoolId != 0 {
  2162  		i = encodeVarintQuery(dAtA, i, uint64(m.PoolId))
  2163  		i--
  2164  		dAtA[i] = 0x8
  2165  	}
  2166  	return len(dAtA) - i, nil
  2167  }
  2168  
  2169  func (m *QueryPoolBatchSwapMsgsResponse) Marshal() (dAtA []byte, err error) {
  2170  	size := m.Size()
  2171  	dAtA = make([]byte, size)
  2172  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2173  	if err != nil {
  2174  		return nil, err
  2175  	}
  2176  	return dAtA[:n], nil
  2177  }
  2178  
  2179  func (m *QueryPoolBatchSwapMsgsResponse) MarshalTo(dAtA []byte) (int, error) {
  2180  	size := m.Size()
  2181  	return m.MarshalToSizedBuffer(dAtA[:size])
  2182  }
  2183  
  2184  func (m *QueryPoolBatchSwapMsgsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2185  	i := len(dAtA)
  2186  	_ = i
  2187  	var l int
  2188  	_ = l
  2189  	if m.Pagination != nil {
  2190  		{
  2191  			size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
  2192  			if err != nil {
  2193  				return 0, err
  2194  			}
  2195  			i -= size
  2196  			i = encodeVarintQuery(dAtA, i, uint64(size))
  2197  		}
  2198  		i--
  2199  		dAtA[i] = 0x12
  2200  	}
  2201  	if len(m.Swaps) > 0 {
  2202  		for iNdEx := len(m.Swaps) - 1; iNdEx >= 0; iNdEx-- {
  2203  			{
  2204  				size, err := m.Swaps[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  2205  				if err != nil {
  2206  					return 0, err
  2207  				}
  2208  				i -= size
  2209  				i = encodeVarintQuery(dAtA, i, uint64(size))
  2210  			}
  2211  			i--
  2212  			dAtA[i] = 0xa
  2213  		}
  2214  	}
  2215  	return len(dAtA) - i, nil
  2216  }
  2217  
  2218  func (m *QueryPoolBatchSwapMsgResponse) Marshal() (dAtA []byte, err error) {
  2219  	size := m.Size()
  2220  	dAtA = make([]byte, size)
  2221  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2222  	if err != nil {
  2223  		return nil, err
  2224  	}
  2225  	return dAtA[:n], nil
  2226  }
  2227  
  2228  func (m *QueryPoolBatchSwapMsgResponse) MarshalTo(dAtA []byte) (int, error) {
  2229  	size := m.Size()
  2230  	return m.MarshalToSizedBuffer(dAtA[:size])
  2231  }
  2232  
  2233  func (m *QueryPoolBatchSwapMsgResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2234  	i := len(dAtA)
  2235  	_ = i
  2236  	var l int
  2237  	_ = l
  2238  	{
  2239  		size, err := m.Swap.MarshalToSizedBuffer(dAtA[:i])
  2240  		if err != nil {
  2241  			return 0, err
  2242  		}
  2243  		i -= size
  2244  		i = encodeVarintQuery(dAtA, i, uint64(size))
  2245  	}
  2246  	i--
  2247  	dAtA[i] = 0xa
  2248  	return len(dAtA) - i, nil
  2249  }
  2250  
  2251  func (m *QueryPoolBatchDepositMsgsRequest) Marshal() (dAtA []byte, err error) {
  2252  	size := m.Size()
  2253  	dAtA = make([]byte, size)
  2254  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2255  	if err != nil {
  2256  		return nil, err
  2257  	}
  2258  	return dAtA[:n], nil
  2259  }
  2260  
  2261  func (m *QueryPoolBatchDepositMsgsRequest) MarshalTo(dAtA []byte) (int, error) {
  2262  	size := m.Size()
  2263  	return m.MarshalToSizedBuffer(dAtA[:size])
  2264  }
  2265  
  2266  func (m *QueryPoolBatchDepositMsgsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2267  	i := len(dAtA)
  2268  	_ = i
  2269  	var l int
  2270  	_ = l
  2271  	if m.Pagination != nil {
  2272  		{
  2273  			size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
  2274  			if err != nil {
  2275  				return 0, err
  2276  			}
  2277  			i -= size
  2278  			i = encodeVarintQuery(dAtA, i, uint64(size))
  2279  		}
  2280  		i--
  2281  		dAtA[i] = 0x12
  2282  	}
  2283  	if m.PoolId != 0 {
  2284  		i = encodeVarintQuery(dAtA, i, uint64(m.PoolId))
  2285  		i--
  2286  		dAtA[i] = 0x8
  2287  	}
  2288  	return len(dAtA) - i, nil
  2289  }
  2290  
  2291  func (m *QueryPoolBatchDepositMsgRequest) Marshal() (dAtA []byte, err error) {
  2292  	size := m.Size()
  2293  	dAtA = make([]byte, size)
  2294  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2295  	if err != nil {
  2296  		return nil, err
  2297  	}
  2298  	return dAtA[:n], nil
  2299  }
  2300  
  2301  func (m *QueryPoolBatchDepositMsgRequest) MarshalTo(dAtA []byte) (int, error) {
  2302  	size := m.Size()
  2303  	return m.MarshalToSizedBuffer(dAtA[:size])
  2304  }
  2305  
  2306  func (m *QueryPoolBatchDepositMsgRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2307  	i := len(dAtA)
  2308  	_ = i
  2309  	var l int
  2310  	_ = l
  2311  	if m.MsgIndex != 0 {
  2312  		i = encodeVarintQuery(dAtA, i, uint64(m.MsgIndex))
  2313  		i--
  2314  		dAtA[i] = 0x10
  2315  	}
  2316  	if m.PoolId != 0 {
  2317  		i = encodeVarintQuery(dAtA, i, uint64(m.PoolId))
  2318  		i--
  2319  		dAtA[i] = 0x8
  2320  	}
  2321  	return len(dAtA) - i, nil
  2322  }
  2323  
  2324  func (m *QueryPoolBatchDepositMsgsResponse) Marshal() (dAtA []byte, err error) {
  2325  	size := m.Size()
  2326  	dAtA = make([]byte, size)
  2327  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2328  	if err != nil {
  2329  		return nil, err
  2330  	}
  2331  	return dAtA[:n], nil
  2332  }
  2333  
  2334  func (m *QueryPoolBatchDepositMsgsResponse) MarshalTo(dAtA []byte) (int, error) {
  2335  	size := m.Size()
  2336  	return m.MarshalToSizedBuffer(dAtA[:size])
  2337  }
  2338  
  2339  func (m *QueryPoolBatchDepositMsgsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2340  	i := len(dAtA)
  2341  	_ = i
  2342  	var l int
  2343  	_ = l
  2344  	if m.Pagination != nil {
  2345  		{
  2346  			size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
  2347  			if err != nil {
  2348  				return 0, err
  2349  			}
  2350  			i -= size
  2351  			i = encodeVarintQuery(dAtA, i, uint64(size))
  2352  		}
  2353  		i--
  2354  		dAtA[i] = 0x12
  2355  	}
  2356  	if len(m.Deposits) > 0 {
  2357  		for iNdEx := len(m.Deposits) - 1; iNdEx >= 0; iNdEx-- {
  2358  			{
  2359  				size, err := m.Deposits[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  2360  				if err != nil {
  2361  					return 0, err
  2362  				}
  2363  				i -= size
  2364  				i = encodeVarintQuery(dAtA, i, uint64(size))
  2365  			}
  2366  			i--
  2367  			dAtA[i] = 0xa
  2368  		}
  2369  	}
  2370  	return len(dAtA) - i, nil
  2371  }
  2372  
  2373  func (m *QueryPoolBatchDepositMsgResponse) Marshal() (dAtA []byte, err error) {
  2374  	size := m.Size()
  2375  	dAtA = make([]byte, size)
  2376  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2377  	if err != nil {
  2378  		return nil, err
  2379  	}
  2380  	return dAtA[:n], nil
  2381  }
  2382  
  2383  func (m *QueryPoolBatchDepositMsgResponse) MarshalTo(dAtA []byte) (int, error) {
  2384  	size := m.Size()
  2385  	return m.MarshalToSizedBuffer(dAtA[:size])
  2386  }
  2387  
  2388  func (m *QueryPoolBatchDepositMsgResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2389  	i := len(dAtA)
  2390  	_ = i
  2391  	var l int
  2392  	_ = l
  2393  	{
  2394  		size, err := m.Deposit.MarshalToSizedBuffer(dAtA[:i])
  2395  		if err != nil {
  2396  			return 0, err
  2397  		}
  2398  		i -= size
  2399  		i = encodeVarintQuery(dAtA, i, uint64(size))
  2400  	}
  2401  	i--
  2402  	dAtA[i] = 0xa
  2403  	return len(dAtA) - i, nil
  2404  }
  2405  
  2406  func (m *QueryPoolBatchWithdrawMsgsRequest) Marshal() (dAtA []byte, err error) {
  2407  	size := m.Size()
  2408  	dAtA = make([]byte, size)
  2409  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2410  	if err != nil {
  2411  		return nil, err
  2412  	}
  2413  	return dAtA[:n], nil
  2414  }
  2415  
  2416  func (m *QueryPoolBatchWithdrawMsgsRequest) MarshalTo(dAtA []byte) (int, error) {
  2417  	size := m.Size()
  2418  	return m.MarshalToSizedBuffer(dAtA[:size])
  2419  }
  2420  
  2421  func (m *QueryPoolBatchWithdrawMsgsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2422  	i := len(dAtA)
  2423  	_ = i
  2424  	var l int
  2425  	_ = l
  2426  	if m.Pagination != nil {
  2427  		{
  2428  			size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
  2429  			if err != nil {
  2430  				return 0, err
  2431  			}
  2432  			i -= size
  2433  			i = encodeVarintQuery(dAtA, i, uint64(size))
  2434  		}
  2435  		i--
  2436  		dAtA[i] = 0x12
  2437  	}
  2438  	if m.PoolId != 0 {
  2439  		i = encodeVarintQuery(dAtA, i, uint64(m.PoolId))
  2440  		i--
  2441  		dAtA[i] = 0x8
  2442  	}
  2443  	return len(dAtA) - i, nil
  2444  }
  2445  
  2446  func (m *QueryPoolBatchWithdrawMsgRequest) Marshal() (dAtA []byte, err error) {
  2447  	size := m.Size()
  2448  	dAtA = make([]byte, size)
  2449  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2450  	if err != nil {
  2451  		return nil, err
  2452  	}
  2453  	return dAtA[:n], nil
  2454  }
  2455  
  2456  func (m *QueryPoolBatchWithdrawMsgRequest) MarshalTo(dAtA []byte) (int, error) {
  2457  	size := m.Size()
  2458  	return m.MarshalToSizedBuffer(dAtA[:size])
  2459  }
  2460  
  2461  func (m *QueryPoolBatchWithdrawMsgRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2462  	i := len(dAtA)
  2463  	_ = i
  2464  	var l int
  2465  	_ = l
  2466  	if m.MsgIndex != 0 {
  2467  		i = encodeVarintQuery(dAtA, i, uint64(m.MsgIndex))
  2468  		i--
  2469  		dAtA[i] = 0x10
  2470  	}
  2471  	if m.PoolId != 0 {
  2472  		i = encodeVarintQuery(dAtA, i, uint64(m.PoolId))
  2473  		i--
  2474  		dAtA[i] = 0x8
  2475  	}
  2476  	return len(dAtA) - i, nil
  2477  }
  2478  
  2479  func (m *QueryPoolBatchWithdrawMsgsResponse) Marshal() (dAtA []byte, err error) {
  2480  	size := m.Size()
  2481  	dAtA = make([]byte, size)
  2482  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2483  	if err != nil {
  2484  		return nil, err
  2485  	}
  2486  	return dAtA[:n], nil
  2487  }
  2488  
  2489  func (m *QueryPoolBatchWithdrawMsgsResponse) MarshalTo(dAtA []byte) (int, error) {
  2490  	size := m.Size()
  2491  	return m.MarshalToSizedBuffer(dAtA[:size])
  2492  }
  2493  
  2494  func (m *QueryPoolBatchWithdrawMsgsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2495  	i := len(dAtA)
  2496  	_ = i
  2497  	var l int
  2498  	_ = l
  2499  	if m.Pagination != nil {
  2500  		{
  2501  			size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
  2502  			if err != nil {
  2503  				return 0, err
  2504  			}
  2505  			i -= size
  2506  			i = encodeVarintQuery(dAtA, i, uint64(size))
  2507  		}
  2508  		i--
  2509  		dAtA[i] = 0x12
  2510  	}
  2511  	if len(m.Withdraws) > 0 {
  2512  		for iNdEx := len(m.Withdraws) - 1; iNdEx >= 0; iNdEx-- {
  2513  			{
  2514  				size, err := m.Withdraws[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  2515  				if err != nil {
  2516  					return 0, err
  2517  				}
  2518  				i -= size
  2519  				i = encodeVarintQuery(dAtA, i, uint64(size))
  2520  			}
  2521  			i--
  2522  			dAtA[i] = 0xa
  2523  		}
  2524  	}
  2525  	return len(dAtA) - i, nil
  2526  }
  2527  
  2528  func (m *QueryPoolBatchWithdrawMsgResponse) Marshal() (dAtA []byte, err error) {
  2529  	size := m.Size()
  2530  	dAtA = make([]byte, size)
  2531  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2532  	if err != nil {
  2533  		return nil, err
  2534  	}
  2535  	return dAtA[:n], nil
  2536  }
  2537  
  2538  func (m *QueryPoolBatchWithdrawMsgResponse) MarshalTo(dAtA []byte) (int, error) {
  2539  	size := m.Size()
  2540  	return m.MarshalToSizedBuffer(dAtA[:size])
  2541  }
  2542  
  2543  func (m *QueryPoolBatchWithdrawMsgResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2544  	i := len(dAtA)
  2545  	_ = i
  2546  	var l int
  2547  	_ = l
  2548  	{
  2549  		size, err := m.Withdraw.MarshalToSizedBuffer(dAtA[:i])
  2550  		if err != nil {
  2551  			return 0, err
  2552  		}
  2553  		i -= size
  2554  		i = encodeVarintQuery(dAtA, i, uint64(size))
  2555  	}
  2556  	i--
  2557  	dAtA[i] = 0xa
  2558  	return len(dAtA) - i, nil
  2559  }
  2560  
  2561  func encodeVarintQuery(dAtA []byte, offset int, v uint64) int {
  2562  	offset -= sovQuery(v)
  2563  	base := offset
  2564  	for v >= 1<<7 {
  2565  		dAtA[offset] = uint8(v&0x7f | 0x80)
  2566  		v >>= 7
  2567  		offset++
  2568  	}
  2569  	dAtA[offset] = uint8(v)
  2570  	return base
  2571  }
  2572  func (m *QueryLiquidityPoolRequest) Size() (n int) {
  2573  	if m == nil {
  2574  		return 0
  2575  	}
  2576  	var l int
  2577  	_ = l
  2578  	if m.PoolId != 0 {
  2579  		n += 1 + sovQuery(uint64(m.PoolId))
  2580  	}
  2581  	return n
  2582  }
  2583  
  2584  func (m *QueryLiquidityPoolResponse) Size() (n int) {
  2585  	if m == nil {
  2586  		return 0
  2587  	}
  2588  	var l int
  2589  	_ = l
  2590  	l = m.Pool.Size()
  2591  	n += 1 + l + sovQuery(uint64(l))
  2592  	return n
  2593  }
  2594  
  2595  func (m *QueryLiquidityPoolByPoolCoinDenomRequest) Size() (n int) {
  2596  	if m == nil {
  2597  		return 0
  2598  	}
  2599  	var l int
  2600  	_ = l
  2601  	l = len(m.PoolCoinDenom)
  2602  	if l > 0 {
  2603  		n += 1 + l + sovQuery(uint64(l))
  2604  	}
  2605  	return n
  2606  }
  2607  
  2608  func (m *QueryLiquidityPoolByReserveAccRequest) Size() (n int) {
  2609  	if m == nil {
  2610  		return 0
  2611  	}
  2612  	var l int
  2613  	_ = l
  2614  	l = len(m.ReserveAcc)
  2615  	if l > 0 {
  2616  		n += 1 + l + sovQuery(uint64(l))
  2617  	}
  2618  	return n
  2619  }
  2620  
  2621  func (m *QueryLiquidityPoolBatchRequest) Size() (n int) {
  2622  	if m == nil {
  2623  		return 0
  2624  	}
  2625  	var l int
  2626  	_ = l
  2627  	if m.PoolId != 0 {
  2628  		n += 1 + sovQuery(uint64(m.PoolId))
  2629  	}
  2630  	return n
  2631  }
  2632  
  2633  func (m *QueryLiquidityPoolBatchResponse) Size() (n int) {
  2634  	if m == nil {
  2635  		return 0
  2636  	}
  2637  	var l int
  2638  	_ = l
  2639  	l = m.Batch.Size()
  2640  	n += 1 + l + sovQuery(uint64(l))
  2641  	return n
  2642  }
  2643  
  2644  func (m *QueryLiquidityPoolsRequest) Size() (n int) {
  2645  	if m == nil {
  2646  		return 0
  2647  	}
  2648  	var l int
  2649  	_ = l
  2650  	if m.Pagination != nil {
  2651  		l = m.Pagination.Size()
  2652  		n += 1 + l + sovQuery(uint64(l))
  2653  	}
  2654  	return n
  2655  }
  2656  
  2657  func (m *QueryLiquidityPoolsResponse) Size() (n int) {
  2658  	if m == nil {
  2659  		return 0
  2660  	}
  2661  	var l int
  2662  	_ = l
  2663  	if len(m.Pools) > 0 {
  2664  		for _, e := range m.Pools {
  2665  			l = e.Size()
  2666  			n += 1 + l + sovQuery(uint64(l))
  2667  		}
  2668  	}
  2669  	if m.Pagination != nil {
  2670  		l = m.Pagination.Size()
  2671  		n += 1 + l + sovQuery(uint64(l))
  2672  	}
  2673  	return n
  2674  }
  2675  
  2676  func (m *QueryParamsRequest) Size() (n int) {
  2677  	if m == nil {
  2678  		return 0
  2679  	}
  2680  	var l int
  2681  	_ = l
  2682  	return n
  2683  }
  2684  
  2685  func (m *QueryParamsResponse) Size() (n int) {
  2686  	if m == nil {
  2687  		return 0
  2688  	}
  2689  	var l int
  2690  	_ = l
  2691  	l = m.Params.Size()
  2692  	n += 1 + l + sovQuery(uint64(l))
  2693  	return n
  2694  }
  2695  
  2696  func (m *QueryPoolBatchSwapMsgsRequest) Size() (n int) {
  2697  	if m == nil {
  2698  		return 0
  2699  	}
  2700  	var l int
  2701  	_ = l
  2702  	if m.PoolId != 0 {
  2703  		n += 1 + sovQuery(uint64(m.PoolId))
  2704  	}
  2705  	if m.Pagination != nil {
  2706  		l = m.Pagination.Size()
  2707  		n += 1 + l + sovQuery(uint64(l))
  2708  	}
  2709  	return n
  2710  }
  2711  
  2712  func (m *QueryPoolBatchSwapMsgRequest) Size() (n int) {
  2713  	if m == nil {
  2714  		return 0
  2715  	}
  2716  	var l int
  2717  	_ = l
  2718  	if m.PoolId != 0 {
  2719  		n += 1 + sovQuery(uint64(m.PoolId))
  2720  	}
  2721  	if m.MsgIndex != 0 {
  2722  		n += 1 + sovQuery(uint64(m.MsgIndex))
  2723  	}
  2724  	return n
  2725  }
  2726  
  2727  func (m *QueryPoolBatchSwapMsgsResponse) Size() (n int) {
  2728  	if m == nil {
  2729  		return 0
  2730  	}
  2731  	var l int
  2732  	_ = l
  2733  	if len(m.Swaps) > 0 {
  2734  		for _, e := range m.Swaps {
  2735  			l = e.Size()
  2736  			n += 1 + l + sovQuery(uint64(l))
  2737  		}
  2738  	}
  2739  	if m.Pagination != nil {
  2740  		l = m.Pagination.Size()
  2741  		n += 1 + l + sovQuery(uint64(l))
  2742  	}
  2743  	return n
  2744  }
  2745  
  2746  func (m *QueryPoolBatchSwapMsgResponse) Size() (n int) {
  2747  	if m == nil {
  2748  		return 0
  2749  	}
  2750  	var l int
  2751  	_ = l
  2752  	l = m.Swap.Size()
  2753  	n += 1 + l + sovQuery(uint64(l))
  2754  	return n
  2755  }
  2756  
  2757  func (m *QueryPoolBatchDepositMsgsRequest) Size() (n int) {
  2758  	if m == nil {
  2759  		return 0
  2760  	}
  2761  	var l int
  2762  	_ = l
  2763  	if m.PoolId != 0 {
  2764  		n += 1 + sovQuery(uint64(m.PoolId))
  2765  	}
  2766  	if m.Pagination != nil {
  2767  		l = m.Pagination.Size()
  2768  		n += 1 + l + sovQuery(uint64(l))
  2769  	}
  2770  	return n
  2771  }
  2772  
  2773  func (m *QueryPoolBatchDepositMsgRequest) Size() (n int) {
  2774  	if m == nil {
  2775  		return 0
  2776  	}
  2777  	var l int
  2778  	_ = l
  2779  	if m.PoolId != 0 {
  2780  		n += 1 + sovQuery(uint64(m.PoolId))
  2781  	}
  2782  	if m.MsgIndex != 0 {
  2783  		n += 1 + sovQuery(uint64(m.MsgIndex))
  2784  	}
  2785  	return n
  2786  }
  2787  
  2788  func (m *QueryPoolBatchDepositMsgsResponse) Size() (n int) {
  2789  	if m == nil {
  2790  		return 0
  2791  	}
  2792  	var l int
  2793  	_ = l
  2794  	if len(m.Deposits) > 0 {
  2795  		for _, e := range m.Deposits {
  2796  			l = e.Size()
  2797  			n += 1 + l + sovQuery(uint64(l))
  2798  		}
  2799  	}
  2800  	if m.Pagination != nil {
  2801  		l = m.Pagination.Size()
  2802  		n += 1 + l + sovQuery(uint64(l))
  2803  	}
  2804  	return n
  2805  }
  2806  
  2807  func (m *QueryPoolBatchDepositMsgResponse) Size() (n int) {
  2808  	if m == nil {
  2809  		return 0
  2810  	}
  2811  	var l int
  2812  	_ = l
  2813  	l = m.Deposit.Size()
  2814  	n += 1 + l + sovQuery(uint64(l))
  2815  	return n
  2816  }
  2817  
  2818  func (m *QueryPoolBatchWithdrawMsgsRequest) Size() (n int) {
  2819  	if m == nil {
  2820  		return 0
  2821  	}
  2822  	var l int
  2823  	_ = l
  2824  	if m.PoolId != 0 {
  2825  		n += 1 + sovQuery(uint64(m.PoolId))
  2826  	}
  2827  	if m.Pagination != nil {
  2828  		l = m.Pagination.Size()
  2829  		n += 1 + l + sovQuery(uint64(l))
  2830  	}
  2831  	return n
  2832  }
  2833  
  2834  func (m *QueryPoolBatchWithdrawMsgRequest) Size() (n int) {
  2835  	if m == nil {
  2836  		return 0
  2837  	}
  2838  	var l int
  2839  	_ = l
  2840  	if m.PoolId != 0 {
  2841  		n += 1 + sovQuery(uint64(m.PoolId))
  2842  	}
  2843  	if m.MsgIndex != 0 {
  2844  		n += 1 + sovQuery(uint64(m.MsgIndex))
  2845  	}
  2846  	return n
  2847  }
  2848  
  2849  func (m *QueryPoolBatchWithdrawMsgsResponse) Size() (n int) {
  2850  	if m == nil {
  2851  		return 0
  2852  	}
  2853  	var l int
  2854  	_ = l
  2855  	if len(m.Withdraws) > 0 {
  2856  		for _, e := range m.Withdraws {
  2857  			l = e.Size()
  2858  			n += 1 + l + sovQuery(uint64(l))
  2859  		}
  2860  	}
  2861  	if m.Pagination != nil {
  2862  		l = m.Pagination.Size()
  2863  		n += 1 + l + sovQuery(uint64(l))
  2864  	}
  2865  	return n
  2866  }
  2867  
  2868  func (m *QueryPoolBatchWithdrawMsgResponse) Size() (n int) {
  2869  	if m == nil {
  2870  		return 0
  2871  	}
  2872  	var l int
  2873  	_ = l
  2874  	l = m.Withdraw.Size()
  2875  	n += 1 + l + sovQuery(uint64(l))
  2876  	return n
  2877  }
  2878  
  2879  func sovQuery(x uint64) (n int) {
  2880  	return (math_bits.Len64(x|1) + 6) / 7
  2881  }
  2882  func sozQuery(x uint64) (n int) {
  2883  	return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  2884  }
  2885  func (m *QueryLiquidityPoolRequest) Unmarshal(dAtA []byte) error {
  2886  	l := len(dAtA)
  2887  	iNdEx := 0
  2888  	for iNdEx < l {
  2889  		preIndex := iNdEx
  2890  		var wire uint64
  2891  		for shift := uint(0); ; shift += 7 {
  2892  			if shift >= 64 {
  2893  				return ErrIntOverflowQuery
  2894  			}
  2895  			if iNdEx >= l {
  2896  				return io.ErrUnexpectedEOF
  2897  			}
  2898  			b := dAtA[iNdEx]
  2899  			iNdEx++
  2900  			wire |= uint64(b&0x7F) << shift
  2901  			if b < 0x80 {
  2902  				break
  2903  			}
  2904  		}
  2905  		fieldNum := int32(wire >> 3)
  2906  		wireType := int(wire & 0x7)
  2907  		if wireType == 4 {
  2908  			return fmt.Errorf("proto: QueryLiquidityPoolRequest: wiretype end group for non-group")
  2909  		}
  2910  		if fieldNum <= 0 {
  2911  			return fmt.Errorf("proto: QueryLiquidityPoolRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  2912  		}
  2913  		switch fieldNum {
  2914  		case 1:
  2915  			if wireType != 0 {
  2916  				return fmt.Errorf("proto: wrong wireType = %d for field PoolId", wireType)
  2917  			}
  2918  			m.PoolId = 0
  2919  			for shift := uint(0); ; shift += 7 {
  2920  				if shift >= 64 {
  2921  					return ErrIntOverflowQuery
  2922  				}
  2923  				if iNdEx >= l {
  2924  					return io.ErrUnexpectedEOF
  2925  				}
  2926  				b := dAtA[iNdEx]
  2927  				iNdEx++
  2928  				m.PoolId |= uint64(b&0x7F) << shift
  2929  				if b < 0x80 {
  2930  					break
  2931  				}
  2932  			}
  2933  		default:
  2934  			iNdEx = preIndex
  2935  			skippy, err := skipQuery(dAtA[iNdEx:])
  2936  			if err != nil {
  2937  				return err
  2938  			}
  2939  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2940  				return ErrInvalidLengthQuery
  2941  			}
  2942  			if (iNdEx + skippy) > l {
  2943  				return io.ErrUnexpectedEOF
  2944  			}
  2945  			iNdEx += skippy
  2946  		}
  2947  	}
  2948  
  2949  	if iNdEx > l {
  2950  		return io.ErrUnexpectedEOF
  2951  	}
  2952  	return nil
  2953  }
  2954  func (m *QueryLiquidityPoolResponse) Unmarshal(dAtA []byte) error {
  2955  	l := len(dAtA)
  2956  	iNdEx := 0
  2957  	for iNdEx < l {
  2958  		preIndex := iNdEx
  2959  		var wire uint64
  2960  		for shift := uint(0); ; shift += 7 {
  2961  			if shift >= 64 {
  2962  				return ErrIntOverflowQuery
  2963  			}
  2964  			if iNdEx >= l {
  2965  				return io.ErrUnexpectedEOF
  2966  			}
  2967  			b := dAtA[iNdEx]
  2968  			iNdEx++
  2969  			wire |= uint64(b&0x7F) << shift
  2970  			if b < 0x80 {
  2971  				break
  2972  			}
  2973  		}
  2974  		fieldNum := int32(wire >> 3)
  2975  		wireType := int(wire & 0x7)
  2976  		if wireType == 4 {
  2977  			return fmt.Errorf("proto: QueryLiquidityPoolResponse: wiretype end group for non-group")
  2978  		}
  2979  		if fieldNum <= 0 {
  2980  			return fmt.Errorf("proto: QueryLiquidityPoolResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  2981  		}
  2982  		switch fieldNum {
  2983  		case 1:
  2984  			if wireType != 2 {
  2985  				return fmt.Errorf("proto: wrong wireType = %d for field Pool", wireType)
  2986  			}
  2987  			var msglen int
  2988  			for shift := uint(0); ; shift += 7 {
  2989  				if shift >= 64 {
  2990  					return ErrIntOverflowQuery
  2991  				}
  2992  				if iNdEx >= l {
  2993  					return io.ErrUnexpectedEOF
  2994  				}
  2995  				b := dAtA[iNdEx]
  2996  				iNdEx++
  2997  				msglen |= int(b&0x7F) << shift
  2998  				if b < 0x80 {
  2999  					break
  3000  				}
  3001  			}
  3002  			if msglen < 0 {
  3003  				return ErrInvalidLengthQuery
  3004  			}
  3005  			postIndex := iNdEx + msglen
  3006  			if postIndex < 0 {
  3007  				return ErrInvalidLengthQuery
  3008  			}
  3009  			if postIndex > l {
  3010  				return io.ErrUnexpectedEOF
  3011  			}
  3012  			if err := m.Pool.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3013  				return err
  3014  			}
  3015  			iNdEx = postIndex
  3016  		default:
  3017  			iNdEx = preIndex
  3018  			skippy, err := skipQuery(dAtA[iNdEx:])
  3019  			if err != nil {
  3020  				return err
  3021  			}
  3022  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3023  				return ErrInvalidLengthQuery
  3024  			}
  3025  			if (iNdEx + skippy) > l {
  3026  				return io.ErrUnexpectedEOF
  3027  			}
  3028  			iNdEx += skippy
  3029  		}
  3030  	}
  3031  
  3032  	if iNdEx > l {
  3033  		return io.ErrUnexpectedEOF
  3034  	}
  3035  	return nil
  3036  }
  3037  func (m *QueryLiquidityPoolByPoolCoinDenomRequest) Unmarshal(dAtA []byte) error {
  3038  	l := len(dAtA)
  3039  	iNdEx := 0
  3040  	for iNdEx < l {
  3041  		preIndex := iNdEx
  3042  		var wire uint64
  3043  		for shift := uint(0); ; shift += 7 {
  3044  			if shift >= 64 {
  3045  				return ErrIntOverflowQuery
  3046  			}
  3047  			if iNdEx >= l {
  3048  				return io.ErrUnexpectedEOF
  3049  			}
  3050  			b := dAtA[iNdEx]
  3051  			iNdEx++
  3052  			wire |= uint64(b&0x7F) << shift
  3053  			if b < 0x80 {
  3054  				break
  3055  			}
  3056  		}
  3057  		fieldNum := int32(wire >> 3)
  3058  		wireType := int(wire & 0x7)
  3059  		if wireType == 4 {
  3060  			return fmt.Errorf("proto: QueryLiquidityPoolByPoolCoinDenomRequest: wiretype end group for non-group")
  3061  		}
  3062  		if fieldNum <= 0 {
  3063  			return fmt.Errorf("proto: QueryLiquidityPoolByPoolCoinDenomRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  3064  		}
  3065  		switch fieldNum {
  3066  		case 1:
  3067  			if wireType != 2 {
  3068  				return fmt.Errorf("proto: wrong wireType = %d for field PoolCoinDenom", wireType)
  3069  			}
  3070  			var stringLen uint64
  3071  			for shift := uint(0); ; shift += 7 {
  3072  				if shift >= 64 {
  3073  					return ErrIntOverflowQuery
  3074  				}
  3075  				if iNdEx >= l {
  3076  					return io.ErrUnexpectedEOF
  3077  				}
  3078  				b := dAtA[iNdEx]
  3079  				iNdEx++
  3080  				stringLen |= uint64(b&0x7F) << shift
  3081  				if b < 0x80 {
  3082  					break
  3083  				}
  3084  			}
  3085  			intStringLen := int(stringLen)
  3086  			if intStringLen < 0 {
  3087  				return ErrInvalidLengthQuery
  3088  			}
  3089  			postIndex := iNdEx + intStringLen
  3090  			if postIndex < 0 {
  3091  				return ErrInvalidLengthQuery
  3092  			}
  3093  			if postIndex > l {
  3094  				return io.ErrUnexpectedEOF
  3095  			}
  3096  			m.PoolCoinDenom = string(dAtA[iNdEx:postIndex])
  3097  			iNdEx = postIndex
  3098  		default:
  3099  			iNdEx = preIndex
  3100  			skippy, err := skipQuery(dAtA[iNdEx:])
  3101  			if err != nil {
  3102  				return err
  3103  			}
  3104  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3105  				return ErrInvalidLengthQuery
  3106  			}
  3107  			if (iNdEx + skippy) > l {
  3108  				return io.ErrUnexpectedEOF
  3109  			}
  3110  			iNdEx += skippy
  3111  		}
  3112  	}
  3113  
  3114  	if iNdEx > l {
  3115  		return io.ErrUnexpectedEOF
  3116  	}
  3117  	return nil
  3118  }
  3119  func (m *QueryLiquidityPoolByReserveAccRequest) Unmarshal(dAtA []byte) error {
  3120  	l := len(dAtA)
  3121  	iNdEx := 0
  3122  	for iNdEx < l {
  3123  		preIndex := iNdEx
  3124  		var wire uint64
  3125  		for shift := uint(0); ; shift += 7 {
  3126  			if shift >= 64 {
  3127  				return ErrIntOverflowQuery
  3128  			}
  3129  			if iNdEx >= l {
  3130  				return io.ErrUnexpectedEOF
  3131  			}
  3132  			b := dAtA[iNdEx]
  3133  			iNdEx++
  3134  			wire |= uint64(b&0x7F) << shift
  3135  			if b < 0x80 {
  3136  				break
  3137  			}
  3138  		}
  3139  		fieldNum := int32(wire >> 3)
  3140  		wireType := int(wire & 0x7)
  3141  		if wireType == 4 {
  3142  			return fmt.Errorf("proto: QueryLiquidityPoolByReserveAccRequest: wiretype end group for non-group")
  3143  		}
  3144  		if fieldNum <= 0 {
  3145  			return fmt.Errorf("proto: QueryLiquidityPoolByReserveAccRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  3146  		}
  3147  		switch fieldNum {
  3148  		case 1:
  3149  			if wireType != 2 {
  3150  				return fmt.Errorf("proto: wrong wireType = %d for field ReserveAcc", wireType)
  3151  			}
  3152  			var stringLen uint64
  3153  			for shift := uint(0); ; shift += 7 {
  3154  				if shift >= 64 {
  3155  					return ErrIntOverflowQuery
  3156  				}
  3157  				if iNdEx >= l {
  3158  					return io.ErrUnexpectedEOF
  3159  				}
  3160  				b := dAtA[iNdEx]
  3161  				iNdEx++
  3162  				stringLen |= uint64(b&0x7F) << shift
  3163  				if b < 0x80 {
  3164  					break
  3165  				}
  3166  			}
  3167  			intStringLen := int(stringLen)
  3168  			if intStringLen < 0 {
  3169  				return ErrInvalidLengthQuery
  3170  			}
  3171  			postIndex := iNdEx + intStringLen
  3172  			if postIndex < 0 {
  3173  				return ErrInvalidLengthQuery
  3174  			}
  3175  			if postIndex > l {
  3176  				return io.ErrUnexpectedEOF
  3177  			}
  3178  			m.ReserveAcc = string(dAtA[iNdEx:postIndex])
  3179  			iNdEx = postIndex
  3180  		default:
  3181  			iNdEx = preIndex
  3182  			skippy, err := skipQuery(dAtA[iNdEx:])
  3183  			if err != nil {
  3184  				return err
  3185  			}
  3186  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3187  				return ErrInvalidLengthQuery
  3188  			}
  3189  			if (iNdEx + skippy) > l {
  3190  				return io.ErrUnexpectedEOF
  3191  			}
  3192  			iNdEx += skippy
  3193  		}
  3194  	}
  3195  
  3196  	if iNdEx > l {
  3197  		return io.ErrUnexpectedEOF
  3198  	}
  3199  	return nil
  3200  }
  3201  func (m *QueryLiquidityPoolBatchRequest) Unmarshal(dAtA []byte) error {
  3202  	l := len(dAtA)
  3203  	iNdEx := 0
  3204  	for iNdEx < l {
  3205  		preIndex := iNdEx
  3206  		var wire uint64
  3207  		for shift := uint(0); ; shift += 7 {
  3208  			if shift >= 64 {
  3209  				return ErrIntOverflowQuery
  3210  			}
  3211  			if iNdEx >= l {
  3212  				return io.ErrUnexpectedEOF
  3213  			}
  3214  			b := dAtA[iNdEx]
  3215  			iNdEx++
  3216  			wire |= uint64(b&0x7F) << shift
  3217  			if b < 0x80 {
  3218  				break
  3219  			}
  3220  		}
  3221  		fieldNum := int32(wire >> 3)
  3222  		wireType := int(wire & 0x7)
  3223  		if wireType == 4 {
  3224  			return fmt.Errorf("proto: QueryLiquidityPoolBatchRequest: wiretype end group for non-group")
  3225  		}
  3226  		if fieldNum <= 0 {
  3227  			return fmt.Errorf("proto: QueryLiquidityPoolBatchRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  3228  		}
  3229  		switch fieldNum {
  3230  		case 1:
  3231  			if wireType != 0 {
  3232  				return fmt.Errorf("proto: wrong wireType = %d for field PoolId", wireType)
  3233  			}
  3234  			m.PoolId = 0
  3235  			for shift := uint(0); ; shift += 7 {
  3236  				if shift >= 64 {
  3237  					return ErrIntOverflowQuery
  3238  				}
  3239  				if iNdEx >= l {
  3240  					return io.ErrUnexpectedEOF
  3241  				}
  3242  				b := dAtA[iNdEx]
  3243  				iNdEx++
  3244  				m.PoolId |= uint64(b&0x7F) << shift
  3245  				if b < 0x80 {
  3246  					break
  3247  				}
  3248  			}
  3249  		default:
  3250  			iNdEx = preIndex
  3251  			skippy, err := skipQuery(dAtA[iNdEx:])
  3252  			if err != nil {
  3253  				return err
  3254  			}
  3255  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3256  				return ErrInvalidLengthQuery
  3257  			}
  3258  			if (iNdEx + skippy) > l {
  3259  				return io.ErrUnexpectedEOF
  3260  			}
  3261  			iNdEx += skippy
  3262  		}
  3263  	}
  3264  
  3265  	if iNdEx > l {
  3266  		return io.ErrUnexpectedEOF
  3267  	}
  3268  	return nil
  3269  }
  3270  func (m *QueryLiquidityPoolBatchResponse) Unmarshal(dAtA []byte) error {
  3271  	l := len(dAtA)
  3272  	iNdEx := 0
  3273  	for iNdEx < l {
  3274  		preIndex := iNdEx
  3275  		var wire uint64
  3276  		for shift := uint(0); ; shift += 7 {
  3277  			if shift >= 64 {
  3278  				return ErrIntOverflowQuery
  3279  			}
  3280  			if iNdEx >= l {
  3281  				return io.ErrUnexpectedEOF
  3282  			}
  3283  			b := dAtA[iNdEx]
  3284  			iNdEx++
  3285  			wire |= uint64(b&0x7F) << shift
  3286  			if b < 0x80 {
  3287  				break
  3288  			}
  3289  		}
  3290  		fieldNum := int32(wire >> 3)
  3291  		wireType := int(wire & 0x7)
  3292  		if wireType == 4 {
  3293  			return fmt.Errorf("proto: QueryLiquidityPoolBatchResponse: wiretype end group for non-group")
  3294  		}
  3295  		if fieldNum <= 0 {
  3296  			return fmt.Errorf("proto: QueryLiquidityPoolBatchResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  3297  		}
  3298  		switch fieldNum {
  3299  		case 1:
  3300  			if wireType != 2 {
  3301  				return fmt.Errorf("proto: wrong wireType = %d for field Batch", wireType)
  3302  			}
  3303  			var msglen int
  3304  			for shift := uint(0); ; shift += 7 {
  3305  				if shift >= 64 {
  3306  					return ErrIntOverflowQuery
  3307  				}
  3308  				if iNdEx >= l {
  3309  					return io.ErrUnexpectedEOF
  3310  				}
  3311  				b := dAtA[iNdEx]
  3312  				iNdEx++
  3313  				msglen |= int(b&0x7F) << shift
  3314  				if b < 0x80 {
  3315  					break
  3316  				}
  3317  			}
  3318  			if msglen < 0 {
  3319  				return ErrInvalidLengthQuery
  3320  			}
  3321  			postIndex := iNdEx + msglen
  3322  			if postIndex < 0 {
  3323  				return ErrInvalidLengthQuery
  3324  			}
  3325  			if postIndex > l {
  3326  				return io.ErrUnexpectedEOF
  3327  			}
  3328  			if err := m.Batch.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3329  				return err
  3330  			}
  3331  			iNdEx = postIndex
  3332  		default:
  3333  			iNdEx = preIndex
  3334  			skippy, err := skipQuery(dAtA[iNdEx:])
  3335  			if err != nil {
  3336  				return err
  3337  			}
  3338  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3339  				return ErrInvalidLengthQuery
  3340  			}
  3341  			if (iNdEx + skippy) > l {
  3342  				return io.ErrUnexpectedEOF
  3343  			}
  3344  			iNdEx += skippy
  3345  		}
  3346  	}
  3347  
  3348  	if iNdEx > l {
  3349  		return io.ErrUnexpectedEOF
  3350  	}
  3351  	return nil
  3352  }
  3353  func (m *QueryLiquidityPoolsRequest) Unmarshal(dAtA []byte) error {
  3354  	l := len(dAtA)
  3355  	iNdEx := 0
  3356  	for iNdEx < l {
  3357  		preIndex := iNdEx
  3358  		var wire uint64
  3359  		for shift := uint(0); ; shift += 7 {
  3360  			if shift >= 64 {
  3361  				return ErrIntOverflowQuery
  3362  			}
  3363  			if iNdEx >= l {
  3364  				return io.ErrUnexpectedEOF
  3365  			}
  3366  			b := dAtA[iNdEx]
  3367  			iNdEx++
  3368  			wire |= uint64(b&0x7F) << shift
  3369  			if b < 0x80 {
  3370  				break
  3371  			}
  3372  		}
  3373  		fieldNum := int32(wire >> 3)
  3374  		wireType := int(wire & 0x7)
  3375  		if wireType == 4 {
  3376  			return fmt.Errorf("proto: QueryLiquidityPoolsRequest: wiretype end group for non-group")
  3377  		}
  3378  		if fieldNum <= 0 {
  3379  			return fmt.Errorf("proto: QueryLiquidityPoolsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  3380  		}
  3381  		switch fieldNum {
  3382  		case 1:
  3383  			if wireType != 2 {
  3384  				return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType)
  3385  			}
  3386  			var msglen int
  3387  			for shift := uint(0); ; shift += 7 {
  3388  				if shift >= 64 {
  3389  					return ErrIntOverflowQuery
  3390  				}
  3391  				if iNdEx >= l {
  3392  					return io.ErrUnexpectedEOF
  3393  				}
  3394  				b := dAtA[iNdEx]
  3395  				iNdEx++
  3396  				msglen |= int(b&0x7F) << shift
  3397  				if b < 0x80 {
  3398  					break
  3399  				}
  3400  			}
  3401  			if msglen < 0 {
  3402  				return ErrInvalidLengthQuery
  3403  			}
  3404  			postIndex := iNdEx + msglen
  3405  			if postIndex < 0 {
  3406  				return ErrInvalidLengthQuery
  3407  			}
  3408  			if postIndex > l {
  3409  				return io.ErrUnexpectedEOF
  3410  			}
  3411  			if m.Pagination == nil {
  3412  				m.Pagination = &query.PageRequest{}
  3413  			}
  3414  			if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3415  				return err
  3416  			}
  3417  			iNdEx = postIndex
  3418  		default:
  3419  			iNdEx = preIndex
  3420  			skippy, err := skipQuery(dAtA[iNdEx:])
  3421  			if err != nil {
  3422  				return err
  3423  			}
  3424  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3425  				return ErrInvalidLengthQuery
  3426  			}
  3427  			if (iNdEx + skippy) > l {
  3428  				return io.ErrUnexpectedEOF
  3429  			}
  3430  			iNdEx += skippy
  3431  		}
  3432  	}
  3433  
  3434  	if iNdEx > l {
  3435  		return io.ErrUnexpectedEOF
  3436  	}
  3437  	return nil
  3438  }
  3439  func (m *QueryLiquidityPoolsResponse) Unmarshal(dAtA []byte) error {
  3440  	l := len(dAtA)
  3441  	iNdEx := 0
  3442  	for iNdEx < l {
  3443  		preIndex := iNdEx
  3444  		var wire uint64
  3445  		for shift := uint(0); ; shift += 7 {
  3446  			if shift >= 64 {
  3447  				return ErrIntOverflowQuery
  3448  			}
  3449  			if iNdEx >= l {
  3450  				return io.ErrUnexpectedEOF
  3451  			}
  3452  			b := dAtA[iNdEx]
  3453  			iNdEx++
  3454  			wire |= uint64(b&0x7F) << shift
  3455  			if b < 0x80 {
  3456  				break
  3457  			}
  3458  		}
  3459  		fieldNum := int32(wire >> 3)
  3460  		wireType := int(wire & 0x7)
  3461  		if wireType == 4 {
  3462  			return fmt.Errorf("proto: QueryLiquidityPoolsResponse: wiretype end group for non-group")
  3463  		}
  3464  		if fieldNum <= 0 {
  3465  			return fmt.Errorf("proto: QueryLiquidityPoolsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  3466  		}
  3467  		switch fieldNum {
  3468  		case 1:
  3469  			if wireType != 2 {
  3470  				return fmt.Errorf("proto: wrong wireType = %d for field Pools", wireType)
  3471  			}
  3472  			var msglen int
  3473  			for shift := uint(0); ; shift += 7 {
  3474  				if shift >= 64 {
  3475  					return ErrIntOverflowQuery
  3476  				}
  3477  				if iNdEx >= l {
  3478  					return io.ErrUnexpectedEOF
  3479  				}
  3480  				b := dAtA[iNdEx]
  3481  				iNdEx++
  3482  				msglen |= int(b&0x7F) << shift
  3483  				if b < 0x80 {
  3484  					break
  3485  				}
  3486  			}
  3487  			if msglen < 0 {
  3488  				return ErrInvalidLengthQuery
  3489  			}
  3490  			postIndex := iNdEx + msglen
  3491  			if postIndex < 0 {
  3492  				return ErrInvalidLengthQuery
  3493  			}
  3494  			if postIndex > l {
  3495  				return io.ErrUnexpectedEOF
  3496  			}
  3497  			m.Pools = append(m.Pools, Pool{})
  3498  			if err := m.Pools[len(m.Pools)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3499  				return err
  3500  			}
  3501  			iNdEx = postIndex
  3502  		case 2:
  3503  			if wireType != 2 {
  3504  				return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType)
  3505  			}
  3506  			var msglen int
  3507  			for shift := uint(0); ; shift += 7 {
  3508  				if shift >= 64 {
  3509  					return ErrIntOverflowQuery
  3510  				}
  3511  				if iNdEx >= l {
  3512  					return io.ErrUnexpectedEOF
  3513  				}
  3514  				b := dAtA[iNdEx]
  3515  				iNdEx++
  3516  				msglen |= int(b&0x7F) << shift
  3517  				if b < 0x80 {
  3518  					break
  3519  				}
  3520  			}
  3521  			if msglen < 0 {
  3522  				return ErrInvalidLengthQuery
  3523  			}
  3524  			postIndex := iNdEx + msglen
  3525  			if postIndex < 0 {
  3526  				return ErrInvalidLengthQuery
  3527  			}
  3528  			if postIndex > l {
  3529  				return io.ErrUnexpectedEOF
  3530  			}
  3531  			if m.Pagination == nil {
  3532  				m.Pagination = &query.PageResponse{}
  3533  			}
  3534  			if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3535  				return err
  3536  			}
  3537  			iNdEx = postIndex
  3538  		default:
  3539  			iNdEx = preIndex
  3540  			skippy, err := skipQuery(dAtA[iNdEx:])
  3541  			if err != nil {
  3542  				return err
  3543  			}
  3544  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3545  				return ErrInvalidLengthQuery
  3546  			}
  3547  			if (iNdEx + skippy) > l {
  3548  				return io.ErrUnexpectedEOF
  3549  			}
  3550  			iNdEx += skippy
  3551  		}
  3552  	}
  3553  
  3554  	if iNdEx > l {
  3555  		return io.ErrUnexpectedEOF
  3556  	}
  3557  	return nil
  3558  }
  3559  func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error {
  3560  	l := len(dAtA)
  3561  	iNdEx := 0
  3562  	for iNdEx < l {
  3563  		preIndex := iNdEx
  3564  		var wire uint64
  3565  		for shift := uint(0); ; shift += 7 {
  3566  			if shift >= 64 {
  3567  				return ErrIntOverflowQuery
  3568  			}
  3569  			if iNdEx >= l {
  3570  				return io.ErrUnexpectedEOF
  3571  			}
  3572  			b := dAtA[iNdEx]
  3573  			iNdEx++
  3574  			wire |= uint64(b&0x7F) << shift
  3575  			if b < 0x80 {
  3576  				break
  3577  			}
  3578  		}
  3579  		fieldNum := int32(wire >> 3)
  3580  		wireType := int(wire & 0x7)
  3581  		if wireType == 4 {
  3582  			return fmt.Errorf("proto: QueryParamsRequest: wiretype end group for non-group")
  3583  		}
  3584  		if fieldNum <= 0 {
  3585  			return fmt.Errorf("proto: QueryParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  3586  		}
  3587  		switch fieldNum {
  3588  		default:
  3589  			iNdEx = preIndex
  3590  			skippy, err := skipQuery(dAtA[iNdEx:])
  3591  			if err != nil {
  3592  				return err
  3593  			}
  3594  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3595  				return ErrInvalidLengthQuery
  3596  			}
  3597  			if (iNdEx + skippy) > l {
  3598  				return io.ErrUnexpectedEOF
  3599  			}
  3600  			iNdEx += skippy
  3601  		}
  3602  	}
  3603  
  3604  	if iNdEx > l {
  3605  		return io.ErrUnexpectedEOF
  3606  	}
  3607  	return nil
  3608  }
  3609  func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error {
  3610  	l := len(dAtA)
  3611  	iNdEx := 0
  3612  	for iNdEx < l {
  3613  		preIndex := iNdEx
  3614  		var wire uint64
  3615  		for shift := uint(0); ; shift += 7 {
  3616  			if shift >= 64 {
  3617  				return ErrIntOverflowQuery
  3618  			}
  3619  			if iNdEx >= l {
  3620  				return io.ErrUnexpectedEOF
  3621  			}
  3622  			b := dAtA[iNdEx]
  3623  			iNdEx++
  3624  			wire |= uint64(b&0x7F) << shift
  3625  			if b < 0x80 {
  3626  				break
  3627  			}
  3628  		}
  3629  		fieldNum := int32(wire >> 3)
  3630  		wireType := int(wire & 0x7)
  3631  		if wireType == 4 {
  3632  			return fmt.Errorf("proto: QueryParamsResponse: wiretype end group for non-group")
  3633  		}
  3634  		if fieldNum <= 0 {
  3635  			return fmt.Errorf("proto: QueryParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  3636  		}
  3637  		switch fieldNum {
  3638  		case 1:
  3639  			if wireType != 2 {
  3640  				return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType)
  3641  			}
  3642  			var msglen int
  3643  			for shift := uint(0); ; shift += 7 {
  3644  				if shift >= 64 {
  3645  					return ErrIntOverflowQuery
  3646  				}
  3647  				if iNdEx >= l {
  3648  					return io.ErrUnexpectedEOF
  3649  				}
  3650  				b := dAtA[iNdEx]
  3651  				iNdEx++
  3652  				msglen |= int(b&0x7F) << shift
  3653  				if b < 0x80 {
  3654  					break
  3655  				}
  3656  			}
  3657  			if msglen < 0 {
  3658  				return ErrInvalidLengthQuery
  3659  			}
  3660  			postIndex := iNdEx + msglen
  3661  			if postIndex < 0 {
  3662  				return ErrInvalidLengthQuery
  3663  			}
  3664  			if postIndex > l {
  3665  				return io.ErrUnexpectedEOF
  3666  			}
  3667  			if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3668  				return err
  3669  			}
  3670  			iNdEx = postIndex
  3671  		default:
  3672  			iNdEx = preIndex
  3673  			skippy, err := skipQuery(dAtA[iNdEx:])
  3674  			if err != nil {
  3675  				return err
  3676  			}
  3677  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3678  				return ErrInvalidLengthQuery
  3679  			}
  3680  			if (iNdEx + skippy) > l {
  3681  				return io.ErrUnexpectedEOF
  3682  			}
  3683  			iNdEx += skippy
  3684  		}
  3685  	}
  3686  
  3687  	if iNdEx > l {
  3688  		return io.ErrUnexpectedEOF
  3689  	}
  3690  	return nil
  3691  }
  3692  func (m *QueryPoolBatchSwapMsgsRequest) Unmarshal(dAtA []byte) error {
  3693  	l := len(dAtA)
  3694  	iNdEx := 0
  3695  	for iNdEx < l {
  3696  		preIndex := iNdEx
  3697  		var wire uint64
  3698  		for shift := uint(0); ; shift += 7 {
  3699  			if shift >= 64 {
  3700  				return ErrIntOverflowQuery
  3701  			}
  3702  			if iNdEx >= l {
  3703  				return io.ErrUnexpectedEOF
  3704  			}
  3705  			b := dAtA[iNdEx]
  3706  			iNdEx++
  3707  			wire |= uint64(b&0x7F) << shift
  3708  			if b < 0x80 {
  3709  				break
  3710  			}
  3711  		}
  3712  		fieldNum := int32(wire >> 3)
  3713  		wireType := int(wire & 0x7)
  3714  		if wireType == 4 {
  3715  			return fmt.Errorf("proto: QueryPoolBatchSwapMsgsRequest: wiretype end group for non-group")
  3716  		}
  3717  		if fieldNum <= 0 {
  3718  			return fmt.Errorf("proto: QueryPoolBatchSwapMsgsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  3719  		}
  3720  		switch fieldNum {
  3721  		case 1:
  3722  			if wireType != 0 {
  3723  				return fmt.Errorf("proto: wrong wireType = %d for field PoolId", wireType)
  3724  			}
  3725  			m.PoolId = 0
  3726  			for shift := uint(0); ; shift += 7 {
  3727  				if shift >= 64 {
  3728  					return ErrIntOverflowQuery
  3729  				}
  3730  				if iNdEx >= l {
  3731  					return io.ErrUnexpectedEOF
  3732  				}
  3733  				b := dAtA[iNdEx]
  3734  				iNdEx++
  3735  				m.PoolId |= uint64(b&0x7F) << shift
  3736  				if b < 0x80 {
  3737  					break
  3738  				}
  3739  			}
  3740  		case 2:
  3741  			if wireType != 2 {
  3742  				return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType)
  3743  			}
  3744  			var msglen int
  3745  			for shift := uint(0); ; shift += 7 {
  3746  				if shift >= 64 {
  3747  					return ErrIntOverflowQuery
  3748  				}
  3749  				if iNdEx >= l {
  3750  					return io.ErrUnexpectedEOF
  3751  				}
  3752  				b := dAtA[iNdEx]
  3753  				iNdEx++
  3754  				msglen |= int(b&0x7F) << shift
  3755  				if b < 0x80 {
  3756  					break
  3757  				}
  3758  			}
  3759  			if msglen < 0 {
  3760  				return ErrInvalidLengthQuery
  3761  			}
  3762  			postIndex := iNdEx + msglen
  3763  			if postIndex < 0 {
  3764  				return ErrInvalidLengthQuery
  3765  			}
  3766  			if postIndex > l {
  3767  				return io.ErrUnexpectedEOF
  3768  			}
  3769  			if m.Pagination == nil {
  3770  				m.Pagination = &query.PageRequest{}
  3771  			}
  3772  			if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3773  				return err
  3774  			}
  3775  			iNdEx = postIndex
  3776  		default:
  3777  			iNdEx = preIndex
  3778  			skippy, err := skipQuery(dAtA[iNdEx:])
  3779  			if err != nil {
  3780  				return err
  3781  			}
  3782  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3783  				return ErrInvalidLengthQuery
  3784  			}
  3785  			if (iNdEx + skippy) > l {
  3786  				return io.ErrUnexpectedEOF
  3787  			}
  3788  			iNdEx += skippy
  3789  		}
  3790  	}
  3791  
  3792  	if iNdEx > l {
  3793  		return io.ErrUnexpectedEOF
  3794  	}
  3795  	return nil
  3796  }
  3797  func (m *QueryPoolBatchSwapMsgRequest) Unmarshal(dAtA []byte) error {
  3798  	l := len(dAtA)
  3799  	iNdEx := 0
  3800  	for iNdEx < l {
  3801  		preIndex := iNdEx
  3802  		var wire uint64
  3803  		for shift := uint(0); ; shift += 7 {
  3804  			if shift >= 64 {
  3805  				return ErrIntOverflowQuery
  3806  			}
  3807  			if iNdEx >= l {
  3808  				return io.ErrUnexpectedEOF
  3809  			}
  3810  			b := dAtA[iNdEx]
  3811  			iNdEx++
  3812  			wire |= uint64(b&0x7F) << shift
  3813  			if b < 0x80 {
  3814  				break
  3815  			}
  3816  		}
  3817  		fieldNum := int32(wire >> 3)
  3818  		wireType := int(wire & 0x7)
  3819  		if wireType == 4 {
  3820  			return fmt.Errorf("proto: QueryPoolBatchSwapMsgRequest: wiretype end group for non-group")
  3821  		}
  3822  		if fieldNum <= 0 {
  3823  			return fmt.Errorf("proto: QueryPoolBatchSwapMsgRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  3824  		}
  3825  		switch fieldNum {
  3826  		case 1:
  3827  			if wireType != 0 {
  3828  				return fmt.Errorf("proto: wrong wireType = %d for field PoolId", wireType)
  3829  			}
  3830  			m.PoolId = 0
  3831  			for shift := uint(0); ; shift += 7 {
  3832  				if shift >= 64 {
  3833  					return ErrIntOverflowQuery
  3834  				}
  3835  				if iNdEx >= l {
  3836  					return io.ErrUnexpectedEOF
  3837  				}
  3838  				b := dAtA[iNdEx]
  3839  				iNdEx++
  3840  				m.PoolId |= uint64(b&0x7F) << shift
  3841  				if b < 0x80 {
  3842  					break
  3843  				}
  3844  			}
  3845  		case 2:
  3846  			if wireType != 0 {
  3847  				return fmt.Errorf("proto: wrong wireType = %d for field MsgIndex", wireType)
  3848  			}
  3849  			m.MsgIndex = 0
  3850  			for shift := uint(0); ; shift += 7 {
  3851  				if shift >= 64 {
  3852  					return ErrIntOverflowQuery
  3853  				}
  3854  				if iNdEx >= l {
  3855  					return io.ErrUnexpectedEOF
  3856  				}
  3857  				b := dAtA[iNdEx]
  3858  				iNdEx++
  3859  				m.MsgIndex |= uint64(b&0x7F) << shift
  3860  				if b < 0x80 {
  3861  					break
  3862  				}
  3863  			}
  3864  		default:
  3865  			iNdEx = preIndex
  3866  			skippy, err := skipQuery(dAtA[iNdEx:])
  3867  			if err != nil {
  3868  				return err
  3869  			}
  3870  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3871  				return ErrInvalidLengthQuery
  3872  			}
  3873  			if (iNdEx + skippy) > l {
  3874  				return io.ErrUnexpectedEOF
  3875  			}
  3876  			iNdEx += skippy
  3877  		}
  3878  	}
  3879  
  3880  	if iNdEx > l {
  3881  		return io.ErrUnexpectedEOF
  3882  	}
  3883  	return nil
  3884  }
  3885  func (m *QueryPoolBatchSwapMsgsResponse) Unmarshal(dAtA []byte) error {
  3886  	l := len(dAtA)
  3887  	iNdEx := 0
  3888  	for iNdEx < l {
  3889  		preIndex := iNdEx
  3890  		var wire uint64
  3891  		for shift := uint(0); ; shift += 7 {
  3892  			if shift >= 64 {
  3893  				return ErrIntOverflowQuery
  3894  			}
  3895  			if iNdEx >= l {
  3896  				return io.ErrUnexpectedEOF
  3897  			}
  3898  			b := dAtA[iNdEx]
  3899  			iNdEx++
  3900  			wire |= uint64(b&0x7F) << shift
  3901  			if b < 0x80 {
  3902  				break
  3903  			}
  3904  		}
  3905  		fieldNum := int32(wire >> 3)
  3906  		wireType := int(wire & 0x7)
  3907  		if wireType == 4 {
  3908  			return fmt.Errorf("proto: QueryPoolBatchSwapMsgsResponse: wiretype end group for non-group")
  3909  		}
  3910  		if fieldNum <= 0 {
  3911  			return fmt.Errorf("proto: QueryPoolBatchSwapMsgsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  3912  		}
  3913  		switch fieldNum {
  3914  		case 1:
  3915  			if wireType != 2 {
  3916  				return fmt.Errorf("proto: wrong wireType = %d for field Swaps", wireType)
  3917  			}
  3918  			var msglen int
  3919  			for shift := uint(0); ; shift += 7 {
  3920  				if shift >= 64 {
  3921  					return ErrIntOverflowQuery
  3922  				}
  3923  				if iNdEx >= l {
  3924  					return io.ErrUnexpectedEOF
  3925  				}
  3926  				b := dAtA[iNdEx]
  3927  				iNdEx++
  3928  				msglen |= int(b&0x7F) << shift
  3929  				if b < 0x80 {
  3930  					break
  3931  				}
  3932  			}
  3933  			if msglen < 0 {
  3934  				return ErrInvalidLengthQuery
  3935  			}
  3936  			postIndex := iNdEx + msglen
  3937  			if postIndex < 0 {
  3938  				return ErrInvalidLengthQuery
  3939  			}
  3940  			if postIndex > l {
  3941  				return io.ErrUnexpectedEOF
  3942  			}
  3943  			m.Swaps = append(m.Swaps, SwapMsgState{})
  3944  			if err := m.Swaps[len(m.Swaps)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3945  				return err
  3946  			}
  3947  			iNdEx = postIndex
  3948  		case 2:
  3949  			if wireType != 2 {
  3950  				return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType)
  3951  			}
  3952  			var msglen int
  3953  			for shift := uint(0); ; shift += 7 {
  3954  				if shift >= 64 {
  3955  					return ErrIntOverflowQuery
  3956  				}
  3957  				if iNdEx >= l {
  3958  					return io.ErrUnexpectedEOF
  3959  				}
  3960  				b := dAtA[iNdEx]
  3961  				iNdEx++
  3962  				msglen |= int(b&0x7F) << shift
  3963  				if b < 0x80 {
  3964  					break
  3965  				}
  3966  			}
  3967  			if msglen < 0 {
  3968  				return ErrInvalidLengthQuery
  3969  			}
  3970  			postIndex := iNdEx + msglen
  3971  			if postIndex < 0 {
  3972  				return ErrInvalidLengthQuery
  3973  			}
  3974  			if postIndex > l {
  3975  				return io.ErrUnexpectedEOF
  3976  			}
  3977  			if m.Pagination == nil {
  3978  				m.Pagination = &query.PageResponse{}
  3979  			}
  3980  			if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3981  				return err
  3982  			}
  3983  			iNdEx = postIndex
  3984  		default:
  3985  			iNdEx = preIndex
  3986  			skippy, err := skipQuery(dAtA[iNdEx:])
  3987  			if err != nil {
  3988  				return err
  3989  			}
  3990  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3991  				return ErrInvalidLengthQuery
  3992  			}
  3993  			if (iNdEx + skippy) > l {
  3994  				return io.ErrUnexpectedEOF
  3995  			}
  3996  			iNdEx += skippy
  3997  		}
  3998  	}
  3999  
  4000  	if iNdEx > l {
  4001  		return io.ErrUnexpectedEOF
  4002  	}
  4003  	return nil
  4004  }
  4005  func (m *QueryPoolBatchSwapMsgResponse) Unmarshal(dAtA []byte) error {
  4006  	l := len(dAtA)
  4007  	iNdEx := 0
  4008  	for iNdEx < l {
  4009  		preIndex := iNdEx
  4010  		var wire uint64
  4011  		for shift := uint(0); ; shift += 7 {
  4012  			if shift >= 64 {
  4013  				return ErrIntOverflowQuery
  4014  			}
  4015  			if iNdEx >= l {
  4016  				return io.ErrUnexpectedEOF
  4017  			}
  4018  			b := dAtA[iNdEx]
  4019  			iNdEx++
  4020  			wire |= uint64(b&0x7F) << shift
  4021  			if b < 0x80 {
  4022  				break
  4023  			}
  4024  		}
  4025  		fieldNum := int32(wire >> 3)
  4026  		wireType := int(wire & 0x7)
  4027  		if wireType == 4 {
  4028  			return fmt.Errorf("proto: QueryPoolBatchSwapMsgResponse: wiretype end group for non-group")
  4029  		}
  4030  		if fieldNum <= 0 {
  4031  			return fmt.Errorf("proto: QueryPoolBatchSwapMsgResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  4032  		}
  4033  		switch fieldNum {
  4034  		case 1:
  4035  			if wireType != 2 {
  4036  				return fmt.Errorf("proto: wrong wireType = %d for field Swap", wireType)
  4037  			}
  4038  			var msglen int
  4039  			for shift := uint(0); ; shift += 7 {
  4040  				if shift >= 64 {
  4041  					return ErrIntOverflowQuery
  4042  				}
  4043  				if iNdEx >= l {
  4044  					return io.ErrUnexpectedEOF
  4045  				}
  4046  				b := dAtA[iNdEx]
  4047  				iNdEx++
  4048  				msglen |= int(b&0x7F) << shift
  4049  				if b < 0x80 {
  4050  					break
  4051  				}
  4052  			}
  4053  			if msglen < 0 {
  4054  				return ErrInvalidLengthQuery
  4055  			}
  4056  			postIndex := iNdEx + msglen
  4057  			if postIndex < 0 {
  4058  				return ErrInvalidLengthQuery
  4059  			}
  4060  			if postIndex > l {
  4061  				return io.ErrUnexpectedEOF
  4062  			}
  4063  			if err := m.Swap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4064  				return err
  4065  			}
  4066  			iNdEx = postIndex
  4067  		default:
  4068  			iNdEx = preIndex
  4069  			skippy, err := skipQuery(dAtA[iNdEx:])
  4070  			if err != nil {
  4071  				return err
  4072  			}
  4073  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4074  				return ErrInvalidLengthQuery
  4075  			}
  4076  			if (iNdEx + skippy) > l {
  4077  				return io.ErrUnexpectedEOF
  4078  			}
  4079  			iNdEx += skippy
  4080  		}
  4081  	}
  4082  
  4083  	if iNdEx > l {
  4084  		return io.ErrUnexpectedEOF
  4085  	}
  4086  	return nil
  4087  }
  4088  func (m *QueryPoolBatchDepositMsgsRequest) Unmarshal(dAtA []byte) error {
  4089  	l := len(dAtA)
  4090  	iNdEx := 0
  4091  	for iNdEx < l {
  4092  		preIndex := iNdEx
  4093  		var wire uint64
  4094  		for shift := uint(0); ; shift += 7 {
  4095  			if shift >= 64 {
  4096  				return ErrIntOverflowQuery
  4097  			}
  4098  			if iNdEx >= l {
  4099  				return io.ErrUnexpectedEOF
  4100  			}
  4101  			b := dAtA[iNdEx]
  4102  			iNdEx++
  4103  			wire |= uint64(b&0x7F) << shift
  4104  			if b < 0x80 {
  4105  				break
  4106  			}
  4107  		}
  4108  		fieldNum := int32(wire >> 3)
  4109  		wireType := int(wire & 0x7)
  4110  		if wireType == 4 {
  4111  			return fmt.Errorf("proto: QueryPoolBatchDepositMsgsRequest: wiretype end group for non-group")
  4112  		}
  4113  		if fieldNum <= 0 {
  4114  			return fmt.Errorf("proto: QueryPoolBatchDepositMsgsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  4115  		}
  4116  		switch fieldNum {
  4117  		case 1:
  4118  			if wireType != 0 {
  4119  				return fmt.Errorf("proto: wrong wireType = %d for field PoolId", wireType)
  4120  			}
  4121  			m.PoolId = 0
  4122  			for shift := uint(0); ; shift += 7 {
  4123  				if shift >= 64 {
  4124  					return ErrIntOverflowQuery
  4125  				}
  4126  				if iNdEx >= l {
  4127  					return io.ErrUnexpectedEOF
  4128  				}
  4129  				b := dAtA[iNdEx]
  4130  				iNdEx++
  4131  				m.PoolId |= uint64(b&0x7F) << shift
  4132  				if b < 0x80 {
  4133  					break
  4134  				}
  4135  			}
  4136  		case 2:
  4137  			if wireType != 2 {
  4138  				return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType)
  4139  			}
  4140  			var msglen int
  4141  			for shift := uint(0); ; shift += 7 {
  4142  				if shift >= 64 {
  4143  					return ErrIntOverflowQuery
  4144  				}
  4145  				if iNdEx >= l {
  4146  					return io.ErrUnexpectedEOF
  4147  				}
  4148  				b := dAtA[iNdEx]
  4149  				iNdEx++
  4150  				msglen |= int(b&0x7F) << shift
  4151  				if b < 0x80 {
  4152  					break
  4153  				}
  4154  			}
  4155  			if msglen < 0 {
  4156  				return ErrInvalidLengthQuery
  4157  			}
  4158  			postIndex := iNdEx + msglen
  4159  			if postIndex < 0 {
  4160  				return ErrInvalidLengthQuery
  4161  			}
  4162  			if postIndex > l {
  4163  				return io.ErrUnexpectedEOF
  4164  			}
  4165  			if m.Pagination == nil {
  4166  				m.Pagination = &query.PageRequest{}
  4167  			}
  4168  			if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4169  				return err
  4170  			}
  4171  			iNdEx = postIndex
  4172  		default:
  4173  			iNdEx = preIndex
  4174  			skippy, err := skipQuery(dAtA[iNdEx:])
  4175  			if err != nil {
  4176  				return err
  4177  			}
  4178  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4179  				return ErrInvalidLengthQuery
  4180  			}
  4181  			if (iNdEx + skippy) > l {
  4182  				return io.ErrUnexpectedEOF
  4183  			}
  4184  			iNdEx += skippy
  4185  		}
  4186  	}
  4187  
  4188  	if iNdEx > l {
  4189  		return io.ErrUnexpectedEOF
  4190  	}
  4191  	return nil
  4192  }
  4193  func (m *QueryPoolBatchDepositMsgRequest) Unmarshal(dAtA []byte) error {
  4194  	l := len(dAtA)
  4195  	iNdEx := 0
  4196  	for iNdEx < l {
  4197  		preIndex := iNdEx
  4198  		var wire uint64
  4199  		for shift := uint(0); ; shift += 7 {
  4200  			if shift >= 64 {
  4201  				return ErrIntOverflowQuery
  4202  			}
  4203  			if iNdEx >= l {
  4204  				return io.ErrUnexpectedEOF
  4205  			}
  4206  			b := dAtA[iNdEx]
  4207  			iNdEx++
  4208  			wire |= uint64(b&0x7F) << shift
  4209  			if b < 0x80 {
  4210  				break
  4211  			}
  4212  		}
  4213  		fieldNum := int32(wire >> 3)
  4214  		wireType := int(wire & 0x7)
  4215  		if wireType == 4 {
  4216  			return fmt.Errorf("proto: QueryPoolBatchDepositMsgRequest: wiretype end group for non-group")
  4217  		}
  4218  		if fieldNum <= 0 {
  4219  			return fmt.Errorf("proto: QueryPoolBatchDepositMsgRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  4220  		}
  4221  		switch fieldNum {
  4222  		case 1:
  4223  			if wireType != 0 {
  4224  				return fmt.Errorf("proto: wrong wireType = %d for field PoolId", wireType)
  4225  			}
  4226  			m.PoolId = 0
  4227  			for shift := uint(0); ; shift += 7 {
  4228  				if shift >= 64 {
  4229  					return ErrIntOverflowQuery
  4230  				}
  4231  				if iNdEx >= l {
  4232  					return io.ErrUnexpectedEOF
  4233  				}
  4234  				b := dAtA[iNdEx]
  4235  				iNdEx++
  4236  				m.PoolId |= uint64(b&0x7F) << shift
  4237  				if b < 0x80 {
  4238  					break
  4239  				}
  4240  			}
  4241  		case 2:
  4242  			if wireType != 0 {
  4243  				return fmt.Errorf("proto: wrong wireType = %d for field MsgIndex", wireType)
  4244  			}
  4245  			m.MsgIndex = 0
  4246  			for shift := uint(0); ; shift += 7 {
  4247  				if shift >= 64 {
  4248  					return ErrIntOverflowQuery
  4249  				}
  4250  				if iNdEx >= l {
  4251  					return io.ErrUnexpectedEOF
  4252  				}
  4253  				b := dAtA[iNdEx]
  4254  				iNdEx++
  4255  				m.MsgIndex |= uint64(b&0x7F) << shift
  4256  				if b < 0x80 {
  4257  					break
  4258  				}
  4259  			}
  4260  		default:
  4261  			iNdEx = preIndex
  4262  			skippy, err := skipQuery(dAtA[iNdEx:])
  4263  			if err != nil {
  4264  				return err
  4265  			}
  4266  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4267  				return ErrInvalidLengthQuery
  4268  			}
  4269  			if (iNdEx + skippy) > l {
  4270  				return io.ErrUnexpectedEOF
  4271  			}
  4272  			iNdEx += skippy
  4273  		}
  4274  	}
  4275  
  4276  	if iNdEx > l {
  4277  		return io.ErrUnexpectedEOF
  4278  	}
  4279  	return nil
  4280  }
  4281  func (m *QueryPoolBatchDepositMsgsResponse) Unmarshal(dAtA []byte) error {
  4282  	l := len(dAtA)
  4283  	iNdEx := 0
  4284  	for iNdEx < l {
  4285  		preIndex := iNdEx
  4286  		var wire uint64
  4287  		for shift := uint(0); ; shift += 7 {
  4288  			if shift >= 64 {
  4289  				return ErrIntOverflowQuery
  4290  			}
  4291  			if iNdEx >= l {
  4292  				return io.ErrUnexpectedEOF
  4293  			}
  4294  			b := dAtA[iNdEx]
  4295  			iNdEx++
  4296  			wire |= uint64(b&0x7F) << shift
  4297  			if b < 0x80 {
  4298  				break
  4299  			}
  4300  		}
  4301  		fieldNum := int32(wire >> 3)
  4302  		wireType := int(wire & 0x7)
  4303  		if wireType == 4 {
  4304  			return fmt.Errorf("proto: QueryPoolBatchDepositMsgsResponse: wiretype end group for non-group")
  4305  		}
  4306  		if fieldNum <= 0 {
  4307  			return fmt.Errorf("proto: QueryPoolBatchDepositMsgsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  4308  		}
  4309  		switch fieldNum {
  4310  		case 1:
  4311  			if wireType != 2 {
  4312  				return fmt.Errorf("proto: wrong wireType = %d for field Deposits", wireType)
  4313  			}
  4314  			var msglen int
  4315  			for shift := uint(0); ; shift += 7 {
  4316  				if shift >= 64 {
  4317  					return ErrIntOverflowQuery
  4318  				}
  4319  				if iNdEx >= l {
  4320  					return io.ErrUnexpectedEOF
  4321  				}
  4322  				b := dAtA[iNdEx]
  4323  				iNdEx++
  4324  				msglen |= int(b&0x7F) << shift
  4325  				if b < 0x80 {
  4326  					break
  4327  				}
  4328  			}
  4329  			if msglen < 0 {
  4330  				return ErrInvalidLengthQuery
  4331  			}
  4332  			postIndex := iNdEx + msglen
  4333  			if postIndex < 0 {
  4334  				return ErrInvalidLengthQuery
  4335  			}
  4336  			if postIndex > l {
  4337  				return io.ErrUnexpectedEOF
  4338  			}
  4339  			m.Deposits = append(m.Deposits, DepositMsgState{})
  4340  			if err := m.Deposits[len(m.Deposits)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4341  				return err
  4342  			}
  4343  			iNdEx = postIndex
  4344  		case 2:
  4345  			if wireType != 2 {
  4346  				return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType)
  4347  			}
  4348  			var msglen int
  4349  			for shift := uint(0); ; shift += 7 {
  4350  				if shift >= 64 {
  4351  					return ErrIntOverflowQuery
  4352  				}
  4353  				if iNdEx >= l {
  4354  					return io.ErrUnexpectedEOF
  4355  				}
  4356  				b := dAtA[iNdEx]
  4357  				iNdEx++
  4358  				msglen |= int(b&0x7F) << shift
  4359  				if b < 0x80 {
  4360  					break
  4361  				}
  4362  			}
  4363  			if msglen < 0 {
  4364  				return ErrInvalidLengthQuery
  4365  			}
  4366  			postIndex := iNdEx + msglen
  4367  			if postIndex < 0 {
  4368  				return ErrInvalidLengthQuery
  4369  			}
  4370  			if postIndex > l {
  4371  				return io.ErrUnexpectedEOF
  4372  			}
  4373  			if m.Pagination == nil {
  4374  				m.Pagination = &query.PageResponse{}
  4375  			}
  4376  			if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4377  				return err
  4378  			}
  4379  			iNdEx = postIndex
  4380  		default:
  4381  			iNdEx = preIndex
  4382  			skippy, err := skipQuery(dAtA[iNdEx:])
  4383  			if err != nil {
  4384  				return err
  4385  			}
  4386  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4387  				return ErrInvalidLengthQuery
  4388  			}
  4389  			if (iNdEx + skippy) > l {
  4390  				return io.ErrUnexpectedEOF
  4391  			}
  4392  			iNdEx += skippy
  4393  		}
  4394  	}
  4395  
  4396  	if iNdEx > l {
  4397  		return io.ErrUnexpectedEOF
  4398  	}
  4399  	return nil
  4400  }
  4401  func (m *QueryPoolBatchDepositMsgResponse) Unmarshal(dAtA []byte) error {
  4402  	l := len(dAtA)
  4403  	iNdEx := 0
  4404  	for iNdEx < l {
  4405  		preIndex := iNdEx
  4406  		var wire uint64
  4407  		for shift := uint(0); ; shift += 7 {
  4408  			if shift >= 64 {
  4409  				return ErrIntOverflowQuery
  4410  			}
  4411  			if iNdEx >= l {
  4412  				return io.ErrUnexpectedEOF
  4413  			}
  4414  			b := dAtA[iNdEx]
  4415  			iNdEx++
  4416  			wire |= uint64(b&0x7F) << shift
  4417  			if b < 0x80 {
  4418  				break
  4419  			}
  4420  		}
  4421  		fieldNum := int32(wire >> 3)
  4422  		wireType := int(wire & 0x7)
  4423  		if wireType == 4 {
  4424  			return fmt.Errorf("proto: QueryPoolBatchDepositMsgResponse: wiretype end group for non-group")
  4425  		}
  4426  		if fieldNum <= 0 {
  4427  			return fmt.Errorf("proto: QueryPoolBatchDepositMsgResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  4428  		}
  4429  		switch fieldNum {
  4430  		case 1:
  4431  			if wireType != 2 {
  4432  				return fmt.Errorf("proto: wrong wireType = %d for field Deposit", wireType)
  4433  			}
  4434  			var msglen int
  4435  			for shift := uint(0); ; shift += 7 {
  4436  				if shift >= 64 {
  4437  					return ErrIntOverflowQuery
  4438  				}
  4439  				if iNdEx >= l {
  4440  					return io.ErrUnexpectedEOF
  4441  				}
  4442  				b := dAtA[iNdEx]
  4443  				iNdEx++
  4444  				msglen |= int(b&0x7F) << shift
  4445  				if b < 0x80 {
  4446  					break
  4447  				}
  4448  			}
  4449  			if msglen < 0 {
  4450  				return ErrInvalidLengthQuery
  4451  			}
  4452  			postIndex := iNdEx + msglen
  4453  			if postIndex < 0 {
  4454  				return ErrInvalidLengthQuery
  4455  			}
  4456  			if postIndex > l {
  4457  				return io.ErrUnexpectedEOF
  4458  			}
  4459  			if err := m.Deposit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4460  				return err
  4461  			}
  4462  			iNdEx = postIndex
  4463  		default:
  4464  			iNdEx = preIndex
  4465  			skippy, err := skipQuery(dAtA[iNdEx:])
  4466  			if err != nil {
  4467  				return err
  4468  			}
  4469  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4470  				return ErrInvalidLengthQuery
  4471  			}
  4472  			if (iNdEx + skippy) > l {
  4473  				return io.ErrUnexpectedEOF
  4474  			}
  4475  			iNdEx += skippy
  4476  		}
  4477  	}
  4478  
  4479  	if iNdEx > l {
  4480  		return io.ErrUnexpectedEOF
  4481  	}
  4482  	return nil
  4483  }
  4484  func (m *QueryPoolBatchWithdrawMsgsRequest) Unmarshal(dAtA []byte) error {
  4485  	l := len(dAtA)
  4486  	iNdEx := 0
  4487  	for iNdEx < l {
  4488  		preIndex := iNdEx
  4489  		var wire uint64
  4490  		for shift := uint(0); ; shift += 7 {
  4491  			if shift >= 64 {
  4492  				return ErrIntOverflowQuery
  4493  			}
  4494  			if iNdEx >= l {
  4495  				return io.ErrUnexpectedEOF
  4496  			}
  4497  			b := dAtA[iNdEx]
  4498  			iNdEx++
  4499  			wire |= uint64(b&0x7F) << shift
  4500  			if b < 0x80 {
  4501  				break
  4502  			}
  4503  		}
  4504  		fieldNum := int32(wire >> 3)
  4505  		wireType := int(wire & 0x7)
  4506  		if wireType == 4 {
  4507  			return fmt.Errorf("proto: QueryPoolBatchWithdrawMsgsRequest: wiretype end group for non-group")
  4508  		}
  4509  		if fieldNum <= 0 {
  4510  			return fmt.Errorf("proto: QueryPoolBatchWithdrawMsgsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  4511  		}
  4512  		switch fieldNum {
  4513  		case 1:
  4514  			if wireType != 0 {
  4515  				return fmt.Errorf("proto: wrong wireType = %d for field PoolId", wireType)
  4516  			}
  4517  			m.PoolId = 0
  4518  			for shift := uint(0); ; shift += 7 {
  4519  				if shift >= 64 {
  4520  					return ErrIntOverflowQuery
  4521  				}
  4522  				if iNdEx >= l {
  4523  					return io.ErrUnexpectedEOF
  4524  				}
  4525  				b := dAtA[iNdEx]
  4526  				iNdEx++
  4527  				m.PoolId |= uint64(b&0x7F) << shift
  4528  				if b < 0x80 {
  4529  					break
  4530  				}
  4531  			}
  4532  		case 2:
  4533  			if wireType != 2 {
  4534  				return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType)
  4535  			}
  4536  			var msglen int
  4537  			for shift := uint(0); ; shift += 7 {
  4538  				if shift >= 64 {
  4539  					return ErrIntOverflowQuery
  4540  				}
  4541  				if iNdEx >= l {
  4542  					return io.ErrUnexpectedEOF
  4543  				}
  4544  				b := dAtA[iNdEx]
  4545  				iNdEx++
  4546  				msglen |= int(b&0x7F) << shift
  4547  				if b < 0x80 {
  4548  					break
  4549  				}
  4550  			}
  4551  			if msglen < 0 {
  4552  				return ErrInvalidLengthQuery
  4553  			}
  4554  			postIndex := iNdEx + msglen
  4555  			if postIndex < 0 {
  4556  				return ErrInvalidLengthQuery
  4557  			}
  4558  			if postIndex > l {
  4559  				return io.ErrUnexpectedEOF
  4560  			}
  4561  			if m.Pagination == nil {
  4562  				m.Pagination = &query.PageRequest{}
  4563  			}
  4564  			if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4565  				return err
  4566  			}
  4567  			iNdEx = postIndex
  4568  		default:
  4569  			iNdEx = preIndex
  4570  			skippy, err := skipQuery(dAtA[iNdEx:])
  4571  			if err != nil {
  4572  				return err
  4573  			}
  4574  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4575  				return ErrInvalidLengthQuery
  4576  			}
  4577  			if (iNdEx + skippy) > l {
  4578  				return io.ErrUnexpectedEOF
  4579  			}
  4580  			iNdEx += skippy
  4581  		}
  4582  	}
  4583  
  4584  	if iNdEx > l {
  4585  		return io.ErrUnexpectedEOF
  4586  	}
  4587  	return nil
  4588  }
  4589  func (m *QueryPoolBatchWithdrawMsgRequest) Unmarshal(dAtA []byte) error {
  4590  	l := len(dAtA)
  4591  	iNdEx := 0
  4592  	for iNdEx < l {
  4593  		preIndex := iNdEx
  4594  		var wire uint64
  4595  		for shift := uint(0); ; shift += 7 {
  4596  			if shift >= 64 {
  4597  				return ErrIntOverflowQuery
  4598  			}
  4599  			if iNdEx >= l {
  4600  				return io.ErrUnexpectedEOF
  4601  			}
  4602  			b := dAtA[iNdEx]
  4603  			iNdEx++
  4604  			wire |= uint64(b&0x7F) << shift
  4605  			if b < 0x80 {
  4606  				break
  4607  			}
  4608  		}
  4609  		fieldNum := int32(wire >> 3)
  4610  		wireType := int(wire & 0x7)
  4611  		if wireType == 4 {
  4612  			return fmt.Errorf("proto: QueryPoolBatchWithdrawMsgRequest: wiretype end group for non-group")
  4613  		}
  4614  		if fieldNum <= 0 {
  4615  			return fmt.Errorf("proto: QueryPoolBatchWithdrawMsgRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  4616  		}
  4617  		switch fieldNum {
  4618  		case 1:
  4619  			if wireType != 0 {
  4620  				return fmt.Errorf("proto: wrong wireType = %d for field PoolId", wireType)
  4621  			}
  4622  			m.PoolId = 0
  4623  			for shift := uint(0); ; shift += 7 {
  4624  				if shift >= 64 {
  4625  					return ErrIntOverflowQuery
  4626  				}
  4627  				if iNdEx >= l {
  4628  					return io.ErrUnexpectedEOF
  4629  				}
  4630  				b := dAtA[iNdEx]
  4631  				iNdEx++
  4632  				m.PoolId |= uint64(b&0x7F) << shift
  4633  				if b < 0x80 {
  4634  					break
  4635  				}
  4636  			}
  4637  		case 2:
  4638  			if wireType != 0 {
  4639  				return fmt.Errorf("proto: wrong wireType = %d for field MsgIndex", wireType)
  4640  			}
  4641  			m.MsgIndex = 0
  4642  			for shift := uint(0); ; shift += 7 {
  4643  				if shift >= 64 {
  4644  					return ErrIntOverflowQuery
  4645  				}
  4646  				if iNdEx >= l {
  4647  					return io.ErrUnexpectedEOF
  4648  				}
  4649  				b := dAtA[iNdEx]
  4650  				iNdEx++
  4651  				m.MsgIndex |= uint64(b&0x7F) << shift
  4652  				if b < 0x80 {
  4653  					break
  4654  				}
  4655  			}
  4656  		default:
  4657  			iNdEx = preIndex
  4658  			skippy, err := skipQuery(dAtA[iNdEx:])
  4659  			if err != nil {
  4660  				return err
  4661  			}
  4662  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4663  				return ErrInvalidLengthQuery
  4664  			}
  4665  			if (iNdEx + skippy) > l {
  4666  				return io.ErrUnexpectedEOF
  4667  			}
  4668  			iNdEx += skippy
  4669  		}
  4670  	}
  4671  
  4672  	if iNdEx > l {
  4673  		return io.ErrUnexpectedEOF
  4674  	}
  4675  	return nil
  4676  }
  4677  func (m *QueryPoolBatchWithdrawMsgsResponse) Unmarshal(dAtA []byte) error {
  4678  	l := len(dAtA)
  4679  	iNdEx := 0
  4680  	for iNdEx < l {
  4681  		preIndex := iNdEx
  4682  		var wire uint64
  4683  		for shift := uint(0); ; shift += 7 {
  4684  			if shift >= 64 {
  4685  				return ErrIntOverflowQuery
  4686  			}
  4687  			if iNdEx >= l {
  4688  				return io.ErrUnexpectedEOF
  4689  			}
  4690  			b := dAtA[iNdEx]
  4691  			iNdEx++
  4692  			wire |= uint64(b&0x7F) << shift
  4693  			if b < 0x80 {
  4694  				break
  4695  			}
  4696  		}
  4697  		fieldNum := int32(wire >> 3)
  4698  		wireType := int(wire & 0x7)
  4699  		if wireType == 4 {
  4700  			return fmt.Errorf("proto: QueryPoolBatchWithdrawMsgsResponse: wiretype end group for non-group")
  4701  		}
  4702  		if fieldNum <= 0 {
  4703  			return fmt.Errorf("proto: QueryPoolBatchWithdrawMsgsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  4704  		}
  4705  		switch fieldNum {
  4706  		case 1:
  4707  			if wireType != 2 {
  4708  				return fmt.Errorf("proto: wrong wireType = %d for field Withdraws", wireType)
  4709  			}
  4710  			var msglen int
  4711  			for shift := uint(0); ; shift += 7 {
  4712  				if shift >= 64 {
  4713  					return ErrIntOverflowQuery
  4714  				}
  4715  				if iNdEx >= l {
  4716  					return io.ErrUnexpectedEOF
  4717  				}
  4718  				b := dAtA[iNdEx]
  4719  				iNdEx++
  4720  				msglen |= int(b&0x7F) << shift
  4721  				if b < 0x80 {
  4722  					break
  4723  				}
  4724  			}
  4725  			if msglen < 0 {
  4726  				return ErrInvalidLengthQuery
  4727  			}
  4728  			postIndex := iNdEx + msglen
  4729  			if postIndex < 0 {
  4730  				return ErrInvalidLengthQuery
  4731  			}
  4732  			if postIndex > l {
  4733  				return io.ErrUnexpectedEOF
  4734  			}
  4735  			m.Withdraws = append(m.Withdraws, WithdrawMsgState{})
  4736  			if err := m.Withdraws[len(m.Withdraws)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4737  				return err
  4738  			}
  4739  			iNdEx = postIndex
  4740  		case 2:
  4741  			if wireType != 2 {
  4742  				return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType)
  4743  			}
  4744  			var msglen int
  4745  			for shift := uint(0); ; shift += 7 {
  4746  				if shift >= 64 {
  4747  					return ErrIntOverflowQuery
  4748  				}
  4749  				if iNdEx >= l {
  4750  					return io.ErrUnexpectedEOF
  4751  				}
  4752  				b := dAtA[iNdEx]
  4753  				iNdEx++
  4754  				msglen |= int(b&0x7F) << shift
  4755  				if b < 0x80 {
  4756  					break
  4757  				}
  4758  			}
  4759  			if msglen < 0 {
  4760  				return ErrInvalidLengthQuery
  4761  			}
  4762  			postIndex := iNdEx + msglen
  4763  			if postIndex < 0 {
  4764  				return ErrInvalidLengthQuery
  4765  			}
  4766  			if postIndex > l {
  4767  				return io.ErrUnexpectedEOF
  4768  			}
  4769  			if m.Pagination == nil {
  4770  				m.Pagination = &query.PageResponse{}
  4771  			}
  4772  			if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4773  				return err
  4774  			}
  4775  			iNdEx = postIndex
  4776  		default:
  4777  			iNdEx = preIndex
  4778  			skippy, err := skipQuery(dAtA[iNdEx:])
  4779  			if err != nil {
  4780  				return err
  4781  			}
  4782  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4783  				return ErrInvalidLengthQuery
  4784  			}
  4785  			if (iNdEx + skippy) > l {
  4786  				return io.ErrUnexpectedEOF
  4787  			}
  4788  			iNdEx += skippy
  4789  		}
  4790  	}
  4791  
  4792  	if iNdEx > l {
  4793  		return io.ErrUnexpectedEOF
  4794  	}
  4795  	return nil
  4796  }
  4797  func (m *QueryPoolBatchWithdrawMsgResponse) Unmarshal(dAtA []byte) error {
  4798  	l := len(dAtA)
  4799  	iNdEx := 0
  4800  	for iNdEx < l {
  4801  		preIndex := iNdEx
  4802  		var wire uint64
  4803  		for shift := uint(0); ; shift += 7 {
  4804  			if shift >= 64 {
  4805  				return ErrIntOverflowQuery
  4806  			}
  4807  			if iNdEx >= l {
  4808  				return io.ErrUnexpectedEOF
  4809  			}
  4810  			b := dAtA[iNdEx]
  4811  			iNdEx++
  4812  			wire |= uint64(b&0x7F) << shift
  4813  			if b < 0x80 {
  4814  				break
  4815  			}
  4816  		}
  4817  		fieldNum := int32(wire >> 3)
  4818  		wireType := int(wire & 0x7)
  4819  		if wireType == 4 {
  4820  			return fmt.Errorf("proto: QueryPoolBatchWithdrawMsgResponse: wiretype end group for non-group")
  4821  		}
  4822  		if fieldNum <= 0 {
  4823  			return fmt.Errorf("proto: QueryPoolBatchWithdrawMsgResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  4824  		}
  4825  		switch fieldNum {
  4826  		case 1:
  4827  			if wireType != 2 {
  4828  				return fmt.Errorf("proto: wrong wireType = %d for field Withdraw", wireType)
  4829  			}
  4830  			var msglen int
  4831  			for shift := uint(0); ; shift += 7 {
  4832  				if shift >= 64 {
  4833  					return ErrIntOverflowQuery
  4834  				}
  4835  				if iNdEx >= l {
  4836  					return io.ErrUnexpectedEOF
  4837  				}
  4838  				b := dAtA[iNdEx]
  4839  				iNdEx++
  4840  				msglen |= int(b&0x7F) << shift
  4841  				if b < 0x80 {
  4842  					break
  4843  				}
  4844  			}
  4845  			if msglen < 0 {
  4846  				return ErrInvalidLengthQuery
  4847  			}
  4848  			postIndex := iNdEx + msglen
  4849  			if postIndex < 0 {
  4850  				return ErrInvalidLengthQuery
  4851  			}
  4852  			if postIndex > l {
  4853  				return io.ErrUnexpectedEOF
  4854  			}
  4855  			if err := m.Withdraw.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4856  				return err
  4857  			}
  4858  			iNdEx = postIndex
  4859  		default:
  4860  			iNdEx = preIndex
  4861  			skippy, err := skipQuery(dAtA[iNdEx:])
  4862  			if err != nil {
  4863  				return err
  4864  			}
  4865  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4866  				return ErrInvalidLengthQuery
  4867  			}
  4868  			if (iNdEx + skippy) > l {
  4869  				return io.ErrUnexpectedEOF
  4870  			}
  4871  			iNdEx += skippy
  4872  		}
  4873  	}
  4874  
  4875  	if iNdEx > l {
  4876  		return io.ErrUnexpectedEOF
  4877  	}
  4878  	return nil
  4879  }
  4880  func skipQuery(dAtA []byte) (n int, err error) {
  4881  	l := len(dAtA)
  4882  	iNdEx := 0
  4883  	depth := 0
  4884  	for iNdEx < l {
  4885  		var wire uint64
  4886  		for shift := uint(0); ; shift += 7 {
  4887  			if shift >= 64 {
  4888  				return 0, ErrIntOverflowQuery
  4889  			}
  4890  			if iNdEx >= l {
  4891  				return 0, io.ErrUnexpectedEOF
  4892  			}
  4893  			b := dAtA[iNdEx]
  4894  			iNdEx++
  4895  			wire |= (uint64(b) & 0x7F) << shift
  4896  			if b < 0x80 {
  4897  				break
  4898  			}
  4899  		}
  4900  		wireType := int(wire & 0x7)
  4901  		switch wireType {
  4902  		case 0:
  4903  			for shift := uint(0); ; shift += 7 {
  4904  				if shift >= 64 {
  4905  					return 0, ErrIntOverflowQuery
  4906  				}
  4907  				if iNdEx >= l {
  4908  					return 0, io.ErrUnexpectedEOF
  4909  				}
  4910  				iNdEx++
  4911  				if dAtA[iNdEx-1] < 0x80 {
  4912  					break
  4913  				}
  4914  			}
  4915  		case 1:
  4916  			iNdEx += 8
  4917  		case 2:
  4918  			var length int
  4919  			for shift := uint(0); ; shift += 7 {
  4920  				if shift >= 64 {
  4921  					return 0, ErrIntOverflowQuery
  4922  				}
  4923  				if iNdEx >= l {
  4924  					return 0, io.ErrUnexpectedEOF
  4925  				}
  4926  				b := dAtA[iNdEx]
  4927  				iNdEx++
  4928  				length |= (int(b) & 0x7F) << shift
  4929  				if b < 0x80 {
  4930  					break
  4931  				}
  4932  			}
  4933  			if length < 0 {
  4934  				return 0, ErrInvalidLengthQuery
  4935  			}
  4936  			iNdEx += length
  4937  		case 3:
  4938  			depth++
  4939  		case 4:
  4940  			if depth == 0 {
  4941  				return 0, ErrUnexpectedEndOfGroupQuery
  4942  			}
  4943  			depth--
  4944  		case 5:
  4945  			iNdEx += 4
  4946  		default:
  4947  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  4948  		}
  4949  		if iNdEx < 0 {
  4950  			return 0, ErrInvalidLengthQuery
  4951  		}
  4952  		if depth == 0 {
  4953  			return iNdEx, nil
  4954  		}
  4955  	}
  4956  	return 0, io.ErrUnexpectedEOF
  4957  }
  4958  
  4959  var (
  4960  	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
  4961  	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
  4962  	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
  4963  )