"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useDeposit = exports.useVoteWeighted = exports.useVote = 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 a content.
 * @name useSubmitProposal
 * @package cosmos.gov.v1beta1
 * @see proto service: cosmos.gov.v1beta1.SubmitProposal
 */
exports.useSubmitProposal = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.submitProposal
});
/**
 * Vote defines a method to add a vote on a specific proposal.
 * @name useVote
 * @package cosmos.gov.v1beta1
 * @see proto service: cosmos.gov.v1beta1.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.v1beta1
 * @see proto service: cosmos.gov.v1beta1.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.v1beta1
 * @see proto service: cosmos.gov.v1beta1.Deposit
 */
exports.useDeposit = (0, vue_query_1.buildUseVueMutation)({
    builderMutationFn: tx_rpc_func_1.deposit
});
