{"id":13387,"date":"2023-03-02T17:27:29","date_gmt":"2023-03-02T17:27:29","guid":{"rendered":"https:\/\/coinstats.app\/blog\/?p=13387"},"modified":"2024-05-21T10:06:34","modified_gmt":"2024-05-21T10:06:34","slug":"uniswap-smart-contracts","status":"publish","type":"post","link":"https:\/\/coinstats.app\/blog\/uniswap-smart-contracts\/","title":{"rendered":"Uniswap Smart Contracts: Universal Router and Permit2"},"content":{"rendered":"\n<p>As a web3 enthusiast, you\u2019ve undoubtedly had your fair share of trouble navigating the space at least once.&nbsp;<\/p>\n\n\n\n<p>Whether it\u2019s the sheer number of platforms that offer different NFT prices, or the lackluster user experience, issues in this evergrowing field are numerous. Well, the situation might just take a turn for the better with Uniswap\u2019s new release.&nbsp;&nbsp;<\/p>\n\n\n\n<p>Uniswap has launched two new smart contracts to fuel platform improvements in the DeFi space. This article will help you understand Universal Router and Permit2, as well as how they could improve your DeFi experience.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Uniswap Universal Router Smart Contract<\/h2>\n\n\n\n<p>The first in a line of improvements coming from the largest DEX is the Universal Router smart contract. <strong>Universal Router unifies token and NFT trades into a flexible, gas-optimized, secure, and extensible swap router.<\/strong> It aims to improve the user experience of the platform as it becomes the default swap router for all Uniswap swaps.&nbsp;<\/p>\n\n\n\n<p>Its goal is to solve two main problems:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Current swap routers support only one of the two tokens: ERC20 or NFTs.&nbsp;<\/li>\n\n\n\n<li>Users have to approve every token on their first use.&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>With the introduction of Universal Router, users can execute multiple token swaps on Uniswap\u2019s platform, all in one transaction.&nbsp;<\/p>\n\n\n\n<p>An example provided by Uniswap showed that we can use a single transaction to use several different tokens, swap them on Uniswap V2 and V3 using a split route, wrap ETH into WETH, and buy an NFT on OpenSea.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1800\" height=\"941\" src=\"https:\/\/coinstats.app\/blog\/wp-content\/uploads\/2022\/12\/Example_-Universal-Router-low.webp\" alt=\"Example: Universal Router Flow\" class=\"wp-image-13390\" srcset=\"https:\/\/coinstats.app\/blog\/wp-content\/uploads\/2022\/12\/Example_-Universal-Router-low.webp 1800w, https:\/\/coinstats.app\/blog\/wp-content\/uploads\/2022\/12\/Example_-Universal-Router-low-768x401.webp 768w, https:\/\/coinstats.app\/blog\/wp-content\/uploads\/2022\/12\/Example_-Universal-Router-low-1536x803.webp 1536w, https:\/\/coinstats.app\/blog\/wp-content\/uploads\/2022\/12\/Example_-Universal-Router-low-400x209.webp 400w\" sizes=\"auto, (max-width: 1800px) 100vw, 1800px\" \/><figcaption class=\"wp-element-caption\">Universal Router Transaction Flow Example | Source: Uniswap<\/figcaption><\/figure>\n\n\n\n<p>In addition, due to the Permit2 smart contract integration (which we have covered below), users don\u2019t need to send one or more approvals in order to allow this transaction. Rather, the token approval will happen within the transaction.&nbsp;<\/p>\n\n\n\n<p>Universal Router is a non-upgradable, unowned, and open-source smart contract that has been deployed to all blockchains supported by Uniswap, including Ethereum, Optimism, <a href=\"https:\/\/coinstats.app\/arbitrum\/\">Arbitrum<\/a>, Polygon, and Celo.\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Uniswap Permit2 Smart Contract<\/h2>\n\n\n\n<p>The next smart contract innovation that Uniswap has introduced is called Permit2. Permit2 smart contract has been introduced as a <strong>solution to the allowance problem<\/strong> of EIP-20 and EIP-2612 token structures:&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Whenever users wanted to use an application, they needed to send an <strong>approval transaction<\/strong> to allow the platform to utilize their funds. As a result, users were confused and spent a lot of time and gas fees to set everything in motion.&nbsp;<\/li>\n\n\n\n<li>Most platforms initially introduced maximum allowance \u201cask,\u201d where they requested users to approve the <strong>maximum allowance<\/strong> instead of the amount they wanted or needed. This feature has improved user experience, but has also been shown to be somewhat exploitable security-wise.&nbsp;<\/li>\n\n\n\n<li>Another step toward solving this problem came with the invention of the <strong>EIP-2612 token standard<\/strong>. Users could now interact with application contracts without previously approving their spendings, but rather by adding a signed permit to their transaction.&nbsp;<\/li>\n<\/ol>\n\n\n\n<p>This improvement made token approves safer; however, tokens launched before the introduction of EIP-2612 did not support this function, and many newer tokens did not adopt this standard either.&nbsp;<\/p>\n\n\n\n<p>Permit2 further expands on the token approval mechanism and enables signature-based approvals and transfers for any ERC20 token regardless of its EIP-2612 support.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1800\" height=\"941\" src=\"https:\/\/coinstats.app\/blog\/wp-content\/uploads\/2022\/12\/Permit2-Smart-Contract.webp\" alt=\"Permit2 Smart Contract\" class=\"wp-image-13391\" srcset=\"https:\/\/coinstats.app\/blog\/wp-content\/uploads\/2022\/12\/Permit2-Smart-Contract.webp 1800w, https:\/\/coinstats.app\/blog\/wp-content\/uploads\/2022\/12\/Permit2-Smart-Contract-768x401.webp 768w, https:\/\/coinstats.app\/blog\/wp-content\/uploads\/2022\/12\/Permit2-Smart-Contract-1536x803.webp 1536w, https:\/\/coinstats.app\/blog\/wp-content\/uploads\/2022\/12\/Permit2-Smart-Contract-400x209.webp 400w\" sizes=\"auto, (max-width: 1800px) 100vw, 1800px\" \/><figcaption class=\"wp-element-caption\">Permit2 Smart Contract | Source: Uniswap<\/figcaption><\/figure>\n\n\n\n<p>Uniswap\u2019s <strong>Permit2 smart contract aims to improve the security, user experience, and flexibility of ERC-20 token approvals<\/strong> with features like:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Shared cross-app approval management<\/strong>&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>Users can now skip the allowance process entirely by releasing tokens to a permissioned spender through a one-time signature. This means that they can approve the use of their funds cross-platform.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Universal permits for any token<\/strong><\/li>\n<\/ul>\n\n\n\n<p>By integrating Permit2, platforms can now eliminate the token approval button and have a simpler user experience regardless of EIP-2612 token standard support.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Time-bound token approvals<\/strong>&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>Approvals can now be time-bound, as Permit2 introduces an expiry date to allowances. This feature removes security concerns regarding allowances that last forever.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Batch approvals &amp; revokes for tokens<\/strong>&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>Users can now set approvals on multiple tokens, execute multiple transfers, or remove the allowance for multiple tokens in one transaction.<\/p>\n\n\n\n<p>Permit2 is a non-upgradable, unowned, and open-source smart contract that has been deployed to all blockchains supported by Uniswap, including Ethereum, Optimism, <a href=\"https:\/\/coinstats.app\/arbitrum\/\">Arbitrum<\/a>, Polygon, and Celo.\u00a0<\/p>\n\n\n\n<p>While Permit2 will cover NFT token standards in the future, the current version only supports ERC20 tokens.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Uniswap NFT Marketplace Aggregator<\/h2>\n\n\n\n<p>As a result of these improvements and further development efforts, Uniswap has launched an <strong>NFT marketplace aggregator<\/strong> as the first step toward building a platform that connects the NFT and ERC20 token worlds.&nbsp;<\/p>\n\n\n\n<p>Starting Nov 30th, Uniswap users can trade NFTs across major marketplaces finding more listings and better prices directly on the platform.&nbsp;<\/p>\n\n\n\n<p>The most popular DEX platform has announced that the new feature will initially feature NFT collections coming from OpenSea, X2Y2, LooksRare, Sudoswap, Larva Labs, X2Y2, Foundation, NFT20, and NFTX platforms.&nbsp;<\/p>\n\n\n\n<p>Uniswap developers stated that users can <strong>save up to 15% on gas costs<\/strong> compared to other NFT aggregators when using Uniswap NFT. On top of that, users are now able to <strong>swap multiple tokens and NFTs in one swap<\/strong> while saving on gas fees.<\/p>\n\n\n\n<p>The technology behind this upgrade has brought several changes that will drastically improve the way you navigate Uniswap platform in the future.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Does This Mean for You as a Uniswap User?<\/h2>\n\n\n\n<p>The introduction of Universal Router and Permit2 have brought two major improvements to Uniswap users, namely:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>NFT integration &amp; perks<\/li>\n\n\n\n<li>Improved user experience<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Uniswap NFT Integration &amp; Perks<\/h3>\n\n\n\n<p>Uniswap\u2019s NFT integration will greatly improve how its users navigate the platform and attract new ones.&nbsp;<\/p>\n\n\n\n<p>Thanks to its NFT aggregator, Uniswap is able to offer users NFTs at better prices without them aimlessly browsing through dozens of marketplaces. Additionally, users will find the NFTs they want for cheaper, smart contracts will be safer, and indexing faster.&nbsp;<\/p>\n\n\n\n<p>Additionally, to welcome Genie users to Uniswap, the largest DEX will airdrop close to 5 million USDC. Each eligible user will get 300 USDT or 1,000 USDC, depending on their involvement with the platform.&nbsp;<\/p>\n\n\n\n<p>Last but not least, the first 22,000 Uniswap NFT users will benefit from gas rebates that will last until Dec 14, 2022. During the promotion, each eligible wallet will receive up to 0.01 ETH rebate on their first transaction.&nbsp;<\/p>\n\n\n\n<p>Check out <a href=\"https:\/\/coinstats.app\/midas\/collections\/?utm_medium=sit&amp;utm_source=blog&amp;utm_campaign=general\" target=\"_blank\" rel=\"noreferrer noopener\">CoinStats Midas<\/a> and stop wasting time searching for the best collection to invest in \u2014 our algorithm-based tool aggregates NFT buying activity and enables you to outsmart the market!&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Improved User Experience<\/h3>\n\n\n\n<p>The introduction of the aforementioned two new smart contracts will significantly improve the way users navigate the entire platform, not just the Uniswap NFT marketplace aggregator.&nbsp;<\/p>\n\n\n\n<p>On top of that, with these contracts being open-source, different decentralized platforms will be able to adopt them in the future. Therefore, Uniswap\u2019s new inventions could affect the entire market.&nbsp;<\/p>\n\n\n\n<p>With an easier and safer way to allow transactions and the ability to include multiple actions into one single transaction, Uniswap has surely set the bar pretty high.&nbsp;<\/p>\n\n\n\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As a web3 enthusiast, you\u2019ve undoubtedly had your fair share of trouble navigating the space at least once.&nbsp; Whether it\u2019s the sheer number of platforms that offer different NFT prices, or the lackluster user experience, issues in this evergrowing field are numerous. Well, the situation might just take a turn for the better with Uniswap\u2019s new release.&nbsp;&nbsp; Uniswap has launched two new smart contracts to fuel platform improvements in the DeFi space. This article will help you understand Universal Router and Permit2, as well as how they could improve your DeFi experience.&nbsp; Uniswap Universal Router Smart Contract The first in [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":18724,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"wl_entities_gutenberg":"","inline_featured_image":false,"footnotes":""},"categories":[332],"tags":[],"wl_entity_type":[314],"ppma_author":[348],"class_list":["post-13387","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nft","wl_entity_type-article","post--single"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Uniswap Smart Contracts: Universal Router and Permit2 | CoinStats Blog<\/title>\n<meta name=\"description\" content=\"Everything you need to know about Uniswap&#039;s two brand new smart contracts \u2014 Permit2 and Universal Router \u2014 as well as their effect on DeFi.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/coinstats.app\/blog\/uniswap-smart-contracts\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Uniswap Smart Contracts: Universal Router and Permit2 | CoinStats Blog\" \/>\n<meta property=\"og:description\" content=\"Everything you need to know about Uniswap&#039;s two brand new smart contracts \u2014 Permit2 and Universal Router \u2014 as well as their effect on DeFi.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/coinstats.app\/blog\/uniswap-smart-contracts\/\" \/>\n<meta property=\"og:site_name\" content=\"CoinStats Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/coinstats\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-02T17:27:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-21T10:06:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/coinstats.app\/blog\/wp-content\/uploads\/2022\/12\/Uniswap-Iniversal-Router_1600x900.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1600\" \/>\n\t<meta property=\"og:image:height\" content=\"900\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Nare Navasardyan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Uniswap Smart Contracts: Universal Router and Permit2 | CoinStats Blog\" \/>\n<meta name=\"twitter:description\" content=\"Everything you need to know about Uniswap&#039;s two brand new smart contracts \u2014 Permit2 and Universal Router \u2014 as well as their effect on DeFi.\" \/>\n<meta name=\"twitter:creator\" content=\"@coinstats\" \/>\n<meta name=\"twitter:site\" content=\"@coinstats\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nare Navasardyan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/uniswap-smart-contracts\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/uniswap-smart-contracts\\\/\"},\"author\":{\"name\":\"Nare Navasardyan\",\"@id\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/#\\\/schema\\\/person\\\/dc74dc8121518b65635a82ec07efd07e\"},\"headline\":\"Uniswap Smart Contracts: Universal Router and Permit2\",\"datePublished\":\"2023-03-02T17:27:29+00:00\",\"dateModified\":\"2024-05-21T10:06:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/uniswap-smart-contracts\\\/\"},\"wordCount\":1186,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/uniswap-smart-contracts\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/Uniswap-Iniversal-Router_1600x900.webp\",\"articleSection\":[\"NFT\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/coinstats.app\\\/blog\\\/uniswap-smart-contracts\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/uniswap-smart-contracts\\\/\",\"url\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/uniswap-smart-contracts\\\/\",\"name\":\"Uniswap Smart Contracts: Universal Router and Permit2 | CoinStats Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/uniswap-smart-contracts\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/uniswap-smart-contracts\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/Uniswap-Iniversal-Router_1600x900.webp\",\"datePublished\":\"2023-03-02T17:27:29+00:00\",\"dateModified\":\"2024-05-21T10:06:34+00:00\",\"description\":\"Everything you need to know about Uniswap's two brand new smart contracts \u2014 Permit2 and Universal Router \u2014 as well as their effect on DeFi.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/coinstats.app\\\/blog\\\/uniswap-smart-contracts\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/uniswap-smart-contracts\\\/#primaryimage\",\"url\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/Uniswap-Iniversal-Router_1600x900.webp\",\"contentUrl\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/Uniswap-Iniversal-Router_1600x900.webp\",\"width\":1600,\"height\":900,\"caption\":\"Uniswap Iniversal Router\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/\",\"name\":\"CoinStats Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/#organization\",\"name\":\"CoinStats Blog\",\"url\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/CoinStats_logo.svg\",\"contentUrl\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/CoinStats_logo.svg\",\"width\":\"1024\",\"height\":\"1024\",\"caption\":\"CoinStats Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/coinstats\",\"https:\\\/\\\/x.com\\\/coinstats\",\"https:\\\/\\\/www.instagram.com\\\/coinstats\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/coinstats\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/#\\\/schema\\\/person\\\/dc74dc8121518b65635a82ec07efd07e\",\"name\":\"Nare Navasardyan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4c11c914e1b0ff95ce812a657eced8eca8d94d90844b1c916dd04ca01d267920?s=96&r=g68edf94cc25c519c41eb7768e3d4f9d4\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4c11c914e1b0ff95ce812a657eced8eca8d94d90844b1c916dd04ca01d267920?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4c11c914e1b0ff95ce812a657eced8eca8d94d90844b1c916dd04ca01d267920?s=96&r=g\",\"caption\":\"Nare Navasardyan\"},\"description\":\"Nare Navasardyan is a writer at CoinStats. She is particularly interested in writing about exciting new DeFi projects and the transformations the world of finance will soon undergo. In her free time, she works on mini documentaries on the cardinal virtues.\",\"url\":\"https:\\\/\\\/coinstats.app\\\/blog\\\/author\\\/nare\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Uniswap Smart Contracts: Universal Router and Permit2 | CoinStats Blog","description":"Everything you need to know about Uniswap's two brand new smart contracts \u2014 Permit2 and Universal Router \u2014 as well as their effect on DeFi.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/coinstats.app\/blog\/uniswap-smart-contracts\/","og_locale":"en_US","og_type":"article","og_title":"Uniswap Smart Contracts: Universal Router and Permit2 | CoinStats Blog","og_description":"Everything you need to know about Uniswap's two brand new smart contracts \u2014 Permit2 and Universal Router \u2014 as well as their effect on DeFi.","og_url":"https:\/\/coinstats.app\/blog\/uniswap-smart-contracts\/","og_site_name":"CoinStats Blog","article_publisher":"https:\/\/www.facebook.com\/coinstats","article_published_time":"2023-03-02T17:27:29+00:00","article_modified_time":"2024-05-21T10:06:34+00:00","og_image":[{"width":1600,"height":900,"url":"https:\/\/coinstats.app\/blog\/wp-content\/uploads\/2022\/12\/Uniswap-Iniversal-Router_1600x900.webp","type":"image\/webp"}],"author":"Nare Navasardyan","twitter_card":"summary_large_image","twitter_title":"Uniswap Smart Contracts: Universal Router and Permit2 | CoinStats Blog","twitter_description":"Everything you need to know about Uniswap's two brand new smart contracts \u2014 Permit2 and Universal Router \u2014 as well as their effect on DeFi.","twitter_creator":"@coinstats","twitter_site":"@coinstats","twitter_misc":{"Written by":"Nare Navasardyan","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/coinstats.app\/blog\/uniswap-smart-contracts\/#article","isPartOf":{"@id":"https:\/\/coinstats.app\/blog\/uniswap-smart-contracts\/"},"author":{"name":"Nare Navasardyan","@id":"https:\/\/coinstats.app\/blog\/#\/schema\/person\/dc74dc8121518b65635a82ec07efd07e"},"headline":"Uniswap Smart Contracts: Universal Router and Permit2","datePublished":"2023-03-02T17:27:29+00:00","dateModified":"2024-05-21T10:06:34+00:00","mainEntityOfPage":{"@id":"https:\/\/coinstats.app\/blog\/uniswap-smart-contracts\/"},"wordCount":1186,"commentCount":0,"publisher":{"@id":"https:\/\/coinstats.app\/blog\/#organization"},"image":{"@id":"https:\/\/coinstats.app\/blog\/uniswap-smart-contracts\/#primaryimage"},"thumbnailUrl":"https:\/\/coinstats.app\/blog\/wp-content\/uploads\/2022\/12\/Uniswap-Iniversal-Router_1600x900.webp","articleSection":["NFT"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/coinstats.app\/blog\/uniswap-smart-contracts\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/coinstats.app\/blog\/uniswap-smart-contracts\/","url":"https:\/\/coinstats.app\/blog\/uniswap-smart-contracts\/","name":"Uniswap Smart Contracts: Universal Router and Permit2 | CoinStats Blog","isPartOf":{"@id":"https:\/\/coinstats.app\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/coinstats.app\/blog\/uniswap-smart-contracts\/#primaryimage"},"image":{"@id":"https:\/\/coinstats.app\/blog\/uniswap-smart-contracts\/#primaryimage"},"thumbnailUrl":"https:\/\/coinstats.app\/blog\/wp-content\/uploads\/2022\/12\/Uniswap-Iniversal-Router_1600x900.webp","datePublished":"2023-03-02T17:27:29+00:00","dateModified":"2024-05-21T10:06:34+00:00","description":"Everything you need to know about Uniswap's two brand new smart contracts \u2014 Permit2 and Universal Router \u2014 as well as their effect on DeFi.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/coinstats.app\/blog\/uniswap-smart-contracts\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/coinstats.app\/blog\/uniswap-smart-contracts\/#primaryimage","url":"https:\/\/coinstats.app\/blog\/wp-content\/uploads\/2022\/12\/Uniswap-Iniversal-Router_1600x900.webp","contentUrl":"https:\/\/coinstats.app\/blog\/wp-content\/uploads\/2022\/12\/Uniswap-Iniversal-Router_1600x900.webp","width":1600,"height":900,"caption":"Uniswap Iniversal Router"},{"@type":"WebSite","@id":"https:\/\/coinstats.app\/blog\/#website","url":"https:\/\/coinstats.app\/blog\/","name":"CoinStats Blog","description":"","publisher":{"@id":"https:\/\/coinstats.app\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/coinstats.app\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/coinstats.app\/blog\/#organization","name":"CoinStats Blog","url":"https:\/\/coinstats.app\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/coinstats.app\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/coinstats.app\/blog\/wp-content\/uploads\/2021\/08\/CoinStats_logo.svg","contentUrl":"https:\/\/coinstats.app\/blog\/wp-content\/uploads\/2021\/08\/CoinStats_logo.svg","width":"1024","height":"1024","caption":"CoinStats Blog"},"image":{"@id":"https:\/\/coinstats.app\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/coinstats","https:\/\/x.com\/coinstats","https:\/\/www.instagram.com\/coinstats\/","https:\/\/www.linkedin.com\/company\/coinstats\/"]},{"@type":"Person","@id":"https:\/\/coinstats.app\/blog\/#\/schema\/person\/dc74dc8121518b65635a82ec07efd07e","name":"Nare Navasardyan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4c11c914e1b0ff95ce812a657eced8eca8d94d90844b1c916dd04ca01d267920?s=96&r=g68edf94cc25c519c41eb7768e3d4f9d4","url":"https:\/\/secure.gravatar.com\/avatar\/4c11c914e1b0ff95ce812a657eced8eca8d94d90844b1c916dd04ca01d267920?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4c11c914e1b0ff95ce812a657eced8eca8d94d90844b1c916dd04ca01d267920?s=96&r=g","caption":"Nare Navasardyan"},"description":"Nare Navasardyan is a writer at CoinStats. She is particularly interested in writing about exciting new DeFi projects and the transformations the world of finance will soon undergo. In her free time, she works on mini documentaries on the cardinal virtues.","url":"https:\/\/coinstats.app\/blog\/author\/nare\/"}]}},"_wl_alt_label":[],"authors":[{"term_id":348,"user_id":9,"is_guest":0,"slug":"nare","display_name":"Nare Navasardyan","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/4c11c914e1b0ff95ce812a657eced8eca8d94d90844b1c916dd04ca01d267920?s=96&r=g","0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"wl:entity_url":"https:\/\/data.wordlift.io\/wl127543\/post\/uniswap-smart-contracts","_links":{"self":[{"href":"https:\/\/coinstats.app\/blog\/wp-json\/wp\/v2\/posts\/13387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/coinstats.app\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/coinstats.app\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/coinstats.app\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/coinstats.app\/blog\/wp-json\/wp\/v2\/comments?post=13387"}],"version-history":[{"count":11,"href":"https:\/\/coinstats.app\/blog\/wp-json\/wp\/v2\/posts\/13387\/revisions"}],"predecessor-version":[{"id":19663,"href":"https:\/\/coinstats.app\/blog\/wp-json\/wp\/v2\/posts\/13387\/revisions\/19663"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/coinstats.app\/blog\/wp-json\/wp\/v2\/media\/18724"}],"wp:attachment":[{"href":"https:\/\/coinstats.app\/blog\/wp-json\/wp\/v2\/media?parent=13387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coinstats.app\/blog\/wp-json\/wp\/v2\/categories?post=13387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coinstats.app\/blog\/wp-json\/wp\/v2\/tags?post=13387"},{"taxonomy":"wl_entity_type","embeddable":true,"href":"https:\/\/coinstats.app\/blog\/wp-json\/wp\/v2\/wl_entity_type?post=13387"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/coinstats.app\/blog\/wp-json\/wp\/v2\/ppma_author?post=13387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}