"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        if (typeof b !== "function" && b !== null)
            throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
exports.__esModule = true;
exports.GraphProxy__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        inputs: [
            {
                internalType: "address",
                name: "_impl",
                type: "address"
            },
            {
                internalType: "address",
                name: "_admin",
                type: "address"
            },
        ],
        stateMutability: "nonpayable",
        type: "constructor"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "oldAdmin",
                type: "address"
            },
            {
                indexed: true,
                internalType: "address",
                name: "newAdmin",
                type: "address"
            },
        ],
        name: "AdminUpdated",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "oldImplementation",
                type: "address"
            },
            {
                indexed: true,
                internalType: "address",
                name: "newImplementation",
                type: "address"
            },
        ],
        name: "ImplementationUpdated",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "oldPendingImplementation",
                type: "address"
            },
            {
                indexed: true,
                internalType: "address",
                name: "newPendingImplementation",
                type: "address"
            },
        ],
        name: "PendingImplementationUpdated",
        type: "event"
    },
    {
        stateMutability: "payable",
        type: "fallback"
    },
    {
        inputs: [],
        name: "acceptUpgrade",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes",
                name: "data",
                type: "bytes"
            },
        ],
        name: "acceptUpgradeAndCall",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [],
        name: "admin",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [],
        name: "implementation",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [],
        name: "pendingImplementation",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_newAdmin",
                type: "address"
            },
        ],
        name: "setAdmin",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_newImplementation",
                type: "address"
            },
        ],
        name: "upgradeTo",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        stateMutability: "payable",
        type: "receive"
    },
];
var _bytecode = " ";
var GraphProxy__factory = /** @class */ (function (_super) {
    __extends(GraphProxy__factory, _super);
    function GraphProxy__factory(signer) {
        return _super.call(this, _abi, _bytecode, signer) || this;
    }
    GraphProxy__factory.prototype.deploy = function (_impl, _admin, overrides) {
        return _super.prototype.deploy.call(this, _impl, _admin, overrides || {});
    };
    GraphProxy__factory.prototype.getDeployTransaction = function (_impl, _admin, overrides) {
        return _super.prototype.getDeployTransaction.call(this, _impl, _admin, overrides || {});
    };
    GraphProxy__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    GraphProxy__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    GraphProxy__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    GraphProxy__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    GraphProxy__factory.bytecode = _bytecode;
    GraphProxy__factory.abi = _abi;
    return GraphProxy__factory;
}(ethers_1.ContractFactory));
exports.GraphProxy__factory = GraphProxy__factory;
