{
    "Function": "hasMinority",
    "File": "contracts/Dao.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "iBONDVAULT",
        "iDAOVAULT"
    ],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function hasMinority(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 / 6; // Minority > 16.6%\n        if(votes > consensus){\n            return true;\n        } else {\n            return false;\n        }\n    }"
}