"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MinimalLZOptions__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [
            {
                internalType: "uint16",
                name: "optionType",
                type: "uint16",
            },
        ],
        name: "InvalidOptionType",
        type: "error",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "max",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "actual",
                type: "uint256",
            },
        ],
        name: "InvalidSize",
        type: "error",
    },
];
const _bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea26469706673582212203881d855639c9a7e64a7b9f8d07dcf3d32f37b488aff5980e254e8d561d1516964736f6c634300081e0033";
const isSuperArgs = (xs) => xs.length > 1;
class MinimalLZOptions__factory extends ethers_1.ContractFactory {
    constructor(...args) {
        if (isSuperArgs(args)) {
            super(...args);
        }
        else {
            super(_abi, _bytecode, args[0]);
        }
    }
    deploy(overrides) {
        return super.deploy(overrides || {});
    }
    getDeployTransaction(overrides) {
        return super.getDeployTransaction(overrides || {});
    }
    attach(address) {
        return super.attach(address);
    }
    connect(signer) {
        return super.connect(signer);
    }
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.MinimalLZOptions__factory = MinimalLZOptions__factory;
MinimalLZOptions__factory.bytecode = _bytecode;
MinimalLZOptions__factory.abi = _abi;
