Cais r3 doc fixes (#4974)

* StatesAndContract.kt to TemplateContract.kt

* Updating to reflect new template structure

* Update tut-two-party-contract.rst
This commit is contained in:
Cais Manai 2019-04-02 11:20:12 +01:00 committed by Joel Dudley
parent 24f63b2e64
commit f4d7bc9a18
2 changed files with 6 additions and 6 deletions

View File

@ -46,18 +46,18 @@ For this tutorial, we will only be modifying the following files:
.. code-block:: java
// 1. The state
cordapp-contracts-states/src/main/java/com/template/TemplateState.java
contracts/src/main/java/com/template/states/TemplateState.java
// 2. The flow
cordapp/src/main/java/com/template/Initiator.java
workflows/src/main/java/com/template/flows/Initiator.java
.. code-block:: kotlin
// 1. The state
cordapp-contracts-states/src/main/kotlin/com/template/StatesAndContracts.kt
contracts/src/main/kotlin/com/template/states/TemplateState.kt
// 2. The flow
cordapp/src/main/kotlin/com/template/Flows.kt
workflows/src/main/kotlin/com/template/flows/Flows.kt
Progress so far
---------------

View File

@ -77,7 +77,7 @@ We can picture this transaction as follows:
Defining IOUContract
--------------------
Let's write a contract that enforces these constraints. We'll do this by modifying either ``TemplateContract.java`` or
``StatesAndContracts.kt`` and updating ``TemplateContract`` to define an ``IOUContract``:
``TemplateContract.kt`` and updating to define an ``IOUContract``:
.. container:: codeset
@ -194,4 +194,4 @@ We've now written an ``IOUContract`` constraining the evolution of each ``IOUSta
must be different entities
Next, we'll update the ``IOUFlow`` so that it obeys these contract constraints when issuing an ``IOUState`` onto the
ledger.
ledger.