Skip to Main content Skip to Navigation
Conference papers

An Event-B based approach for formal modelling and verification of smart contracts

Abstract : While smart contracts are becoming widely recognized as the most successful application of the blockchain technology that could be applied into various industries and for different purposes such as e-commerce, energy tradings, assets management, and healthcare services, their implementation has posed several challenges insofar that they could handle large amount of money and digital assets in addition to their ability to manipulate critical data and transactions related information which makes them attractive targets of security threats and attacks that could lead to significant problems like money losses, privacy leakage and data breach. To better deal with such issues, reasoning about the correctness, the safety and the functional accuracy of smart contracts before their deployment on the blockchain network is critical and no important than ever. In this context model checking tools are well adopted for the formal verification of smart contracts in order to assure their execution as parties' willingness as well as their reliable and secure interaction with users. In this direction, this paper uses Event-B formal verification method to formally model solidity written smart contracts in order to verify and validate their safety, correctness and functional accuracy in addition to their compliance with their specification for given behaviors. The verification is conducted using a model checking tool along which expected safety properties are formalized, validated and judged to be satisfied or unsatisfied. To illustrate the proposed approach, its application to a realistic industrial use case is described.
Complete list of metadata

Cited literature [21 references]  Display  Hide  Download

https://hal.archives-ouvertes.fr/hal-02928201
Contributor : Khalifa Toumi <>
Submitted on : Wednesday, September 2, 2020 - 12:30:29 PM
Last modification on : Saturday, July 3, 2021 - 3:48:04 AM
Long-term archiving on: : Wednesday, December 2, 2020 - 4:21:22 PM

File

formal_verification_of_smart_c...
Files produced by the author(s)

Identifiers

Citation

Asma Lahbib, Abderrahim Ait Wakrime, Anis Laouiti, Khalifa Toumi, Steven Martin. An Event-B based approach for formal modelling and verification of smart contracts. AINA 2020: 34th International Conference on Advanced Information Networking and Applications, Apr 2020, Caserta, Italy. pp.1303-1318, ⟨10.1007/978-3-030-44041-1_111⟩. ⟨hal-02928201⟩

Share

Metrics

Record views

95

Files downloads

304