"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.GraphProxyAdmin__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        inputs: [],
        stateMutability: "nonpayable",
        type: "constructor"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "from",
                type: "address"
            },
            {
                indexed: true,
                internalType: "address",
                name: "to",
                type: "address"
            },
        ],
        name: "NewOwnership",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "from",
                type: "address"
            },
            {
                indexed: true,
                internalType: "address",
                name: "to",
                type: "address"
            },
        ],
        name: "NewPendingOwnership",
        type: "event"
    },
    {
        inputs: [],
        name: "acceptOwnership",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "contract GraphUpgradeable",
                name: "_implementation",
                type: "address"
            },
            {
                internalType: "contract IGraphProxy",
                name: "_proxy",
                type: "address"
            },
        ],
        name: "acceptProxy",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "contract GraphUpgradeable",
                name: "_implementation",
                type: "address"
            },
            {
                internalType: "contract IGraphProxy",
                name: "_proxy",
                type: "address"
            },
            {
                internalType: "bytes",
                name: "_data",
                type: "bytes"
            },
        ],
        name: "acceptProxyAndCall",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "contract IGraphProxy",
                name: "_proxy",
                type: "address"
            },
            {
                internalType: "address",
                name: "_newAdmin",
                type: "address"
            },
        ],
        name: "changeProxyAdmin",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "contract IGraphProxy",
                name: "_proxy",
                type: "address"
            },
        ],
        name: "getProxyAdmin",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "contract IGraphProxy",
                name: "_proxy",
                type: "address"
            },
        ],
        name: "getProxyImplementation",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "contract IGraphProxy",
                name: "_proxy",
                type: "address"
            },
        ],
        name: "getProxyPendingImplementation",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "governor",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "pendingGovernor",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_newGovernor",
                type: "address"
            },
        ],
        name: "transferOwnership",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "contract IGraphProxy",
                name: "_proxy",
                type: "address"
            },
            {
                internalType: "address",
                name: "_implementation",
                type: "address"
            },
        ],
        name: "upgrade",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
];
var _bytecode = " ";
var GraphProxyAdmin__factory = /** @class */ (function (_super) {
    __extends(GraphProxyAdmin__factory, _super);
    function GraphProxyAdmin__factory(signer) {
        return _super.call(this, _abi, _bytecode, signer) || this;
    }
    GraphProxyAdmin__factory.prototype.deploy = function (overrides) {
        return _super.prototype.deploy.call(this, overrides || {});
    };
    GraphProxyAdmin__factory.prototype.getDeployTransaction = function (overrides) {
        return _super.prototype.getDeployTransaction.call(this, overrides || {});
    };
    GraphProxyAdmin__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    GraphProxyAdmin__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    GraphProxyAdmin__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    GraphProxyAdmin__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    GraphProxyAdmin__factory.bytecode = _bytecode;
    GraphProxyAdmin__factory.abi = _abi;
    return GraphProxyAdmin__factory;
}(ethers_1.ContractFactory));
exports.GraphProxyAdmin__factory = GraphProxyAdmin__factory;
