Last active
February 16, 2022 22:58
-
-
Save Gresliebear/67c7e56b34f525d86f77965a838a61c3 to your computer and use it in GitHub Desktop.
EMF
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":[],"slotParameterDescriptions":[],"roleDescriptions":[],"contractType":"O","contractShortDescription":"","contractName":"","contractLongDescription":"","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 "EMFwallet") | |
(Role "User/Insuree") | |
(Token "" "") | |
(AvailableMoney | |
(Role "User/InsureeWallet") | |
(Token "" "") | |
) | |
) | |
(If | |
(ValueGE | |
(Constant 1) | |
(Constant 0) | |
) | |
(Pay | |
(PK "0000000000000000000000000000000000000000000000000000000000000000") | |
(Party (Role "User/Insuree")) | |
(Token "" "") | |
(ConstantParam "APR") | |
?contract | |
) | |
Close | |
)] | |
(SlotParam "0") | |
(When | |
[Case | |
(Choice | |
(ChoiceId | |
"Withdraw" | |
(Role "User/Insuree") | |
) | |
[Bound 0 1] | |
) | |
(Pay | |
(PK "0000000000000000000000000000000000000000000000000000000000000000") | |
(Party (Role "EMFwallet")) | |
(Token "" "") | |
(AvailableMoney | |
(Role "EMFwallet") | |
(Token "" "") | |
) | |
(If | |
?observation | |
?contract1 Close | |
) | |
)] | |
0 ?contract | |
) |
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