// SPDX-License-Identifier: MIT pragma solidity ^0.8.19; import "./MockDVMPool.sol"; /** * @title MockDVMFactory * @notice Mock DODO Vending Machine factory for Chain 138 when no official DVM exists * @dev Deploy this on Chain 138 and set DODO_VENDING_MACHINE_ADDRESS so run-pmm-and-pools.sh can run. * Pools are mock (no real AMM); replace with real DODO DVM when available (see DVM_DEPLOYMENT_CHECK.md). */ contract MockDVMFactory { function createDVM( address baseToken, address quoteToken, uint256, /* lpFeeRate */ uint256 initialPrice, uint256, /* k */ bool /* isOpenTWAP */ ) external returns (address dvm) { MockDVMPool pool = new MockDVMPool(baseToken, quoteToken, initialPrice); return address(pool); } }