{
    "Function": "getMinimumValue",
    "File": "contracts/contracts/VelodromeLibrary.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "IPair",
        "IRouter"
    ],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function getMinimumValue(address tokenIn, address tokenOut, bool stable) external view returns (uint, uint, uint) {\n        (uint dec0, uint dec1, uint r0, uint r1,, address t0,) = IPair(router.pairFor(tokenIn, tokenOut, stable)).metadata();\n        uint sample = tokenIn == t0 ? r0*dec1/r1 : r1*dec0/r0;\n        return (sample, r0, r1);\n    }"
}