"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCode = exports.getChecksums = void 0;
const helper_func_types_1 = require("../../../../helper-func-types");
const query_1 = require("./query");
/**
 * Get all Wasm checksums
 * @name getChecksums
 * @package ibc.lightclients.wasm.v1
 * @see proto service: ibc.lightclients.wasm.v1.Checksums
 */
exports.getChecksums = (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryChecksumsRequest.encode,
    decode: query_1.QueryChecksumsResponse.decode,
    service: "ibc.lightclients.wasm.v1.Query",
    method: "Checksums",
    deps: [query_1.QueryChecksumsRequest, query_1.QueryChecksumsResponse]
});
/**
 * Get Wasm code for given checksum
 * @name getCode
 * @package ibc.lightclients.wasm.v1
 * @see proto service: ibc.lightclients.wasm.v1.Code
 */
exports.getCode = (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryCodeRequest.encode,
    decode: query_1.QueryCodeResponse.decode,
    service: "ibc.lightclients.wasm.v1.Query",
    method: "Code",
    deps: [query_1.QueryCodeRequest, query_1.QueryCodeResponse]
});
