Last active
August 24, 2022 13:23
-
-
Save edsko/802d8f48c946f6b4851d59aafb981614 to your computer and use it in GitHub Desktop.
Vesting Example
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 "DAO") | |
(Role "DAO") | |
(Token "" "SHARE") | |
(Constant 100) | |
) | |
(Pay | |
(Role "DAO") | |
(Party (Role "RECIPIENT")) | |
(Token "" "SHARE") | |
(Constant 60) | |
(When | |
[] | |
(TimeParam "vesting_second_half") | |
(Pay | |
(Role "DAO") | |
(Party (Role "RECIPIENT")) | |
(Token "" "SHARE") | |
(Constant 40) | |
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