Uniswap / universal-router

Uniswap's Universal Router for NFT and ERC20 swapping
GNU General Public License v3.0
396 stars 204 forks source link

Decode everything in `calldata` #294

Closed shuhuiluo closed 1 year ago

shuhuiluo commented 1 year ago

Replace the rest of abi.decode with decoding to calldata using inline assembly. Reduce gas and bytecode size.

hensha256 commented 1 year ago

Thank you! Because this is a fork PR we cannot run CI, so I will merge this into a local branch and then set up a new PR where we can run CI before merging into main.