{
    "Function": "withdrawAll",
    "File": "contracts/VoterProxy.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "IERC20",
        "SafeMath"
    ],
    "Internal Calls": [
        "withdraw",
        "require(bool,string)",
        "balanceOfPool"
    ],
    "Library Calls": [
        "add"
    ],
    "Low-Level Calls": [],
    "Code": "function withdrawAll(address _token, address _gauge) external returns (bool) {\n        require(msg.sender == operator, \"!auth\");\n        uint256 amount = balanceOfPool(_gauge).add(IERC20(_token).balanceOf(address(this)));\n        withdraw(_token, _gauge, amount);\n        return true;\n    }"
}