"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getStatus = exports.getConfig = void 0;
const helper_func_types_1 = require("../../../../helper-func-types");
const query_1 = require("./query");
/**
 * Config queries for the operator configuration.
 * @name getConfig
 * @package cosmos.base.node.v1beta1
 * @see proto service: cosmos.base.node.v1beta1.Config
 */
exports.getConfig = (0, helper_func_types_1.buildQuery)({
    encode: query_1.ConfigRequest.encode,
    decode: query_1.ConfigResponse.decode,
    service: "cosmos.base.node.v1beta1.Service",
    method: "Config",
    deps: [query_1.ConfigRequest, query_1.ConfigResponse]
});
/**
 * Status queries for the node status.
 * @name getStatus
 * @package cosmos.base.node.v1beta1
 * @see proto service: cosmos.base.node.v1beta1.Status
 */
exports.getStatus = (0, helper_func_types_1.buildQuery)({
    encode: query_1.StatusRequest.encode,
    decode: query_1.StatusResponse.decode,
    service: "cosmos.base.node.v1beta1.Service",
    method: "Status",
    deps: [query_1.StatusRequest, query_1.StatusResponse]
});
