{
    "Function": "hasQuorum",
    "File": "contracts/Dao.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "iDAOVAULT",
        "iBONDVAULT"
    ],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function hasQuorum(uint _proposalID) public view returns(bool){\n        uint votes = mapPID_votes[_proposalID]; // Get the proposal's total voting weight\n        uint _totalWeight = _DAOVAULT.totalWeight()  + _BONDVAULT.totalWeight(); // Get combined total vault weights\n        uint consensus = _totalWeight / 2; // Quorum > 50%\n        if(votes > consensus){\n            return true;\n        } else {\n            return false;\n        }\n    }"
}