import { buildQuery } from "../../../helper-func-types";
import { QueryEvidenceRequest, QueryEvidenceResponse, QueryAllEvidenceRequest, QueryAllEvidenceResponse } from "./query";
/**
 * Evidence queries evidence based on evidence hash.
 * @name getEvidence
 * @package cosmos.evidence.v1beta1
 * @see proto service: cosmos.evidence.v1beta1.Evidence
 */
export const getEvidence = buildQuery({
    encode: QueryEvidenceRequest.encode,
    decode: QueryEvidenceResponse.decode,
    service: "cosmos.evidence.v1beta1.Query",
    method: "Evidence",
    deps: [QueryEvidenceRequest, QueryEvidenceResponse]
});
/**
 * AllEvidence queries all evidence.
 * @name getAllEvidence
 * @package cosmos.evidence.v1beta1
 * @see proto service: cosmos.evidence.v1beta1.AllEvidence
 */
export const getAllEvidence = buildQuery({
    encode: QueryAllEvidenceRequest.encode,
    decode: QueryAllEvidenceResponse.decode,
    service: "cosmos.evidence.v1beta1.Query",
    method: "AllEvidence",
    deps: [QueryAllEvidenceRequest, QueryAllEvidenceResponse]
});
