{
    "Function": "toUint128",
    "File": "contracts/types/LeftRight.sol",
    "Parent Contracts": [],
    "High-Level Calls": [],
    "Internal Calls": [
        "revert CastingError()"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function toUint128(uint256 self) internal pure returns (uint128 selfAsUint128) {\n        if (!((selfAsUint128 = uint128(self)) == self)) revert Errors.CastingError();\n    }"
}