"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCurrentEpoch = exports.getEpochInfos = void 0;
const helper_func_types_1 = require("../../../helper-func-types");
const query_1 = require("./query");
/**
 * EpochInfos provide running epochInfos
 * @name getEpochInfos
 * @package cosmos.epochs.v1beta1
 * @see proto service: cosmos.epochs.v1beta1.EpochInfos
 */
exports.getEpochInfos = (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryEpochInfosRequest.encode,
    decode: query_1.QueryEpochInfosResponse.decode,
    service: "cosmos.epochs.v1beta1.Query",
    method: "EpochInfos",
    deps: [query_1.QueryEpochInfosRequest, query_1.QueryEpochInfosResponse]
});
/**
 * CurrentEpoch provide current epoch of specified identifier
 * @name getCurrentEpoch
 * @package cosmos.epochs.v1beta1
 * @see proto service: cosmos.epochs.v1beta1.CurrentEpoch
 */
exports.getCurrentEpoch = (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryCurrentEpochRequest.encode,
    decode: query_1.QueryCurrentEpochResponse.decode,
    service: "cosmos.epochs.v1beta1.Query",
    method: "CurrentEpoch",
    deps: [query_1.QueryCurrentEpochRequest, query_1.QueryCurrentEpochResponse]
});
