"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.GraphGovernance__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        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"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "bytes32",
                name: "proposalId",
                type: "bytes32"
            },
            {
                indexed: false,
                internalType: "bytes32",
                name: "votes",
                type: "bytes32"
            },
            {
                indexed: false,
                internalType: "bytes32",
                name: "metadata",
                type: "bytes32"
            },
            {
                indexed: false,
                internalType: "enum IGraphGovernance.ProposalResolution",
                name: "resolution",
                type: "uint8"
            },
        ],
        name: "ProposalCreated",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "bytes32",
                name: "proposalId",
                type: "bytes32"
            },
            {
                indexed: false,
                internalType: "bytes32",
                name: "votes",
                type: "bytes32"
            },
            {
                indexed: false,
                internalType: "bytes32",
                name: "metadata",
                type: "bytes32"
            },
            {
                indexed: false,
                internalType: "enum IGraphGovernance.ProposalResolution",
                name: "resolution",
                type: "uint8"
            },
        ],
        name: "ProposalUpdated",
        type: "event"
    },
    {
        inputs: [],
        name: "acceptOwnership",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "contract IGraphProxy",
                name: "_proxy",
                type: "address"
            },
        ],
        name: "acceptProxy",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "contract IGraphProxy",
                name: "_proxy",
                type: "address"
            },
            {
                internalType: "bytes",
                name: "_data",
                type: "bytes"
            },
        ],
        name: "acceptProxyAndCall",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "_proposalId",
                type: "bytes32"
            },
            {
                internalType: "bytes32",
                name: "_votes",
                type: "bytes32"
            },
            {
                internalType: "bytes32",
                name: "_metadata",
                type: "bytes32"
            },
            {
                internalType: "enum IGraphGovernance.ProposalResolution",
                name: "_resolution",
                type: "uint8"
            },
        ],
        name: "createProposal",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [],
        name: "governor",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_governor",
                type: "address"
            },
        ],
        name: "initialize",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "_proposalId",
                type: "bytes32"
            },
        ],
        name: "isProposalCreated",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "pendingGovernor",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "",
                type: "bytes32"
            },
        ],
        name: "proposals",
        outputs: [
            {
                internalType: "bytes32",
                name: "votes",
                type: "bytes32"
            },
            {
                internalType: "bytes32",
                name: "metadata",
                type: "bytes32"
            },
            {
                internalType: "enum IGraphGovernance.ProposalResolution",
                name: "resolution",
                type: "uint8"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_newGovernor",
                type: "address"
            },
        ],
        name: "transferOwnership",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "_proposalId",
                type: "bytes32"
            },
            {
                internalType: "bytes32",
                name: "_votes",
                type: "bytes32"
            },
            {
                internalType: "bytes32",
                name: "_metadata",
                type: "bytes32"
            },
            {
                internalType: "enum IGraphGovernance.ProposalResolution",
                name: "_resolution",
                type: "uint8"
            },
        ],
        name: "updateProposal",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
];
var _bytecode = " ";
var GraphGovernance__factory = /** @class */ (function (_super) {
    __extends(GraphGovernance__factory, _super);
    function GraphGovernance__factory(signer) {
        return _super.call(this, _abi, _bytecode, signer) || this;
    }
    GraphGovernance__factory.prototype.deploy = function (overrides) {
        return _super.prototype.deploy.call(this, overrides || {});
    };
    GraphGovernance__factory.prototype.getDeployTransaction = function (overrides) {
        return _super.prototype.getDeployTransaction.call(this, overrides || {});
    };
    GraphGovernance__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    GraphGovernance__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    GraphGovernance__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    GraphGovernance__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    GraphGovernance__factory.bytecode = _bytecode;
    GraphGovernance__factory.abi = _abi;
    return GraphGovernance__factory;
}(ethers_1.ContractFactory));
exports.GraphGovernance__factory = GraphGovernance__factory;
