检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:董东[1] DONG Dong(College of Computer and Cyber Security,Hebei Normal University,Shijiazhuang Hebei 050024,China)
机构地区:[1]河北师范大学计算机与网络空间安全学院,河北石家庄050024
出 处:《河北省科学院学报》2021年第1期60-65,共6页Journal of The Hebei Academy of Sciences
摘 要:针对以太坊Solidity语言智能合约设计问题,在研究开源合约程序的基础之上识别了面向智能合约的六种设计模式,包括访问约束、状态机、前置条件、后置条件、紧急制动和代理。面向智能合约的设计模式有益于提升合约代码可读性,降低合约语言学习难度,也是提高区块链合约代码审计效率的途径。Focused on the smart contract design in Solidity language on Ethereum,this paper identifies six design patterns for smart contract based on the study of open source code of contracts,including Access Restriction,State Machine,PreCondition,PostCondition,Emergency Stop,and Proxy.The design patterns identified can be utilized to improve the readability of contract code,reduce the difficulty of contract language learning.Moreover,it is also an approach to improve the efficiency of blockchain contract code audit.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.46