{
    "Function": "execute",
    "File": "src/Timelock.sol",
    "Parent Contracts": [
        "lib/openzeppelin-contracts/contracts/token/ERC721/IERC721Receiver.sol",
        "lib/openzeppelin-contracts/contracts/token/ERC1155/IERC1155Receiver.sol",
        "lib/openzeppelin-contracts/contracts/access/extensions/AccessControlEnumerable.sol",
        "lib/openzeppelin-contracts/contracts/access/AccessControl.sol",
        "lib/openzeppelin-contracts/contracts/utils/introspection/ERC165.sol",
        "lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol",
        "lib/openzeppelin-contracts/contracts/access/extensions/IAccessControlEnumerable.sol",
        "lib/openzeppelin-contracts/contracts/access/IAccessControl.sol",
        "lib/openzeppelin-contracts/contracts/utils/Context.sol",
        "src/ConfigurablePause.sol"
    ],
    "High-Level Calls": [
        "EnumerableSet"
    ],
    "Internal Calls": [
        "_execute",
        "require(bool,string)",
        "isOperationReady",
        "_afterCall",
        "whenNotPaused",
        "hashOperation",
        "require(bool,string)"
    ],
    "Library Calls": [
        "remove"
    ],
    "Low-Level Calls": [],
    "Code": "function execute(\n        address target,\n        uint256 value,\n        bytes calldata payload,\n        bytes32 salt\n    ) external payable whenNotPaused {\n        bytes32 id = hashOperation(target, value, payload, salt);\n\n        /// first reentrancy check, impossible to reenter and execute the same\n        /// proposal twice\n        require(_liveProposals.remove(id), \"Timelock: proposal does not exist\");\n        require(isOperationReady(id), \"Timelock: operation is not ready\");\n\n        _execute(target, value, payload);\n        emit CallExecuted(id, 0, target, value, payload);\n\n        /// second reentrancy check, second check that operation is ready,\n        /// operation will be not ready if already executed as timestamp will\n        /// be set to 1\n        _afterCall(id);\n    }"
}