{
    "Function": "previewMint",
    "File": "contracts/rubiconPools/BathToken.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "SafeMath",
        "SafeMath"
    ],
    "Internal Calls": [
        "totalAssets"
    ],
    "Library Calls": [
        "mul",
        "div"
    ],
    "Low-Level Calls": [],
    "Code": "function previewMint(uint256 shares) public view returns (uint256 assets) {\n        (totalSupply == 0) ? assets = shares : assets = (\n            shares.mul(totalAssets())\n        ).div(totalSupply);\n    }"
}