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.
- package/dist/evm/csv/flow/index.d.ts +4 -3
- package/dist/evm/csv/flow/index.d.ts.map +1 -1
- package/dist/evm/csv/flow/stream.csv +3 -3
- package/dist/evm/csv/flow/stream.schema.json +7 -4
- package/dist/evm/csv/lockup/duration/cliff.csv +3 -3
- package/dist/evm/csv/lockup/duration/cliff.schema.json +4 -4
- package/dist/evm/csv/lockup/duration/dynamicCliffExponential.csv +3 -3
- package/dist/evm/csv/lockup/duration/dynamicCliffExponential.schema.json +4 -4
- package/dist/evm/csv/lockup/duration/dynamicDoubleCliff.schema.json +7 -7
- package/dist/evm/csv/lockup/duration/dynamicDoubleUnlock.csv +3 -3
- package/dist/evm/csv/lockup/duration/index.d.ts +7 -7
- package/dist/evm/csv/lockup/duration/index.d.ts.map +1 -1
- package/dist/evm/csv/lockup/duration/linearUnlockCliff.csv +3 -3
- package/dist/evm/csv/lockup/duration/linearUnlockCliff.schema.json +5 -5
- package/dist/evm/csv/lockup/duration/linearUnlockLinear.csv +3 -3
- package/dist/evm/csv/lockup/duration/linearUnlockLinear.schema.json +2 -2
- package/dist/evm/csv/lockup/duration/tranchedStepper.csv +1 -1
- package/dist/evm/csv/lockup/duration/tranchedStepper.schema.json +2 -2
- package/dist/evm/csv/lockup/range/cliff.csv +3 -3
- package/dist/evm/csv/lockup/range/cliff.schema.json +6 -6
- package/dist/evm/csv/lockup/range/dynamicCliffExponential.csv +3 -3
- package/dist/evm/csv/lockup/range/dynamicCliffExponential.schema.json +6 -6
- package/dist/evm/csv/lockup/range/dynamicDoubleCliff.schema.json +11 -11
- package/dist/evm/csv/lockup/range/dynamicDoubleUnlock.csv +3 -3
- package/dist/evm/csv/lockup/range/dynamicExponential.csv +1 -1
- package/dist/evm/csv/lockup/range/dynamicExponential.schema.json +3 -3
- package/dist/evm/csv/lockup/range/index.d.ts +15 -16
- package/dist/evm/csv/lockup/range/index.d.ts.map +1 -1
- package/dist/evm/csv/lockup/range/linear.csv +1 -1
- package/dist/evm/csv/lockup/range/linear.schema.json +3 -3
- package/dist/evm/csv/lockup/range/linearTimelock.csv +1 -1
- package/dist/evm/csv/lockup/range/linearUnlockCliff.csv +3 -3
- package/dist/evm/csv/lockup/range/linearUnlockCliff.schema.json +7 -7
- package/dist/evm/csv/lockup/range/linearUnlockLinear.csv +3 -3
- package/dist/evm/csv/lockup/range/linearUnlockLinear.schema.json +4 -4
- package/dist/evm/csv/lockup/range/tranchedBackweighted.csv +3 -3
- package/dist/evm/csv/lockup/range/tranchedMonthly.csv +3 -3
- package/dist/evm/csv/lockup/range/tranchedStepper.csv +1 -1
- package/dist/evm/csv/lockup/range/tranchedStepper.schema.json +4 -4
- package/dist/evm/csv/lockup/range/tranchedTimelock.csv +1 -1
- package/dist/evm/csv/lockup/range/tranchedTimelock.schema.json +2 -2
- package/package.json +1 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export type StreamColumns = {
|
|
2
2
|
address: string;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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,
|
|
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,
|
|
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
|
-
"
|
|
10
|
+
"rateAmount": {
|
|
11
11
|
"type": "string",
|
|
12
12
|
"pattern": "^[0-9]+(\\.[0-9]+)?$",
|
|
13
13
|
"description": "Token amount per interval"
|
|
14
14
|
},
|
|
15
|
-
"
|
|
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
|
-
"
|
|
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", "
|
|
27
|
+
"required": ["address", "rateAmount", "rateInterval", "initialDepositAmount", "startAt"],
|
|
25
28
|
"additionalProperties": false
|
|
26
29
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
address,amount,duration,cliffDuration
|
|
2
|
-
0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2 years 20 days,1 years 45 days 6 hours
|
|
3
|
-
0x0298F4332e3857631385b39766325058a93e249f,85.25,1 years 20 days,45 days
|
|
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", "
|
|
23
|
+
"required": ["address", "amount", "duration", "cliffAmount", "cliffDuration"],
|
|
24
24
|
"additionalProperties": false
|
|
25
25
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
address,amount,duration,cliffDuration
|
|
2
|
-
0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2 years 20 days,1 years 45 days 6 hours
|
|
3
|
-
0x0298F4332e3857631385b39766325058a93e249f,85.25,1 years 20 days,45 days
|
|
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", "
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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,
|
|
2
|
-
0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2 years 20 days,1 years 45 days 6 hours,
|
|
3
|
-
0x0298F4332e3857631385b39766325058a93e249f,85.25,1 years 20 days,45 days,
|
|
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
|
-
|
|
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
|
-
|
|
18
|
+
stepCount: string;
|
|
19
19
|
};
|
|
20
20
|
export type TranchedTimelockColumns = LinearColumns;
|
|
21
21
|
export type LinearUnlockCliffColumns = LinearColumns & {
|
|
22
|
-
|
|
23
|
-
unlock: string;
|
|
22
|
+
unlockAmount: string;
|
|
24
23
|
cliffAmount: string;
|
|
24
|
+
cliffDuration: string;
|
|
25
25
|
};
|
|
26
26
|
export type LinearUnlockLinearColumns = LinearColumns & {
|
|
27
|
-
|
|
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,
|
|
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,WAAW,EAAE,MAAM,CAAC;IAEpB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAMF,MAAM,MAAM,8BAA8B,GAAG,YAAY,CAAC;AAG1D,MAAM,MAAM,0BAA0B,GAAG,aAAa,GAAG;IAEvD,iBAAiB,EAAE,MAAM,CAAC;IAE1B,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,
|
|
2
|
-
0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2 years 20 days,1 years 45 days 6 hours
|
|
3
|
-
0x0298F4332e3857631385b39766325058a93e249f,85.25,2 years 20 days,1 years 45 days 6 hours
|
|
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
|
-
"
|
|
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", "
|
|
26
|
+
"required": ["address", "amount", "duration", "unlockAmount", "cliffAmount", "cliffDuration"],
|
|
27
27
|
"additionalProperties": false
|
|
28
28
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
address,amount,duration,
|
|
2
|
-
0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,1 years 5 days,
|
|
3
|
-
0x0298F4332e3857631385b39766325058a93e249f,85.25,2 years 10 days,
|
|
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
|
-
"
|
|
16
|
+
"unlockAmount": {
|
|
17
17
|
"$ref": "../../common.schema.json#/$defs/amount"
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
|
-
"required": ["address", "amount", "duration", "
|
|
20
|
+
"required": ["address", "amount", "duration", "unlockAmount"],
|
|
21
21
|
"additionalProperties": false
|
|
22
22
|
}
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"duration": {
|
|
14
14
|
"$ref": "../../common.schema.json#/$defs/duration"
|
|
15
15
|
},
|
|
16
|
-
"
|
|
16
|
+
"stepCount": {
|
|
17
17
|
"$ref": "../../common.schema.json#/$defs/positiveInteger"
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
|
-
"required": ["address", "amount", "duration", "
|
|
20
|
+
"required": ["address", "amount", "duration", "stepCount"],
|
|
21
21
|
"additionalProperties": false
|
|
22
22
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
address,amount,
|
|
2
|
-
0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2027-01-12 16:15,2029-01-24 16:15,2027-01-23 16:15
|
|
3
|
-
0x0298F4332e3857631385b39766325058a93e249f,85.25,2026-01-12 16:15,2029-06-12 16:15,2027-06-11 16:15
|
|
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
|
-
"
|
|
13
|
+
"startAt": {
|
|
14
14
|
"$ref": "../../common.schema.json#/$defs/timestamp"
|
|
15
15
|
},
|
|
16
|
-
"
|
|
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", "
|
|
26
|
+
"required": ["address", "amount", "startAt", "endAt", "cliffAmount", "cliffAt"],
|
|
27
27
|
"additionalProperties": false
|
|
28
28
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
address,amount,
|
|
2
|
-
0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2027-01-12 16:15,2029-01-24 16:15,2027-01-23 16:15
|
|
3
|
-
0x0298F4332e3857631385b39766325058a93e249f,85.25,2026-01-12 16:15,2029-06-12 16:15,2027-06-11 16:15
|
|
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
|
-
"
|
|
13
|
+
"startAt": {
|
|
14
14
|
"$ref": "../../common.schema.json#/$defs/timestamp"
|
|
15
15
|
},
|
|
16
|
-
"
|
|
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", "
|
|
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
|
-
"
|
|
13
|
+
"startAt": {
|
|
14
14
|
"$ref": "../../common.schema.json#/$defs/timestamp"
|
|
15
15
|
},
|
|
16
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"firstUnlockEnd",
|
|
35
|
+
"startAt",
|
|
36
|
+
"endAt",
|
|
38
37
|
"firstUnlockAmount",
|
|
39
|
-
"
|
|
40
|
-
"secondUnlockAmount"
|
|
38
|
+
"firstUnlockAt",
|
|
39
|
+
"secondUnlockAmount",
|
|
40
|
+
"secondUnlockAt"
|
|
41
41
|
],
|
|
42
42
|
"additionalProperties": false
|
|
43
43
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
address,amount,
|
|
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
|
|
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
|
|
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
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
"amount": {
|
|
11
11
|
"$ref": "../../common.schema.json#/$defs/amount"
|
|
12
12
|
},
|
|
13
|
-
"
|
|
13
|
+
"startAt": {
|
|
14
14
|
"$ref": "../../common.schema.json#/$defs/timestamp"
|
|
15
15
|
},
|
|
16
|
-
"
|
|
16
|
+
"endAt": {
|
|
17
17
|
"$ref": "../../common.schema.json#/$defs/timestamp"
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
|
-
"required": ["address", "amount", "
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
startAt: string;
|
|
4
|
+
unlockPercentages: string;
|
|
5
|
+
yearCount: string;
|
|
6
6
|
};
|
|
7
7
|
export type LinearColumns = BaseColumns & {
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
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
|
-
|
|
25
|
-
|
|
26
|
-
initial: string;
|
|
24
|
+
startAt: string;
|
|
25
|
+
monthCount: string;
|
|
27
26
|
};
|
|
28
27
|
export type TranchedStepperColumns = LinearColumns & {
|
|
29
|
-
|
|
28
|
+
stepCount: string;
|
|
30
29
|
};
|
|
31
30
|
export type TranchedTimelockColumns = BaseColumns & {
|
|
32
|
-
|
|
31
|
+
endAt: string;
|
|
33
32
|
};
|
|
34
33
|
export type LinearUnlockCliffColumns = LinearColumns & {
|
|
35
|
-
|
|
36
|
-
unlock: string;
|
|
34
|
+
unlockAmount: string;
|
|
37
35
|
cliffAmount: string;
|
|
36
|
+
cliffAt: string;
|
|
38
37
|
};
|
|
39
38
|
export type LinearUnlockLinearColumns = LinearColumns & {
|
|
40
|
-
|
|
39
|
+
unlockAmount: string;
|
|
41
40
|
};
|
|
42
41
|
export type Columns = TranchedBackweightedColumns | CliffColumns | DynamicDoubleUnlockColumns | DynamicCliffExponentialColumns | DynamicExponentialColumns | LinearColumns | TranchedMonthlyColumns | TranchedStepperColumns | TranchedTimelockColumns | LinearUnlockCliffColumns | LinearUnlockLinearColumns;
|
|
43
42
|
//# 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,EAAE,MAAM,aAAa,CAAC;AAG/C,MAAM,MAAM,2BAA2B,GAAG,WAAW,GAAG;
|
|
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;AAG/C,MAAM,MAAM,2BAA2B,GAAG,WAAW,GAAG;IAGtD,OAAO,EAAE,MAAM,CAAC;IAEhB,iBAAiB,EAAE,MAAM,CAAC;IAE1B,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAGF,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG;IAExC,OAAO,EAAE,MAAM,CAAC;IAEhB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAGF,MAAM,MAAM,YAAY,GAAG,aAAa,GAAG;IAEzC,WAAW,EAAE,MAAM,CAAC;IAEpB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAMF,MAAM,MAAM,8BAA8B,GAAG,YAAY,CAAC;AAG1D,MAAM,MAAM,0BAA0B,GAAG,aAAa,GAAG;IAEvD,iBAAiB,EAAE,MAAM,CAAC;IAE1B,aAAa,EAAE,MAAM,CAAC;IAEtB,kBAAkB,EAAE,MAAM,CAAC;IAE3B,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAMF,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC;AAGtD,MAAM,MAAM,sBAAsB,GAAG,WAAW,GAAG;IAEjD,OAAO,EAAE,MAAM,CAAC;IAEhB,UAAU,EAAE,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"}
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
"amount": {
|
|
11
11
|
"$ref": "../../common.schema.json#/$defs/amount"
|
|
12
12
|
},
|
|
13
|
-
"
|
|
13
|
+
"startAt": {
|
|
14
14
|
"$ref": "../../common.schema.json#/$defs/timestamp"
|
|
15
15
|
},
|
|
16
|
-
"
|
|
16
|
+
"endAt": {
|
|
17
17
|
"$ref": "../../common.schema.json#/$defs/timestamp"
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
|
-
"required": ["address", "amount", "
|
|
20
|
+
"required": ["address", "amount", "startAt", "endAt"],
|
|
21
21
|
"additionalProperties": false
|
|
22
22
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
address,amount,
|
|
2
|
-
0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2027-01-12 16:15,2029-01-24 16:15,2027-01-23 16:15
|
|
3
|
-
0x0298F4332e3857631385b39766325058a93e249f,85.25,2026-01-12 16:15,2029-06-12 16:15,2027-06-11 16:15
|
|
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
|
-
"
|
|
13
|
+
"startAt": {
|
|
14
14
|
"$ref": "../../common.schema.json#/$defs/timestamp"
|
|
15
15
|
},
|
|
16
|
-
"
|
|
16
|
+
"endAt": {
|
|
17
17
|
"$ref": "../../common.schema.json#/$defs/timestamp"
|
|
18
18
|
},
|
|
19
|
-
"
|
|
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", "
|
|
29
|
+
"required": ["address", "amount", "startAt", "endAt", "unlockAmount", "cliffAmount", "cliffAt"],
|
|
30
30
|
"additionalProperties": false
|
|
31
31
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
address,amount,
|
|
2
|
-
0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2027-01-12 16:15,2038-01-24 16:15,
|
|
3
|
-
0x0298F4332e3857631385b39766325058a93e249f,85.25,2026-01-12 16:15,2038-06-12 16:15,
|
|
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
|
-
"
|
|
13
|
+
"startAt": {
|
|
14
14
|
"$ref": "../../common.schema.json#/$defs/timestamp"
|
|
15
15
|
},
|
|
16
|
-
"
|
|
16
|
+
"endAt": {
|
|
17
17
|
"$ref": "../../common.schema.json#/$defs/timestamp"
|
|
18
18
|
},
|
|
19
|
-
"
|
|
19
|
+
"unlockAmount": {
|
|
20
20
|
"$ref": "../../common.schema.json#/$defs/amount"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
|
-
"required": ["address", "amount", "
|
|
23
|
+
"required": ["address", "amount", "startAt", "endAt", "unlockAmount"],
|
|
24
24
|
"additionalProperties": false
|
|
25
25
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
address,amount,
|
|
2
|
-
0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2028-01-12 16:15,
|
|
3
|
-
0x0298F4332e3857631385b39766325058a93e249f,85.25,2027-01-12 16:15,
|
|
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,
|
|
2
|
-
0x8b1dD8774373729B7755202079F52D8c7444D335,42.5,2028-01-12 16:15,7
|
|
3
|
-
0x0298F4332e3857631385b39766325058a93e249f,85.25,2027-01-12 16:15,6
|
|
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
|
|
@@ -10,16 +10,16 @@
|
|
|
10
10
|
"amount": {
|
|
11
11
|
"$ref": "../../common.schema.json#/$defs/amount"
|
|
12
12
|
},
|
|
13
|
-
"
|
|
13
|
+
"startAt": {
|
|
14
14
|
"$ref": "../../common.schema.json#/$defs/timestamp"
|
|
15
15
|
},
|
|
16
|
-
"
|
|
16
|
+
"endAt": {
|
|
17
17
|
"$ref": "../../common.schema.json#/$defs/timestamp"
|
|
18
18
|
},
|
|
19
|
-
"
|
|
19
|
+
"stepCount": {
|
|
20
20
|
"$ref": "../../common.schema.json#/$defs/positiveInteger"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
|
-
"required": ["address", "amount", "
|
|
23
|
+
"required": ["address", "amount", "startAt", "endAt", "stepCount"],
|
|
24
24
|
"additionalProperties": false
|
|
25
25
|
}
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
"amount": {
|
|
11
11
|
"$ref": "../../common.schema.json#/$defs/amount"
|
|
12
12
|
},
|
|
13
|
-
"
|
|
13
|
+
"endAt": {
|
|
14
14
|
"$ref": "../../common.schema.json#/$defs/timestamp"
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
|
-
"required": ["address", "amount", "
|
|
17
|
+
"required": ["address", "amount", "endAt"],
|
|
18
18
|
"additionalProperties": false
|
|
19
19
|
}
|