CUSC: Composable User-Centric Smart Contracts

被引:0
作者
Knecht, Markus [1 ,2 ]
Stiller, Burkhard [1 ]
机构
[1] Univ Zurich UZH, Dept Informat IfI, Commun Syst Grp CSG, Binzmuhlestr 14, CH-8050 Zurich, Switzerland
[2] Univ Appl Sci Northwestern Switzerland, Inst Mobile & Distributed Syst IMVS, Bahnhofstr 6, CH-5210 Windisch, Switzerland
来源
2023 5TH CONFERENCE ON BLOCKCHAIN RESEARCH & APPLICATIONS FOR INNOVATIVE NETWORKS AND SERVICES, BRAINS | 2023年
关键词
Blockchain; Smart Contract; Programming Languages; Composability; Interfaces; Design Patterns;
D O I
10.1109/BRAINS59668.2023.10316827
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Smart Contract (SC) Programming Languages (PL) are inspired by Non-SC PLs. Many, like Solidity, use an object-oriented approach with interfaces and inheritance-based subtyping. However, the main focus of these concepts is on abstraction and extend-ability, whereas for SC Systems, robust, secure and composable SCs are of higher importance. Further, despite supporting inheritance, Solidity and other SC PLs fail to leverage the full benefits of the object-oriented paradigm when multiple SCs are involved. This work presents an approach to SC composability that enables highly composable and secure SCs by encapsulating logic in small traits that serve as interfaces.
引用
收藏
页数:4
相关论文
共 15 条
[1]  
Adams H., Uniswap v3 core
[2]  
[Anonymous], EIP 20 TOK STAND
[3]  
[Anonymous], The Cake Pattern
[4]  
[Anonymous], The Maker Protocol: MakerDAO's Multi-Collateral Dai (MCD) System
[5]  
[Anonymous], DeFi's Permissionless Composability is Supercharging Innovation
[6]  
Besu, about us
[7]  
Buterin V., Ethereum: a next generation smart contract and decentralized application platform
[8]  
Juliano A., dYdX: A Standard for Decentralized Margin Trading and Derivatives
[9]  
Knecht M., 2021, Smart Protocols, P149
[10]  
Polkadot, about us