// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: hyperlane/core/post_dispatch/v1/query.proto

package types

import (
	context "context"
	fmt "fmt"
	github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
	types "github.com/cosmos/cosmos-sdk/types"
	query "github.com/cosmos/cosmos-sdk/types/query"
	_ "github.com/cosmos/cosmos-sdk/types/tx/amino"
	_ "github.com/cosmos/gogoproto/gogoproto"
	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

// QueryIgpsRequest ...
type QueryIgpsRequest struct {
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (m *QueryIgpsRequest) Reset()         { *m = QueryIgpsRequest{} }
func (m *QueryIgpsRequest) String() string { return proto.CompactTextString(m) }
func (*QueryIgpsRequest) ProtoMessage()    {}
func (*QueryIgpsRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_32e5ceb03adb8f60, []int{0}
}
func (m *QueryIgpsRequest) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *QueryIgpsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_QueryIgpsRequest.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 *QueryIgpsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryIgpsRequest.Merge(m, src)
}
func (m *QueryIgpsRequest) XXX_Size() int {
	return m.Size()
}
func (m *QueryIgpsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryIgpsRequest.DiscardUnknown(m)
}

var xxx_messageInfo_QueryIgpsRequest proto.InternalMessageInfo

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

// QueryIgpsResponse ...
type QueryIgpsResponse struct {
	Igps []InterchainGasPaymaster `protobuf:"bytes,1,rep,name=igps,proto3" json:"igps"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (m *QueryIgpsResponse) Reset()         { *m = QueryIgpsResponse{} }
func (m *QueryIgpsResponse) String() string { return proto.CompactTextString(m) }
func (*QueryIgpsResponse) ProtoMessage()    {}
func (*QueryIgpsResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_32e5ceb03adb8f60, []int{1}
}
func (m *QueryIgpsResponse) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *QueryIgpsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_QueryIgpsResponse.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 *QueryIgpsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryIgpsResponse.Merge(m, src)
}
func (m *QueryIgpsResponse) XXX_Size() int {
	return m.Size()
}
func (m *QueryIgpsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryIgpsResponse.DiscardUnknown(m)
}

var xxx_messageInfo_QueryIgpsResponse proto.InternalMessageInfo

func (m *QueryIgpsResponse) GetIgps() []InterchainGasPaymaster {
	if m != nil {
		return m.Igps
	}
	return nil
}

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

// QueryIgpRequest ...
type QueryIgpRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (m *QueryIgpRequest) Reset()         { *m = QueryIgpRequest{} }
func (m *QueryIgpRequest) String() string { return proto.CompactTextString(m) }
func (*QueryIgpRequest) ProtoMessage()    {}
func (*QueryIgpRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_32e5ceb03adb8f60, []int{2}
}
func (m *QueryIgpRequest) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *QueryIgpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_QueryIgpRequest.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 *QueryIgpRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryIgpRequest.Merge(m, src)
}
func (m *QueryIgpRequest) XXX_Size() int {
	return m.Size()
}
func (m *QueryIgpRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryIgpRequest.DiscardUnknown(m)
}

var xxx_messageInfo_QueryIgpRequest proto.InternalMessageInfo

func (m *QueryIgpRequest) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

// QueryIgpResponse ...
type QueryIgpResponse struct {
	Igp InterchainGasPaymaster `protobuf:"bytes,1,opt,name=igp,proto3" json:"igp"`
}

func (m *QueryIgpResponse) Reset()         { *m = QueryIgpResponse{} }
func (m *QueryIgpResponse) String() string { return proto.CompactTextString(m) }
func (*QueryIgpResponse) ProtoMessage()    {}
func (*QueryIgpResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_32e5ceb03adb8f60, []int{3}
}
func (m *QueryIgpResponse) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *QueryIgpResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_QueryIgpResponse.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 *QueryIgpResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryIgpResponse.Merge(m, src)
}
func (m *QueryIgpResponse) XXX_Size() int {
	return m.Size()
}
func (m *QueryIgpResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryIgpResponse.DiscardUnknown(m)
}

var xxx_messageInfo_QueryIgpResponse proto.InternalMessageInfo

func (m *QueryIgpResponse) GetIgp() InterchainGasPaymaster {
	if m != nil {
		return m.Igp
	}
	return InterchainGasPaymaster{}
}

// QueryDestinationGasConfigsRequest ...
type QueryDestinationGasConfigsRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (m *QueryDestinationGasConfigsRequest) Reset()         { *m = QueryDestinationGasConfigsRequest{} }
func (m *QueryDestinationGasConfigsRequest) String() string { return proto.CompactTextString(m) }
func (*QueryDestinationGasConfigsRequest) ProtoMessage()    {}
func (*QueryDestinationGasConfigsRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_32e5ceb03adb8f60, []int{4}
}
func (m *QueryDestinationGasConfigsRequest) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *QueryDestinationGasConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_QueryDestinationGasConfigsRequest.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 *QueryDestinationGasConfigsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryDestinationGasConfigsRequest.Merge(m, src)
}
func (m *QueryDestinationGasConfigsRequest) XXX_Size() int {
	return m.Size()
}
func (m *QueryDestinationGasConfigsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryDestinationGasConfigsRequest.DiscardUnknown(m)
}

var xxx_messageInfo_QueryDestinationGasConfigsRequest proto.InternalMessageInfo

func (m *QueryDestinationGasConfigsRequest) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

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

// QueryDestinationGasConfigsResponse ...
type QueryDestinationGasConfigsResponse struct {
	DestinationGasConfigs []*DestinationGasConfig `protobuf:"bytes,1,rep,name=destination_gas_configs,json=destinationGasConfigs,proto3" json:"destination_gas_configs,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (m *QueryDestinationGasConfigsResponse) Reset()         { *m = QueryDestinationGasConfigsResponse{} }
func (m *QueryDestinationGasConfigsResponse) String() string { return proto.CompactTextString(m) }
func (*QueryDestinationGasConfigsResponse) ProtoMessage()    {}
func (*QueryDestinationGasConfigsResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_32e5ceb03adb8f60, []int{5}
}
func (m *QueryDestinationGasConfigsResponse) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *QueryDestinationGasConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_QueryDestinationGasConfigsResponse.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 *QueryDestinationGasConfigsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryDestinationGasConfigsResponse.Merge(m, src)
}
func (m *QueryDestinationGasConfigsResponse) XXX_Size() int {
	return m.Size()
}
func (m *QueryDestinationGasConfigsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryDestinationGasConfigsResponse.DiscardUnknown(m)
}

var xxx_messageInfo_QueryDestinationGasConfigsResponse proto.InternalMessageInfo

func (m *QueryDestinationGasConfigsResponse) GetDestinationGasConfigs() []*DestinationGasConfig {
	if m != nil {
		return m.DestinationGasConfigs
	}
	return nil
}

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

// QueryQuoteGasPaymentRequest ...
type QueryQuoteGasPaymentRequest struct {
	IgpId             string `protobuf:"bytes,1,opt,name=igp_id,json=igpId,proto3" json:"igp_id,omitempty"`
	DestinationDomain string `protobuf:"bytes,2,opt,name=destination_domain,json=destinationDomain,proto3" json:"destination_domain,omitempty"`
	GasLimit          string `protobuf:"bytes,3,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
}

func (m *QueryQuoteGasPaymentRequest) Reset()         { *m = QueryQuoteGasPaymentRequest{} }
func (m *QueryQuoteGasPaymentRequest) String() string { return proto.CompactTextString(m) }
func (*QueryQuoteGasPaymentRequest) ProtoMessage()    {}
func (*QueryQuoteGasPaymentRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_32e5ceb03adb8f60, []int{6}
}
func (m *QueryQuoteGasPaymentRequest) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *QueryQuoteGasPaymentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_QueryQuoteGasPaymentRequest.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 *QueryQuoteGasPaymentRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryQuoteGasPaymentRequest.Merge(m, src)
}
func (m *QueryQuoteGasPaymentRequest) XXX_Size() int {
	return m.Size()
}
func (m *QueryQuoteGasPaymentRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryQuoteGasPaymentRequest.DiscardUnknown(m)
}

var xxx_messageInfo_QueryQuoteGasPaymentRequest proto.InternalMessageInfo

func (m *QueryQuoteGasPaymentRequest) GetIgpId() string {
	if m != nil {
		return m.IgpId
	}
	return ""
}

func (m *QueryQuoteGasPaymentRequest) GetDestinationDomain() string {
	if m != nil {
		return m.DestinationDomain
	}
	return ""
}

func (m *QueryQuoteGasPaymentRequest) GetGasLimit() string {
	if m != nil {
		return m.GasLimit
	}
	return ""
}

// QueryQuoteGasPaymentResponse ...
type QueryQuoteGasPaymentResponse struct {
	GasPayment github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=gas_payment,json=gasPayment,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"gas_payment"`
}

func (m *QueryQuoteGasPaymentResponse) Reset()         { *m = QueryQuoteGasPaymentResponse{} }
func (m *QueryQuoteGasPaymentResponse) String() string { return proto.CompactTextString(m) }
func (*QueryQuoteGasPaymentResponse) ProtoMessage()    {}
func (*QueryQuoteGasPaymentResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_32e5ceb03adb8f60, []int{7}
}
func (m *QueryQuoteGasPaymentResponse) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *QueryQuoteGasPaymentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_QueryQuoteGasPaymentResponse.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 *QueryQuoteGasPaymentResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryQuoteGasPaymentResponse.Merge(m, src)
}
func (m *QueryQuoteGasPaymentResponse) XXX_Size() int {
	return m.Size()
}
func (m *QueryQuoteGasPaymentResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryQuoteGasPaymentResponse.DiscardUnknown(m)
}

