Reliable Smart Contract Automatic Generation Based on Event-B
Smart contract is a new computable transaction agreement that executes contract terms in code.Its application scena-rios and scale are growing with each passing day, carrying up to billions of dollars of various assets.However, smart contracts may cause serious economics losses due to code defects.T...
Gespeichert in:
Veröffentlicht in: | Ji suan ji ke xue 2023-01, Vol.50 (10), p.343 |
---|---|
Hauptverfasser: | , , , , , |
Format: | Artikel |
Sprache: | chi |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Smart contract is a new computable transaction agreement that executes contract terms in code.Its application scena-rios and scale are growing with each passing day, carrying up to billions of dollars of various assets.However, smart contracts may cause serious economics losses due to code defects.Therefore, the trusted development of smart contract is particularly critical.This paper proposes a method of trusted verification and automatic generation of smart contracts based on the set theory language Event-B,which is a formal method based on refinement and can be used for specification, design and verification of software systems.Through the model verification of smart contracts and the automatic generation technology of executable codes, an automatic conversion tool EB2S is developed, which bridges the semantic gap and technical barriers between formal models and smart contract programming languages.Finally, this paper selects a typical online payment smart contract scenario, and the smart contract design a |
---|---|
ISSN: | 1002-137X |