"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createGetListQueryHandlers = exports.createGetQuery = void 0;
const helper_func_types_1 = require("../../../../helper-func-types");
const service_1 = require("./service");
const createGetQuery = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: service_1.QueryRequest.encode,
    decode: service_1.QueryResponse.decode,
    service: "cosmos.base.grpc.v2.Service",
    method: "Query",
    clientResolver
});
exports.createGetQuery = createGetQuery;
const createGetListQueryHandlers = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: service_1.ListQueryHandlersRequest.encode,
    decode: service_1.ListQueryHandlersResponse.decode,
    service: "cosmos.base.grpc.v2.Service",
    method: "ListQueryHandlers",
    clientResolver
});
exports.createGetListQueryHandlers = createGetListQueryHandlers;
