{
    "Function": "deploy",
    "File": "src/contracts/Create2Deployer.sol",
    "Parent Contracts": [],
    "High-Level Calls": [],
    "Internal Calls": [
        "mload(uint256)",
        "create2(uint256,uint256,uint256,uint256)",
        "revert(uint256,uint256)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function deploy(bytes memory code, uint256 salt) public {\n    address addr;\n    assembly {\n      addr := create2(0, add(code, 0x20), mload(code), salt)\n      if iszero(extcodesize(addr)) {\n        revert(0, 0)\n      }\n    }\n\n    emit Deployed(addr, salt);\n  }"
}