loading
Papers Papers/2022 Papers Papers/2022

Research.Publish.Connect.

Paper

Author: Rudrapatna K. Shyamasundar

Affiliation: Department of Computer Science and Engineering, Indian Institute of Technology Bombay, Powai, Mumbai 400076, India

Keyword(s): Distributed Programs, ERC20 Tokens, Smart Contract, Linearization, Consensus, Interference Free.

Abstract: ERC20 is a standard for the creation of a specific type of tokens called ERC20 tokens, one of the most widely adopted tokens on Ethereum. ERC20 tokens are transferred through dedicated transactions among Ethereum addresses, and managed by smart contracts. Nondeterministic behaviour has been observed on the smart contracts that manage ERC20 tokens resulting in owners losing significant amounts while using it. In this paper, we first discuss issues of nondeterministic behaviour in the ERC20 smart contract, and the standard general remedies that have been proposed in the literature to avoid nondeterministic behaviour in ERC20. Then, through the notion of linearizability, it is shown that as ERC20 permits unbounded concurrency, the linearizability of the ERC20 smart contract is undecidable - thus, demonstrating the subtle complexity of ERC20 and the strong synchronization requirements of ERC20. Finally, treating ERC20 smart contract as a set of asynchronous interacting processes executin g on a blockchain, we describe an approach that is common in classical programming language specification, and show how a set of constraints on the traces of ERC20 executions based on interference freedom property for concurrent execution on the blockchain overcomes the nondeterministic behaviour; we shall further sketch how such an execution can be implemented in Solidity. Furthermore, we discuss how the two approaches of linerarization and interference freedom mutually benefit each other and assist in arriving at constraints that leads to wait-free implementation of smart contracts. (More)

CC BY-NC-ND 4.0

Sign In Guest: Register as new SciTePress user now for free.

Sign In SciTePress user: please login.

PDF ImageMy Papers

You are not signed in, therefore limits apply to your IP address 18.191.102.112

In the current month:
Recent papers: 100 available of 100 total
2+ years older papers: 200 available of 200 total

Paper citation in several formats:
K. Shyamasundar, R. (2023). ERC20: Correctness via Linearizability and Interference Freedom of the Underlying Smart Contract. In Proceedings of the 20th International Conference on Security and Cryptography - SECRYPT; ISBN 978-989-758-666-8; ISSN 2184-7711, SciTePress, pages 557-566. DOI: 10.5220/0012145800003555

@conference{secrypt23,
author={Rudrapatna {K. Shyamasundar}.},
title={ERC20: Correctness via Linearizability and Interference Freedom of the Underlying Smart Contract},
booktitle={Proceedings of the 20th International Conference on Security and Cryptography - SECRYPT},
year={2023},
pages={557-566},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0012145800003555},
isbn={978-989-758-666-8},
issn={2184-7711},
}

TY - CONF

JO - Proceedings of the 20th International Conference on Security and Cryptography - SECRYPT
TI - ERC20: Correctness via Linearizability and Interference Freedom of the Underlying Smart Contract
SN - 978-989-758-666-8
IS - 2184-7711
AU - K. Shyamasundar, R.
PY - 2023
SP - 557
EP - 566
DO - 10.5220/0012145800003555
PB - SciTePress