Smart Contract Upgradability: a Structured and Natural Approach

No Thumbnail Available

Date

2024

Journal Title

Journal ISSN

Volume Title

Publisher

Institute of Electrical and Electronics Engineers Inc.

Open Access Color

OpenAIRE Downloads

OpenAIRE Views

Research Projects

Organizational Units

Journal Issue

Events

Abstract

Software maintenance is crucial as technology rapidly evolves, requiring software to meet new demands and correct errors. Smart contracts, immutable programs on blockchains like Ethereum, face challenges despite their immutability, often needing updates for errors or new features. Smart contracts are upgraded using different patterns, which are not natural because most of them implement upgrades using low-level operations that deviate from their intended use. In other words, these patterns are not natural because upgrades are done by implementing workarounds. Moreover, smart contracts are also susceptible to security vulnerabilities because they may hold large amounts of money. In this paper, upgradability of smart contracts is considered a necessity. For this purpose, a more structured method is proposed by adding high-level features and combining inheritance properties of object-oriented languages. A key component of this method is the gotoContract variable, which allows for the redirection of function calls to upgraded contracts. The proposed method provides a complete upgrade of data and functions in smart contracts. It aims to minimize the effects of upgrades on end users of the smart contracts. Additionally, this natural way of upgrading will help mitigate security risks in the smart contracts by providing a high-level approach to upgrade. © 2024 IEEE.

Description

Dubai Blockchain Center; Dubai Business Events; Singularity NET; Zayed University

Keywords

Blockchain Smart Contract, Object-Oriented Inheritance, Smart Contract Maintenance, Smart Contract Upgradability, Smart Contract Upgradability Patterns, Upgradable Smart Contract

Turkish CoHE Thesis Center URL

Fields of Science

Citation

WoS Q

N/A

Scopus Q

N/A

Source

2024 6th International Conference on Blockchain Computing and Applications, BCCA 2024 -- 6th International Conference on Blockchain Computing and Applications, BCCA 2024 -- 26 November 2024 through 29 November 2024 -- Dubai -- 206303

Volume

Issue

Start Page

198

End Page

203

Collections