From 188fbd24c215e8dba0e4c89e50290bf845e2bb42 Mon Sep 17 00:00:00 2001 From: Cais Manai Date: Fri, 26 Apr 2019 19:53:30 +0100 Subject: [PATCH] StatesAndContracts.kt is now TemplateContract.kt (#4972) --- docs/source/hello-world-state.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/hello-world-state.rst b/docs/source/hello-world-state.rst index 1a72159201..6eaa9e68b3 100644 --- a/docs/source/hello-world-state.rst +++ b/docs/source/hello-world-state.rst @@ -58,7 +58,7 @@ later is often as simple as adding an additional property to your class definiti Defining IOUState ----------------- -Let's get started by opening ``TemplateState.java`` (for Java) or ``StatesAndContracts.kt`` (for Kotlin) and updating +Let's get started by opening ``TemplateState.java`` (for Java) or ``TemplateState.kt`` (for Kotlin) and updating ``TemplateState`` to define an ``IOUState``: .. container:: codeset @@ -106,4 +106,4 @@ What about the contract? If you've read the white paper or Key Concepts section, you'll know that each state has an associated contract that imposes invariants on how the state evolves over time. Including a contract isn't crucial for our first CorDapp, so we'll just use the empty ``TemplateContract`` and ``TemplateContract.Commands.Action`` command defined by the template -for now. In the next tutorial, we'll implement our own contract and command. \ No newline at end of file +for now. In the next tutorial, we'll implement our own contract and command.