FinancialsVoteDocsDAO GraphExplore
← All proposals
    ←Previous#45#47Next→

    #46 Declare canonical deployments of V2

    canceled

    Description

    Declare canonical deployments of V2

    This proposal will add references to canonical implementations of Uniswap V2 to text records on a new subdomain on uniswap.eth.

    If passed and executed, this proposal will call two functions:

    • the first creates the v2deployments subdomain by calling setSubnodeRecord on the ENS Registry contract and passing it hashed values of the uniswap.eth name and v2deployments subname, as well as the timelock's address and the address of the resolver linked to uniswap.eth
    • the second populates text records by passing the encoded hex data representing 10 separate setText calls to a multicall function on the resolver. Each setText call specifies the network ID of the chain in question as the key and the bridge sender and destination v2Factory contract addresses as the values, separated by a comma (e.g. {"10": addr1, addr2} )

    The code used to derive these values can be found in a Github repo here.

    A full list of deployment addresses can be found here.

    Simulations of this proposal's successful execution can be found by navigating here, clicking on the latest successful workflow run and downloading the Uniswap artifact at the bottom of the page.

    The forum discussion around this proposal can be found here and has been copied below as well.

    TL;DR

    • The only canonical deployment of Uniswap V2 is on Ethereum mainnet.
    • There is demand for V2-style AMMs on non-Ethereum chains and many V2 forks have been deployed with varying degrees of modification.
    • To the extent that these forks have been modified, they may prove unsafe for users.
    • To the extent that these forks have liquidity, that liquidity could likely have accrued to Uniswap V2.
    • The combination of Uniswap V2 and Uniswap V3 can often provide better execution for small-volume swappers via the Universal Router.

    Introduction

    When Uniswap V3’s Business Source License expired and the code’s license transitioned to GPL, the DAO created a process by which it would declare canonical deployments of the contracts. This process serves to identify instances of the V3 code that are a) not modified and b) owned and controlled by the Uniswap governance contracts. These assurances are meant to provide developers and users with comfort that the code they’re using is safe and any changes to it (to the extent that changes are even possible) will be telegraphed long in advance.

    Uniswap V2 is governed by the same permissive GPL license but has not been subject to the same DAO-run multi-chain expansion as V3. Instead, it has been forked and deployed under different brand names and across many chains almost continuously since Sushi’s vampire attack in the summer of 2020. These forks may contain modifications to the code, and their ownership structure can range from DAO governance contracts to single-signature wallets. Nevertheless, forks of V2 can garner significant liquidity and volume relative to other AMMs.

    Proposal

    Deploy Uniswap V2 on all chains where there is there is a canonical instance of V3.

    Rationale

    There are at least three compelling arguments to move forward with this proposal.

    First, V2 forks have been plagued by hacks that have caused the loss of user funds. The Uniswap V2 contracts have been deployed on mainnet since May 4, 2020 with no loss of user funds; they can be considered among the most battle-hardened contracts on Ethereum. Canonical versions of the Uniswap contracts can provide DEX users on new chains - swappers, liquidity providers, and developers - with the safety and security for which the protocol is known.

    Second, there is demand for traditional, full-range AMMs on new chains. Uniswap should be in a place to service this demand and continue to grow our user base and brand equity across multiple ecosystems.

    Third, integrating Uniswap V2 pools into the Universal Router will help incrementally improve execution quality for applications that already use the Router to allow their users to swap.

    For11,744,290 98%
    Against250,049 2%
    Abstain3 0%
    Quorum29%

    Timeline

    1. Pending
    2. Active
      block 18,134,812 → 18,175,132
    3. Canceled

    Votes (80)

    0x8962…d429For · 7,033,587 UNI
    0x13BD…8548For · 3,850,490 UNI
    0xB933…8Dd1For · 600,029 UNI
    0xAac3…0bcDAgainst · 250,020 UNI
    0x3FB1…4C8AFor · 250,000 UNI
    0x1855…98baFor · 10,043 UNI
    0x5C90…771fFor · 22 UNI
    0x8bC8…7276For · 21 UNI
    0xA87B…5753Against · 20 UNI
    0x90bA…27EBFor · 10 UNI
    0x71Cc…992bFor · 10 UNI
    0x4F82…FF08For · 7 UNI
    0x994C…1140For · 6 UNI
    0x992E…4514For · 3 UNI
    0xaEc7…2716For · 3 UNI
    0x772E…FD0dFor · 3 UNI
    0xC95D…6FF2For · 2 UNI
    0x732a…63D5For · 2 UNI
    0xcE1A…67ABFor · 2 UNI
    0xbED7…B0E6For · 2 UNI
    0x3A40…9abcFor · 2 UNI
    0x59F0…56B3For · 2 UNI
    0xb9F1…36d4For · 2 UNI
    0xb9Af…63e9For · 1 UNI
    0xF596…fecDFor · 1 UNI
    0x26FD…D4E8For · 1 UNI
    0x2462…489EFor · 1 UNI
    0xfeF1…9C15For · 1 UNI
    0x4d47…3AD9For · 1 UNI
    0xE335…a3a2For · 1 UNI
    0xF231…1Bb5For · 1 UNI
    0xC127…2F34For · 1 UNI

    1

    0xd665…e1C5Against · 1 UNI
    0x61a7…c35EAbstain · 1 UNI
    0x4DEe…b4C1For · 1 UNI
    0xa3bf…cCB1Against · 1 UNI
    0xD08f…4c9FFor · 1 UNI
    0x9D51…1B43For · 1 UNI
    0xc4bA…3d44Abstain · 1 UNI
    0xEC84…2FE1For · 1 UNI
    0x74Da…068eAgainst · 1 UNI
    0x29c5…Dfc4Against · 1 UNI
    0x4829…5F06Against · 1 UNI
    0x02fd…FDa4For · 1 UNI
    0x8627…D4dBAgainst · 1 UNI
    0xd52D…C091Against · 1 UNI
    0x93C3…dA2CAgainst · 1 UNI
    0xc9bc…857eFor · 1 UNI
    0x4fB4…1AfFFor · 1 UNI
    0x3b57…7b68For · 1 UNI

    Voting timeline

    Proposal actions

    Caller
    Timelock
    0x1a9C…35BC
    →
    setSubnodeRecord→
    ENSRegistry
    0x0000…2e1e
    owner→
    Timelock
    0x1a9C…35BC
    resolver→
    PublicResolver
    0x4976…Ba41
    ▶node, label, ttl
    nodebytes32
    0xec9ec573cf97ad1c270be71ac1de3b382790cb346036130c7d7ff844bf8f4974
    labelbytes32
    0xdf848cb54b740ab5a6c1efa359bf318cc6e5e7b08d1134b9122466969831e32e
    ttluint64
    0
    multicall→
    PublicResolver
    0x4976…Ba41
    ▶data
    databytes[]
    0x10f13a8c30e9fa72b4d7d40be0f8809d748497121d5f38… (6,456 chars)
    0x10f13a8c30e9fa72b4d7d40be0f8809d748497121d5f38ebf8700a7d2e303074e9ccf1a5000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002313000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000563078323561636537316339374233334363343732394346373732616532363839333446376162356641312c2030783543363962456537303165663831346132423661334544443442313635324342396363356141366600000000000000000000,0x10f13a8c30e9fa72b4d7d40be0f8809d748497121d5f38ebf8700a7d2e303074e9ccf1a5000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000005343231363100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000563078344462643466633533354163323732303630363442363846664366383237623041363042414233662c2030783543363962456537303165663831346132423661334544443442313635324342396363356141366600000000000000000000,0x10f13a8c30e9fa72b4d7d40be0f8809d748497121d5f38ebf8700a7d2e303074e9ccf1a5000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000005343331313400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000563078656230424346323744314662346232356537303866424238313563343231416562353165413966632c2030783543363962456537303165663831346132423661334544443442313635324342396363356141366600000000000000000000,0x10f13a8c30e9fa72b4d7d40be0f8809d748497121d5f38ebf8700a7d2e303074e9ccf1a5000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000003313337000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000563078666535653544333631623261643632633534316241623837433435613042394230313833383961322c2030783543363962456537303165663831346132423661334544443442313635324342396363356141366600000000000000000000,0x10f13a8c30e9fa72b4d7d40be0f8809d748497121d5f38ebf8700a7d2e303074e9ccf1a5000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000004383435330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000563078383636453832613630304131343134653538336637463133363233463161433564353862304166612c2030783543363962456537303165663831346132423661334544443442313635324342396363356141366600000000000000000000,0x10f13a8c30e9fa72b4d7d40be0f8809d748497121d5f38ebf8700a7d2e303074e9ccf1a5000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002353600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000563078663546343439363231394633314344434261363133304235343032383733363234353835363135612c2030783543363962456537303165663831346132423661334544443442313635324342396363356141366600000000000000000000,0x10f13a8c30e9fa72b4d7d40be0f8809d748497121d5f38ebf8700a7d2e303074e9ccf1a5000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000005343232323000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000563078663546343439363231394633314344434261363133304235343032383733363234353835363135612c2030783739613533306338653266413837343842374234306464333632394330353230633263436630336600000000000000000000,0x10f13a8c30e9fa72b4d7d40be0f8809d748497121d5f38ebf8700a7d2e303074e9ccf1a5000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000003313030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000563078663546343439363231394633314344434261363133304235343032383733363234353835363135612c2030783731343663363236626537656535653730373437616137356532393534333965363433666330333400000000000000000000,0x10f13a8c30e9fa72b4d7d40be0f8809d748497121d5f38ebf8700a7d2e303074e9ccf1a5000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000003323838000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000563078364434353238643139326442373245323832323635443630393246344238373266394466663639652c2030783533313633323335373436636562383164613332323933626230393332653161353939323536623400000000000000000000,0x10f13a8c30e9fa72b4d7d40be0f8809d748497121d5f38ebf8700a7d2e303074e9ccf1a5000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000004313238340000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000563078663546343439363231394633314344434261363133304235343032383733363234353835363135612c2030783931466243416537366465306238353235313943323644396638434138363562353032376565464100000000000000000000,0x10f13a8c30e9fa72b4d7d40be0f8809d748497121d5f38ebf8700a7d2e303074e9ccf1a5000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000005353931343400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000563078643139643442356433353832353866303544374234313145323141313436304431314230383736462c2030783035363538386631383836396136323662304165396538396630373765464536424137353236333300000000000000000000