{
    "Function": "parseInt",
    "File": "contracts/helpers/StringUtils.sol",
    "Parent Contracts": [],
    "High-Level Calls": [],
    "Internal Calls": [
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function parseInt(string memory _value) internal pure returns (uint256 _ret) {\n        bytes memory _bytesValue = bytes(_value);\n        uint256 j = 1;\n        for (uint256 i = _bytesValue.length - 1; i >= 0 && i < _bytesValue.length; i--) {\n            require(\n                uint8(_bytesValue[i]) >= 48 && uint8(_bytesValue[i]) <= 57,\n                \"Invalid string integer\"\n            );\n            _ret += (uint8(_bytesValue[i]) - 48) * j;\n            j *= 10;\n        }\n    }"
}