{
    "Function": "withdraw",
    "File": "contracts/mocks/curve/MockCurveVoteEscrow.sol",
    "Parent Contracts": [
        "node_modules/@openzeppelin/contracts-0.8/token/ERC20/ERC20.sol",
        "node_modules/@openzeppelin/contracts-0.8/token/ERC20/extensions/IERC20Metadata.sol",
        "node_modules/@openzeppelin/contracts-0.8/token/ERC20/IERC20.sol",
        "node_modules/@openzeppelin/contracts-0.8/utils/Context.sol"
    ],
    "High-Level Calls": [
        "IERC20"
    ],
    "Internal Calls": [
        "require(bool,string)",
        "_burn",
        "balanceOf"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function withdraw() external {\n        require(lockTimes[msg.sender] < block.timestamp, \"!unlocked\");\n\n        uint256 amount = balanceOf(msg.sender);\n\n        lockAmounts[msg.sender] = 0;\n        lockTimes[msg.sender] = 0;\n\n        IERC20(token).transfer(msg.sender, amount);\n        _burn(msg.sender, amount);\n    }"
}