Last active
January 19, 2023 11:10
-
-
Save edsko/b72bfcad77f55ba52ac4d61b92772af8 to your computer and use it in GitHub Desktop.
Simple Bet
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
{"valueParameterInfo":[],"timeParameterDescriptions":[],"roleDescriptions":[],"contractType":"Other","contractShortDescription":"Unknown","contractName":"Unknown","contractLongDescription":"We couldn't find information about this contract","choiceInfo":[]} |
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 "A") | |
(Role "A") | |
(Token "" "t") | |
(Constant 1) | |
) | |
(When | |
[Case | |
(Deposit | |
(Role "B") | |
(Role "B") | |
(Token "" "t") | |
(Constant 1) | |
) | |
(When | |
[Case | |
(Choice | |
(ChoiceId | |
"win" | |
(Role "O") | |
) | |
[Bound 0 1] | |
) | |
(If | |
(ValueEQ | |
(ChoiceValue | |
(ChoiceId | |
"win" | |
(Role "O") | |
)) | |
(Constant 0) | |
) | |
(Pay | |
(Role "B") | |
(Party (Role "A")) | |
(Token "" "t") | |
(Constant 1) | |
Close | |
) | |
(Pay | |
(Role "A") | |
(Party (Role "B")) | |
(Token "" "t") | |
(Constant 1) | |
Close | |
) | |
)] | |
(TimeParam "timeout3") | |
Close | |
)] | |
(TimeParam "timeout2") | |
Close | |
)] | |
(TimeParam "timeout1") | |
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
{} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment