Last active
August 5, 2022 17:15
-
-
Save edsko/da1934ad92766bf880ee626751a0f9a1 to your computer and use it in GitHub Desktop.
Simple ROFO
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) | |
) | |
(When | |
[Case | |
(Choice | |
(ChoiceId | |
"ROFO: Price" | |
(Role "A") | |
) | |
[Bound 0 1000000000] | |
) | |
(When | |
[Case | |
(Choice | |
(ChoiceId | |
"ROFO: #Shares" | |
(Role "A") | |
) | |
[Bound 0 10] | |
) | |
(When | |
[Case | |
(Deposit | |
(Role "A") | |
(Role "ROFO") | |
(Token "" "") | |
(ChoiceValue | |
(ChoiceId | |
"ROFO: Price" | |
(Role "A") | |
)) | |
) | |
(When | |
[Case | |
(Deposit | |
(Role "ROFO") | |
(Role "ROFO") | |
(Token "" "ROFO") | |
(Constant 1) | |
) | |
(Pay | |
(Role "A") | |
(Account (Role "ROFO")) | |
(Token "" "SHARE") | |
(ChoiceValue | |
(ChoiceId | |
"ROFO: #Shares" | |
(Role "A") | |
)) | |
(Pay | |
(Role "A") | |
(Account (Role "B")) | |
(Token "" "SHARE") | |
(SubValue | |
(Constant 10) | |
(ChoiceValue | |
(ChoiceId | |
"ROFO: #Shares" | |
(Role "A") | |
)) | |
) | |
(Pay | |
(Role "A") | |
(Account (Role "B")) | |
(Token "" "") | |
(MulValue | |
(ChoiceValue | |
(ChoiceId | |
"ROFO: #Shares" | |
(Role "A") | |
)) | |
(Constant 10000000) | |
) | |
Close | |
) | |
) | |
)] | |
(TimeParam "timeout 1: right of first refusal") | |
(Pay | |
(Role "A") | |
(Account (Role "B")) | |
(Token "" "SHARE") | |
(Constant 10) | |
Close | |
) | |
)] | |
(TimeParam "timeout 1: right of first refusal") | |
(Pay | |
(Role "A") | |
(Account (Role "B")) | |
(Token "" "SHARE") | |
(Constant 10) | |
Close | |
) | |
)] | |
(TimeParam "timeout 1: right of first refusal") | |
(Pay | |
(Role "A") | |
(Account (Role "B")) | |
(Token "" "SHARE") | |
(Constant 10) | |
Close | |
) | |
)] | |
(TimeParam "timeout 1: right of first refusal") | |
(Pay | |
(Role "A") | |
(Account (Role "B")) | |
(Token "" "SHARE") | |
(Constant 10) | |
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