Code from Uniswap V2 with the following modifications.
- Change contract version to 0.6.12 and do the necessary patching.
- Add
migrator
member inUniswapV2Factory
which can be set byfeeToSetter
. - Allow
migrator
to specify the amount ofliquidity
during the first mint. Disallow first mint if migrator is set.
To see all diffs:
$ git diff 4c4bf551417e3df09a25aa0dbb6941cccbbac11a .