project screenshot 1
project screenshot 2
project screenshot 3

Uniswap V4 6909

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

Uniswap V4 6909

Created At

ETHGlobal New York

Winner of

🏗 Uniswap Foundation — Best Dev Tool

Project Description

replaced erc-1155 with erc-6909. it:

  • simplifies burning and transferring logic
  • removes unnecessary callbacks
  • removes unnecessary batching
  • removes unnecessary recipient checks
  • reduces codesize dramatically

full gas report is in the following gist: https://gist.github.com/jtriley-eth/2884dca4a9cbef420f086a13e240f539

burning tokens saw the most dramatic improvement of a 5.6x improvement across the board, reducing the cost by 22,697 gas.

How it's Made

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,,,,,,,,,,,,,,,

background image mobile

Join the mailing list

Get the latest news and updates