Skip to content
CCPEDIAby Unity Nodes
App Development

MultiParty List for Signatories

2 posts351 views3 likesLast activity Jun 2021

  1. quidagisOP 1

    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]
    
  2. cocreature 2

    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