"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useCancelProposal = exports.useUpdateParams = exports.useDeposit = exports.useVoteWeighted = exports.useVote = exports.useExecLegacyContent = exports.useSubmitProposal = void 0;
const vue_query_1 = require("../../../vue-query");
const tx_rpc_func_1 = require("./tx.rpc.func");
exports.useSubmitProposal = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.createSubmitProposal
});
exports.useExecLegacyContent = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.createExecLegacyContent
});
exports.useVote = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.createVote
});
exports.useVoteWeighted = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.createVoteWeighted
});
exports.useDeposit = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.createDeposit
});
exports.useUpdateParams = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.createUpdateParams
});
exports.useCancelProposal = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.createCancelProposal
});
