{
    "Function": "slitherConstructorVariables",
    "File": "contracts/lybra/pools/LybraRETHVault.sol",
    "Parent Contracts": [
        "contracts/lybra/pools/base/LybraPeUSDVaultBase.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "contract LybraRETHVault is LybraPeUSDVaultBase {\n    IRkPool rkPool = IRkPool(0xDD3f50F8A6CafbE9b31a427582963f465E745AF8);\n\n    // rkPool = 0xDD3f50F8A6CafbE9b31a427582963f465E745AF8\n    // rETH = 0xae78736Cd615f374D3085123A210448E74Fc6393\n    constructor(address _peusd, address _config, address _rETH, address _oracle, address _rkPool)\n        LybraPeUSDVaultBase(_peusd, _oracle, _rETH, _config) {\n            rkPool = IRkPool(_rkPool);\n        }\n\n    function depositEtherToMint(uint256 mintAmount) external payable override {\n        require(msg.value >= 1 ether, \"DNL\");\n        uint256 preBalance = collateralAsset.balanceOf(address(this));\n        rkPool.deposit{value: msg.value}();\n        uint256 balance = collateralAsset.balanceOf(address(this));\n        depositedAsset[msg.sender] += balance - preBalance;\n\n        if (mintAmount > 0) {\n            _mintPeUSD(msg.sender, msg.sender, mintAmount, getAssetPrice());\n        }\n\n        emit DepositEther(msg.sender, address(collateralAsset), msg.value,balance - preBalance, block.timestamp);\n    }\n\n    function setRkPool(address addr) external {\n        require(configurator.hasRole(keccak256(\"TIMELOCK\"), msg.sender));\n        rkPool = IRkPool(addr);\n    }\n\n    function getAssetPrice() public override returns (uint256) {\n        return (_etherPrice() * IRETH(address(collateralAsset)).getExchangeRatio()) / 1e18;\n    }\n}"
}