"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IVeloV2Router__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        inputs: [],
        name: "ConversionFromV2ToV1VeloProhibited",
        type: "error",
    },
    {
        inputs: [],
        name: "ETHTransferFailed",
        type: "error",
    },
    {
        inputs: [],
        name: "Expired",
        type: "error",
    },
    {
        inputs: [],
        name: "InsufficientAmount",
        type: "error",
    },
    {
        inputs: [],
        name: "InsufficientAmountA",
        type: "error",
    },
    {
        inputs: [],
        name: "InsufficientAmountADesired",
        type: "error",
    },
    {
        inputs: [],
        name: "InsufficientAmountAOptimal",
        type: "error",
    },
    {
        inputs: [],
        name: "InsufficientAmountB",
        type: "error",
    },
    {
        inputs: [],
        name: "InsufficientAmountBDesired",
        type: "error",
    },
    {
        inputs: [],
        name: "InsufficientLiquidity",
        type: "error",
    },
    {
        inputs: [],
        name: "InsufficientOutputAmount",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidAmountInForETHDeposit",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidPath",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidRouteA",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidRouteB",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidTokenInForETHDeposit",
        type: "error",
    },
    {
        inputs: [],
        name: "OnlyWETH",
        type: "error",
    },
    {
        inputs: [],
        name: "PoolDoesNotExist",
        type: "error",
    },
    {
        inputs: [],
        name: "PoolFactoryDoesNotExist",
        type: "error",
    },
    {
        inputs: [],
        name: "SameAddresses",
        type: "error",
    },
    {
        inputs: [],
        name: "ZeroAddress",
        type: "error",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "tokenA",
                type: "address",
            },
            {
                internalType: "address",
                name: "tokenB",
                type: "address",
            },
            {
                internalType: "bool",
                name: "stable",
                type: "bool",
            },
            {
                internalType: "uint256",
                name: "amountADesired",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "amountBDesired",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "amountAMin",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "amountBMin",
                type: "uint256",
            },
            {
                internalType: "address",
                name: "to",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "deadline",
                type: "uint256",
            },
        ],
        name: "addLiquidity",
        outputs: [
            {
                internalType: "uint256",
                name: "amountA",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "amountB",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "liquidity",
                type: "uint256",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "defaultFactory",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "amountIn",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "amountOutMin",
                type: "uint256",
            },
            {
                components: [
                    {
                        internalType: "address",
                        name: "from",
                        type: "address",
                    },
                    {
                        internalType: "address",
                        name: "to",
                        type: "address",
                    },
                    {
                        internalType: "bool",
                        name: "stable",
                        type: "bool",
                    },
                    {
                        internalType: "address",
                        name: "factory",
                        type: "address",
                    },
                ],
                internalType: "struct IVeloV2Router.Route[]",
                name: "routes",
                type: "tuple[]",
            },
            {
                internalType: "address",
                name: "to",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "deadline",
                type: "uint256",
            },
        ],
        name: "swapExactTokensForTokens",
        outputs: [
            {
                internalType: "uint256[]",
                name: "amounts",
                type: "uint256[]",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
];
var IVeloV2Router__factory = /** @class */ (function () {
    function IVeloV2Router__factory() {
    }
    IVeloV2Router__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    IVeloV2Router__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    IVeloV2Router__factory.abi = _abi;
    return IVeloV2Router__factory;
}());
exports.IVeloV2Router__factory = IVeloV2Router__factory;
//# sourceMappingURL=IVeloV2Router__factory.js.map