var xxx_messageInfo_QueryQuoteGasPaymentResponse proto.InternalMessageInfo

func (m *QueryQuoteGasPaymentResponse) GetGasPayment() github_com_cosmos_cosmos_sdk_types.Coins {
	if m != nil {
		return m.GasPayment
	}
	return nil
}

// QueryMerkleTreeHooksRequest ...
type QueryMerkleTreeHooksRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (m *QueryMerkleTreeHooksRequest) Reset()         { *m = QueryMerkleTreeHooksRequest{} }
func (m *QueryMerkleTreeHooksRequest) String() string { return proto.CompactTextString(m) }
func (*QueryMerkleTreeHooksRequest) ProtoMessage()    {}
func (*QueryMerkleTreeHooksRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_32e5ceb03adb8f60, []int{8}
}
func (m *QueryMerkleTreeHooksRequest) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *QueryMerkleTreeHooksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_QueryMerkleTreeHooksRequest.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 *QueryMerkleTreeHooksRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryMerkleTreeHooksRequest.Merge(m, src)
}
func (m *QueryMerkleTreeHooksRequest) XXX_Size() int {
	return m.Size()
}
func (m *QueryMerkleTreeHooksRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryMerkleTreeHooksRequest.DiscardUnknown(m)
}

var xxx_messageInfo_QueryMerkleTreeHooksRequest proto.InternalMessageInfo

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

// QueryMerkleTreeHooksResponse ...
type QueryMerkleTreeHooksResponse struct {
	MerkleTreeHooks []WrappedMerkleTreeHookResponse `protobuf:"bytes,1,rep,name=merkle_tree_hooks,json=merkleTreeHooks,proto3" json:"merkle_tree_hooks"`
	Pagination      *query.PageResponse             `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (m *QueryMerkleTreeHooksResponse) Reset()         { *m = QueryMerkleTreeHooksResponse{} }
func (m *QueryMerkleTreeHooksResponse) String() string { return proto.CompactTextString(m) }
func (*QueryMerkleTreeHooksResponse) ProtoMessage()    {}
func (*QueryMerkleTreeHooksResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_32e5ceb03adb8f60, []int{9}
}
func (m *QueryMerkleTreeHooksResponse) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *QueryMerkleTreeHooksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_QueryMerkleTreeHooksResponse.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 *QueryMerkleTreeHooksResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryMerkleTreeHooksResponse.Merge(m, src)
}
func (m *QueryMerkleTreeHooksResponse) XXX_Size() int {
	return m.Size()
}
func (m *QueryMerkleTreeHooksResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryMerkleTreeHooksResponse.DiscardUnknown(m)
}

var xxx_messageInfo_QueryMerkleTreeHooksResponse proto.InternalMessageInfo

func (m *QueryMerkleTreeHooksResponse) GetMerkleTreeHooks() []WrappedMerkleTreeHookResponse {
	if m != nil {
		return m.MerkleTreeHooks
	}
	return nil
}

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

// QueryMerkleTreeHookRequest ...
type QueryMerkleTreeHookRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (m *QueryMerkleTreeHookRequest) Reset()         { *m = QueryMerkleTreeHookRequest{} }
func (m *QueryMerkleTreeHookRequest) String() string { return proto.CompactTextString(m) }
func (*QueryMerkleTreeHookRequest) ProtoMessage()    {}
func (*QueryMerkleTreeHookRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_32e5ceb03adb8f60, []int{10}
}
func (m *QueryMerkleTreeHookRequest) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *QueryMerkleTreeHookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_QueryMerkleTreeHookRequest.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 *QueryMerkleTreeHookRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryMerkleTreeHookRequest.Merge(m, src)
}
func (m *QueryMerkleTreeHookRequest) XXX_Size() int {
	return m.Size()
}
func (m *QueryMerkleTreeHookRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryMerkleTreeHookRequest.DiscardUnknown(m)
}

var xxx_messageInfo_QueryMerkleTreeHookRequest proto.InternalMessageInfo

func (m *QueryMerkleTreeHookRequest) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

// QueryMerkleTreeHookResponse
type QueryMerkleTreeHookResponse struct {
	MerkleTreeHook WrappedMerkleTreeHookResponse `protobuf:"bytes,1,opt,name=merkle_tree_hook,json=merkleTreeHook,proto3" json:"merkle_tree_hook"`
}

func (m *QueryMerkleTreeHookResponse) Reset()         { *m = QueryMerkleTreeHookResponse{} }
func (m *QueryMerkleTreeHookResponse) String() string { return proto.CompactTextString(m) }
func (*QueryMerkleTreeHookResponse) ProtoMessage()    {}
func (*QueryMerkleTreeHookResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_32e5ceb03adb8f60, []int{11}
}
func (m *QueryMerkleTreeHookResponse) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *QueryMerkleTreeHookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_QueryMerkleTreeHookResponse.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 *QueryMerkleTreeHookResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryMerkleTreeHookResponse.Merge(m, src)
}
func (m *QueryMerkleTreeHookResponse) XXX_Size() int {
	return m.Size()
}
func (m *QueryMerkleTreeHookResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryMerkleTreeHookResponse.DiscardUnknown(m)
}

var xxx_messageInfo_QueryMerkleTreeHookResponse proto.InternalMessageInfo

func (m *QueryMerkleTreeHookResponse) GetMerkleTreeHook() WrappedMerkleTreeHookResponse {
	if m != nil {
		return m.MerkleTreeHook
	}
	return WrappedMerkleTreeHookResponse{}
}

// WrappedMerkleTreeHookResponse
type WrappedMerkleTreeHookResponse struct {
	Id         string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Owner      string        `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	MailboxId  string        `protobuf:"bytes,3,opt,name=mailbox_id,json=mailboxId,proto3" json:"mailbox_id,omitempty"`
	MerkleTree *TreeResponse `protobuf:"bytes,4,opt,name=merkle_tree,json=merkleTree,proto3" json:"merkle_tree,omitempty"`
}

func (m *WrappedMerkleTreeHookResponse) Reset()         { *m = WrappedMerkleTreeHookResponse{} }
func (m *WrappedMerkleTreeHookResponse) String() string { return proto.CompactTextString(m) }
func (*WrappedMerkleTreeHookResponse) ProtoMessage()    {}
func (*WrappedMerkleTreeHookResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_32e5ceb03adb8f60, []int{12}
}
func (m *WrappedMerkleTreeHookResponse) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *WrappedMerkleTreeHookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_WrappedMerkleTreeHookResponse.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 *WrappedMerkleTreeHookResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_WrappedMerkleTreeHookResponse.Merge(m, src)
}
func (m *WrappedMerkleTreeHookResponse) XXX_Size() int {
	return m.Size()
}
func (m *WrappedMerkleTreeHookResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_WrappedMerkleTreeHookResponse.DiscardUnknown(m)
}

