Journal of Research and Development in Comparative Law

Journal of Research and Development in Comparative Law

Contractual Justice and Equity in Smart Contracts: A Comparative Study of Iranian Law and Common Law-Based Systems

Document Type : scientific research paper

Authors
1 "Level 4 seminary student of Jurisprudence and Private Law at the Islamic Jurisprudence, Law, and Judiciary Complex of Qom."
2 Assistant professor shahid beheshti university
3 enviromental law beheshti uni
Abstract
Smart contracts, a pivotal innovation in blockchain technology, have transformed contract law through automation, transparency, decentralization, and immutability, enhancing efficiency and trust in digital transactions. However, their self-executing and algorithmic nature raises significant challenges in achieving contractual justice and equity, particularly when compared to traditional contracts that allow judicial interpretation to mitigate unfair outcomes. This article employs a comparative approach, analyzing the compatibility of smart contracts with principles of justice and equity in Iranian law and common law-based systems (notably England and the United States). Using a descriptive-analytical method based on library studies, it first examines the nature and technical features of smart contracts, such as their reliance on blockchain’s distributed ledger and conditional “if-then” logic. It then explores their legal and algorithmic challenges in ensuring digital fairness, including the absence of ex post justice mechanisms, the rigidity of code execution, and the inability to adapt to unforeseen circumstances or ethical considerations. These challenges are evaluated comparatively, contrasting the flexibility of Iranian legal principles with common law doctrines like unconscionability, both of which are constrained by the automated execution of smart contracts. To address these issues, the article proposes solutions such as centralized smart contracts with trusted third-party oversight, hybrid models balancing on-chain efficiency with off-chain flexibility, and upgradable smart contracts using technical patterns like the Proxy Pattern. These solutions aim to integrate legal principles such as good faith and contractual adjustment, drawing insights from both Iranian and common law-based frameworks. The findings indicate that without legal and technical mechanisms, smart contracts may lead to economic inequality, exploitation of weaker parties, or contract invalidity. The article underscores the need for legal systems to adapt to digital environments by leveraging comparative perspectives to ensure justice and equity in smart contracts. Future research should focus on practical applications of these solutions in domains like decentralized finance and transnational contracts to align smart contracts with universal fairness principles.The findings indicate that the hybrid equity-focused model, with emphasis on the formation stage, achieves the best balance between technological efficiency and contractual justice.
Keywords
Subjects

