{
    "Function": "burnFrom",
    "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"
    ],
    "Internal Calls": [
        "_burn",
        "_msgSender",
        "_msgSender",
        "_approve",
        "allowance"
    ],
    "Library Calls": [
        "sub"
    ],
    "Low-Level Calls": [],
    "Code": "function burnFrom(address account, uint256 amount) public virtual {\n        uint256 decreasedAllowance = allowance(account, _msgSender()).sub(\n            amount,\n            'ERC20: burn amount exceeds allowance'\n        );\n\n        _approve(account, _msgSender(), decreasedAllowance);\n        _burn(account, amount);\n    }"
}