{"id":165110,"date":"2021-01-28T17:20:00","date_gmt":"2021-01-28T14:20:00","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/defi-liquidity-pools-explained\/"},"modified":"2021-01-28T17:20:00","modified_gmt":"2021-01-28T14:20:00","slug":"defi-liquidity-pools-explained","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/defi-liquidity-pools-explained\/","title":{"rendered":"#DeFi liquidity pools, explained"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a2f0b9eb0f62\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #dd3333;color:#dd3333\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #dd3333;color:#dd3333\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a2f0b9eb0f62\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/buradabiliyorum.com\/en\/defi-liquidity-pools-explained\/#How_do_DeFi_liquidity_pools_work\" >How do DeFi liquidity pools work?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/buradabiliyorum.com\/en\/defi-liquidity-pools-explained\/#What_are_DeFi_liquidity_pools\" >What are DeFi liquidity pools?<\/a><\/li><\/ul><\/nav><\/div>\n<p>&#8220;<strong>#DeFi liquidity pools, explained<\/strong>&#8221;<\/p>\n<p style=\"float:right;margin:0 0 10px 15px;width:240px\"><img decoding=\"async\" src=\"https:\/\/images.cointelegraph.com\/images\/840_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy9hM2RhOWY1ODQ1YWQ2YjA0NzllYmQ1NGY3MTY4NzdiYS5qcGc=.jpg\" class=\"type:primaryImage\"><\/p>\n<pre><code>                                        Liquidity pools offer passive income opportunities to investors \u2014 but how do they work?                    \n                &lt;h2&gt;How can I join DeFi liquidity pools?&lt;\/h2&gt;&lt;p&gt;&lt;\/p&gt;&lt;p dir=\"ltr\"&gt;The exact procedure for joining DeFi liquidity pools varies according to the platform. In <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/general\/\" data-internallinksmanager029f6b8e52c=\"3\" title=\"General\" target=\"_blank\" rel=\"noopener\">general<\/a>, one would need to set up an account on the platform of choice and then connect an Ethereum wallet such as MetaMask or other Web 3.0 wallets from the homepage. After that, tokens can be deposited into the relevant liquidity pool.&lt;\/p&gt;&lt;p dir=\"ltr\"&gt;On platforms, such as Uniswap, one would need to search for a specific pair they want to provide liquidity to and then connect the wallet. After checking the returns, such as the pool ratio and the exchange rate, a user can deposit the tokens into the pool.&lt;\/p&gt;&lt;h2&gt;What are the benefits of DeFi liquidity pools?&lt;\/h2&gt;&lt;p&gt;&lt;\/p&gt;&lt;p dir=\"ltr\"&gt;The most obvious benefit of liquidity pools is that they ensure a near-continuous supply of liquidity for traders wanting to use decentralized exchanges. They also offer the opportunity to profit from cryptocurrency holdings by becoming a liquidity provider and earning transaction fees.&lt;\/p&gt;&lt;p dir=\"ltr\"&gt;Furthermore, many projects and protocols will offer additional incentives to liquidity providers to ensure that their token pools remain large, reducing the risk of slippage and creating a better trading experience. Therefore, there\u2019s an opportunity to generate further gains from yield farming reward tokens in return for becoming a liquidity provider.&lt;\/p&gt;&lt;p dir=\"ltr\"&gt;Some protocols, including Uniswap, Balancer and Yearn.finance reward liquidity providers in their own platform tokens. When SushiSwap emerged in summer 2020, it used this model to launch a so-called \u201cvampire attack\u201d on Uniswap. Users could yield farm the SUSHI token on Uniswap by providing liquidity in advance of SushiSwap\u2019s launch and later migrate the liquidity to the SushiSwap platform, which was also a fork of Uniswap\u2019s code.&lt;\/p&gt;&lt;h2&gt;What are the risks of DeFi liquidity pools?&lt;\/h2&gt;&lt;p&gt;&lt;\/p&gt;&lt;p dir=\"ltr\"&gt;&lt;em&gt;The algorithm that determines the price of an asset may fail, slippage due to large orders, smart contract failure and more.&lt;\/em&gt;&lt;\/p&gt;&lt;p dir=\"ltr\"&gt;The price of assets in a liquidity pool is set by a pricing algorithm that continually adjusts based on the pool\u2019s trading activity. If an asset\u2019s price varies from the global market price, arbitrage traders that take advantage of price differences across platforms will move to profit from the variance.&lt;\/p&gt;&lt;p dir=\"ltr\"&gt;In the event of price fluctuations, liquidity providers can incur a loss in the value of their deposits, known as impermanent loss. However, once a provider withdraws their deposit, the loss becomes permanent. Depending on the size of the fluctuation and the length of time the liquidity provider has staked their deposit, it may be possible to offset some or all of this loss with transaction fee rewards.&lt;\/p&gt;&lt;p dir=\"ltr\"&gt;Due to the pricing algorithm, smaller pools can suffer from slippage if someone suddenly wants to place a large trade. There have been instances, such as the bZx hack in 2020, where users exploited smaller liquidity pools as part of a broader market manipulation attack.&lt;\/p&gt;&lt;p dir=\"ltr\"&gt;DeFi users face other risks, such as smart contract failure, if the underlying code isn\u2019t audited or fully secure. Make sure to understand all the risks before depositing any funds.&lt;\/p&gt;&lt;h2&gt;What are the examples of major DeFi liquidity pools?&lt;\/h2&gt;&lt;p&gt;&lt;\/p&gt;&lt;p dir=\"ltr\"&gt;&lt;em&gt;There are several platforms that became exceedingly popular in 2020.&lt;\/em&gt;&lt;\/p&gt;&lt;p dir=\"ltr\"&gt;The example above is a simple one based on the Uniswap model, the biggest decentralized exchange operating some of the largest liquidity pools. At the time of writing, there is around $250 million in the USDC-ETH pool. Other popular pools on Uniswap include WBTC-ETH, DAI-ETH and ETH-USDT.&lt;\/p&gt;&lt;p dir=\"ltr\"&gt;Curve Finance, Balancer and SushiSwap all operate DeFi liquidity pools. The biggest Curve pools are multi-token and focused on stablecoins. Balancer allows for up to eight tokens in a pool, whereas SushiSwap is a virtual clone of Uniswap.\n<\/code><\/pre>\n<p><em><strong>Related: DeFi lending and borrowing, explained<\/strong><\/em><\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_do_DeFi_liquidity_pools_work\"><\/span>How do DeFi liquidity pools work?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p dir=\"ltr\"><em>The simplest version of a DeFi liquidity pool holds two tokens in a smart contract to form a trading pair.<\/em><\/p>\n<p dir=\"ltr\">Let\u2019s use Ether (ETH) and USD Coin (USDC) as an example, and to make it simple, the price of ETH can be equal to 1,000 USDC. Liquidity providers contribute an equal value of ETH and USDC to the pool, so someone depositing 1 ETH would have to match it with 1,000 USDC.<\/p>\n<p dir=\"ltr\">The liquidity in the pool means that when someone wants to trade ETH for USDC, they can do so based on the funds deposited, rather than waiting for a counterparty to come along to match their trade.<\/p>\n<p dir=\"ltr\">Liquidity providers are incentivized for their contribution with rewards. When they make a deposit, they receive a new token representing their stake, called a pool token. In this example, the pool token would be USDCETH.<\/p>\n<p dir=\"ltr\">The share of trading fees paid by users who use the pool to swap tokens is distributed automatically to all liquidity providers proportionate to their stake size. So if the trading fees for the USDC-ETH pool are 0.3% and a liquidity provider has contributed 10% of the pool, they\u2019re entitled to 10% of 0.3% of the total value of all trades.<\/p>\n<p dir=\"ltr\">When a user wants to withdraw their stake in the liquidity pool, they burn their pool tokens and can withdraw their stake.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"What_are_DeFi_liquidity_pools\"><\/span>What are DeFi liquidity pools?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p dir=\"ltr\"><em>A DeFi liquidity pool is a smart contract that locks tokens to ensure liquidity for those tokens on a decentralized exchange. Users who provide tokens to the smart contract are called liquidity providers.<\/em><\/p>\n<p dir=\"ltr\">DeFi liquidity pools emerged as an innovative and automated way of solving the liquidity challenge on decentralized exchanges. They replace the traditional order book model used by centralized crypto exchanges, which was lifted directly from the established financial markets.<\/p>\n<p dir=\"ltr\">In this model, the exchange serves as a marketplace where buyers and sellers come together and agree on prices for assets based on the relative supply and demand. However, this model depends on there being enough buyers and sellers to create liquidity. Therefore, the market makers\u2019 role exists to ensure that there is always someone to meet the demand, effectively keeping prices fair by contributing liquidity.<\/p>\n<p dir=\"ltr\">The basic model has proved to be ineffective for a decentralized exchange. Ethereum\u2019s gas fees and slow block time make it unattractive to market makers, resulting in low liquidity for DEXs\u2019 attempt to replicate the order book model. Therefore, liquidity pools have become the go-to solution of choice in decentralized finance, offering continuous, automated liquidity for decentralized trading platforms.<\/p>\n<\/p>\n<blockquote><p><strong><span style=\"color: #ff6600;\">If you liked the article, do not forget to share it with your friends. Follow us on\u00a0<span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"https:\/\/news.google.com\/publications\/CAAqBwgKMLG0nwswvr63Aw\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Google News<\/a><\/span>\u00a0too, click on the star and choose us from your favorites.<\/span><\/strong><\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\">For forums sites go to <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/forum.buradabiliyorum.com\/\" target=\"_blank\" rel=\"noopener\">Forum.BuradaBiliyorum.Com<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\"><strong>If you want to read more <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/news\/\" data-internallinksmanager029f6b8e52c=\"2\" title=\"News\" target=\"_blank\" rel=\"noopener\">News<\/a> articles, you can visit our <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/en.buradabiliyorum.com\/general\/\" target=\"_blank\" rel=\"noopener\">General category.<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<p><span style=\"color: black;\"><a style=\"color: #ff9900;\" href=\"https:\/\/cointelegraph.com\/explained\/defi-liquidity-pools-explained\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;#DeFi liquidity pools, explained&#8221; Liquidity pools offer passive income opportunities to investors \u2014 but how do they work? &lt;h2&gt;How can I join DeFi liquidity pools?&lt;\/h2&gt;&lt;p&gt;&lt;\/p&gt;&lt;p dir=&#8221;ltr&#8221;&gt;The exact procedure for joining DeFi liquidity pools varies according to the platform. In general, one would need to set up an account on the platform of choice and then&#8230;<\/p>\n","protected":false},"author":1,"featured_media":165111,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/images.cointelegraph.com\/images\/1024_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy9hM2RhOWY1ODQ1YWQ2YjA0NzllYmQ1NGY3MTY4NzdiYS5qcGc=.jpg","fifu_image_alt":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-165110","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/165110","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/comments?post=165110"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/165110\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/165111"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=165110"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=165110"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=165110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}