sablier 1.8.0-beta.2 → 1.8.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/evm/csv/airdrops/instant.csv +4 -0
  2. package/dist/evm/csv/airdrops/instant.schema.json +16 -0
  3. package/dist/evm/csv/common.schema.json +37 -0
  4. package/dist/evm/csv/flow/stream.csv +4 -0
  5. package/dist/evm/csv/flow/stream.schema.json +26 -0
  6. package/dist/evm/csv/lockup/backweighted.csv +4 -0
  7. package/dist/evm/csv/lockup/duration/backweighted.schema.json +25 -0
  8. package/dist/evm/csv/lockup/duration/cliff-exponential.csv +4 -0
  9. package/dist/evm/csv/lockup/duration/cliff-exponential.schema.json +25 -0
  10. package/dist/evm/csv/lockup/duration/cliff.csv +4 -0
  11. package/dist/evm/csv/lockup/duration/cliff.schema.json +25 -0
  12. package/dist/evm/csv/lockup/duration/double-unlock.csv +4 -0
  13. package/dist/evm/csv/lockup/duration/double-unlock.schema.json +39 -0
  14. package/dist/evm/csv/lockup/duration/exponential.csv +4 -0
  15. package/dist/evm/csv/lockup/duration/exponential.schema.json +19 -0
  16. package/dist/evm/csv/lockup/duration/linear.csv +4 -0
  17. package/dist/evm/csv/lockup/duration/linear.schema.json +19 -0
  18. package/dist/evm/csv/lockup/duration/monthly.schema.json +25 -0
  19. package/dist/evm/csv/lockup/duration/stepper.csv +4 -0
  20. package/dist/evm/csv/lockup/duration/stepper.schema.json +22 -0
  21. package/dist/evm/csv/lockup/duration/timelock.csv +4 -0
  22. package/dist/evm/csv/lockup/duration/timelock.schema.json +19 -0
  23. package/dist/evm/csv/lockup/duration/unlock-cliff.csv +4 -0
  24. package/dist/evm/csv/lockup/duration/unlock-cliff.schema.json +28 -0
  25. package/dist/evm/csv/lockup/duration/unlock-linear.csv +4 -0
  26. package/dist/evm/csv/lockup/duration/unlock-linear.schema.json +22 -0
  27. package/dist/evm/csv/lockup/monthly.csv +4 -0
  28. package/dist/evm/csv/lockup/range/backweighted.schema.json +25 -0
  29. package/dist/evm/csv/lockup/range/cliff-exponential.csv +4 -0
  30. package/dist/evm/csv/lockup/range/cliff-exponential.schema.json +28 -0
  31. package/dist/evm/csv/lockup/range/cliff.csv +4 -0
  32. package/dist/evm/csv/lockup/range/cliff.schema.json +28 -0
  33. package/dist/evm/csv/lockup/range/double-unlock.csv +4 -0
  34. package/dist/evm/csv/lockup/range/double-unlock.schema.json +43 -0
  35. package/dist/evm/csv/lockup/range/exponential.csv +4 -0
  36. package/dist/evm/csv/lockup/range/exponential.schema.json +22 -0
  37. package/dist/evm/csv/lockup/range/linear.csv +4 -0
  38. package/dist/evm/csv/lockup/range/linear.schema.json +22 -0
  39. package/dist/evm/csv/lockup/range/monthly.schema.json +25 -0
  40. package/dist/evm/csv/lockup/range/stepper.csv +4 -0
  41. package/dist/evm/csv/lockup/range/stepper.schema.json +25 -0
  42. package/dist/evm/csv/lockup/range/timelock.csv +4 -0
  43. package/dist/evm/csv/lockup/range/timelock.schema.json +19 -0
  44. package/dist/evm/csv/lockup/range/unlock-cliff.csv +4 -0
  45. package/dist/evm/csv/lockup/range/unlock-cliff.schema.json +31 -0
  46. package/dist/evm/csv/lockup/range/unlock-linear.csv +4 -0
  47. package/dist/evm/csv/lockup/range/unlock-linear.schema.json +25 -0
  48. package/package.json +1 -1
