DeFi Lending During The Merge

Authors Lioba Heimbach , Eric Schertenleib , Roger Wattenhofer



PDF
Thumbnail PDF

File

LIPIcs.AFT.2023.9.pdf
  • Filesize: 1.15 MB
  • 25 pages

Document Identifiers

Author Details

Lioba Heimbach
  • ETH Zürich, Switzerland
Eric Schertenleib
  • ETH Zürich, Switzerland
Roger Wattenhofer
  • ETH Zürich, Switzerland

Cite AsGet BibTex

Lioba Heimbach, Eric Schertenleib, and Roger Wattenhofer. DeFi Lending During The Merge. In 5th Conference on Advances in Financial Technologies (AFT 2023). Leibniz International Proceedings in Informatics (LIPIcs), Volume 282, pp. 9:1-9:25, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2023)
https://doi.org/10.4230/LIPIcs.AFT.2023.9

Abstract

Lending protocols in decentralized finance enable the permissionless exchange of capital from lenders to borrowers without relying on a trusted third party for clearing or market-making. Interest rates are set by the supply and demand of capital according to a pre-defined function. In the lead-up to The Merge: Ethereum blockchain’s transition from proof-of-work (PoW) to proof-of-stake (PoS), a fraction of the Ethereum ecosystem announced plans of continuing with a PoW-chain. Owners of ETH - whether their ETH was borrowed or not - would hold the native tokens on each chain. This development alarmed lending protocols. They feared spiking ETH borrowing rates would lead to mass liquidations which could undermine their viability. Thus, the decentralized autonomous organization running the protocols saw no alternative to intervention - restricting users' ability to borrow. We investigate the effects of the merge and the aforementioned intervention on the two biggest lending protocols on Ethereum: AAVE and Compound. Our analysis finds that borrowing rates were extremely volatile, jumping by two orders of magnitude, and borrowing at times reached 100% of the available funds. Despite this, no spike in mass liquidations or irretrievable loans materialized. Further, we are the first to quantify and analyze hard-fork-arbitrage, profiting from holding debt in the native blockchain token during a hard fork. We find that arbitrageurs transferred tokens to centralized exchanges which at the time were worth more than 13 Mio US$, money that was effectively extracted from the platforms' lenders.

Subject Classification

ACM Subject Classification
  • General and reference → Measurement
  • General and reference → Empirical studies
  • Applied computing → Economics
Keywords
  • blockchain
  • Ethereum
  • lending protocol
  • hard fork

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads

