"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getSigningInfos = exports.getSigningInfo = exports.getParams = void 0;
const helper_func_types_1 = require("../../../helper-func-types");
const query_1 = require("./query");
/**
 * Params queries the parameters of slashing module
 * @name getParams
 * @package cosmos.slashing.v1beta1
 * @see proto service: cosmos.slashing.v1beta1.Params
 */
exports.getParams = (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryParamsRequest.encode,
    decode: query_1.QueryParamsResponse.decode,
    service: "cosmos.slashing.v1beta1.Query",
    method: "Params",
    deps: [query_1.QueryParamsRequest, query_1.QueryParamsResponse]
});
/**
 * SigningInfo queries the signing info of given cons address
 * @name getSigningInfo
 * @package cosmos.slashing.v1beta1
 * @see proto service: cosmos.slashing.v1beta1.SigningInfo
 */
exports.getSigningInfo = (0, helper_func_types_1.buildQuery)({
    encode: query_1.QuerySigningInfoRequest.encode,
    decode: query_1.QuerySigningInfoResponse.decode,
    service: "cosmos.slashing.v1beta1.Query",
    method: "SigningInfo",
    deps: [query_1.QuerySigningInfoRequest, query_1.QuerySigningInfoResponse]
});
/**
 * SigningInfos queries signing info of all validators
 * @name getSigningInfos
 * @package cosmos.slashing.v1beta1
 * @see proto service: cosmos.slashing.v1beta1.SigningInfos
 */
exports.getSigningInfos = (0, helper_func_types_1.buildQuery)({
    encode: query_1.QuerySigningInfosRequest.encode,
    decode: query_1.QuerySigningInfosResponse.decode,
    service: "cosmos.slashing.v1beta1.Query",
    method: "SigningInfos",
    deps: [query_1.QuerySigningInfosRequest, query_1.QuerySigningInfosResponse]
});
