"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
exports.__esModule = true;
exports.IGraphGovernance__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        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: [
            {
                internalType: "bytes32",
                name: "_proposalId",
                type: "bytes32"
            },
        ],
        name: "isProposalCreated",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        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 IGraphGovernance__factory = /** @class */ (function () {
    function IGraphGovernance__factory() {
    }
    IGraphGovernance__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    IGraphGovernance__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    IGraphGovernance__factory.abi = _abi;
    return IGraphGovernance__factory;
}());
exports.IGraphGovernance__factory = IGraphGovernance__factory;
