import { buildTx } from "../../../../../helper-func-types";
import { toEncoders, toConverters } from "@interchainjs/cosmos/utils";
import { MsgRegisterInterchainAccount, MsgSendTx, MsgUpdateParams } from "./tx";
export const createRegisterInterchainAccount = (clientResolver) => buildTx({
    clientResolver,
    typeUrl: MsgRegisterInterchainAccount.typeUrl,
    encoders: toEncoders(MsgRegisterInterchainAccount),
    converters: toConverters(MsgRegisterInterchainAccount)
});
export const createSendTx = (clientResolver) => buildTx({
    clientResolver,
    typeUrl: MsgSendTx.typeUrl,
    encoders: toEncoders(MsgSendTx),
    converters: toConverters(MsgSendTx)
});
export const createUpdateParams = (clientResolver) => buildTx({
    clientResolver,
    typeUrl: MsgUpdateParams.typeUrl,
    encoders: toEncoders(MsgUpdateParams),
    converters: toConverters(MsgUpdateParams)
});
