Skip to content
Grounds publishedDecided 24 Feb 2020

Court of Appeal

Quoine Pte Ltd v B2C2 Ltd

Feedback & support

[2020] SGCA(I) 02Case no. Civil Appeal No 81 of 2019

What happened, in plain English

There is no plain-English summary of this judgment yet.

Ask about this judgment

Grounds of decision

Official text from eLitigation

  1. Introduction

  2. [1] The world of cryptocurrency trading is not for the faint-hearted. It can involve computer-generated, high frequency transactions in digital quasi-currencies (otherwise known and referred to in this judgment as “cryptocurrencies”) which manifest on computer screens or printouts but are not otherwise in a physical form. The transactions which have led to this appeal were conducted by way of algorithms created by the appellant, Quoine Pte Ltd (“Quoine”), and by the respondent, B2C2 Ltd (“B2C2”). Quoine operated a cryptocurrency exchange platform known as QUOINExchange (“the Platform”), and B2C2 traded on the Platform at the material time. Both Quoine and B2C2 were also market-makers on the Platform, which meant that they created liquidity on the Platform by actively placing orders to buy and sell cryptocurrencies, and in so doing, helped to minimise volatility in the market on the Platform. As is typical of algorithmic trading, the buy and sell contracts on the Platform were concluded without any direct human involvement, save that involved in the creation of the algorithmic processes leading to their formation. Algorithmic trading has been described as follows (see Alain Chaboud et al, “Rise of the Machines: Algorithmic Trading in the Foreign Exchange Market”, International Finance Discussion Papers, 29 September 2009 at p 1):

  3. Sometimes things can go wrong, as they did in the present case.

  4. [2] It transpired that Quoine’s failure to make certain necessary changes to several critical operating systems on the Platform set off a chain of events that eventually led to the transactions which are at the heart of this appeal. On 19 April 2017, a total of 13 trades (“the Disputed Trades”) were concluded between B2C2 and two other users of the Platform, namely Pulsar Trading Capital and Mr Yu Tomita (“Pulsar” and “Mr Tomita” respectively, and “the Counterparties” collectively), where B2C2 sold one type of cryptocurrency, Ethereum (“ETH”), for another type, Bitcoin (“BTC”), at a rate of either 9.99999 BTC or 10 BTC for 1 ETH. The rates at which the Disputed Trades were concluded were approximately 250 times the then going rate in the market of around 0.04 BTC for 1 ETH. The Disputed Trades were automatically settled by the Platform, and 3092.517116 BTC was debited from the Counterparties’ accounts and credited into B2C2’s account, while 309.2518 ETH was debited from B2C2’s account and credited into the Counterparties’ accounts. As the Counterparties’ accounts did not have a sufficient BTC balance to meet the amount that was debited, this resulted in a negative BTC balance in the Counterparties’ accounts. When Quoine became aware of the Disputed Trades the next day, it considered the rates at which the trades were concluded to be highly abnormal and unilaterally proceeded to cancel the trades. The debit and credit transactions involving B2C2’s account and the Counterparties’ accounts were also reversed.

  5. [3] B2C2 subsequently commenced proceedings against Quoine on the basis that its unilateral cancellation of the Disputed Trades and reversal of the settlement transactions were in breach of contract and/or breach of trust. The International Judge who heard the matter (“the Judge”) rejected all of Quoine’s defences and allowed B2C2’s claims for both breach of contract and breach of trust. The Judge did not address the issue of damages given that the trial was bifurcated (see B2C2 Ltd v Quoine Pte Ltd [2019] 4 SLR 17 (“Judgment”) at [134]).

  6. [4] A central plank of Quoine’s defence both at trial and on appeal was the contention that the contracts underlying the Disputed Trades (“the Trading Contracts”) were void or voidable for unilateral mistake. This requires us to consider how the doctrine of unilateral mistake should operate where the contracts in question were entered into by way of the parties’ respective algorithms, as transpired here.

  7. [5] So far as the asserted breach of trust is concerned, this raises the complex question of whether the relevant cryptocurrency, BTC, may even be regarded as a species of property capable of attracting trust obligations.

  8. [6] Both these questions were the subject of extensive analysis by Prof Goh Yihan (“Prof Goh”), whom we appointed as amicus curiae. We are deeply grateful to Prof Goh for the extensive research he conducted and the excellent assistance he afforded us on both issues. However, the latter question was not explored in detail in the court below, where the parties appeared to have proceeded on the common ground that BTC was a species of property that was capable of being the subject of a trust. Despite Prof Goh’s able assistance, for reasons which we develop later, we think that the question as to whether BTC can be the subject of a trust should not be dealt with here but should be kept open for another day, in a case in which this issue is properly before the court.

  9. [7] In our judgment, for the reasons that follow, the Judge was correct to find that there were no terms in the various contractual documents, whether express or implied, which entitled Quoine unilaterally to cancel the Disputed Trades. We also agree with the Judge that there was no operative mistake on the part of the Counterparties that could be relied upon to vitiate the Trading Contracts. Additionally, given that the BTC was credited into B2C2’s account pursuant to valid contracts, B2C2 could not be said to have been unjustly enriched. We therefore dismiss Quoine’s appeal with respect to the breach of contract claim. However, we are satisfied that no trust could have arisen over the BTC in B2C2’s account, even assuming that the BTC could be the subject of a trust. Therefore, we allow Quoine’s appeal with respect to the breach of trust claim and reverse the decision of the Judge in that regard.

  10. The factual background

  11. [8] The detailed facts are set out in the Judgment at [14]–[26] and [69]–[105]. It suffices for us to reproduce the salient facts which are relevant to understanding the arguments made in this appeal.

  12. Quoine and the Quoter Program

  13. [11] Quoine’s market-making trades on the Platform are conducted through its “Quoter Program”. The Quoter Program retrieves external market prices from other cryptocurrency exchanges and uses this data to determine the orders that Quoine will place on the Platform for market-making purposes. Importantly, the Quoter Program is proprietary to Quoine and the information generated by it is not available to other users of the Platform (Judgment at [18] and [72]).

  14. The Counterparties and margin trading

  15. [12] We touch on some basic aspects of trading on the Platform as described in Quoine’s Trading Rules dated 17 March 2017. There are two types of trading offered on the Platform which are relevant to the present dispute. The first is spot trading, where trades are settled instantly with payment for a trade being effected as soon as the trade is completed. The second is margin trading, which is a variant where trades are entered into using borrowed funds (including borrowed cryptocurrencies). Margin traders may obtain loans directly from Quoine, or from other users of the Platform willing to offer them. For margin traders with loans from Quoine, the assets in their accounts serve as the collateral for the loans, which has a bearing on how the Platform’s operating system functions. The Platform is designed to close out a margin trader’s open positions when it detects that the margin trader may not be able to repay its loans. In the event that the collateral in the margin trader’s account falls below a pre-determined percentage of the loan, a margin call is triggered against the margin trader and the Platform automatically force-closes its margin positions by placing market orders on the Platform to close out its open positions. This is known as a “margin sell-out position”.

  16. [14] At and around the time of the Disputed Trades, the Counterparties were trading in the ETH/BTC market using ETH borrowed from Quoine (Judgment at [25]).

  17. B2C2 and the Trading Software

  18. [15] Next, we introduce B2C2 and its trading software. B2C2 is incorporated in England and Wales and amongst its business interests is that of being a market-maker. As with other exchange platforms on which B2C2 conducts market-making, its entire trading process on the Platform is automated using its algorithmic trading software (“the Trading Software”) which was designed to function with minimal human intervention (Judgment at [13]). The Trading Software was designed almost exclusively by Mr Maxime Boonen (“Mr Boonen”), a director of B2C2 and its key witness at the trial. It should be noted that the Trading Software’s algorithm is deterministic (Judgment at [82]), which, as defined by both the Judge and Prof Goh, is one which will always produce precisely the same output given the same input. To put it another way, the Trading Software will do just what it was programmed to do and does not have the capacity to develop its own responses to varying conditions. Hence, faced with any given set of conditions, it will always respond to that in the same way. The fact that the Trading Software’s algorithm is deterministic is significant to our analysis below in relation to Quoine’s defence of unilateral mistake.

  19. The terms of use of the Platform

  20. [19] We turn to the terms and conditions of the agreement governing the use of the Platform (“the Agreement”), which were set out on Quoine’s website. The Agreement recited that it was “effective upon the date of electronic acceptance” and that it was “entered into by and between [Quoine] and the user of [Quoine’s Platform]”. We highlight some of the relevant provisions of the Agreement.

  21. [20] Under the heading “General Terms”, the Agreement stated:

  22. The same text, which purported to allow Quoine unilaterally to vary the Agreement, also appeared under the heading “Membership And Users Of The Platform”.

  23. [21] Similarly, under the heading “Representations and Warranties”, the Agreement provided as follows in sub-para (h) (which we will refer to as “the Without Notice Clause”):

  24. We will refer to the clauses excerpted at [20]–[21], which purported to allow Quoine unilaterally to vary the terms of the Agreement without giving notice to the users of the Platform, collectively as “the Unilateral Variation Clauses”.

  25. B2C2 relied specifically on the italicised portion, which we will refer to as “the Irreversible Action Clause”, to argue that Quoine breached the Agreement by unilaterally cancelling the Disputed Trades.

  26. [23] As part of Quoine’s defence, it asserted that in addition to the Agreement, the services it provided to the users of the Platform were governed by all other terms and conditions posted on Quoine’s website, including those contained within the “‘Risks in Virtual Currency Transactions’ statement ... which was posted on [Quoine’s] website on 22 March 2017” (“the Risk Disclosure Statement”).

  27. [24] The Risk Disclosure Statement began with an explanatory paragraph:

  28. [25] A class of risks designated “System Risks” was set out as follows in the Risk Disclosure Statement:

  29. [26] Quoine contended at trial, and on appeal, that when the Risk Disclosure Statement was posted on Quoine’s website in March 2017, it introduced a new term into the Agreement (referring to the italicised text in the preceding paragraph) which permitted Quoine to cancel a transaction if it had taken place at an “aberrant value”. We will refer to this as “the Aberrant Value Clause”.

  30. The events leading to the Disputed Trades

  31. [30] Mr Lozada, upon becoming aware of the Disputed Trades, and with the strenuous encouragement of Pulsar, decided that these should be cancelled and the resulting debit and credit transactions reversed. The Disputed Trades were thus cancelled on 20 April 2017 by Quoine with the corresponding debit and credit transactions reversed.

  32. The decision below

  33. [31] At the trial, B2C2 argued that Quoine’s unilateral cancellation of the Disputed Trades and reversal of the settlement transactions were in breach of contract and/or breach of trust. In response, Quoine raised the following defences to defend its unilateral cancellation of the Disputed Trades: (a) it was contractually entitled to cancel the trades by reason of two terms it sought to imply into the Agreement; (b) it was contractually entitled to cancel the trades by reason of the Aberrant Value Clause in the Risk Disclosure Statement; (c) the Trading Contracts were void on the basis of unilateral mistake at common law, or, in the alternative, voidable on the basis of unilateral mistake in equity; (d) the Trading Contracts were void on the basis of common mistake at common law; and (e) B2C2 would otherwise be unjustly enriched at the expense of the Counterparties. As mentioned, the Judge rejected all of Quoine’s defences and allowed B2C2’s claims for both breach of contract and breach of trust. We briefly set out the Judge’s findings in relation to B2C2’s claims and Quoine’s defences.

  34. The contractual relationship

  35. [32] We first set out the Judge’s findings in relation to the contractual relationship between B2C2, Quoine and the Counterparties. This in particular shaped the Judge’s analysis of Quoine’s defence of unilateral mistake. B2C2 argued that Quoine was a common counterparty to all the trades made between the users of the Platform. On this basis, it was said that the concluded trades took the form of back-to-back contracts between the buyer and Quoine at one end, and the seller and Quoine at the other. Quoine, on the other hand, contended that the trades were concluded directly between the buyer and the seller, and that it only provided the Platform on which the trades would be conducted. The Judge agreed with Quoine and held that the contract in respect of each concluded trade was made directly between the buyer and the seller (see Judgment at [131]), though each of the parties was also contractually bound with Quoine under the Agreement which governed the terms of use of the Platform.

  36. B2C2’s breach of contract and breach of trust claim

  37. [33] With respect to B2C2’s breach of contract claim, the Judge held that Quoine’s unilateral cancellation of the Disputed Trades was a breach of the Agreement, and in particular of the Irreversible Action Clause (see [22] above; Judgment at [136]–[137]).

  38. [34] As for B2C2’s breach of trust claim, the Judge found that Quoine held the BTC in B2C2’s account, which had been credited following the Disputed Trades, on trust for B2C2, and so Quoine was in breach of trust when it reversed the relevant credit transaction (see Judgment at [146]). The Judge found that Quoine held the BTC on trust for B2C2 on the basis that the “three certainties” had been fulfilled, namely, certainty of subject matter, certainty of objects and certainty of intention to create a trust. First, the Judge held that there was certainty of subject matter because cryptocurrency should be treated as property that was capable of being held on trust, on the basis that it satisfied the definition of a property right in National Provincial Bank v Ainsworth [1965] 1 AC 1175 (“Ainsworth”) at 1248, in that it was definable, identifiable by third parties, capable in its nature of assumption by third parties, and had some degree of permanence or stability. In any case, the Judge noted, Quoine did not dispute this (Judgment at [142]). Second, the Judge found that there was certainty of objects, given that the beneficiaries were identifiable from the individual accounts of the users of the Platform (Judgment at [143]). Third, the Judge found that there was certainty of intention, based on the fact that the users’ assets were managed separately from Quoine’s own assets, thereby indicating that Quoine intended to hold the assets of an individual user on trust for that user (Judgment at [145]).

  39. Quoine’s defences

  40. [35] Turning then to Quoine’s defences, Quoine first sought to contend that two terms ought to be implied into the Agreement (collectively, “the Proposed Implied Terms”), namely:

  41. (a) Quoine may reverse any trades which had been executed at any abnormal rate or price as a result of any technical and/or system failure and/or error affecting the Platform; and

  42. (b) Quoine may reverse any trades resulting from orders placed in breach of the terms of the Agreement, including any trade resulting from any orders which amounted to market manipulation and/or abuse and, therefore, entailed an “unauthorised use” of the Platform.

  43. [36] The Judge found that the Proposed Implied Terms, which would allow Quoine to reverse trades on the Platform under certain circumstances, contradicted the Irreversible Action Clause which was an express term of the Agreement (Judgment at [152]). The Judge also found that in any event, the Proposed Implied Terms were not necessary to give business efficacy to the Agreement. It was instead the Irreversible Action Clause, the express term, that brought certainty to the Platform and led to a clear apportionment of risk (Judgment at [153]–[154]).

  44. [37] Second, Quoine argued that the Aberrant Value Clause in the Risk Disclosure Statement (see [25]–[26] above) allowed it unilaterally to cancel the Disputed Trades. The Judge, however, disagreed that this had been incorporated into the Agreement.

  45. [38] Third, Quoine argued that it was entitled to cancel the Disputed Trades because the Trading Contracts were void on the basis of unilateral mistake at common law. Quoine submitted that the Counterparties had entered into the Trading Contracts under two mistaken beliefs: (a) that it was necessary to close out their positions in response to the margin calls which the Platform made on them (“the First Mistaken Belief”); and (b) that they were buying ETH for BTC under contracts at prices which accurately represented or did not deviate significantly from the true market value and/or price of ETH relative to BTC on 19 April 2017 (“the Second Mistaken Belief”). Quoine argued in the alternative that the Trading Contracts were voidable on the basis of unilateral mistake in equity. Quoine submitted that by deliberately including the deep prices in the Trading Software, B2C2’s conduct was unconscionable and amounted to sharp practice.

  46. [39] In considering the issue of unilateral mistake, the Judge held that where it was necessary to assess the state of mind of a party in situations where acts of deterministic computer programs were in issue, regard should be had to the state of mind of the programmer of the relevant program at the time it was written – which in the present case would be that of Mr Boonen (Judgment at [211]). The Judge rejected Quoine’s contention that the court should instead approach the matter on the basis of considering what the contracting parties were likely to have known and intended if, hypothetically, they had met on the “floor of the exchange” for the purpose of entering into the Disputed Trades on 19 April 2017 (Judgment at [200]). The Judge found this approach wholly artificial given that the contracting parties had chosen to use deterministic algorithms as the means of entering into the Trading Contracts (see Judgment at [204]).

  47. [40] The Judge held that the Trading Contracts were not void on the basis of unilateral mistake at common law. With regard to the First Mistaken Belief, the Judge found that Mr Tseung Wai Kit (“Mr Tseung”), a co-founder of Pulsar, did genuinely hold such a mistaken belief. But the Judge was of the view that this was not a mistaken belief as to a term of the Trading Contracts (see Judgment at [220] and [222]). As regards the Second Mistaken Belief, not only did the Judge find that Mr Tseung did in fact hold such a mistaken belief, the Judge also held that it was a mistake as to a term of the Trading Contracts (Judgment at [227]–[228]).

  48. [42] The Judge also accepted Mr Boonen’s evidence that he was unaware of the glitches causing illiquidity on the Platform until after the events of 19 April 2017. While Mr Boonen had also made changes to the Trading Software’s code on 13 April 2017, the Judge accepted that he had done so independent of and without knowledge of Quoine’s failure, on the same day, to take certain necessary steps to secure the continued proper functioning of the Quoter Program (see Judgment at [100]–[102]). There was also no evidence to show that Mr Boonen had turned his mind to the relationship between the margin traders and those who had loaned them money, much less programmed the Trading Software to exploit this relationship by causing its deep prices to consummate force-closures of the positions of margin traders (see Judgment at [124] and [223]). The Judge found that Mr Boonen also did not turn his mind to the circumstances that might lead to trades being executed at the deep prices (Judgment at [230]). Therefore, the Judge concluded that Mr Boonen did not have actual knowledge of the First Mistaken Belief and the Second Mistaken Belief. He accordingly found that there was no basis for Quoine to rely on unilateral mistake at common law to void the Trading Contracts.

  49. [43] The Judge also held that the Trading Contracts were not voidable on the basis of unilateral mistake in equity, because he found Mr Boonen had no constructive knowledge of either the First Mistaken Belief or the Second Mistaken Belief (see Judgment at [233]). The Judge further held that there was no impropriety on B2C2’s part, and its conduct, even if opportunistic, was not sinister (Judgment at [236]).

  50. [44] Fourth, Quoine argued that it was entitled to cancel the Disputed Trades because the Trading Contracts were void on the basis of common mistake at common law. Quoine contended that at the time the Disputed Trades were concluded, both the Counterparties and B2C2 wrongly assumed that (a) the Platform was working correctly and (b) the trades were therefore being transacted under normal market conditions, meaning at prices which accurately reflected or did not deviate significantly from the true market value and/or price of ETH relative to BTC on 19 April 2017. The Judge held that this defence failed because even if Quoine held a mistaken belief as to the prices at which the Disputed Trades were to be concluded, Mr Boonen (and thus B2C2) did not (see Judgment at [237]–[239]).

  51. [46] As for the relief sought by B2C2, the Judge declined to allow B2C2’s prayer for specific performance, on the basis that the price of BTC at the time of the Judge’s decision was significantly higher than that when the Disputed Trades were concluded, and this would therefore cause substantial hardship to Quoine (Judgment at [256]).

  52. The issues on appeal

  53. [47] The issues that arise in this appeal and that we will address in this Judgment are the following:

  54. (a) What were the contractual arrangements between B2C2, Quoine and the Counterparties?

  55. (b) Was Quoine contractually entitled to cancel the Disputed Trades by reason of any express or implied terms of its contract with B2C2?

  56. (c) In relation to Quoine’s defence of unilateral mistake, did the Judge err in finding that Mr Boonen did not have actual or constructive knowledge of a relevant mistaken belief on the part of the Counterparties in relation to the Disputed Trades?

  57. (d) Were the Trading Contracts void on the basis of common mistake at common law?

  58. (e) Was Quoine entitled to cancel the Disputed Trades on the basis that B2C2 would otherwise be unjustly enriched at the expense of the Counterparties?

  59. (f) Did Quoine hold B2C2’s cryptocurrency assets on trust?

  60. Our decision

  61. Issue (a): The contractual relationships

  62. [48] We begin with the question of how the contractual relationships between B2C2, Quoine and the Counterparties should be characterised. As the Judge noted, the resolution of this question is relevant to the subsequent analysis on unilateral mistake, in so far as it is first necessary to identify which contract was affected by any asserted mistake and who the mistaken party was (Judgment at [129]).

  63. [49] B2C2 contended that the correct way to understand the contractual relationships was to see the Trading Contracts as part of a “spider’s web” of contracts, with Quoine as the central counterparty to both sides of each trade. In this way, the Platform would enable trading to be conducted on an anonymous basis as between the ultimate buyers and sellers. B2C2 argued on this basis that there could be no operative mistake as to the terms of the trading contracts made between Quoine and B2C2 in relation to the Disputed Trades. Any alleged unilateral mistake would be that of the Counterparties, and so Quoine’s defence of unilateral mistake would fail at the threshold. Quoine, on the other hand, argued that the Agreement made it plain that Quoine merely provided a service to the users of the Platform, and that the trading contracts were made directly between the buyers and the sellers.

  64. [50] We affirm the Judge’s analysis of the contractual arrangements between the various parties, in which he accepted Quoine’s characterisation of the contractual relationships. In essence, he held that the Trading Contracts were formed directly between B2C2 and the Counterparties (Judgment at [131]). The Trading Contracts constituted one of three categories of contracts the Judge identified, as follows (see Judgment at [126]):

  65. (a) The first category was the “Platform contracts”, which governed the use of the services provided by the Platform, the parties to which were Quoine and the individual users of the Platform, and the terms of which were found in the Agreement.

  66. (b) The second category was the “Margin contracts”, which concerned the arrangements based on which the margin traders would have their transactions financed. In the present case, the parties to these were Quoine and the Counterparties.

  67. (c) The third category was the “Trading contracts”, which were the contracts that came into existence when trades were concluded and governed the relationship between the parties to those trades. For the avoidance of doubt, we refer to this category of contracts as “trading contracts”. As for the specific trading contracts that underlay the Disputed Trades, we refer to these as Trading Contracts, as noted at [4] above. The Judge held that B2C2 and the Counterparties were the parties to the Trading Contracts in question in this case.

  68. [51] In our judgment, this characterisation of the trading contracts best accords with the terms of the Agreement, which made clear that Quoine was merely providing a service to the users of the Platform which would transact with one another in the exchange of cryptocurrencies on the Platform.

  69. [52] First, the “General Terms” of the Agreement stated as follows:

  70. The same was repeated under the heading “Membership And Users Of The Platform”.

  71. [53] Second, under the heading “Fees, Funding & Withdrawals”, it was stated that “[a]s compensation for [t]he Platform services … [Quoine] charges a fee on each transaction initiated by [the users of the Platform]”. This lent support to the contention that Quoine was merely providing a service to the users of the Platform for which it charged a fee.

  72. This suggested that Quoine’s primary function was to operate the Platform which would fill orders placed by its users at the best available market price.

  73. [55] We therefore agree with the Judge that Quoine was only providing the services available on the Platform and that it was the parties to the trading contracts that were responsible for whether and on what terms they would place or fill orders. This, however, is not to say that there was no contractual relationship between Quoine and the users of the Platform. First, as we have noted at [50(a)] above, Quoine as the provider of the Platform’s services entered into Platform contracts with the users of the Platform. Second, as noted at [50(b)] above, Quoine could be and was party to Margin contracts. Third, given that Quoine also acted as a market-maker on the Platform, there would have been situations where Quoine was the counterparty to a concluded trade, in which case it would have been party to a trading contract with a user of the Platform. However, the trades that we are concerned with in the present case, specifically the Disputed Trades, did not involve that situation.

  74. [56] In addition, we do not accept B2C2’s other arguments as to why the contractual relationships ought to be seen as a “spider’s web” of contracts. B2C2 contended that Quoine must have interposed itself as a “middle-man” in any trade and was obliged to underwrite the risk of a counterparty not being able to fund a trade, given that trading on the Platform was conducted anonymously and the users of the Platform would not have visibility of the creditworthiness of potential counterparties. We do not accept this because the terms of the Agreement seem to us to say the very opposite:

  75. [57] It is evident from these terms that Quoine had expressly sought to disclaim any liability for losses that users of the Platform might suffer arising from their use of the Platform. This would include the credit risk of a counterparty.

  76. [58] We also do not accept B2C2’s argument that the trading contracts could not have been formed directly between the buyers and sellers on the Platform because all trading was done anonymously. Even if the traders were unaware of who their potential counterparties might be before the conclusion of the trades, once a trade was completed, the identity of the parties to the trade became ascertainable by way of a unique user identification number (Judgment at Annex 3). Further, there is no difficulty in the fact that the traders would not know who their counterparties were until after the trades were concluded, given that they were agreeing in effect to enter into contracts with such other users of the Platform as accepted their bids or asks as the case might be. We will discuss this in greater detail when we examine the formation of contracts by algorithmic trading (at [94]–[96] below).

  77. Issue (b): Express and implied terms of the Agreement

  78. [59] Quoine argued that there were terms in the Agreement, both express and implied, which allowed it to cancel the Disputed Trades. We do not accept these contentions for the following reasons.

  79. The Aberrant Value Clause

  80. [60] Quoine argued on appeal (as it did at trial) that the Aberrant Value Clause in the Risk Disclosure Statement (see [25]–[26] above) entitled it to cancel the Disputed Trades. It also contended that the Unilateral Variation Clauses (see [20]–[21] above) allowed it unilaterally to vary the terms of the Agreement when it uploaded the Risk Disclosure Statement on its website without giving notice to the users of the Platform. On the other hand, B2C2 maintained that neither the Risk Disclosure Statement nor the Aberrant Value Clause had been incorporated into the Agreement. B2C2 further submitted that even if the Aberrant Value Clause had been incorporated into the Agreement, it did not assist Quoine because it would only have permitted Quoine to cancel transactions in which the prices of the trades had been incorrectly calculated by Quoine’s system due to a “system failure” or “malfunction”. “System failure” and “malfunction” were defined terms in the Risk Disclosure Statement, and required there to be a situation where customers could “no longer … place orders over the Internet”, or the orders “arrive[d] late or [could not] be placed” (see also [68] below). The Disputed Trades were not such transactions.

  81. [62] We affirm the Judge’s analysis on this point. Although it was not necessary for Quoine to obtain the consent of a user of the Platform before changing the terms of the Agreement, we are satisfied that a user had to have reasonable means of knowing that there had been a modification to the terms and what that modification was before any such change could have legal effect. Armed with such knowledge, the user could then decide whether or not it would continue to use the Platform. In this case, all Quoine did was to upload the Risk Disclosure Statement onto its website without more. This could not on any basis have sufficed to constitute the requisite notice.

  82. [63] Further, in determining whether notice of changes to the Agreement had to be given, we also have regard to the Unilateral Variation Clauses, which include the Without Notice Clause (see [21] above). We reproduce the Without Notice Clause here:

  83. [64] We note that the Without Notice Clause expressly stated that Quoine was permitted to effect changes to any of the terms, rights, obligations, privileges or to institute new charges for access to or continued use of services “without providing notice of such change”. However, the changes contemplated by this clause were restricted only to changes pertaining to “access to or continued use” of Quoine’s services. We assume, without finding, that incorporating the Aberrant Value Clause into the Agreement would be such a change. Even so, we think that it was implicit within the Without Notice Clause that a user of the Platform ought to be given the opportunity to consider the change in question, so that it could decide whether to continue using Quoine’s services. We say this for three reasons.

  84. [65] First, the Without Notice Clause stated that changes to the terms would be “posted or emailed”, which suggested that Quoine would take positive steps to bring the changes to the attention of the users of the Platform. Second, the clause stated that continued use of Quoine’s services after such changes had been posted or emailed would amount to an affirmation or deemed acceptance of the terms as modified. This part of the clause would not make sense if the users did not have an awareness of those modified terms to begin with. Third, the “General Terms” of the Agreement provided that the users of the Platform were responsible for reviewing the changes to the Agreement:

  85. This contemplated that users would have the opportunity to review the changes in the first place, which in turn necessitated them being given notice of these changes.

  86. [66] For these reasons, we do not think that the requirement of notice was displaced by the Without Notice Clause. Sufficient notice of the incorporation of the Aberrant Value Clause as a term of the Agreement had to be given to users of the Platform before it could be regarded as having been incorporated into the Agreement. We acknowledge that pursuant to the “General Terms” of the Agreement, the onus was on the users of the Platform to keep themselves updated with the latest version of the Agreement. However, there must at least have been some indication on Quoine’s website to inform users about amendments to the Agreement. We therefore agree with the Judge that simply uploading the Risk Disclosure Statement onto Quoine’s website without alerting users to the fact that a new term had been introduced was insufficient to constitute the requisite notice (see Judgment at [176]).

  87. [67] Moreover, as the Judge pointed out, the Risk Disclosure Statement appeared to be nothing more than a summary of the various risks that users would expect to face when using the Platform (see [24] above), and there would have been no reason for a user reading it to think that amendments to the terms of the Agreement were embedded within it. We also find no reason to disturb the Judge’s finding that there was nothing on Quoine’s website, the Agreement, or the Risk Disclosure Statement to alert the user to the need to read these documents together.

  88. [68] In any case, even if the Aberrant Value Clause had been incorporated into the Agreement, we do not think that it had the effect that Quoine suggested it did of entitling it to cancel the Disputed Trades. The relevant portion of the Risk Disclosure Statement which contained the Aberrant Value Clause (the italicised text below) stated:

  89. [70] Aside from this, if we were to accept Quoine’s position, it would seem to lead to the conclusion that the Aberrant Value Clause enabled Quoine to undertake some sort of “reasonableness” check on transactions entered into by others and then to cancel whatever transactions it thought was beyond the bounds of reason. We do not think this can possibly be correct.

  90. The Proposed Implied Terms

  91. [75] Subsequent to the hearing of this appeal, Quoine drew our attention to an article which commented on several aspects of the Judgment: see Kelvin Low & Eliza Mik, “Unpicking a Fin(e)tech Mess: Can Old Doctrines Cope in the 21st Century?”, Oxford Business Law Blog, 8 November 2019 (accessed 14 November 2019) (“Low & Mik”). The authors argued that if Quoine itself was not a counterparty to the Disputed Trades, then it must have been acting as agent for B2C2 and the Counterparties, and the users of the Platform in general, for the purposes of matching trades. On that basis, the authors contended that the Irreversible Action Clause should be construed to mean that only the instructions given by the users to Quoine as agent were irreversible, and not the trades themselves. We respectfully disagree.

  92. [77] For these reasons, we do not think that it is permissible to imply the terms that Quoine was contending for.

  93. Issue (c): Unilateral mistake

  94. [78] We turn to the central feature of Quoine’s defence, and one which the Judge acknowledged was “the most troubling and difficult in this case” (Judgment at [183]). Quoine relied on both unilateral mistake at common law and in equity to argue that the Trading Contracts should be vitiated, and therefore that its cancellation of the Disputed Trades was warranted. There is a threshold question whether Quoine, which was not a party to the Trading Contracts, could invoke the doctrine by way of defence to the claim that it breached its contract with B2C2 (meaning, the Irreversible Action Clause in the Agreement). In other words, the question is whether Quoine would necessarily be excused of its breach even if the Trading Contracts were vitiated. We assume, without deciding, that the defence of unilateral mistake was available to Quoine in the indirect way argued. The parties did not dispute this specific point. As noted at [45] above and [132] below, a broadly similar approach was taken by the Judge and by us in the context of the claim in unjust enrichment. Leaving this to the side, the complexity arose because the defence of unilateral mistake was being raised for the first time, as far as we are aware, in the context of algorithmic trading and the formation of contracts by such means. B2C2 and the Counterparties had entered into the Trading Contracts by means of B2C2’s and Quoine’s deterministic algorithms. B2C2 and the Counterparties therefore did not know until after the Trading Contracts had been entered into, whether an offer would be made or accepted, or the terms on which a contract would be concluded. How then could the doctrine of unilateral mistake apply in this situation, where the contracting parties did not know the specific terms on which the Trading Contracts would be entered into? It is therefore necessary to consider the principles behind the doctrine before considering its application to this novel situation.

  95. Doctrine of unilateral mistake at common law and in equity

  96. [80] We begin by setting out the requirements for unilateral mistake at common law and in equity, and in so doing, we highlight their differences in requirements and consequences. This was the subject of our decision in Chwee Kin Keong and others v Digilandmall.com Pte Ltd [2005] 1 SLR(R) 502 (“Digilandmall.com”). In essence, one party must have transacted while operating under a mistake as to a fundamental term of the contract (see Digilandmall.com at [34] and [80]). As we note below, there is a question as to whether this also applies in the context of the doctrine in equity. But beyond this:

  97. (a) for unilateral mistake at common law, the non-mistaken party must have had actual knowledge of the mistaken party’s mistake, and if this is established, the contract will be rendered void; but

  98. (b) for unilateral mistake in equity, the non-mistaken party must have had at least constructive knowledge of the mistaken party’s mistake and must have engaged in some unconscionable conduct in relation to that mistake, and if this is established, the contract will be voidable.

  99. [81] We begin with the rationale underlying the doctrine of unilateral mistake at common law. As we alluded to in Digilandmall.com, the reason for the doctrine is that “a party who is aware of the error made by the other party cannot claim that there is consensus ad idem” (at [31]). It follows that the doctrine is best understood by having regard to the principles governing offer and acceptance. A contract cannot be formed unless the contracting parties agree as to the terms of the contract. Unilateral mistake at common law voids a contract because the contracting parties have not in fact reached an agreement when one party is mistaken as to the terms put forward by the other party, and that other party knows this to be the case. In such circumstances, there is no correspondence between offer and acceptance. To explain this, it is helpful to set out what has been explained in The Law of Contract in Singapore (Andrew Phang Boon Leong gen ed) (Academy Publishing, 2012) at para 10.144:

  100. In short, where the non-mistaken party knows that the mistaken party made a mistake in communicating a term, the non-mistaken party cannot treat the mistaken party as having agreed to the term. Absent such knowledge, however, the position is otherwise because it would give rise to intolerable uncertainty in contractual arrangements if a party could be permitted to assert its own subjective view that it had operated under a mistake, even though there appeared objectively to be a concluded contract and the non-mistaken party was fairly operating on that basis.

  101. [82] Significantly, for the relevant mistake to void the contract, it must be about a term of the contract, and cannot merely be a mistaken assumption about the circumstances under which the contract was or would be concluded. A contract can be concluded as long as the contracting parties agree as to its terms, regardless of their beliefs and assumptions about the contract. This proposition was alluded to in the decision of Smith v Hughes (1871) LR 6 QB 597 (“Smith v Hughes”).

  102. [83] In Smith v Hughes, the plaintiff farmer sued the defendant racehorse trainer for breach of a contract for the sale of oats. The plaintiff had given the defendant’s manager a sample of the new oats that he intended to sell and the defendant agreed to purchase those oats of which he received a sample. The defendant subsequently refused to complete the contract on the ground that the contract had been for the sale and purchase of old oats. At the trial, it was disputed whether the plaintiff and the defendant’s manager discussed the subject of the oats being old oats. At the end of the trial, the judge put two questions to the jury: (a) whether the word “old” had been used with reference to the oats in the conversation between the plaintiff and the defendant’s manager; and (b) whether the plaintiff had believed that the defendant believed that he was contracting for old oats. The judge directed the jury to find for the defendant if either question was answered in the affirmative. The jury found for the defendant but did not give specific answers to the two questions.

  103. [84] On appeal, the court held that the judge’s direction in respect of the first question was correct. However, it found that the judge’s direction in respect of the second question was either wrong or likely to be misunderstood by the jury, and a new trial was therefore necessary. In the words of Hannen J, for the jury to find for the defendant pursuant to the second direction, “the jury should find not merely that the plaintiff believed the defendant to believe that he was buying old oats, but that he believed the defendant to believe that he, the plaintiff, was contracting to sell old oats” [emphasis added] (Smith v Hughes at 611).

  104. [85] The decisions of Cockburn CJ and Blackburn J too illustrate the point that the relevant mistake to void a contract, on the basis of unilateral mistake, had to be about a term of the contract, and not merely about the circumstances under which the contract was or would be concluded.

  105. [86] Blackburn J put it in these terms at 606–607:

  106. [87] Cockburn CJ identified “the fallacy of confounding what was merely a motive operating on the buyer to induce him to buy with one of the essential conditions of the contract” [emphasis added] (at 606). If a contracting party made a mistake about the circumstances under which the contract was or would be concluded, caveat emptor would apply, and the contract would not be vitiated so long as the parties did reach an agreement on the terms of the contract. In emphasising this point, Cockburn CJ also observed that “the passive acquiescence of the seller in the self-deception of the buyer [in thinking that the oats were old oats]” would not entitle the buyer to avoid the contract (Smith v Hughes at 602–603).

  107. [88] The requirement that the relevant mistake to void a contract on the basis of unilateral mistake must concern a term of the contract was also applied more recently in the decision of the English High Court in Statoil ASA v Louis Dreyfus Energy Services LP (The “Harriette N”) [2008] 2 Lloyd’s Rep 685 (“Statoil”). In Statoil, the relevant question was whether a contract of compromise between the parties was binding on the claimant when its employee had made an error in calculating the amount of demurrage due from the defendant, because the claimant’s employee thought that the vessel in question had completed discharging her cargo on 13 October 2006 when in fact she only completed discharging on 24 October 2006. Prior to concluding the contract of compromise, the defendant’s employee realised that the claimant’s employee made this error but opted to say nothing about it. Aikens J held that it was not a term of the contract that the compromise was reached on the premise that the discharge had been completed on 13 October 2006 (at [91]). He accordingly held that there was no operative unilateral mistake as to a term of the contract, which therefore remained binding. Citing Smith v Hughes in coming to his decision, Aikens J framed the relevant proposition of law as follows (Statoil at [88]):

  108. [89] We turn next to the rationale behind the doctrine of unilateral mistake in equity. We held in Digilandmall.com that we have an equitable jurisdiction with regard to unilateral mistake and that this jurisdiction exists to assist us in achieving the ends of justice in appropriate cases (see Digilandmall.com at [74] and [77]). To invoke this jurisdiction, it must be shown that the non-mistaken party had constructive knowledge of the mistaken party’s mistake and further, that it was unconscionable for the non-mistaken party to insist on the performance of the contract because it had engaged in some unconscionable conduct or sharp practice in relation to that mistake (see Digilandmall.com at [80] and [83]).

  109. [90] There is a question as to whether unilateral mistake in equity can extend beyond a mistake as to a term of the contract, and related to this, whether a mistaken assumption about the circumstances under which the contract was or would be concluded can itself be an operative mistake. The English authorities seem to suggest, on balance, that there is no equitable jurisdiction to vitiate a contract for unilateral mistake and if there were, they appear to doubt whether it extends beyond a mistake as to a term of the contract: see Chitty on Contracts (H G Beale gen ed) (Sweet & Maxwell, 33rd Ed, 2018) (“Chitty”) at para 3-027; Edwin Peel, The Law of Contract (Sweet & Maxwell, 14th Ed, 2015) at para 8–058; Jack Beatson, Andrew Burrows & John Cartwright, Anson’s Law of Contract (Oxford University Press, 29th Ed, 2010) at p 278; see also Clarion Ltd and Others v National Provident Institution [2000] WLR 1888 at 1905C–1905H; Great Peace Shipping Ltd v Tsavliris Salvage (International) Ltd [2003] QB 679; Huyton SA v Distribuidora Internacional de Productos Agricolas SA de CV [2003] 2 Lloyd’s Rep 780; Statoil. The High Court of Australia in Taylor v Johnson (1983) 151 CLR 422 treated relief for unilateral mistake as to a fundamental term as equitable in character; see also N C Seddon & R A Bigwood, Cheshire and Fifoot Law of Contract (LexisNexis Butterworths, 11th Australian Ed, 2017) at para 12.44 in which it is said that an equitable principle of mistake has probably displaced any possible common law doctrine of mistake.

  110. [91] As for the position in Singapore, although there is a recognised equitable jurisdiction for dealing with unilateral mistake, the question as to whether this extends beyond a mistake as to a term of the contract remains open. In Digilandmall.com, the mistake in question was undoubtedly one as to a fundamental term of the contract, namely the price, and there was no detailed discussion about whether any other type of mistake could be relied upon to invoke the defence (see Digilandmall.com at [34] and [80]). It is true that in Digilandmall.com, the court did go on to observe that “[o]ne suggested way” to differentiate between unilateral mistake at common law and in equity would be to hold that the former was “limited to mistakes with regard to the subject matter of the contract”, while the latter “[could] have regard to a wider and perhaps open-ended category of ‘fundamental’ mistake” (at [75]). This, however, was not explored or developed in detail.

The judgment continues past this page. Read the rest at eLitigation.