{
    "Function": "reStake",
    "File": "contracts/lybra/miner/ProtocolRewardsPool.sol",
    "Parent Contracts": [
        "node_modules/@openzeppelin/contracts/access/Ownable.sol",
        "node_modules/@openzeppelin/contracts/utils/Context.sol"
    ],
    "High-Level Calls": [
        "IesLBR"
    ],
    "Internal Calls": [
        "getReservedLBRForVesting",
        "getClaimAbleLBR"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function reStake() external {\n        uint256 amount = getReservedLBRForVesting(msg.sender) + getClaimAbleLBR(msg.sender);\n        esLBR.mint(msg.sender, amount);\n        unstakeRatio[msg.sender] = 0;\n        time2fullRedemption[msg.sender] = 0;\n        emit Restake(msg.sender, amount, block.timestamp);\n    }"
}