"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useGetABCIQuery = exports.useGetGetValidatorSetByHeight = exports.useGetGetLatestValidatorSet = exports.useGetGetBlockByHeight = exports.useGetGetLatestBlock = exports.useGetGetSyncing = exports.useGetGetNodeInfo = void 0;
const vue_query_1 = require("../../../../vue-query");
const query_rpc_func_1 = require("./query.rpc.func");
/**
 * GetNodeInfo queries the current node info.
 * @name useGetGetNodeInfo
 * @package cosmos.base.tendermint.v1beta1
 * @see proto service: cosmos.base.tendermint.v1beta1.GetNodeInfo
 */
exports.useGetGetNodeInfo = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getGetNodeInfo,
    queryKeyPrefix: "GetNodeInfoQuery"
});
/**
 * GetSyncing queries node syncing.
 * @name useGetGetSyncing
 * @package cosmos.base.tendermint.v1beta1
 * @see proto service: cosmos.base.tendermint.v1beta1.GetSyncing
 */
exports.useGetGetSyncing = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getGetSyncing,
    queryKeyPrefix: "GetSyncingQuery"
});
/**
 * GetLatestBlock returns the latest block.
 * @name useGetGetLatestBlock
 * @package cosmos.base.tendermint.v1beta1
 * @see proto service: cosmos.base.tendermint.v1beta1.GetLatestBlock
 */
exports.useGetGetLatestBlock = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getGetLatestBlock,
    queryKeyPrefix: "GetLatestBlockQuery"
});
/**
 * GetBlockByHeight queries block for given height.
 * @name useGetGetBlockByHeight
 * @package cosmos.base.tendermint.v1beta1
 * @see proto service: cosmos.base.tendermint.v1beta1.GetBlockByHeight
 */
exports.useGetGetBlockByHeight = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getGetBlockByHeight,
    queryKeyPrefix: "GetBlockByHeightQuery"
});
/**
 * GetLatestValidatorSet queries latest validator-set.
 * @name useGetGetLatestValidatorSet
 * @package cosmos.base.tendermint.v1beta1
 * @see proto service: cosmos.base.tendermint.v1beta1.GetLatestValidatorSet
 */
exports.useGetGetLatestValidatorSet = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getGetLatestValidatorSet,
    queryKeyPrefix: "GetLatestValidatorSetQuery"
});
/**
 * GetValidatorSetByHeight queries validator-set at a given height.
 * @name useGetGetValidatorSetByHeight
 * @package cosmos.base.tendermint.v1beta1
 * @see proto service: cosmos.base.tendermint.v1beta1.GetValidatorSetByHeight
 */
exports.useGetGetValidatorSetByHeight = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getGetValidatorSetByHeight,
    queryKeyPrefix: "GetValidatorSetByHeightQuery"
});
/**
 * ABCIQuery defines a query handler that supports ABCI queries directly to the
 * application, bypassing Tendermint completely. The ABCI query must contain
 * a valid and supported path, including app, custom, p2p, and store.
 * @name useGetABCIQuery
 * @package cosmos.base.tendermint.v1beta1
 * @see proto service: cosmos.base.tendermint.v1beta1.ABCIQuery
 */
exports.useGetABCIQuery = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getABCIQuery,
    queryKeyPrefix: "ABCIQueryQuery"
});
