sablier 1.8.0-beta.10 → 1.8.0-beta.12
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.
- package/dist/evm/csv/lockup/duration/{doubleUnlock.schema.json → dynamicDoubleCliff.schema.json} +2 -2
- package/dist/evm/csv/lockup/duration/index.d.ts +8 -8
- package/dist/evm/csv/lockup/duration/index.d.ts.map +1 -1
- package/dist/evm/csv/lockup/duration/{unlockCliff.schema.json → linearUnlockCliff.schema.json} +2 -2
- package/dist/evm/csv/lockup/duration/{unlockLinear.schema.json → linearUnlockLinear.schema.json} +2 -2
- package/dist/evm/csv/lockup/{range/backweighted.schema.json → duration/tranchedBackweighted.schema.json} +2 -2
- package/dist/evm/csv/lockup/{range/monthly.schema.json → duration/tranchedMonthly.schema.json} +2 -2
- package/dist/evm/csv/lockup/duration/{stepper.schema.json → tranchedStepper.schema.json} +2 -2
- package/dist/evm/csv/lockup/duration/{timelock.schema.json → tranchedTimelock.schema.json} +2 -2
- package/dist/evm/csv/lockup/range/{doubleUnlock.schema.json → dynamicDoubleCliff.schema.json} +2 -2
- package/dist/evm/csv/lockup/range/index.d.ts +9 -9
- package/dist/evm/csv/lockup/range/index.d.ts.map +1 -1
- package/dist/evm/csv/lockup/range/{unlockCliff.schema.json → linearUnlockCliff.schema.json} +2 -2
- package/dist/evm/csv/lockup/range/{unlockLinear.schema.json → linearUnlockLinear.schema.json} +2 -2
- package/dist/evm/csv/lockup/{duration/backweighted.schema.json → range/tranchedBackweighted.schema.json} +2 -2
- package/dist/evm/csv/lockup/{duration/monthly.schema.json → range/tranchedMonthly.schema.json} +2 -2
- package/dist/evm/csv/lockup/range/{stepper.schema.json → tranchedStepper.schema.json} +2 -2
- package/dist/evm/csv/lockup/range/{timelock.schema.json → tranchedTimelock.schema.json} +2 -2
- package/dist/evm/index.d.ts +0 -1
- package/dist/evm/index.d.ts.map +1 -1
- package/dist/evm/index.js +0 -1
- package/dist/evm/index.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/shapes/airdrops.d.ts +99 -0
- package/dist/shapes/airdrops.d.ts.map +1 -0
- package/dist/shapes/airdrops.js +131 -0
- package/dist/shapes/airdrops.js.map +1 -0
- package/dist/shapes/enums.d.ts +27 -0
- package/dist/shapes/enums.d.ts.map +1 -0
- package/dist/{evm/shapes → shapes}/enums.js +10 -10
- package/dist/shapes/enums.js.map +1 -0
- package/dist/shapes/flow.d.ts.map +1 -0
- package/dist/{evm/shapes → shapes}/flow.js +5 -6
- package/dist/shapes/flow.js.map +1 -0
- package/dist/shapes/helpers.d.ts +24 -0
- package/dist/shapes/helpers.d.ts.map +1 -0
- package/dist/shapes/helpers.js +77 -0
- package/dist/shapes/helpers.js.map +1 -0
- package/dist/shapes/index.d.ts +350 -0
- package/dist/shapes/index.d.ts.map +1 -0
- package/dist/{evm/shapes → shapes}/index.js +11 -4
- package/dist/shapes/index.js.map +1 -0
- package/dist/shapes/lockup.d.ts +243 -0
- package/dist/shapes/lockup.d.ts.map +1 -0
- package/dist/{evm/shapes → shapes}/lockup.js +124 -97
- package/dist/shapes/lockup.js.map +1 -0
- package/dist/{evm/shapes → shapes}/types.d.ts +18 -13
- package/dist/shapes/types.d.ts.map +1 -0
- package/dist/{evm/shapes → shapes}/types.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
- package/dist/evm/shapes/airdrops.d.ts +0 -17
- package/dist/evm/shapes/airdrops.d.ts.map +0 -1
- package/dist/evm/shapes/airdrops.js +0 -89
- package/dist/evm/shapes/airdrops.js.map +0 -1
- package/dist/evm/shapes/enums.d.ts +0 -27
- package/dist/evm/shapes/enums.d.ts.map +0 -1
- package/dist/evm/shapes/enums.js.map +0 -1
- package/dist/evm/shapes/flow.d.ts.map +0 -1
- package/dist/evm/shapes/flow.js.map +0 -1
- package/dist/evm/shapes/helpers.d.ts +0 -16
- package/dist/evm/shapes/helpers.d.ts.map +0 -1
- package/dist/evm/shapes/helpers.js +0 -39
- package/dist/evm/shapes/helpers.js.map +0 -1
- package/dist/evm/shapes/index.d.ts +0 -30
- package/dist/evm/shapes/index.d.ts.map +0 -1
- package/dist/evm/shapes/index.js.map +0 -1
- package/dist/evm/shapes/lockup.d.ts +0 -27
- package/dist/evm/shapes/lockup.d.ts.map +0 -1
- package/dist/evm/shapes/lockup.js.map +0 -1
- package/dist/evm/shapes/types.d.ts.map +0 -1
- /package/dist/{evm/shapes → shapes}/flow.d.ts +0 -0
- /package/dist/{evm/shapes → shapes}/types.js +0 -0
package/dist/evm/csv/lockup/duration/{doubleUnlock.schema.json → dynamicDoubleCliff.schema.json}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "Duration
|
|
4
|
-
"description": "Schema for
|
|
3
|
+
"title": "Duration Dynamic Double Cliff CSV Schema",
|
|
4
|
+
"description": "Schema for dynamic double cliff vesting with relative duration",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"address": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseColumns } from "../../types";
|
|
2
|
-
export type
|
|
2
|
+
export type TranchedBackweightedColumns = BaseColumns & {
|
|
3
3
|
start: string;
|
|
4
4
|
years: string;
|
|
5
5
|
unlocks: string;
|
|
@@ -12,29 +12,29 @@ export type CliffColumns = LinearColumns & {
|
|
|
12
12
|
cliffAmount: string;
|
|
13
13
|
};
|
|
14
14
|
export type DynamicCliffExponentialColumns = CliffColumns;
|
|
15
|
-
export type
|
|
15
|
+
export type DynamicDoubleUnlockColumns = LinearColumns & {
|
|
16
16
|
firstUnlockDuration: string;
|
|
17
17
|
firstUnlockAmount: string;
|
|
18
18
|
secondUnlockDuration: string;
|
|
19
19
|
secondUnlockAmount: string;
|
|
20
20
|
};
|
|
21
21
|
export type DynamicExponentialColumns = LinearColumns;
|
|
22
|
-
export type
|
|
22
|
+
export type TranchedMonthlyColumns = BaseColumns & {
|
|
23
23
|
start: string;
|
|
24
24
|
months: string;
|
|
25
25
|
initial: string;
|
|
26
26
|
};
|
|
27
|
-
export type
|
|
27
|
+
export type TranchedStepperColumns = LinearColumns & {
|
|
28
28
|
steps: string;
|
|
29
29
|
};
|
|
30
|
-
export type
|
|
31
|
-
export type
|
|
30
|
+
export type TranchedTimelockColumns = LinearColumns;
|
|
31
|
+
export type LinearUnlockCliffColumns = LinearColumns & {
|
|
32
32
|
cliffDuration: string;
|
|
33
33
|
unlock: string;
|
|
34
34
|
cliffAmount: string;
|
|
35
35
|
};
|
|
36
|
-
export type
|
|
36
|
+
export type LinearUnlockLinearColumns = LinearColumns & {
|
|
37
37
|
unlock: string;
|
|
38
38
|
};
|
|
39
|
-
export type Columns =
|
|
39
|
+
export type Columns = TranchedBackweightedColumns | CliffColumns | DynamicDoubleUnlockColumns | DynamicCliffExponentialColumns | DynamicExponentialColumns | LinearColumns | TranchedMonthlyColumns | TranchedStepperColumns | TranchedTimelockColumns | LinearUnlockCliffColumns | LinearUnlockLinearColumns;
|
|
40
40
|
//# 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,
|
|
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,O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/evm/csv/lockup/duration/{unlockCliff.schema.json → linearUnlockCliff.schema.json}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "Duration
|
|
4
|
-
"description": "Schema for
|
|
3
|
+
"title": "Duration Linear Unlock Cliff CSV Schema",
|
|
4
|
+
"description": "Schema for linear unlock cliff vesting with relative duration",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"address": {
|
package/dist/evm/csv/lockup/duration/{unlockLinear.schema.json → linearUnlockLinear.schema.json}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "Duration
|
|
4
|
-
"description": "Schema for
|
|
3
|
+
"title": "Duration Linear Unlock Linear CSV Schema",
|
|
4
|
+
"description": "Schema for linear unlock linear vesting with relative duration",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"address": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "
|
|
4
|
-
"description": "Schema for backweighted vesting",
|
|
3
|
+
"title": "Duration Tranched Backweighted CSV Schema",
|
|
4
|
+
"description": "Schema for tranched backweighted vesting",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"address": {
|
package/dist/evm/csv/lockup/{range/monthly.schema.json → duration/tranchedMonthly.schema.json}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "
|
|
4
|
-
"description": "Schema for monthly vesting",
|
|
3
|
+
"title": "Duration Tranched Monthly CSV Schema",
|
|
4
|
+
"description": "Schema for tranched monthly vesting",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"address": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "Duration Stepper CSV Schema",
|
|
4
|
-
"description": "Schema for stepper vesting with relative duration",
|
|
3
|
+
"title": "Duration Tranched Stepper CSV Schema",
|
|
4
|
+
"description": "Schema for tranched stepper vesting with relative duration",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"address": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "Duration Timelock CSV Schema",
|
|
4
|
-
"description": "Schema for timelock with relative duration",
|
|
3
|
+
"title": "Duration Tranched Timelock CSV Schema",
|
|
4
|
+
"description": "Schema for tranched timelock with relative duration",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"address": {
|
package/dist/evm/csv/lockup/range/{doubleUnlock.schema.json → dynamicDoubleCliff.schema.json}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "Range
|
|
4
|
-
"description": "Schema for
|
|
3
|
+
"title": "Range Dynamic Double Cliff CSV Schema",
|
|
4
|
+
"description": "Schema for dynamic double cliff vesting with absolute timestamps",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"address": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BaseColumns } from "../../types";
|
|
2
|
-
import type {
|
|
3
|
-
export type
|
|
2
|
+
import type { TranchedBackweightedColumns as DurationTranchedBackweightedColumns, TranchedMonthlyColumns as DurationTranchedMonthlyColumns } from "../duration/index";
|
|
3
|
+
export type TranchedBackweightedColumns = DurationTranchedBackweightedColumns;
|
|
4
4
|
export type LinearColumns = BaseColumns & {
|
|
5
5
|
start: string;
|
|
6
6
|
end: string;
|
|
@@ -10,27 +10,27 @@ export type CliffColumns = LinearColumns & {
|
|
|
10
10
|
cliffAmount: string;
|
|
11
11
|
};
|
|
12
12
|
export type DynamicCliffExponentialColumns = CliffColumns;
|
|
13
|
-
export type
|
|
13
|
+
export type DynamicDoubleUnlockColumns = LinearColumns & {
|
|
14
14
|
firstUnlockEnd: string;
|
|
15
15
|
firstUnlockAmount: string;
|
|
16
16
|
secondUnlockEnd: string;
|
|
17
17
|
secondUnlockAmount: string;
|
|
18
18
|
};
|
|
19
19
|
export type DynamicExponentialColumns = LinearColumns;
|
|
20
|
-
export type
|
|
21
|
-
export type
|
|
20
|
+
export type TranchedMonthlyColumns = DurationTranchedMonthlyColumns;
|
|
21
|
+
export type TranchedStepperColumns = LinearColumns & {
|
|
22
22
|
steps: string;
|
|
23
23
|
};
|
|
24
|
-
export type
|
|
24
|
+
export type TranchedTimelockColumns = BaseColumns & {
|
|
25
25
|
end: string;
|
|
26
26
|
};
|
|
27
|
-
export type
|
|
27
|
+
export type LinearUnlockCliffColumns = LinearColumns & {
|
|
28
28
|
cliffEnd: string;
|
|
29
29
|
unlock: string;
|
|
30
30
|
cliffAmount: string;
|
|
31
31
|
};
|
|
32
|
-
export type
|
|
32
|
+
export type LinearUnlockLinearColumns = LinearColumns & {
|
|
33
33
|
unlock: string;
|
|
34
34
|
};
|
|
35
|
-
export type Columns =
|
|
35
|
+
export type Columns = TranchedBackweightedColumns | CliffColumns | DynamicDoubleUnlockColumns | DynamicCliffExponentialColumns | DynamicExponentialColumns | LinearColumns | TranchedMonthlyColumns | TranchedStepperColumns | TranchedTimelockColumns | LinearUnlockCliffColumns | LinearUnlockLinearColumns;
|
|
36
36
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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,EAA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,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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "Range
|
|
4
|
-
"description": "Schema for
|
|
3
|
+
"title": "Range Linear Unlock Cliff CSV Schema",
|
|
4
|
+
"description": "Schema for linear unlock cliff vesting with absolute timestamps",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"address": {
|
package/dist/evm/csv/lockup/range/{unlockLinear.schema.json → linearUnlockLinear.schema.json}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "Range
|
|
4
|
-
"description": "Schema for
|
|
3
|
+
"title": "Range Linear Unlock Linear CSV Schema",
|
|
4
|
+
"description": "Schema for linear unlock linear vesting with absolute timestamps",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"address": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "
|
|
4
|
-
"description": "Schema for backweighted vesting",
|
|
3
|
+
"title": "Range Tranched Backweighted CSV Schema",
|
|
4
|
+
"description": "Schema for tranched backweighted vesting",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"address": {
|
package/dist/evm/csv/lockup/{duration/monthly.schema.json → range/tranchedMonthly.schema.json}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "
|
|
4
|
-
"description": "Schema for monthly vesting",
|
|
3
|
+
"title": "Range Tranched Monthly CSV Schema",
|
|
4
|
+
"description": "Schema for tranched monthly vesting",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"address": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "Range Stepper CSV Schema",
|
|
4
|
-
"description": "Schema for stepper vesting with absolute timestamps",
|
|
3
|
+
"title": "Range Tranched Stepper CSV Schema",
|
|
4
|
+
"description": "Schema for tranched stepper vesting with absolute timestamps",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"address": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "Range Timelock CSV Schema",
|
|
4
|
-
"description": "Schema for timelock with absolute timestamp",
|
|
3
|
+
"title": "Range Tranched Timelock CSV Schema",
|
|
4
|
+
"description": "Schema for tranched timelock with absolute timestamp",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"address": {
|
package/dist/evm/index.d.ts
CHANGED
package/dist/evm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/evm/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/evm/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC"}
|
package/dist/evm/index.js
CHANGED
|
@@ -46,5 +46,4 @@ exports.csv = __importStar(require("./csv"));
|
|
|
46
46
|
__exportStar(require("./enums"), exports);
|
|
47
47
|
__exportStar(require("./helpers"), exports);
|
|
48
48
|
__exportStar(require("./releases"), exports);
|
|
49
|
-
__exportStar(require("./shapes"), exports);
|
|
50
49
|
//# sourceMappingURL=index.js.map
|
package/dist/evm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/evm/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,kDAAgC;AAChC,gDAA8B;AAC9B,8CAA4B;AAC5B,6CAA6B;AAC7B,0CAAwB;AACxB,4CAA0B;AAC1B,6CAA2B
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/evm/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,kDAAgC;AAChC,gDAA8B;AAC9B,8CAA4B;AAC5B,6CAA6B;AAC7B,0CAAwB;AACxB,4CAA0B;AAC1B,6CAA2B"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,cAAc,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -41,6 +41,7 @@ __exportStar(require("./evm"), exports);
|
|
|
41
41
|
exports.evm = __importStar(require("./evm"));
|
|
42
42
|
__exportStar(require("./helpers"), exports);
|
|
43
43
|
__exportStar(require("./sablier"), exports);
|
|
44
|
+
__exportStar(require("./shapes"), exports);
|
|
44
45
|
exports.solana = __importStar(require("./solana"));
|
|
45
46
|
__exportStar(require("./types"), exports);
|
|
46
47
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,mDAAmC;AACnC,0CAAwB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,mDAAmC;AACnC,0CAAwB"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Shape } from "./enums";
|
|
2
|
+
export declare const airdropShapes: {
|
|
3
|
+
cliff: {
|
|
4
|
+
evm: ({
|
|
5
|
+
contract: string;
|
|
6
|
+
createMethods: string[];
|
|
7
|
+
version: "v2.0";
|
|
8
|
+
} | {
|
|
9
|
+
contract: string;
|
|
10
|
+
createMethods: string[];
|
|
11
|
+
version: "v1.3";
|
|
12
|
+
} | {
|
|
13
|
+
contract: string;
|
|
14
|
+
createMethods: string[];
|
|
15
|
+
version: "v1.2";
|
|
16
|
+
} | {
|
|
17
|
+
contract: string;
|
|
18
|
+
createMethods: string[];
|
|
19
|
+
version: "v1.1";
|
|
20
|
+
})[];
|
|
21
|
+
id: Shape.Airdrops.Cliff;
|
|
22
|
+
name: string;
|
|
23
|
+
};
|
|
24
|
+
instant: {
|
|
25
|
+
evm: ({
|
|
26
|
+
contract: string;
|
|
27
|
+
createMethods: string[];
|
|
28
|
+
version: "v2.0";
|
|
29
|
+
} | {
|
|
30
|
+
contract: string;
|
|
31
|
+
createMethods: string[];
|
|
32
|
+
version: "v1.3";
|
|
33
|
+
})[];
|
|
34
|
+
id: Shape.Airdrops.Instant;
|
|
35
|
+
name: string;
|
|
36
|
+
solana: {
|
|
37
|
+
createMethods: string[];
|
|
38
|
+
program: string;
|
|
39
|
+
version: "v0.1";
|
|
40
|
+
}[];
|
|
41
|
+
};
|
|
42
|
+
linear: {
|
|
43
|
+
evm: ({
|
|
44
|
+
contract: string;
|
|
45
|
+
createMethods: string[];
|
|
46
|
+
version: "v2.0";
|
|
47
|
+
} | {
|
|
48
|
+
contract: string;
|
|
49
|
+
createMethods: string[];
|
|
50
|
+
version: "v1.3";
|
|
51
|
+
} | {
|
|
52
|
+
contract: string;
|
|
53
|
+
createMethods: string[];
|
|
54
|
+
version: "v1.2";
|
|
55
|
+
} | {
|
|
56
|
+
contract: string;
|
|
57
|
+
createMethods: string[];
|
|
58
|
+
version: "v1.1";
|
|
59
|
+
})[];
|
|
60
|
+
id: Shape.Airdrops.Linear;
|
|
61
|
+
name: string;
|
|
62
|
+
};
|
|
63
|
+
linearUnlockCliff: {
|
|
64
|
+
evm: {
|
|
65
|
+
contract: string;
|
|
66
|
+
createMethods: string[];
|
|
67
|
+
version: "v2.0";
|
|
68
|
+
}[];
|
|
69
|
+
id: Shape.Airdrops.LinearUnlockCliff;
|
|
70
|
+
name: string;
|
|
71
|
+
};
|
|
72
|
+
linearUnlockLinear: {
|
|
73
|
+
evm: {
|
|
74
|
+
contract: string;
|
|
75
|
+
createMethods: string[];
|
|
76
|
+
version: "v2.0";
|
|
77
|
+
}[];
|
|
78
|
+
id: Shape.Airdrops.LinearUnlockLinear;
|
|
79
|
+
name: string;
|
|
80
|
+
};
|
|
81
|
+
tranchedStepper: {
|
|
82
|
+
evm: ({
|
|
83
|
+
contract: string;
|
|
84
|
+
createMethods: string[];
|
|
85
|
+
version: "v2.0";
|
|
86
|
+
} | {
|
|
87
|
+
contract: string;
|
|
88
|
+
createMethods: string[];
|
|
89
|
+
version: "v1.3";
|
|
90
|
+
} | {
|
|
91
|
+
contract: string;
|
|
92
|
+
createMethods: string[];
|
|
93
|
+
version: "v1.2";
|
|
94
|
+
})[];
|
|
95
|
+
id: Shape.Airdrops.TranchedStepper;
|
|
96
|
+
name: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
//# sourceMappingURL=airdrops.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"airdrops.d.ts","sourceRoot":"","sources":["../../src/shapes/airdrops.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AA8JhC,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOK,CAAC"}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.airdropShapes = void 0;
|
|
4
|
+
const enums_1 = require("./enums");
|
|
5
|
+
const cliff = {
|
|
6
|
+
evm: [
|
|
7
|
+
{
|
|
8
|
+
contract: "SablierFactoryMerkleLL",
|
|
9
|
+
createMethods: ["createMerkleLL"],
|
|
10
|
+
version: "v2.0",
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
contract: "SablierMerkleFactory",
|
|
14
|
+
createMethods: ["createMerkleLL"],
|
|
15
|
+
version: "v1.3",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
contract: "SablierV2MerkleLockupFactory",
|
|
19
|
+
createMethods: ["createMerkleLL"],
|
|
20
|
+
version: "v1.2",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
contract: "SablierV2MerkleStreamerFactory",
|
|
24
|
+
createMethods: ["createMerkleStreamerLL"],
|
|
25
|
+
version: "v1.1",
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
id: enums_1.Shape.Airdrops.Cliff,
|
|
29
|
+
name: "Cliff",
|
|
30
|
+
};
|
|
31
|
+
const instant = {
|
|
32
|
+
evm: [
|
|
33
|
+
{
|
|
34
|
+
contract: "SablierFactoryMerkleInstant",
|
|
35
|
+
createMethods: ["createMerkleInstant"],
|
|
36
|
+
version: "v2.0",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
contract: "SablierMerkleFactory",
|
|
40
|
+
createMethods: ["createMerkleInstant"],
|
|
41
|
+
version: "v1.3",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
id: enums_1.Shape.Airdrops.Instant,
|
|
45
|
+
name: "Instant",
|
|
46
|
+
solana: [
|
|
47
|
+
{
|
|
48
|
+
createMethods: ["create_campaign"],
|
|
49
|
+
program: "SablierMerkleInstant",
|
|
50
|
+
version: "v0.1",
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
};
|
|
54
|
+
const linear = {
|
|
55
|
+
evm: [
|
|
56
|
+
{
|
|
57
|
+
contract: "SablierFactoryMerkleLL",
|
|
58
|
+
createMethods: ["createMerkleLL"],
|
|
59
|
+
version: "v2.0",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
contract: "SablierMerkleFactory",
|
|
63
|
+
createMethods: ["createMerkleLL"],
|
|
64
|
+
version: "v1.3",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
contract: "SablierV2MerkleLockupFactory",
|
|
68
|
+
createMethods: ["createMerkleLL"],
|
|
69
|
+
version: "v1.2",
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
contract: "SablierV2MerkleStreamerFactory",
|
|
73
|
+
createMethods: ["createMerkleStreamerLL"],
|
|
74
|
+
version: "v1.1",
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
id: enums_1.Shape.Airdrops.Linear,
|
|
78
|
+
name: "Linear",
|
|
79
|
+
};
|
|
80
|
+
const tranchedStepper = {
|
|
81
|
+
evm: [
|
|
82
|
+
{
|
|
83
|
+
contract: "SablierFactoryMerkleLT",
|
|
84
|
+
createMethods: ["createMerkleLT"],
|
|
85
|
+
version: "v2.0",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
contract: "SablierMerkleFactory",
|
|
89
|
+
createMethods: ["createMerkleLT"],
|
|
90
|
+
version: "v1.3",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
contract: "SablierV2MerkleLockupFactory",
|
|
94
|
+
createMethods: ["createMerkleLT"],
|
|
95
|
+
version: "v1.2",
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
id: enums_1.Shape.Airdrops.TranchedStepper,
|
|
99
|
+
name: "Tranched Stepper",
|
|
100
|
+
};
|
|
101
|
+
const linearUnlockCliff = {
|
|
102
|
+
evm: [
|
|
103
|
+
{
|
|
104
|
+
contract: "SablierFactoryMerkleLL",
|
|
105
|
+
createMethods: ["createMerkleLL"],
|
|
106
|
+
version: "v2.0",
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
id: enums_1.Shape.Airdrops.LinearUnlockCliff,
|
|
110
|
+
name: "Linear Unlock Cliff",
|
|
111
|
+
};
|
|
112
|
+
const linearUnlockLinear = {
|
|
113
|
+
evm: [
|
|
114
|
+
{
|
|
115
|
+
contract: "SablierFactoryMerkleLL",
|
|
116
|
+
createMethods: ["createMerkleLL"],
|
|
117
|
+
version: "v2.0",
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
id: enums_1.Shape.Airdrops.LinearUnlockLinear,
|
|
121
|
+
name: "Linear Unlock Linear",
|
|
122
|
+
};
|
|
123
|
+
exports.airdropShapes = {
|
|
124
|
+
[enums_1.Shape.Airdrops.Cliff]: cliff,
|
|
125
|
+
[enums_1.Shape.Airdrops.Instant]: instant,
|
|
126
|
+
[enums_1.Shape.Airdrops.Linear]: linear,
|
|
127
|
+
[enums_1.Shape.Airdrops.LinearUnlockCliff]: linearUnlockCliff,
|
|
128
|
+
[enums_1.Shape.Airdrops.LinearUnlockLinear]: linearUnlockLinear,
|
|
129
|
+
[enums_1.Shape.Airdrops.TranchedStepper]: tranchedStepper,
|
|
130
|
+
};
|
|
131
|
+
//# sourceMappingURL=airdrops.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"airdrops.js","sourceRoot":"","sources":["../../src/shapes/airdrops.ts"],"names":[],"mappings":";;;AAAA,mCAAgC;AAOhC,MAAM,KAAK,GAAG;IACZ,GAAG,EAAE;QACH;YACE,QAAQ,EAAE,wBAAwB;YAClC,aAAa,EAAE,CAAC,gBAAgB,CAAC;YACjC,OAAO,EAAE,MAAM;SAChB;QACD;YACE,QAAQ,EAAE,sBAAsB;YAChC,aAAa,EAAE,CAAC,gBAAgB,CAAC;YACjC,OAAO,EAAE,MAAM;SAChB;QACD;YACE,QAAQ,EAAE,8BAA8B;YAC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,CAAC,kBAAkB,CAAC,EAAE,kBAAkB;IACvD,CAAC,aAAK,CAAC,QAAQ,CAAC,eAAe,CAAC,EAAE,eAAe;CACpB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare namespace Shape {
|
|
2
|
+
enum Lockup {
|
|
3
|
+
Linear = "linear",
|
|
4
|
+
Cliff = "cliff",
|
|
5
|
+
DynamicCliffExponential = "dynamicCliffExponential",
|
|
6
|
+
DynamicExponential = "dynamicExponential",
|
|
7
|
+
TranchedBackweighted = "tranchedBackweighted",
|
|
8
|
+
TranchedStepper = "tranchedStepper",
|
|
9
|
+
TranchedMonthly = "tranchedMonthly",
|
|
10
|
+
TranchedTimelock = "tranchedTimelock",
|
|
11
|
+
LinearUnlockLinear = "linearUnlockLinear",
|
|
12
|
+
LinearUnlockCliff = "linearUnlockCliff",
|
|
13
|
+
DynamicDoubleUnlock = "dynamicDoubleUnlock"
|
|
14
|
+
}
|
|
15
|
+
enum Flow {
|
|
16
|
+
Flow = "flow"
|
|
17
|
+
}
|
|
18
|
+
enum Airdrops {
|
|
19
|
+
Instant = "instant",
|
|
20
|
+
Linear = "linear",
|
|
21
|
+
Cliff = "cliff",
|
|
22
|
+
LinearUnlockLinear = "linearUnlockLinear",
|
|
23
|
+
LinearUnlockCliff = "linearUnlockCliff",
|
|
24
|
+
TranchedStepper = "tranchedStepper"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=enums.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../src/shapes/enums.ts"],"names":[],"mappings":"AAAA,yBAAiB,KAAK,CAAC;IACrB,KAAY,MAAM;QAChB,MAAM,WAAW;QACjB,KAAK,UAAU;QACf,uBAAuB,4BAA4B;QACnD,kBAAkB,uBAAuB;QACzC,oBAAoB,yBAAyB;QAC7C,eAAe,oBAAoB;QACnC,eAAe,oBAAoB;QACnC,gBAAgB,qBAAqB;QACrC,kBAAkB,uBAAuB;QACzC,iBAAiB,sBAAsB;QACvC,mBAAmB,wBAAwB;KAC5C;IAED,KAAY,IAAI;QACd,IAAI,SAAS;KACd;IAED,KAAY,QAAQ;QAClB,OAAO,YAAY;QACnB,MAAM,WAAW;QACjB,KAAK,UAAU;QACf,kBAAkB,uBAAuB;QACzC,iBAAiB,sBAAsB;QACvC,eAAe,oBAAoB;KACpC;CACF"}
|
|
@@ -9,13 +9,13 @@ var Shape;
|
|
|
9
9
|
Lockup["Cliff"] = "cliff";
|
|
10
10
|
Lockup["DynamicCliffExponential"] = "dynamicCliffExponential";
|
|
11
11
|
Lockup["DynamicExponential"] = "dynamicExponential";
|
|
12
|
-
Lockup["
|
|
13
|
-
Lockup["
|
|
14
|
-
Lockup["
|
|
15
|
-
Lockup["
|
|
16
|
-
Lockup["
|
|
17
|
-
Lockup["
|
|
18
|
-
Lockup["
|
|
12
|
+
Lockup["TranchedBackweighted"] = "tranchedBackweighted";
|
|
13
|
+
Lockup["TranchedStepper"] = "tranchedStepper";
|
|
14
|
+
Lockup["TranchedMonthly"] = "tranchedMonthly";
|
|
15
|
+
Lockup["TranchedTimelock"] = "tranchedTimelock";
|
|
16
|
+
Lockup["LinearUnlockLinear"] = "linearUnlockLinear";
|
|
17
|
+
Lockup["LinearUnlockCliff"] = "linearUnlockCliff";
|
|
18
|
+
Lockup["DynamicDoubleUnlock"] = "dynamicDoubleUnlock";
|
|
19
19
|
})(Lockup = Shape.Lockup || (Shape.Lockup = {}));
|
|
20
20
|
let Flow;
|
|
21
21
|
(function (Flow) {
|
|
@@ -26,9 +26,9 @@ var Shape;
|
|
|
26
26
|
Airdrops["Instant"] = "instant";
|
|
27
27
|
Airdrops["Linear"] = "linear";
|
|
28
28
|
Airdrops["Cliff"] = "cliff";
|
|
29
|
-
Airdrops["
|
|
30
|
-
Airdrops["
|
|
31
|
-
Airdrops["
|
|
29
|
+
Airdrops["LinearUnlockLinear"] = "linearUnlockLinear";
|
|
30
|
+
Airdrops["LinearUnlockCliff"] = "linearUnlockCliff";
|
|
31
|
+
Airdrops["TranchedStepper"] = "tranchedStepper";
|
|
32
32
|
})(Airdrops = Shape.Airdrops || (Shape.Airdrops = {}));
|
|
33
33
|
})(Shape || (exports.Shape = Shape = {}));
|
|
34
34
|
//# sourceMappingURL=enums.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../src/shapes/enums.ts"],"names":[],"mappings":";;;AAAA,IAAiB,KAAK,CA2BrB;AA3BD,WAAiB,KAAK;IACpB,IAAY,MAYX;IAZD,WAAY,MAAM;QAChB,2BAAiB,CAAA;QACjB,yBAAe,CAAA;QACf,6DAAmD,CAAA;QACnD,mDAAyC,CAAA;QACzC,uDAA6C,CAAA;QAC7C,6CAAmC,CAAA;QACnC,6CAAmC,CAAA;QACnC,+CAAqC,CAAA;QACrC,mDAAyC,CAAA;QACzC,iDAAuC,CAAA;QACvC,qDAA2C,CAAA;IAC7C,CAAC,EAZW,MAAM,GAAN,YAAM,KAAN,YAAM,QAYjB;IAED,IAAY,IAEX;IAFD,WAAY,IAAI;QACd,qBAAa,CAAA;IACf,CAAC,EAFW,IAAI,GAAJ,UAAI,KAAJ,UAAI,QAEf;IAED,IAAY,QAOX;IAPD,WAAY,QAAQ;QAClB,+BAAmB,CAAA;QACnB,6BAAiB,CAAA;QACjB,2BAAe,CAAA;QACf,qDAAyC,CAAA;QACzC,mDAAuC,CAAA;QACvC,+CAAmC,CAAA;IACrC,CAAC,EAPW,QAAQ,GAAR,cAAQ,KAAR,cAAQ,QAOnB;AACH,CAAC,EA3BgB,KAAK,qBAAL,KAAK,QA2BrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow.d.ts","sourceRoot":"","sources":["../../src/shapes/flow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,EAAE,mBAAmB,EAAoB,MAAM,SAAS,CAAC;AAMrE,eAAO,MAAM,IAAI,EAAE,mBAAmB,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAQvB,CAAC;AAGhC,eAAO,MAAM,UAAU;;CAEc,CAAC"}
|