import { buildUseVueMutation } from "../../../vue-query";
import { submitProposal, execLegacyContent, vote, voteWeighted, deposit, updateParams, cancelProposal } from "./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
 */
export const useSubmitProposal = buildUseVueMutation({
    builderMutationFn: 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
 */
export const useExecLegacyContent = buildUseVueMutation({
    builderMutationFn: 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
 */
export const useVote = buildUseVueMutation({
    builderMutationFn: 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
 */
export const useVoteWeighted = buildUseVueMutation({
    builderMutationFn: 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
 */
export const useDeposit = buildUseVueMutation({
    builderMutationFn: 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
 */
export const useUpdateParams = buildUseVueMutation({
    builderMutationFn: updateParams
});
/**
 * CancelProposal defines a method to cancel governance proposal
 * @name useCancelProposal
 * @package cosmos.gov.v1
 * @see proto service: cosmos.gov.v1.CancelProposal
 */
export const useCancelProposal = buildUseVueMutation({
    builderMutationFn: cancelProposal
});
