Last active
June 5, 2021 16:49
-
-
Save arielweinberger/2caa83b923d7229db0b683746471f8e6 to your computer and use it in GitHub Desktop.
Test
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
When | |
[Case | |
(Deposit | |
(Role "serviceProvider") | |
(Role "customer") | |
(Token "" "") | |
(Constant 20) | |
) | |
(When | |
[Case | |
(Choice | |
(ChoiceId | |
"acceptRequest" | |
(Role "serviceProvider") | |
) | |
[Bound 1 2] | |
) | |
(If | |
(ValueEQ | |
(ChoiceValue | |
(ChoiceId | |
"acceptRequest" | |
(Role "serviceProvider") | |
)) | |
(Constant 1) | |
) | |
(If | |
(ValueEQ | |
(ChoiceValue | |
(ChoiceId | |
"cancelRequest" | |
(Role "customer") | |
)) | |
(Constant 1) | |
) | |
(Pay | |
(Role "serviceProvider") | |
(Account (Role "customer")) | |
(Token "" "") | |
(Constant 15) | |
Close | |
) | |
Close | |
) | |
(Pay | |
(Role "serviceProvider") | |
(Account (Role "customer")) | |
(Token "" "") | |
(Constant 20) | |
Close | |
) | |
)] | |
2 Close | |
)] | |
1 Close |
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
{"valueParameterDescriptions":[],"slotParameterDescriptions":[],"roleDescriptions":[],"contractType":"O","contractName":"","contractDescription":"","choiceDescriptions":[]} |
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
{} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment