{
    "Function": "at",
    "File": "contracts/lib/openzeppelin-contracts/contracts/utils/structs/DoubleEndedQueue.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "SafeCast",
        "SafeCast"
    ],
    "Internal Calls": [
        "revert OutOfBounds()"
    ],
    "Library Calls": [
        "toInt256",
        "toInt128"
    ],
    "Low-Level Calls": [],
    "Code": "function at(Bytes32Deque storage deque, uint256 index) internal view returns (bytes32 value) {\n        // int256(deque._begin) is a safe upcast\n        int128 idx = SafeCast.toInt128(int256(deque._begin) + SafeCast.toInt256(index));\n        if (idx >= deque._end) revert OutOfBounds();\n        return deque._data[idx];\n    }"
}