"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createGetABCIQuery = exports.createGetGetValidatorSetByHeight = exports.createGetGetLatestValidatorSet = exports.createGetGetBlockByHeight = exports.createGetGetLatestBlock = exports.createGetGetSyncing = exports.createGetGetNodeInfo = void 0;
const helper_func_types_1 = require("../../../../helper-func-types");
const query_1 = require("./query");
const createGetGetNodeInfo = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.GetNodeInfoRequest.encode,
    decode: query_1.GetNodeInfoResponse.decode,
    service: "cosmos.base.tendermint.v1beta1.Service",
    method: "GetNodeInfo",
    clientResolver
});
exports.createGetGetNodeInfo = createGetGetNodeInfo;
const createGetGetSyncing = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.GetSyncingRequest.encode,
    decode: query_1.GetSyncingResponse.decode,
    service: "cosmos.base.tendermint.v1beta1.Service",
    method: "GetSyncing",
    clientResolver
});
exports.createGetGetSyncing = createGetGetSyncing;
const createGetGetLatestBlock = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.GetLatestBlockRequest.encode,
    decode: query_1.GetLatestBlockResponse.decode,
    service: "cosmos.base.tendermint.v1beta1.Service",
    method: "GetLatestBlock",
    clientResolver
});
exports.createGetGetLatestBlock = createGetGetLatestBlock;
const createGetGetBlockByHeight = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.GetBlockByHeightRequest.encode,
    decode: query_1.GetBlockByHeightResponse.decode,
    service: "cosmos.base.tendermint.v1beta1.Service",
    method: "GetBlockByHeight",
    clientResolver
});
exports.createGetGetBlockByHeight = createGetGetBlockByHeight;
const createGetGetLatestValidatorSet = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.GetLatestValidatorSetRequest.encode,
    decode: query_1.GetLatestValidatorSetResponse.decode,
    service: "cosmos.base.tendermint.v1beta1.Service",
    method: "GetLatestValidatorSet",
    clientResolver
});
exports.createGetGetLatestValidatorSet = createGetGetLatestValidatorSet;
const createGetGetValidatorSetByHeight = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.GetValidatorSetByHeightRequest.encode,
    decode: query_1.GetValidatorSetByHeightResponse.decode,
    service: "cosmos.base.tendermint.v1beta1.Service",
    method: "GetValidatorSetByHeight",
    clientResolver
});
exports.createGetGetValidatorSetByHeight = createGetGetValidatorSetByHeight;
const createGetABCIQuery = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.ABCIQueryRequest.encode,
    decode: query_1.ABCIQueryResponse.decode,
    service: "cosmos.base.tendermint.v1beta1.Service",
    method: "ABCIQuery",
    clientResolver
});
exports.createGetABCIQuery = createGetABCIQuery;
