```\n  /**\n     * @notice Returns the percentage that Unripe Beans have been recapitalized.\n     */\n function percentBeansRecapped() internal view returns (uint256 percent) {\n        AppStorage storage s = LibAppStorage.diamondStorage();\n        return s.u[C.UNRIPE_BEAN].balanceOfUnderlying.mul(DECIMALS).div(C.unripeBean().totalSupply());\n  }\n\n  /**\n     * @notice Returns the percentage that Unripe LP have been recapitalized.\n     */\n  function percentLPRecapped() internal view returns (uint256 percent) {\n        AppStorage storage s = LibAppStorage.diamondStorage();\n        return C.unripeLPPerDollar().mul(s.recapitalized).div(C.unripeLP().totalSupply());\n   }\n```\n