- Posted on
In recent years, smart contracts have gained popularity as a secure and efficient way to execute transactions without the need for intermediaries. However, as with any technology, there are risks involved, and the European Union (EU) has taken steps to mitigate some of these risks.
On March 18, 2023, the European Parliament approved a new clause in the bill, called the Data Act Legislation, that requires the inclusion of a “kill switch” in all smart contracts. With nearly 500 votes in favor and 23 votes against, the new clause requires the addition of data about the kill switch to stop any activity.
So, what is the European Union’s smart contract kill switch, and why was it introduced? Let’s explore these questions in detail.
Smart Contract – What’s new about it?
The smart contract refers to a program stored on the blockchain that executes when a predetermined condition is fulfilled. They are utilized to automate the implementation of an agreement allowing all participants to be certain regarding an outcome. They are also utilized to automate a workflow, which triggers the next action as soon as the conditions are met.
The fundamental concept of the smart contract is immutability, which signifies that it can’t be changed once the smart contract is deployed on the blockchain. However, it can be technically upgraded, such as bug fixing, functionality improvement, the adaption of better technology, etc. But updating smart contracts is an exception. In essence, smart contracts are deployed over the blockchain, and users can only read the code.
With immutability comes risk as well. The introduction of the kill switch is a response to the potential risks posed by smart contracts. For example, in 2016, the DAO (Decentralized Autonomous Organization) suffered a hack that resulted in the theft of millions of dollars worth of digital currency. The hack was possible due to a vulnerability in the smart contract’s code, which could not be easily fixed without a hard fork in the blockchain. The introduction of a kill switch could have prevented or mitigated the impact of this attack.
The Smart Contract Kill Switch
The EU’s kill switch is a mechanism that allows for the termination of a smart contract in the event of unforeseen circumstances or errors in the code. The kill switch can be triggered by a designated authority, such as a regulatory body or an independent third party, to stop the execution of the smart contract.
The Data Act’s Article 30 defines “the standards for smart contract data sharing”. According to the European Union, the design of smart contracts includes “rigorous access control methods” and trade secret protection. The ability to pause or halt smart contract transaction processes would be required, and lawmakers will require to determine under what circumstances such a possibility can be executed.
A kill switch can be implemented in several ways, such as using a multi-signature wallet or a time-locked contract. In the case of a multi-signature wallet, the kill switch is activated when a pre-defined number of the signatories agree to pause or terminate the contract. Alternatively, a time-locked contract can be programmed to pause or terminate after a certain period of time automatically.
Is the smart contract kill switch beneficial or not?
Whether this kill switch is beneficial or not depends on one’s perspective. Supporters argue that the kill switch would provide a safety net for consumers and prevent a repeat of events such as the DAO hack in 2016, where millions of dollars worth of cryptocurrency was stolen due to a flaw in a smart contract.
Critics, on the other hand, argue that the kill switch undermines the very purpose of smart contracts, which is to enable trustless, decentralized transactions without the need for intermediaries. They argue that allowing regulators to shut down smart contracts goes against the spirit of blockchain technology and could stifle innovation in the space. For example, on August 30, 2022, OptiFi, a decentralized exchange, accidentally triggered a kill switch to its mainnet. This kill switch led to a permanent shutdown and the loss of USDC stablecoin tokens worth $661,000. While this kill switch was not utilized in a smart contract setting, it highlighted the risks that a classic kill switch poses on crypto-related projects and businesses.
According to European Union, the smart contract kill switch is beneficial in the following ways:
1. Compliance with GDPR
The General Data Protection Regulation (GDPR) requires companies to ensure the security and protection of personal data. If a smart contract processes personal data, a kill switch can provide a way to stop the processing if a breach or security issue is detected.
2. Consumer protection
If a smart contract is used in a consumer-facing application, such as an e-commerce platform, a kill switch can protect consumers in case of a malfunction or vulnerability in the smart contract. This can help prevent financial losses and ensure consumers’ trust in the platform.
3. Regulatory compliance
In the EU, financial services are heavily regulated, and smart contracts used in financial applications need to comply with various regulations, such as the Markets in Financial Instruments Directive (MiFID II). A kill switch can provide a way to comply with these regulations by allowing the suspension or termination of a smart contract in case of a violation.
4. Risk management
Smart contracts can be used in various applications involving high risks, such as insurance or derivatives trading. A kill switch can help manage these risks by pausing or terminating the contract if certain conditions are met, such as a sudden market crash or a security breach.
Most smart contracts deployed today don’t comply with the new data act and their compliance will be very difficult or nearly impossible. However, the presence of a kill switch might give users confidence in a smart contract’s security and reliability. It can also address potential legal and regulatory concerns arising from using decentralized applications.
On the contrary, using a kill switch would introduce centralization and undermine the fundamental decentralization principles underpinning blockchain technology. Overall, the decision to include a kill switch in a smart contract should be carefully considered, taking into account the specific use case and the trade-offs between security and decentralization.
Looking for help here?