sablier 1.8.0-beta.20 → 1.8.0-beta.22

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 (42) hide show
  1. package/dist/evm/csv/flow/index.d.ts +4 -3
  2. package/dist/evm/csv/flow/index.d.ts.map +1 -1
  3. package/dist/evm/csv/flow/stream.csv +3 -3
  4. package/dist/evm/csv/flow/stream.schema.json +7 -4
  5. package/dist/evm/csv/lockup/duration/cliff.csv +3 -3
  6. package/dist/evm/csv/lockup/duration/cliff.schema.json +4 -4
  7. package/dist/evm/csv/lockup/duration/dynamicCliffExponential.csv +3 -3
  8. package/dist/evm/csv/lockup/duration/dynamicCliffExponential.schema.json +4 -4
  9. package/dist/evm/csv/lockup/duration/dynamicDoubleCliff.schema.json +7 -7
  10. package/dist/evm/csv/lockup/duration/dynamicDoubleUnlock.csv +3 -3
  11. package/dist/evm/csv/lockup/duration/index.d.ts +7 -7
  12. package/dist/evm/csv/lockup/duration/index.d.ts.map +1 -1
  13. package/dist/evm/csv/lockup/duration/linearUnlockCliff.csv +3 -3
  14. package/dist/evm/csv/lockup/duration/linearUnlockCliff.schema.json +5 -5
  15. package/dist/evm/csv/lockup/duration/linearUnlockLinear.csv +3 -3
  16. package/dist/evm/csv/lockup/duration/linearUnlockLinear.schema.json +2 -2
  17. package/dist/evm/csv/lockup/duration/tranchedStepper.csv +1 -1
  18. package/dist/evm/csv/lockup/duration/tranchedStepper.schema.json +2 -2
  19. package/dist/evm/csv/lockup/range/cliff.csv +3 -3
  20. package/dist/evm/csv/lockup/range/cliff.schema.json +6 -6
  21. package/dist/evm/csv/lockup/range/dynamicCliffExponential.csv +3 -3
  22. package/dist/evm/csv/lockup/range/dynamicCliffExponential.schema.json +6 -6
  23. package/dist/evm/csv/lockup/range/dynamicDoubleCliff.schema.json +11 -11
  24. package/dist/evm/csv/lockup/range/dynamicDoubleUnlock.csv +3 -3
  25. package/dist/evm/csv/lockup/range/dynamicExponential.csv +1 -1
  26. package/dist/evm/csv/lockup/range/dynamicExponential.schema.json +3 -3
  27. package/dist/evm/csv/lockup/range/index.d.ts +15 -16
  28. package/dist/evm/csv/lockup/range/index.d.ts.map +1 -1
  29. package/dist/evm/csv/lockup/range/linear.csv +1 -1
  30. package/dist/evm/csv/lockup/range/linear.schema.json +3 -3
  31. package/dist/evm/csv/lockup/range/linearTimelock.csv +1 -1
  32. package/dist/evm/csv/lockup/range/linearUnlockCliff.csv +3 -3
  33. package/dist/evm/csv/lockup/range/linearUnlockCliff.schema.json +7 -7
  34. package/dist/evm/csv/lockup/range/linearUnlockLinear.csv +3 -3
  35. package/dist/evm/csv/lockup/range/linearUnlockLinear.schema.json +4 -4
  36. package/dist/evm/csv/lockup/range/tranchedBackweighted.csv +3 -3
  37. package/dist/evm/csv/lockup/range/tranchedMonthly.csv +3 -3
  38. package/dist/evm/csv/lockup/range/tranchedStepper.csv +1 -1
  39. package/dist/evm/csv/lockup/range/tranchedStepper.schema.json +4 -4
  40. package/dist/evm/csv/lockup/range/tranchedTimelock.csv +1 -1
  41. package/dist/evm/csv/lockup/range/tranchedTimelock.schema.json +2 -2
  42. package/package.json +1 -1
@@ -1,8 +1,9 @@
1
1
  export type StreamColumns = {
2
2
  address: string;
3
- rate: string;
4
- interval: string;
5
- initialDeposit: string;
3
+ rateAmount: string;
4
+ rateInterval: string;
5
+ initialDepositAmount: string;
6
+ startAt: string;
6
7
  };
