"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OptionsBuilder__factory = void 0;
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 = "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220fbff6fb434cdf1af80b293252d2c9fe1d2062bd618eb5614fb16713c70fce41764736f6c63430008190033";
const isSuperArgs = (xs) => xs.length > 1;
class OptionsBuilder__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.OptionsBuilder__factory = OptionsBuilder__factory;
OptionsBuilder__factory.bytecode = _bytecode;
OptionsBuilder__factory.abi = _abi;
//# sourceMappingURL=OptionsBuilder__factory.js.map