import { buildUseVueQuery } from "../../../vue-query";
import { createGetProposal, createGetProposals, createGetVote, createGetVotes, createGetParams, createGetDeposit, createGetDeposits, createGetTallyResult } from "./query.rpc.func";
export const useGetProposal = buildUseVueQuery({
    builderQueryFn: createGetProposal,
    queryKeyPrefix: "ProposalQuery"
});
export const useGetProposals = buildUseVueQuery({
    builderQueryFn: createGetProposals,
    queryKeyPrefix: "ProposalsQuery"
});
export const useGetVote = buildUseVueQuery({
    builderQueryFn: createGetVote,
    queryKeyPrefix: "VoteQuery"
});
export const useGetVotes = buildUseVueQuery({
    builderQueryFn: createGetVotes,
    queryKeyPrefix: "VotesQuery"
});
export const useGetParams = buildUseVueQuery({
    builderQueryFn: createGetParams,
    queryKeyPrefix: "ParamsQuery"
});
export const useGetDeposit = buildUseVueQuery({
    builderQueryFn: createGetDeposit,
    queryKeyPrefix: "DepositQuery"
});
export const useGetDeposits = buildUseVueQuery({
    builderQueryFn: createGetDeposits,
    queryKeyPrefix: "DepositsQuery"
});
export const useGetTallyResult = buildUseVueQuery({
    builderQueryFn: createGetTallyResult,
    queryKeyPrefix: "TallyResultQuery"
});