@@ -0,0 +1,4 @@
1
+ address,amount
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,100
3
+ 0x0298F4332e3857631385b39766325058a93e249f,422.85
4
+ 0xb5eE97557287f3AB8F57C73DF9A4bF6EcF4bFaEe,1337
@@ -0,0 +1,16 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Airdrop CSV Schema",
4
+ "description": "Schema for instant airdrops (no vesting)",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../common.schema.json#/$defs/address"
9
+ },
10
+ "amount": {
11
+ "$ref": "../common.schema.json#/$defs/amount"
12
+ }
13
+ },
14
+ "required": ["address", "amount"],
15
+ "additionalProperties": false
16
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "common.schema.json",
4
+ "description": "Shared definitions for CSV template schemas",
5
+ "$defs": {
6
+ "address": {
7
+ "type": "string",
8
+ "pattern": "^0x[a-fA-F0-9]{40}$",
9
+ "description": "Recipient Ethereum address"
10
+ },
11
+ "amount": {
12
+ "type": "string",
13
+ "pattern": "^[0-9]+(\\.[0-9]+)?$",
14
+ "description": "Token amount to stream"
15
+ },
16
+ "timestamp": {
17
+ "type": "string",
18
+ "pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}$",
19
+ "description": "Timestamp (YYYY-MM-DD HH:mm)"
20
+ },
21
+ "duration": {
22
+ "type": "string",
23
+ "minLength": 1,
24
+ "description": "Relative duration (e.g., '2 years 20 days')"
25
+ },
26
+ "positiveInteger": {
27
+ "type": "string",
28
+ "pattern": "^[1-9][0-9]*$",
29
+ "description": "Positive integer"
30
+ },
31
+ "unlockPercentages": {
32
+ "type": "string",
33
+ "pattern": "^[0-9]+(;[0-9]+)*$",
34
+ "description": "Semicolon-separated unlock percentages (e.g., '10;20;30;40')"
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,4 @@
1
+ address,rate,interval,initialDeposit
2
+ 0xf31b00e025584486f7c37Cf0AE0073c97c12c634,1000,year,2000
3
+ 0xf31b00e025584486f7c37Cf0AE0073c97c12c634,500,month,1000
4
+ 0xf31b00e025584486f7c37Cf0AE0073c97c12c634,100,day,0
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Flow Stream CSV Schema",
4
+ "description": "Schema for Flow streams with rate-based distribution",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../common.schema.json#/$defs/address"
9
+ },
10
+ "rate": {
11
+ "type": "string",
12
+ "pattern": "^[0-9]+(\\.[0-9]+)?$",
13
+ "description": "Token amount per interval"
14
+ },
15
+ "interval": {
16
+ "type": "string",
17
+ "enum": ["second", "minute", "hour", "day", "week", "month", "year"],
18
+ "description": "Time interval for rate"
19
+ },
20
+ "initialDeposit": {
21
+ "$ref": "../common.schema.json#/$defs/amount"
22
+ }
23
+ },
24
+ "required": ["address", "rate", "interval", "initialDeposit"],
25
+ "additionalProperties": false
26
+ }
@@ -0,0 +1,4 @@
1
+ address,amount,start,years,unlocks
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,100,2026-01-12 16:15,4,10;20;30;40
3
+ 0x0298F4332e3857631385b39766325058a93e249f,422.85,2025-01-12 16:15,4,20;20;20;40
4
+ 0xc3c51E27C228deBC182E8C802DCB4cA919acbC77,1337,2026-01-12 16:15,4,20;20;20;40
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Duration Backweighted CSV Schema",
4
+ "description": "Schema for backweighted vesting",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../../common.schema.json#/$defs/address"
9
+ },
10
+ "amount": {
11
+ "$ref": "../../common.schema.json#/$defs/amount"
12
+ },
13
+ "start": {
14
+ "$ref": "../../common.schema.json#/$defs/timestamp"
15
+ },
16
+ "years": {
17
+ "$ref": "../../common.schema.json#/$defs/positiveInteger"
18
+ },
19
+ "unlocks": {
20
+ "$ref": "../../common.schema.json#/$defs/unlockPercentages"
21
+ }
22
+ },
23
+ "required": ["address", "amount", "start", "years", "unlocks"],
24
+ "additionalProperties": false
25
+ }
@@ -0,0 +1,4 @@
1
+ address,amount,duration,cliffDuration,cliffAmount
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,100,2 years 20 days,1 years 45 days 6 hours,10
3
+ 0x0298F4332e3857631385b39766325058a93e249f,422.85,1 years 20 days,45 days,100
4
+ 0xc3c51E27C228deBC182E8C802DCB4cA919acbC77,1337,20 days,10 hours,150
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Duration Cliff-Exponential CSV Schema",
4
+ "description": "Schema for cliff-exponential vesting with relative duration",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../../common.schema.json#/$defs/address"
9
+ },
10
+ "amount": {
11
+ "$ref": "../../common.schema.json#/$defs/amount"
12
+ },
13
+ "duration": {
14
+ "$ref": "../../common.schema.json#/$defs/duration"
15
+ },
16
+ "cliffDuration": {
17
+ "$ref": "../../common.schema.json#/$defs/duration"
18
+ },
19
+ "cliffAmount": {
20
+ "$ref": "../../common.schema.json#/$defs/amount"
21
+ }
22
+ },
23
+ "required": ["address", "amount", "duration", "cliffDuration", "cliffAmount"],
24
+ "additionalProperties": false
25
+ }
@@ -0,0 +1,4 @@
1
+ address,amount,duration,cliffDuration,cliffAmount
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,100,2 years 20 days,1 years 45 days 6 hours,50
3
+ 0x0298F4332e3857631385b39766325058a93e249f,422.85,1 years 20 days,45 days,120
4
+ 0xc3c51E27C228deBC182E8C802DCB4cA919acbC77,1337,20 days,10 hours,999
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Duration Cliff CSV Schema",
4
+ "description": "Schema for cliff vesting with relative duration",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../../common.schema.json#/$defs/address"
9
+ },
10
+ "amount": {
11
+ "$ref": "../../common.schema.json#/$defs/amount"
12
+ },
13
+ "duration": {
14
+ "$ref": "../../common.schema.json#/$defs/duration"
15
+ },
16
+ "cliffDuration": {
17
+ "$ref": "../../common.schema.json#/$defs/duration"
18
+ },
19
+ "cliffAmount": {
20
+ "$ref": "../../common.schema.json#/$defs/amount"
21
+ }
22
+ },
23
+ "required": ["address", "amount", "duration", "cliffDuration", "cliffAmount"],
24
+ "additionalProperties": false
25
+ }
@@ -0,0 +1,4 @@
1
+ address,amount,duration,firstUnlockDuration,firstUnlockAmount,secondUnlockDuration,secondUnlockAmount
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,100,2 years 20 days,1 years 45 days 6 hours,10,30 days 6 hours,20
3
+ 0x0298F4332e3857631385b39766325058a93e249f,422.85,1 years 20 days,45 days,100,30 days 6 hours,40
4
+ 0xc3c51E27C228deBC182E8C802DCB4cA919acbC77,1337,20 days,10 hours,150,6 hours,20
@@ -0,0 +1,39 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Duration Double-Unlock CSV Schema",
4
+ "description": "Schema for double-unlock vesting with relative duration",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../../common.schema.json#/$defs/address"
9
+ },
10
+ "amount": {
11
+ "$ref": "../../common.schema.json#/$defs/amount"
12
+ },
13
+ "duration": {
14
+ "$ref": "../../common.schema.json#/$defs/duration"
15
+ },
16
+ "firstUnlockDuration": {
17
+ "$ref": "../../common.schema.json#/$defs/duration"
18
+ },
19
+ "firstUnlockAmount": {
20
+ "$ref": "../../common.schema.json#/$defs/amount"
21
+ },
22
+ "secondUnlockDuration": {
23
+ "$ref": "../../common.schema.json#/$defs/duration"
24
+ },
25
+ "secondUnlockAmount": {
26
+ "$ref": "../../common.schema.json#/$defs/amount"
27
+ }
28
+ },
29
+ "required": [
30
+ "address",
31
+ "amount",
32
+ "duration",
33
+ "firstUnlockDuration",
34
+ "firstUnlockAmount",
35
+ "secondUnlockDuration",
36
+ "secondUnlockAmount"
37
+ ],
38
+ "additionalProperties": false
39
+ }
@@ -0,0 +1,4 @@
1
+ address,amount,duration
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,100,2 years 20 days
3
+ 0x0298F4332e3857631385b39766325058a93e249f,422.85,20 days 8 hours
4
+ 0xc3c51E27C228deBC182E8C802DCB4cA919acbC77,1337,2 years 4 hours
@@ -0,0 +1,19 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Duration Exponential CSV Schema",
4
+ "description": "Schema for exponential vesting with relative duration",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../../common.schema.json#/$defs/address"
9
+ },
10
+ "amount": {
11
+ "$ref": "../../common.schema.json#/$defs/amount"
12
+ },
13
+ "duration": {
14
+ "$ref": "../../common.schema.json#/$defs/duration"
15
+ }
16
+ },
17
+ "required": ["address", "amount", "duration"],
18
+ "additionalProperties": false
19
+ }
@@ -0,0 +1,4 @@
1
+ address,amount,duration
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,100,2 years 20 days
3
+ 0x0298F4332e3857631385b39766325058a93e249f,422.85,20 days 8 hours
4
+ 0xc3c51E27C228deBC182E8C802DCB4cA919acbC77,1337,2 years 4 hours
@@ -0,0 +1,19 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Duration Linear CSV Schema",
4
+ "description": "Schema for linear vesting with relative duration",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../../common.schema.json#/$defs/address"
9
+ },
10
+ "amount": {
11
+ "$ref": "../../common.schema.json#/$defs/amount"
12
+ },
13
+ "duration": {
14
+ "$ref": "../../common.schema.json#/$defs/duration"
15
+ }
16
+ },
17
+ "required": ["address", "amount", "duration"],
18
+ "additionalProperties": false
19
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Duration Monthly CSV Schema",
4
+ "description": "Schema for monthly vesting",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../../common.schema.json#/$defs/address"
9
+ },
10
+ "amount": {
11
+ "$ref": "../../common.schema.json#/$defs/amount"
12
+ },
13
+ "start": {
14
+ "$ref": "../../common.schema.json#/$defs/timestamp"
15
+ },
16
+ "months": {
17
+ "$ref": "../../common.schema.json#/$defs/positiveInteger"
18
+ },
19
+ "initial": {
20
+ "$ref": "../../common.schema.json#/$defs/duration"
21
+ }
22
+ },
23
+ "required": ["address", "amount", "start", "months", "initial"],
24
+ "additionalProperties": false
25
+ }
@@ -0,0 +1,4 @@
1
+ address,amount,duration,steps
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,100,2 years 20 days,4
3
+ 0x0298F4332e3857631385b39766325058a93e249f,422.85,20 days 8 hours,5
4
+ 0xc3c51E27C228deBC182E8C802DCB4cA919acbC77,1337,2 years 4 hours,6
@@ -0,0 +1,22 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Duration Stepper CSV Schema",
4
+ "description": "Schema for stepper vesting with relative duration",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../../common.schema.json#/$defs/address"
9
+ },
10
+ "amount": {
11
+ "$ref": "../../common.schema.json#/$defs/amount"
12
+ },
13
+ "duration": {
14
+ "$ref": "../../common.schema.json#/$defs/duration"
15
+ },
16
+ "steps": {
17
+ "$ref": "../../common.schema.json#/$defs/positiveInteger"
18
+ }
19
+ },
20
+ "required": ["address", "amount", "duration", "steps"],
21
+ "additionalProperties": false
22
+ }
@@ -0,0 +1,4 @@
1
+ address,amount,duration
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,100,2 years 20 days
3
+ 0x0298F4332e3857631385b39766325058a93e249f,422.85,20 days 8 hours
4
+ 0xc3c51E27C228deBC182E8C802DCB4cA919acbC77,1337,2 years 4 hours
@@ -0,0 +1,19 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Duration Timelock CSV Schema",
4
+ "description": "Schema for timelock with relative duration",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../../common.schema.json#/$defs/address"
9
+ },
10
+ "amount": {
11
+ "$ref": "../../common.schema.json#/$defs/amount"
12
+ },
13
+ "duration": {
14
+ "$ref": "../../common.schema.json#/$defs/duration"
15
+ }
16
+ },
17
+ "required": ["address", "amount", "duration"],
18
+ "additionalProperties": false
19
+ }
@@ -0,0 +1,4 @@
1
+ address,amount,duration,cliffDuration,unlock,cliffAmount
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,100,2 years 20 days,1 years 45 days 6 hours,80, 10
3
+ 0x0298F4332e3857631385b39766325058a93e249f,422.85,2 years 20 days,1 years 45 days 6 hours,80, 10
4
+ 0xc3c51E27C228deBC182E8C802DCB4cA919acbC77,1337,2 years 20 days,1 years 45 days 6 hours,80, 10
@@ -0,0 +1,28 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Duration Unlock-Cliff CSV Schema",
4
+ "description": "Schema for unlock-cliff vesting with relative duration",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../../common.schema.json#/$defs/address"
9
+ },
10
+ "amount": {
11
+ "$ref": "../../common.schema.json#/$defs/amount"
12
+ },
13
+ "duration": {
14
+ "$ref": "../../common.schema.json#/$defs/duration"
15
+ },
16
+ "cliffDuration": {
17
+ "$ref": "../../common.schema.json#/$defs/duration"
18
+ },
19
+ "unlock": {
20
+ "$ref": "../../common.schema.json#/$defs/amount"
21
+ },
22
+ "cliffAmount": {
23
+ "$ref": "../../common.schema.json#/$defs/amount"
24
+ }
25
+ },
26
+ "required": ["address", "amount", "duration", "cliffDuration", "unlock", "cliffAmount"],
27
+ "additionalProperties": false
28
+ }
@@ -0,0 +1,4 @@
1
+ address,amount,duration,unlock
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,100,1 years 5 days,80
3
+ 0x0298F4332e3857631385b39766325058a93e249f,422.85,2 years 10 days,80
4
+ 0xc3c51E27C228deBC182E8C802DCB4cA919acbC77,1337,2 years 20 days 3 hours,80
@@ -0,0 +1,22 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Duration Unlock-Linear CSV Schema",
4
+ "description": "Schema for unlock-linear vesting with relative duration",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../../common.schema.json#/$defs/address"
9
+ },
10
+ "amount": {
11
+ "$ref": "../../common.schema.json#/$defs/amount"
12
+ },
13
+ "duration": {
14
+ "$ref": "../../common.schema.json#/$defs/duration"
15
+ },
16
+ "unlock": {
17
+ "$ref": "../../common.schema.json#/$defs/amount"
18
+ }
19
+ },
20
+ "required": ["address", "amount", "duration", "unlock"],
21
+ "additionalProperties": false
22
+ }
@@ -0,0 +1,4 @@
1
+ address,amount,start,months,initial
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,100,2026-01-12 16:15,7,at start
3
+ 0x0298F4332e3857631385b39766325058a93e249f,422.85,2025-01-12 16:15,6,end of first month
4
+ 0xc3c51E27C228deBC182E8C802DCB4cA919acbC77,1337,2026-01-12 16:15,5,at start
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Range Backweighted CSV Schema",
4
+ "description": "Schema for backweighted vesting",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../../common.schema.json#/$defs/address"
9
+ },
10
+ "amount": {
11
+ "$ref": "../../common.schema.json#/$defs/amount"
12
+ },
13
+ "start": {
14
+ "$ref": "../../common.schema.json#/$defs/timestamp"
15
+ },
16
+ "years": {
17
+ "$ref": "../../common.schema.json#/$defs/positiveInteger"
18
+ },
19
+ "unlocks": {
20
+ "$ref": "../../common.schema.json#/$defs/unlockPercentages"
21
+ }
22
+ },
23
+ "required": ["address", "amount", "start", "years", "unlocks"],
24
+ "additionalProperties": false
25
+ }
@@ -0,0 +1,4 @@
1
+ address,amount,start,end,cliffEnd,cliffAmount
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,100,2024-01-12 16:15,2026-01-24 16:15,2024-01-23 16:15,10
3
+ 0x0298F4332e3857631385b39766325058a93e249f,422.85,2023-01-12 16:15,2026-06-12 16:15,2024-06-11 16:15,100
4
+ 0xc3c51E27C228deBC182E8C802DCB4cA919acbC77,1337,2024-01-12 16:15,2026-11-12 16:15,2024-11-11 16:15,150
@@ -0,0 +1,28 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Range Cliff-Exponential CSV Schema",
4
+ "description": "Schema for cliff-exponential vesting with absolute timestamps",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../../common.schema.json#/$defs/address"
9
+ },
10
+ "amount": {
11
+ "$ref": "../../common.schema.json#/$defs/amount"
12
+ },
13
+ "start": {
14
+ "$ref": "../../common.schema.json#/$defs/timestamp"
15
+ },
16
+ "end": {
17
+ "$ref": "../../common.schema.json#/$defs/timestamp"
18
+ },
19
+ "cliffEnd": {
20
+ "$ref": "../../common.schema.json#/$defs/timestamp"
21
+ },
22
+ "cliffAmount": {
23
+ "$ref": "../../common.schema.json#/$defs/amount"
24
+ }
25
+ },
26
+ "required": ["address", "amount", "start", "end", "cliffEnd", "cliffAmount"],
27
+ "additionalProperties": false
28
+ }
@@ -0,0 +1,4 @@
1
+ address,amount,start,end,cliffEnd,cliffAmount
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,100,2024-01-12 16:15,2026-01-24 16:15,2024-01-23 16:15,50
3
+ 0x0298F4332e3857631385b39766325058a93e249f,422.85,2023-01-12 16:15,2026-06-12 16:15,2024-06-11 16:15,120
4
+ 0xc3c51E27C228deBC182E8C802DCB4cA919acbC77,1337,2024-01-12 16:15,2026-11-12 16:15,2024-11-11 16:15,999
@@ -0,0 +1,28 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Range Cliff CSV Schema",
4
+ "description": "Schema for cliff vesting with absolute timestamps",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../../common.schema.json#/$defs/address"
9
+ },
10
+ "amount": {
11
+ "$ref": "../../common.schema.json#/$defs/amount"
12
+ },
13
+ "start": {
14
+ "$ref": "../../common.schema.json#/$defs/timestamp"
15
+ },
16
+ "end": {
17
+ "$ref": "../../common.schema.json#/$defs/timestamp"
18
+ },
19
+ "cliffEnd": {
20
+ "$ref": "../../common.schema.json#/$defs/timestamp"
21
+ },
22
+ "cliffAmount": {
23
+ "$ref": "../../common.schema.json#/$defs/amount"
24
+ }
25
+ },
26
+ "required": ["address", "amount", "start", "end", "cliffEnd", "cliffAmount"],
27
+ "additionalProperties": false
28
+ }
@@ -0,0 +1,4 @@
1
+ address,amount,start,end,firstUnlockEnd,firstUnlockAmount,secondUnlockEnd,secondUnlockAmount
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,100,2024-01-12 16:15,2026-01-24 16:15,2024-01-23 16:15,10,2024-02-24 16:15,10
3
+ 0x0298F4332e3857631385b39766325058a93e249f,422.85,2023-01-12 16:15,2026-06-12 16:15,2024-06-11 16:15,100,2024-07-15 16:15,100
4
+ 0xc3c51E27C228deBC182E8C802DCB4cA919acbC77,1337,2024-01-12 16:15,2026-11-12 16:15,2024-11-11 16:15,150,2024-12-17 16:15,150
@@ -0,0 +1,43 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Range Double-Unlock CSV Schema",
4
+ "description": "Schema for double-unlock vesting with absolute timestamps",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../../common.schema.json#/$defs/address"
9
+ },
10
+ "amount": {
11
+ "$ref": "../../common.schema.json#/$defs/amount"
12
+ },
13
+ "start": {
14
+ "$ref": "../../common.schema.json#/$defs/timestamp"
15
+ },
16
+ "end": {
17
+ "$ref": "../../common.schema.json#/$defs/timestamp"
18
+ },
19
+ "firstUnlockEnd": {
20
+ "$ref": "../../common.schema.json#/$defs/timestamp"
21
+ },
22
+ "firstUnlockAmount": {
23
+ "$ref": "../../common.schema.json#/$defs/amount"
24
+ },
25
+ "secondUnlockEnd": {
26
+ "$ref": "../../common.schema.json#/$defs/timestamp"
27
+ },
28
+ "secondUnlockAmount": {
29
+ "$ref": "../../common.schema.json#/$defs/amount"
30
+ }
31
+ },
32
+ "required": [
33
+ "address",
34
+ "amount",
35
+ "start",
36
+ "end",
37
+ "firstUnlockEnd",
38
+ "firstUnlockAmount",
39
+ "secondUnlockEnd",
40
+ "secondUnlockAmount"
41
+ ],
42
+ "additionalProperties": false
43
+ }
@@ -0,0 +1,4 @@
1
+ address,amount,start,end
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,100,2024-01-12 16:15,2026-01-24 16:15
3
+ 0x0298F4332e3857631385b39766325058a93e249f,422.85,2023-01-12 16:15,2026-06-12 16:15
4
+ 0xc3c51E27C228deBC182E8C802DCB4cA919acbC77,1337,2024-01-12 16:15,2026-11-12 16:15
@@ -0,0 +1,22 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Range Exponential CSV Schema",
4
+ "description": "Schema for exponential vesting with absolute timestamps",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../../common.schema.json#/$defs/address"
9
+ },
10
+ "amount": {
11
+ "$ref": "../../common.schema.json#/$defs/amount"
12
+ },
13
+ "start": {
14
+ "$ref": "../../common.schema.json#/$defs/timestamp"
15
+ },
16
+ "end": {
17
+ "$ref": "../../common.schema.json#/$defs/timestamp"
18
+ }
19
+ },
20
+ "required": ["address", "amount", "start", "end"],
21
+ "additionalProperties": false
22
+ }
@@ -0,0 +1,4 @@
1
+ address,amount,start,end
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,100,2024-01-12 16:15,2026-01-24 16:15
3
+ 0x0298F4332e3857631385b39766325058a93e249f,422.85,2023-01-12 16:15,2026-06-12 16:15
4
+ 0xc3c51E27C228deBC182E8C802DCB4cA919acbC77,1337,2024-01-12 16:15,2026-11-12 16:15
@@ -0,0 +1,22 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Range Linear CSV Schema",
4
+ "description": "Schema for linear vesting with absolute timestamps",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../../common.schema.json#/$defs/address"
9
+ },
10
+ "amount": {
11
+ "$ref": "../../common.schema.json#/$defs/amount"
12
+ },
13
+ "start": {
14
+ "$ref": "../../common.schema.json#/$defs/timestamp"
15
+ },
16
+ "end": {
17
+ "$ref": "../../common.schema.json#/$defs/timestamp"
18
+ }
19
+ },
20
+ "required": ["address", "amount", "start", "end"],
21
+ "additionalProperties": false
22
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Range Monthly CSV Schema",
4
+ "description": "Schema for monthly vesting",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../../common.schema.json#/$defs/address"
9
+ },
10
+ "amount": {
11
+ "$ref": "../../common.schema.json#/$defs/amount"
12
+ },
13
+ "start": {
14
+ "$ref": "../../common.schema.json#/$defs/timestamp"
15
+ },
16
+ "months": {
17
+ "$ref": "../../common.schema.json#/$defs/positiveInteger"
18
+ },
19
+ "initial": {
20
+ "$ref": "../../common.schema.json#/$defs/duration"
21
+ }
22
+ },
23
+ "required": ["address", "amount", "start", "months", "initial"],
24
+ "additionalProperties": false
25
+ }
@@ -0,0 +1,4 @@
1
+ address,amount,start,end,steps
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,100,2024-01-12 16:15,2026-01-24 16:15,7
3
+ 0x0298F4332e3857631385b39766325058a93e249f,422.85,2023-01-12 16:15,2026-06-12 16:15,6
4
+ 0xc3c51E27C228deBC182E8C802DCB4cA919acbC77,1337,2024-01-12 16:15,2026-11-12 16:15,5
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Range Stepper CSV Schema",
4
+ "description": "Schema for stepper vesting with absolute timestamps",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../../common.schema.json#/$defs/address"
9
+ },
10
+ "amount": {
11
+ "$ref": "../../common.schema.json#/$defs/amount"
12
+ },
13
+ "start": {
14
+ "$ref": "../../common.schema.json#/$defs/timestamp"
15
+ },
16
+ "end": {
17
+ "$ref": "../../common.schema.json#/$defs/timestamp"
18
+ },
19
+ "steps": {
20
+ "$ref": "../../common.schema.json#/$defs/positiveInteger"
21
+ }
22
+ },
23
+ "required": ["address", "amount", "start", "end", "steps"],
24
+ "additionalProperties": false
25
+ }
@@ -0,0 +1,4 @@
1
+ address,amount,end
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,100,2026-01-24 16:15
3
+ 0x0298F4332e3857631385b39766325058a93e249f,422.85,2026-06-12 16:15
4
+ 0xc3c51E27C228deBC182E8C802DCB4cA919acbC77,1337,2026-11-12 16:15
@@ -0,0 +1,19 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Range Timelock CSV Schema",
4
+ "description": "Schema for timelock with absolute timestamp",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../../common.schema.json#/$defs/address"
9
+ },
10
+ "amount": {
11
+ "$ref": "../../common.schema.json#/$defs/amount"
12
+ },
13
+ "end": {
14
+ "$ref": "../../common.schema.json#/$defs/timestamp"
15
+ }
16
+ },
17
+ "required": ["address", "amount", "end"],
18
+ "additionalProperties": false
19
+ }
@@ -0,0 +1,4 @@
1
+ address,amount,start,end,cliffEnd,unlock,cliffAmount
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,100,2024-01-12 16:15,2026-01-24 16:15,2024-01-23 16:15,80,10
3
+ 0x0298F4332e3857631385b39766325058a93e249f,422.85,2023-01-12 16:15,2026-06-12 16:15,2024-06-11 16:15,80,10
4
+ 0xc3c51E27C228deBC182E8C802DCB4cA919acbC77,1337,2024-01-12 16:15,2026-11-12 16:15,2024-11-11 16:15,80,10
@@ -0,0 +1,31 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Range Unlock-Cliff CSV Schema",
4
+ "description": "Schema for unlock-cliff vesting with absolute timestamps",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../../common.schema.json#/$defs/address"
9
+ },
10
+ "amount": {
11
+ "$ref": "../../common.schema.json#/$defs/amount"
12
+ },
13
+ "start": {
14
+ "$ref": "../../common.schema.json#/$defs/timestamp"
15
+ },
16
+ "end": {
17
+ "$ref": "../../common.schema.json#/$defs/timestamp"
18
+ },
19
+ "cliffEnd": {
20
+ "$ref": "../../common.schema.json#/$defs/timestamp"
21
+ },
22
+ "unlock": {
23
+ "$ref": "../../common.schema.json#/$defs/amount"
24
+ },
25
+ "cliffAmount": {
26
+ "$ref": "../../common.schema.json#/$defs/amount"
27
+ }
28
+ },
29
+ "required": ["address", "amount", "start", "end", "cliffEnd", "unlock", "cliffAmount"],
30
+ "additionalProperties": false
31
+ }
@@ -0,0 +1,4 @@
1
+ address,amount,start,end,unlock
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,100,2024-01-12 16:15,2035-01-24 16:15,80
3
+ 0x0298F4332e3857631385b39766325058a93e249f,422.85,2023-01-12 16:15,2035-06-12 16:15,80
4
+ 0xc3c51E27C228deBC182E8C802DCB4cA919acbC77,1337,2024-01-12 16:15,2035-11-12 16:15,80
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Range Unlock-Linear CSV Schema",
4
+ "description": "Schema for unlock-linear vesting with absolute timestamps",
5
+ "type": "object",
6
+ "properties": {
7
+ "address": {
8
+ "$ref": "../../common.schema.json#/$defs/address"
9
+ },
10
+ "amount": {
11
+ "$ref": "../../common.schema.json#/$defs/amount"
12
+ },
13
+ "start": {
14
+ "$ref": "../../common.schema.json#/$defs/timestamp"
15
+ },
16
+ "end": {
17
+ "$ref": "../../common.schema.json#/$defs/timestamp"
18
+ },
19
+ "unlock": {
20
+ "$ref": "../../common.schema.json#/$defs/amount"
21
+ }
22
+ },
23
+ "required": ["address", "amount", "start", "end", "unlock"],
24
+ "additionalProperties": false
25
+ }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "license": "GPL-3.0-or-later",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
- "version": "1.8.0-beta.2",
7
+ "version": "1.8.0-beta.3",
8
8
  "author": {
9
9
  "name": "Sablier Labs Ltd",
10
10
  "url": "https://sablier.com"