Created
August 1, 2023 15:46
-
-
Save da-blog/a6e641609c276b952d767556d9bab3f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data Roletype = Citizen | HealthClinic | StateHealthAgency | InsuranceCompany | |
deriving (Eq, Show) | |
template Network | |
with | |
operator : Party | |
where | |
signatory operator | |
controller operator can | |
nonconsuming InviteParty : ContractId PartyInvitation | |
with | |
party : Party | |
roletype : Roletype | |
do | |
create PartyInvitation with party, operator, roletype |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment