// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/quarantine/v1beta1/query.proto

package quarantine

import (
	context "context"
	fmt "fmt"
	_ "github.com/cosmos/cosmos-proto"
	query "github.com/cosmos/cosmos-sdk/types/query"
	grpc1 "github.com/cosmos/gogoproto/grpc"
	proto "github.com/cosmos/gogoproto/proto"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
	io "io"
	math "math"
	math_bits "math/bits"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package

// Deprecated: The quarantine module has been removed.
//
// Deprecated: Do not use.
type QueryIsQuarantinedRequest struct {
	ToAddress string `protobuf:"bytes,1,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
}

func (m *QueryIsQuarantinedRequest) Reset()         { *m = QueryIsQuarantinedRequest{} }
func (m *QueryIsQuarantinedRequest) String() string { return proto.CompactTextString(m) }
func (*QueryIsQuarantinedRequest) ProtoMessage()    {}
func (*QueryIsQuarantinedRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_6e6232ebe830d056, []int{0}
}
func (m *QueryIsQuarantinedRequest) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *QueryIsQuarantinedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_QueryIsQuarantinedRequest.Marshal(b, m, deterministic)
	} else {
		b = b[:cap(b)]
		n, err := m.MarshalToSizedBuffer(b)
		if err != nil {
			return nil, err
		}
		return b[:n], nil
	}
}
func (m *QueryIsQuarantinedRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryIsQuarantinedRequest.Merge(m, src)
}
func (m *QueryIsQuarantinedRequest) XXX_Size() int {
	return m.Size()
}
func (m *QueryIsQuarantinedRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryIsQuarantinedRequest.DiscardUnknown(m)
}

var xxx_messageInfo_QueryIsQuarantinedRequest proto.InternalMessageInfo

func (m *QueryIsQuarantinedRequest) GetToAddress() string {
	if m != nil {
		return m.ToAddress
	}
	return ""
}

// Deprecated: The quarantine module has been removed.
//
// Deprecated: Do not use.
type QueryIsQuarantinedResponse struct {
	IsQuarantined bool `protobuf:"varint,1,opt,name=is_quarantined,json=isQuarantined,proto3" json:"is_quarantined,omitempty"`
}

func (m *QueryIsQuarantinedResponse) Reset()         { *m = QueryIsQuarantinedResponse{} }
func (m *QueryIsQuarantinedResponse) String() string { return proto.CompactTextString(m) }
func (*QueryIsQuarantinedResponse) ProtoMessage()    {}
func (*QueryIsQuarantinedResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_6e6232ebe830d056, []int{1}
}
func (m *QueryIsQuarantinedResponse) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *QueryIsQuarantinedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_QueryIsQuarantinedResponse.Marshal(b, m, deterministic)
	} else {
		b = b[:cap(b)]
		n, err := m.MarshalToSizedBuffer(b)
		if err != nil {
			return nil, err
		}
		return b[:n], nil
	}
}
func (m *QueryIsQuarantinedResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryIsQuarantinedResponse.Merge(m, src)
}
func (m *QueryIsQuarantinedResponse) XXX_Size() int {
	return m.Size()
}
func (m *QueryIsQuarantinedResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryIsQuarantinedResponse.DiscardUnknown(m)
}

var xxx_messageInfo_QueryIsQuarantinedResponse proto.InternalMessageInfo

func (m *QueryIsQuarantinedResponse) GetIsQuarantined() bool {
	if m != nil {
		return m.IsQuarantined
	}
	return false
}

// Deprecated: The quarantine module has been removed.
//
// Deprecated: Do not use.
type QueryQuarantinedFundsRequest struct {
	ToAddress   string             `protobuf:"bytes,1,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	FromAddress string             `protobuf:"bytes,2,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
	Pagination  *query.PageRequest `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (m *QueryQuarantinedFundsRequest) Reset()         { *m = QueryQuarantinedFundsRequest{} }
func (m *QueryQuarantinedFundsRequest) String() string { return proto.CompactTextString(m) }
func (*QueryQuarantinedFundsRequest) ProtoMessage()    {}
func (*QueryQuarantinedFundsRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_6e6232ebe830d056, []int{2}
}
func (m *QueryQuarantinedFundsRequest) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *QueryQuarantinedFundsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_QueryQuarantinedFundsRequest.Marshal(b, m, deterministic)
	} else {
		b = b[:cap(b)]
		n, err := m.MarshalToSizedBuffer(b)
		if err != nil {
			return nil, err
		}
		return b[:n], nil
	}
}
func (m *QueryQuarantinedFundsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryQuarantinedFundsRequest.Merge(m, src)
}
func (m *QueryQuarantinedFundsRequest) XXX_Size() int {
	return m.Size()
}
func (m *QueryQuarantinedFundsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryQuarantinedFundsRequest.DiscardUnknown(m)
}

var xxx_messageInfo_QueryQuarantinedFundsRequest proto.InternalMessageInfo

func (m *QueryQuarantinedFundsRequest) GetToAddress() string {
	if m != nil {
		return m.ToAddress
	}
	return ""
}

func (m *QueryQuarantinedFundsRequest) GetFromAddress() string {
	if m != nil {
		return m.FromAddress
	}
	return ""
}

func (m *QueryQuarantinedFundsRequest) GetPagination() *query.PageRequest {
	if m != nil {
		return m.Pagination
	}
	return nil
}

// Deprecated: The quarantine module has been removed.
//
// Deprecated: Do not use.
type QueryQuarantinedFundsResponse struct {
	QuarantinedFunds []*QuarantinedFunds `protobuf:"bytes,1,rep,name=quarantinedFunds,proto3" json:"quarantinedFunds,omitempty"`
	Pagination       *query.PageResponse `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (m *QueryQuarantinedFundsResponse) Reset()         { *m = QueryQuarantinedFundsResponse{} }
func (m *QueryQuarantinedFundsResponse) String() string { return proto.CompactTextString(m) }
func (*QueryQuarantinedFundsResponse) ProtoMessage()    {}
func (*QueryQuarantinedFundsResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_6e6232ebe830d056, []int{3}
}
func (m *QueryQuarantinedFundsResponse) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *QueryQuarantinedFundsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_QueryQuarantinedFundsResponse.Marshal(b, m, deterministic)
	} else {
		b = b[:cap(b)]
		n, err := m.MarshalToSizedBuffer(b)
		if err != nil {
			return nil, err
		}
		return b[:n], nil
	}
}
func (m *QueryQuarantinedFundsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryQuarantinedFundsResponse.Merge(m, src)
}
func (m *QueryQuarantinedFundsResponse) XXX_Size() int {
	return m.Size()
}
func (m *QueryQuarantinedFundsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryQuarantinedFundsResponse.DiscardUnknown(m)
}

