"use strict";
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.GovernorBravoDelegator__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
var ethers_1 = require("ethers");
var _abi = [
    {
        inputs: [
            {
                internalType: "address",
                name: "timelock_",
                type: "address"
            },
            {
                internalType: "address",
                name: "comp_",
                type: "address"
            },
            {
                internalType: "address",
                name: "admin_",
                type: "address"
            },
            {
                internalType: "address",
                name: "implementation_",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "votingPeriod_",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "votingDelay_",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "proposalThreshold_",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "nonpayable",
        type: "constructor"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "address",
                name: "oldAdmin",
                type: "address"
            },
            {
                indexed: false,
                internalType: "address",
                name: "newAdmin",
                type: "address"
            },
        ],
        name: "NewAdmin",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "address",
                name: "oldImplementation",
                type: "address"
            },
            {
                indexed: false,
                internalType: "address",
                name: "newImplementation",
                type: "address"
            },
        ],
        name: "NewImplementation",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "address",
                name: "oldPendingAdmin",
                type: "address"
            },
            {
                indexed: false,
                internalType: "address",
                name: "newPendingAdmin",
                type: "address"
            },
        ],
        name: "NewPendingAdmin",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "uint256",
                name: "id",
                type: "uint256"
            },
        ],
        name: "ProposalCanceled",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "uint256",
                name: "id",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "address",
                name: "proposer",
                type: "address"
            },
            {
                indexed: false,
                internalType: "address[]",
                name: "targets",
                type: "address[]"
            },
            {
                indexed: false,
                internalType: "uint256[]",
                name: "values",
                type: "uint256[]"
            },
            {
                indexed: false,
                internalType: "string[]",
                name: "signatures",
                type: "string[]"
            },
            {
                indexed: false,
                internalType: "bytes[]",
                name: "calldatas",
                type: "bytes[]"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "startBlock",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "endBlock",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "string",
                name: "description",
                type: "string"
            },
        ],
        name: "ProposalCreated",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "uint256",
                name: "id",
                type: "uint256"
            },
        ],
        name: "ProposalExecuted",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "uint256",
                name: "id",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "eta",
                type: "uint256"
            },
        ],
        name: "ProposalQueued",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "uint256",
                name: "oldProposalThreshold",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "newProposalThreshold",
                type: "uint256"
            },
        ],
        name: "ProposalThresholdSet",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "voter",
                type: "address"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "proposalId",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint8",
                name: "support",
                type: "uint8"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "votes",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "string",
                name: "reason",
                type: "string"
            },
        ],
        name: "VoteCast",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "uint256",
                name: "oldVotingDelay",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "newVotingDelay",
                type: "uint256"
            },
        ],
        name: "VotingDelaySet",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "uint256",
                name: "oldVotingPeriod",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "newVotingPeriod",
                type: "uint256"
            },
        ],
        name: "VotingPeriodSet",
        type: "event"
    },
    {
        payable: true,
        stateMutability: "payable",
        type: "fallback"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "implementation_",
                type: "address"
            },
        ],
        name: "_setImplementation",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "admin",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "implementation",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "pendingAdmin",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
];
var _bytecode = " ";
var isSuperArgs = function (xs) { return xs.length > 1; };
var GovernorBravoDelegator__factory = /** @class */ (function (_super) {
    __extends(GovernorBravoDelegator__factory, _super);
    function GovernorBravoDelegator__factory() {
        var args = [];
        for (var _i = 0; _i < arguments.length; _i++) {
            args[_i] = arguments[_i];
        }
        var _this = this;
        if (isSuperArgs(args)) {
            _this = _super.apply(this, args) || this;
        }
        else {
            _this = _super.call(this, _abi, _bytecode, args[0]) || this;
        }
        return _this;
    }
    GovernorBravoDelegator__factory.prototype.deploy = function (timelock_, comp_, admin_, implementation_, votingPeriod_, votingDelay_, proposalThreshold_, overrides) {
        return _super.prototype.deploy.call(this, timelock_, comp_, admin_, implementation_, votingPeriod_, votingDelay_, proposalThreshold_, overrides || {});
    };
    GovernorBravoDelegator__factory.prototype.getDeployTransaction = function (timelock_, comp_, admin_, implementation_, votingPeriod_, votingDelay_, proposalThreshold_, overrides) {
        return _super.prototype.getDeployTransaction.call(this, timelock_, comp_, admin_, implementation_, votingPeriod_, votingDelay_, proposalThreshold_, overrides || {});
    };
    GovernorBravoDelegator__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    GovernorBravoDelegator__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    GovernorBravoDelegator__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    GovernorBravoDelegator__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    GovernorBravoDelegator__factory.bytecode = _bytecode;
    GovernorBravoDelegator__factory.abi = _abi;
    return GovernorBravoDelegator__factory;
}(ethers_1.ContractFactory));
exports.GovernorBravoDelegator__factory = GovernorBravoDelegator__factory;
//# sourceMappingURL=GovernorBravoDelegator__factory.js.map