{
    "Function": "mint",
    "File": "contracts/v3/alchemix/AlToken.sol",
    "Parent Contracts": [
        "node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol",
        "node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol",
        "node_modules/@openzeppelin/contracts/access/AccessControl.sol",
        "node_modules/@openzeppelin/contracts/GSN/Context.sol"
    ],
    "High-Level Calls": [
        "SafeMath",
        "SafeMath"
    ],
    "Internal Calls": [
        "require(bool,string)",
        "onlyWhitelisted",
        "require(bool,string)",
        "require(bool,string)",
        "_mint"
    ],
    "Library Calls": [
        "add",
        "add"
    ],
    "Low-Level Calls": [],
    "Code": "function mint(address _recipient, uint256 _amount) external onlyWhitelisted {\n        require(!blacklist[msg.sender], 'AlUSD: Alchemist is blacklisted.');\n        uint256 _total = _amount.add(hasMinted[msg.sender]);\n        require(_total <= ceiling[msg.sender], \"AlUSD: Alchemist's ceiling was breached.\");\n        require(!paused[msg.sender], 'AlUSD: user is currently paused.');\n        hasMinted[msg.sender] = hasMinted[msg.sender].add(_amount);\n        _mint(_recipient, _amount);\n    }"
}