{
    "Function": "getPoolShareWeight",
    "File": "contracts/Utils.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "iPOOL",
        "iBEP20"
    ],
    "Internal Calls": [
        "calcShare",
        "getPool"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function getPoolShareWeight(address token, uint units) external view returns(uint weight){\n        address pool = getPool(token);\n        weight = calcShare(units, iBEP20(pool).totalSupply(), iPOOL(pool).baseAmount());\n        return (weight);\n    }"
}