{
    "Function": "beforeWithdraw",
    "File": "src/sfrxETH.sol",
    "Parent Contracts": [
        "lib/openzeppelin-contracts/contracts/security/ReentrancyGuard.sol",
        "lib/ERC4626/src/xERC4626.sol",
        "lib/solmate/src/mixins/ERC4626.sol",
        "lib/solmate/src/tokens/ERC20.sol",
        "lib/ERC4626/src/interfaces/IxERC4626.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "beforeWithdraw",
        "syncRewards"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function beforeWithdraw(uint256 assets, uint256 shares) internal override {\n        super.beforeWithdraw(assets, shares); // call xERC4626's beforeWithdraw first\n        if (block.timestamp >= rewardsCycleEnd) { syncRewards(); } \n    }"
}