7
8
  export type Columns = StreamColumns;
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/evm/csv/flow/index.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,aAAa,GAAG;IAE1B,OAAO,EAAE,MAAM,CAAC;IAEhB,IAAI,EAAE,MAAM,CAAC;IAEb,QAAQ,EAAE,MAAM,CAAC;IAEjB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/evm/csv/flow/index.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,aAAa,GAAG;IAE1B,OAAO,EAAE,MAAM,CAAC;IAEhB,UAAU,EAAE,MAAM,CAAC;IAEnB,YAAY,EAAE,MAAM,CAAC;IAErB,oBAAoB,EAAE,MAAM,CAAC;IAE7B,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,aAAa,CAAC"}
@@ -1,3 +1,3 @@
1
- address,rate,interval,initialDeposit
2
- 0x8b1dD8774373729B7755202079F52D8c7444D335,50,year,100
3
- 0x0298F4332e3857631385b39766325058a93e249f,25,month,50
1
+ address,rateAmount,rateInterval,initialDepositAmount,startAt
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,50,year,100,2027-01-12 16:15
3
+ 0x0298F4332e3857631385b39766325058a93e249f,25,month,50,2027-02-15 09:00
@@ -7,20 +7,23 @@
7
7
  "address": {
8
8
  "$ref": "../common.schema.json#/$defs/address"
9
9
  },
10
- "rate": {
10
+ "rateAmount": {
11
11
  "type": "string",
12
12
  "pattern": "^[0-9]+(\\.[0-9]+)?$",
13
13
  "description": "Token amount per interval"
14
14
  },
15
- "interval": {
15
+ "rateInterval": {
16
16
  "type": "string",
17
17
  "enum": ["second", "minute", "hour", "day", "week", "month", "year"],
18
18
  "description": "Time interval for rate"
19
19
  },
20
- "initialDeposit": {
20
+ "initialDepositAmount": {
21
21
  "$ref": "../common.schema.json#/$defs/amount"
22
+ },
23
+ "startAt": {
24
+ "$ref": "../common.schema.json#/$defs/timestamp"
22
25
  }
23
26
  },
24
- "required": ["address", "rate", "interval", "initialDeposit"],
27
+ "required": ["address", "rateAmount", "rateInterval", "initialDepositAmount", "startAt"],
25
28
  "additionalProperties": false
26
29
  }
@@ -1,3 +1,3 @@
1
- address,amount,duration,cliffDuration,cliffAmount
2
- 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2 years 20 days,1 years 45 days 6 hours,21.25
3
- 0x0298F4332e3857631385b39766325058a93e249f,85.25,1 years 20 days,45 days,24.19
1
+ address,amount,duration,cliffAmount,cliffDuration
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2 years 20 days,21.25,1 years 45 days 6 hours
3
+ 0x0298F4332e3857631385b39766325058a93e249f,85.25,1 years 20 days,24.19,45 days
@@ -13,13 +13,13 @@
13
13
  "duration": {
14
14
  "$ref": "../../common.schema.json#/$defs/duration"
15
15
  },
16
- "cliffDuration": {
17
- "$ref": "../../common.schema.json#/$defs/duration"
18
- },
19
16
  "cliffAmount": {
20
17
  "$ref": "../../common.schema.json#/$defs/amount"
18
+ },
19
+ "cliffDuration": {
20
+ "$ref": "../../common.schema.json#/$defs/duration"
21
21
  }
22
22
  },
23
- "required": ["address", "amount", "duration", "cliffDuration", "cliffAmount"],
23
+ "required": ["address", "amount", "duration", "cliffAmount", "cliffDuration"],
24
24
  "additionalProperties": false
25
25
  }
@@ -1,3 +1,3 @@
1
- address,amount,duration,cliffDuration,cliffAmount
2
- 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2 years 20 days,1 years 45 days 6 hours,4.25
3
- 0x0298F4332e3857631385b39766325058a93e249f,85.25,1 years 20 days,45 days,20.16
1
+ address,amount,duration,cliffAmount,cliffDuration
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2 years 20 days,4.25,1 years 45 days 6 hours
3
+ 0x0298F4332e3857631385b39766325058a93e249f,85.25,1 years 20 days,20.16,45 days
@@ -13,13 +13,13 @@
13
13
  "duration": {
14
14
  "$ref": "../../common.schema.json#/$defs/duration"
15
15
  },
16
- "cliffDuration": {
17
- "$ref": "../../common.schema.json#/$defs/duration"
18
- },
19
16
  "cliffAmount": {
20
17
  "$ref": "../../common.schema.json#/$defs/amount"
18
+ },
19
+ "cliffDuration": {
20
+ "$ref": "../../common.schema.json#/$defs/duration"
21
21
  }
22
22
  },
