Skip to content
CCPEDIAby Unity Nodes
Discussions/Outreach/Learn the fundamentals of DAML online: Choices and Role patternForum ↗

Learn the fundamentals of DAML online: Choices and Role pattern

Outreach4 posts717 views5 likesLast activity Jun 2020
NE
nemanjaOP
Jun 2020

:fireworks: We have another excellent tutorial :open_book: on DAML fundamentals thanks to @drsk :mechanical_arm: :rocket:
:fireworks: This time we’re covering an important topic of choices and role pattern as well as what are consuming and nonconsuming choices:

nonconsuming choice doesn’t affect the contract it’s contained in. You can execute it as many times as you want. In contrast, a consuming choice can be called exactly once. As soon as the call happens, the containing contract is marked as inactive and a subsequent call will fail.

AN
andreolf
Jun 2020

This is great @nemanja and good job @drsk!

← Back to Discussions