{
    "Function": "calcAsymmetricValueToken",
    "File": "contracts/Utils.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "iPOOL",
        "iBEP20",
        "iBEP20",
        "iPOOL"
    ],
    "Internal Calls": [
        "calcShare",
        "calcShare",
        "calcSwapValueInTokenWithPool"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function calcAsymmetricValueToken(address pool, uint amount) external view returns (uint tokenValue){\n        uint baseAmount = calcShare(amount, iBEP20(pool).totalSupply(), iPOOL(pool).baseAmount());\n        uint tokenAmount = calcShare(amount, iBEP20(pool).totalSupply(), iPOOL(pool).tokenAmount());\n        uint baseSwapped = calcSwapValueInTokenWithPool(pool, baseAmount);\n        tokenValue = tokenAmount + baseSwapped;\n        return tokenValue;\n    }"
}