Last active
January 9, 2023 13:18
-
-
Save juanemael/0d0d14347a6ccce75277fc5729decba2 to your computer and use it in GitHub Desktop.
Marlowe Meet 1 - 3
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
Let | |
"hargabarang" | |
(ConstantParam "inputhargabarang") | |
(Let | |
"nilaipenawaran" | |
(ConstantParam "inputnilaipenawaran") | |
(If | |
(ValueGT | |
(ConstantParam "inputnilaipenawaran") | |
(ConstantParam "inputhargabarang") | |
) | |
(When | |
[Case | |
(Deposit | |
(Role "buyer") | |
(Role "buyer") | |
(Token "" "") | |
(ConstantParam "inputnilaipenawaran") | |
) | |
(Pay | |
(Role "buyer") | |
(Account (Role "seller")) | |
(Token "" "") | |
(ConstantParam "inputnilaipenawaran") | |
Close | |
)] | |
1673273340000 Close | |
) | |
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