Uniswap / v4-periphery

🦄 🦄 🦄 🦄 Peripheral smart contracts for interacting with Uniswap v4
https://blog.uniswap.org/uniswap-v4
GNU General Public License v2.0
688 stars 466 forks source link

Create a Custom Accounting hook for ETH/WETH pools that wraps/unwraps #302

Open ewilz opened 3 weeks ago

ewilz commented 3 weeks ago

Component

Pool Interaction, Hooks

Describe the suggested feature and problem it solves.

We'll potentially have routes that look like DAI-->WETH-->ETH-->UNI since we have native currencies in v4 Pool Manager. Create a custom accounting hook that knows to wrap ETH to WETH, and vice versa to enable these types of routes.

linear[bot] commented 3 weeks ago

PROTO-466 Create a Custom Accounting hook for ETH/WETH pools that wraps/unwraps