{
    "Function": "valueOfUnderlying",
    "File": "contracts/CDSTemplate.sol",
    "Parent Contracts": [
        "contracts/interfaces/IUniversalMarket.sol",
        "contracts/interfaces/ICDSTemplate.sol",
        "contracts/InsureDAOERC20.sol",
        "node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol",
        "node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol",
        "node_modules/@openzeppelin/contracts/utils/Context.sol"
    ],
    "High-Level Calls": [
        "IVault"
    ],
    "Internal Calls": [
        "balanceOf",
        "totalSupply"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function valueOfUnderlying(address _owner) public view returns (uint256) {\n        uint256 _balance = balanceOf(_owner);\n        if (_balance == 0) {\n            return 0;\n        } else {\n            return\n                _balance * vault.attributionValue(crowdPool) / totalSupply();\n        }\n    }"
}