"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 = [
    {
        inputs: [],
        name: "AfterDeadline",
        type: "error",
    },
    {
        inputs: [],
        name: "InputAndCollateralNotEqual",
        type: "error",
    },
    {
        inputs: [],
        name: "MultipleOutputsNotAllowed",
        type: "error",
    },
    {
        inputs: [],
        name: "ValidationContractNotAllowed",
        type: "error",
    },
    {
        inputs: [],
        name: "WrongSettlerContract",
        type: "error",
    },
];
const _bytecode = "0x60808060405234601b5760405160b69081610069823930815050f35b62461bcd60e51b815260206004820152602260248201527f45746865722073656e7420746f206e6f6e2d70617961626c652066756e63746960448201526137b760f11b6064820152608490fdfe608060408190527f08c379a000000000000000000000000000000000000000000000000000000000815260206084908152603560a4527f436f6e747261637420646f6573206e6f7420686176652066616c6c6261636b2060c4527f6e6f7220726563656976652066756e6374696f6e73000000000000000000000060e45290fdfea2646970667358221220b994dafd6bce6403caeb737b26afc7bd0a2efa022b76484cb36890cbd7280e8364736f6c63430008180033";
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;
