{
    "Function": "decreaseAllowance",
    "File": "contracts/mocks/stETHMock.sol",
    "Parent Contracts": [
        "node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol"
    ],
    "High-Level Calls": [
        "SafeMath"
    ],
    "Internal Calls": [
        "_approve",
        "require(bool,string)"
    ],
    "Library Calls": [
        "sub"
    ],
    "Low-Level Calls": [],
    "Code": "function decreaseAllowance(\n        address _spender,\n        uint256 _subtractedValue\n    ) public returns (bool) {\n        uint256 currentAllowance = allowances[msg.sender][_spender];\n        require(\n            currentAllowance >= _subtractedValue,\n            \"DECREASED_ALLOWANCE_BELOW_ZERO\"\n        );\n        _approve(msg.sender, _spender, currentAllowance.sub(_subtractedValue));\n        return true;\n    }"
}