Created
June 10, 2022 19:30
-
-
Save ajuggler/9a1d2ed55cfc6ccdc72823a82be276bf to your computer and use it in GitHub Desktop.
double pay (marlowe)
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 "Giver1") | |
(Role "Giver1") | |
(Token "" "") | |
(ConstantParam "Deposit") | |
) | |
(When | |
[Case | |
(Deposit | |
(Role "Giver2") | |
(Role "Giver2") | |
(Token "" "") | |
(ConstantParam "Deposit") | |
) | |
(Pay | |
(Role "Giver1") | |
(Party (Role "Receiver")) | |
(Token "" "") | |
(ConstantParam "Deposit") | |
(Pay | |
(Role "Giver2") | |
(Party (Role "Receiver")) | |
(Token "" "") | |
(ConstantParam "Deposit") | |
Close | |
) | |
)] | |
(TimeParam "Deadline") | |
Close | |
), Case | |
(Deposit | |
(Role "Giver2") | |
(Role "Giver2") | |
(Token "" "") | |
(ConstantParam "Deposit") | |
) | |
(When | |
[Case | |
(Deposit | |
(Role "Giver1") | |
(Role "Giver1") | |
(Token "" "") | |
(ConstantParam "Deposit") | |
) | |
(Pay | |
(Role "Giver1") | |
(Party (Role "Receiver")) | |
(Token "" "") | |
(ConstantParam "Deposit") | |
(Pay | |
(Role "Giver2") | |
(Party (Role "Receiver")) | |
(Token "" "") | |
(ConstantParam "Deposit") | |
Close | |
) | |
)] | |
(TimeParam "Deadline") | |
Close | |
)] | |
(TimeParam "Deadline") | |
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