论文标题
分散的金融危机
The Decentralized Financial Crisis
论文作者
论文摘要
由于过度金融风险的积累,2008年的全球金融危机启发了纳卡本(Satoshi Nakamoto)创建比特币。现在,十多年后,分散的财务(DEFI)是一种点对点的财务范式,利用基于区块链的智能合约来确保其完整性和安全性,截至2020年4月15日,它包含超过7.02亿美元的资本。随着该生态系统的发展,该生态系统的发展是可以预防金融崩溃的风险。在本文中,我们探讨了Defi协议中的设计弱点和价格波动如何导致Defi危机。我们专注于Defi贷款协议,因为它们目前构成了大多数Defi生态系统,截至2020年4月15日,资本的市场份额为76%。 首先,我们证明了攻击制造商的治理设计的可行性,以完全控制该协议,这是按市场份额按市场份额划分的最大的Defi协议,这将允许盗窃50亿美元的抵押品和无限制的DAI代币供应。这样一来,我们提出了一种利用所谓的闪光贷款的新型策略,原则上只能在两项交易中执行治理攻击,而无需锁定任何资产。我们透露攻击细节大约两周后,制造商修改了减轻攻击向量的治理参数。其次,我们转向Defi贷款协议中财务风险的核心组成部分。受到中央银行进行的压力测试的启发,我们为风格化的贷款方案开发了一个应力测试框架,将注意力集中在流动性干燥对协议偿付能力的影响上。根据我们的参数,我们发现,由于足够的流动性,贷款方案的总债务总额为4亿美元,可能会在19天内变得不足。
The Global Financial Crisis of 2008, caused by the accumulation of excessive financial risk, inspired Satoshi Nakamoto to create Bitcoin. Now, more than ten years later, Decentralized Finance (DeFi), a peer-to-peer financial paradigm which leverages blockchain-based smart contracts to ensure its integrity and security, contains over 702m USD of capital as of April 15th, 2020. As this ecosystem develops, it is at risk of the very sort of financial meltdown it is supposed to be preventing. In this paper we explore how design weaknesses and price fluctuations in DeFi protocols could lead to a DeFi crisis. We focus on DeFi lending protocols as they currently constitute most of the DeFi ecosystem with a 76% market share by capital as of April 15th, 2020. First, we demonstrate the feasibility of attacking Maker's governance design to take full control of the protocol, the largest DeFi protocol by market share, which would have allowed the theft of 0.5bn USD of collateral and the minting of an unlimited supply of DAI tokens. In doing so, we present a novel strategy utilizing so-called flash loans that would have in principle allowed the execution of the governance attack in just two transactions and without the need to lock any assets. Approximately two weeks after we disclosed the attack details, Maker modified the governance parameters mitigating the attack vectors. Second, we turn to a central component of financial risk in DeFi lending protocols. Inspired by stress-testing as performed by central banks, we develop a stress-testing framework for a stylized DeFi lending protocol, focusing our attention on the impact of a drying-up of liquidity on protocol solvency. Based on our parameters, we find that with sufficiently illiquidity a lending protocol with a total debt of 400m USD could become undercollateralized within 19 days.