IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2404.00034.html
   My bibliography  Save this paper

Investigating Similarities Across Decentralized Financial (DeFi) Services

Author

Listed:
  • Junliang Luo
  • Stefan Kitzler
  • Pietro Saggese

Abstract

We explore the adoption of graph representation learning (GRL) algorithms to investigate similarities across services offered by Decentralized Finance (DeFi) protocols. Following existing literature, we use Ethereum transaction data to identify the DeFi building blocks. These are sets of protocol-specific smart contracts that are utilized in combination within single transactions and encapsulate the logic to conduct specific financial services such as swapping or lending cryptoassets. We propose a method to categorize these blocks into clusters based on their smart contract attributes and the graph structure of their smart contract calls. We employ GRL to create embedding vectors from building blocks and agglomerative models for clustering them. To evaluate whether they are effectively grouped in clusters of similar functionalities, we associate them with eight financial functionality categories and use this information as the target label. We find that in the best-case scenario purity reaches .888. We use additional information to associate the building blocks with protocol-specific target labels, obtaining comparable purity (.864) but higher V-Measure (.571); we discuss plausible explanations for this difference. In summary, this method helps categorize existing financial products offered by DeFi protocols, and can effectively automatize the detection of similar DeFi services, especially within protocols.

Suggested Citation

  • Junliang Luo & Stefan Kitzler & Pietro Saggese, 2024. "Investigating Similarities Across Decentralized Financial (DeFi) Services," Papers 2404.00034, arXiv.org.
  • Handle: RePEc:arx:papers:2404.00034
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2404.00034
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Jiahua Xu & Krzysztof Paruch & Simon Cousaert & Yebo Feng, 2021. "SoK: Decentralized Exchanges (DEX) with Automated Market Maker (AMM) Protocols," Papers 2103.12732, arXiv.org, revised Mar 2023.
    2. Jiahua Xu & Nikhil Vadgama, 2021. "From banks to DeFi: the evolution of the lending market," Papers 2104.00970, arXiv.org, revised Dec 2022.
    3. Nadia Pocher & Mirko Zichichi & Fabio Merizzi & Muhammad Zohaib Shafiq & Stefano Ferretti, 2023. "Detecting anomalous cryptocurrency transactions: An AML/CFT application of machine learning-based forensics," Electronic Markets, Springer;IIM University of St. Gallen, vol. 33(1), pages 1-17, December.
    4. Robin Fritsch & Samuel Kaser & Roger Wattenhofer, 2022. "The Economics of Automated Market Makers," Papers 2206.04634, arXiv.org.
    5. Amani Moin & Emin Gun Sirer & Kevin Sekniqi, 2019. "A Classification Framework for Stablecoin Designs," Papers 1910.10098, arXiv.org.
    6. Fionn Murtagh & Pierre Legendre, 2014. "Ward’s Hierarchical Agglomerative Clustering Method: Which Algorithms Implement Ward’s Criterion?," Journal of Classification, Springer;The Classification Society, vol. 31(3), pages 274-295, October.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Raphael Auer & Bernhard Haslhofer & Stefan Kitzler & Pietro Saggese & Friedhelm Victor, 2024. "The technology of decentralized finance (DeFi)," Digital Finance, Springer, vol. 6(1), pages 55-95, March.
    2. Jiahua Xu & Yebo Feng, 2022. "Reap the Harvest on Blockchain: A Survey of Yield Farming Protocols," Papers 2210.04194, arXiv.org, revised Dec 2022.
    3. Simon Cousaert & Jiahua Xu & Toshiko Matsui, 2021. "SoK: Yield Aggregators in DeFi," Papers 2105.13891, arXiv.org, revised Mar 2022.
    4. Maurizio Vichi & Carlo Cavicchia & Patrick J. F. Groenen, 2022. "Hierarchical Means Clustering," Journal of Classification, Springer;The Classification Society, vol. 39(3), pages 553-577, November.
    5. Jiao Jieying & Hu Guanyu & Yan Jun, 2021. "A Bayesian marked spatial point processes model for basketball shot chart," Journal of Quantitative Analysis in Sports, De Gruyter, vol. 17(2), pages 77-90, June.
    6. Paulus, Michal & Kristoufek, Ladislav, 2015. "Worldwide clustering of the corruption perception," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 428(C), pages 351-358.
    7. Hyeri Choi & Min Jae Park, 2019. "Evaluating the Efficiency of Governmental Excellence for Social Progress: Focusing on Low- and Lower-Middle-Income Countries," Social Indicators Research: An International and Interdisciplinary Journal for Quality-of-Life Measurement, Springer, vol. 141(1), pages 111-130, January.
    8. Maksym Polyakov & Morteza Chalak & Md. Sayed Iftekhar & Ram Pandit & Sorada Tapsuwan & Fan Zhang & Chunbo Ma, 2018. "Authorship, Collaboration, Topics, and Research Gaps in Environmental and Resource Economics 1991–2015," Environmental & Resource Economics, Springer;European Association of Environmental and Resource Economists, vol. 71(1), pages 217-239, September.
    9. Grzegorz Maciejewski & Mirosława Malinowska & Barbara Kucharska & Michał Kucia & Beata Kolny, 2021. "Sustainable Development as a Factor Differentiating Consumer Behavior: The Case of Poland," European Research Studies Journal, European Research Studies Journal, vol. 0(3), pages 934-948.
    10. Yu Zhang & Tao Yan & Jianhong Lin & Benjamin Kraner & Claudio Tessone, 2024. "An Improved Algorithm to Identify More Arbitrage Opportunities on Decentralized Exchanges," Papers 2406.16573, arXiv.org.
    11. Giger, Markus & Mutea, Emily & Kiteme, Boniface & Eckert, Sandra & Anseeuw, Ward & Zaehringer, Julie G., 2020. "Large agricultural investments in Kenya’s Nanyuki Area: Inventory and analysis of business models," Land Use Policy, Elsevier, vol. 99(C).
    12. Walker, Nathan L. & Styles, David & Coughlan, Paul & Williams, A. Prysor, 2022. "Cross-sector sustainability benchmarking of major utilities in the United Kingdom," Utilities Policy, Elsevier, vol. 78(C).
    13. Pierre H. H. Schneeberger & Morgan Gueuning & Sophie Welsche & Eveline Hürlimann & Julian Dommann & Cécile Häberli & Jürg E. Frey & Somphou Sayasone & Jennifer Keiser, 2022. "Different gut microbial communities correlate with efficacy of albendazole-ivermectin against soil-transmitted helminthiases," Nature Communications, Nature, vol. 13(1), pages 1-12, December.
    14. Abang Zainoren Abang Abdurahman & Syerina Azlin Md Nasir & Wan Fairos Wan Yaacob & Serah Jaya & Suhaili Mokhtar, 2021. "Spatio-Temporal Clustering of Sarawak Malaysia Total Protected Area Visitors," Sustainability, MDPI, vol. 13(21), pages 1-19, October.
    15. Mulu Abraha Woldegiorgis & Janet E. Hiller & Wubegzier Mekonnen & Jahar Bhowmik, 2018. "Disparities in maternal health services in sub-Saharan Africa," International Journal of Public Health, Springer;Swiss School of Public Health (SSPH+), vol. 63(4), pages 525-535, May.
    16. Monika Stanny & Łukasz Komorowski & Andrzej Rosner, 2021. "The Socio-Economic Heterogeneity of Rural Areas: Towards a Rural Typology of Poland," Energies, MDPI, vol. 14(16), pages 1-23, August.
    17. Renato Amorim, 2015. "Feature Relevance in Ward’s Hierarchical Clustering Using the L p Norm," Journal of Classification, Springer;The Classification Society, vol. 32(1), pages 46-62, April.
    18. Anca Gabriela Ilie & Marinela Luminita Emanuela Zlatea & Cristina Negreanu & Dan Dumitriu & Alma Pentescu, 2023. "Reliance on Russian Federation Energy Imports and Renewable Energy in the European Union," The AMFITEATRU ECONOMIC journal, Academy of Economic Studies - Bucharest, Romania, vol. 25(64), pages 780-780, August.
    19. Luiza Ossowska & Dorota Janiszewska & Natalia Bartkowiak-Bakun & Grzegorz Kwiatkowski, 2020. "Energy Consumption Versus Greenhouse Gas Emissions in EU," European Research Studies Journal, European Research Studies Journal, vol. 0(3), pages 185-198.
    20. Erik Feyen & Jon Frost & Harish Natarajan & Tara Rice, 2021. "What Does Digital Money Mean for Emerging Market and Developing Economies?," Springer Books, in: Raghavendra Rau & Robert Wardrop & Luigi Zingales (ed.), The Palgrave Handbook of Technological Finance, pages 217-241, Springer.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2404.00034. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.