{
    "Function": "createLaunchPad",
    "File": "src/LamboFactory.sol",
    "Parent Contracts": [
        "lib/openzeppelin-contracts/contracts/utils/ReentrancyGuard.sol",
        "lib/openzeppelin-contracts/contracts/access/Ownable.sol",
        "lib/openzeppelin-contracts/contracts/utils/Context.sol"
    ],
    "High-Level Calls": [
        "SafeERC20",
        "SafeERC20",
        "VirtualToken",
        "IERC20",
        "IPoolFactory",
        "IPool"
    ],
    "Internal Calls": [
        "nonReentrant",
        "_deployLamboToken",
        "onlyWhiteListed"
    ],
    "Library Calls": [
        "safeTransfer",
        "safeTransfer"
    ],
    "Low-Level Calls": [],
    "Code": "function createLaunchPad(\n        string memory name,\n        string memory tickname,\n        uint256 virtualLiquidityAmount,\n        address virtualLiquidityToken\n    ) public onlyWhiteListed(virtualLiquidityToken) nonReentrant returns (address quoteToken, address pool) {\n        quoteToken = _deployLamboToken(name, tickname);\n        pool = IPoolFactory(LaunchPadUtils.UNISWAP_POOL_FACTORY_).createPair(virtualLiquidityToken, quoteToken);\n\n        VirtualToken(virtualLiquidityToken).takeLoan(pool, virtualLiquidityAmount);\n        IERC20(quoteToken).safeTransfer(pool, LaunchPadUtils.TOTAL_AMOUNT_OF_QUOTE_TOKEN);\n\n        // Directly minting to address(0) will cause Dexscreener to not display LP being burned\n        // So, we have to mint to address(this), then send it to address(0).\n        IPool(pool).mint(address(this));\n        IERC20(pool).safeTransfer(address(0), IERC20(pool).balanceOf(address(this)));\n\n        emit PoolCreated(virtualLiquidityToken, quoteToken, pool, virtualLiquidityAmount);\n    }"
}