{
    "Function": "calcSwapFee",
    "File": "contracts/Utils.sol",
    "Parent Contracts": [],
    "High-Level Calls": [],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function calcSwapFee(uint x, uint X, uint Y) external pure returns (uint output){\n        // y = (x * x * Y) / (x + X)^2\n        uint numerator = x * (x * (Y));\n        uint denominator = (x + (X)) * (x + (X));\n        return numerator / (denominator);\n    }"
}