"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.GraphGovernanceV1Storage__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"
    },
    {
        inputs: [],
        name: "acceptOwnership",
        outputs: [],
        stateMutability: "nonpayable",
        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: "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"
    },
];
var _bytecode = "0x608060405234801561001057600080fd5b50610388806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80630c340a241461005c57806332ed5b121461008057806379ba5097146100cc578063e3056a34146100d6578063f2fde38b146100de575b600080fd5b610064610104565b604080516001600160a01b039092168252519081900360200190f35b61009d6004803603602081101561009657600080fd5b5035610113565b604051808481526020018381526020018260028111156100b957fe5b8152602001935050505060405180910390f35b6100d4610136565b005b610064610245565b6100d4600480360360208110156100f457600080fd5b50356001600160a01b0316610254565b6000546001600160a01b031681565b600260208190526000918252604090912080546001820154919092015460ff1683565b6001546001600160a01b03161580159061015a57506001546001600160a01b031633145b6101ab576040805162461bcd60e51b815260206004820152601f60248201527f43616c6c6572206d7573742062652070656e64696e6720676f7665726e6f7200604482015290519081900360640190fd5b60008054600180546001600160a01b038082166001600160a01b03198086168217808855931690935560405193811694929391169184917f0ac6deed30eef60090c749850e10f2fa469e3e25fec1d1bef2853003f6e6f18f9190a36001546040516001600160a01b03918216918316907f76563ad561b7036ae716b9b25cb521b21463240f104c97e12f25877f2235f33d90600090a35050565b6001546001600160a01b031681565b6000546001600160a01b031633146102ac576040805162461bcd60e51b815260206004820152601660248201527513db9b1e4811dbdd995c9b9bdc8818d85b8818d85b1b60521b604482015290519081900360640190fd5b6001600160a01b0381166102fe576040805162461bcd60e51b815260206004820152601460248201527311dbdd995c9b9bdc881b5d5cdd081899481cd95d60621b604482015290519081900360640190fd5b600180546001600160a01b038381166001600160a01b03198316179283905560405191811692169082907f76563ad561b7036ae716b9b25cb521b21463240f104c97e12f25877f2235f33d90600090a3505056fea26469706673582212206528fd6551f8a4ba86656faf21d0d4875fca007dc3199697bf36377beb823a3f64736f6c63430007040033";
var GraphGovernanceV1Storage__factory = /** @class */ (function (_super) {
    __extends(GraphGovernanceV1Storage__factory, _super);
    function GraphGovernanceV1Storage__factory(signer) {
        return _super.call(this, _abi, _bytecode, signer) || this;
    }
    GraphGovernanceV1Storage__factory.prototype.deploy = function (overrides) {
        return _super.prototype.deploy.call(this, overrides || {});
    };
    GraphGovernanceV1Storage__factory.prototype.getDeployTransaction = function (overrides) {
        return _super.prototype.getDeployTransaction.call(this, overrides || {});
    };
    GraphGovernanceV1Storage__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    GraphGovernanceV1Storage__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    GraphGovernanceV1Storage__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    GraphGovernanceV1Storage__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    GraphGovernanceV1Storage__factory.bytecode = _bytecode;
    GraphGovernanceV1Storage__factory.abi = _abi;
    return GraphGovernanceV1Storage__factory;
}(ethers_1.ContractFactory));
exports.GraphGovernanceV1Storage__factory = GraphGovernanceV1Storage__factory;
