{
    "Function": "_updateAccumulatedETHPerLP",
    "File": "contracts/liquid-staking/SyndicateRewardsProcessor.sol",
    "Parent Contracts": [],
    "High-Level Calls": [],
    "Internal Calls": [
        "totalRewardsReceived"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function _updateAccumulatedETHPerLP(uint256 _numOfShares) internal {\n        if (_numOfShares > 0) {\n            uint256 received = totalRewardsReceived();\n            uint256 unprocessed = received - totalETHSeen;\n\n            if (unprocessed > 0) {\n                emit ETHReceived(unprocessed);\n\n                // accumulated ETH per minted share is scaled to avoid precision loss. it is scaled down later\n                accumulatedETHPerLPShare += (unprocessed * PRECISION) / _numOfShares;\n\n                totalETHSeen = received;\n            }\n        }\n    }"
}