File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
contracts/external/cw-vesting Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -73,19 +73,22 @@ that looks like this:
7373As you can see, it travels through ` (0, 0) ` in a straight line to `(2,
74742)` , then increases its slope and travels to ` (4, 8)`.
7575
76- A curve where 50% vests the first month starting January 1st 2023 , and
77- the remaining 50% vests over the next year. For 100 Juno.
76+ Here is a curve where 50% vests the first 30 days (2,592,000 seconds) , and the
77+ remaining 50% vests over the next year (31,536,000 seconds):
7878
7979``` json
8080{
8181 "piecewise_linear" : [
82- (1672531200 , "0"),
83- (1675209600 , "50000000"),
84- (1706745600 , "100000000")
82+ (0 , "0"),
83+ (2592000 , "50000000"),
84+ (31536000 , "100000000")
8585 ]
8686}
8787```
8888
89+ These are tuples of ` (seconds_since_start, tokens_released) ` . The first must be
90+ ` (0, 0) ` .
91+
8992### Creating native token vesting
9093
9194If vesting native tokens, you need to include the exact amount in native funds that you are vesting when you instantiate the contract.
You can’t perform that action at this time.
0 commit comments