var xxx_messageInfo_QueryQuarantinedFundsResponse proto.InternalMessageInfo

func (m *QueryQuarantinedFundsResponse) GetQuarantinedFunds() []*QuarantinedFunds {
	if m != nil {
		return m.QuarantinedFunds
	}
	return nil
}

func (m *QueryQuarantinedFundsResponse) GetPagination() *query.PageResponse {
	if m != nil {
		return m.Pagination
	}
	return nil
}

// Deprecated: The quarantine module has been removed.
//
// Deprecated: Do not use.
type QueryAutoResponsesRequest struct {
	ToAddress   string             `protobuf:"bytes,1,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	FromAddress string             `protobuf:"bytes,2,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
	Pagination  *query.PageRequest `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (m *QueryAutoResponsesRequest) Reset()         { *m = QueryAutoResponsesRequest{} }
func (m *QueryAutoResponsesRequest) String() string { return proto.CompactTextString(m) }
func (*QueryAutoResponsesRequest) ProtoMessage()    {}
func (*QueryAutoResponsesRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_6e6232ebe830d056, []int{4}
}
func (m *QueryAutoResponsesRequest) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *QueryAutoResponsesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_QueryAutoResponsesRequest.Marshal(b, m, deterministic)
	} else {
		b = b[:cap(b)]
		n, err := m.MarshalToSizedBuffer(b)
		if err != nil {
			return nil, err
		}
		return b[:n], nil
	}
}
func (m *QueryAutoResponsesRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryAutoResponsesRequest.Merge(m, src)
}
func (m *QueryAutoResponsesRequest) XXX_Size() int {
	return m.Size()
}
func (m *QueryAutoResponsesRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryAutoResponsesRequest.DiscardUnknown(m)
}

var xxx_messageInfo_QueryAutoResponsesRequest proto.InternalMessageInfo

func (m *QueryAutoResponsesRequest) GetToAddress() string {
	if m != nil {
		return m.ToAddress
	}
	return ""
}

func (m *QueryAutoResponsesRequest) GetFromAddress() string {
	if m != nil {
		return m.FromAddress
	}
	return ""
}

func (m *QueryAutoResponsesRequest) GetPagination() *query.PageRequest {
	if m != nil {
		return m.Pagination
	}
	return nil
}

// Deprecated: The quarantine module has been removed.
//
// Deprecated: Do not use.
type QueryAutoResponsesResponse struct {
	AutoResponses []*AutoResponseEntry `protobuf:"bytes,1,rep,name=auto_responses,json=autoResponses,proto3" json:"auto_responses,omitempty"`
	Pagination    *query.PageResponse  `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (m *QueryAutoResponsesResponse) Reset()         { *m = QueryAutoResponsesResponse{} }
func (m *QueryAutoResponsesResponse) String() string { return proto.CompactTextString(m) }
func (*QueryAutoResponsesResponse) ProtoMessage()    {}
func (*QueryAutoResponsesResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_6e6232ebe830d056, []int{5}
}
func (m *QueryAutoResponsesResponse) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *QueryAutoResponsesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_QueryAutoResponsesResponse.Marshal(b, m, deterministic)
	} else {
		b = b[:cap(b)]
		n, err := m.MarshalToSizedBuffer(b)
		if err != nil {
			return nil, err
		}
		return b[:n], nil
	}
}
func (m *QueryAutoResponsesResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryAutoResponsesResponse.Merge(m, src)
}
func (m *QueryAutoResponsesResponse) XXX_Size() int {
	return m.Size()
}
func (m *QueryAutoResponsesResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryAutoResponsesResponse.DiscardUnknown(m)
}

var xxx_messageInfo_QueryAutoResponsesResponse proto.InternalMessageInfo

func (m *QueryAutoResponsesResponse) GetAutoResponses() []*AutoResponseEntry {
	if m != nil {
		return m.AutoResponses
	}
	return nil
}

func (m *QueryAutoResponsesResponse) GetPagination() *query.PageResponse {
	if m != nil {
		return m.Pagination
	}
	return nil
}

