"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");
/**
 * SubmitProposal defines a method to create new proposal given the messages.
 * @name useSubmitProposal
 * @package cosmos.gov.v1
 * @see proto service: cosmos.gov.v1.SubmitProposal
 */
exports.useSubmitProposal = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.submitProposal
});
/**
 * ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal
 * to execute a legacy content-based proposal.
 * @name useExecLegacyContent
 * @package cosmos.gov.v1
 * @see proto service: cosmos.gov.v1.ExecLegacyContent
 */
exports.useExecLegacyContent = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.execLegacyContent
});
/**
 * Vote defines a method to add a vote on a specific proposal.
 * @name useVote
 * @package cosmos.gov.v1
 * @see proto service: cosmos.gov.v1.Vote
 */
exports.useVote = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.vote
});
/**
 * VoteWeighted defines a method to add a weighted vote on a specific proposal.
 * @name useVoteWeighted
 * @package cosmos.gov.v1
 * @see proto service: cosmos.gov.v1.VoteWeighted
 */
exports.useVoteWeighted = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.voteWeighted
});
/**
 * Deposit defines a method to add deposit on a specific proposal.
 * @name useDeposit
 * @package cosmos.gov.v1
 * @see proto service: cosmos.gov.v1.Deposit
 */
exports.useDeposit = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.deposit
});
/**
 * UpdateParams defines a governance operation for updating the x/gov module
 * parameters. The authority is defined in the keeper.
 * @name useUpdateParams
 * @package cosmos.gov.v1
 * @see proto service: cosmos.gov.v1.UpdateParams
 */
exports.useUpdateParams = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.updateParams
});
/**
 * CancelProposal defines a method to cancel governance proposal
 * @name useCancelProposal
 * @package cosmos.gov.v1
 * @see proto service: cosmos.gov.v1.CancelProposal
 */
exports.useCancelProposal = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.cancelProposal
});
