"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IApproveAndCall__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        inputs: [
            {
                internalType: "address",
                name: "spender",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
            {
                internalType: "bytes",
                name: "extraData",
                type: "bytes",
            },
        ],
        name: "approveAndCall",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
];
var IApproveAndCall__factory = /** @class */ (function () {
    function IApproveAndCall__factory() {
    }
    IApproveAndCall__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    IApproveAndCall__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    IApproveAndCall__factory.abi = _abi;
    return IApproveAndCall__factory;
}());
exports.IApproveAndCall__factory = IApproveAndCall__factory;
