import { buildTx } from "../../../helper-func-types";
import { toEncoders, toConverters } from "@interchainjs/cosmos/utils";
import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx";
export const createSubmitProposal = (clientResolver) => buildTx({
    clientResolver,
    typeUrl: MsgSubmitProposal.typeUrl,
    encoders: toEncoders(MsgSubmitProposal),
    converters: toConverters(MsgSubmitProposal)
});
export const createVote = (clientResolver) => buildTx({
    clientResolver,
    typeUrl: MsgVote.typeUrl,
    encoders: toEncoders(MsgVote),
    converters: toConverters(MsgVote)
});
export const createVoteWeighted = (clientResolver) => buildTx({
    clientResolver,
    typeUrl: MsgVoteWeighted.typeUrl,
    encoders: toEncoders(MsgVoteWeighted),
    converters: toConverters(MsgVoteWeighted)
});
export const createDeposit = (clientResolver) => buildTx({
    clientResolver,
    typeUrl: MsgDeposit.typeUrl,
    encoders: toEncoders(MsgDeposit),
    converters: toConverters(MsgDeposit)
});
