Last active
August 3, 2022 12:13
-
-
Save edsko/66e160c2cefda886c6c0d6970a7370a1 to your computer and use it in GitHub Desktop.
Fiat token transfer
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 "" "SHARE") | |
(Constant 10) | |
) | |
(When | |
[Case | |
(Choice | |
(ChoiceId | |
"B_PAID" | |
(Role "A") | |
) | |
[Bound 0 0] | |
) | |
(Pay | |
(Role "A") | |
(Party (Role "B")) | |
(Token "" "SHARE") | |
(Constant 10) | |
Close | |
)] | |
(TimeParam "timeout 1 (payment)") | |
(When | |
[Case | |
(Choice | |
(ChoiceId | |
"ARBITRATION" | |
(Role "DAO") | |
) | |
[Bound 0 1] | |
) | |
(If | |
(ValueEQ | |
(ChoiceValue | |
(ChoiceId | |
"ARBITRATION" | |
(Role "DAO") | |
)) | |
(Constant 1) | |
) | |
(Pay | |
(Role "A") | |
(Party (Role "B")) | |
(Token "" "SHARE") | |
(Constant 10) | |
Close | |
) | |
Close | |
)] | |
(TimeParam "timeout 2 (overall)") | |
Close | |
) | |
)] | |
(TimeParam "timeout 2 (overall)") | |
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