"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useGetTallyResult = exports.useGetDeposits = exports.useGetDeposit = exports.useGetParams = exports.useGetVotes = exports.useGetVote = exports.useGetProposals = exports.useGetProposal = void 0;
const vue_query_1 = require("../../../vue-query");
const query_rpc_func_1 = require("./query.rpc.func");
/**
 * Proposal queries proposal details based on ProposalID.
 * @name useGetProposal
 * @package cosmos.gov.v1beta1
 * @see proto service: cosmos.gov.v1beta1.Proposal
 */
exports.useGetProposal = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getProposal,
    queryKeyPrefix: "ProposalQuery"
});
/**
 * Proposals queries all proposals based on given status.
 * @name useGetProposals
 * @package cosmos.gov.v1beta1
 * @see proto service: cosmos.gov.v1beta1.Proposals
 */
exports.useGetProposals = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getProposals,
    queryKeyPrefix: "ProposalsQuery"
});
/**
 * Vote queries voted information based on proposalID, voterAddr.
 * @name useGetVote
 * @package cosmos.gov.v1beta1
 * @see proto service: cosmos.gov.v1beta1.Vote
 */
exports.useGetVote = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getVote,
    queryKeyPrefix: "VoteQuery"
});
/**
 * Votes queries votes of a given proposal.
 * @name useGetVotes
 * @package cosmos.gov.v1beta1
 * @see proto service: cosmos.gov.v1beta1.Votes
 */
exports.useGetVotes = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getVotes,
    queryKeyPrefix: "VotesQuery"
});
/**
 * Params queries all parameters of the gov module.
 * @name useGetParams
 * @package cosmos.gov.v1beta1
 * @see proto service: cosmos.gov.v1beta1.Params
 */
exports.useGetParams = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getParams,
    queryKeyPrefix: "ParamsQuery"
});
/**
 * Deposit queries single deposit information based on proposalID, depositor address.
 * @name useGetDeposit
 * @package cosmos.gov.v1beta1
 * @see proto service: cosmos.gov.v1beta1.Deposit
 */
exports.useGetDeposit = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getDeposit,
    queryKeyPrefix: "DepositQuery"
});
/**
 * Deposits queries all deposits of a single proposal.
 * @name useGetDeposits
 * @package cosmos.gov.v1beta1
 * @see proto service: cosmos.gov.v1beta1.Deposits
 */
exports.useGetDeposits = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getDeposits,
    queryKeyPrefix: "DepositsQuery"
});
/**
 * TallyResult queries the tally of a proposal vote.
 * @name useGetTallyResult
 * @package cosmos.gov.v1beta1
 * @see proto service: cosmos.gov.v1beta1.TallyResult
 */
exports.useGetTallyResult = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getTallyResult,
    queryKeyPrefix: "TallyResultQuery"
});
