"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useGetParams = exports.useGetPool = exports.useGetHistoricalInfo = exports.useGetDelegatorValidator = exports.useGetDelegatorValidators = exports.useGetRedelegations = exports.useGetDelegatorUnbondingDelegations = exports.useGetDelegatorDelegations = exports.useGetUnbondingDelegation = exports.useGetDelegation = exports.useGetValidatorUnbondingDelegations = exports.useGetValidatorDelegations = exports.useGetValidator = exports.useGetValidators = void 0;
const vue_query_1 = require("../../../vue-query");
const query_rpc_func_1 = require("./query.rpc.func");
/**
 * Validators queries all validators that match the given status.
 *
 * When called from another module, this query might consume a high amount of
 * gas if the pagination field is incorrectly set.
 * @name useGetValidators
 * @package cosmos.staking.v1beta1
 * @see proto service: cosmos.staking.v1beta1.Validators
 */
exports.useGetValidators = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getValidators,
    queryKeyPrefix: "ValidatorsQuery"
});
/**
 * Validator queries validator info for given validator address.
 * @name useGetValidator
 * @package cosmos.staking.v1beta1
 * @see proto service: cosmos.staking.v1beta1.Validator
 */
exports.useGetValidator = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getValidator,
    queryKeyPrefix: "ValidatorQuery"
});
/**
 * ValidatorDelegations queries delegate info for given validator.
 *
 * When called from another module, this query might consume a high amount of
 * gas if the pagination field is incorrectly set.
 * @name useGetValidatorDelegations
 * @package cosmos.staking.v1beta1
 * @see proto service: cosmos.staking.v1beta1.ValidatorDelegations
 */
exports.useGetValidatorDelegations = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getValidatorDelegations,
    queryKeyPrefix: "ValidatorDelegationsQuery"
});
/**
 * ValidatorUnbondingDelegations queries unbonding delegations of a validator.
 *
 * When called from another module, this query might consume a high amount of
 * gas if the pagination field is incorrectly set.
 * @name useGetValidatorUnbondingDelegations
 * @package cosmos.staking.v1beta1
 * @see proto service: cosmos.staking.v1beta1.ValidatorUnbondingDelegations
 */
exports.useGetValidatorUnbondingDelegations = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getValidatorUnbondingDelegations,
    queryKeyPrefix: "ValidatorUnbondingDelegationsQuery"
});
/**
 * Delegation queries delegate info for given validator delegator pair.
 * @name useGetDelegation
 * @package cosmos.staking.v1beta1
 * @see proto service: cosmos.staking.v1beta1.Delegation
 */
exports.useGetDelegation = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getDelegation,
    queryKeyPrefix: "DelegationQuery"
});
/**
 * UnbondingDelegation queries unbonding info for given validator delegator
 * pair.
 * @name useGetUnbondingDelegation
 * @package cosmos.staking.v1beta1
 * @see proto service: cosmos.staking.v1beta1.UnbondingDelegation
 */
exports.useGetUnbondingDelegation = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getUnbondingDelegation,
    queryKeyPrefix: "UnbondingDelegationQuery"
});
/**
 * DelegatorDelegations queries all delegations of a given delegator address.
 *
 * When called from another module, this query might consume a high amount of
 * gas if the pagination field is incorrectly set.
 * @name useGetDelegatorDelegations
 * @package cosmos.staking.v1beta1
 * @see proto service: cosmos.staking.v1beta1.DelegatorDelegations
 */
exports.useGetDelegatorDelegations = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getDelegatorDelegations,
    queryKeyPrefix: "DelegatorDelegationsQuery"
});
/**
 * DelegatorUnbondingDelegations queries all unbonding delegations of a given
 * delegator address.
 *
 * When called from another module, this query might consume a high amount of
 * gas if the pagination field is incorrectly set.
 * @name useGetDelegatorUnbondingDelegations
 * @package cosmos.staking.v1beta1
 * @see proto service: cosmos.staking.v1beta1.DelegatorUnbondingDelegations
 */
exports.useGetDelegatorUnbondingDelegations = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getDelegatorUnbondingDelegations,
    queryKeyPrefix: "DelegatorUnbondingDelegationsQuery"
});
/**
 * Redelegations queries redelegations of given address.
 *
 * When called from another module, this query might consume a high amount of
 * gas if the pagination field is incorrectly set.
 * @name useGetRedelegations
 * @package cosmos.staking.v1beta1
 * @see proto service: cosmos.staking.v1beta1.Redelegations
 */
exports.useGetRedelegations = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getRedelegations,
    queryKeyPrefix: "RedelegationsQuery"
});
/**
 * DelegatorValidators queries all validators info for given delegator
 * address.
 *
 * When called from another module, this query might consume a high amount of
 * gas if the pagination field is incorrectly set.
 * @name useGetDelegatorValidators
 * @package cosmos.staking.v1beta1
 * @see proto service: cosmos.staking.v1beta1.DelegatorValidators
 */
exports.useGetDelegatorValidators = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getDelegatorValidators,
    queryKeyPrefix: "DelegatorValidatorsQuery"
});
/**
 * DelegatorValidator queries validator info for given delegator validator
 * pair.
 * @name useGetDelegatorValidator
 * @package cosmos.staking.v1beta1
 * @see proto service: cosmos.staking.v1beta1.DelegatorValidator
 */
exports.useGetDelegatorValidator = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getDelegatorValidator,
    queryKeyPrefix: "DelegatorValidatorQuery"
});
/**
 * HistoricalInfo queries the historical info for given height.
 * @name useGetHistoricalInfo
 * @package cosmos.staking.v1beta1
 * @see proto service: cosmos.staking.v1beta1.HistoricalInfo
 */
exports.useGetHistoricalInfo = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getHistoricalInfo,
    queryKeyPrefix: "HistoricalInfoQuery"
});
/**
 * Pool queries the pool info.
 * @name useGetPool
 * @package cosmos.staking.v1beta1
 * @see proto service: cosmos.staking.v1beta1.Pool
 */
exports.useGetPool = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getPool,
    queryKeyPrefix: "PoolQuery"
});
/**
 * Parameters queries the staking parameters.
 * @name useGetParams
 * @package cosmos.staking.v1beta1
 * @see proto service: cosmos.staking.v1beta1.Params
 */
exports.useGetParams = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getParams,
    queryKeyPrefix: "ParamsQuery"
});
