FinancialsVoteDocsDAO GraphExplore
← All proposals
    ←Previous#38#40Next→

    #39 Deploy Uniswap V3 on Moonbeam (2023)

    executed

    Payment Status

    Description

    Deploy Uniswap V3 on Moonbeam (2023)

    Summary

    We Michigan Blockchain are submitting this proposal to reinstate the deployment of Uniswap v3 on Polkadot’s EVM-compatible parachain, Moonbeam. The temperature check for this proposal passed with 26M (~100%) YES votes and 169 (~0%) NO votes–the proposal stakeholders were agreed upon via the RFC.

    Proposal Motivation

    Last spring, the Uniswap DAO voted on this exact topic. The proposal advanced through Uni’s governance rails, receiving positive feedback from the community, progressing past the temperate check, and eventually passing with a near unanimous YES decision during the onchain vote. Nomad was the designated contract deployer and the appointed cross-chain messaging solution for that proposal. Illusory Systems (Nomad) received the Additional Use Grant, which can be seen on the v3-core-license-grants.uniswap.eth ENS subdomain. Although Nomad obtained the license exemption in May 2022, they never began v3 contract deployment on Moonbeam. This can generally be seen as fortuitous from Uniswap’s vantage point as the hiatus allowed Uniswap to avoid exposure to the Nomad bridge exploit on August 1, 2022.

    Recently, both the Uniswap and Moonbeam communities have voiced interest in reinstating the previous proposal. As a result, we have conversed with key members of the Moonbeam ecosystem to formulate a reformed proposal with modifications to the previous proposal. This new proposal will contain updates regarding the architecture and activity on both Polkadot and Moonbeam. The previous $2.5M commitment by the Moonbeam foundation to the Uniswap Grants Program (UGP) has been omitted due to difficult market conditions, but there are liquidity incentives available through Moonbeam Foundation’s Level 3 grant process. This has the potential to qualify for the mentioned grant over the course of the next few months, allowing for more seamless liquidity bootstrapping on Moonbeam.

    Proposal Stakeholders

    The following list of stakeholders is present to transparently communicate which entities and individuals are involved in proposal creation and implementation.

    Proposer: Michigan Blockchain

    • This entity is responsible for authoring the proposal & managing the governance process

    Deployer: GFX Labs

    • This entity is responsible for the technical deployment of the contracts on the target chain

    Bridge Provider: Wormhole

    • This is the cross-chain messaging solution selected for this deployment

    Target Chain: Moonbeam (a Polkadot parachain)

    • This is the chain that v3 contracts have been deployed on

    Proposal Sponsor: Michigan Blockchain

    • This entity has >2.5M UNI and is therefore eligible for administering the onchain vote

    Moonbeam, Polkadot, and How Uniswap Benefits

    One of the key selling points for Uniswap’s deployment onto Moonbeam is the potential for the DEX to attain market share in the broader Polkadot ecosystem.

    The Polkadot Relay Chain

    At the heart of Polkadot lies the Relay Chain, a layer-0 blockchain with limited bells and whistles, lacking native support for smart contracts. The purpose of the Relay Chain is to serve as a simplistic centerpiece into which other blockchains integrate. Layer-1 blockchains that connect to the Relay Chain are called parachains. Each parachain has autonomy over its architecture with a native token, collator set (collators are just validators for a parachain), and governance system. The Polkadot Relay Chain uses Nominated Proof of Stake (NPoS) consensus, making it responsible for the crucial task of handling the ecosystem’s security. The chain’s staking ratio currently sits at 47% (~$4B DOT out of $7.6B DOT mcap) which indicates that nearly half of the token supply is involved in securing Polkadot. Parachain collators aren’t directly responsible for security but are vital for aggregating parachain txns into a block candidate, along with a respective state transition proof, for the Relay Chain to validate. Offloading consensus responsibilities to the Relay Chain liberates parachains and lets them divert their resources and efforts to designing and maintaining specialized L1s like Moonbeam.

    Moonbeam: Polkadot’s Go-to EVM-Compatible Parachain

    Moonbeam was inaugurated as Polkadot’s second parachain after it won a parachain slot auction in Q4 2021. Parachain slots are the limited number of seats present on the Relay Chain. Each slot is occupied by a particular project for a lease period of two years. Currently, 43 out of the 100 maximum slots are filled. In order for a parachain slot to become occupied, a project must win a slot auction: a 7-day bidding process during which multiple projects compete to attain a seat on the Relay Chain. The project that bids the most DOT tokens bonds (locks up) the bidded tokens for the duration of slot lease. Bonded tokens are returned post lease expiration. To ease the financial burden of self-funding large bids, projects vie for DOT holders’ contributions to crowdfund their bid. Moonbeam received a total of 35,759,931 DOT from ~200k contributors, the highest number of tokens committed for any parachain auction. As a reward, DOT contributors received Glimmer ($GLMR), the native Moonbeam token responsible for rewarding collators, network txn fees, and governance. The sheer number of contributors made GLMR’s distribution decentralized.

    XCM & Interoperability

    Along with security, the second core function of the Relay Chain is providing trustless interoperability between parachains. The sharing of state and validation logic enables a trustless ecosystem. Individual parachains do not have a reliance on trusting other parachains and can instead depend on the Relay Chain. The specific railway for sending assets and messages to parachains via the Relay Chain is called XCMP, which utilizes a standardized communication format called XCM. This is Polkadot’s way of enabling a versatile cross-chain environment, as XCM is not only limited to parachains but can also be utilized by non-Substrate chains. XCM went live May 2022, the same month that the previous Moonbeam RFC was released. It has since relayed ~235k messages. Parity Technologies is constantly iterating on XCM’s functionalities, with XCM v3 launching soon.

    Moonbeam currently leads all other parachains in terms of cross-parachain txns via XCM channels. Over 2/3 of the top XCM channels involve transfers either to or from Moonbeam, illustrating the parachain’s high usage in the Polkadot ecosystem.

    Moonbeam also leveraged XCM to create the XC-20 token standard. XC-20 tokens are essentially Substrate assets that conform to the ERC-20 interface. This is a game changer for Uniswap. Since Uni uses ERC-20 tokens, the DEX struggles to accommodate non-ERC-20 tokens like Substrate native tokens. If a user wants to create a DOT/ETH pool, for instance, this is not possible due to DOT’s incompatibility with Uniswap’s ERC-20 requirement. Utilizing xcDOT, the XC-20 version of DOT, fixes this issue.

    This interoperability between parachains will expose Uniswap to the entire Polkadot ecosystem. Uniswap’s presence on Moonbeam will likely become a beacon for users and developers to access liquidity more seamlessly. The transfer of assets and data from Ethereum to Moonbeam to other parachains–and vice versa–would facilitate the overall growth of Polkadot and Uniswap.

    Developers and Ecosystem

    As of Q4 2022, Polkadot saw its full-time developer count increase to 752, trailing only behind Ethereum. This is in part due to the ease of using the Substrate framework. The rate of growth was on par with Ethereum but lagged behind competing chains like Cosmos and Solana. A more holistic measure of growth would also include the activity present on Polkadot’s canary chain, Kusama, which saw a 21% increase in full-time developers. Prior to launching on Polkadot, projects tend to launch a version of their chain on Kusama–which is not a testnet but a fully sovereign chain–to battle test their product. Kusama hosts a very similar Relay Chain-Parachain architecture to mimic the conditions of Polkadot. Moonbeam’s sister chain on Kusama is called Moonriver. Moonbeam itself saw a full-time developer growth rate of 39%.

    Moonbeam is only second to Acala in terms of parachain TVL, with $46.5M spread across 44 different protocols. Due to the ease with which Ethereum developers can launch their EVM dapps onto the parachain, Moonbeam boasts the largest quantity of applications in the Polkadot ecosystem.

    The DEX market on Moonbeam is largely uncontested, with StellaSwap absorbing most of the parachain’s TVL. With capital efficient liquidity pools and strong brand recognition, Uniswap’s expansion into the Moonbeam ecosystem will very likely enable it to capture market share from StellaSwap and also attract new users–the goal is not for this to be a zero-sum game.

    Deployment Details

    The approval of this proposal by Uniswap governance will lead the stated Uniswap v3 contracts to be deemed as the canonical deployment on Moonbeam. As is the case with all canonical v3 deployments, this deployment will be subject to Ethereum Layer 1 Uniswap Protocol governance and control. The text record of the uniswap.eth ENS subdomain titled v3deployments.uniswap.eth will be amended to include the reference to the stated v3 contracts on Moonbeam.

    Deployed Contracts Information (completed by GFX Labs):

    Message Sender

    Message Receiver

    v3CoreFactoryAddress

    multicall2Address

    proxyAdminAddress

    tickLensAddress

    nftDescriptorLibraryAddressV1_3_0

    nonfungibleTokenPositionDescriptorAddressV1_3_0

    descriptorProxyAddress

    nonfungibleTokenPositionManagerAddress

    v3MigratorAddress

    v3StakerAddress

    quoterV2Address

    swapRouter02

    Bootstrapping Liquidity

    Due to tumultuous market conditions, promises of liquidity bootstrapping have been temporarily excised. However, there are still alternative methods to help procure initial Uni v3 liquidity on Moonbeam post deployment. Michigan Blockchain is currently exploring writing a proposal on the Moonbeam forums via the Moonbeam Foundation’s Level 3 grant process. We are open to community feedback here, but the plan is for our team to apply for a Moonbeam grant on behalf of the DAO.

    Timeline

    This proposal has passed the RFC and temperature check phases. The relevant Uniswap v3 contracts have also been deployed on the Moonbeam chain. If this onchain vote passes, this deployment will be officially recognized as a canonical v3 deployment through an amendment to the v3deployments.uniswap.eth subdomain. Thereafter, Uniswap Labs is left with the task of handling the front-end integration updates and including Moonbeam to the auto router–this final step is not subject to the DAO’s discretion and is handled entirely by Uniswap Labs, a separate entity from DAO.

    For50,382,360 100%
    Against1 0%
    Abstain0 0%
    Quorumreached

    Timeline

    1. Pending
    2. Active
       
      block 17,238,675 → 17,278,995
    3. Succeeded
       
    4. Queued
       
    5. Executed
       

    Votes (53)

    0x683a…6C02For · 7,500,896 UNI
    0x8962…d429For · 7,033,011 UNI
    0x553F…2Ac2For · 5,000,182 UNI
    0x13BD…8548For · 3,500,005 UNI
    0x8d07…A265For · 3,301,156 UNI
    0x067b…4A76For · 3,100,045 UNI
    0x0703…961bFor · 3,000,644 UNI
    0xB777…E1a5For · 2,500,400 UNI
    0xdC1F…E432For · 2,500,010 UNI
    0xed11…bb04For · 2,500,003 UNI
    0xB49f…7948For · 2,500,002 UNI
    0x66Aa…1621For · 2,500,000 UNI
    0x212B…6DB5For · 2,500,000 UNI
    0xa6e8…Eef6For · 2,438,755 UNI
    0x5B3b…7c98For · 500,000 UNI
    0x6f9B…8A1dFor · 6,151 UNI
    0x7Eaf…3555For · 505 UNI
    0x3c00…8Cb5For · 309 UNI
    0x196a…411FFor · 149 UNI
    0xB933…8Dd1For · 22 UNI
    0x8bC8…7276For · 21 UNI
    0x222e…F9c1For · 11 UNI
    0xc724…b01DFor · 10 UNI
    0x2bA0…8412For · 10 UNI
    0xfBF5…F745For · 10 UNI
    0xbF4c…5a7CFor · 6 UNI
    0xD260…B1b6For · 6 UNI
    0x8d0E…C68EFor · 4 UNI
    0xAa71…3535For · 3 UNI
    0xABb6…19EDFor · 2 UNI
    0x5D07…71d1For · 2 UNI
    0x8824…5443For · 2 UNI
    0xECD0…6D74For · 2 UNI
    0x4147…bb79For · 1 UNI
    0xE224…3773For · 1 UNI
    0xaB88…fe76For · 1 UNI
    0xac61…163EFor · 1 UNI
    0x5F2C…b154For · 1 UNI
    0x0151…c3B9Against · 1 UNI
    0xb5ee…7C82For · 1 UNI
    0x4e7f…DA9FFor · 1 UNI
    0x3C6a…b44BFor · 0 UNI
    0xb4C9…7566For · 0 UNI
    0x0566…E0f2For · 0 UNI
    0x3774…A343For · 0 UNI
    0x7CBA…68d2For · 0 UNI
    0xea17…6676Against · 0 UNI

    Considering Moonbeam already has backed away from its grant promise “he previous $2.5M commitment by the Moonbeam foundation to the Uniswap Grants Program (UGP) has been omitted due to difficult market conditions.” It seems reasonable that the team might back away from its commitment even further. In addition, the chain seems not active enough to require Front end integration

    0xBF32…aC4dFor · 0 UNI
    0xe302…C484For · 0 UNI
    0x1850…13B4For · 0 UNI

    Voting timeline

    Proposal actions

    Caller
    Timelock
    0x1a9C…35BC
    →
    setText→
    PublicResolver
    0x4976…Ba41
    ▶node, key, value
    nodebytes32
    0x0b9638d2c5bd4528d603562a1fa1e734fe1b88e680f448d779531e9bc2b55f12
    keystring
    1284
    valuestring
    0xf5F4496219F31CDCBa6130B5402873624585615a, 0x28f1158795A3585CaAA3cD6469CD65382b89BB70