"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.bosonFundsHandlerIface = void 0;
exports.encodeDepositFunds = encodeDepositFunds;
exports.encodeWithdrawFunds = encodeWithdrawFunds;
const common_1 = require("@bosonprotocol/common");
const abi_1 = require("@ethersproject/abi");
exports.bosonFundsHandlerIface = new abi_1.Interface(common_1.abis.IBosonFundsHandlerABI);
function encodeDepositFunds(entityId, tokenAddress, amount) {
    return exports.bosonFundsHandlerIface.encodeFunctionData("depositFunds", [
        entityId,
        tokenAddress,
        amount
    ]);
}
function encodeWithdrawFunds(entityId, tokensToWithdraw, amountsToWithdraw) {
    return exports.bosonFundsHandlerIface.encodeFunctionData("withdrawFunds", [
        entityId,
        tokensToWithdraw,
        amountsToWithdraw
    ]);
}
//# sourceMappingURL=interface.js.map