{
    "Function": "claimFees",
    "File": "contracts/ClaimFeesHelper.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "IFeeDistributor",
        "IERC20",
        "IERC20",
        "IFeeDistributor",
        "IFeeDistributor",
        "IBooster"
    ],
    "Internal Calls": [
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function claimFees(IERC20 _token) external {\n        uint256 tokenTime = feeDistro.getTokenTimeCursor(_token);\n        require(tokenTime > lastTokenTimes[address(_token)], \"not time yet\");\n\n        uint256 bal = IERC20(_token).balanceOf(voterProxy);\n        feeDistro.claimToken(voterProxy, _token);\n\n        // Loop through until something is transferred\n        while (IERC20(_token).balanceOf(voterProxy) <= bal) {\n            feeDistro.claimToken(voterProxy, _token);\n        }\n\n        booster.earmarkFees(address(_token));\n        lastTokenTimes[address(_token)] = tokenTime;\n    }"
}