{
    "Function": "quote",
    "File": "src/libraries/JoeLibrary.sol",
    "Parent Contracts": [],
    "High-Level Calls": [],
    "Internal Calls": [
        "revert JoeLibrary__InsufficientLiquidity()",
        "revert JoeLibrary__InsufficientAmount()"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function quote(\n        uint256 amountA,\n        uint256 reserveA,\n        uint256 reserveB\n    ) internal pure returns (uint256 amountB) {\n        if (amountA == 0) revert JoeLibrary__InsufficientAmount();\n        if (reserveA == 0 || reserveB == 0) revert JoeLibrary__InsufficientLiquidity();\n        amountB = (amountA * reserveB) / reserveA;\n    }"
}