/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, utils } from "ethers";
var _abi = [
    {
        type: "constructor",
        inputs: [
            {
                name: "_spokePool",
                type: "address",
                internalType: "contract V3SpokePoolInterface",
            },
            {
                name: "_permit2",
                type: "address",
                internalType: "contract IPermit2",
            },
            {
                name: "_quoteBeforeDeadline",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "PERMIT2",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "contract IPermit2",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "QUOTE_BEFORE_DEADLINE",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "SPOKE_POOL",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "contract V3SpokePoolInterface",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "permit2Deposit",
        inputs: [
            {
                name: "signedOrder",
                type: "tuple",
                internalType: "struct SignedOrder",
                components: [
                    {
                        name: "order",
                        type: "bytes",
                        internalType: "bytes",
                    },
                    {
                        name: "sig",
                        type: "bytes",
                        internalType: "bytes",
                    },
                ],
            },
            {
                name: "destinationChainFillerAddress",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        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: [],
    },
];
var Permit2Depositor__factory = /** @class */ (function () {
    function Permit2Depositor__factory() {
    }
    Permit2Depositor__factory.createInterface = function () {
        return new utils.Interface(_abi);
    };
    Permit2Depositor__factory.connect = function (address, signerOrProvider) {
        return new Contract(address, _abi, signerOrProvider);
    };
    Permit2Depositor__factory.abi = _abi;
    return Permit2Depositor__factory;
}());
export { Permit2Depositor__factory };
//# sourceMappingURL=Permit2Depositor__factory.js.map