import { buildTx } from "../../../helper-func-types";
import { toEncoders, toConverters } from "@interchainjs/cosmos/utils";
import { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount } from "./tx";
export const createCreateVestingAccount = (clientResolver) => buildTx({
    clientResolver,
    typeUrl: MsgCreateVestingAccount.typeUrl,
    encoders: toEncoders(MsgCreateVestingAccount),
    converters: toConverters(MsgCreateVestingAccount)
});
export const createCreatePermanentLockedAccount = (clientResolver) => buildTx({
    clientResolver,
    typeUrl: MsgCreatePermanentLockedAccount.typeUrl,
    encoders: toEncoders(MsgCreatePermanentLockedAccount),
    converters: toConverters(MsgCreatePermanentLockedAccount)
});
export const createCreatePeriodicVestingAccount = (clientResolver) => buildTx({
    clientResolver,
    typeUrl: MsgCreatePeriodicVestingAccount.typeUrl,
    encoders: toEncoders(MsgCreatePeriodicVestingAccount),
    converters: toConverters(MsgCreatePeriodicVestingAccount)
});
