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

Swap and Add Liquidity Atomically On-chain #251

Closed thejoven closed 1 year ago

thejoven commented 2 years ago

How do I realize this method directly in my intelligent contract? I saw a branch but there is no document tells me how to use it.(https://github.com/Uniswap/v3-periphery/tree/swap_and_add_the_sequel)

https://docs.uniswap.org/sdk/guides/liquidity/swap-and-add Swap and Add Liquidity Atomically

ibrahimkecici commented 1 year ago

Hello. Did you find a solution?

thejoven commented 1 year ago

Yes, I need to write my own contract to solve this problem. I can't find a better way.