"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Permit2OrderLib__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
const ethers_1 = require("ethers");
const _abi = [
    {
        type: "error",
        name: "AfterDeadline",
        inputs: [],
    },
    {
        type: "error",
        name: "InputAndCollateralNotEqual",
        inputs: [],
    },
    {
        type: "error",
        name: "MultipleOutputsNotAllowed",
        inputs: [],
    },
    {
        type: "error",
        name: "ValidationContractNotAllowed",
        inputs: [],
    },
    {
        type: "error",
        name: "WrongSettlerContract",
        inputs: [],
    },
];
const _bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea26469706673582212207dc840fcb1797a247db99a9bf9fd1562ba59f2c0e154c3f6f21de9c8d815441264736f6c634300081e0033";
const isSuperArgs = (xs) => xs.length > 1;
class Permit2OrderLib__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.Permit2OrderLib__factory = Permit2OrderLib__factory;
Permit2OrderLib__factory.bytecode = _bytecode;
Permit2OrderLib__factory.abi = _abi;
