{
    "Function": "calcSwapValueInTokenWithPool",
    "File": "contracts/Utils.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "iPOOL",
        "iPOOL"
    ],
    "Internal Calls": [
        "calcSwapOutput"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function calcSwapValueInTokenWithPool(address pool, uint amount) public view returns (uint _output){\n        uint _baseAmount = iPOOL(pool).baseAmount();\n        uint _tokenAmount = iPOOL(pool).tokenAmount();\n        return  calcSwapOutput(amount, _baseAmount, _tokenAmount);\n    }"
}