"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
exports.__esModule = true;
exports.GovernorBravoInterface__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        constant: true,
        inputs: [
            {
                internalType: "uint256",
                name: "proposalId",
                type: "uint256"
            },
        ],
        name: "getActions",
        outputs: [
            {
                internalType: "address[]",
                name: "targets",
                type: "address[]"
            },
            {
                internalType: "uint256[]",
                name: "values",
                type: "uint256[]"
            },
            {
                internalType: "string[]",
                name: "signatures",
                type: "string[]"
            },
            {
                internalType: "bytes[]",
                name: "calldatas",
                type: "bytes[]"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "uint256",
                name: "proposalId",
                type: "uint256"
            },
            {
                internalType: "address",
                name: "voter",
                type: "address"
            },
        ],
        name: "getReceipt",
        outputs: [
            {
                components: [
                    {
                        internalType: "bool",
                        name: "hasVoted",
                        type: "bool"
                    },
                    {
                        internalType: "uint8",
                        name: "support",
                        type: "uint8"
                    },
                    {
                        internalType: "uint96",
                        name: "votes",
                        type: "uint96"
                    },
                ],
                internalType: "struct GovernorBravoInterface.Receipt",
                name: "",
                type: "tuple"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "uint256",
                name: "proposalId",
                type: "uint256"
            },
        ],
        name: "proposals",
        outputs: [
            {
                components: [
                    {
                        internalType: "uint256",
                        name: "id",
                        type: "uint256"
                    },
                    {
                        internalType: "address",
                        name: "proposer",
                        type: "address"
                    },
                    {
                        internalType: "uint256",
                        name: "eta",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "startBlock",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "endBlock",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "forVotes",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "againstVotes",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "abstainVotes",
                        type: "uint256"
                    },
                    {
                        internalType: "bool",
                        name: "canceled",
                        type: "bool"
                    },
                    {
                        internalType: "bool",
                        name: "executed",
                        type: "bool"
                    },
                ],
                internalType: "struct GovernorBravoInterface.Proposal",
                name: "",
                type: "tuple"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
];
var GovernorBravoInterface__factory = /** @class */ (function () {
    function GovernorBravoInterface__factory() {
    }
    GovernorBravoInterface__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    GovernorBravoInterface__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    GovernorBravoInterface__factory.abi = _abi;
    return GovernorBravoInterface__factory;
}());
exports.GovernorBravoInterface__factory = GovernorBravoInterface__factory;
//# sourceMappingURL=GovernorBravoInterface__factory.js.map