{
    "Function": "increase_amount",
    "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)",
        "require(bool,string)",
        "_mint",
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function increase_amount(uint256 amount) external {\n        require(lockAmounts[msg.sender] > 0, \"Must have a lock\");\n        require(lockTimes[msg.sender] > block.timestamp, \"Current lock expired\");\n        require(amount > 0, \"!amount\");\n        lockAmounts[msg.sender] += amount;\n\n        IERC20(token).transferFrom(msg.sender, address(this), amount);\n        _mint(msg.sender, amount);\n    }"
}