1.       Abdullah, J. A., & Goh, Y. (2022). Making Smart Contracts a Reality. 70-78.
2.       Alikhani, A., & Hamidi, H. R. (2021). Regulating Smart Contracts: An Efficient Integration Approach. Intelligent Decision Technologies, 15(3), 397-404.
3.       Balcerzak, A. P., Nica, E., Rogalska, E., et al. (2022). Blockchain Technology and Smart Contracts in Decentralized Governance Systems. Administrative Sciences, 12(3), 96.
4.       27- Budiyanto, A. E. (2023). Analisis Yuridis Penggunaan Smart Contract Dalam Perspektif Asas Kebebasan Berkontrak. JSSR, 1(1), 815-827.
5.       Bassan, F., & Rabitti, M. (2024). From Smart Legal Contracts to Contracts on Blockchain: An Empirical Investigation. Computer Law & Security Review, 55.
6.       Bohyer, K., & Hayajneh, T. (2023). Modernizing Contracts Across Industries: A Review of Smart Contract Applications and the Evolving Legal Landscape. Icst Transactions on Scalable Information Systems.
7.       Bryson, W. H. (1975). The Equity Side of the Exchequer. Cambridge, UK: Cambridge University Press.
8.       Chauhan, M. (2020). Smart Contracts and Smart Dispute Resolution. International Journal of Online Dispute Resolution, 7(2), 149-183.
9.       Chong, A. Y. L., Lim, E. T. K., Hua, X., et al. (2019). Business on Chain: A Comparative Case Study of Five Blockchain-Inspired Business Models. Journal of the Association for Information Systems, 1308–1337.
10.    Donn, T. D. L. (2023). Smart Contracts and International Trade: European Legal Strategies for Managing Challenges. Journal of Digital Technologies and Law, 1(4), 1042-1057.
11.    Duke, A. (2019). What Does the CISG Have to Say About Smart Contracts? A Legal Analysis. Chicago Journal of International Law, 20(1),Article4.Available at: https://chicagounbound.uchicago.edu/cjil/vol20/iss1/4
12.    Đurović, M., & Lech, F. (2019). The Enforceability of Smart Contracts. Revija Kopaonicke Skole Prirodnog Prava, 1(1).
13.    Eberhardt, J., & Tai, S. (2017). On or Off the Blockchain? Insights on Off-Chaining Computation and Data. Proc. 16th European Conference on Service-Oriented and Cloud Computing (ESOCC’17).
14.    Goh, G. R. D. E. (2022). Smart Contract Disputes and Public Policy in the ASEAN+6 Region. Digital Law Journal, 3(4), 32-70.
15.    Huang, Y., Zhang, P., & Jin, Z. (2021). Improving Business Operation Efficiency by Using Smart Contract. In: 2021 2nd Asia Service Sciences and Software Engineering Conference, Macau, Macao, 24-26 February 2021, pp. 34–40. New York, NY, USA: ACM.
16.    Hupe, A. (2024). When to Use Smart Contracts Instead of Traditional Contracts - A Conceptual Analysis.
17.    Idelberger, F., Governatori, G., Riveret, R., & Sartor, G. (2018). Evaluation of Logic-Based Smart Contracts for Blockchain Systems. Proc. 10th Int’l Symposium RuleML’16: Rule Technologies: Research, Tools, and Applications, LNCS, 9718, 167–183.
18.    Khan, S. N., Loukil, F., Ghedira-Guegan, C., et al. (2021). Blockchain Smart Contracts: Applications, Challenges, and Future Trends. Peer-to-Peer Networking and Applications, 14(5), 2901–2925.
19.    Kirillova, E., & Эльдарович, З. Т. (2023). Civil Law Support for Smart Contracts.
20.    Lia, X., Wang, Y., Ye, S., Xie, L., & Xing, J. (2025). Smart Contracts in the Real World: A Statistical Exploration of External Data Dependencies. arXiv preprint arXiv:2406.13253. https://arxiv.org/abs/2406.13253
21.    Li, M., Chen, Y., Lal, C., et al. (2023). Nereus: Anonymous and Secure Ride-Hailing Service Based on Private Smart Contracts. IEEE Transactions on Dependable and Secure Computing, 20(4), 2849–2866.
22.    Ludwig, H., & Stolze, M. (2003). Simple Obligation and Right Model (SORM) - for the Runtime Management of Electronic Service Contracts. Proc. 2nd Int’l Workshop on Web Services, e–Business, and the Semantic Web (WES’03), LNCS, 3095, 62–76.
23.    Maitland, F. W. (1936). Maitland’s Equity, 2nd edition.
24.    Matsushima, H., & Noda, S. (2020). Mechanism Design With Blockchain Enforcement. SSRN Electronic Journal.
25.    MetaMask. (2024). Understanding How to Write Upgradable Smart Contracts.
26.    Molina-Jimenez, C., Shrivastava, S., & Strano, M. (2011). A Model for Checking Contractual Compliance of Business Interactions. IEEE Trans. on Service Computing, PP(99).
27.    Molina-Jimenez, C., Solaiman, E., Sfyrakis, I., Ng, I., & Crowcroft, J. (2018). On and Off-Blockchain Enforcement of Smart Contracts. Proc. Int’l Workshop on Future Perspective of Decentralized Applications (FPDAPP).
28.    Musthafa, A. R., Putri, R. Y., Farizki, A. A., & Alma, S. A. (2024). Lex Cryptographia: Legal Extensions to Smart Contract Breaches and Governance in Blockchain Systems. Jurnal Kajian Pembaruan Hukum, 4(2), 295.
29.    Nakamoto, S. (2008). Bitcoin: A Peer-to-Peer Electronic Cash System. Available at SSRN: https://ssrn.com/abstract=3440802 or http://dx.doi.org/10.2139/ssrn.3440802
30.    Nazarov, A. (2024). Legal Nature and Classification of Smart Contracts in Crypto Exchanges: Challenges to Traditional Contract Law. Irshad J. Law and Policy, 2(9), 1-15.
31.    Nugraheni, N., Mentari, N., & Shafira, B. (2022). The Study of Smart Contract in the Hara Platform Under the Law of Contract in Indonesia. Scholars International Journal of Law Crime and Justice, 5(7), 273-285.
32.    Onufreiciuc, R., & Stănescu, L.-E. (2021). Regulation of the Smart Contract in (Romanian) Civil Law. European Journal of Law and Public Administration, 8(2), 95-111.
33.    Papantoniou, A. A. (2020). Smart Contracts in the New Era of Contract Law. Digital Law Journal, 1(4), 8-24.
34.    Raskin, M. (2016). The Law and Legality of Smart Contracts. 1 Georgetown Law Technology Review 304 (2017). Available at SSRN: https://ssrn.com/abstract=2959166 or http://dx.doi.org/10.2139/ssrn.2959166
35.    Savelyev, A. (2017). Contract Law 2.0: ‘Smart’ Contracts as the Beginning of the End of Classic Contract Law. Information & Communications Technology Law, 26(2), 116–134. https://doi.org/10.1080/13600834.2017.1301036
36.    Schwenzer, I. (2008). Force Majeure and Hardship in International Sale Contracts. Victoria University of Wellington Law Review.
37.    Sharma, T., Zhou, Z., Miller, A., & Wang, Y. (2023). A Mixed-Methods Study of Security Practices of Smart Contract Developers. In 32nd USENIX Security Symposium (pp. 2545–2562). USENIX Association.
38.    Szabo, N. (1997). Formalizing and Securing Relationships on Public Networks. First Monday, 2(9).
39.    Tapscott, D., & Tapscott, A. (2016). Blockchain Revolution: How the Technology Behind Bitcoin Is Changing Money, Business, and the World. Portfolio.
40.    Triana Casallas, J. A., Cueva-Lovelle, J. M., & Rodríguez Molano, J. I. (2020). Smart Contracts with Blockchain in the Public Sector. International Journal of Interactive Multimedia and Artificial Intelligence, 6(3), 63.
41.    van Vulpen, P., Heijnen, H., Mens, S., Kroon, T., & Jansen, S. (2024). Upgradeable Diamond Smart Contracts in Decentralized Autonomous Organizations. Frontiers in Blockchain, 7, Article 1481914. https://doi.org/10.3389/fbloc.2024.1481914
42.    Wang, X., & Xu, F. (2022). The Value of Smart Contract in Trade Finance. Manufacturing & Service Operations Management. DOI: 10.1287/msom.2022.1126.
43.    Werbach, K., & Cornell, N. (2017). Contracts Ex Machina. 67 Duke Law Journal 313-382. Available at: https://scholarship.law.duke.edu/dlj/vol67/iss2/2
44.    Xu, X., Pautasso, C., Gramoli, V., & Ponomarev, A. (2016). The Blockchain as a Software Connector. Proc. 13th Working IEEE/IFIP Conf. on Software Architecture (WICSA), 182–191.
45.    Yusuf, A., & Martinez, R. (2025). Smart Contracts and Legal Enforceability: Decoding the Political Philosophy of Code as Law. Interdisciplinary Studies in Society, Law, and Politics, 4(2), 292-302.
46.    Zyskind, G., Nathan, O., & Pentland, A. S. (2015). Enigma: Decentralized Computation Platform with Guaranteed Privacy. https://arxiv.org/abs/1506.03471.
47.    Bahrol Uloom, Mohammad ibn Mohammad Taqi (1982). Bulghat al-Faqih, Vol. 3, Tehran: Publications of Maktab al-Sadiq. (in Arabic)
 
