Abstract
Implementing smart contracts to automate the performance of high-value over-the-counter (OTC) financial derivatives is a formidable challenge. Due to the regulatory framework and the scale of financial risk if a contract were to go wrong, the performance of these contracts must be enforceable in law and there is an absolute requirement that the smart contract will be faithful to the intentions of the parties as expressed in the original legal documentation. Formal methods provide an attractive route for validation and assurance, and here we present early results from an investigation of the semantics of industry-standard legal documentation for OTC derivatives. We explain the need for a formal representation that combines temporal, deontic and operational aspects, and focus on the requirements for the temporal aspects as derived from the legal text. The relevance of this work extends beyond OTC derivatives and is applicable to understanding the temporal semantics of a wide range of legal documentation.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
For example, “what if?” scenarios might posit a sequence of actions by the parties, or possible changes in the law during the running of the code, together with the required outcome.
- 2.
Derivatives contracts often last 5 years and can last as long as 30 years.
- 3.
There are two versions in common use: the 1992 ISDA Master Agreement and the 2002 ISDA Master Agreement.
- 4.
Derivatives contracts may involve more than two parties.
- 5.
It may also be possible to attach additional terms and conditions, including additional credit support, to individual transactions.
- 6.
For the rest of this paper we assume the 2002 ISDA document set.
- 7.
For example, a single legal clause may be represented by more than one expression in the formal semantics (perhaps distant from each other), and vice versa two or more legal clauses might be represented by a single expression in the formal semantics.
- 8.
The existence of a unique canonical form (computable in reasonable time) will depend on the logic employed, and the properties of its operators. Where many logics are combined the existence of a unique canonical form may become problematic.
- 9.
Which might be the duration of an obligation.
- 10.
The property “General Business Day” is described in a generic way so that it could potentially apply to an infinite number of dates, but a property could also be described in a way that it could apply to only a finite number of dates.
- 11.
Conceivably this phrase might be used to refer to a date associated with a document, which raises the further issue of associating objects with temporal values.
- 12.
In the context of the ISDA Master Agreement it might sometimes be preferable to phrase this as a continuous prohibition to engage in an event that generates a Potential Event of Default or Potential Termination Event.
References
Al Khalil, F., Ceci, M., O’Brien, L., Butler, T.: A solution for the problems of translation and transparency in smart contracts. Technical report, Government Risk and Compliance Technology Centre (2017). http://www.grctc.com/wp-content/uploads/2017/06/GRCTC-Smart-Contracts-White-Paper-2017.pdf. Accessed 31 Aug 2017
Braine, L.: Barclays’ smart contract templates. Barclays London Accelerator (2016). https://vimeo.com/168844103/. http://www.ibtimes.co.uk/barclays-smart-contract-templates-heralds-first-ever-public-demo-r3s-corda-platform-1555329/
Clack, C.D., Bakshi, V.A., Braine, L.: Smart contract templates: foundations, design landscape and research directions. The Computing Research Repository (CoRR) abs/1608.00771 (2016). http://arxiv.org/abs/1608.00771/
Clack, C.D.: Smart contract templates: the semantics of smart legal agreements. In: The Third R3 Smart Contract Templates Summit (2017). https://www.r3.com/slides/third-smart-contract-templates-summit-slides.pdf. Accessed 29 Mar 2018
Clack, C.: Smart contract templates: the semantics of smart legal agreements. J. Digit. Bank. 2(4), 1–15 (2018)
Clack, C.D., Bakshi, V.A., Braine, L.: Smart contract templates: essential requirements and design options (2016). https://arxiv.org/abs/1612.04496/
Harley, B.: Are smart contracts contracts? Technical report, Clifford Chance (2017). https://www.cliffordchance.com/briefings/2017/08/are_smart_contractscontracts.html. Accessed 31 Aug 2017
Hvitved, T.: Contract formalisation and modular implementation of domain-specific languages. Ph.D. thesis, Department of Computer Science, University of Copenhagen (2012). http://www.diku.dk/hjemmesider/ansatte/hvitved/publications/hvitved12phd.pdf
ISDA and Linklaters: Smart contracts and distributed ledger – a legal perspective (2017). https://www.isda.org/a/6EKDE/smart-contracts-and-distributed-ledger-a-legal-perspective.pdf. Accessed 31 Aug 2017
Lee, R.M.: A logic model for electronic contracting. Decis. Support. Syst. 4, 27–44 (1988)
Magazzeni, D., McBurney, P., Nash, W.: Validation and verification of smart contracts: a research agenda. IEEE Comput. J. 50(9), 50–57 (2017). Special Issue on Blockchain Technology for Finance
Pithadia, H.J.: Capturing language semantics of smart contracts. Master’s thesis, Department of Computer Science, UCL (2016)
Rescher, N., Urquhart, A.: Temporal Logic. Springer, Wien (1971). https://doi.org/10.1007/978-3-7091-7664-1
Stark, J.: Making sense of blockchain smart contracts (2016). http://www.coindesk.com/makingsense-smart-contracts/. Accessed 20 June 2016
Acknowledgements
The authors are grateful to UCL students Justin Jude and Mengyang Wu who assisted this work by reviewing logic frameworks and providing supporting tools.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer Nature Switzerland AG
About this paper
Cite this paper
Clack, C.D., Vanca, G. (2018). Temporal Aspects of Smart Contracts for Financial Derivatives. In: Margaria, T., Steffen, B. (eds) Leveraging Applications of Formal Methods, Verification and Validation. Industrial Practice. ISoLA 2018. Lecture Notes in Computer Science(), vol 11247. Springer, Cham. https://doi.org/10.1007/978-3-030-03427-6_26
Download citation
DOI: https://doi.org/10.1007/978-3-030-03427-6_26
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-03426-9
Online ISBN: 978-3-030-03427-6
eBook Packages: Computer ScienceComputer Science (R0)