{
    "Function": "moveDao",
    "File": "contracts/Dao.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "iBASE"
    ],
    "Internal Calls": [
        "require(bool,string)",
        "completeProposal"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function moveDao(uint _proposalID) internal {\n        address _proposedAddress = mapPID_address[_proposalID]; // Get the proposed new address\n        require(_proposedAddress != address(0), \"!address\"); // Proposed address must be valid\n        DAO = _proposedAddress; // Change the DAO to point to the new DAO address\n        iBASE(BASE).changeDAO(_proposedAddress); // Change the BASE contract to point to the new DAO address\n        daoHasMoved = true; // Set status of this old DAO\n        completeProposal(_proposalID); // Finalise the proposal\n    }"
}