{
    "Function": "strategistBootyClaim",
    "File": "contracts/rubiconPools/BathPair.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "IERC20",
        "SafeMath",
        "IERC20",
        "SafeMath",
        "SafeMath",
        "IERC20",
        "SafeMath",
        "IERC20"
    ],
    "Internal Calls": [
        "onlyApprovedStrategist"
    ],
    "Library Calls": [
        "div",
        "div",
        "mul",
        "mul"
    ],
    "Low-Level Calls": [],
    "Code": "function strategistBootyClaim(address asset, address quote)\n        external\n        onlyApprovedStrategist(msg.sender)\n    {\n        uint256 fillCountA = strategist2Fills[msg.sender][asset];\n        uint256 fillCountQ = strategist2Fills[msg.sender][quote];\n        if (fillCountA > 0) {\n            uint256 booty = (\n                fillCountA.mul(IERC20(asset).balanceOf(address(this)))\n            ).div(totalFillsPerAsset[asset]);\n            IERC20(asset).transfer(msg.sender, booty);\n            emit LogStrategistRewardClaim(\n                msg.sender,\n                asset,\n                booty,\n                block.timestamp\n            );\n            totalFillsPerAsset[asset] -= fillCountA;\n            strategist2Fills[msg.sender][asset] -= fillCountA;\n        }\n        if (fillCountQ > 0) {\n            uint256 booty = (\n                fillCountQ.mul(IERC20(quote).balanceOf(address(this)))\n            ).div(totalFillsPerAsset[quote]);\n            IERC20(quote).transfer(msg.sender, booty);\n            emit LogStrategistRewardClaim(\n                msg.sender,\n                quote,\n                booty,\n                block.timestamp\n            );\n            totalFillsPerAsset[quote] -= fillCountQ;\n            strategist2Fills[msg.sender][quote] -= fillCountQ;\n        }\n    }"
}