大数据 ›› 2022, Vol. 8 ›› Issue (4): 67-84.doi: 10.11959/j.issn.2096-0271.2022064
邓钇敏1,2, 司世景1, 王健宗1, 李泽远1, 肖京1
出版日期:
2022-07-15
发布日期:
2022-07-01
作者简介:
邓钇敏(1999- ),女,中国科学技术大学先进技术研究院硕士生,中国计算机学会(CCF)会员,主要研究方向为深度学习、计算机视觉和元宇宙等基金资助:
Yimin DENG1,2, Shijing SI1, Jianzong WANG1, Zeyuan LI1, Jing XIAO1
Online:
2022-07-15
Published:
2022-07-01
Supported by:
摘要:
去中心化金融(DeFi)是一种基于区块链和智能合约提供金融服务的新范式,现已涉及包括借贷及其衍生品在内的众多领域。因此,作为DeFi基础的交易机制成为重要的关注点,其直接影响着上层应用的稳定性。主要讨论DeFi领域的交易机制,首先介绍与交易机制相关的概念和协议;然后通过实现方式对交易机制进行分类,分别详细讨论了基于交易委托账本、自动做市商和聚合器方法的交易机制实现,并比较归纳实现方案之间的区别与联系;最后分析并总结了去中心化交易面临的公平性、安全性、匿名性问题,提出了相关的未来研究方向。
中图分类号:
邓钇敏, 司世景, 王健宗, 李泽远, 肖京. 去中心化金融的交易机制综述[J]. 大数据, 2022, 8(4): 67-84.
Yimin DENG, Shijing SI, Jianzong WANG, Zeyuan LI, Jing XIAO. Exchange mechanism for decentralized finance: a survey[J]. Big Data Research, 2022, 8(4): 67-84.
表1
不同交易委托账本的方法"
交易所 | 订单匹配机制 | 账本收集方式 | 底层区块链 |
Coinbase[ | FIFO | 中心化链下 | Ethereum |
Binance[ | FIFO | 中心化链下 | BSC |
dYdX[ | FIFO | 去中心化链下 | Ethereum |
Serum[ | collateral-FIFO | 去中心化链上 | Solana[ |
0x Relayer[ | open order book | 去中心化链下 | Ethereum |
Waves Exchange[ | FIFO | 去中心化链上 | Waves Blockchain |
Injective[ | FBA | 去中心化链下 | Ethereum |
[1] | ZETZSCHE D A , ARNER D W , BUCKLEY R P . Decentralized finance[J]. Journal of Financial Regulation, 2020,6(2): 172-203. |
[2] | GUDGEON L , WERNER S , PEREZ D ,et al. DeFi protocols for loanable funds:interest rates,liquidity and market efficiency[C]// Proceedings of the 2nd ACM Conference on Advances in Financial Technologies. New York:ACM Press, 2020: 92-112. |
[3] | WU Y . A quantitative analysis on BitMEX perpetual inverse futures XBTUSD contract[J]. Undergraduate Economic Review, 2021,17(1): 12. |
[4] | ZHENG Z B , XIE S A , DAI H N ,et al. Blockchain challenges and opportunities:a survey[J]. International Journal of Web and Grid Services, 2018,14(4): 352. |
[5] | SCHUEFFEL P . DeFi:decentralized finance - an introduction and overview[J]. Journal of Innovation Management, 2021,9(3): 1-11. |
[6] | MOHAN V . Automated market makers and decentralized exchanges:a DeFi primer[J]. Financial Innovation, 2022,8:20. |
[7] | LEHAR A , PARLOUR C A , BERKELEY C . Decentralized exchanges[R]. 2021. |
[8] | NAKAMOTO S . Bitcoin:a peer-to-peer electronic cash system[J]. Decentralized Business Review, 2008:21260. |
[9] | ZHOU Q H , HUANG H W , ZHENG Z B ,et al. Solutions to scalability of blockchain:a survey[J]. IEEE Access, 2020,8: 16440-16455. |
[10] | GUDGEON L , MORENO-SANCHEZ P , ROOS S ,et al. SoK:layer-two blockchain protocols[M]// Financial cryptography and data security. Cham: Springer International Publishing, 2020: 201-226. |
[11] | SZABO N . Smart contracts:building blocks for digital markets[J]. The Journal of Transhumanist Thought, 1996,18(2). |
[12] | BUTERIN V . Ethereum white paper[Z]. 2014. |
[13] | CHEN H S , PENDLETON M , NJILLA L ,et al. A survey on ethereum systems security[J]. ACM Computing Surveys, 2021,53(3): 1-43. |
[14] | CHEN Y . Decentralized finance:blockchain technology and the quest for an open financial system[J]. SSRN Electronic Journal, 2019. |
[15] | SCH?R F . Decentralized finance:on blockchain- and smart contract-based financial markets[J]. Review, 2021,103(2): 153-174. |
[16] | NADLER M , SCH?R F , . Decentralized finance,centralized ownership? An iterative mapping process to measure protocol token distribution[J]. arXiv preprint,2020,arXiv:2012.09306. |
[17] | VOGELSTELLER F , BUTERIN V . ERC-20 token standard (EIP 20)[Z]. 2015. |
[18] | ENTRIKEN W , SHIRLEY D , EVANS J ,et al. EIP-721:non-fungible token standard[Z]. 2018. |
[19] | WANG Q , LI R J , WANG Q ,et al. Nonfungible token (NFT):overview,evaluation,opportunities and challenges[J]. arXiv preprint,2021,arXiv:2105.07447. |
[20] | BERENTSEN A , SCH?R F , . Stablecoins:the quest for a low- volatility cryptocurrency[M]// The economics of fintech and digital currencies,[S.l.:s.n.], 2019. |
[21] | BRENNECKE M , GUGGENBERGER T , SCHELLINGER B ,et al. The de-central bank in decentralized finance:a case study of MakerDAO[C]// Proceedings of the 55th Hawaii International Conference on System Sciences.[S.l.:s.n.], 2022. |
[22] | SAENGCHOTE K . Where do DeFi stablecoins go? A closer look at what DeFi composability really means[J]. SSRN Electronic Journal, 2021. |
[23] | COLLIBUS F M , PARTIDA A , PI?KOREC M , . The role of smart contracts in the transaction networks of four key DeFicollateral ethereum-based tokens[C]// Proceedings of 2021 International Conference on Complex Networks and Their Applications. Heidelberg:Springer, 2022: 792-804. |
[24] | TSAI W T , HE J , WANG R ,et al. Decentralized digital-asset exchanges:issues and evaluation[C]// Proceedings of 2020 3rd International Conference on Smart BlockChain. Piscataway:IEEE Press, 2020: 1-6. |
[25] | 翟冉, 陈学斌 . 区块链的共识机制研究[J]. 数据与计算发展前沿, 2021,3(3): 86-94. |
ZHAI R , CHEN X B . Research on blockchain consensus mechanism[J]. Frontiers of Data and Computing, 2021,3(3): 86-94. | |
[26] | 郑磊 . 去中心化金融和数字金融的创新与监管[J]. 财经问题研究, 2022(4): 65-74. |
ZHENG L . Innovation and regulation of decentralized finance and digital finance[J]. Research on Financial and Economic Issues, 2022(4): 65-74. | |
[27] | BODZIONY N , JEMIO?O P ,, KLUZA K ,et al. Blockchain-based address alias system[J]. Journal of Theoretical and Applied Electronic Commerce Research, 2021,16(5): 1280-1296. |
[28] | BUSAYATANANPHON C , BOONCHIENG E . Financial technology DeFi protocol:a review[C]// Proceedings of 2022 Joint International Conference on Digital Arts,Media and Technology with ECTI Northern Section Conference on Electrical,Electronics,Computer and Telecommunications Engineering. Piscataway:IEEE Press, 2022: 267-272. |
[29] | Oxford Analytica. Coinbase listing will pave way for other exchanges[J]. Emerald Expert Briefings, 2021. |
[30] | QIN K , ZHOU L , AFONIN Y ,et al. CeFi vs.DeFi-comparing centralized to decentralized finance[J]. arXiv preprint,2021,arXiv:2106.08157. |
[31] | MARELLA V , ROSHAN M , MERIKIVI J ,et al. Rebuilding trust in cryptocurrency exchanges after cyber-attacks[C]// Proceedings of the 54th Hawaii International Conference on System Sciences.[S.l.:s.n.], 2021. |
[32] | WERNER S M , PEREZ D , GUDGEON L ,et al. SoK:decentralized finance (DeFi)[J]. arXiv preprint,2021,arXiv:2101.08778. |
[33] | JULIANO A. dYdX:a standard for decentralized margin trading and derivatives[Z]. 2018. |
[34] | Serum. Serum white paper[Z]. 2021. |
[35] | LI X Y , WANG X Y , KONG T L ,et al. From Bitcoin to Solana-innovating blockchain towards enterprise applications[C]// Proceedings of 2021 International Conference on Blockchain. Heidelberg:Springer, 2021: 74-100. |
[36] | WOOTEN J , MCGUIRE H . Decentralized order books for global financial markets[Z]. 2020. |
[37] | WANG R , TSAI W T , HE J ,et al. A distributed digital asset-trading platform based on permissioned blockchains[C]// Proceedings of 2018 International Conference on Smart Blockchain. Heidelberg:Springer, 2018: 55-65. |
[38] | Waves. Waves exchange[Z]. 2021. |
[39] | IVANOV S , PUPYSHEV A . Neutrino protocol white paper[Z]. 2020. |
[40] | CHEN E , CHON A . Injective protocol:a collision resistant decentralized exchange protocol[Z]. 2018. |
[41] | AOYAGI J , ITO Y . Liquidity implication of constant product market makers[J]. SSRN Electronic Journal, 2021. |
[42] | XU J H , VAVRYK N , PARUCH K ,et al. SoK:decentralized exchanges (DEX) with automated market maker (AMM) protocols[J]. arXiv preprint,2021,arXiv:2103.12732. |
[43] | BOUERI N . G3M impermanent loss dynamics[J]. arXiv preprint,2021,arXiv:2108.06593. |
[44] | JUN A . Liquidity provision by automated market makers[J]. SSRN Electronic Journal, 2020. |
[45] | ANGERIS G , EVANS A , CHITRA T . When does the tail wag the dog? Curvature and market making[J]. arXiv preprint,2020,arXiv:2012.08040. |
[46] | EVANS A . Liquidity provider returns in geometric mean markets[J]. arXiv preprint,2020,arXiv:2006.08806. |
[47] | LABADIE M . Impermanent loss and slippage in automated market makers (AMMs) with constant-product formula[J]. SSRN Electronic Journal, 2022. |
[48] | GERSBACH H , MAMAGEISHVILI A , SCHNEIDER M . Staking pools on blockchains[J]. arXiv preprint,2022,arXiv:2203.05838. |
[49] | TOLMACH P , LI Y , LIN S W ,et al. Formal analysis of composable DeFi protocols[M]// Lecture notes in computer science. Heidelberg: Springer, 2021: 149-161. |
[50] | WANG Y G . Automated market makers for decentralized finance (DeFi)[J]. arXiv preprint,2020,arXiv:2009.01676. |
[51] | AIGNER A , DHALIWAL G . UNISWAP:impermanent loss and risk profile of a liquidity provider[J]. arXiv preprint,2021,arXiv:2106.14404. |
[52] | mStable. mStable document[Z]. 2021. |
[53] | MARTINELLI F , MUSHEGIAN N . Balancer:a non-custodial portfolio manager,liquidity provider,and price sensor[Z]. 2021. |
[54] | KRISHNAMACHARI B , FENG Q , GRIPPO E . Dynamic curves for decentralized autonomous cryptocurrency exchanges[J]. arXiv preprint,2021,arXiv:2101.02778. |
[55] | ADAMS H , ZINSMEISTER N , SALEM M ,et al. UNISWAP v3 core[R]. 2021. |
[56] | MICHAEL E StableSwap - efficient mechanism for Stablecoin liquidity[Z]. 2019. |
[57] | Sushi. The SushiSwap project[Z]. 2020. |
[58] | STONE D . Trustless,privacy-preserving blockchain bridges[J]. arXiv preprint,2021,arXiv:2102.04660. |
[59] | Raydium Team. Raydium protocol litepaper[Z]. 2021. |
[60] | COUSAERT S , XU J H , MATSUI T . SoK:yield aggregators in DeFi[J]. arXiv preprint,2021,arXiv:2105.13891. |
[61] | 1inch Network. Introducing 1inch v2 - DeFi’s fastest and most advanced aggregation protocol[Z]. 2020. |
[62] | Matcha. Matcha - simple crypto for everyone[Z]. 2021. |
[63] | 0x. 0x Docs[Z]. 2021. |
[64] | ESKANDARI S , MOOSAVI S , CLARK J . SoK:transparent dishonesty:frontrunning attacks on blockchain[C]// Proceedings of 2019 International Conference on Financial Cryptography and Data Security. Heidelberg:Springer, 2020: 170-189. |
[65] | ZHOU L Y , QIN K H , TORRES C F ,et al. High-frequency trading on decentralized on-chain exchanges[J]. arXiv preprint,2020,arXiv:2009.14021. |
[66] | CAO Y X , ZOU C W , CHENG X F . Flashot:a snapshot of flash loan attack on DeFi ecosystem[J]. arXiv preprint,2021,arXiv:2102.00626. |
[67] | LIU C , LIU H , CAO Z ,et al. ReGuard:finding reentrancy bugs in smart contracts[C]// Proceedings of 2018 IEEE/ACM 40th International Conference on Software Engineering:Companion. Piscataway:IEEE Press, 2018: 65-68. |
[68] | PeckShield. bZx hack full disclosure (with detailed profit analysis)[Z]. 2020. |
[69] | HE D J , DENG Z , ZHANG Y X ,et al. Smart contract vulnerability analysis and security audit[J]. IEEE Network, 2020,34(5): 276-282. |
[70] | PANJA S , ROY B . A secure end-to-end verifiable e-voting system using zeroknowledge proof and blockchain[M]// A tribute to the legend of professor C.R.Rao. Heidelberg: Springer, 2021: 45-48. |
[71] | WANG Y S , KOGAN A . Designing confidentiality-preserving blockchainbased transaction processing systems[J]. International Journal of Accounting Information Systems, 2018,30: 1-18. |
[72] | BüNZ B , BOOTLE J , BONEH D ,et al. Bulletproofs:short proofs for confidential transactions and more[C]// Proceedings of 2018 IEEE Symposium on Security and Privacy. Piscataway:IEEE Press, 2018: 315-334. |
[73] | RAMAN R K , VACULIN R , HIND M ,et al. Trusted multi-party computation and verifiable simulations:a scalable blockchain approach[J]. arXiv preprint,2018,arXiv:1809.08438. |
[74] | BENHAMOUDA F , HALEVI S , HALEVI T . Supporting private data on hyperledger fabric with secure multiparty computation[C]// Proceedings of 2018 IEEE International Conference on Cloud Engineering. Piscataway:IEEE Press, 2018. |
[1] | 高玮军, 王凯. 基于联盟区块链的公益善款溯源系统研究[J]. 大数据, 2023, 9(3): 150-167. |
[2] | 贵向泉, 郭志礼, 杨裔, 秦炳峰. 基于区块链技术的旅游积分通兑系统设计[J]. 大数据, 2023, 9(2): 147-162. |
[3] | 王子航, 禹向群, 斯洪标, 傅思敏, 张旭龙, 彭绍亮. 基于算力网络的元宇宙分层处理模型设计[J]. 大数据, 2023, 9(1): 51-62. |
[4] | 李懿, 王劲松, 张洪玮. 基于区块链与函数加密的隐私数据安全共享模型研究[J]. 大数据, 2022, 8(5): 33-44. |
[5] | 许小颖, 陈熙, 陈源, 谢永靖. 区块链在个性化推荐系统中的应用研究综述[J]. 大数据, 2022, 8(3): 87-102. |
[6] | 王陈慧子, 蔡玮. 元宇宙数字经济:现状、特征与发展建议[J]. 大数据, 2022, 8(3): 140-150. |
[7] | 李源, 高宁, 孙晶, 赵会群. 基于区块链的大数据交易模式研究与探索[J]. 大数据, 2021, 7(4): 37-48. |
[8] | 赵明, 董大治. 基于区块链技术的数据资产管理机制研究[J]. 大数据, 2021, 7(4): 49-60. |
[9] | 刘彦松, 夏琦, 李柱, 夏虎, 张小松, 高建彬. 基于区块链的链上数据安全共享体系研究[J]. 大数据, 2020, 6(5): 92-105. |
[10] | 张召, 田继鑫, 金澈清. 链上存证、链下传输的可信数据共享平台[J]. 大数据, 2020, 6(5): 106-117. |
[11] | 王鹏, 魏必, 王聪. 区块链技术在政务数据共享中的应用[J]. 大数据, 2020, 6(4): 105-114. |
[12] | 汪靖伟, 郑臻哲, 吴帆, 陈贵海. 基于区块链的数据市场[J]. 大数据, 2020, 6(3): 21-35. |
[13] | 孙忠富, 李永利, 郑飞翔, 杜克明, 马浚诚, 张德龙. 区块链在智慧农业中的应用展望[J]. 大数据, 2019, 5(2): 116-124. |
[14] | 闫树, 卿苏德, 魏凯. 区块链在数据流通中的应用[J]. 大数据, 2018, 4(1): 3-12. |
[15] | 马小峰, 杜明晓, 余文兵, 王意. 基于区块链的供应链金融服务平台[J]. 大数据, 2018, 4(1): 13-21. |
阅读次数 | ||||||
全文 |
|
|||||
摘要 |
|
|||||
|