"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.deposit = exports.voteWeighted = exports.vote = exports.submitProposal = void 0;
const helper_func_types_1 = require("../../../helper-func-types");
const tx_1 = require("./tx");
/**
 * SubmitProposal defines a method to create new proposal given a content.
 * @name submitProposal
 * @package cosmos.gov.v1beta1
 * @see proto service: cosmos.gov.v1beta1.SubmitProposal
 */
exports.submitProposal = (0, helper_func_types_1.buildTx)({
    msg: tx_1.MsgSubmitProposal
});
/**
 * Vote defines a method to add a vote on a specific proposal.
 * @name vote
 * @package cosmos.gov.v1beta1
 * @see proto service: cosmos.gov.v1beta1.Vote
 */
exports.vote = (0, helper_func_types_1.buildTx)({
    msg: tx_1.MsgVote
});
/**
 * VoteWeighted defines a method to add a weighted vote on a specific proposal.
 * @name voteWeighted
 * @package cosmos.gov.v1beta1
 * @see proto service: cosmos.gov.v1beta1.VoteWeighted
 */
exports.voteWeighted = (0, helper_func_types_1.buildTx)({
    msg: tx_1.MsgVoteWeighted
});
/**
 * Deposit defines a method to add deposit on a specific proposal.
 * @name deposit
 * @package cosmos.gov.v1beta1
 * @see proto service: cosmos.gov.v1beta1.Deposit
 */
exports.deposit = (0, helper_func_types_1.buildTx)({
    msg: tx_1.MsgDeposit
});
