On 14 March, Simon Thorley IJ gave judgment in the Singapore International Commercial Court in the cryptocurrency trading case, B2C2 Ltd v Quoine Pte Ltd [2019] SGHC(I) 03. It is interesting for the description of algorithmic trading on cryptocurrency exchanges, though this is perhaps not greatly different from algorithmic trading on traditional markets. But it is also notable for several other reasons.
B2C2 acted as an electronic market maker, providing liquidity on exchange platforms by buying or selling at quoted prices. Seven trades for the sale by B2C2 of the cryptocurrency Ethereum in exchange for Bitcoin were effected automatically by Quoine’s currency exchange platform, in response to orders from B2C2’s custom algorithmic trading software. In fact, an abnormal exchange rate was applied in B2C2’s favour because of an error in the way that Quoine’s software had been programmed.
On review by a human the next day, Quoine spotted the abnormal rates and reversed the trades. B2C2 argued that Quoine had no right to do so and that it was in breach of the relevant contractual terms. Importantly, it also contended that Quoine held the amounts of cryptocurrencies in B2C2’s account on trust for B2C2 and that their unilateral withdrawal by Quoine, which had occurred as a result of the reversal of the trades, was a breach of that trust. Amongst other things, Quoine said that it was right to reverse the trades because they had been entered into by mistake and were therefore void.
Whether cryptocurrencies such as Bitcoin and Ethereum are property in the legal sense, notwithstanding that they are mere digital information stored on an electronic ledger, is something of a hot topic at present. Their formal classification as property would open the possibility in appropriate cases of tracing and conversion claims, affect the applicable measure of damages, and have consequences on insolvency. Both B2C2 and Quoine appear, however, to have been prepared to assume that Bitcoin and Ethereum should indeed be properly treated as property. Even though the point does not appear to have been fully argued, it is nevertheless significant that the judge noted:
… Quoine was prepared to assume that cryptocurrencies may be treated as property that may be held on trust. I consider that it was right to do so. Cryptocurrencies are not legal tender in the sense of being a regulated currency issued by a government but do have the fundamental characteristic of intangible property as being an identifiable thing of value. Quoine drew my attention to the classic definition of a property right in the House of Lords decision of National Provincial Bank v Ainsworth [1965] 1 AC 1175 at 1248:
“it must be definable, identifiable by third parties, capable in its nature of assumption by third parties, and have some degree of permanence or stability”.
Cryptocurrencies meet all these requirements. Whilst there may be some academic debate as to the precise nature of the property right, in the light of the fact that Quoine does not seek to dispute that they may be treated as property in a generic sense, I need not consider the question further.
Given this, the judge held that the cryptocurrencies were capable of being held on trust. Furthermore, there was sufficient evidence of an intention to create a trust because all deposited funds were stored in a single offline wallet as members’ assets rather than as part of Quoine’s trading assets. It followed that unless it was right to reverse the trades, Quoine was in breach of trust.
The judge went on to reject Quoine’s arguments that the reversal was allowed because of express or implied terms of the contract and proceeded to determine whether the contracts between B2C2 and the trade counterparties were void because of a unilateral mistake. The law of mistake in Singapore is a little different from English law but in both jurisdictions a contract can be rendered void if one of the parties knows that the other party has made a sufficiently important mistake about a term of the contract (for example, as in this case, about the applicable exchange rate).
The interesting question was how the Court was to assess a party’s knowledge where the relevant operations were carried out by computer programs operating as programmed. Whose knowledge is relevant, and at what time should it be assessed?
Quoine suggested that the law should treat the algorithms or computers used to enter into the contracts as the legal agents of their human principals—a proposal which has a certain degree of academic support. The judge rejected this approach and held that:
… the relevant mistake must be a mistake by the person on whose behalf the computer placed the order in question as to the terms on which the computer was programmed to form a Trading contract in relation to that order. This mistake will have to be in existence at the date of the contract in question but may have been formed at an earlier date.
Noting that Lord Briggs had observed in Warner-Lambert Co Ltd v Generics (UK) Ltd [2018] UKSC 56 [165] that “The court is well versed in identifying the governing mind of a corporation and, when the need arises, will no doubt be able to do the same for robots.” he continued:
…The algorithmic programmes in the present case are deterministic, they do and only do what they have been programmed to do. They have no mind of their own. They operate when called upon to do so in the pre-ordained manner. They do not know why they are doing something or what the external events are that cause them to operate in the way that they do.
They are, in effect, mere machines carrying out actions which in another age would have been carried out by a suitably trained human. They are no different to a robot assembling a car rather than a worker on the factory floor or a kitchen blender relieving a cook of the manual act of mixing ingredients. All of these are machines operating as they have been programmed to operate once activated.
Where it is relevant to determine what the intention or knowledge was underlying the mode of operation of a particular machine, it is logical to have regard to the knowledge or intention of the operator or controller of the machine. In the case of the kitchen blender, this will be the person who put the ingredients in and caused it to work. His or her knowledge or intention will be contemporaneous with the operation of the machine. But in the case of robots or trading software in computers this will not be the case. The knowledge or intention cannot be that of the person who turns it on, it must be that of the person who was responsible for causing it to work in the way it did, in other words, the programmer. Necessarily this will have been done at a date earlier than the date on which the computer or robot carried out the acts in question. To this extent I reject B2C2’s contention that that the only relevant knowledge is knowledge at the time of contracting. I agree with Quoine that regard should be had to the knowledge and intention of the programmer of the program in issue when that program (or the relevant part of it) was written.
Accordingly, in my judgment, in circumstances where it is necessary to assess the state of mind of a person in a case where acts of deterministic computer programs are in issue, regard should be had to the state of mind of the programmer of the software of that program at the time the relevant part of the program was written.
The judge concluded that B2C2’s counterparties on the relevant trades held the mistaken belief that they could never take place at the rates which were in fact applied. B2C2 did not, however, know about that belief. In the circumstances, the trades were not void for mistake. Quoine’s other defences of mistake in equity, mutual mistake and a defence based on unjust enrichment, also failed, for different reasons.
A final point of interest concerns the fate of B2C2’s claim for specific performance of the contract with Quoine to deliver the cryptocurrencies. The judge disagreed with B2C2’s submission that because of the volatility of the markets, damages could not sensibly be measured and therefore would not be an adequate remedy. Quoine would also suffer substantial hardship if required to buy cryptocurrencies for delivery to B2C2 because of market movements in the intervening period. B2C2 was therefore restricted to its remedy in damages for breach of contract and breach of trust, which will be assessed at a later hearing. No doubt any subsequent judgment will also be awaited with interest.
Lawrence Akka QC is a barrister and arbitrator at 20 Essex Street, where his practice involves high value technically complex commercial and contractual disputes concerning new technologies, media and telecommunications. He is the author of IT Contracts and Dispute Management (Edward Elgar, 2018), and can be found tweeting at @ITDisputes