References

  1. Aave. https://aave.com/, 2022.
  2. Sirio Aramonte, Sebastian Doerr, Wenqian Huang, Andreas Schrimpf, et al. Defi lending: intermediation without information? Technical report, Bank for International Settlements, 2022. Google Scholar
  3. Massimo Bartoletti, James Hsin-yu Chiang, and Alberto Lluch Lafuente. Sok: Lending pools in decentralized finance. In International Conference on Financial Cryptography and Data Security, 2021. Google Scholar
  4. Chainlink. Decentralized data feeds. https://data.chain.link/, 2023.
  5. Jonathan Chiu, Emre Ozdenoren, Kathy Yuan, and Shengxing Zhang. On the inherent fragility of defi lending. https://www.snb.ch/n/mmr/reference/sem_2022_06_03_chiu/source/sem_2022_06_03_chiu.n.pdf, 2022.
  6. Coinmarketcap: Today’s cryptocurrency prices by market cap. https://coinmarketcap.com/, 2023.
  7. Compound. https://compound.finance, 2022.
  8. Contract 0x0c3f8df27e1a00b47653fde878d68d35f00714c0. https://etherscan.io/address/0x0C3F8Df27e1A00b47653fDE878D68D35F00714C0#readContract, 2023.
  9. Michael Darlin, Georgios Palaiokrassas, and Leandros Tassiulas. Debt-financed collateral and stability risks in the defi ecosystem. In 2022 4th Conference on Blockchain Research & Applications for Innovative Networks and Services (BRAINS), pages 5-12. IEEE, 2022. Google Scholar
  10. EigenPhi. How aave’s $1.6 million bad debt was created, 2022. URL: https://medium.com/@eigenphi/how-aaves-1-6-million-bad-debt-was-created-915898d466cc.
  11. Shayan Eskandari, Mehdi Salehi, Wanyun Catherine Gu, and Jeremy Clark. Sok: Oracles from the ground truth to market manipulation. arXiv preprint arXiv:2106.00667, 2021. Google Scholar
  12. Ethereum classic. https://ethereumclassic.org/, 2023.
  13. Ethereum Foundation. The merge. https://ethereum.org/en/upgrades/merge/, 2023.
  14. Ethereumfair. https://etherfair.org/, 2023.
  15. EthereumPoW. Ethereumpow (ethw) official twitter, 2022. URL: https://twitter.com/EthereumPoW/status/1560044879920607233?s=20&t=Kzk1R9j4BK47WKu32M-3zw.
  16. Ethereumpow. https://ethereumpow.org/, 2023.
  17. ethereumpow. Ethereumpow (ethw) official. https://github.com/ethereumpow, 2023.
  18. Ethpow params, 2022. URL: https://github.com/Paul286/go-ethereum/blob/7cda05854f4db007f459f0771ab24f9450296a89/params/ethpow_params.go.
  19. ETHW Explorer. https://www.oklink.com/en/ethw/, 2023.
  20. Emilio Frangella. Aave borrowing rates upgraded. https://medium.com/aave/aave-borrowing-rates-upgraded-f6c8b27973a7, 2022.
  21. Robin Fritsch, Marino Müller, and Roger Wattenhofer. Analyzing voting power in decentralized governance: Who controls daos? arXiv preprint arXiv:2204.01176, 2022. Google Scholar
  22. Lewis Gudgeon, Sam Werner, Daniel Perez, and William J Knottenbelt. Defi protocols for loanable funds: Interest rates, liquidity and market efficiency. In Proceedings of the 2nd ACM Conference on Advances in Financial Technologies, pages 92-112, 2020. Google Scholar
  23. Stefan Kitzler, Friedhelm Victor, Pietro Saggese, and Bernhard Haslhofer. Disentangling decentralized finance (defi) compositions. arXiv preprint arXiv:2111.11933, 2021. Google Scholar
  24. Label Word Cloud. https://etherscan.io/labelcloud, 2023.
  25. ledgerwatch. Erigon. https://github.com/ledgerwatch/erigon, 2023.
  26. Paul Lei, Jonathan Reem, Nick Cannon, Watson Fu, Tony Salvatore, and Sarah Chen. Pause eth borrowing. https://app.aave.com/governance/proposal/97/, 2022.
  27. Lending tvl rankings. https://defillama.com/protocols/lending/Ethereum, 2023.
  28. Lido. https://lido.fi, 2022.
  29. Burton G Malkiel. Is the stock market efficient? Science, 243(4896):1313-1318, 1989. Google Scholar
  30. monet supply. Proposal: Adjust eth interest rate model. https://www.comp.xyz/t/proposal-adjust-eth-interest-rate-model/3493/1, 2022.
  31. MonetSupply. ceth risk mitigation. https://compound.finance/governance/proposals/122, 2022.
  32. Satoshi Nakamoto. Bitcoin: A peer-to-peer electronic cash system. Decentralized Business Review, page 21260, 2008. Google Scholar
  33. Daniel Perez, Sam M Werner, Jiahua Xu, and Benjamin Livshits. Liquidations: Defi on a knife-edge. In International Conference on Financial Cryptography and Data Security, pages 457-476. Springer, 2021. Google Scholar
  34. Pool distribution, 2023. URL: https://beaconcha.in/pools.
  35. Primoz. [arc] aave ethpow fork risk mitigation plan. https://governance.aave.com/t/arc-aave-ethpow-fork-risk-mitigation-plan/9438, 2022.
  36. Kaihua Qin, Liyi Zhou, Pablo Gamito, Philipp Jovanovic, and Arthur Gervais. An empirical study of defi liquidations: Incentives, risks, and instabilities. In Proceedings of the 21st ACM Internet Measurement Conference, pages 336-350, 2021. Google Scholar
  37. Kaihua Qin, Liyi Zhou, and Arthur Gervais. Quantifying blockchain extractable value: How dark is the forest? arXiv preprint arXiv:2101.05511, 2021. Google Scholar
  38. Joao Reginatto. Usdc and ethereum’s upcoming merge. https://www.circle.com/blog/usdc-and-ethereums-upcoming-merge, 2022.
  39. Tether. Usdt supports eth proof-of-stake transition. https://tether.to/en/usdt-supports-eth-proof-of-stake-transition/, 2022.
  40. The history of ethereum. https://ethereum.org/en/history/, 2023.
  41. Palina Tolmach, Yi Li, Shang-Wei Lin, and Yang Liu. Formal analysis of composable defi protocols. In International Conference on Financial Cryptography and Data Security, pages 149-161. Springer, 2021. Google Scholar
  42. Updates regarding the upcoming ethereum merge (2022-09-13). https://www.binance.com/en/support/announcement/notice-regarding-the-upcoming-ethereum-merge-2022-08-25-205de0801a4741c98270fdea6cb06697, 2022.
  43. Updates regarding the upcoming ethereum merge (2022-09-13). https://www.binance.com/en/support/announcement/updates-regarding-the-upcoming-ethereum-merge-2022-09-13-9a4805dffb8741a78f26075762a22a9c, 2022.
  44. Fran Velasquez. On-chain data shows close ties between ftx and alameda were there from the start: Nansen, 2022. URL: https://www.coindesk.com/business/2022/11/22/on-chain-data-shows-close-ties-between-ftx-and-alameda-were-there-from-the-start-nansen/.
  45. Friedhelm Victor. Address clustering heuristics for ethereum. In International conference on financial cryptography and data security, pages 617-633. Springer, 2020. Google Scholar
  46. Victor von Wachter, Johannes Rude Jensen, and Omri Ross. Measuring asset composability as a proxy for defi integration. In International Conference on Financial Cryptography and Data Security, pages 109-114. Springer, 2021. Google Scholar
  47. web3.eth api. https://web3py.readthedocs.io/en/v5/web3.eth.html, 2023.
  48. Jiahua Xu and Nikhil Vadgama. From banks to defi: the evolution of the lending market. In Enabling the Internet of Value, pages 53-66. Springer, 2022. Google Scholar
  49. Yahoo finance. https://finance.yahoo.com/, 2023.
  50. Aviv Yaish, Saar Tochner, and Aviv Zohar. Blockchain stretching & squeezing: Manipulating time for your best interest. In Proceedings of the 23rd ACM Conference on Economics and Computation, pages 65-88, 2022. Google Scholar
  51. yfinance. https://pypi.org/project/yfinance/, 2023.
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail