import { abis } from "@bosonprotocol/common";
import { Interface } from "@ethersproject/abi";
export const bosonConfigHandlerIface = new Interface(abis.IBosonConfigHandlerABI);
export function encodeGetMaxRoyaltyPercentage() {
    return bosonConfigHandlerIface.encodeFunctionData("getMaxRoyaltyPercentage");
}
export function decodeGetMaxRoyaltyPercentage(result) {
    const [maxRoyaltyPercentage] = bosonConfigHandlerIface.decodeFunctionResult("getMaxRoyaltyPercentage", result);
    return Number(maxRoyaltyPercentage);
}
//# sourceMappingURL=interface.js.map