48.    Bahrani, Al Asfour, Yusuf ibn Ahmad ibn Ibrahim (1985). Al-Hada'iq al-Nadirah fi Ahkam al-'Itrat al-Tahirah, Vol. 24, Qom: Islamic Publications Office affiliated with the Society of Seminary Teachers of Qom. (in Arabic)
 
49.    Feyz Kashani, Mohammad Mohsen ibn Shah Morteza (n.d.). Mafatih al-Shara'i', Vol. 3, Qom: Library of Ayatollah Mar'ashi Najafi. (in Arabic)
 
50.    Hakim, Seyyed Mohsen Tabatabaei (1995). Mustamsak al-'Urwat al-Wuthqa, Vols. 9 & 14, Qom: Dar al-Tafsir Institute. (in Arabic)
 
51.    Hilli, Ibn Idris, Mohammad ibn Mansour ibn Ahmad (1989). Al-Sara'ir al-Hawi li Tahrir al-Fatawi, Vol. 2, Qom: Islamic Publications Office affiliated with the Society of Seminary Teachers of Qom. (in Arabic)
 
52.    Jafari Langaroudi, Mohammad Jafar (1989). Terminology of Law (Terminologie-ye Houquq), 4th ed., Tehran: Ganj-e Danesh Library. (in Persian)
 
