{
    "Function": "initialize",
    "File": "contracts/rubiconPools/BathPair.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "IBathHouse",
        "IBathHouse",
        "IBathHouse"
    ],
    "Internal Calls": [
        "require(bool)",
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function initialize(uint256 _maxOrderSizeBPS, int128 _shapeCoefNum)\n        external\n    {\n        require(!initialized);\n        address _bathHouse = msg.sender; //Assume the initializer is BathHouse\n        require(\n            IBathHouse(_bathHouse).getMarket() !=\n                address(0x0000000000000000000000000000000000000000) &&\n                IBathHouse(_bathHouse).initialized(),\n            \"BathHouse not initialized\"\n        );\n        bathHouse = _bathHouse;\n\n        RubiconMarketAddress = IBathHouse(_bathHouse).getMarket();\n\n        // Shape variables for dynamic inventory management\n        /// *** DEprecate but keep storage variable on OP\n        deprecatedStorageVarKept4Proxy = _maxOrderSizeBPS;\n\n        /// @dev A deprecated storage variable! Turns out order books are elegant and complex math is simply computed off-chain, and priced in on-chain orders at the speed of Ethereum L2s!\n        deprecatedStorageVarKept420Proxy = _shapeCoefNum;\n\n        initialized = true;\n    }"
}