Created
September 8, 2022 19:13
-
-
Save ajuggler/2954ebfc404a7824fa38eec60ffc2565 to your computer and use it in GitHub Desktop.
MyEscrow
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 "Seller") | |
(Role "Buyer") | |
(Token "" "") | |
(ConstantParam "price") | |
) | |
(When | |
[Case | |
(Choice | |
(ChoiceId | |
"item received" | |
(Role "Buyer") | |
) | |
[Bound 1 1] | |
) | |
Close , Case | |
(Choice | |
(ChoiceId | |
"raise dispute" | |
(Role "Buyer") | |
) | |
[Bound 0 0] | |
) | |
(Pay | |
(Role "Seller") | |
(Account (Role "Buyer")) | |
(Token "" "") | |
(ConstantParam "price") | |
(When | |
[Case | |
(Choice | |
(ChoiceId | |
"accept dispute" | |
(Role "Seller") | |
) | |
[Bound 0 0] | |
) | |
Close , Case | |
(Choice | |
(ChoiceId | |
"dispute dispute" | |
(Role "Seller") | |
) | |
[Bound 1 1] | |
) | |
(When | |
[Case | |
(Choice | |
(ChoiceId | |
"agree with buyer" | |
(Role "Third_Party") | |
) | |
[Bound 0 0] | |
) | |
Close , Case | |
(Choice | |
(ChoiceId | |
"agree with seller" | |
(Role "Third_Party") | |
) | |
[Bound 1 1] | |
) | |
(Pay | |
(Role "Buyer") | |
(Account (Role "Seller")) | |
(Token "" "") | |
(ConstantParam "price") | |
Close | |
)] | |
(TimeParam "dispute_dispute_deadline") | |
Close | |
)] | |
(TimeParam "dispute_dispute_deadline") | |
Close | |
) | |
)] | |
(TimeParam "dispute_deadline") | |
Close | |
)] | |
(TimeParam "dispute_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