Closed fulldecent closed 4 years ago
This removes an unused SSTORE and saves 20,000 gas for pair deployment.
SSTORE
Thanks for the contribution. Duplicating the storage was deliberate (getPair can be called with token0/token1 or token1/token0 in either order) , and Uniswap v2 is deployed and will never change.
This removes an unused
SSTORE
and saves 20,000 gas for pair deployment.