23
- "required": ["address", "amount", "duration", "cliffDuration", "cliffAmount"],
23
+ "required": ["address", "amount", "duration", "cliffAmount", "cliffDuration"],
24
24
  "additionalProperties": false
25
25
  }
@@ -13,27 +13,27 @@
13
13
  "duration": {
14
14
  "$ref": "../../common.schema.json#/$defs/duration"
15
15
  },
16
- "firstUnlockDuration": {
17
- "$ref": "../../common.schema.json#/$defs/duration"
18
- },
19
16
  "firstUnlockAmount": {
20
17
  "$ref": "../../common.schema.json#/$defs/amount"
21
18
  },
22
- "secondUnlockDuration": {
19
+ "firstUnlockDuration": {
23
20
  "$ref": "../../common.schema.json#/$defs/duration"
24
21
  },
25
22
  "secondUnlockAmount": {
26
23
  "$ref": "../../common.schema.json#/$defs/amount"
24
+ },
25
+ "secondUnlockDuration": {
26
+ "$ref": "../../common.schema.json#/$defs/duration"
27
27
  }
28
28
  },
29
29
  "required": [
30
30
  "address",
31
31
  "amount",
32
32
  "duration",
33
- "firstUnlockDuration",
34
33
  "firstUnlockAmount",
35
- "secondUnlockDuration",
36
- "secondUnlockAmount"
34
+ "firstUnlockDuration",
35
+ "secondUnlockAmount",
36
+ "secondUnlockDuration"
37
37
  ],
38
38
  "additionalProperties": false
39
39
  }
@@ -1,3 +1,3 @@
1
- address,amount,duration,firstUnlockDuration,firstUnlockAmount,secondUnlockDuration,secondUnlockAmount
2
- 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2 years 20 days,1 years 45 days 6 hours,4.25,30 days 6 hours,8.5
3
- 0x0298F4332e3857631385b39766325058a93e249f,85.25,1 years 20 days,45 days,20.16,30 days 6 hours,8.06
1
+ address,amount,duration,firstUnlockAmount,firstUnlockDuration,secondUnlockAmount,secondUnlockDuration
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2 years 20 days,4.25,1 years 45 days 6 hours,8.5,30 days 6 hours
3
+ 0x0298F4332e3857631385b39766325058a93e249f,85.25,1 years 20 days,20.16,45 days,8.06,30 days 6 hours
@@ -3,28 +3,28 @@ export type LinearColumns = BaseColumns & {
3
3
  duration: string;
4
4
  };
5
5
  export type CliffColumns = LinearColumns & {
6
- cliffDuration: string;
7
6
  cliffAmount: string;
7
+ cliffDuration: string;
8
8
  };
9
9
  export type DynamicCliffExponentialColumns = CliffColumns;
10
10
  export type DynamicDoubleUnlockColumns = LinearColumns & {
11
- firstUnlockDuration: string;
12
11
  firstUnlockAmount: string;
13
- secondUnlockDuration: string;
12
+ firstUnlockDuration: string;
14
13
  secondUnlockAmount: string;
14
+ secondUnlockDuration: string;
15
15
  };
16
16
  export type DynamicExponentialColumns = LinearColumns;
17
17
  export type TranchedStepperColumns = LinearColumns & {
18
- steps: string;
18
+ stepCount: string;
19
19
  };
20
20
  export type TranchedTimelockColumns = LinearColumns;
21
21
  export type LinearUnlockCliffColumns = LinearColumns & {
22
- cliffDuration: string;
23
- unlock: string;
22
+ unlockAmount: string;
24
23
  cliffAmount: string;
24
+ cliffDuration: string;
25
25
  };
26
26
  export type LinearUnlockLinearColumns = LinearColumns & {
27
- unlock: string;
27
+ unlockAmount: string;
28
28
  };
29
29
  export type Columns = CliffColumns | DynamicDoubleUnlockColumns | DynamicCliffExponentialColumns | DynamicExponentialColumns | LinearColumns | TranchedStepperColumns | TranchedTimelockColumns | LinearUnlockCliffColumns | LinearUnlockLinearColumns;
