sablier 1.8.0-beta.18 → 1.8.0-beta.19

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.
@@ -1,5 +1,5 @@
1
- import type { BaseColumns } from "../types";
2
- export type StreamColumns = BaseColumns & {
1
+ export type StreamColumns = {
2
+ address: string;
3
3
  rate: string;
4
4
  interval: string;
5
5
  initialDeposit: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/evm/csv/flow/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAG5C,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG;IAExC,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,IAAI,EAAE,MAAM,CAAC;IAEb,QAAQ,EAAE,MAAM,CAAC;IAEjB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,aAAa,CAAC"}
@@ -1,9 +1,4 @@
1
1
  import type { BaseColumns } from "../../types";
2
- export type TranchedBackweightedColumns = BaseColumns & {
3
- start: string;
4
- years: string;
5
- unlocks: string;
6
- };
7
2
  export type LinearColumns = BaseColumns & {
8
3
  duration: string;
9
4
  };
@@ -19,11 +14,6 @@ export type DynamicDoubleUnlockColumns = LinearColumns & {
19
14
  secondUnlockAmount: string;
20
15
  };
21
16
  export type DynamicExponentialColumns = LinearColumns;
22
- export type TranchedMonthlyColumns = BaseColumns & {
23
- start: string;
24
- months: string;
25
- initial: string;
26
- };
27
17
  export type TranchedStepperColumns = LinearColumns & {
28
18
  steps: string;
29
19
  };
@@ -36,5 +26,5 @@ export type LinearUnlockCliffColumns = LinearColumns & {
36
26
  export type LinearUnlockLinearColumns = LinearColumns & {
37
27
  unlock: string;
38
28
  };
39
- export type Columns = TranchedBackweightedColumns | CliffColumns | DynamicDoubleUnlockColumns | DynamicCliffExponentialColumns | DynamicExponentialColumns | LinearColumns | TranchedMonthlyColumns | TranchedStepperColumns | TranchedTimelockColumns | LinearUnlockCliffColumns | LinearUnlockLinearColumns;
29
+ export type Columns = CliffColumns | DynamicDoubleUnlockColumns | DynamicCliffExponentialColumns | DynamicExponentialColumns | LinearColumns | TranchedStepperColumns | TranchedTimelockColumns | LinearUnlockCliffColumns | LinearUnlockLinearColumns;
40
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,2BAA2B,GAAG,WAAW,GAAG;IAEtD,KAAK,EAAE,MAAM,CAAC;IAEd,KAAK,EAAE,MAAM,CAAC;IAEd,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAGF,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;AAG1D,MAAM,MAAM,0BAA0B,GAAG,aAAa,GAAG;IAEvD,mBAAmB,EAAE,MAAM,CAAC;IAE5B,iBAAiB,EAAE,MAAM,CAAC;IAE1B,oBAAoB,EAAE,MAAM,CAAC;IAE7B,kBAAkB,EAAE,MA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,CAAC;IAE5B,iBAAiB,EAAE,MAAM,CAAC;IAE1B,oBAAoB,EAAE,MAAM,CAAC;IAE7B,kBAAkB,EAAE,MAAM,CAAC;CAC5B,CAAC;AAMF,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC;AAGtD,MAAM,MAAM,sBAAsB,GAAG,aAAa,GAAG;IAEnD,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAMF,MAAM,MAAM,uBAAuB,GAAG,aAAa,CAAC;AAGpD,MAAM,MAAM,wBAAwB,GAAG,aAAa,GAAG;IAErD,aAAa,EAAE,MAAM,CAAC;IAEtB,MAAM,EAAE,MAAM,CAAC;IAEf,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAGF,MAAM,MAAM,yBAAyB,GAAG,aAAa,GAAG;IAEtD,MAAM,EAAE,MAAM,CAAC;CAChB,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,6 +1,9 @@
1
1
  import type { BaseColumns } from "../../types";
2
- import type { TranchedBackweightedColumns as DurationTranchedBackweightedColumns, TranchedMonthlyColumns as DurationTranchedMonthlyColumns } from "../duration/index";
3
- export type TranchedBackweightedColumns = DurationTranchedBackweightedColumns;
2
+ export type TranchedBackweightedColumns = BaseColumns & {
3
+ start: string;
4
+ years: string;
5
+ unlocks: string;
6
+ };
4
7
  export type LinearColumns = BaseColumns & {
5
8
  start: string;
6
9
  end: string;
@@ -17,7 +20,11 @@ export type DynamicDoubleUnlockColumns = LinearColumns & {
17
20
  secondUnlockAmount: string;
18
21
  };
19
22
  export type DynamicExponentialColumns = LinearColumns;
20
- export type TranchedMonthlyColumns = DurationTranchedMonthlyColumns;
23
+ export type TranchedMonthlyColumns = BaseColumns & {
24
+ start: string;
25
+ months: string;
26
+ initial: string;
27
+ };
21
28
  export type TranchedStepperColumns = LinearColumns & {
22
29
  steps: string;
23
30
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/evm/csv/lockup/range/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,EACV,2BAA2B,IAAI,mCAAmC,EAClE,sBAAsB,IAAI,8BAA8B,EACzD,MAAM,mBAAmB,CAAC;AAO3B,MAAM,MAAM,2BAA2B,GAAG,mCAAmC,CAAC;AAG9E,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG;IAExC,KAAK,EAAE,MAAM,CAAC;IAEd,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAGF,MAAM,MAAM,YAAY,GAAG,aAAa,GAAG;IAEzC,QAAQ,EAAE,MAAM,CAAC;IAEjB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAMF,MAAM,MAAM,8BAA8B,GAAG,YAAY,CAAC;AAG1D,MAAM,MAAM,0BAA0B,GAAG,aAAa,GAAG;IAEvD,cAAc,EAAE,MAAM,CAAC;IAEvB,iBAAiB,EAAE,MAAM,CAAC;IAE1B,eAAe,EAAE,MAAM,CAAC;IAExB,kBAAkB,EAAE,MAAM,CAAC;CAC5B,CAAC;AAMF,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC;AAOtD,MAAM,MAAM,sBAAsB,GAAG,8BAA8B,CAAC;AAGpE,MAAM,MAAM,sBAAsB,GAAG,aAAa,GAAG;IAEnD,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAGF,MAAM,MAAM,uBAAuB,GAAG,WAAW,GAAG;IAElD,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAGF,MAAM,MAAM,wBAAwB,GAAG,aAAa,GAAG;IAErD,QAAQ,EAAE,MAAM,CAAC;IAEjB,MAAM,EAAE,MAAM,CAAC;IAEf,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;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MAAM,sBAAsB,GAAG,aAAa,GAAG;IAEnD,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAGF,MAAM,MAAM,uBAAuB,GAAG,WAAW,GAAG;IAElD,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAGF,MAAM,MAAM,wBAAwB,GAAG,aAAa,GAAG;IAErD,QAAQ,EAAE,MAAM,CAAC;IAEjB,MAAM,EAAE,MAAM,CAAC;IAEf,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAGF,MAAM,MAAM,yBAAyB,GAAG,aAAa,GAAG;IAEtD,MAAM,EAAE,MAAM,CAAC;CAChB,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"}
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.18",
7
+ "version": "1.8.0-beta.19",
8
8
  "author": {
9
9
  "name": "Sablier Labs Ltd",
10
10
  "url": "https://sablier.com"
@@ -1,25 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "title": "Duration Tranched Backweighted CSV Schema",
4
- "description": "Schema for tranched 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
- }
@@ -1,25 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "title": "Duration Tranched Monthly CSV Schema",
4
- "description": "Schema for tranched 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
- }
@@ -1,25 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "title": "Range Tranched Backweighted CSV Schema",
4
- "description": "Schema for tranched 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
- }
@@ -1,25 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "title": "Range Tranched Monthly CSV Schema",
4
- "description": "Schema for tranched 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
- }