"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");
exports.useGetProposal = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetProposal,
    queryKeyPrefix: "ProposalQuery"
});
exports.useGetProposals = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetProposals,
    queryKeyPrefix: "ProposalsQuery"
});
exports.useGetVote = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetVote,
    queryKeyPrefix: "VoteQuery"
});
exports.useGetVotes = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetVotes,
    queryKeyPrefix: "VotesQuery"
});
exports.useGetParams = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetParams,
    queryKeyPrefix: "ParamsQuery"
});
exports.useGetDeposit = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetDeposit,
    queryKeyPrefix: "DepositQuery"
});
exports.useGetDeposits = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetDeposits,
    queryKeyPrefix: "DepositsQuery"
});
exports.useGetTallyResult = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetTallyResult,
    queryKeyPrefix: "TallyResultQuery"
});