var xxx_messageInfo_WrappedMerkleTreeHookResponse proto.InternalMessageInfo

func (m *WrappedMerkleTreeHookResponse) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *WrappedMerkleTreeHookResponse) GetOwner() string {
	if m != nil {
		return m.Owner
	}
	return ""
}

func (m *WrappedMerkleTreeHookResponse) GetMailboxId() string {
	if m != nil {
		return m.MailboxId
	}
	return ""
}

func (m *WrappedMerkleTreeHookResponse) GetMerkleTree() *TreeResponse {
	if m != nil {
		return m.MerkleTree
	}
	return nil
}

// TreeResponse
type TreeResponse struct {
	// leafs ...
	Leafs [][]byte `protobuf:"bytes,1,rep,name=leafs,proto3" json:"leafs,omitempty"`
	// count ...
	Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// root ...
	Root []byte `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"`
}

func (m *TreeResponse) Reset()         { *m = TreeResponse{} }
func (m *TreeResponse) String() string { return proto.CompactTextString(m) }
func (*TreeResponse) ProtoMessage()    {}
func (*TreeResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_32e5ceb03adb8f60, []int{13}
}
func (m *TreeResponse) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *TreeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_TreeResponse.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 *TreeResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_TreeResponse.Merge(m, src)
}
func (m *TreeResponse) XXX_Size() int {
	return m.Size()
}
func (m *TreeResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_TreeResponse.DiscardUnknown(m)
}

var xxx_messageInfo_TreeResponse proto.InternalMessageInfo

func (m *TreeResponse) GetLeafs() [][]byte {
	if m != nil {
		return m.Leafs
	}
	return nil
}

func (m *TreeResponse) GetCount() uint32 {
	if m != nil {
		return m.Count
	}
	return 0
}

func (m *TreeResponse) GetRoot() []byte {
	if m != nil {
		return m.Root
	}
	return nil
}

// QueryNoopHookRequest ...
type QueryNoopHookRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (m *QueryNoopHookRequest) Reset()         { *m = QueryNoopHookRequest{} }
func (m *QueryNoopHookRequest) String() string { return proto.CompactTextString(m) }
func (*QueryNoopHookRequest) ProtoMessage()    {}
func (*QueryNoopHookRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_32e5ceb03adb8f60, []int{14}
}
func (m *QueryNoopHookRequest) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *QueryNoopHookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_QueryNoopHookRequest.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 *QueryNoopHookRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryNoopHookRequest.Merge(m, src)
}
func (m *QueryNoopHookRequest) XXX_Size() int {
	return m.Size()
}
func (m *QueryNoopHookRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryNoopHookRequest.DiscardUnknown(m)
}

var xxx_messageInfo_QueryNoopHookRequest proto.InternalMessageInfo

func (m *QueryNoopHookRequest) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

// QueryNoopHookResponse ...
type QueryNoopHookResponse struct {
	NoopHook *NoopHook `protobuf:"bytes,1,opt,name=noop_hook,json=noopHook,proto3" json:"noop_hook,omitempty"`
}

func (m *QueryNoopHookResponse) Reset()         { *m = QueryNoopHookResponse{} }
func (m *QueryNoopHookResponse) String() string { return proto.CompactTextString(m) }
func (*QueryNoopHookResponse) ProtoMessage()    {}
func (*QueryNoopHookResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_32e5ceb03adb8f60, []int{15}
}
func (m *QueryNoopHookResponse) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *QueryNoopHookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_QueryNoopHookResponse.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 *QueryNoopHookResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryNoopHookResponse.Merge(m, src)
}
func (m *QueryNoopHookResponse) XXX_Size() int {
	return m.Size()
}
func (m *QueryNoopHookResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryNoopHookResponse.DiscardUnknown(m)
}

var xxx_messageInfo_QueryNoopHookResponse proto.InternalMessageInfo

func (m *QueryNoopHookResponse) GetNoopHook() *NoopHook {
	if m != nil {
		return m.NoopHook
	}
	return nil
}

// QueryNoopHooksRequest ...
type QueryNoopHooksRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (m *QueryNoopHooksRequest) Reset()         { *m = QueryNoopHooksRequest{} }
func (m *QueryNoopHooksRequest) String() string { return proto.CompactTextString(m) }
func (*QueryNoopHooksRequest) ProtoMessage()    {}
func (*QueryNoopHooksRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_32e5ceb03adb8f60, []int{16}
}
func (m *QueryNoopHooksRequest) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *QueryNoopHooksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_QueryNoopHooksRequest.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 *QueryNoopHooksRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryNoopHooksRequest.Merge(m, src)
}
func (m *QueryNoopHooksRequest) XXX_Size() int {
	return m.Size()
}
func (m *QueryNoopHooksRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryNoopHooksRequest.DiscardUnknown(m)
}

var xxx_messageInfo_QueryNoopHooksRequest proto.InternalMessageInfo

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

