We present a measurement study on compositions of Decentralized Finance protocols, which aim to disrupt traditional finance and offer services on top of distributed ledgers, such as Ethereum. DeFi compositions may impact the development of ecosystem interoperability, are increasingly integrated with web technologies, and may introduce risks through complexity. Starting from a dataset of 23 labeled DeFi protocols and 10,663,881 associated Ethereum accounts, we study the interactions of protocols and associated smart contracts. From a network perspective, we find that decentralized exchanges and lending protocols have high degree and centrality values, that interactions among protocol nodes primarily occur in a strongly connected component, and that known community detection methods cannot disentangle DeFi protocols. Therefore, we propose an algorithm to decompose a protocol call into a nested set of building blocks that may be part of other DeFi protocols. With a ground truth dataset we have collected, we can demonstrate the algorithm's capability by finding that swaps are the most frequently used building blocks. As building blocks can be nested, i.e., contained in each other, we provide visualizations of composition trees for deeper inspections. We also present a broad picture of DeFi compositions by extracting and flattening the entire nested building block structure across multiple DeFi protocols. Finally, to demonstrate the practicality of our approach, we present a case study that is inspired by the recent collapse of the UST stablecoin in the Terra ecosystem. Under the hypothetical assumption that the stablecoin USD Tether would experience a similar fate, we study which building blocks and, thereby, DeFi protocols would be affected. Overall, our results and methods contribute to a better understanding of a new family of financial products.
翻译:我们对分散金融协议的构成进行了测量研究,目的是扰乱传统金融,在Etheum等分布式分类账之上提供服务。 DeFi 的构成可能会影响生态系统互操作性的发展,并日益与网络技术融合,并可能带来复杂的风险。从23个标签的 DeFi 协议和10,663,881个相关Etheyum账户的数据集开始,我们研究协议和相关智能合同的相互作用。从网络的角度来看,我们发现分散的交易所和放款协议具有很高的程度和中心价值,协议节点之间的相互作用主要发生在一个紧密相连的组成部分中,已知的社区探测方法可能影响到生态系统互操作性的发展,因此,我们建议用算算算算算法将协议拆分解成一组可能属于其他 DeFi 协议一部分的建筑。我们收集了一个地面真理数据集,我们可以通过发现互换是最常用的美元构建方块来证明算法的能力。随着建筑构件的嵌入,也就是说,我们相互连接的构造树进行可视化的构造树形图象,我们从一个稳定的构造上展示了一种稳定的构造结构,最终的构造,我们从一个稳定的构造到一个稳定的建筑的模型,我们最后展示了一个稳定的构造,一个稳定的构造的构造, 展示了一个稳定的构造,一个稳定的构造,我们从一个稳定的构造到一个稳定的构造的模型的构造,我们从一个稳定的构造到一个稳定的建筑的模型的模型的模型,我们最终的模型的模型的模型的构造,我们最后展示了一个稳定的构造, 展示了一个稳定的构造, 展示了我们最后的构造的模型的模型到一个稳定的构造。