{
    "Function": "withdrawAdmin",
    "File": "contracts/VTVLVesting.sol",
    "Parent Contracts": [
        "contracts/AccessProtected.sol",
        "node_modules/@openzeppelin/contracts/utils/Context.sol"
    ],
    "High-Level Calls": [
        "SafeERC20",
        "IERC20"
    ],
    "Internal Calls": [
        "require(bool,string)",
        "onlyAdmin",
        "_msgSender",
        "_msgSender"
    ],
    "Library Calls": [
        "safeTransfer"
    ],
    "Low-Level Calls": [],
    "Code": "function withdrawAdmin(uint112 _amountRequested) public onlyAdmin {    \n        // Allow the owner to withdraw any balance not currently tied up in contracts.\n        uint256 amountRemaining = tokenAddress.balanceOf(address(this)) - numTokensReservedForVesting;\n\n        require(amountRemaining >= _amountRequested, \"INSUFFICIENT_BALANCE\");\n\n        // Actually withdraw the tokens\n        // Reentrancy note - this operation doesn't touch any of the internal vars, simply transfers\n        // Also following Checks-effects-interactions pattern\n        tokenAddress.safeTransfer(_msgSender(), _amountRequested);\n\n        // Let the withdrawal known to everyone\n        emit AdminWithdrawn(_msgSender(), _amountRequested);\n    }"
}