Fintech Series: Smart Contracts

Oct 03, 2022

Times are changing, and they’re changing fast. Technology seems to have an unnerving ability to disrupt whole industries and well-established business practices. But change also brings the potential for significant benefits – and there are few innovations more promising in the legal world than smart contracts.

How do smart contracts work?

In a nutshell, smart contracts are automatic, self-executing contracts that take the form of sequences of code – programming language written on to a blockchain (which could be a private company blockchain only accessible to users with a password, or a public blockchain such as Etherum). The three core functions of smart contracts can be summarized as follows:

Contain, or store, terms and conditions that govern parties’ relationships;

Verify said terms and conditions; 

Self-execute.

These programs are coded to adopt an ‘if-then’ logic: if something happens, then something else will happen. When certain conditions are fulfilled, a resulting event is automatically triggered. 

Let’s take an example. B works as a salesperson in a large company, Futuristic Co. B’s employment contract states that if she hits specific KPIs (such as completing a certain number of sales per year), she will be rewarded with a 10% bonus at the end of the year. This agreement is coded into a smart contract and placed on to Futuristic Co.’s blockchain. At the end of the year, the smart contract will verify whether B met her KPIs by checking, on the company blockchain, the volume/revenue generated by B’s sales (smart contracts can also be connected to external data if necessary). Once verified, the smart contract self-executes by triggering a transfer of funds in the amount of a 10% bonus on-chain from Futuristic Co. to B.

The benefits

The main attraction of a smart contract is security. Records on a blockchain are extremely difficult, if not impossible, to hack and as a result are often referred to as “immutable”: 

First, all transactions on-chain are encrypted – a digital signature called a ‘hash’ acts as the digital key for each transaction (or block of transactions). The same data will always generate the same hash. Any change in the data, even one letter, changes the entire hash. 

Second, each record of transactions is part of a block that is connected to earlier and subsequent blocks on the blockchain ledger, with the result that the hash of each block includes the hash of the earlier block – so a hacker would have to alter the entire chain to modify even a single transaction record. 

And finally, each node (computer) on the chain has a copy of all transactions recorded onto the chain. Each node on the blockchain network is also required to validate the addition of any new transaction to the chain (the ‘consensus mechanism’), which prevents fraudulent transactions and risks such as double spending.  

But there are other benefits. Blockchain transactions are considered transparent and trustworthy, so a smart contract guarantees transactional integrity. Transactions are also almost instantaneous – B’s bonus would hit her account almost immediately. And no intermediaries are needed, making smart contracts suitable for P2P, B2B and B2C transactions. 

Finally, because smart contracts are automatic and self-executing, they can serve as a one-window-operation. This means that contracting parties no longer have to involve various authorities and governing bodies to register, attest, execute, etc. their contracts.

Real life use

The potential of smart contracts is continuously being explored and evolving within several industries. To give just a few examples:

Supply chain management – ‘if-then’ logic coded into smart contracts adds transparency, traceability, and reliability by verifying each stage in the journey. 

Real estate – smart contracts 

Banking and finance – the sector is exploring a wide range of uses for blockchain and smart contract beyond cryptocurrencies, such as the use of digitized assets on-chain as collateral for a loan.

Intellectual property protection – artists can tokenize their work on a blockchain and embed specific terms within the smart contract when selling the token to a buyer on chain (which would effectively amount to the granting of a license to the buyer). Such terms can include restrictions on the ability to assign or transfer the license and an automatic trigger of royalties on-chain whenever the license is transferred to another user.

The limitations of smart contracts

Of course, no solution is perfect and smart contracts have their limitations:

Coding errors. Translating English legalese into coding language and capturing the ‘if-then’ logic isn’t simple or straightforward. Errors can slip into a code, which have to be sorted out on a case-by-case basis. This risk can be mitigated, though, by using a traditional, paper-form contract alongside a smart contract. This allows both parties to set out terms in clear, plain English and refer back to the paper contract in the event of a problem. 

Complex concepts. Many legal concepts – such as ‘force majeure’ or ‘negligence’ are too complex to be translated into coding language and will require human analysis. 

Termination and amendment. Data on a blockchain is immutable and irreversible – which is a distinct disadvantage when parties want to amend or terminate a smart contract.

Enforcement. The question of whether smart contracts are enforceable is still under debate. The law needs to catch up in many jurisdictions.

Key takeaways

The potential of smart contracts is clear, but the concept comes with a number of challenges, particularly from a legal standpoint. Regulators, legislators and courts will need to address the outstanding issues as the law grapples to keep up with technological innovation. At PwC we are keeping a close eye on developments and are here to advise you on the most effective use of innovative technology.
 

For more information, please get in touch:

Anna Zeitlin

Fintech Leader, PwC Legal Middle East

+971 (0) 54 793 1732

Email

Eslam Ashry

Manager | Fintech, PwC Legal Middle East

+971 056 2271291

Email

Aqsa Solangi

Associate, PwC Legal Middle East

+971 (0) 56 506 7252

Email

Follow us