// QueryNoopHooksResponse ...
type QueryNoopHooksResponse struct {
	NoopHooks  []NoopHook          `protobuf:"bytes,1,rep,name=noop_hooks,json=noopHooks,proto3" json:"noop_hooks"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (m *QueryNoopHooksResponse) Reset()         { *m = QueryNoopHooksResponse{} }
func (m *QueryNoopHooksResponse) String() string { return proto.CompactTextString(m) }
func (*QueryNoopHooksResponse) ProtoMessage()    {}
func (*QueryNoopHooksResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_32e5ceb03adb8f60, []int{17}
}
func (m *QueryNoopHooksResponse) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *QueryNoopHooksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_QueryNoopHooksResponse.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 *QueryNoopHooksResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryNoopHooksResponse.Merge(m, src)
}
func (m *QueryNoopHooksResponse) XXX_Size() int {
	return m.Size()
}
func (m *QueryNoopHooksResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryNoopHooksResponse.DiscardUnknown(m)
}

var xxx_messageInfo_QueryNoopHooksResponse proto.InternalMessageInfo

func (m *QueryNoopHooksResponse) GetNoopHooks() []NoopHook {
	if m != nil {
		return m.NoopHooks
	}
	return nil
}

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

func init() {
	proto.RegisterType((*QueryIgpsRequest)(nil), "hyperlane.core.post_dispatch.v1.QueryIgpsRequest")
	proto.RegisterType((*QueryIgpsResponse)(nil), "hyperlane.core.post_dispatch.v1.QueryIgpsResponse")
	proto.RegisterType((*QueryIgpRequest)(nil), "hyperlane.core.post_dispatch.v1.QueryIgpRequest")
	proto.RegisterType((*QueryIgpResponse)(nil), "hyperlane.core.post_dispatch.v1.QueryIgpResponse")
	proto.RegisterType((*QueryDestinationGasConfigsRequest)(nil), "hyperlane.core.post_dispatch.v1.QueryDestinationGasConfigsRequest")
	proto.RegisterType((*QueryDestinationGasConfigsResponse)(nil), "hyperlane.core.post_dispatch.v1.QueryDestinationGasConfigsResponse")
	proto.RegisterType((*QueryQuoteGasPaymentRequest)(nil), "hyperlane.core.post_dispatch.v1.QueryQuoteGasPaymentRequest")
	proto.RegisterType((*QueryQuoteGasPaymentResponse)(nil), "hyperlane.core.post_dispatch.v1.QueryQuoteGasPaymentResponse")
	proto.RegisterType((*QueryMerkleTreeHooksRequest)(nil), "hyperlane.core.post_dispatch.v1.QueryMerkleTreeHooksRequest")
	proto.RegisterType((*QueryMerkleTreeHooksResponse)(nil), "hyperlane.core.post_dispatch.v1.QueryMerkleTreeHooksResponse")
	proto.RegisterType((*QueryMerkleTreeHookRequest)(nil), "hyperlane.core.post_dispatch.v1.QueryMerkleTreeHookRequest")
	proto.RegisterType((*QueryMerkleTreeHookResponse)(nil), "hyperlane.core.post_dispatch.v1.QueryMerkleTreeHookResponse")
	proto.RegisterType((*WrappedMerkleTreeHookResponse)(nil), "hyperlane.core.post_dispatch.v1.WrappedMerkleTreeHookResponse")
	proto.RegisterType((*TreeResponse)(nil), "hyperlane.core.post_dispatch.v1.TreeResponse")
	proto.RegisterType((*QueryNoopHookRequest)(nil), "hyperlane.core.post_dispatch.v1.QueryNoopHookRequest")
	proto.RegisterType((*QueryNoopHookResponse)(nil), "hyperlane.core.post_dispatch.v1.QueryNoopHookResponse")
	proto.RegisterType((*QueryNoopHooksRequest)(nil), "hyperlane.core.post_dispatch.v1.QueryNoopHooksRequest")
	proto.RegisterType((*QueryNoopHooksResponse)(nil), "hyperlane.core.post_dispatch.v1.QueryNoopHooksResponse")
}

func init() {
	proto.RegisterFile("hyperlane/core/post_dispatch/v1/query.proto", fileDescriptor_32e5ceb03adb8f60)
}

var fileDescriptor_32e5ceb03adb8f60 = []byte{
	// 1139 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcf, 0x6f, 0x1b, 0x45,
	0x14, 0xce, 0xe4, 0x47, 0x15, 0xbf, 0x84, 0xa4, 0x19, 0x25, 0x34, 0x75, 0x1b, 0x3b, 0x59, 0x41,
	0x1a, 0x4a, 0xbd, 0x5b, 0x07, 0xa5, 0x39, 0x50, 0x38, 0x24, 0x55, 0x83, 0x25, 0x88, 0x5a, 0x53,
	0x81, 0xd4, 0x8b, 0x35, 0xf6, 0x4e, 0xd7, 0xa3, 0x78, 0x77, 0x36, 0x3b, 0xeb, 0xd0, 0xa8, 0xaa,
	0x84, 0xb8, 0x21, 0x2e, 0xfc, 0xb8, 0x23, 0x8e, 0x88, 0x13, 0x07, 0x04, 0xe2, 0x0f, 0x40, 0xea,
	0xb1, 0x12, 0x17, 0x90, 0x50, 0x41, 0x09, 0x12, 0x7f, 0x06, 0x68, 0x67, 0x66, 0xed, 0x5d, 0xc7,
	0x8e, 0x9d, 0xe0, 0x8b, 0xbd, 0x3b, 0x33, 0xef, 0xbd, 0xef, 0xfb, 0x66, 0xde, 0x9b, 0xb7, 0xf0,
	0x7a, 0xfd, 0xd0, 0xa7, 0x41, 0x83, 0x78, 0xd4, 0xaa, 0xf1, 0x80, 0x5a, 0x3e, 0x17, 0x61, 0xc5,
	0x66, 0xc2, 0x27, 0x61, 0xad, 0x6e, 0x1d, 0x14, 0xad, 0xfd, 0x26, 0x0d, 0x0e, 0x4d, 0x3f, 0xe0,
	0x21, 0xc7, 0xf9, 0xd6, 0x62, 0x33, 0x5a, 0x6c, 0xa6, 0x16, 0x9b, 0x07, 0xc5, 0xec, 0xf5, 0x1a,
	0x17, 0x2e, 0x17, 0x56, 0x95, 0x08, 0xaa, 0x2c, 0xad, 0x83, 0x62, 0x95, 0x86, 0xa4, 0x68, 0xf9,
	0xc4, 0x61, 0x1e, 0x09, 0x19, 0xf7, 0x94, 0xb3, 0xec, 0x55, 0x87, 0x73, 0xa7, 0x41, 0x2d, 0xe2,
	0x33, 0x8b, 0x78, 0x1e, 0x0f, 0xe5, 0xa4, 0xd0, 0xb3, 0x73, 0xc4, 0x65, 0x1e, 0xb7, 0xe4, 0xaf,
	0x1e, 0x9a, 0x77, 0xb8, 0xc3, 0xe5, 0xa3, 0x15, 0x3d, 0xe9, 0xd1, 0xbe, 0x04, 0xc2, 0x43, 0x9f,
	0xc6, 0x5e, 0x73, 0x49, 0x7c, 0x31, 0xb2, 0x1a, 0x67, 0x1a, 0x93, 0xf1, 0x10, 0x2e, 0xde, 0x8f,
	0x50, 0x97, 0x1c, 0x5f, 0x94, 0xe9, 0x7e, 0x93, 0x8a, 0x10, 0xdf, 0x05, 0x68, 0x63, 0x5f, 0x44,
	0xcb, 0x68, 0x6d, 0x6a, 0x7d, 0xd5, 0x54, 0x8e, 0xcc, 0xc8, 0x91, 0xa9, 0x24, 0xd2, 0xee, 0xcc,
	0x7b, 0xc4, 0xa1, 0xda, 0xb6, 0x9c, 0xb0, 0x34, 0x7e, 0x40, 0x30, 0x97, 0x70, 0x2e, 0x7c, 0xee,
	0x09, 0x8a, 0x3f, 0x80, 0x71, 0xe6, 0xf8, 0x62, 0x11, 0x2d, 0x8f, 0xad, 0x4d, 0xad, 0x6f, 0x9a,
	0x7d, 0x14, 0x36, 0x4b, 0x5e, 0x48, 0x83, 0x5a, 0x9d, 0x30, 0x6f, 0x87, 0x88, 0x7b, 0xe4, 0xd0,
	0x25, 0x22, 0xa4, 0xc1, 0x56, 0xe6, 0xd9, 0x8b, 0xfc, 0xc8, 0xb7, 0xff, 0x7c, 0x7f, 0x1d, 0x95,
	0xa5, 0x3f, 0xbc, 0x93, 0x42, 0x3d, 0x2a, 0x51, 0x5f, 0xeb, 0x8b, 0x5a, 0x81, 0x4a, 0xc1, 0x5e,
	0x81, 0xd9, 0x18, 0x75, 0xac, 0xc8, 0x0c, 0x8c, 0x32, 0x5b, 0x2a, 0x91, 0x29, 0x8f, 0x32, 0xdb,
	0xa8, 0xb7, 0x55, 0x6b, 0xf1, 0x7a, 0x00, 0x63, 0xcc, 0xf1, 0xb5, 0x5c, 0xc3, 0xa0, 0x15, 0xb9,
	0x33, 0x9e, 0xc0, 0x8a, 0x8c, 0x74, 0x87, 0x8a, 0x50, 0x03, 0xdc, 0x21, 0x62, 0x9b, 0x7b, 0x8f,
	0x98, 0x23, 0x7a, 0xc0, 0xeb, 0xd8, 0xc0, 0xd1, 0x73, 0x6f, 0xe0, 0x1f, 0x08, 0x8c, 0xd3, 0xa2,
	0x6b, 0xe6, 0x2e, 0x5c, 0xb2, 0xdb, 0x0b, 0x2a, 0x0e, 0x11, 0x95, 0x9a, 0x5a, 0xa2, 0x37, 0x79,
	0xa3, 0xaf, 0x1a, 0xdd, 0x02, 0x94, 0x17, 0xec, 0x6e, 0x61, 0x87, 0xb7, 0xd1, 0x1f, 0x23, 0xb8,
	0x22, 0xe9, 0xdd, 0x6f, 0xf2, 0x90, 0xea, 0x6d, 0xa0, 0x5e, 0x18, 0xcb, 0xba, 0x00, 0x17, 0x98,
	0xe3, 0x57, 0x5a, 0xd2, 0x4e, 0x30, 0xc7, 0x2f, 0xd9, 0xb8, 0x00, 0x38, 0x49, 0xd7, 0xe6, 0x2e,
	0x61, 0x0a, 0x47, 0xa6, 0x3c, 0x97, 0x98, 0xb9, 0x23, 0x27, 0xf0, 0x15, 0xc8, 0x44, 0x8a, 0x34,
	0x98, 0xcb, 0xc2, 0xc5, 0x31, 0xb9, 0x6a, 0xd2, 0x21, 0xe2, 0xdd, 0xe8, 0xdd, 0xf8, 0x02, 0xc1,
	0xd5, 0xee, 0x10, 0xb4, 0xb6, 0xfb, 0x30, 0x15, 0x59, 0xfb, 0x6a, 0x58, 0xeb, 0x79, 0x39, 0xc5,
	0x36, 0xe6, 0xb9, 0xcd, 0x99, 0xb7, 0xb5, 0x11, 0x9d, 0x9f, 0xef, 0xfe, 0xcc, 0xaf, 0x39, 0x2c,
	0xac, 0x37, 0xab, 0x66, 0x8d, 0xbb, 0x96, 0x2e, 0x01, 0xea, 0xaf, 0x20, 0xec, 0x3d, 0x5d, 0x21,
	0x22, 0x03, 0xa1, 0xce, 0x1a, 0x38, 0xad, 0xd0, 0x06, 0xd5, 0xaa, 0xbc, 0x47, 0x83, 0xbd, 0x06,
	0x7d, 0x10, 0x50, 0xfa, 0x0e, 0xe7, 0x7b, 0x43, 0xaf, 0x0e, 0x2f, 0x62, 0xea, 0x27, 0xe2, 0x68,
	0xea, 0x4d, 0x98, 0x73, 0xe5, 0x54, 0x25, 0x0c, 0x28, 0xad, 0xd4, 0xa3, 0x49, 0x2d, 0xc0, 0xdb,
	0x7d, 0x0f, 0xd4, 0x87, 0x01, 0xf1, 0x7d, 0x6a, 0xa7, 0x7d, 0xc7, 0xae, 0x93, 0x59, 0x36, 0xeb,
	0xa6, 0xc3, 0x0f, 0xef, 0x78, 0xdd, 0x80, 0x6c, 0x17, 0x7e, 0xbd, 0x4a, 0xca, 0x97, 0xa8, 0xab,
	0xec, 0x2d, 0x35, 0x04, 0x5c, 0xec, 0x54, 0x43, 0x8b, 0x3f, 0x44, 0x31, 0x66, 0xd2, 0x62, 0x44,
	0x15, 0x7c, 0xe9, 0x54, 0xe3, 0x13, 0xa5, 0x67, 0x1e, 0x26, 0xf8, 0x47, 0x1e, 0x0d, 0x74, 0x3e,
	0xa8, 0x17, 0xbc, 0x04, 0xe0, 0x12, 0xd6, 0xa8, 0xf2, 0xc7, 0x51, 0x36, 0xa9, 0x24, 0xc8, 0xe8,
	0x91, 0x92, 0x8d, 0x77, 0x61, 0x2a, 0xc1, 0x6d, 0x71, 0x5c, 0xd2, 0x2a, 0xf4, 0xa5, 0x15, 0x81,
	0x69, 0x2b, 0xdf, 0x86, 0x6e, 0xec, 0xc2, 0x74, 0x72, 0x2e, 0x02, 0xd5, 0xa0, 0xe4, 0x91, 0x3a,
	0x3d, 0xd3, 0x65, 0xf5, 0x12, 0x8d, 0xd6, 0x78, 0xd3, 0x0b, 0x25, 0xd4, 0x97, 0xca, 0xea, 0x05,
	0x63, 0x18, 0x0f, 0x38, 0x57, 0x99, 0x3a, 0x5d, 0x96, 0xcf, 0xc6, 0x2a, 0xcc, 0xcb, 0xad, 0xd9,
	0xe5, 0xdc, 0x3f, 0x6d, 0x0f, 0x2b, 0xb0, 0xd0, 0xb1, 0x4e, 0x03, 0xb8, 0x0b, 0x19, 0x8f, 0x73,
	0x3f, 0xb9, 0x6b, 0xaf, 0xf5, 0xa5, 0xd7, 0xf2, 0x32, 0xe9, 0xe9, 0xa7, 0x13, 0x01, 0x86, 0x9e,
	0x94, 0x3f, 0x22, 0x78, 0xb9, 0x33, 0x82, 0xe6, 0xf0, 0x3e, 0x40, 0x8b, 0x43, 0x9c, 0x87, 0x83,
	0x93, 0x48, 0x9e, 0xb2, 0x4c, 0xcc, 0x67, 0x78, 0xc9, 0xb6, 0xfe, 0x2f, 0xc0, 0x84, 0x04, 0x8e,
	0x3f, 0x45, 0x30, 0x1e, 0x35, 0x1c, 0xb8, 0xd8, 0x17, 0x5c, 0x67, 0xe7, 0x93, 0x5d, 0x3f, 0x8b,
	0x89, 0x42, 0x61, 0x64, 0x3f, 0xf9, 0xf5, 0xef, 0xaf, 0x46, 0xe7, 0x31, 0xb6, 0xda, 0x7d, 0xd9,
	0x41, 0xd1, 0x92, 0x3d, 0xc9, 0x67, 0x08, 0xc6, 0x4a, 0x8e, 0x8f, 0x6f, 0x0e, 0xec, 0x37, 0x46,
	0x52, 0x3c, 0x83, 0x85, 0x06, 0x92, 0x97, 0x40, 0x2e, 0xe3, 0x4b, 0x27, 0x81, 0x58, 0x4f, 0x98,
	0xfd, 0x14, 0xff, 0x8e, 0x60, 0xa1, 0xeb, 0x4d, 0x8e, 0xb7, 0x06, 0x8b, 0x76, 0x5a, 0x13, 0x92,
	0xdd, 0xfe, 0x5f, 0x3e, 0x34, 0x87, 0x4d, 0xc9, 0xa1, 0x88, 0xad, 0x1e, 0x1c, 0xac, 0x1e, 0x8d,
	0x06, 0xfe, 0x05, 0x45, 0x5d, 0x5b, 0xea, 0x0e, 0xc5, 0xb7, 0x07, 0x43, 0xd4, 0xfd, 0xf6, 0xcf,
	0xbe, 0x75, 0x4e, 0x6b, 0xcd, 0x64, 0x43, 0x32, 0xb1, 0x70, 0xa1, 0x2b, 0x13, 0xd9, 0x56, 0x3c,
	0xb5, 0xf6, 0x23, 0xe3, 0x4a, 0xe2, 0x82, 0xc7, 0x3f, 0x21, 0x98, 0xed, 0xb8, 0x10, 0x07, 0xe5,
	0xd1, 0xfd, 0xbe, 0x1e, 0x94, 0x47, 0x8f, 0x5b, 0xd8, 0xb8, 0x26, 0x79, 0xac, 0xe0, 0x7c, 0x9a,
	0xc7, 0x89, 0x9b, 0x19, 0xff, 0x8c, 0x60, 0x26, 0xed, 0x04, 0xbf, 0x79, 0x9e, 0xd0, 0x31, 0xee,
	0xdb, 0xe7, 0x33, 0xd6, 0xb0, 0x6f, 0x48, 0xd8, 0xab, 0xf8, 0x95, 0x3e, 0xb0, 0x55, 0x66, 0x7c,
	0x8d, 0x20, 0xd3, 0xaa, 0x78, 0xf8, 0xd6, 0x60, 0x91, 0x3b, 0x8b, 0x70, 0x76, 0xf3, 0xcc, 0x76,
	0x1a, 0xec, 0xb2, 0x04, 0x9b, 0xc5, 0x8b, 0x69, 0xb0, 0xed, 0x72, 0x8b, 0xbf, 0x41, 0x30, 0x19,
	0xdb, 0xe1, 0x8d, 0xb3, 0xc5, 0x89, 0xe1, 0xdd, 0x3a, 0xab, 0x99, 0x46, 0xf7, 0xaa, 0x44, 0x97,
	0xc7, 0x4b, 0xbd, 0xd0, 0x49, 0x0d, 0xb7, 0x6a, 0xcf, 0x8e, 0x72, 0xe8, 0xf9, 0x51, 0x0e, 0xfd,
	0x75, 0x94, 0x43, 0x9f, 0x1f, 0xe7, 0x46, 0x9e, 0x1f, 0xe7, 0x46, 0x7e, 0x3b, 0xce, 0x8d, 0x3c,
	0x2c, 0x25, 0x7a, 0xd1, 0x6a, 0xcd, 0x2f, 0x30, 0xcf, 0xe3, 0x07, 0xea, 0xdb, 0xb7, 0xed, 0xb2,
	0xa0, 0xbb, 0xd4, 0xc7, 0xea, 0xa3, 0xf6, 0xe6, 0x7a, 0x25, 0xfd, 0x5d, 0x2b, 0x5b, 0xd6, 0xea,
	0x05, 0xf9, 0xd5, 0xfa, 0xc6, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xe5, 0x40, 0x2e, 0x8d, 0xc5,
	0x0f, 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.
type QueryClient interface {
	// Igps ...
	Igps(ctx context.Context, in *QueryIgpsRequest, opts ...grpc.CallOption) (*QueryIgpsResponse, error)
	// Igp ...
	Igp(ctx context.Context, in *QueryIgpRequest, opts ...grpc.CallOption) (*QueryIgpResponse, error)
	// DestinationGasConfigs ...
	DestinationGasConfigs(ctx context.Context, in *QueryDestinationGasConfigsRequest, opts ...grpc.CallOption) (*QueryDestinationGasConfigsResponse, error)
	// QuoteGasPayment ...
	QuoteGasPayment(ctx context.Context, in *QueryQuoteGasPaymentRequest, opts ...grpc.CallOption) (*QueryQuoteGasPaymentResponse, error)
	// MerkleTreeHooks ...
	MerkleTreeHooks(ctx context.Context, in *QueryMerkleTreeHooksRequest, opts ...grpc.CallOption) (*QueryMerkleTreeHooksResponse, error)
	// MerkleTreeHook ...
	MerkleTreeHook(ctx context.Context, in *QueryMerkleTreeHookRequest, opts ...grpc.CallOption) (*QueryMerkleTreeHookResponse, error)
	// NoopHooks ...
	NoopHooks(ctx context.Context, in *QueryNoopHooksRequest, opts ...grpc.CallOption) (*QueryNoopHooksResponse, error)
	// NoopHook ...
	NoopHook(ctx context.Context, in *QueryNoopHookRequest, opts ...grpc.CallOption) (*QueryNoopHookResponse, error)
}

type queryClient struct {
	cc grpc1.ClientConn
}

func NewQueryClient(cc grpc1.ClientConn) QueryClient {
	return &queryClient{cc}
}

func (c *queryClient) Igps(ctx context.Context, in *QueryIgpsRequest, opts ...grpc.CallOption) (*QueryIgpsResponse, error) {
	out := new(QueryIgpsResponse)
	err := c.cc.Invoke(ctx, "/hyperlane.core.post_dispatch.v1.Query/Igps", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *queryClient) Igp(ctx context.Context, in *QueryIgpRequest, opts ...grpc.CallOption) (*QueryIgpResponse, error) {
	out := new(QueryIgpResponse)
	err := c.cc.Invoke(ctx, "/hyperlane.core.post_dispatch.v1.Query/Igp", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *queryClient) DestinationGasConfigs(ctx context.Context, in *QueryDestinationGasConfigsRequest, opts ...grpc.CallOption) (*QueryDestinationGasConfigsResponse, error) {
	out := new(QueryDestinationGasConfigsResponse)
	err := c.cc.Invoke(ctx, "/hyperlane.core.post_dispatch.v1.Query/DestinationGasConfigs", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *queryClient) QuoteGasPayment(ctx context.Context, in *QueryQuoteGasPaymentRequest, opts ...grpc.CallOption) (*QueryQuoteGasPaymentResponse, error) {
	out := new(QueryQuoteGasPaymentResponse)
	err := c.cc.Invoke(ctx, "/hyperlane.core.post_dispatch.v1.Query/QuoteGasPayment", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *queryClient) MerkleTreeHooks(ctx context.Context, in *QueryMerkleTreeHooksRequest, opts ...grpc.CallOption) (*QueryMerkleTreeHooksResponse, error) {
	out := new(QueryMerkleTreeHooksResponse)
	err := c.cc.Invoke(ctx, "/hyperlane.core.post_dispatch.v1.Query/MerkleTreeHooks", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *queryClient) MerkleTreeHook(ctx context.Context, in *QueryMerkleTreeHookRequest, opts ...grpc.CallOption) (*QueryMerkleTreeHookResponse, error) {
	out := new(QueryMerkleTreeHookResponse)
	err := c.cc.Invoke(ctx, "/hyperlane.core.post_dispatch.v1.Query/MerkleTreeHook", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *queryClient) NoopHooks(ctx context.Context, in *QueryNoopHooksRequest, opts ...grpc.CallOption) (*QueryNoopHooksResponse, error) {
	out := new(QueryNoopHooksResponse)
	err := c.cc.Invoke(ctx, "/hyperlane.core.post_dispatch.v1.Query/NoopHooks", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *queryClient) NoopHook(ctx context.Context, in *QueryNoopHookRequest, opts ...grpc.CallOption) (*QueryNoopHookResponse, error) {
	out := new(QueryNoopHookResponse)
	err := c.cc.Invoke(ctx, "/hyperlane.core.post_dispatch.v1.Query/NoopHook", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// QueryServer is the server API for Query service.
type QueryServer interface {
	// Igps ...
	Igps(context.Context, *QueryIgpsRequest) (*QueryIgpsResponse, error)
	// Igp ...
	Igp(context.Context, *QueryIgpRequest) (*QueryIgpResponse, error)
	// DestinationGasConfigs ...
	DestinationGasConfigs(context.Context, *QueryDestinationGasConfigsRequest) (*QueryDestinationGasConfigsResponse, error)
	// QuoteGasPayment ...
	QuoteGasPayment(context.Context, *QueryQuoteGasPaymentRequest) (*QueryQuoteGasPaymentResponse, error)
	// MerkleTreeHooks ...
	MerkleTreeHooks(context.Context, *QueryMerkleTreeHooksRequest) (*QueryMerkleTreeHooksResponse, error)
	// MerkleTreeHook ...
	MerkleTreeHook(context.Context, *QueryMerkleTreeHookRequest) (*QueryMerkleTreeHookResponse, error)
	// NoopHooks ...
	NoopHooks(context.Context, *QueryNoopHooksRequest) (*QueryNoopHooksResponse, error)
	// NoopHook ...
	NoopHook(context.Context, *QueryNoopHookRequest) (*QueryNoopHookResponse, error)
}

// UnimplementedQueryServer can be embedded to have forward compatible implementations.
type UnimplementedQueryServer struct {
}

func (*UnimplementedQueryServer) Igps(ctx context.Context, req *QueryIgpsRequest) (*QueryIgpsResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Igps not implemented")
}
func (*UnimplementedQueryServer) Igp(ctx context.Context, req *QueryIgpRequest) (*QueryIgpResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Igp not implemented")
}
func (*UnimplementedQueryServer) DestinationGasConfigs(ctx context.Context, req *QueryDestinationGasConfigsRequest) (*QueryDestinationGasConfigsResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DestinationGasConfigs not implemented")
}
func (*UnimplementedQueryServer) QuoteGasPayment(ctx context.Context, req *QueryQuoteGasPaymentRequest) (*QueryQuoteGasPaymentResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method QuoteGasPayment not implemented")
}
func (*UnimplementedQueryServer) MerkleTreeHooks(ctx context.Context, req *QueryMerkleTreeHooksRequest) (*QueryMerkleTreeHooksResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method MerkleTreeHooks not implemented")
}
func (*UnimplementedQueryServer) MerkleTreeHook(ctx context.Context, req *QueryMerkleTreeHookRequest) (*QueryMerkleTreeHookResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method MerkleTreeHook not implemented")
}
func (*UnimplementedQueryServer) NoopHooks(ctx context.Context, req *QueryNoopHooksRequest) (*QueryNoopHooksResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method NoopHooks not implemented")
}
func (*UnimplementedQueryServer) NoopHook(ctx context.Context, req *QueryNoopHookRequest) (*QueryNoopHookResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method NoopHook not implemented")
}

func RegisterQueryServer(s grpc1.Server, srv QueryServer) {
	s.RegisterService(&_Query_serviceDesc, srv)
}

func _Query_Igps_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(QueryIgpsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryServer).Igps(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/hyperlane.core.post_dispatch.v1.Query/Igps",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(QueryServer).Igps(ctx, req.(*QueryIgpsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _Query_Igp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(QueryIgpRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryServer).Igp(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/hyperlane.core.post_dispatch.v1.Query/Igp",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(QueryServer).Igp(ctx, req.(*QueryIgpRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _Query_DestinationGasConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(QueryDestinationGasConfigsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryServer).DestinationGasConfigs(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/hyperlane.core.post_dispatch.v1.Query/DestinationGasConfigs",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(QueryServer).DestinationGasConfigs(ctx, req.(*QueryDestinationGasConfigsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _Query_QuoteGasPayment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(QueryQuoteGasPaymentRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryServer).QuoteGasPayment(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/hyperlane.core.post_dispatch.v1.Query/QuoteGasPayment",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(QueryServer).QuoteGasPayment(ctx, req.(*QueryQuoteGasPaymentRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _Query_MerkleTreeHooks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(QueryMerkleTreeHooksRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryServer).MerkleTreeHooks(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/hyperlane.core.post_dispatch.v1.Query/MerkleTreeHooks",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(QueryServer).MerkleTreeHooks(ctx, req.(*QueryMerkleTreeHooksRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _Query_MerkleTreeHook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(QueryMerkleTreeHookRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryServer).MerkleTreeHook(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/hyperlane.core.post_dispatch.v1.Query/MerkleTreeHook",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(QueryServer).MerkleTreeHook(ctx, req.(*QueryMerkleTreeHookRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _Query_NoopHooks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(QueryNoopHooksRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryServer).NoopHooks(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/hyperlane.core.post_dispatch.v1.Query/NoopHooks",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(QueryServer).NoopHooks(ctx, req.(*QueryNoopHooksRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _Query_NoopHook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(QueryNoopHookRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryServer).NoopHook(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/hyperlane.core.post_dispatch.v1.Query/NoopHook",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(QueryServer).NoopHook(ctx, req.(*QueryNoopHookRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var Query_serviceDesc = _Query_serviceDesc
var _Query_serviceDesc = grpc.ServiceDesc{
	ServiceName: "hyperlane.core.post_dispatch.v1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Igps",
			Handler:    _Query_Igps_Handler,
		},
		{
			MethodName: "Igp",
			Handler:    _Query_Igp_Handler,
		},
		{
			MethodName: "DestinationGasConfigs",
			Handler:    _Query_DestinationGasConfigs_Handler,
		},
		{
			MethodName: "QuoteGasPayment",
			Handler:    _Query_QuoteGasPayment_Handler,
		},
		{
			MethodName: "MerkleTreeHooks",
			Handler:    _Query_MerkleTreeHooks_Handler,
		},
		{
			MethodName: "MerkleTreeHook",
			Handler:    _Query_MerkleTreeHook_Handler,
		},
		{
			MethodName: "NoopHooks",
			Handler:    _Query_NoopHooks_Handler,
		},
		{
			MethodName: "NoopHook",
			Handler:    _Query_NoopHook_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "hyperlane/core/post_dispatch/v1/query.proto",
}

func (m *QueryIgpsRequest) 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 *QueryIgpsRequest) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *QueryIgpsRequest) 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] = 0xa
	}
	return len(dAtA) - i, nil
}

func (m *QueryIgpsResponse) 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 *QueryIgpsResponse) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *QueryIgpsResponse) 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] = 0x12
	}
	if len(m.Igps) > 0 {
		for iNdEx := len(m.Igps) - 1; iNdEx >= 0; iNdEx-- {
			{
				size, err := m.Igps[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 *QueryIgpRequest) 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 *QueryIgpRequest) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

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

func (m *QueryIgpResponse) 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 *QueryIgpResponse) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *QueryIgpResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	{
		size, err := m.Igp.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 *QueryDestinationGasConfigsRequest) 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 *QueryDestinationGasConfigsRequest) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *QueryDestinationGasConfigsRequest) 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] = 0x12
	}
	if len(m.Id) > 0 {
		i -= len(m.Id)
		copy(dAtA[i:], m.Id)
		i = encodeVarintQuery(dAtA, i, uint64(len(m.Id)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

func (m *QueryDestinationGasConfigsResponse) 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 *QueryDestinationGasConfigsResponse) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *QueryDestinationGasConfigsResponse) 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] = 0x12
	}
	if len(m.DestinationGasConfigs) > 0 {
		for iNdEx := len(m.DestinationGasConfigs) - 1; iNdEx >= 0; iNdEx-- {
			{
				size, err := m.DestinationGasConfigs[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 *QueryQuoteGasPaymentRequest) 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 *QueryQuoteGasPaymentRequest) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

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

func (m *QueryQuoteGasPaymentResponse) 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 *QueryQuoteGasPaymentResponse) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *QueryQuoteGasPaymentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if len(m.GasPayment) > 0 {
		for iNdEx := len(m.GasPayment) - 1; iNdEx >= 0; iNdEx-- {
			{
				size, err := m.GasPayment[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 *QueryMerkleTreeHooksRequest) 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 *QueryMerkleTreeHooksRequest) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *QueryMerkleTreeHooksRequest) 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] = 0xa
	}
	return len(dAtA) - i, nil
}

func (m *QueryMerkleTreeHooksResponse) 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 *QueryMerkleTreeHooksResponse) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *QueryMerkleTreeHooksResponse) 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] = 0x12
	}
	if len(m.MerkleTreeHooks) > 0 {
		for iNdEx := len(m.MerkleTreeHooks) - 1; iNdEx >= 0; iNdEx-- {
			{
				size, err := m.MerkleTreeHooks[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 *QueryMerkleTreeHookRequest) 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 *QueryMerkleTreeHookRequest) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

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

func (m *QueryMerkleTreeHookResponse) 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 *QueryMerkleTreeHookResponse) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *QueryMerkleTreeHookResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	{
		size, err := m.MerkleTreeHook.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 *WrappedMerkleTreeHookResponse) 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 *WrappedMerkleTreeHookResponse) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *WrappedMerkleTreeHookResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if m.MerkleTree != nil {
		{
			size, err := m.MerkleTree.MarshalToSizedBuffer(dAtA[:i])
			if err != nil {
				return 0, err
			}
			i -= size
			i = encodeVarintQuery(dAtA, i, uint64(size))
		}
		i--
		dAtA[i] = 0x22
	}
	if len(m.MailboxId) > 0 {
		i -= len(m.MailboxId)
		copy(dAtA[i:], m.MailboxId)
		i = encodeVarintQuery(dAtA, i, uint64(len(m.MailboxId)))
		i--
		dAtA[i] = 0x1a
	}
	if len(m.Owner) > 0 {
		i -= len(m.Owner)
		copy(dAtA[i:], m.Owner)
		i = encodeVarintQuery(dAtA, i, uint64(len(m.Owner)))
		i--
		dAtA[i] = 0x12
	}
	if len(m.Id) > 0 {
		i -= len(m.Id)
		copy(dAtA[i:], m.Id)
		i = encodeVarintQuery(dAtA, i, uint64(len(m.Id)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

func (m *TreeResponse) 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 *TreeResponse) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *TreeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if len(m.Root) > 0 {
		i -= len(m.Root)
		copy(dAtA[i:], m.Root)
		i = encodeVarintQuery(dAtA, i, uint64(len(m.Root)))
		i--
		dAtA[i] = 0x1a
	}
	if m.Count != 0 {
		i = encodeVarintQuery(dAtA, i, uint64(m.Count))
		i--
		dAtA[i] = 0x10
	}
	if len(m.Leafs) > 0 {
		for iNdEx := len(m.Leafs) - 1; iNdEx >= 0; iNdEx-- {
			i -= len(m.Leafs[iNdEx])
			copy(dAtA[i:], m.Leafs[iNdEx])
			i = encodeVarintQuery(dAtA, i, uint64(len(m.Leafs[iNdEx])))
			i--
			dAtA[i] = 0xa
		}
	}
	return len(dAtA) - i, nil
}

func (m *QueryNoopHookRequest) 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 *QueryNoopHookRequest) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

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

func (m *QueryNoopHookResponse) 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 *QueryNoopHookResponse) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *QueryNoopHookResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if m.NoopHook != nil {
		{
			size, err := m.NoopHook.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 *QueryNoopHooksRequest) 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 *QueryNoopHooksRequest) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *QueryNoopHooksRequest) 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] = 0xa
	}
	return len(dAtA) - i, nil
}

func (m *QueryNoopHooksResponse) 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 *QueryNoopHooksResponse) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *QueryNoopHooksResponse) 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] = 0x12
	}
	if len(m.NoopHooks) > 0 {
		for iNdEx := len(m.NoopHooks) - 1; iNdEx >= 0; iNdEx-- {
			{
				size, err := m.NoopHooks[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 *QueryIgpsRequest) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	if m.Pagination != nil {
		l = m.Pagination.Size()
		n += 1 + l + sovQuery(uint64(l))
	}
	return n
}

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

func (m *QueryIgpRequest) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.Id)
	if l > 0 {
		n += 1 + l + sovQuery(uint64(l))
	}
	return n
}

func (m *QueryIgpResponse) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = m.Igp.Size()
	n += 1 + l + sovQuery(uint64(l))
	return n
}

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

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

func (m *QueryQuoteGasPaymentRequest) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.IgpId)
	if l > 0 {
		n += 1 + l + sovQuery(uint64(l))
	}
	l = len(m.DestinationDomain)
	if l > 0 {
		n += 1 + l + sovQuery(uint64(l))
	}
	l = len(m.GasLimit)
	if l > 0 {
		n += 1 + l + sovQuery(uint64(l))
	}
	return n
}

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

func (m *QueryMerkleTreeHooksRequest) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	if m.Pagination != nil {
		l = m.Pagination.Size()
		n += 1 + l + sovQuery(uint64(l))
	}
	return n
}

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

func (m *QueryMerkleTreeHookRequest) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.Id)
	if l > 0 {
		n += 1 + l + sovQuery(uint64(l))
	}
	return n
}

func (m *QueryMerkleTreeHookResponse) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = m.MerkleTreeHook.Size()
	n += 1 + l + sovQuery(uint64(l))
	return n
}

func (m *WrappedMerkleTreeHookResponse) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.Id)
	if l > 0 {
		n += 1 + l + sovQuery(uint64(l))
	}
	l = len(m.Owner)
	if l > 0 {
		n += 1 + l + sovQuery(uint64(l))
	}
	l = len(m.MailboxId)
	if l > 0 {
		n += 1 + l + sovQuery(uint64(l))
	}
	if m.MerkleTree != nil {
		l = m.MerkleTree.Size()
		n += 1 + l + sovQuery(uint64(l))
	}
	return n
}

func (m *TreeResponse) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	if len(m.Leafs) > 0 {
		for _, b := range m.Leafs {
			l = len(b)
			n += 1 + l + sovQuery(uint64(l))
		}
	}
	if m.Count != 0 {
		n += 1 + sovQuery(uint64(m.Count))
	}
	l = len(m.Root)
	if l > 0 {
		n += 1 + l + sovQuery(uint64(l))
	}
	return n
}

func (m *QueryNoopHookRequest) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.Id)
	if l > 0 {
		n += 1 + l + sovQuery(uint64(l))
	}
	return n
}

func (m *QueryNoopHookResponse) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	if m.NoopHook != nil {
		l = m.NoopHook.Size()
		n += 1 + l + sovQuery(uint64(l))
	}
	return n
}

func (m *QueryNoopHooksRequest) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	if m.Pagination != nil {
		l = m.Pagination.Size()
		n += 1 + l + sovQuery(uint64(l))
	}
	return n
}

func (m *QueryNoopHooksResponse) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	if len(m.NoopHooks) > 0 {
		for _, e := range m.NoopHooks {
			l = e.Size()
			n += 1 + l + sovQuery(uint64(l))
		}
	}
	if m.Pagination != nil {
		l = m.Pagination.Size()
		n += 1 + 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 *QueryIgpsRequest) 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: QueryIgpsRequest: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: QueryIgpsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			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 *QueryIgpsResponse) 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: QueryIgpsResponse: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: QueryIgpsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Igps", 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.Igps = append(m.Igps, InterchainGasPaymaster{})
			if err := m.Igps[len(m.Igps)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
				return err
			}
			iNdEx = postIndex
		case 2:
			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 *QueryIgpRequest) 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: QueryIgpRequest: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: QueryIgpRequest: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Id", 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.Id = 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 *QueryIgpResponse) 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: QueryIgpResponse: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: QueryIgpResponse: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Igp", 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 err := m.Igp.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 *QueryDestinationGasConfigsRequest) 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: QueryDestinationGasConfigsRequest: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: QueryDestinationGasConfigsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Id", 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.Id = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 2:
			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 *QueryDestinationGasConfigsResponse) 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: QueryDestinationGasConfigsResponse: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: QueryDestinationGasConfigsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field DestinationGasConfigs", 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.DestinationGasConfigs = append(m.DestinationGasConfigs, &DestinationGasConfig{})
			if err := m.DestinationGasConfigs[len(m.DestinationGasConfigs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
				return err
			}
			iNdEx = postIndex
		case 2:
			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 *QueryQuoteGasPaymentRequest) 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: QueryQuoteGasPaymentRequest: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: QueryQuoteGasPaymentRequest: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field IgpId", 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.IgpId = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 2:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field DestinationDomain", 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.DestinationDomain = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 3:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field GasLimit", 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.GasLimit = 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 *QueryQuoteGasPaymentResponse) 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: QueryQuoteGasPaymentResponse: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: QueryQuoteGasPaymentResponse: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field GasPayment", 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.GasPayment = append(m.GasPayment, types.Coin{})
			if err := m.GasPayment[len(m.GasPayment)-1].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 *QueryMerkleTreeHooksRequest) 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: QueryMerkleTreeHooksRequest: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: QueryMerkleTreeHooksRequest: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			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 *QueryMerkleTreeHooksResponse) 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: QueryMerkleTreeHooksResponse: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: QueryMerkleTreeHooksResponse: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field MerkleTreeHooks", 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.MerkleTreeHooks = append(m.MerkleTreeHooks, WrappedMerkleTreeHookResponse{})
			if err := m.MerkleTreeHooks[len(m.MerkleTreeHooks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
				return err
			}
			iNdEx = postIndex
		case 2:
			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 *QueryMerkleTreeHookRequest) 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: QueryMerkleTreeHookRequest: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: QueryMerkleTreeHookRequest: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Id", 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.Id = 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 *QueryMerkleTreeHookResponse) 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: QueryMerkleTreeHookResponse: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: QueryMerkleTreeHookResponse: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field MerkleTreeHook", 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 err := m.MerkleTreeHook.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 *WrappedMerkleTreeHookResponse) 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: WrappedMerkleTreeHookResponse: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: WrappedMerkleTreeHookResponse: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Id", 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.Id = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 2:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Owner", 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.Owner = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 3:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field MailboxId", 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.MailboxId = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 4:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field MerkleTree", 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.MerkleTree == nil {
				m.MerkleTree = &TreeResponse{}
			}
			if err := m.MerkleTree.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 *TreeResponse) 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: TreeResponse: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: TreeResponse: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Leafs", wireType)
			}
			var byteLen int
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowQuery
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				byteLen |= int(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			if byteLen < 0 {
				return ErrInvalidLengthQuery
			}
			postIndex := iNdEx + byteLen
			if postIndex < 0 {
				return ErrInvalidLengthQuery
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.Leafs = append(m.Leafs, make([]byte, postIndex-iNdEx))
			copy(m.Leafs[len(m.Leafs)-1], dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 2:
			if wireType != 0 {
				return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
			}
			m.Count = 0
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowQuery
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				m.Count |= uint32(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
		case 3:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Root", wireType)
			}
			var byteLen int
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowQuery
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				byteLen |= int(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			if byteLen < 0 {
				return ErrInvalidLengthQuery
			}
			postIndex := iNdEx + byteLen
			if postIndex < 0 {
				return ErrInvalidLengthQuery
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.Root = append(m.Root[:0], dAtA[iNdEx:postIndex]...)
			if m.Root == nil {
				m.Root = []byte{}
			}
			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 *QueryNoopHookRequest) 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: QueryNoopHookRequest: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: QueryNoopHookRequest: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Id", 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.Id = 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 *QueryNoopHookResponse) 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: QueryNoopHookResponse: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: QueryNoopHookResponse: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field NoopHook", 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.NoopHook == nil {
				m.NoopHook = &NoopHook{}
			}
			if err := m.NoopHook.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 *QueryNoopHooksRequest) 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: QueryNoopHooksRequest: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: QueryNoopHooksRequest: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			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 *QueryNoopHooksResponse) 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: QueryNoopHooksResponse: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: QueryNoopHooksResponse: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field NoopHooks", 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.NoopHooks = append(m.NoopHooks, NoopHook{})
			if err := m.NoopHooks[len(m.NoopHooks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
				return err
			}
			iNdEx = postIndex
		case 2:
			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")
)
