"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.bosonConfigHandlerIface = void 0;
exports.encodeGetMaxRoyaltyPercentage = encodeGetMaxRoyaltyPercentage;
exports.decodeGetMaxRoyaltyPercentage = decodeGetMaxRoyaltyPercentage;
const common_1 = require("@bosonprotocol/common");
const abi_1 = require("@ethersproject/abi");
exports.bosonConfigHandlerIface = new abi_1.Interface(common_1.abis.IBosonConfigHandlerABI);
function encodeGetMaxRoyaltyPercentage() {
    return exports.bosonConfigHandlerIface.encodeFunctionData("getMaxRoyaltyPercentage");
}
function decodeGetMaxRoyaltyPercentage(result) {
    const [maxRoyaltyPercentage] = exports.bosonConfigHandlerIface.decodeFunctionResult("getMaxRoyaltyPercentage", result);
    return Number(maxRoyaltyPercentage);
}
//# sourceMappingURL=interface.js.map