"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useGetVerifyMembership = exports.useGetUpgradedConsensusState = exports.useGetUpgradedClientState = exports.useGetClientCreator = exports.useGetClientParams = exports.useGetClientStatus = exports.useGetConsensusStateHeights = exports.useGetConsensusStates = exports.useGetConsensusState = exports.useGetClientStates = exports.useGetClientState = void 0;
const vue_query_1 = require("../../../../vue-query");
const query_rpc_func_1 = require("./query.rpc.func");
/**
 * ClientState queries an IBC light client.
 * @name useGetClientState
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.ClientState
 */
exports.useGetClientState = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getClientState,
    queryKeyPrefix: "ClientStateQuery"
});
/**
 * ClientStates queries all the IBC light clients of a chain.
 * @name useGetClientStates
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.ClientStates
 */
exports.useGetClientStates = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getClientStates,
    queryKeyPrefix: "ClientStatesQuery"
});
/**
 * ConsensusState queries a consensus state associated with a client state at
 * a given height.
 * @name useGetConsensusState
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.ConsensusState
 */
exports.useGetConsensusState = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getConsensusState,
    queryKeyPrefix: "ConsensusStateQuery"
});
/**
 * ConsensusStates queries all the consensus state associated with a given
 * client.
 * @name useGetConsensusStates
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.ConsensusStates
 */
exports.useGetConsensusStates = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getConsensusStates,
    queryKeyPrefix: "ConsensusStatesQuery"
});
/**
 * ConsensusStateHeights queries the height of every consensus states associated with a given client.
 * @name useGetConsensusStateHeights
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.ConsensusStateHeights
 */
exports.useGetConsensusStateHeights = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getConsensusStateHeights,
    queryKeyPrefix: "ConsensusStateHeightsQuery"
});
/**
 * Status queries the status of an IBC client.
 * @name useGetClientStatus
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.ClientStatus
 */
exports.useGetClientStatus = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getClientStatus,
    queryKeyPrefix: "ClientStatusQuery"
});
/**
 * ClientParams queries all parameters of the ibc client submodule.
 * @name useGetClientParams
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.ClientParams
 */
exports.useGetClientParams = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getClientParams,
    queryKeyPrefix: "ClientParamsQuery"
});
/**
 * ClientCreator queries the creator of a given client.
 * @name useGetClientCreator
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.ClientCreator
 */
exports.useGetClientCreator = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getClientCreator,
    queryKeyPrefix: "ClientCreatorQuery"
});
/**
 * UpgradedClientState queries an Upgraded IBC light client.
 * @name useGetUpgradedClientState
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.UpgradedClientState
 */
exports.useGetUpgradedClientState = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getUpgradedClientState,
    queryKeyPrefix: "UpgradedClientStateQuery"
});
/**
 * UpgradedConsensusState queries an Upgraded IBC consensus state.
 * @name useGetUpgradedConsensusState
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.UpgradedConsensusState
 */
exports.useGetUpgradedConsensusState = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getUpgradedConsensusState,
    queryKeyPrefix: "UpgradedConsensusStateQuery"
});
/**
 * VerifyMembership queries an IBC light client for proof verification of a value at a given key path.
 * @name useGetVerifyMembership
 * @package ibc.core.client.v1
 * @see proto service: ibc.core.client.v1.VerifyMembership
 */
exports.useGetVerifyMembership = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getVerifyMembership,
    queryKeyPrefix: "VerifyMembershipQuery"
});
