Last active
February 1, 2022 02:29
-
-
Save ssbright/1a21e7dbed0006c634950496134520bb to your computer and use it in GitHub Desktop.
PaymentSplitter
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 "Fund") | |
(Role "Anyone") | |
(Token "" "") | |
(ConstantParam "DepositValue") | |
) | |
(Assert | |
(ValueGT | |
(ConstantParam "DepositValue") | |
(Constant 5) | |
) | |
(Pay | |
(Role "Fund") | |
(Party (PK "0000000000000000000000000000000000000000000000000000000000000000")) | |
(Token "" "") | |
(Scale | |
(1%2) | |
(ConstantParam "DepositValue") | |
) | |
(Pay | |
(Role "Fund") | |
(Account (PK "0000000000000000000000000000000000000000000000000000000000000000")) | |
(Token "" "") | |
(Scale | |
(1%2) | |
(ConstantParam "DepositValue") | |
) | |
Close | |
) | |
) | |
)] | |
3 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