{
    "Function": "harvestExcessReserveBalance",
    "File": "contracts/stubs/BalanceHandler.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "SafeInt256"
    ],
    "Internal Calls": [
        "_setBalanceStorage"
    ],
    "Library Calls": [
        "subNoNeg"
    ],
    "Low-Level Calls": [],
    "Code": "function harvestExcessReserveBalance(uint16 currencyId, int256 reserve, int256 assetInternalRedeemAmount) internal {\n        // parameters are validated by the caller\n        reserve = reserve.subNoNeg(assetInternalRedeemAmount);\n        _setBalanceStorage(Constants.RESERVE, currencyId, reserve, 0, 0, 0);\n        emit ExcessReserveBalanceHarvested(currencyId, assetInternalRedeemAmount);\n    }"
}