The Analysis of the Risks and Improvements of ERC20 Tokens

Authors

  • Changjin Zhang

DOI:

https://doi.org/10.54097/hset.v39i.6713

Keywords:

Blockchain; Ethereum; ERC20; Smart Contract; Multiple Withdrawal Attack.

Abstract

Blockchain is a decentralized, shared ledger that aggregates blocks of data in a factual data structure in chronological order using a chain structure. Two hundred sixty thousand tokens, or 98% of the around 2.5 million smart contracts in Ethereum network, are ERC-20 tokens. The ERC20 standard specifies constructors for token contracts that establish and initialize the contract state. The Ethereum wallet and Ethereum decentralized, centralized applications can access tokens through these standard interfaces. Security vulnerabilities in ERC-20 have drawn a lot of attention lately in recent years. This paper summarizes some basic security vulnerabilities and suggests avoiding multiple withdrawal attacks. Tokens can be used to support dApps, access blockchain services, trade, and obtain voting rights. Various tokens exist depending on their properties and use cases, including governance, utility, security, transaction, and platform tokens. Tokens can be sorted as fungible tokens and non-fungible tokens. Tokens that can be fungible are identical, divisible, and can be instead of money. Non-fungible tokens have a single owner and are unique.

Downloads

Download data is not yet available.

References

Alpos, O., Cachin, C., Marson, G. A., et al. (2021, July). On the Synchronization Power of Token Smart Contracts. In 2021 IEEE 41st International Conference on Distributed Computing Systems (ICDCS) (pp. 640-651). IEEE.

Cui, W., & Gao, C. (2022). WTEYE: On-chain wash trade detection and quantification for ERC20 cryptocurrencies. Blockchain: Research and Applications, 100108.

Ivanov, N., Guo, H., & Yan, Q. (2021, September). Rectifying Administrated ERC20 Tokens. In International Conference on Information and Communications Security (pp. 22-37). Springer, Cham.

Ivanov, N., & Yan, Q. (2022). Decentralization Paradox: A Study of Hegemonic and Risky ERC-20 Tokens. arXiv preprint arXiv:2209.08370.

Li, X. (2020). Research on formal verification techniques for Ethereum token smart contracts. Lecture Notes in Computer Science(), vol 12470. Springer, Cham.

Vogelsteller, F., Buterin, V. (2015). Erc-20 token standard [J]. Ethereum Foundation (Stiftung Ethereum), Zug, Switzerland. Ethereum Improvement Proposals.

Rahimian, R., & Clark, J. (2021). TokenHook: Secure ERC-20 smart contract. arXiv preprint arXiv: 2107. 02997.

Sun, J. L., Huang, S., Zheng, C. Y., et al. (2021, December). A Novel Method to Prevent Multiple Withdraw Attack on ERC20 Tokens. In 2021 IEEE 21st International Conference on Software Quality, Reliability and Security (QRS) (pp. 1-7). IEEE.

Toderean, L., Antal, C., Antal, M., et al. (2021, October). A Lockable ERC20 Token for Peer-to-Peer Energy Trading. In 2021 IEEE 17th International Conference on Intelligent Computer Communication and Processing (ICCP) (pp. 145-151). IEEE.

Wang, D., Feng, H., Wu, S., et al. (2022, October). Penny Wise and Pound Foolish: Quantifying the Risk of Unlimited Approval of ERC20 Tokens on Ethereum. In Proceedings of the 25th International Symposium on Research in Attacks, Intrusions and Defenses (pp. 99-114).

Andrea, K., 2022. The Difference Between Fungible and Non-Fungible Tokens (NFTs). Available at: https: // blog.udonis.co/blockchain/fungible-non-fungible-tokens. (Accessed on 8th Dec 2022) https:// Doi. org / 10.1007/978-3-031-07203-1_1.

Downloads

Published

01-04-2023