{
    "Function": "slitherConstructorVariables",
    "File": "src/Root.sol",
    "Parent Contracts": [
        "src/util/Auth.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "contract Root is Auth {\n    /// @dev To prevent filing a delay that would block any updates indefinitely\n    uint256 private MAX_DELAY = 4 weeks;\n\n    address public immutable escrow;\n\n    mapping(address => uint256) public schedule;\n    uint256 public delay;\n    bool public paused = false;\n\n    // --- Events ---\n    event File(bytes32 indexed what, uint256 data);\n    event Pause();\n    event Unpause();\n    event RelyScheduled(address indexed target, uint256 indexed scheduledTime);\n    event RelyCancelled(address indexed target);\n    event RelyContract(address target, address indexed user);\n    event DenyContract(address target, address indexed user);\n\n    constructor(address _escrow, uint256 _delay) {\n        escrow = _escrow;\n        delay = _delay;\n\n        wards[msg.sender] = 1;\n        emit Rely(msg.sender);\n    }\n\n    // --- Administration ---\n    function file(bytes32 what, uint256 data) external auth {\n        if (what == \"delay\") {\n            require(data <= MAX_DELAY, \"Root/delay-too-long\");\n            delay = data;\n        } else {\n            revert(\"Root/file-unrecognized-param\");\n        }\n        emit File(what, data);\n    }\n\n    // --- Pause management ---\n    function pause() external auth {\n        paused = true;\n        emit Pause();\n    }\n\n    function unpause() external auth {\n        paused = false;\n        emit Unpause();\n    }\n\n    /// --- Timelocked ward management ---\n    function scheduleRely(address target) external auth {\n        schedule[target] = block.timestamp + delay;\n        emit RelyScheduled(target, schedule[target]);\n    }\n\n    function cancelRely(address target) external auth {\n        schedule[target] = 0;\n        emit RelyCancelled(target);\n    }\n\n    function executeScheduledRely(address target) public {\n        require(schedule[target] != 0, \"Root/target-not-scheduled\");\n        require(schedule[target] < block.timestamp, \"Root/target-not-ready\");\n\n        wards[target] = 1;\n        emit Rely(target);\n\n        schedule[target] = 0;\n    }\n\n    /// --- External contract ward management ---\n    /// @notice  can be called by any ward on the Root contract\n    /// to make an arbitrary address a ward on any contract(requires the root contract to be a ward)\n    /// @param target the address of the contract\n    /// @param user the address which should get ward permissions\n    function relyContract(address target, address user) public auth {\n        AuthLike(target).rely(user);\n        emit RelyContract(target, user);\n    }\n\n    /// @notice removes the ward permissions from an address on a contract\n    /// @param target the address of the contract\n    /// @param user the address which persmissions should be removed\n    function denyContract(address target, address user) public auth {\n        AuthLike(target).deny(user);\n        emit DenyContract(target, user);\n    }\n}"
}