```\nfunction getMarketCap(IERC20Token \_reserveToken)\n    public\n    view\n    returns(uint256)\n{\n    Reserve storage reserve = reserves[\_reserveToken];\n    return reserveBalance(\_reserveToken).mul(1e6).div(reserve.weight);\n}\n```\n