import { buildTx } from "../../../../helper-func-types";
import { toEncoders, toConverters } from "@interchainjs/cosmos/utils";
import { MsgRegisterPayee, MsgRegisterCounterpartyPayee, MsgPayPacketFee, MsgPayPacketFeeAsync } from "./tx";
export const createRegisterPayee = (clientResolver) => buildTx({
    clientResolver,
    typeUrl: MsgRegisterPayee.typeUrl,
    encoders: toEncoders(MsgRegisterPayee),
    converters: toConverters(MsgRegisterPayee)
});
export const createRegisterCounterpartyPayee = (clientResolver) => buildTx({
    clientResolver,
    typeUrl: MsgRegisterCounterpartyPayee.typeUrl,
    encoders: toEncoders(MsgRegisterCounterpartyPayee),
    converters: toConverters(MsgRegisterCounterpartyPayee)
});
export const createPayPacketFee = (clientResolver) => buildTx({
    clientResolver,
    typeUrl: MsgPayPacketFee.typeUrl,
    encoders: toEncoders(MsgPayPacketFee),
    converters: toConverters(MsgPayPacketFee)
});
export const createPayPacketFeeAsync = (clientResolver) => buildTx({
    clientResolver,
    typeUrl: MsgPayPacketFeeAsync.typeUrl,
    encoders: toEncoders(MsgPayPacketFeeAsync),
    converters: toConverters(MsgPayPacketFeeAsync)
});
