Last active
August 3, 2022 11:04
-
-
Save edsko/ee05c6db65606bda2b88f3ece67113c6 to your computer and use it in GitHub Desktop.
Simple 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 | |
(Deposit | |
(Role "A") | |
(Role "B") | |
(Token "" "") | |
(Constant 100000000) | |
) | |
(Pay | |
(Role "A") | |
(Party (Role "B")) | |
(Token "" "SHARE") | |
(Constant 10) | |
Close | |
)] | |
(TimeParam "timeout") | |
Close | |
)] | |
(TimeParam "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