53.    Katozian, Naser (2019). Introductory Course on Civil Law: Legal Acts (Contract), Vol. 2, Tehran: Mizan Publications. (in Persian)
 
54.    Khoei, Seyyed Abolghasem Mousavi (2012). Mabani-ye Takmilah al-Minhaj, Vol. 2, Tehran: Khersandi Publications. (in Persian)
 
55.    Khoei, Seyyed Abolghasem Mousavi (1996). Misbah al-Usul, Vol. 1, Qom: Raheyab [Source: Comprehensive Fiqh of Ahl al-Bayt (AS) Software, Noor Computer Research Center of Islamic Sciences]. (in Arabic)
 
56.    Mousavi, Seyyed Abbas (2022). " Limitation of Penalty Clause by Justice and Equity Principles (A Critique of Unified Judicial Precedent No. 805 Dated 16/10/1399)". Analysis of judicial Decisions Journal, Volume:1 Issue: 2, 2023pp. 522–548. Doi: 10.22034/analysis.2023.701523  (in Persian)
57.    Najafi, Mohammad Hassan (n.d.). Jawahir al-Kalam fi Sharh Shara'i' al-Islam, Vol. 26, Beirut: Dar Ihya al-Turath al-Arabi. (in Arabic)
58.    Najafi, Mohammad Hassan ibn Bagher (1984). Jawahir al-Kalam fi Sharh Shara'i' al-Islam. (in Arabic)
 
59.    Naraghi, Mulla Ahmad ibn Mohammad Mahdi (1994). Mustanad al-Shi'ah fi Ahkam al-Shari'ah, Vol. 17, Qom: Ahl al-Bayt (AS) Institute. (in Arabic)
 
60.    Sabzevari, Mohaqqeq, Mohammad Bagher ibn Mohammad Momen (n.d.). Kifayat al-Ahkam, Vol. 2, Isfahan: Mahdavi Publications. (in Arabic)
 
61.    Seyfi Mazandarani, Ali Akbar (n.d.). Mabani al-Fiqh al-Fa'al fi al-Qawa'id al-Fiqhiyyah al-Asasiyyah, Vol. 1, Qom: Raheyab [Source: Comprehensive Fiqh of Ahl al-Bayt (AS) Software, Noor Computer Research Center of Islamic Sciences]. (in Arabic)
 
62.    Tabatabaei Haeri, Seyyed Ali ibn Mohammad (1997). Riyad al-Masa'il, Vol. 15, Qom: Ahl al-Bayt (AS) Institute. (in Arabic)
 
63.    Tabrizi, Javad ibn Ali (n.d.). Usus al-Qada wa al-Shahadah, Qom: Author's Office. (in Arabic)
 
64.    Yazdi, Seyyed Mohammad Kazem Tabatabaei (1988). Al-'Urwat al-Wuthqa, Vol. 2, Beirut: Al-Alami Institute for Publications. (in Arabic)
 
65.    Shahid al-Thani, Zayn al-Din ibn Ali al-Amili (1992). Masalik al-Afham ila Tanqih Shara'i' al-Islam, Qom: Al-Ma'arif al-Islamiyyah Institute. (in Arabic)
 
66.    Amili, Mohammad ibn Ali Mousavi (1990). Nihayat al-Maram fi Sharh Mukhtasar Shara'i' al-Islam, Vol. 1, Qom: Islamic Publications Office affiliated with the Society of Seminary Teachers of Qom. (in Arabic)
 
67.     Latifzadeh, Mahdieh (2022). Examining The Mutual Impact Of Autonomous Artificial Intelligence And Islamic Law, Journal of Research and Development in Private Law Iranian Law and Legal Research Institute Vol. 1 | No. 2 | Fall 2024 and Winter 2025 doi: 10.22034/jpl.2025.720739