Created
July 3, 2023 04:13
-
-
Save ayo-dan/6ed6cefe5f775272708004f7234c5840 to your computer and use it in GitHub Desktop.
Marlowe Problem Set 2
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 "Buyer") | |
(Role "Buyer") | |
(Token "" "") | |
(Constant 40000000) | |
) | |
(When | |
[Case | |
(Deposit | |
(Role "Coffee Shop") | |
(Role "Coffee Shop") | |
(Token "" "Coffee Voucher") | |
(Constant 4) | |
) | |
(Pay | |
(Role "Buyer") | |
(Account (Role "Coffee Shop")) | |
(Token "" "") | |
(Constant 40000000) | |
(Pay | |
(Role "Coffee Shop") | |
(Account (Role "Buyer")) | |
(Token "" "Coffee Voucher") | |
(Constant 4) | |
(When | |
[] | |
1688357406966 | |
(Pay | |
(Role "Buyer") | |
(Account (Role "Coffee Shop")) | |
(Token "" "Coffee Voucher") | |
(Constant 1) | |
?contract | |
) | |
) | |
) | |
)] | |
(TimeParam "Coffee Voucher Timeout") | |
Close | |
)] | |
(TimeParam "ADA Depoist Timeout") | |
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