30
30
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/evm/csv/lockup/duration/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG;IAExC,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,YAAY,GAAG,aAAa,GAAG;IAEzC,aAAa,EAAE,MAAM,CAAC;IAEtB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAMF,MAAM,MAAM,8BAA8B,GAAG,YAAY,CAAC;A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AE1B,mBAAmB,EAAE,MAAM,CAAC;IAE5B,kBAAkB,EAAE,MAAM,CAAC;IAE3B,oBAAoB,EAAE,MAAM,CAAC;CAC9B,CAAC;AAMF,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC;AAGtD,MAAM,MAAM,sBAAsB,GAAG,aAAa,GAAG;IAEnD,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAMF,MAAM,MAAM,uBAAuB,GAAG,aAAa,CAAC;AAGpD,MAAM,MAAM,wBAAwB,GAAG,aAAa,GAAG;IAErD,YAAY,EAAE,MAAM,CAAC;IAErB,WAAW,EAAE,MAAM,CAAC;IAEpB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAGF,MAAM,MAAM,yBAAyB,GAAG,aAAa,GAAG;IAEtD,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAGF,MAAM,MAAM,OAAO,GACf,YAAY,GACZ,0BAA0B,GAC1B,8BAA8B,GAC9B,yBAAyB,GACzB,aAAa,GACb,sBAAsB,GACtB,uBAAuB,GACvB,wBAAwB,GACxB,yBAAyB,CAAC"}
@@ -1,3 +1,3 @@
1
- address,amount,duration,cliffDuration,unlock,cliffAmount
2
- 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2 years 20 days,1 years 45 days 6 hours,80,4.25
3
- 0x0298F4332e3857631385b39766325058a93e249f,85.25,2 years 20 days,1 years 45 days 6 hours,80,2.02
1
+ address,amount,duration,unlockAmount,cliffAmount,cliffDuration
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2 years 20 days,8.5,4.25,1 years 45 days 6 hours
3
+ 0x0298F4332e3857631385b39766325058a93e249f,85.25,2 years 20 days,17.05,2.02,1 years 45 days 6 hours
@@ -13,16 +13,16 @@
13
13
  "duration": {
14
14
  "$ref": "../../common.schema.json#/$defs/duration"
15
15
  },
16
- "cliffDuration": {
17
- "$ref": "../../common.schema.json#/$defs/duration"
18
- },
19
- "unlock": {
16
+ "unlockAmount": {
20
17
  "$ref": "../../common.schema.json#/$defs/amount"
21
18
  },
22
19
  "cliffAmount": {
23
20
  "$ref": "../../common.schema.json#/$defs/amount"
21
+ },
22
+ "cliffDuration": {
23
+ "$ref": "../../common.schema.json#/$defs/duration"
24
24
  }
25
25
  },
26
- "required": ["address", "amount", "duration", "cliffDuration", "unlock", "cliffAmount"],
26
+ "required": ["address", "amount", "duration", "unlockAmount", "cliffAmount", "cliffDuration"],
27
27
  "additionalProperties": false
28
28
  }
@@ -1,3 +1,3 @@
1
- address,amount,duration,unlock
2
- 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,1 years 5 days,80
3
- 0x0298F4332e3857631385b39766325058a93e249f,85.25,2 years 10 days,80
1
+ address,amount,duration,unlockAmount
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,1 years 5 days,8.5
3
+ 0x0298F4332e3857631385b39766325058a93e249f,85.25,2 years 10 days,17.05
@@ -13,10 +13,10 @@
13
13
  "duration": {
14
14
  "$ref": "../../common.schema.json#/$defs/duration"
15
15
  },
16
- "unlock": {
16
+ "unlockAmount": {
17
17
  "$ref": "../../common.schema.json#/$defs/amount"
18
18
  }
19
19
  },
20
- "required": ["address", "amount", "duration", "unlock"],
20
+ "required": ["address", "amount", "duration", "unlockAmount"],
21
21
  "additionalProperties": false
22
22
  }
@@ -1,3 +1,3 @@
1
- address,amount,duration,steps
1
+ address,amount,duration,stepCount
2
2
  0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2 years 20 days,4
3
3
  0x0298F4332e3857631385b39766325058a93e249f,85.25,20 days 8 hours,5
@@ -13,10 +13,10 @@
13
13
  "duration": {
14
14
  "$ref": "../../common.schema.json#/$defs/duration"
15
15
  },
16
- "steps": {
16
+ "stepCount": {
17
17
  "$ref": "../../common.schema.json#/$defs/positiveInteger"
18
18
  }
19
19
  },
20
- "required": ["address", "amount", "duration", "steps"],
20
+ "required": ["address", "amount", "duration", "stepCount"],
21
21
  "additionalProperties": false
22
22
  }
@@ -1,3 +1,3 @@
1
- address,amount,start,end,cliffEnd,cliffAmount
2
- 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2027-01-12 16:15,2029-01-24 16:15,2027-01-23 16:15,21.25
3
- 0x0298F4332e3857631385b39766325058a93e249f,85.25,2026-01-12 16:15,2029-06-12 16:15,2027-06-11 16:15,24.19
1
+ address,amount,startAt,endAt,cliffAmount,cliffAt
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2027-01-12 16:15,2029-01-24 16:15,21.25,2027-01-23 16:15
3
+ 0x0298F4332e3857631385b39766325058a93e249f,85.25,2026-01-12 16:15,2029-06-12 16:15,24.19,2027-06-11 16:15
@@ -10,19 +10,19 @@
10
10
  "amount": {
11
11
  "$ref": "../../common.schema.json#/$defs/amount"
12
12
  },
13
- "start": {
13
+ "startAt": {
14
14
  "$ref": "../../common.schema.json#/$defs/timestamp"
15
15
  },
16
- "end": {
17
- "$ref": "../../common.schema.json#/$defs/timestamp"
18
- },
19
- "cliffEnd": {
16
+ "endAt": {
20
17
  "$ref": "../../common.schema.json#/$defs/timestamp"
21
18
  },
22
19
  "cliffAmount": {
23
20
  "$ref": "../../common.schema.json#/$defs/amount"
21
+ },
22
+ "cliffAt": {
23
+ "$ref": "../../common.schema.json#/$defs/timestamp"
24
24
  }
25
25
  },
26
- "required": ["address", "amount", "start", "end", "cliffEnd", "cliffAmount"],
26
+ "required": ["address", "amount", "startAt", "endAt", "cliffAmount", "cliffAt"],
27
27
  "additionalProperties": false
28
28
  }
@@ -1,3 +1,3 @@
1
- address,amount,start,end,cliffEnd,cliffAmount
2
- 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2027-01-12 16:15,2029-01-24 16:15,2027-01-23 16:15,4.25
3
- 0x0298F4332e3857631385b39766325058a93e249f,85.25,2026-01-12 16:15,2029-06-12 16:15,2027-06-11 16:15,20.16
1
+ address,amount,startAt,endAt,cliffAmount,cliffAt
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2027-01-12 16:15,2029-01-24 16:15,4.25,2027-01-23 16:15
3
+ 0x0298F4332e3857631385b39766325058a93e249f,85.25,2026-01-12 16:15,2029-06-12 16:15,20.16,2027-06-11 16:15
@@ -10,19 +10,19 @@
10
10
  "amount": {
11
11
  "$ref": "../../common.schema.json#/$defs/amount"
12
12
  },
13
- "start": {
13
+ "startAt": {
14
14
  "$ref": "../../common.schema.json#/$defs/timestamp"
15
15
  },
16
- "end": {
17
- "$ref": "../../common.schema.json#/$defs/timestamp"
18
- },
19
- "cliffEnd": {
16
+ "endAt": {
20
17
  "$ref": "../../common.schema.json#/$defs/timestamp"
21
18
  },
22
19
  "cliffAmount": {
23
20
  "$ref": "../../common.schema.json#/$defs/amount"
21
+ },
22
+ "cliffAt": {
23
+ "$ref": "../../common.schema.json#/$defs/timestamp"
24
24
  }
25
25
  },
26
- "required": ["address", "amount", "start", "end", "cliffEnd", "cliffAmount"],
26
+ "required": ["address", "amount", "startAt", "endAt", "cliffAmount", "cliffAt"],
27
27
  "additionalProperties": false
28
28
  }
@@ -10,34 +10,34 @@
10
10
  "amount": {
11
11
  "$ref": "../../common.schema.json#/$defs/amount"
12
12
  },