func init() {
	proto.RegisterType((*QueryIsQuarantinedRequest)(nil), "cosmos.quarantine.v1beta1.QueryIsQuarantinedRequest")
	proto.RegisterType((*QueryIsQuarantinedResponse)(nil), "cosmos.quarantine.v1beta1.QueryIsQuarantinedResponse")
	proto.RegisterType((*QueryQuarantinedFundsRequest)(nil), "cosmos.quarantine.v1beta1.QueryQuarantinedFundsRequest")
	proto.RegisterType((*QueryQuarantinedFundsResponse)(nil), "cosmos.quarantine.v1beta1.QueryQuarantinedFundsResponse")
	proto.RegisterType((*QueryAutoResponsesRequest)(nil), "cosmos.quarantine.v1beta1.QueryAutoResponsesRequest")
	proto.RegisterType((*QueryAutoResponsesResponse)(nil), "cosmos.quarantine.v1beta1.QueryAutoResponsesResponse")
}

func init() {
	proto.RegisterFile("cosmos/quarantine/v1beta1/query.proto", fileDescriptor_6e6232ebe830d056)
}

var fileDescriptor_6e6232ebe830d056 = []byte{
	// 623 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x55, 0xcf, 0x6b, 0x13, 0x41,
	0x18, 0xcd, 0x6c, 0xa9, 0xd8, 0x89, 0x29, 0x65, 0xf0, 0x90, 0x86, 0xba, 0x84, 0x40, 0x35, 0x68,
	0xb3, 0xd3, 0x46, 0xa5, 0x6a, 0x55, 0x68, 0xc1, 0x16, 0x3d, 0xd9, 0xf4, 0xa0, 0xe4, 0x12, 0x26,
	0xc9, 0x74, 0x5d, 0x30, 0x33, 0xc9, 0xce, 0x6c, 0xb0, 0x94, 0x5e, 0x3c, 0xe5, 0x28, 0xf4, 0xec,
	0xd1, 0xff, 0x40, 0xf0, 0xe6, 0x4d, 0xf0, 0x58, 0xf4, 0xe2, 0x45, 0x28, 0x89, 0xfe, 0x07, 0xfe,
	0x01, 0x92, 0xd9, 0x49, 0xb2, 0xf9, 0xb5, 0x4b, 0xd0, 0x53, 0x8f, 0x9b, 0xef, 0x7b, 0xef, 0xfb,
	0xde, 0xbc, 0x37, 0x13, 0xb8, 0x5a, 0xe1, 0xa2, 0xc6, 0x05, 0x6e, 0x78, 0xc4, 0x25, 0x4c, 0x3a,
	0x8c, 0xe2, 0xe6, 0x46, 0x99, 0x4a, 0xb2, 0x81, 0x1b, 0x1e, 0x75, 0x8f, 0xac, 0xba, 0xcb, 0x25,
	0x47, 0xcb, 0x7e, 0x9b, 0x35, 0x68, 0xb3, 0x74, 0x5b, 0xea, 0xa6, 0x66, 0x28, 0x13, 0x41, 0x7d,
	0x4c, 0x9f, 0xa1, 0x4e, 0x6c, 0x87, 0x11, 0xe9, 0x70, 0xe6, 0xd3, 0xf4, 0x7b, 0x27, 0x4e, 0xeb,
	0x33, 0xfb, 0xbd, 0x7a, 0x64, 0x49, 0x7d, 0x61, 0x3d, 0xdf, 0x2f, 0xad, 0xd8, 0x9c, 0xdb, 0xaf,
	0x29, 0x26, 0x75, 0x07, 0x13, 0xc6, 0xb8, 0x54, 0x33, 0x74, 0x35, 0xf3, 0x12, 0x2e, 0xef, 0x77,
	0xd7, 0x78, 0x2a, 0xf6, 0xfb, 0x9c, 0xd5, 0x02, 0x6d, 0x78, 0x54, 0x48, 0xb4, 0x09, 0xa1, 0xe4,
	0x25, 0x52, 0xad, 0xba, 0x54, 0x88, 0x24, 0x48, 0x83, 0xec, 0xc2, 0x4e, 0xf2, 0xdb, 0xc7, 0xdc,
	0x55, 0x3d, 0x60, 0xdb, 0xaf, 0x1c, 0x48, 0xd7, 0x61, 0x76, 0x61, 0x41, 0x72, 0xfd, 0xc3, 0x03,
	0x23, 0x09, 0x32, 0x7b, 0x30, 0x35, 0x89, 0x59, 0xd4, 0x39, 0x13, 0x14, 0xad, 0xc2, 0x45, 0x47,
	0x94, 0x06, 0x3a, 0xaa, 0x8a, 0xfe, 0x72, 0x21, 0xe1, 0x04, 0xdb, 0x15, 0xd1, 0x39, 0x80, 0x2b,
	0x8a, 0x29, 0x50, 0xd8, 0xf5, 0x58, 0x55, 0xfc, 0xeb, 0x9a, 0x68, 0x0b, 0x5e, 0x39, 0x74, 0x79,
	0xad, 0x0f, 0x35, 0x22, 0xa0, 0xf1, 0x6e, 0x77, 0x0f, 0xbc, 0x0b, 0xe1, 0xc0, 0xb2, 0x64, 0x25,
	0x0d, 0xb2, 0xf1, 0xfc, 0x75, 0x4b, 0xe3, 0xba, 0xfe, 0x5a, 0x7e, 0x26, 0xb4, 0x67, 0xd6, 0x73,
	0x62, 0x53, 0xbd, 0x71, 0x21, 0x80, 0x54, 0x12, 0xbf, 0x00, 0x78, 0x6d, 0x8a, 0x44, 0x7d, 0x5e,
	0x2f, 0xe0, 0x52, 0x63, 0xa4, 0x96, 0x04, 0xe9, 0xb9, 0x6c, 0x3c, 0x7f, 0xcb, 0x9a, 0x1a, 0x37,
	0x6b, 0x8c, 0x6e, 0x8c, 0x04, 0xed, 0x4d, 0x90, 0x71, 0x23, 0x52, 0x86, 0xbf, 0xd5, 0x98, 0x8e,
	0x9f, 0x40, 0xc7, 0x69, 0xdb, 0x93, 0xbc, 0xd7, 0x75, 0x81, 0x7c, 0xfa, 0x0c, 0x74, 0xa8, 0x47,
	0xf4, 0x69, 0x93, 0x0e, 0xe0, 0x22, 0xf1, 0x24, 0x2f, 0xb9, 0xbd, 0x8a, 0xb6, 0x68, 0x2d, 0xc4,
	0xa2, 0x20, 0xd3, 0x13, 0x26, 0xdd, 0xa3, 0x42, 0x82, 0x04, 0xc9, 0xff, 0xab, 0x41, 0xf9, 0xdf,
	0xf3, 0x70, 0x5e, 0x09, 0x40, 0x9f, 0x00, 0x4c, 0x0c, 0x5d, 0x4d, 0x74, 0x27, 0x34, 0x48, 0x53,
	0xde, 0x88, 0xd4, 0xdd, 0x19, 0x51, 0xfe, 0x62, 0x99, 0xfb, 0x6f, 0xbf, 0xff, 0x3a, 0x35, 0xd6,
	0x91, 0x85, 0xa7, 0xbf, 0x72, 0xa4, 0x22, 0x9d, 0x26, 0xc5, 0xc7, 0x83, 0xd0, 0x9c, 0xb4, 0x0c,
	0x80, 0x3e, 0x18, 0x70, 0x69, 0x34, 0xd8, 0x68, 0x33, 0x6a, 0x8d, 0x29, 0x8f, 0x47, 0xea, 0xde,
	0xec, 0x40, 0x2d, 0xe1, 0x3d, 0x50, 0x1a, 0x4e, 0x41, 0x11, 0xa3, 0x5c, 0x88, 0x8c, 0xc3, 0x2e,
	0x6a, 0x48, 0x45, 0xf1, 0x31, 0x7a, 0x38, 0x13, 0x00, 0x1f, 0x07, 0xf3, 0x7f, 0x82, 0xd2, 0x51,
	0xe8, 0xee, 0x39, 0xfd, 0x01, 0x30, 0x31, 0x94, 0xd3, 0x68, 0x87, 0x27, 0x5d, 0xdb, 0x68, 0x87,
	0x27, 0x5e, 0x86, 0x4c, 0x53, 0x9d, 0x4e, 0xad, 0xf8, 0x08, 0x6d, 0x85, 0x79, 0xec, 0x49, 0x1e,
	0x2a, 0x75, 0x6d, 0x16, 0x70, 0xcb, 0x00, 0xa9, 0xb9, 0x96, 0x01, 0x76, 0x9e, 0x7d, 0x6d, 0x9b,
	0xe0, 0xac, 0x6d, 0x82, 0xf3, 0xb6, 0x09, 0xde, 0x75, 0xcc, 0xd8, 0x59, 0xc7, 0x8c, 0xfd, 0xe8,
	0x98, 0xb1, 0xe2, 0xba, 0xed, 0xc8, 0x57, 0x5e, 0xd9, 0xaa, 0xf0, 0x1a, 0xae, 0xbb, 0xbc, 0x49,
	0x19, 0x61, 0x15, 0x9a, 0x73, 0x78, 0xe0, 0x0b, 0xbf, 0x09, 0x4c, 0x2b, 0x5f, 0x52, 0xff, 0x94,
	0xb7, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x9a, 0x41, 0x82, 0xc8, 0xfe, 0x07, 0x00, 0x00,
}

// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4

// QueryClient is the client API for Query service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
//
// Deprecated: Do not use.
type QueryClient interface {
	// Deprecated: The quarantine module has been removed.
	IsQuarantined(ctx context.Context, in *QueryIsQuarantinedRequest, opts ...grpc.CallOption) (*QueryIsQuarantinedResponse, error)
	// Deprecated: The quarantine module has been removed.
	QuarantinedFunds(ctx context.Context, in *QueryQuarantinedFundsRequest, opts ...grpc.CallOption) (*QueryQuarantinedFundsResponse, error)
	// Deprecated: The quarantine module has been removed.
	AutoResponses(ctx context.Context, in *QueryAutoResponsesRequest, opts ...grpc.CallOption) (*QueryAutoResponsesResponse, error)
}

type queryClient struct {
	cc grpc1.ClientConn
}

// Deprecated: Do not use.
func NewQueryClient(cc grpc1.ClientConn) QueryClient {
	return &queryClient{cc}
}

// Deprecated: Do not use.
func (c *queryClient) IsQuarantined(ctx context.Context, in *QueryIsQuarantinedRequest, opts ...grpc.CallOption) (*QueryIsQuarantinedResponse, error) {
	out := new(QueryIsQuarantinedResponse)
	err := c.cc.Invoke(ctx, "/cosmos.quarantine.v1beta1.Query/IsQuarantined", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// Deprecated: Do not use.
func (c *queryClient) QuarantinedFunds(ctx context.Context, in *QueryQuarantinedFundsRequest, opts ...grpc.CallOption) (*QueryQuarantinedFundsResponse, error) {
	out := new(QueryQuarantinedFundsResponse)
	err := c.cc.Invoke(ctx, "/cosmos.quarantine.v1beta1.Query/QuarantinedFunds", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// Deprecated: Do not use.
func (c *queryClient) AutoResponses(ctx context.Context, in *QueryAutoResponsesRequest, opts ...grpc.CallOption) (*QueryAutoResponsesResponse, error) {
	out := new(QueryAutoResponsesResponse)
	err := c.cc.Invoke(ctx, "/cosmos.quarantine.v1beta1.Query/AutoResponses", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// QueryServer is the server API for Query service.
//
// Deprecated: Do not use.
type QueryServer interface {
	// Deprecated: The quarantine module has been removed.
	IsQuarantined(context.Context, *QueryIsQuarantinedRequest) (*QueryIsQuarantinedResponse, error)
	// Deprecated: The quarantine module has been removed.
	QuarantinedFunds(context.Context, *QueryQuarantinedFundsRequest) (*QueryQuarantinedFundsResponse, error)
	// Deprecated: The quarantine module has been removed.
	AutoResponses(context.Context, *QueryAutoResponsesRequest) (*QueryAutoResponsesResponse, error)
}

// Deprecated: Do not use.
// UnimplementedQueryServer can be embedded to have forward compatible implementations.
type UnimplementedQueryServer struct {
}

func (*UnimplementedQueryServer) IsQuarantined(ctx context.Context, req *QueryIsQuarantinedRequest) (*QueryIsQuarantinedResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method IsQuarantined not implemented")
}
func (*UnimplementedQueryServer) QuarantinedFunds(ctx context.Context, req *QueryQuarantinedFundsRequest) (*QueryQuarantinedFundsResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method QuarantinedFunds not implemented")
}
func (*UnimplementedQueryServer) AutoResponses(ctx context.Context, req *QueryAutoResponsesRequest) (*QueryAutoResponsesResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method AutoResponses not implemented")
}

// Deprecated: Do not use.
func RegisterQueryServer(s grpc1.Server, srv QueryServer) {
	s.RegisterService(&_Query_serviceDesc, srv)
}

func _Query_IsQuarantined_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(QueryIsQuarantinedRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryServer).IsQuarantined(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/cosmos.quarantine.v1beta1.Query/IsQuarantined",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(QueryServer).IsQuarantined(ctx, req.(*QueryIsQuarantinedRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _Query_QuarantinedFunds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(QueryQuarantinedFundsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryServer).QuarantinedFunds(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/cosmos.quarantine.v1beta1.Query/QuarantinedFunds",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(QueryServer).QuarantinedFunds(ctx, req.(*QueryQuarantinedFundsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _Query_AutoResponses_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(QueryAutoResponsesRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryServer).AutoResponses(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/cosmos.quarantine.v1beta1.Query/AutoResponses",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(QueryServer).AutoResponses(ctx, req.(*QueryAutoResponsesRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var Query_serviceDesc = _Query_serviceDesc
var _Query_serviceDesc = grpc.ServiceDesc{
	ServiceName: "cosmos.quarantine.v1beta1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "IsQuarantined",
			Handler:    _Query_IsQuarantined_Handler,
		},
		{
			MethodName: "QuarantinedFunds",
			Handler:    _Query_QuarantinedFunds_Handler,
		},
		{
			MethodName: "AutoResponses",
			Handler:    _Query_AutoResponses_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cosmos/quarantine/v1beta1/query.proto",
}

func (m *QueryIsQuarantinedRequest) Marshal() (dAtA []byte, err error) {
	size := m.Size()
	dAtA = make([]byte, size)
	n, err := m.MarshalToSizedBuffer(dAtA[:size])
	if err != nil {
		return nil, err
	}
	return dAtA[:n], nil
}

func (m *QueryIsQuarantinedRequest) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *QueryIsQuarantinedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if len(m.ToAddress) > 0 {
		i -= len(m.ToAddress)
		copy(dAtA[i:], m.ToAddress)
		i = encodeVarintQuery(dAtA, i, uint64(len(m.ToAddress)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

func (m *QueryIsQuarantinedResponse) Marshal() (dAtA []byte, err error) {
	size := m.Size()
	dAtA = make([]byte, size)
	n, err := m.MarshalToSizedBuffer(dAtA[:size])
	if err != nil {
		return nil, err
	}
	return dAtA[:n], nil
}

func (m *QueryIsQuarantinedResponse) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *QueryIsQuarantinedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if m.IsQuarantined {
		i--
		if m.IsQuarantined {
			dAtA[i] = 1
		} else {
			dAtA[i] = 0
		}
		i--
		dAtA[i] = 0x8
	}
	return len(dAtA) - i, nil
}

func (m *QueryQuarantinedFundsRequest) Marshal() (dAtA []byte, err error) {
	size := m.Size()
	dAtA = make([]byte, size)
	n, err := m.MarshalToSizedBuffer(dAtA[:size])
	if err != nil {
		return nil, err
	}
	return dAtA[:n], nil
}

func (m *QueryQuarantinedFundsRequest) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *QueryQuarantinedFundsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if m.Pagination != nil {
		{
			size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
			if err != nil {
				return 0, err
			}
			i -= size
			i = encodeVarintQuery(dAtA, i, uint64(size))
		}
		i--
		dAtA[i] = 0x6
		i--
		dAtA[i] = 0x9a
	}
	if len(m.FromAddress) > 0 {
		i -= len(m.FromAddress)
		copy(dAtA[i:], m.FromAddress)
		i = encodeVarintQuery(dAtA, i, uint64(len(m.FromAddress)))
		i--
		dAtA[i] = 0x12
	}
	if len(m.ToAddress) > 0 {
		i -= len(m.ToAddress)
		copy(dAtA[i:], m.ToAddress)
		i = encodeVarintQuery(dAtA, i, uint64(len(m.ToAddress)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

func (m *QueryQuarantinedFundsResponse) Marshal() (dAtA []byte, err error) {
	size := m.Size()
	dAtA = make([]byte, size)
	n, err := m.MarshalToSizedBuffer(dAtA[:size])
	if err != nil {
		return nil, err
	}
	return dAtA[:n], nil
}

func (m *QueryQuarantinedFundsResponse) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *QueryQuarantinedFundsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if m.Pagination != nil {
		{
			size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
			if err != nil {
				return 0, err
			}
			i -= size
			i = encodeVarintQuery(dAtA, i, uint64(size))
		}
		i--
		dAtA[i] = 0x6
		i--
		dAtA[i] = 0x9a
	}
	if len(m.QuarantinedFunds) > 0 {
		for iNdEx := len(m.QuarantinedFunds) - 1; iNdEx >= 0; iNdEx-- {
			{
				size, err := m.QuarantinedFunds[iNdEx].MarshalToSizedBuffer(dAtA[:i])
				if err != nil {
					return 0, err
				}
				i -= size
				i = encodeVarintQuery(dAtA, i, uint64(size))
			}
			i--
			dAtA[i] = 0xa
		}
	}
	return len(dAtA) - i, nil
}

func (m *QueryAutoResponsesRequest) Marshal() (dAtA []byte, err error) {
	size := m.Size()
	dAtA = make([]byte, size)
	n, err := m.MarshalToSizedBuffer(dAtA[:size])
	if err != nil {
		return nil, err
	}
	return dAtA[:n], nil
}

func (m *QueryAutoResponsesRequest) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *QueryAutoResponsesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if m.Pagination != nil {
		{
			size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
			if err != nil {
				return 0, err
			}
			i -= size
			i = encodeVarintQuery(dAtA, i, uint64(size))
		}
		i--
		dAtA[i] = 0x6
		i--
		dAtA[i] = 0x9a
	}
	if len(m.FromAddress) > 0 {
		i -= len(m.FromAddress)
		copy(dAtA[i:], m.FromAddress)
		i = encodeVarintQuery(dAtA, i, uint64(len(m.FromAddress)))
		i--
		dAtA[i] = 0x12
	}
	if len(m.ToAddress) > 0 {
		i -= len(m.ToAddress)
		copy(dAtA[i:], m.ToAddress)
		i = encodeVarintQuery(dAtA, i, uint64(len(m.ToAddress)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

func (m *QueryAutoResponsesResponse) Marshal() (dAtA []byte, err error) {
	size := m.Size()
	dAtA = make([]byte, size)
	n, err := m.MarshalToSizedBuffer(dAtA[:size])
	if err != nil {
		return nil, err
	}
	return dAtA[:n], nil
}

func (m *QueryAutoResponsesResponse) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *QueryAutoResponsesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if m.Pagination != nil {
		{
			size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
			if err != nil {
				return 0, err
			}
			i -= size
			i = encodeVarintQuery(dAtA, i, uint64(size))
		}
		i--
		dAtA[i] = 0x6
		i--
		dAtA[i] = 0x9a
	}
	if len(m.AutoResponses) > 0 {
		for iNdEx := len(m.AutoResponses) - 1; iNdEx >= 0; iNdEx-- {
			{
				size, err := m.AutoResponses[iNdEx].MarshalToSizedBuffer(dAtA[:i])
				if err != nil {
					return 0, err
				}
				i -= size
				i = encodeVarintQuery(dAtA, i, uint64(size))
			}
			i--
			dAtA[i] = 0xa
		}
	}
	return len(dAtA) - i, nil
}

func encodeVarintQuery(dAtA []byte, offset int, v uint64) int {
	offset -= sovQuery(v)
	base := offset
	for v >= 1<<7 {
		dAtA[offset] = uint8(v&0x7f | 0x80)
		v >>= 7
		offset++
	}
	dAtA[offset] = uint8(v)
	return base
}
func (m *QueryIsQuarantinedRequest) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.ToAddress)
	if l > 0 {
		n += 1 + l + sovQuery(uint64(l))
	}
	return n
}

func (m *QueryIsQuarantinedResponse) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	if m.IsQuarantined {
		n += 2
	}
	return n
}

func (m *QueryQuarantinedFundsRequest) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.ToAddress)
	if l > 0 {
		n += 1 + l + sovQuery(uint64(l))
	}
	l = len(m.FromAddress)
	if l > 0 {
		n += 1 + l + sovQuery(uint64(l))
	}
	if m.Pagination != nil {
		l = m.Pagination.Size()
		n += 2 + l + sovQuery(uint64(l))
	}
	return n
}

func (m *QueryQuarantinedFundsResponse) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	if len(m.QuarantinedFunds) > 0 {
		for _, e := range m.QuarantinedFunds {
			l = e.Size()
			n += 1 + l + sovQuery(uint64(l))
		}
	}
	if m.Pagination != nil {
		l = m.Pagination.Size()
		n += 2 + l + sovQuery(uint64(l))
	}
	return n
}

func (m *QueryAutoResponsesRequest) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.ToAddress)
	if l > 0 {
		n += 1 + l + sovQuery(uint64(l))
	}
	l = len(m.FromAddress)
	if l > 0 {
		n += 1 + l + sovQuery(uint64(l))
	}
	if m.Pagination != nil {
		l = m.Pagination.Size()
		n += 2 + l + sovQuery(uint64(l))
	}
	return n
}

func (m *QueryAutoResponsesResponse) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	if len(m.AutoResponses) > 0 {
		for _, e := range m.AutoResponses {
			l = e.Size()
			n += 1 + l + sovQuery(uint64(l))
		}
	}
	if m.Pagination != nil {
		l = m.Pagination.Size()
		n += 2 + l + sovQuery(uint64(l))
	}
	return n
}

func sovQuery(x uint64) (n int) {
	return (math_bits.Len64(x|1) + 6) / 7
}
func sozQuery(x uint64) (n int) {
	return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63))))
}
func (m *QueryIsQuarantinedRequest) Unmarshal(dAtA []byte) error {
	l := len(dAtA)
	iNdEx := 0
	for iNdEx < l {
		preIndex := iNdEx
		var wire uint64
		for shift := uint(0); ; shift += 7 {
			if shift >= 64 {
				return ErrIntOverflowQuery
			}
			if iNdEx >= l {
				return io.ErrUnexpectedEOF
			}
			b := dAtA[iNdEx]
			iNdEx++
			wire |= uint64(b&0x7F) << shift
			if b < 0x80 {
				break
			}
		}
		fieldNum := int32(wire >> 3)
		wireType := int(wire & 0x7)
		if wireType == 4 {
			return fmt.Errorf("proto: QueryIsQuarantinedRequest: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: QueryIsQuarantinedRequest: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field ToAddress", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowQuery
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				stringLen |= uint64(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			intStringLen := int(stringLen)
			if intStringLen < 0 {
				return ErrInvalidLengthQuery
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthQuery
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.ToAddress = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		default:
			iNdEx = preIndex
			skippy, err := skipQuery(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthQuery
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			iNdEx += skippy
		}
	}

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *QueryIsQuarantinedResponse) Unmarshal(dAtA []byte) error {
	l := len(dAtA)
	iNdEx := 0
	for iNdEx < l {
		preIndex := iNdEx
		var wire uint64
		for shift := uint(0); ; shift += 7 {
			if shift >= 64 {
				return ErrIntOverflowQuery
			}
			if iNdEx >= l {
				return io.ErrUnexpectedEOF
			}
			b := dAtA[iNdEx]
			iNdEx++
			wire |= uint64(b&0x7F) << shift
			if b < 0x80 {
				break
			}
		}
		fieldNum := int32(wire >> 3)
		wireType := int(wire & 0x7)
		if wireType == 4 {
			return fmt.Errorf("proto: QueryIsQuarantinedResponse: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: QueryIsQuarantinedResponse: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 0 {
				return fmt.Errorf("proto: wrong wireType = %d for field IsQuarantined", wireType)
			}
			var v int
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowQuery
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				v |= int(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			m.IsQuarantined = bool(v != 0)
		default:
			iNdEx = preIndex
			skippy, err := skipQuery(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthQuery
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			iNdEx += skippy
		}
	}

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *QueryQuarantinedFundsRequest) Unmarshal(dAtA []byte) error {
	l := len(dAtA)
	iNdEx := 0
	for iNdEx < l {
		preIndex := iNdEx
		var wire uint64
		for shift := uint(0); ; shift += 7 {
			if shift >= 64 {
				return ErrIntOverflowQuery
			}
			if iNdEx >= l {
				return io.ErrUnexpectedEOF
			}
			b := dAtA[iNdEx]
			iNdEx++
			wire |= uint64(b&0x7F) << shift
			if b < 0x80 {
				break
			}
		}
		fieldNum := int32(wire >> 3)
		wireType := int(wire & 0x7)
		if wireType == 4 {
			return fmt.Errorf("proto: QueryQuarantinedFundsRequest: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: QueryQuarantinedFundsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field ToAddress", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowQuery
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				stringLen |= uint64(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			intStringLen := int(stringLen)
			if intStringLen < 0 {
				return ErrInvalidLengthQuery
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthQuery
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.ToAddress = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 2:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field FromAddress", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowQuery
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				stringLen |= uint64(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			intStringLen := int(stringLen)
			if intStringLen < 0 {
				return ErrInvalidLengthQuery
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthQuery
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.FromAddress = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 99:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType)
			}
			var msglen int
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowQuery
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				msglen |= int(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			if msglen < 0 {
				return ErrInvalidLengthQuery
			}
			postIndex := iNdEx + msglen
			if postIndex < 0 {
				return ErrInvalidLengthQuery
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			if m.Pagination == nil {
				m.Pagination = &query.PageRequest{}
			}
			if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
				return err
			}
			iNdEx = postIndex
		default:
			iNdEx = preIndex
			skippy, err := skipQuery(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthQuery
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			iNdEx += skippy
		}
	}

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *QueryQuarantinedFundsResponse) Unmarshal(dAtA []byte) error {
	l := len(dAtA)
	iNdEx := 0
	for iNdEx < l {
		preIndex := iNdEx
		var wire uint64
		for shift := uint(0); ; shift += 7 {
			if shift >= 64 {
				return ErrIntOverflowQuery
			}
			if iNdEx >= l {
				return io.ErrUnexpectedEOF
			}
			b := dAtA[iNdEx]
			iNdEx++
			wire |= uint64(b&0x7F) << shift
			if b < 0x80 {
				break
			}
		}
		fieldNum := int32(wire >> 3)
		wireType := int(wire & 0x7)
		if wireType == 4 {
			return fmt.Errorf("proto: QueryQuarantinedFundsResponse: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: QueryQuarantinedFundsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field QuarantinedFunds", wireType)
			}
			var msglen int
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowQuery
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				msglen |= int(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			if msglen < 0 {
				return ErrInvalidLengthQuery
			}
			postIndex := iNdEx + msglen
			if postIndex < 0 {
				return ErrInvalidLengthQuery
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.QuarantinedFunds = append(m.QuarantinedFunds, &QuarantinedFunds{})
			if err := m.QuarantinedFunds[len(m.QuarantinedFunds)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
				return err
			}
			iNdEx = postIndex
		case 99:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType)
			}
			var msglen int
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowQuery
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				msglen |= int(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			if msglen < 0 {
				return ErrInvalidLengthQuery
			}
			postIndex := iNdEx + msglen
			if postIndex < 0 {
				return ErrInvalidLengthQuery
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			if m.Pagination == nil {
				m.Pagination = &query.PageResponse{}
			}
			if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
				return err
			}
			iNdEx = postIndex
		default:
			iNdEx = preIndex
			skippy, err := skipQuery(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthQuery
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			iNdEx += skippy
		}
	}

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *QueryAutoResponsesRequest) Unmarshal(dAtA []byte) error {
	l := len(dAtA)
	iNdEx := 0
	for iNdEx < l {
		preIndex := iNdEx
		var wire uint64
		for shift := uint(0); ; shift += 7 {
			if shift >= 64 {
				return ErrIntOverflowQuery
			}
			if iNdEx >= l {
				return io.ErrUnexpectedEOF
			}
			b := dAtA[iNdEx]
			iNdEx++
			wire |= uint64(b&0x7F) << shift
			if b < 0x80 {
				break
			}
		}
		fieldNum := int32(wire >> 3)
		wireType := int(wire & 0x7)
		if wireType == 4 {
			return fmt.Errorf("proto: QueryAutoResponsesRequest: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: QueryAutoResponsesRequest: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field ToAddress", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowQuery
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				stringLen |= uint64(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			intStringLen := int(stringLen)
			if intStringLen < 0 {
				return ErrInvalidLengthQuery
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthQuery
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.ToAddress = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 2:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field FromAddress", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowQuery
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				stringLen |= uint64(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			intStringLen := int(stringLen)
			if intStringLen < 0 {
				return ErrInvalidLengthQuery
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthQuery
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.FromAddress = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 99:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType)
			}
			var msglen int
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowQuery
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				msglen |= int(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			if msglen < 0 {
				return ErrInvalidLengthQuery
			}
			postIndex := iNdEx + msglen
			if postIndex < 0 {
				return ErrInvalidLengthQuery
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			if m.Pagination == nil {
				m.Pagination = &query.PageRequest{}
			}
			if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
				return err
			}
			iNdEx = postIndex
		default:
			iNdEx = preIndex
			skippy, err := skipQuery(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthQuery
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			iNdEx += skippy
		}
	}

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *QueryAutoResponsesResponse) Unmarshal(dAtA []byte) error {
	l := len(dAtA)
	iNdEx := 0
	for iNdEx < l {
		preIndex := iNdEx
		var wire uint64
		for shift := uint(0); ; shift += 7 {
			if shift >= 64 {
				return ErrIntOverflowQuery
			}
			if iNdEx >= l {
				return io.ErrUnexpectedEOF
			}
			b := dAtA[iNdEx]
			iNdEx++
			wire |= uint64(b&0x7F) << shift
			if b < 0x80 {
				break
			}
		}
		fieldNum := int32(wire >> 3)
		wireType := int(wire & 0x7)
		if wireType == 4 {
			return fmt.Errorf("proto: QueryAutoResponsesResponse: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: QueryAutoResponsesResponse: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field AutoResponses", wireType)
			}
			var msglen int
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowQuery
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				msglen |= int(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			if msglen < 0 {
				return ErrInvalidLengthQuery
			}
			postIndex := iNdEx + msglen
			if postIndex < 0 {
				return ErrInvalidLengthQuery
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.AutoResponses = append(m.AutoResponses, &AutoResponseEntry{})
			if err := m.AutoResponses[len(m.AutoResponses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
				return err
			}
			iNdEx = postIndex
		case 99:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType)
			}
			var msglen int
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowQuery
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				msglen |= int(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			if msglen < 0 {
				return ErrInvalidLengthQuery
			}
			postIndex := iNdEx + msglen
			if postIndex < 0 {
				return ErrInvalidLengthQuery
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			if m.Pagination == nil {
				m.Pagination = &query.PageResponse{}
			}
			if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
				return err
			}
			iNdEx = postIndex
		default:
			iNdEx = preIndex
			skippy, err := skipQuery(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthQuery
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			iNdEx += skippy
		}
	}

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func skipQuery(dAtA []byte) (n int, err error) {
	l := len(dAtA)
	iNdEx := 0
	depth := 0
	for iNdEx < l {
		var wire uint64
		for shift := uint(0); ; shift += 7 {
			if shift >= 64 {
				return 0, ErrIntOverflowQuery
			}
			if iNdEx >= l {
				return 0, io.ErrUnexpectedEOF
			}
			b := dAtA[iNdEx]
			iNdEx++
			wire |= (uint64(b) & 0x7F) << shift
			if b < 0x80 {
				break
			}
		}
		wireType := int(wire & 0x7)
		switch wireType {
		case 0:
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return 0, ErrIntOverflowQuery
				}
				if iNdEx >= l {
					return 0, io.ErrUnexpectedEOF
				}
				iNdEx++
				if dAtA[iNdEx-1] < 0x80 {
					break
				}
			}
		case 1:
			iNdEx += 8
		case 2:
			var length int
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return 0, ErrIntOverflowQuery
				}
				if iNdEx >= l {
					return 0, io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				length |= (int(b) & 0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			if length < 0 {
				return 0, ErrInvalidLengthQuery
			}
			iNdEx += length
		case 3:
			depth++
		case 4:
			if depth == 0 {
				return 0, ErrUnexpectedEndOfGroupQuery
			}
			depth--
		case 5:
			iNdEx += 4
		default:
			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
		}
		if iNdEx < 0 {
			return 0, ErrInvalidLengthQuery
		}
		if depth == 0 {
			return iNdEx, nil
		}
	}
	return 0, io.ErrUnexpectedEOF
}

var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
