{
    "Function": "mint",
    "File": "src/token/ERC20.sol",
    "Parent Contracts": [
        "src/util/Context.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "auth",
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function mint(address to, uint256 value) public virtual auth {\n        require(to != address(0) && to != address(this), \"ERC20/invalid-address\");\n        unchecked {\n            balanceOf[to] = balanceOf[to] + value; // note: we don't need an overflow check here b/c balanceOf[to] <= totalSupply and there is an overflow check below\n        }\n        totalSupply = totalSupply + value;\n\n        emit Transfer(address(0), to, value);\n    }"
}