{
    "Function": "getExpectedTokenValue",
    "File": "contracts/libraries/StrategyLibrary.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "SignedSafeMath",
        "SignedSafeMath",
        "IStrategy"
    ],
    "Internal Calls": [],
    "Library Calls": [
        "div",
        "mul"
    ],
    "Low-Level Calls": [],
    "Code": "function getExpectedTokenValue(\n        uint256 total,\n        address strategy,\n        address token\n    ) public view returns (int256) {\n        int256 percentage = IStrategy(strategy).getPercentage(token);\n        if (percentage == 0) return 0;\n        return int256(total).mul(percentage).div(DIVISOR);\n    }"
}