Jump to content

Decentralized finance: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m Reverted 1 edit by Parkerbeleaf (talk) to last revision by Grayfell
TomJBar (talk | contribs)
Academic references added
Line 55: Line 55:


=== Degrees of decentralization ===
=== Degrees of decentralization ===
A decentralized exchange can still have centralized components, whereby some control of the exchange is still in the hands of a central authority. The governance of a DeFi platform, typically as part of a [[Decentralized autonomous organization|Decentralized Autonomous Organization]], is done through tokens that grant voting rights and are distributed amongst participants. However, the majority of these tokens are often held by few individuals and are rarely used to vote.<ref>{{Cite journal |last=Barbereau |first=Tom |last2=Smethurst |first2=Reilly |last3=Papageorgiou |first3=Orestis |last4=Sedlmeir |first4=Johannes |last5=Fridgen |first5=Gilbert |date=2023-05 |title=Decentralised Finance’s timocratic governance: The distribution and exercise of tokenised voting rights |url=https://linkinghub.elsevier.com/retrieve/pii/S0160791X23000568 |journal=Technology in Society |language=en |volume=73 |pages=102251 |doi=10.1016/j.techsoc.2023.102251}}</ref>
A decentralized exchange can still have centralized components, whereby some control of the exchange is still in the hands of a central authority.


In July 2018, the decentralized exchange Bancor was reportedly hacked and suffered a loss of $13.5M in assets before freezing funds.<ref name="bancor-freeze-loss">{{Cite web|url=https://www.zdnet.com/article/another-hack-rocks-cryptocurrency-trading-bancor-loses-23-5-million/|title=Another hack rocks cryptocurrency trading: Bancor loses $13.5 million|last=Osborne|first=Charlie|website=ZDNet|language=en|access-date=2018-12-13}}</ref> In a Tweet, [[Charlie Lee (computer scientist)|Charlie Lee]], the creator of [[Litecoin]] spoke out and claimed an exchange cannot be decentralized if it can lose or freeze customer funds.<ref>{{Cite web|url=https://techcrunch.com/2018/07/10/bancor-loses-23-5m/|title=The crypto world's latest hack sees Bancor lose $23.5M|website=TechCrunch|date=10 July 2018 |language=en-US|access-date=2018-12-13}}</ref>
In July 2018, the decentralized exchange Bancor was reportedly hacked and suffered a loss of $13.5M in assets before freezing funds.<ref name="bancor-freeze-loss">{{Cite web|url=https://www.zdnet.com/article/another-hack-rocks-cryptocurrency-trading-bancor-loses-23-5-million/|title=Another hack rocks cryptocurrency trading: Bancor loses $13.5 million|last=Osborne|first=Charlie|website=ZDNet|language=en|access-date=2018-12-13}}</ref> In a Tweet, [[Charlie Lee (computer scientist)|Charlie Lee]], the creator of [[Litecoin]] spoke out and claimed an exchange cannot be decentralized if it can lose or freeze customer funds.<ref>{{Cite web|url=https://techcrunch.com/2018/07/10/bancor-loses-23-5m/|title=The crypto world's latest hack sees Bancor lose $23.5M|website=TechCrunch|date=10 July 2018 |language=en-US|access-date=2018-12-13}}</ref>
Line 72: Line 72:


== Regulation ==
== Regulation ==
In October 2021, the [[Financial Action Task Force|FATF]] included DeFi in the guidance for crypto service providers, making the authority's aim to regulate this type of asset<ref>{{Cite web |date=28 October 2021 |title=Updated Guidance for a Risk-Based Approach to Virtual Assets and Virtual Asset Service Providers |url=https://www.fatf-gafi.org/content/fatf-gafi/en/publications/Fatfrecommendations/Guidance-rba-virtual-assets-2021.html |url-status=live |archive-url=https://web.archive.org/web/20230131193628/https://www.fatf-gafi.org/content/fatf-gafi/en/publications/Fatfrecommendations/Guidance-rba-virtual-assets-2021.html |archive-date=2 February 2023 |access-date=28 February 2023 |website=FATF}}</ref>.{{cn|date=August 2022}} They are expecting each individual country to determine if individuals involved in DeFi can be considered a virtual asset provider and be subjected to the FATF's guidelines.<ref>{{Cite web |title=VASPs (Virtual Asset Service Providers): What are they? {{!}} Notabene |url=https://notabene.id/crypto-travel-rule-101/vasps-virtual-asset-service-providers |access-date=2022-08-24 |website=notabene.id |language=en}}</ref>
In October 2021, the [[Financial Action Task Force|FATF]] included DeFi in the guidance for crypto service providers, making the authority's aim to regulate this type of asset.<ref>{{Cite web |date=28 October 2021 |title=Updated Guidance for a Risk-Based Approach to Virtual Assets and Virtual Asset Service Providers |url=https://www.fatf-gafi.org/content/fatf-gafi/en/publications/Fatfrecommendations/Guidance-rba-virtual-assets-2021.html |url-status=live |archive-url=https://web.archive.org/web/20230131193628/https://www.fatf-gafi.org/content/fatf-gafi/en/publications/Fatfrecommendations/Guidance-rba-virtual-assets-2021.html |archive-date=2 February 2023 |access-date=28 February 2023 |website=FATF}}</ref><ref>{{Cite journal |last=Barbereau |first=Tom |last2=Bodó |first2=Balázs |date=2023-07-01 |title=Beyond financial regulation of crypto-asset wallet software: In search of secondary liability |url=https://www.sciencedirect.com/science/article/pii/S0267364923000390 |journal=Computer Law & Security Review |language=en |volume=49 |pages=105829 |doi=10.1016/j.clsr.2023.105829 |issn=0267-3649}}</ref> They are expecting each individual country to determine if individuals involved in DeFi can be considered a virtual asset provider and be subjected to the FATF's guidelines.<ref>{{Cite web |title=VASPs (Virtual Asset Service Providers): What are they? {{!}} Notabene |url=https://notabene.id/crypto-travel-rule-101/vasps-virtual-asset-service-providers |access-date=2022-08-24 |website=notabene.id |language=en}}</ref>


== See also ==
== See also ==

Revision as of 10:21, 26 June 2023

Decentralized finance (often stylized as DeFi) offers financial instruments without relying on intermediaries such as brokerages, exchanges, or banks by using smart contracts on a blockchain. DeFi platforms allow people to lend or borrow funds from others, speculate on price movements on assets using derivatives, trade cryptocurrencies, insure against risks, and earn interest in savings-like accounts.[1] DeFi uses a layered architecture and highly composable building blocks.[2] Some applications promote high interest rates[1] but are subject to high risk.[3] Coding errors and hacks have been common in DeFi.[4][1]

History

Multi-layered Architecture of the DeFi Stack

Decentralized exchanges (abbreviated DEXs) are alternative payment ecosystems with new protocols for financial transactions that emerged within the framework of decentralized finance,[2] which is part of blockchain technology and FinTech.[5]

CEXs, DEXs and DEX aggregators are all built on the multi-layered DeFi architecture or components, where each layer serves a well-defined purpose.[2] (See Figure: Multi-layered Architecture of the DeFi Stack).

While they share common components of the first four layers, such as Settlement layer, Asset layer, Protocol layer and Application layer, DEX aggregators have an additional component or Aggregator layer, which allows them to connect and interact with other DEXs via smart contracts.[6]

The Ethereum blockchain popularized smart contracts, which are the basis of DeFi, in 2017. Other blockchains have since implemented smart contracts.

MakerDAO is a prominent lending DeFi platform based on a stablecoin that was established in 2017.[7][8] It allows users to borrow DAI, a token pegged to the US dollar. Through a set of smart contracts that govern the loan, repayment, and liquidation processes, MakerDAO aims to maintain the stable value of DAI in a decentralized and autonomous manner.[9][10]

In June 2020, Compound Finance started rewarding lenders and borrowers with cryptocurrencies, in addition to typical interest payments to lenders, units of a cryptocurrency called COMP. This token, which is used for running Compound, can also be traded on cryptocurrency exchanges. Other platforms followed suit, leading to stacked investment opportunities known as "yield farming" or "liquidity mining," where speculators shift cryptocurrency assets between pools in a platform and between platforms to maximize their total yield, which includes not only interest and fees but also the value of additional tokens received as rewards.[11]

In July 2020, The Washington Post described decentralized finance techniques and the risks involved.[11] In September 2020, Bloomberg said that DeFi made up two-thirds of the cryptocurrency market in terms of price changes and that DeFi collateral levels had reached $9 billion.[12] Ethereum saw a rise in developers during 2020 due to the increased interest in DeFi.[13]

DeFi has attracted venture capitalists such as Andreessen Horowitz[3] and Michael Novogratz.[14]

The Economist regarded the future of digital finance in 2022 as a "three-way fight" between: Big Tech, such as Facebook with its digital wallet; "big rich countries" that have been testing their own digital currencies; and software developers "building all sorts of applications" to decentralize finance. Handling the risks presented by crypto-assets already valued at $2.5 trillion was a particular challenge for US regulators.[15]

Key characteristics

DeFi revolves around decentralized applications, also known as DApps, that perform financial functions on distributed ledgers called blockchains, a technology that was made popular by Bitcoin and has since been adapted more broadly.[16][1] Rather than transactions being made through a centralized intermediary such as a cryptocurrency exchange or a traditional securities exchange, transactions are directly made between participants, mediated by smart contract programs.[3] These smart contracts, or DeFi protocols, typically run using open-source software that is built and maintained by a community of developers.[17]

DApps are typically accessed through a browser extension or application. For example, MetaMask allows users to directly interact with Ethereum through a digital wallet.[18][19] Many of these DApps can be linked to create complex financial services.[1] For example, stablecoin holders can lend assets like USD Coin or DAI to a liquidity pool in a borrow/lending protocol like Aave, and allow others to borrow those digital assets by depositing their own collateral.[20] The protocol automatically adjusts interest rates based on the demand for the asset.[3] Some DApps source external (off-chain) data, such as the price of an asset, through blockchain oracles.[21]

Additionally, Aave introduced "flash loans", which are uncollateralized loans of an arbitrary amount that are taken out and paid back within a single blockchain transaction.[22] Many exploits of DeFi platforms have used flash loans to manipulate cryptocurrency spot prices.[23]

Another DeFi protocol is Uniswap, which is a decentralized exchange (DEX) set up to trade tokens issued on Ethereum. Rather than using a centralized exchange to fill orders, Uniswap pays users to form liquidity pools in exchange for a percentage of the fees collected from traders swapping tokens in and out of the liquidity pools. Because no centralized party runs Uniswap (the platform is governed by its users), and any development team can use the open-source software, there is no entity to check the identities of the people using the platform and meet KYC/AML regulations. It is not clear what position regulators will take on the legality of such platforms.[24]

Decentralized exchanges

Decentralized exchanges (DEX) are a type of cryptocurrency exchange which allows for direct peer-to-peer cryptocurrency transactions to take place without the need for an intermediary, so they fundamentally different to centralized exchanges (CEX).[citation needed]

In transactions made through decentralized exchanges, the typical third party entities which would normally oversee the security and transfer of assets (e.g. banks, stockbrokers, online payment gateways, government institutions, etc.) are substituted by a blockchain or distributed ledger. Some common methods of operation include the use of smart contracts or order book relaying, although many other variations are possible and with differing degrees of decentralization.[25][26]

Because traders on a decentralized exchange often do not need to transfer their assets to the exchange before executing a trade, decentralized exchanges reduce the risk of theft from hacking of exchanges,[27] but liquidity providers do need to transfer tokens to the decentralized exchange. Decentralized exchanges are also more anonymous than exchanges that implement know your customer (KYC) requirements.[citation needed]

There are some signs that decentralized exchanges have been suffering from low trading volumes and market liquidity.[28] The 0x project, a protocol for building decentralized exchanges with interchangeable liquidity attempts to solve this issue.[29]

Disadvantages

Due to a lack of KYC processes, and no way to revert a transaction, users are at a loss if they are ever hacked for their passwords or private keys.[30] Additionally, users staking in DeFi protocols can suffer what is called an impermanent loss.

Although liquidity pool DEX are the most widely used, they may have some drawbacks. The most common problems of liquidity pool DEXes are market price impact, slippage, and front running.

Price impact occurs because of the AMM (Automated Market Makers) nature itself — the larger the deal, the stronger impact it has on the price. For example, if the constant product AMM is in use, every deal must keep the product xy = k constant, where x and y are quantities of two cryptocurrencies (or tokens) in the pool. Price impact is non-linear, so the larger is the input amount Δx, the lower is the final ratio y / x that gives an exchange price. The problem is mostly significant for relatively large deals versus the liquidity pool size.[31][better source needed]

Front running is a special type of attack in public blockchains when some participant (usually a miner) seeing an upcoming trading transaction puts his own transaction ahead (playing with a transaction fee for example), making the initial transaction less profitable or even reverted. To provide some protection against front running attacks, many DeFi exchanges offer a slippage tolerance option for end-users. This option serves as a safeguard, allowing users to set a limit on the worst acceptable price they are willing to accept from the time of transaction signing.[citation needed]

Degrees of decentralization

A decentralized exchange can still have centralized components, whereby some control of the exchange is still in the hands of a central authority. The governance of a DeFi platform, typically as part of a Decentralized Autonomous Organization, is done through tokens that grant voting rights and are distributed amongst participants. However, the majority of these tokens are often held by few individuals and are rarely used to vote.[32]

In July 2018, the decentralized exchange Bancor was reportedly hacked and suffered a loss of $13.5M in assets before freezing funds.[33] In a Tweet, Charlie Lee, the creator of Litecoin spoke out and claimed an exchange cannot be decentralized if it can lose or freeze customer funds.[34]

Operators of decentralized exchanges can face legal consequences from government regulators. One example is the founder of EtherDelta, who in November 2018 settled charges with the U.S. Securities and Exchange Commission over operating an unregistered securities exchange.[35]

Errors and hacking

Coding errors and hacks are common in DeFi.[4][1] Blockchain transactions are irreversible, which means that an incorrect or fraudulent DeFi transaction cannot be corrected easily.

The person or entity behind a DeFi protocol may be unknown, and may disappear with investors' money.[17] Investor Michael Novogratz has described some DeFi protocols as "Ponzi-like".[14]

DeFi has been compared to the initial coin offering craze of 2017, part of a cryptocurrency bubble. Inexperienced investors are at particular risk of losing money because of the sophistication required to interact with DeFi platforms and the lack of any intermediary with customer support.[4][36] On the other hand, as the code for DeFi smart contracts is generally open-source software that can be copied to set up competing platforms, experienced users and user-created bots might create instabilities as funds shift between platforms which share the same code.[17] In addition, DeFi platforms might inadvertently provide incentives for cryptocurrency miners to destabilize the system. [37]

In 2021, half of cryptocurrency crime was related to DeFi. This rise has been attributed to a combination of developer incompetence and non-existent or poorly enforced regulations.[38][39][40] Theft from DeFi can come from either external hackers stealing from vulnerable projects, or "rug pulls", where the developers and influencers promote a project and then take the money, as a form of pump-and-dump.[40]

Regulation

In October 2021, the FATF included DeFi in the guidance for crypto service providers, making the authority's aim to regulate this type of asset.[41][42] They are expecting each individual country to determine if individuals involved in DeFi can be considered a virtual asset provider and be subjected to the FATF's guidelines.[43]

See also

References

  1. ^ a b c d e f "Why 'DeFi' Utopia Would Be Finance Without Financiers: QuickTake". Bloomberg. 26 August 2020. Retrieved 6 October 2020.
  2. ^ a b c Schär, Fabian (2021). "Decentralized Finance: On Blockchain- and Smart Contract-Based Financial Markets". Review. 103 (2). doi:10.20955/r.103.153-74. S2CID 234896331.
  3. ^ a b c d "'DeFi' movement promises high interest but high risk". Financial Times. 30 December 2019. Retrieved 6 October 2020.
  4. ^ a b c "Boom or bust? Welcome to the freewheeling world of crypto lending". Reuters. 26 August 2020. Retrieved 6 October 2020.
  5. ^ Zetzsche, Dirk A.; Arner, Douglas W.; Buckley, Ross P. (September 2020). "Decentralized Finance". Journal of Financial Regulation. 6 (20): 172–303. doi:10.1093/jfr/fjaa010.
  6. ^ "Decentralized Finance (DeFi) Definition". Investopedia.
  7. ^ "The Maker Protocol: MakerDAO's Multi-Collateral Dai (MCD) System". MakerDAO. Retrieved 18 June 2021.
  8. ^ S. Bhat, A. Kahya, R. Kumar and B. Krishnamachari (2021) "Simulating the MakerDAO stablecoin", IEEE International Conference on Blockchain and Cryptocurrency, pp. 1-2. https://anrg.usc.edu/www/papers/makerdao.pdf
  9. ^ "Why 'DeFi' Utopia Would Be Finance Without Financiers: QuickTake". Bloomberg.com. 26 August 2020. Retrieved 26 January 2021.
  10. ^ Stabile, Daniel T.; Prior, Kimberly A.; Hinkes, Andrew M. (31 July 2020). Digital Assets and Blockchain Technology: US Law and Regulation. Edward Elgar Publishing. ISBN 978-1-78990-744-5.
  11. ^ a b "What's 'Yield Farming'? (And How Do You Grow Crypto?)". The Washington Post. 31 July 2020. Retrieved 5 October 2020.
  12. ^ "Crypto Is Beating Gold as 2020's Top Asset So Far". Bloomberg. 22 September 2020. Retrieved 5 October 2020.
  13. ^ "Coders Flock Back to Crypto Projects With Prices Surging Again". Bloomberg.com. 10 December 2020.
  14. ^ a b "Novogratz Plows Ahead In DeFi Amid the 'Gamifying' of Crypto". Bloomberg. 29 September 2020. Retrieved 6 October 2020.
  15. ^ Rachana Shanbhogue (2021) "A three-way fight to shape the future of digital finance has begun", The Economist: The World Ahead 2022, 8 November. Accessed 6 January 2022
  16. ^ Decentralized Finance (DeFi): An Emergent Alternative Financial Architecture. Regulation of Financial Institutions eJournal. Social Science Research Network (SSRN). Accessed 20 April 2021.
  17. ^ a b c "Crypto Exchange Gets Millions After Copy-Paste of a Rival's Code". Bloomberg. 11 September 2020. Retrieved 6 October 2020.
  18. ^ Schroeder, Stan (2 September 2020). "Crypto wallet MetaMask finally launches on iOS and Android, and it supports Apple Pay". Mashable.
  19. ^ "MetaMask's Blockchain Mobile App Opens Doors For Next-Level Web". Bloomberg.com. 2 September 2020.
  20. ^ Wilson, Tom (26 August 2020). "Boom or bust? Welcome to the freewheeling world of crypto lending". Reuters. Retrieved 8 April 2021.
  21. ^ Orcutt, Mike. "Blockchain smart contracts are finally good for something in the real world". MIT Technology Review. MIT Technology Review. Retrieved 24 November 2021.
  22. ^ "Flash Loans Are Providing Instant Cash to Crypto Speculators". Bloomberg.com. 7 February 2021. Retrieved 8 April 2021.
  23. ^ Evans, Jon (18 February 2020). "DeFiance: billion dollar finance, million dollar hacks, and very little value". TechCrunch. Retrieved 22 November 2020.
  24. ^ Kharif, Olga (16 October 2020). "DeFi Boom Makes Uniswap Most Sought-After Crypto Exchange". Bloomberg.com. Bloomberg.
  25. ^ Wong, Joon Ian (30 May 2018). "Coinbase bought a "decentralized" crypto exchange. How does that work?". Quartz. Retrieved 3 December 2020.
  26. ^ "This 31-Year-Old Is Trying to Revolutionize Cryptocurrency Trading". Bloomberg.com. 28 September 2017. Retrieved 3 December 2020.
  27. ^ Castellanos, Sara (6 March 2018). "Alexis Ohanian's VC Firm Invests in Crypto Trading Platform". Wall Street Journal. ISSN 0099-9660. Retrieved 11 September 2018.
  28. ^ Russolillo, Steven; Jeong, Eun-Young (16 July 2018). "Cryptocurrency Exchanges Are Getting Hacked Because It's Easy". Wall Street Journal. ISSN 0099-9660. Retrieved 11 September 2018.
  29. ^ "0x lets any app be the Craigslist of cryptocurrency". TechCrunch. Retrieved 24 November 2018.
  30. ^ "Bloomberg - Record Crypto Heist Raises the Appeal of a New Type of Exchange". Bloomberg. 30 January 2018. Retrieved 17 November 2018.
  31. ^ Jensen, Johannes Rude; Pourpouneh, Mohsen; Nielsen, Kurt; Ross, Omri (2021). "The Homogeneous Properties of Automated Market Makers". arXiv:2105.02782 [q-fin.TR].
  32. ^ Barbereau, Tom; Smethurst, Reilly; Papageorgiou, Orestis; Sedlmeir, Johannes; Fridgen, Gilbert (2023-05). "Decentralised Finance's timocratic governance: The distribution and exercise of tokenised voting rights". Technology in Society. 73: 102251. doi:10.1016/j.techsoc.2023.102251. {{cite journal}}: Check date values in: |date= (help)
  33. ^ Osborne, Charlie. "Another hack rocks cryptocurrency trading: Bancor loses $13.5 million". ZDNet. Retrieved 13 December 2018.
  34. ^ "The crypto world's latest hack sees Bancor lose $23.5M". TechCrunch. 10 July 2018. Retrieved 13 December 2018.
  35. ^ "SEC, EtherDelta founder settle charges over operating unregistered exchange". Reuters. Retrieved 5 June 2018.
  36. ^ Braun, Alexander; Cohen, Lauren H.; Xu, Jiahua (May 2020). "fidentiaX: The Tradable Insurance Marketplace on Blockchain". Harvard Business School. Retrieved 5 January 2021.
  37. ^ Yaish, Aviv; Tochner, Saar; Zohar, Aviv (12 July 2022). "Blockchain Stretching & Squeezing: Manipulating Time for Your Best Interest". Proceedings of the 23rd ACM Conference on Economics and Computation. EC '22. New York, NY, USA: Association for Computing Machinery: 65–88. doi:10.1145/3490486.3538250. ISBN 978-1-4503-9150-4. S2CID 250497046.
  38. ^ Chavez-Dreyfuss, Gertrude (14 May 2021). "Cryptocurrency Crime Declines But 'DeFi' Fraud Soars: CipherTrace". Insurance Journal. Reuters. Retrieved 28 October 2021.
  39. ^ Davis, Griffin (14 October 2021). "DeFi, Crypto Expansion Puts US at Risk of More Ransomware Attacks?". Tech Times. Retrieved 28 October 2021.
  40. ^ a b Combs, Veronica (24 August 2021). "Don't get rugged: DeFi scams go from zero to $129 million in a year to become top financial hack". TechRepublic. Archived from the original on 27 August 2021. Retrieved 7 May 2023.
  41. ^ "Updated Guidance for a Risk-Based Approach to Virtual Assets and Virtual Asset Service Providers". FATF. 28 October 2021. Archived from the original on 2 February 2023. Retrieved 28 February 2023. {{cite web}}: |archive-date= / |archive-url= timestamp mismatch; 31 January 2023 suggested (help)
  42. ^ Barbereau, Tom; Bodó, Balázs (1 July 2023). "Beyond financial regulation of crypto-asset wallet software: In search of secondary liability". Computer Law & Security Review. 49: 105829. doi:10.1016/j.clsr.2023.105829. ISSN 0267-3649.
  43. ^ "VASPs (Virtual Asset Service Providers): What are they? | Notabene". notabene.id. Retrieved 24 August 2022.