Uniswap / v3-periphery

🦄 🦄 🦄 Peripheral smart contracts for interacting with Uniswap v3
https://uniswap.org
GNU General Public License v2.0
1.17k stars 1.09k forks source link

Any reason why createAndInitializePoolIfNecessary is payable ? #263

Open ICONationDevTeam opened 2 years ago

ICONationDevTeam commented 2 years ago

https://github.com/Uniswap/v3-periphery/blob/22a7ead071fff53f00d9ddc13434f285f4ed5c7d/contracts/base/PoolInitializer.sol#L13-L18

This method is payable, but it doesn't look likes it uses ETH at all. Any reason why this method is payable ?