{
    "Function": "withdrawERC20",
    "File": "contracts/Basket.sol",
    "Parent Contracts": [
        "node_modules/@openzeppelin/contracts/proxy/utils/Initializable.sol",
        "node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol",
        "node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol",
        "contracts/Interfaces/IBasket.sol",
        "node_modules/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol",
        "node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol",
        "node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol",
        "node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol",
        "node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol",
        "node_modules/@openzeppelin/contracts/utils/Context.sol"
    ],
    "High-Level Calls": [
        "IERC20",
        "IERC20"
    ],
    "Internal Calls": [
        "require(bool,string)",
        "_isApprovedOrOwner"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function withdrawERC20(address _token) external override {\n        require(_isApprovedOrOwner(msg.sender, 0), \"withdraw:not allowed\");\n        IERC20(_token).transfer(msg.sender, IERC20(_token).balanceOf(address(this)));\n        emit WithdrawERC20(_token, msg.sender);\n    }"
}