13
- "start": {
13
+ "startAt": {
14
14
  "$ref": "../../common.schema.json#/$defs/timestamp"
15
15
  },
16
- "end": {
17
- "$ref": "../../common.schema.json#/$defs/timestamp"
18
- },
19
- "firstUnlockEnd": {
16
+ "endAt": {
20
17
  "$ref": "../../common.schema.json#/$defs/timestamp"
21
18
  },
22
19
  "firstUnlockAmount": {
23
20
  "$ref": "../../common.schema.json#/$defs/amount"
24
21
  },
25
- "secondUnlockEnd": {
22
+ "firstUnlockAt": {
26
23
  "$ref": "../../common.schema.json#/$defs/timestamp"
27
24
  },
28
25
  "secondUnlockAmount": {
29
26
  "$ref": "../../common.schema.json#/$defs/amount"
27
+ },
28
+ "secondUnlockAt": {
29
+ "$ref": "../../common.schema.json#/$defs/timestamp"
30
30
  }
31
31
  },
32
32
  "required": [
33
33
  "address",
34
34
  "amount",
35
- "start",
36
- "end",
37
- "firstUnlockEnd",
35
+ "startAt",
36
+ "endAt",
38
37
  "firstUnlockAmount",
39
- "secondUnlockEnd",
40
- "secondUnlockAmount"
38
+ "firstUnlockAt",
39
+ "secondUnlockAmount",
40
+ "secondUnlockAt"
41
41
  ],
42
42
  "additionalProperties": false
43
43
  }
@@ -1,3 +1,3 @@
1
- address,amount,start,end,firstUnlockEnd,firstUnlockAmount,secondUnlockEnd,secondUnlockAmount
2
- 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2027-01-12 16:15,2029-01-24 16:15,2027-01-23 16:15,4.25,2027-02-24 16:15,4.25
3
- 0x0298F4332e3857631385b39766325058a93e249f,85.25,2026-01-12 16:15,2029-06-12 16:15,2027-06-11 16:15,20.16,2027-07-15 16:15,20.16
1
+ address,amount,startAt,endAt,firstUnlockAmount,firstUnlockAt,secondUnlockAmount,secondUnlockAt
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2027-01-12 16:15,2029-01-24 16:15,4.25,2027-01-23 16:15,4.25,2027-02-24 16:15
3
+ 0x0298F4332e3857631385b39766325058a93e249f,85.25,2026-01-12 16:15,2029-06-12 16:15,20.16,2027-06-11 16:15,20.16,2027-07-15 16:15
@@ -1,3 +1,3 @@
1
- address,amount,start,end
1
+ address,amount,startAt,endAt
2
2
  0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2027-01-12 16:15,2029-01-24 16:15
3
3
  0x0298F4332e3857631385b39766325058a93e249f,85.25,2026-01-12 16:15,2029-06-12 16:15
@@ -10,13 +10,13 @@
10
10
  "amount": {
11
11
  "$ref": "../../common.schema.json#/$defs/amount"
12
12
  },
13
- "start": {
13
+ "startAt": {
14
14
  "$ref": "../../common.schema.json#/$defs/timestamp"
15
15
  },
16
- "end": {
16
+ "endAt": {
17
17
  "$ref": "../../common.schema.json#/$defs/timestamp"
18
18
  }
19
19
  },
20
- "required": ["address", "amount", "start", "end"],
20
+ "required": ["address", "amount", "startAt", "endAt"],
21
21
  "additionalProperties": false
22
22
  }
@@ -1,43 +1,42 @@
1
1
  import type { BaseColumns } from "../../types";
2
2
  export type TranchedBackweightedColumns = BaseColumns & {
3
- start: string;
4
- years: string;
5
- unlocks: string;
3
+ startAt: string;
4
+ unlockPercentages: string;
5
+ yearCount: string;
6
6
  };
7
7
  export type LinearColumns = BaseColumns & {
8
- start: string;
9
- end: string;
8
+ startAt: string;
9
+ endAt: string;
10
10
  };
11
11
  export type CliffColumns = LinearColumns & {
12
- cliffEnd: string;
13
12
  cliffAmount: string;
13
+ cliffAt: string;
14
14
  };
15
15
  export type DynamicCliffExponentialColumns = CliffColumns;
16
16
  export type DynamicDoubleUnlockColumns = LinearColumns & {
17
- firstUnlockEnd: string;
18
17
  firstUnlockAmount: string;
19
- secondUnlockEnd: string;
18
+ firstUnlockAt: string;
20
19
  secondUnlockAmount: string;
20
+ secondUnlockAt: string;
21
21
  };
22
22
  export type DynamicExponentialColumns = LinearColumns;
23
23
  export type TranchedMonthlyColumns = BaseColumns & {
24
- start: string;
25
- months: string;
26
- initial: string;
24
+ startAt: string;
25
+ monthCount: string;
27
26
  };
28
27
  export type TranchedStepperColumns = LinearColumns & {
29
- steps: string;
28
+ stepCount: string;
30
29
  };
31
30
  export type TranchedTimelockColumns = BaseColumns & {
32
- end: string;
31
+ endAt: string;
33
32
  };
34
33
  export type LinearUnlockCliffColumns = LinearColumns & {
35
- cliffEnd: string;
36
- unlock: string;
34
+ unlockAmount: string;
37
35
  cliffAmount: string;
36
+ cliffAt: string;
38
37
  };
39
38
  export type LinearUnlockLinearColumns = LinearColumns & {
40
- unlock: string;
39
+ unlockAmount: string;
41
40
  };
42
41
  export type Columns = TranchedBackweightedColumns | CliffColumns | DynamicDoubleUnlockColumns | DynamicCliffExponentialColumns | DynamicExponentialColumns | LinearColumns | TranchedMonthlyColumns | TranchedStepperColumns | TranchedTimelockColumns | LinearUnlockCliffColumns | LinearUnlockLinearColumns;
43
42
  //# sourceMappingUR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MAAM,CAAC;CACpB,CAAC;AAGF,MAAM,MAAM,sBAAsB,GAAG,aAAa,GAAG;IAEnD,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAGF,MAAM,MAAM,uBAAuB,GAAG,WAAW,GAAG;IAElD,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAGF,MAAM,MAAM,wBAAwB,GAAG,aAAa,GAAG;IAErD,YAAY,EAAE,MAAM,CAAC;IAErB,WAAW,EAAE,MAAM,CAAC;IAEpB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAGF,MAAM,MAAM,yBAAyB,GAAG,aAAa,GAAG;IAEtD,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAGF,MAAM,MAAM,OAAO,GACf,2BAA2B,GAC3B,YAAY,GACZ,0BAA0B,GAC1B,8BAA8B,GAC9B,yBAAyB,GACzB,aAAa,GACb,sBAAsB,GACtB,sBAAsB,GACtB,uBAAuB,GACvB,wBAAwB,GACxB,yBAAyB,CAAC"}
@@ -1,3 +1,3 @@
1
- address,amount,start,end
1
+ address,amount,startAt,endAt
2
2
  0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2027-01-12 16:15,2029-01-24 16:15
3
3
  0x0298F4332e3857631385b39766325058a93e249f,85.25,2026-01-12 16:15,2029-06-12 16:15
@@ -10,13 +10,13 @@
10
10
  "amount": {
11
11
  "$ref": "../../common.schema.json#/$defs/amount"
12
12
  },
13
- "start": {
13
+ "startAt": {
14
14
  "$ref": "../../common.schema.json#/$defs/timestamp"
15
15
  },
16
- "end": {
16
+ "endAt": {
17
17
  "$ref": "../../common.schema.json#/$defs/timestamp"
18
18
  }
19
19
  },
20
- "required": ["address", "amount", "start", "end"],
20
+ "required": ["address", "amount", "startAt", "endAt"],
21
21
  "additionalProperties": false
22
22
  }
@@ -1,3 +1,3 @@
1
- address,amount,end
1
+ address,amount,endAt
2
2
  0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2029-01-24 16:15
3
3
  0x0298F4332e3857631385b39766325058a93e249f,85.25,2029-06-12 16:15
@@ -1,3 +1,3 @@
1
- address,amount,start,end,cliffEnd,unlock,cliffAmount
2
- 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2027-01-12 16:15,2029-01-24 16:15,2027-01-23 16:15,80,4.25
3
- 0x0298F4332e3857631385b39766325058a93e249f,85.25,2026-01-12 16:15,2029-06-12 16:15,2027-06-11 16:15,80,2.02
1
+ address,amount,startAt,endAt,unlockAmount,cliffAmount,cliffAt
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2027-01-12 16:15,2029-01-24 16:15,8.5,4.25,2027-01-23 16:15
3
+ 0x0298F4332e3857631385b39766325058a93e249f,85.25,2026-01-12 16:15,2029-06-12 16:15,17.05,2.02,2027-06-11 16:15
@@ -10,22 +10,22 @@
10
10
  "amount": {
11
11
  "$ref": "../../common.schema.json#/$defs/amount"
12
12
  },
13
- "start": {
13
+ "startAt": {
14
14
  "$ref": "../../common.schema.json#/$defs/timestamp"
15
15
  },
16
- "end": {
16
+ "endAt": {
17
17
  "$ref": "../../common.schema.json#/$defs/timestamp"
18
18
  },
19
- "cliffEnd": {
20
- "$ref": "../../common.schema.json#/$defs/timestamp"
21
- },
22
- "unlock": {
19
+ "unlockAmount": {
23
20
  "$ref": "../../common.schema.json#/$defs/amount"
24
21
  },
25
22
  "cliffAmount": {
26
23
  "$ref": "../../common.schema.json#/$defs/amount"
24
+ },
25
+ "cliffAt": {
26
+ "$ref": "../../common.schema.json#/$defs/timestamp"
27
27
  }
28
28
  },
29
- "required": ["address", "amount", "start", "end", "cliffEnd", "unlock", "cliffAmount"],
29
+ "required": ["address", "amount", "startAt", "endAt", "unlockAmount", "cliffAmount", "cliffAt"],
30
30
  "additionalProperties": false
31
31
  }
@@ -1,3 +1,3 @@
1
- address,amount,start,end,unlock
2
- 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2027-01-12 16:15,2038-01-24 16:15,80
3
- 0x0298F4332e3857631385b39766325058a93e249f,85.25,2026-01-12 16:15,2038-06-12 16:15,80
1
+ address,amount,startAt,endAt,unlockAmount
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2027-01-12 16:15,2038-01-24 16:15,8.5
3
+ 0x0298F4332e3857631385b39766325058a93e249f,85.25,2026-01-12 16:15,2038-06-12 16:15,17.05
@@ -10,16 +10,16 @@
10
10
  "amount": {
11
11
  "$ref": "../../common.schema.json#/$defs/amount"
12
12
  },
13
- "start": {
13
+ "startAt": {
14
14
  "$ref": "../../common.schema.json#/$defs/timestamp"
15
15
  },
16
- "end": {
16
+ "endAt": {
17
17
  "$ref": "../../common.schema.json#/$defs/timestamp"
18
18
  },
19
- "unlock": {
19
+ "unlockAmount": {
20
20
  "$ref": "../../common.schema.json#/$defs/amount"
21
21
  }
22
22
  },
23
- "required": ["address", "amount", "start", "end", "unlock"],
23
+ "required": ["address", "amount", "startAt", "endAt", "unlockAmount"],
24
24
  "additionalProperties": false
25
25
  }
@@ -1,3 +1,3 @@
1
- address,amount,start,years,unlocks
2
- 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2028-01-12 16:15,4,10;20;30;40
3
- 0x0298F4332e3857631385b39766325058a93e249f,85.25,2027-01-12 16:15,4,20;20;20;40
1
+ address,amount,startAt,unlockPercentages,yearCount
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2028-01-12 16:15,10;20;30;40,4
3
+ 0x0298F4332e3857631385b39766325058a93e249f,85.25,2027-01-12 16:15,20;20;20;40,4
@@ -1,3 +1,3 @@
1
- address,amount,start,months,initial
2
- 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2028-01-12 16:15,7,at start
3
- 0x0298F4332e3857631385b39766325058a93e249f,85.25,2027-01-12 16:15,6,end of first month
1
+ address,amount,startAt,monthCount
2
+ 0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2028-01-12 16:15,7
3
+ 0x0298F4332e3857631385b39766325058a93e249f,85.25,2027-01-12 16:15,6
@@ -1,3 +1,3 @@
1
- address,amount,start,end,steps
1
+ address,amount,startAt,endAt,stepCount
2
2
  0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2027-01-12 16:15,2029-01-24 16:15,7
3
3
  0x0298F4332e3857631385b39766325058a93e249f,85.25,2026-01-12 16:15,2029-06-12 16:15,6
@@ -10,16 +10,16 @@
10
10
  "amount": {
11
11
  "$ref": "../../common.schema.json#/$defs/amount"
12
12
  },
13
- "start": {
13
+ "startAt": {
14
14
  "$ref": "../../common.schema.json#/$defs/timestamp"
15
15
  },
16
- "end": {
16
+ "endAt": {
17
17
  "$ref": "../../common.schema.json#/$defs/timestamp"
18
18
  },
19
- "steps": {
19
+ "stepCount": {
20
20
  "$ref": "../../common.schema.json#/$defs/positiveInteger"
21
21
  }
22
22
  },
23
- "required": ["address", "amount", "start", "end", "steps"],
23
+ "required": ["address", "amount", "startAt", "endAt", "stepCount"],
24
24
  "additionalProperties": false
25
25
  }
@@ -1,3 +1,3 @@
1
- address,amount,end
1
+ address,amount,endAt
2
2
  0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2029-01-24 16:15
3
3
  0x0298F4332e3857631385b39766325058a93e249f,85.25,2029-06-12 16:15
@@ -10,10 +10,10 @@
10
10
  "amount": {
11
11
  "$ref": "../../common.schema.json#/$defs/amount"
12
12
  },
13
- "end": {
13
+ "endAt": {
14
14
  "$ref": "../../common.schema.json#/$defs/timestamp"
15
15
  }
16
16
  },
17
- "required": ["address", "amount", "end"],
17
+ "required": ["address", "amount", "endAt"],
18
18
  "additionalProperties": false
19
19
  }
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.20",
7
+ "version": "1.8.0-beta.22",
8
8
  "author": {
9
9
  "name": "Sablier Labs Ltd",
10
10
  "url": "https://sablier.com"