MultiParty List for Signatories

On Page 105 of the Daml.SDK:

2.2.2.3 Template-local Definitions

where
  let
    allParties = [exampleParty, exampleParty2, exampleParty3]

2.2.2.4 Signatory parties

signatory exampleParty

Can you assign multiple Parties to the signatory using the same method as the Let block?

signatory = [exampleParty, exampleParty2, exampleParty3]

If so, is this the correct format?

signatory = [alisonBobber, charlieDennis, egbertFrancis]
1 Like

You need to drop the equal sign so something like

signatory [exampleParty, exampleParty2, exampleParty3]

You can also drop the brackets if you want

signatory exampleParty, exampleParty2, exampleParty3
2 Likes