{
    "Function": "getSharesByPooledEth",
    "File": "contracts/mocks/stETHMock.sol",
    "Parent Contracts": [
        "node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol"
    ],
    "High-Level Calls": [
        "SafeMath",
        "SafeMath"
    ],
    "Internal Calls": [
        "_getTotalMintedEUSD",
        "_getTotalShares"
    ],
    "Library Calls": [
        "div",
        "mul"
    ],
    "Low-Level Calls": [],
    "Code": "function getSharesByPooledEth(\n        uint256 _EUSDAmount\n    ) public view returns (uint256) {\n        uint256 totalMintedEUSD = _getTotalMintedEUSD();\n        if (totalMintedEUSD == 0) {\n            return 0;\n        } else {\n            return _EUSDAmount.mul(_getTotalShares()).div(totalMintedEUSD);\n        }\n    }"
}