"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createPayPacketFeeAsync = exports.createPayPacketFee = exports.createRegisterCounterpartyPayee = exports.createRegisterPayee = void 0;
const helper_func_types_1 = require("../../../../helper-func-types");
const utils_1 = require("@interchainjs/cosmos/utils");
const tx_1 = require("./tx");
const createRegisterPayee = (clientResolver) => (0, helper_func_types_1.buildTx)({
    clientResolver,
    typeUrl: tx_1.MsgRegisterPayee.typeUrl,
    encoders: (0, utils_1.toEncoders)(tx_1.MsgRegisterPayee),
    converters: (0, utils_1.toConverters)(tx_1.MsgRegisterPayee)
});
exports.createRegisterPayee = createRegisterPayee;
const createRegisterCounterpartyPayee = (clientResolver) => (0, helper_func_types_1.buildTx)({
    clientResolver,
    typeUrl: tx_1.MsgRegisterCounterpartyPayee.typeUrl,
    encoders: (0, utils_1.toEncoders)(tx_1.MsgRegisterCounterpartyPayee),
    converters: (0, utils_1.toConverters)(tx_1.MsgRegisterCounterpartyPayee)
});
exports.createRegisterCounterpartyPayee = createRegisterCounterpartyPayee;
const createPayPacketFee = (clientResolver) => (0, helper_func_types_1.buildTx)({
    clientResolver,
    typeUrl: tx_1.MsgPayPacketFee.typeUrl,
    encoders: (0, utils_1.toEncoders)(tx_1.MsgPayPacketFee),
    converters: (0, utils_1.toConverters)(tx_1.MsgPayPacketFee)
});
exports.createPayPacketFee = createPayPacketFee;
const createPayPacketFeeAsync = (clientResolver) => (0, helper_func_types_1.buildTx)({
    clientResolver,
    typeUrl: tx_1.MsgPayPacketFeeAsync.typeUrl,
    encoders: (0, utils_1.toEncoders)(tx_1.MsgPayPacketFeeAsync),
    converters: (0, utils_1.toConverters)(tx_1.MsgPayPacketFeeAsync)
});
exports.createPayPacketFeeAsync = createPayPacketFeeAsync;
