Skip to content

Commit

Permalink
Clarify signatory usage (digital-asset#6204)
Browse files Browse the repository at this point in the history
* Clarify signatory usage

* Address review comments

* Double backticks per review

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>

* Update docs/source/daml/reference/templates.rst

Co-authored-by: Gerolf Seitz <gerolf.seitz@daml.com>

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
Co-authored-by: Gerolf Seitz <gerolf.seitz@daml.com>
  • Loading branch information
3 people authored Jun 8, 2020
1 parent f2d0679 commit 1836905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/daml/reference/templates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Signatory parties
``NameOfTemplate requires authorizers Party1,Party2,Party, but only Party1 were given.``
- When a signatory consents to the contract creation, this means they also authorize the consequences of :ref:`choices <daml-ref-choices>` that can be exercised on this contract.
- The contract instance is visible to all signatories (as well as the other stakeholders of the contract). That is, the compiler automatically adds signatories as observers.
- You **must** have least one signatory per template. You can have many, either as a comma-separated list or reusing the keyword. You could pass in a list (of type ``[Party]``).
- Each template **must** have at least one signatory. A signatory declaration consists of the `signatory` keyword followed by a comma-separated list of one or more expressions, each expression denoting a ``Party`` or collection thereof.

.. _daml-ref-observers:

Expand Down

0 comments on commit 1836905

Please sign in to comment.