"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAllEvidence = exports.getEvidence = void 0;
const helper_func_types_1 = require("../../../helper-func-types");
const query_1 = require("./query");
/**
 * Evidence queries evidence based on evidence hash.
 * @name getEvidence
 * @package cosmos.evidence.v1beta1
 * @see proto service: cosmos.evidence.v1beta1.Evidence
 */
exports.getEvidence = (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryEvidenceRequest.encode,
    decode: query_1.QueryEvidenceResponse.decode,
    service: "cosmos.evidence.v1beta1.Query",
    method: "Evidence",
    deps: [query_1.QueryEvidenceRequest, query_1.QueryEvidenceResponse]
});
/**
 * AllEvidence queries all evidence.
 * @name getAllEvidence
 * @package cosmos.evidence.v1beta1
 * @see proto service: cosmos.evidence.v1beta1.AllEvidence
 */
exports.getAllEvidence = (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryAllEvidenceRequest.encode,
    decode: query_1.QueryAllEvidenceResponse.decode,
    service: "cosmos.evidence.v1beta1.Query",
    method: "AllEvidence",
    deps: [query_1.QueryAllEvidenceRequest, query_1.QueryAllEvidenceResponse]
});
