Uniswap V4 6909
migrate uniswap v4 from erc-1155 to erc-6909, saves hella gas, reduces hella codesize
Screenshots



Problem Statement
replaced erc-1155 with erc-6909. it:simplifies burning and transferring logicremoves unnecessary callbacksremoves unnecessary batchingremoves unnecessary recipient checksreduces codesize dramaticallyfull gas report is in the following gist: https://gist.github.com/jtriley-eth/2884dca4a9cbef420f086a13e240f539burning tokens saw the most dramatic improvement of a 5.6x improvement across the board, reducing the cost by 22,697 gas.
Solution
this project uses erc-6909 for multi-token accounting and foundry as a testing framework (of course).this is a really simple project, there's not much in terms of technicals to it, but the form is requiring a higher character count so i'm adding this placeholder,,,,,,,,,,,,,,,
Hackathon
ETHGlobal New York
2024
Prizes
- 🏆
🏗 Uniswap Foundation — Best Dev Tool