"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createGetSubspaces = exports.createGetParams = void 0;
const helper_func_types_1 = require("../../../helper-func-types");
const query_1 = require("./query");
const createGetParams = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryParamsRequest.encode,
    decode: query_1.QueryParamsResponse.decode,
    service: "cosmos.params.v1beta1.Query",
    method: "Params",
    clientResolver
});
exports.createGetParams = createGetParams;
const createGetSubspaces = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.QuerySubspacesRequest.encode,
    decode: query_1.QuerySubspacesResponse.decode,
    service: "cosmos.params.v1beta1.Query",
    method: "Subspaces",
    clientResolver
});
exports.createGetSubspaces = createGetSubspaces;
