sablier 3.3.2 → 3.3.4
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/CHANGELOG.md +15 -0
- package/abi/lockup/v2.0/SablierBatchLockup.json +126 -22
- package/abi/lockup/v3.0/SablierBatchLockup.json +22 -126
- package/dist/cjs/evm/releases/airdrops/v3.0/abi/SablierMerkleExecute.js +24 -0
- package/dist/cjs/evm/releases/airdrops/v3.0/abi/SablierMerkleExecute.js.map +1 -1
- package/dist/cjs/evm/releases/airdrops/v3.0/abi/SablierMerkleInstant.js +23 -0
- package/dist/cjs/evm/releases/airdrops/v3.0/abi/SablierMerkleInstant.js.map +1 -1
- package/dist/cjs/evm/releases/airdrops/v3.0/abi/SablierMerkleLL.js +23 -0
- package/dist/cjs/evm/releases/airdrops/v3.0/abi/SablierMerkleLL.js.map +1 -1
- package/dist/cjs/evm/releases/airdrops/v3.0/abi/SablierMerkleLT.js +23 -0
- package/dist/cjs/evm/releases/airdrops/v3.0/abi/SablierMerkleLT.js.map +1 -1
- package/dist/cjs/evm/releases/airdrops/v3.0/abi/SablierMerkleVCA.js +23 -0
- package/dist/cjs/evm/releases/airdrops/v3.0/abi/SablierMerkleVCA.js.map +1 -1
- package/dist/cjs/evm/releases/lockup/v2.0/abi/SablierBatchLockup.js +167 -167
- package/dist/cjs/evm/releases/lockup/v2.0/abi/SablierBatchLockup.js.map +1 -1
- package/dist/cjs/evm/releases/lockup/v3.0/abi/SablierBatchLockup.js +138 -138
- package/dist/cjs/evm/releases/lockup/v3.0/abi/SablierBatchLockup.js.map +1 -1
- package/dist/esm/evm/releases/airdrops/v3.0/abi/SablierMerkleExecute.js +24 -0
- package/dist/esm/evm/releases/airdrops/v3.0/abi/SablierMerkleExecute.js.map +1 -1
- package/dist/esm/evm/releases/airdrops/v3.0/abi/SablierMerkleInstant.js +23 -0
- package/dist/esm/evm/releases/airdrops/v3.0/abi/SablierMerkleInstant.js.map +1 -1
- package/dist/esm/evm/releases/airdrops/v3.0/abi/SablierMerkleLL.js +23 -0
- package/dist/esm/evm/releases/airdrops/v3.0/abi/SablierMerkleLL.js.map +1 -1
- package/dist/esm/evm/releases/airdrops/v3.0/abi/SablierMerkleLT.js +23 -0
- package/dist/esm/evm/releases/airdrops/v3.0/abi/SablierMerkleLT.js.map +1 -1
- package/dist/esm/evm/releases/airdrops/v3.0/abi/SablierMerkleVCA.js +23 -0
- package/dist/esm/evm/releases/airdrops/v3.0/abi/SablierMerkleVCA.js.map +1 -1
- package/dist/esm/evm/releases/lockup/v2.0/abi/SablierBatchLockup.js +167 -167
- package/dist/esm/evm/releases/lockup/v2.0/abi/SablierBatchLockup.js.map +1 -1
- package/dist/esm/evm/releases/lockup/v3.0/abi/SablierBatchLockup.js +138 -138
- package/dist/esm/evm/releases/lockup/v3.0/abi/SablierBatchLockup.js.map +1 -1
- package/dist/types/evm/releases/airdrops/index.d.ts +239 -0
- package/dist/types/evm/releases/airdrops/index.d.ts.map +1 -1
- package/dist/types/evm/releases/airdrops/v3.0/abi/SablierMerkleExecute.d.ts +51 -0
- package/dist/types/evm/releases/airdrops/v3.0/abi/SablierMerkleExecute.d.ts.map +1 -1
- package/dist/types/evm/releases/airdrops/v3.0/abi/SablierMerkleInstant.d.ts +47 -0
- package/dist/types/evm/releases/airdrops/v3.0/abi/SablierMerkleInstant.d.ts.map +1 -1
- package/dist/types/evm/releases/airdrops/v3.0/abi/SablierMerkleLL.d.ts +47 -0
- package/dist/types/evm/releases/airdrops/v3.0/abi/SablierMerkleLL.d.ts.map +1 -1
- package/dist/types/evm/releases/airdrops/v3.0/abi/SablierMerkleLT.d.ts +47 -0
- package/dist/types/evm/releases/airdrops/v3.0/abi/SablierMerkleLT.d.ts.map +1 -1
- package/dist/types/evm/releases/airdrops/v3.0/abi/SablierMerkleVCA.d.ts +47 -0
- package/dist/types/evm/releases/airdrops/v3.0/abi/SablierMerkleVCA.d.ts.map +1 -1
- package/dist/types/evm/releases/airdrops/v3.0/abi.d.ts +239 -0
- package/dist/types/evm/releases/airdrops/v3.0/abi.d.ts.map +1 -1
- package/dist/types/evm/releases/airdrops/v3.0/index.d.ts +239 -0
- package/dist/types/evm/releases/airdrops/v3.0/index.d.ts.map +1 -1
- package/dist/types/evm/releases/lockup/index.d.ts +315 -315
- package/dist/types/evm/releases/lockup/v2.0/abi/SablierBatchLockup.d.ts +172 -172
- package/dist/types/evm/releases/lockup/v2.0/abi.d.ts +172 -172
- package/dist/types/evm/releases/lockup/v2.0/index.d.ts +172 -172
- package/dist/types/evm/releases/lockup/v3.0/abi/SablierBatchLockup.d.ts +143 -143
- package/dist/types/evm/releases/lockup/v3.0/abi.d.ts +143 -143
- package/dist/types/evm/releases/lockup/v3.0/index.d.ts +143 -143
- package/package.json +1 -1
- package/abi/comptroller/ERC1967.json +0 -31
|
@@ -1,518 +1,518 @@
|
|
|
1
1
|
export declare const sablierBatchLockupAbi: readonly [{
|
|
2
|
+
readonly type: "function";
|
|
3
|
+
readonly name: "createWithDurationsLD";
|
|
2
4
|
readonly inputs: readonly [{
|
|
3
|
-
readonly internalType: "contract ISablierLockup";
|
|
4
5
|
readonly name: "lockup";
|
|
5
6
|
readonly type: "address";
|
|
7
|
+
readonly internalType: "contract ISablierLockup";
|
|
6
8
|
}, {
|
|
7
|
-
readonly internalType: "contract IERC20";
|
|
8
9
|
readonly name: "token";
|
|
9
10
|
readonly type: "address";
|
|
11
|
+
readonly internalType: "contract IERC20";
|
|
10
12
|
}, {
|
|
13
|
+
readonly name: "batch";
|
|
14
|
+
readonly type: "tuple[]";
|
|
15
|
+
readonly internalType: "struct BatchLockup.CreateWithDurationsLD[]";
|
|
11
16
|
readonly components: readonly [{
|
|
12
|
-
readonly internalType: "address";
|
|
13
17
|
readonly name: "sender";
|
|
14
18
|
readonly type: "address";
|
|
15
|
-
}, {
|
|
16
19
|
readonly internalType: "address";
|
|
20
|
+
}, {
|
|
17
21
|
readonly name: "recipient";
|
|
18
22
|
readonly type: "address";
|
|
23
|
+
readonly internalType: "address";
|
|
19
24
|
}, {
|
|
20
|
-
readonly internalType: "uint128";
|
|
21
25
|
readonly name: "totalAmount";
|
|
22
26
|
readonly type: "uint128";
|
|
27
|
+
readonly internalType: "uint128";
|
|
23
28
|
}, {
|
|
24
|
-
readonly internalType: "bool";
|
|
25
29
|
readonly name: "cancelable";
|
|
26
30
|
readonly type: "bool";
|
|
27
|
-
}, {
|
|
28
31
|
readonly internalType: "bool";
|
|
32
|
+
}, {
|
|
29
33
|
readonly name: "transferable";
|
|
30
34
|
readonly type: "bool";
|
|
35
|
+
readonly internalType: "bool";
|
|
31
36
|
}, {
|
|
37
|
+
readonly name: "segmentsWithDuration";
|
|
38
|
+
readonly type: "tuple[]";
|
|
39
|
+
readonly internalType: "struct LockupDynamic.SegmentWithDuration[]";
|
|
32
40
|
readonly components: readonly [{
|
|
33
|
-
readonly internalType: "uint128";
|
|
34
41
|
readonly name: "amount";
|
|
35
42
|
readonly type: "uint128";
|
|
43
|
+
readonly internalType: "uint128";
|
|
36
44
|
}, {
|
|
37
|
-
readonly internalType: "UD2x18";
|
|
38
45
|
readonly name: "exponent";
|
|
39
46
|
readonly type: "uint64";
|
|
47
|
+
readonly internalType: "UD2x18";
|
|
40
48
|
}, {
|
|
41
|
-
readonly internalType: "uint40";
|
|
42
49
|
readonly name: "duration";
|
|
43
50
|
readonly type: "uint40";
|
|
51
|
+
readonly internalType: "uint40";
|
|
44
52
|
}];
|
|
45
|
-
readonly internalType: "struct LockupDynamic.SegmentWithDuration[]";
|
|
46
|
-
readonly name: "segmentsWithDuration";
|
|
47
|
-
readonly type: "tuple[]";
|
|
48
53
|
}, {
|
|
49
|
-
readonly internalType: "string";
|
|
50
54
|
readonly name: "shape";
|
|
51
55
|
readonly type: "string";
|
|
56
|
+
readonly internalType: "string";
|
|
52
57
|
}, {
|
|
58
|
+
readonly name: "broker";
|
|
59
|
+
readonly type: "tuple";
|
|
60
|
+
readonly internalType: "struct Broker";
|
|
53
61
|
readonly components: readonly [{
|
|
54
|
-
readonly internalType: "address";
|
|
55
62
|
readonly name: "account";
|
|
56
63
|
readonly type: "address";
|
|
64
|
+
readonly internalType: "address";
|
|
57
65
|
}, {
|
|
58
|
-
readonly internalType: "UD60x18";
|
|
59
66
|
readonly name: "fee";
|
|
60
67
|
readonly type: "uint256";
|
|
68
|
+
readonly internalType: "UD60x18";
|
|
61
69
|
}];
|
|
62
|
-
readonly internalType: "struct Broker";
|
|
63
|
-
readonly name: "broker";
|
|
64
|
-
readonly type: "tuple";
|
|
65
70
|
}];
|
|
66
|
-
readonly internalType: "struct BatchLockup.CreateWithDurationsLD[]";
|
|
67
|
-
readonly name: "batch";
|
|
68
|
-
readonly type: "tuple[]";
|
|
69
71
|
}];
|
|
70
|
-
readonly name: "createWithDurationsLD";
|
|
71
72
|
readonly outputs: readonly [{
|
|
72
|
-
readonly internalType: "uint256[]";
|
|
73
73
|
readonly name: "streamIds";
|
|
74
74
|
readonly type: "uint256[]";
|
|
75
|
+
readonly internalType: "uint256[]";
|
|
75
76
|
}];
|
|
76
77
|
readonly stateMutability: "nonpayable";
|
|
77
|
-
readonly type: "function";
|
|
78
78
|
}, {
|
|
79
|
+
readonly type: "function";
|
|
80
|
+
readonly name: "createWithDurationsLL";
|
|
79
81
|
readonly inputs: readonly [{
|
|
80
|
-
readonly internalType: "contract ISablierLockup";
|
|
81
82
|
readonly name: "lockup";
|
|
82
83
|
readonly type: "address";
|
|
84
|
+
readonly internalType: "contract ISablierLockup";
|
|
83
85
|
}, {
|
|
84
|
-
readonly internalType: "contract IERC20";
|
|
85
86
|
readonly name: "token";
|
|
86
87
|
readonly type: "address";
|
|
88
|
+
readonly internalType: "contract IERC20";
|
|
87
89
|
}, {
|
|
90
|
+
readonly name: "batch";
|
|
91
|
+
readonly type: "tuple[]";
|
|
92
|
+
readonly internalType: "struct BatchLockup.CreateWithDurationsLL[]";
|
|
88
93
|
readonly components: readonly [{
|
|
89
|
-
readonly internalType: "address";
|
|
90
94
|
readonly name: "sender";
|
|
91
95
|
readonly type: "address";
|
|
92
|
-
}, {
|
|
93
96
|
readonly internalType: "address";
|
|
97
|
+
}, {
|
|
94
98
|
readonly name: "recipient";
|
|
95
99
|
readonly type: "address";
|
|
100
|
+
readonly internalType: "address";
|
|
96
101
|
}, {
|
|
97
|
-
readonly internalType: "uint128";
|
|
98
102
|
readonly name: "totalAmount";
|
|
99
103
|
readonly type: "uint128";
|
|
104
|
+
readonly internalType: "uint128";
|
|
100
105
|
}, {
|
|
101
|
-
readonly internalType: "bool";
|
|
102
106
|
readonly name: "cancelable";
|
|
103
107
|
readonly type: "bool";
|
|
104
|
-
}, {
|
|
105
108
|
readonly internalType: "bool";
|
|
109
|
+
}, {
|
|
106
110
|
readonly name: "transferable";
|
|
107
111
|
readonly type: "bool";
|
|
112
|
+
readonly internalType: "bool";
|
|
108
113
|
}, {
|
|
114
|
+
readonly name: "durations";
|
|
115
|
+
readonly type: "tuple";
|
|
116
|
+
readonly internalType: "struct LockupLinear.Durations";
|
|
109
117
|
readonly components: readonly [{
|
|
110
|
-
readonly internalType: "uint40";
|
|
111
118
|
readonly name: "cliff";
|
|
112
119
|
readonly type: "uint40";
|
|
113
|
-
}, {
|
|
114
120
|
readonly internalType: "uint40";
|
|
121
|
+
}, {
|
|
115
122
|
readonly name: "total";
|
|
116
123
|
readonly type: "uint40";
|
|
124
|
+
readonly internalType: "uint40";
|
|
117
125
|
}];
|
|
118
|
-
readonly internalType: "struct LockupLinear.Durations";
|
|
119
|
-
readonly name: "durations";
|
|
120
|
-
readonly type: "tuple";
|
|
121
126
|
}, {
|
|
127
|
+
readonly name: "unlockAmounts";
|
|
128
|
+
readonly type: "tuple";
|
|
129
|
+
readonly internalType: "struct LockupLinear.UnlockAmounts";
|
|
122
130
|
readonly components: readonly [{
|
|
123
|
-
readonly internalType: "uint128";
|
|
124
131
|
readonly name: "start";
|
|
125
132
|
readonly type: "uint128";
|
|
126
|
-
}, {
|
|
127
133
|
readonly internalType: "uint128";
|
|
134
|
+
}, {
|
|
128
135
|
readonly name: "cliff";
|
|
129
136
|
readonly type: "uint128";
|
|
137
|
+
readonly internalType: "uint128";
|
|
130
138
|
}];
|
|
131
|
-
readonly internalType: "struct LockupLinear.UnlockAmounts";
|
|
132
|
-
readonly name: "unlockAmounts";
|
|
133
|
-
readonly type: "tuple";
|
|
134
139
|
}, {
|
|
135
|
-
readonly internalType: "string";
|
|
136
140
|
readonly name: "shape";
|
|
137
141
|
readonly type: "string";
|
|
142
|
+
readonly internalType: "string";
|
|
138
143
|
}, {
|
|
144
|
+
readonly name: "broker";
|
|
145
|
+
readonly type: "tuple";
|
|
146
|
+
readonly internalType: "struct Broker";
|
|
139
147
|
readonly components: readonly [{
|
|
140
|
-
readonly internalType: "address";
|
|
141
148
|
readonly name: "account";
|
|
142
149
|
readonly type: "address";
|
|
150
|
+
readonly internalType: "address";
|
|
143
151
|
}, {
|
|
144
|
-
readonly internalType: "UD60x18";
|
|
145
152
|
readonly name: "fee";
|
|
146
153
|
readonly type: "uint256";
|
|
154
|
+
readonly internalType: "UD60x18";
|
|
147
155
|
}];
|
|
148
|
-
readonly internalType: "struct Broker";
|
|
149
|
-
readonly name: "broker";
|
|
150
|
-
readonly type: "tuple";
|
|
151
156
|
}];
|
|
152
|
-
readonly internalType: "struct BatchLockup.CreateWithDurationsLL[]";
|
|
153
|
-
readonly name: "batch";
|
|
154
|
-
readonly type: "tuple[]";
|
|
155
157
|
}];
|
|
156
|
-
readonly name: "createWithDurationsLL";
|
|
157
158
|
readonly outputs: readonly [{
|
|
158
|
-
readonly internalType: "uint256[]";
|
|
159
159
|
readonly name: "streamIds";
|
|
160
160
|
readonly type: "uint256[]";
|
|
161
|
+
readonly internalType: "uint256[]";
|
|
161
162
|
}];
|
|
162
163
|
readonly stateMutability: "nonpayable";
|
|
163
|
-
readonly type: "function";
|
|
164
164
|
}, {
|
|
165
|
+
readonly type: "function";
|
|
166
|
+
readonly name: "createWithDurationsLT";
|
|
165
167
|
readonly inputs: readonly [{
|
|
166
|
-
readonly internalType: "contract ISablierLockup";
|
|
167
168
|
readonly name: "lockup";
|
|
168
169
|
readonly type: "address";
|
|
170
|
+
readonly internalType: "contract ISablierLockup";
|
|
169
171
|
}, {
|
|
170
|
-
readonly internalType: "contract IERC20";
|
|
171
172
|
readonly name: "token";
|
|
172
173
|
readonly type: "address";
|
|
174
|
+
readonly internalType: "contract IERC20";
|
|
173
175
|
}, {
|
|
176
|
+
readonly name: "batch";
|
|
177
|
+
readonly type: "tuple[]";
|
|
178
|
+
readonly internalType: "struct BatchLockup.CreateWithDurationsLT[]";
|
|
174
179
|
readonly components: readonly [{
|
|
175
|
-
readonly internalType: "address";
|
|
176
180
|
readonly name: "sender";
|
|
177
181
|
readonly type: "address";
|
|
178
|
-
}, {
|
|
179
182
|
readonly internalType: "address";
|
|
183
|
+
}, {
|
|
180
184
|
readonly name: "recipient";
|
|
181
185
|
readonly type: "address";
|
|
186
|
+
readonly internalType: "address";
|
|
182
187
|
}, {
|
|
183
|
-
readonly internalType: "uint128";
|
|
184
188
|
readonly name: "totalAmount";
|
|
185
189
|
readonly type: "uint128";
|
|
190
|
+
readonly internalType: "uint128";
|
|
186
191
|
}, {
|
|
187
|
-
readonly internalType: "bool";
|
|
188
192
|
readonly name: "cancelable";
|
|
189
193
|
readonly type: "bool";
|
|
190
|
-
}, {
|
|
191
194
|
readonly internalType: "bool";
|
|
195
|
+
}, {
|
|
192
196
|
readonly name: "transferable";
|
|
193
197
|
readonly type: "bool";
|
|
198
|
+
readonly internalType: "bool";
|
|
194
199
|
}, {
|
|
200
|
+
readonly name: "tranchesWithDuration";
|
|
201
|
+
readonly type: "tuple[]";
|
|
202
|
+
readonly internalType: "struct LockupTranched.TrancheWithDuration[]";
|
|
195
203
|
readonly components: readonly [{
|
|
196
|
-
readonly internalType: "uint128";
|
|
197
204
|
readonly name: "amount";
|
|
198
205
|
readonly type: "uint128";
|
|
206
|
+
readonly internalType: "uint128";
|
|
199
207
|
}, {
|
|
200
|
-
readonly internalType: "uint40";
|
|
201
208
|
readonly name: "duration";
|
|
202
209
|
readonly type: "uint40";
|
|
210
|
+
readonly internalType: "uint40";
|
|
203
211
|
}];
|
|
204
|
-
readonly internalType: "struct LockupTranched.TrancheWithDuration[]";
|
|
205
|
-
readonly name: "tranchesWithDuration";
|
|
206
|
-
readonly type: "tuple[]";
|
|
207
212
|
}, {
|
|
208
|
-
readonly internalType: "string";
|
|
209
213
|
readonly name: "shape";
|
|
210
214
|
readonly type: "string";
|
|
215
|
+
readonly internalType: "string";
|
|
211
216
|
}, {
|
|
217
|
+
readonly name: "broker";
|
|
218
|
+
readonly type: "tuple";
|
|
219
|
+
readonly internalType: "struct Broker";
|
|
212
220
|
readonly components: readonly [{
|
|
213
|
-
readonly internalType: "address";
|
|
214
221
|
readonly name: "account";
|
|
215
222
|
readonly type: "address";
|
|
223
|
+
readonly internalType: "address";
|
|
216
224
|
}, {
|
|
217
|
-
readonly internalType: "UD60x18";
|
|
218
225
|
readonly name: "fee";
|
|
219
226
|
readonly type: "uint256";
|
|
227
|
+
readonly internalType: "UD60x18";
|
|
220
228
|
}];
|
|
221
|
-
readonly internalType: "struct Broker";
|
|
222
|
-
readonly name: "broker";
|
|
223
|
-
readonly type: "tuple";
|
|
224
229
|
}];
|
|
225
|
-
readonly internalType: "struct BatchLockup.CreateWithDurationsLT[]";
|
|
226
|
-
readonly name: "batch";
|
|
227
|
-
readonly type: "tuple[]";
|
|
228
230
|
}];
|
|
229
|
-
readonly name: "createWithDurationsLT";
|
|
230
231
|
readonly outputs: readonly [{
|
|
231
|
-
readonly internalType: "uint256[]";
|
|
232
232
|
readonly name: "streamIds";
|
|
233
233
|
readonly type: "uint256[]";
|
|
234
|
+
readonly internalType: "uint256[]";
|
|
234
235
|
}];
|
|
235
236
|
readonly stateMutability: "nonpayable";
|
|
236
|
-
readonly type: "function";
|
|
237
237
|
}, {
|
|
238
|
+
readonly type: "function";
|
|
239
|
+
readonly name: "createWithTimestampsLD";
|
|
238
240
|
readonly inputs: readonly [{
|
|
239
|
-
readonly internalType: "contract ISablierLockup";
|
|
240
241
|
readonly name: "lockup";
|
|
241
242
|
readonly type: "address";
|
|
243
|
+
readonly internalType: "contract ISablierLockup";
|
|
242
244
|
}, {
|
|
243
|
-
readonly internalType: "contract IERC20";
|
|
244
245
|
readonly name: "token";
|
|
245
246
|
readonly type: "address";
|
|
247
|
+
readonly internalType: "contract IERC20";
|
|
246
248
|
}, {
|
|
249
|
+
readonly name: "batch";
|
|
250
|
+
readonly type: "tuple[]";
|
|
251
|
+
readonly internalType: "struct BatchLockup.CreateWithTimestampsLD[]";
|
|
247
252
|
readonly components: readonly [{
|
|
248
|
-
readonly internalType: "address";
|
|
249
253
|
readonly name: "sender";
|
|
250
254
|
readonly type: "address";
|
|
251
|
-
}, {
|
|
252
255
|
readonly internalType: "address";
|
|
256
|
+
}, {
|
|
253
257
|
readonly name: "recipient";
|
|
254
258
|
readonly type: "address";
|
|
259
|
+
readonly internalType: "address";
|
|
255
260
|
}, {
|
|
256
|
-
readonly internalType: "uint128";
|
|
257
261
|
readonly name: "totalAmount";
|
|
258
262
|
readonly type: "uint128";
|
|
263
|
+
readonly internalType: "uint128";
|
|
259
264
|
}, {
|
|
260
|
-
readonly internalType: "bool";
|
|
261
265
|
readonly name: "cancelable";
|
|
262
266
|
readonly type: "bool";
|
|
263
|
-
}, {
|
|
264
267
|
readonly internalType: "bool";
|
|
268
|
+
}, {
|
|
265
269
|
readonly name: "transferable";
|
|
266
270
|
readonly type: "bool";
|
|
271
|
+
readonly internalType: "bool";
|
|
267
272
|
}, {
|
|
268
|
-
readonly internalType: "uint40";
|
|
269
273
|
readonly name: "startTime";
|
|
270
274
|
readonly type: "uint40";
|
|
275
|
+
readonly internalType: "uint40";
|
|
271
276
|
}, {
|
|
277
|
+
readonly name: "segments";
|
|
278
|
+
readonly type: "tuple[]";
|
|
279
|
+
readonly internalType: "struct LockupDynamic.Segment[]";
|
|
272
280
|
readonly components: readonly [{
|
|
273
|
-
readonly internalType: "uint128";
|
|
274
281
|
readonly name: "amount";
|
|
275
282
|
readonly type: "uint128";
|
|
283
|
+
readonly internalType: "uint128";
|
|
276
284
|
}, {
|
|
277
|
-
readonly internalType: "UD2x18";
|
|
278
285
|
readonly name: "exponent";
|
|
279
286
|
readonly type: "uint64";
|
|
287
|
+
readonly internalType: "UD2x18";
|
|
280
288
|
}, {
|
|
281
|
-
readonly internalType: "uint40";
|
|
282
289
|
readonly name: "timestamp";
|
|
283
290
|
readonly type: "uint40";
|
|
291
|
+
readonly internalType: "uint40";
|
|
284
292
|
}];
|
|
285
|
-
readonly internalType: "struct LockupDynamic.Segment[]";
|
|
286
|
-
readonly name: "segments";
|
|
287
|
-
readonly type: "tuple[]";
|
|
288
293
|
}, {
|
|
289
|
-
readonly internalType: "string";
|
|
290
294
|
readonly name: "shape";
|
|
291
295
|
readonly type: "string";
|
|
296
|
+
readonly internalType: "string";
|
|
292
297
|
}, {
|
|
298
|
+
readonly name: "broker";
|
|
299
|
+
readonly type: "tuple";
|
|
300
|
+
readonly internalType: "struct Broker";
|
|
293
301
|
readonly components: readonly [{
|
|
294
|
-
readonly internalType: "address";
|
|
295
302
|
readonly name: "account";
|
|
296
303
|
readonly type: "address";
|
|
304
|
+
readonly internalType: "address";
|
|
297
305
|
}, {
|
|
298
|
-
readonly internalType: "UD60x18";
|
|
299
306
|
readonly name: "fee";
|
|
300
307
|
readonly type: "uint256";
|
|
308
|
+
readonly internalType: "UD60x18";
|
|
301
309
|
}];
|
|
302
|
-
readonly internalType: "struct Broker";
|
|
303
|
-
readonly name: "broker";
|
|
304
|
-
readonly type: "tuple";
|
|
305
310
|
}];
|
|
306
|
-
readonly internalType: "struct BatchLockup.CreateWithTimestampsLD[]";
|
|
307
|
-
readonly name: "batch";
|
|
308
|
-
readonly type: "tuple[]";
|
|
309
311
|
}];
|
|
310
|
-
readonly name: "createWithTimestampsLD";
|
|
311
312
|
readonly outputs: readonly [{
|
|
312
|
-
readonly internalType: "uint256[]";
|
|
313
313
|
readonly name: "streamIds";
|
|
314
314
|
readonly type: "uint256[]";
|
|
315
|
+
readonly internalType: "uint256[]";
|
|
315
316
|
}];
|
|
316
317
|
readonly stateMutability: "nonpayable";
|
|
317
|
-
readonly type: "function";
|
|
318
318
|
}, {
|
|
319
|
+
readonly type: "function";
|
|
320
|
+
readonly name: "createWithTimestampsLL";
|
|
319
321
|
readonly inputs: readonly [{
|
|
320
|
-
readonly internalType: "contract ISablierLockup";
|
|
321
322
|
readonly name: "lockup";
|
|
322
323
|
readonly type: "address";
|
|
324
|
+
readonly internalType: "contract ISablierLockup";
|
|
323
325
|
}, {
|
|
324
|
-
readonly internalType: "contract IERC20";
|
|
325
326
|
readonly name: "token";
|
|
326
327
|
readonly type: "address";
|
|
328
|
+
readonly internalType: "contract IERC20";
|
|
327
329
|
}, {
|
|
330
|
+
readonly name: "batch";
|
|
331
|
+
readonly type: "tuple[]";
|
|
332
|
+
readonly internalType: "struct BatchLockup.CreateWithTimestampsLL[]";
|
|
328
333
|
readonly components: readonly [{
|
|
329
|
-
readonly internalType: "address";
|
|
330
334
|
readonly name: "sender";
|
|
331
335
|
readonly type: "address";
|
|
332
|
-
}, {
|
|
333
336
|
readonly internalType: "address";
|
|
337
|
+
}, {
|
|
334
338
|
readonly name: "recipient";
|
|
335
339
|
readonly type: "address";
|
|
340
|
+
readonly internalType: "address";
|
|
336
341
|
}, {
|
|
337
|
-
readonly internalType: "uint128";
|
|
338
342
|
readonly name: "totalAmount";
|
|
339
343
|
readonly type: "uint128";
|
|
344
|
+
readonly internalType: "uint128";
|
|
340
345
|
}, {
|
|
341
|
-
readonly internalType: "bool";
|
|
342
346
|
readonly name: "cancelable";
|
|
343
347
|
readonly type: "bool";
|
|
344
|
-
}, {
|
|
345
348
|
readonly internalType: "bool";
|
|
349
|
+
}, {
|
|
346
350
|
readonly name: "transferable";
|
|
347
351
|
readonly type: "bool";
|
|
352
|
+
readonly internalType: "bool";
|
|
348
353
|
}, {
|
|
354
|
+
readonly name: "timestamps";
|
|
355
|
+
readonly type: "tuple";
|
|
356
|
+
readonly internalType: "struct Lockup.Timestamps";
|
|
349
357
|
readonly components: readonly [{
|
|
350
|
-
readonly internalType: "uint40";
|
|
351
358
|
readonly name: "start";
|
|
352
359
|
readonly type: "uint40";
|
|
353
|
-
}, {
|
|
354
360
|
readonly internalType: "uint40";
|
|
361
|
+
}, {
|
|
355
362
|
readonly name: "end";
|
|
356
363
|
readonly type: "uint40";
|
|
364
|
+
readonly internalType: "uint40";
|
|
357
365
|
}];
|
|
358
|
-
readonly internalType: "struct Lockup.Timestamps";
|
|
359
|
-
readonly name: "timestamps";
|
|
360
|
-
readonly type: "tuple";
|
|
361
366
|
}, {
|
|
362
|
-
readonly internalType: "uint40";
|
|
363
367
|
readonly name: "cliffTime";
|
|
364
368
|
readonly type: "uint40";
|
|
369
|
+
readonly internalType: "uint40";
|
|
365
370
|
}, {
|
|
371
|
+
readonly name: "unlockAmounts";
|
|
372
|
+
readonly type: "tuple";
|
|
373
|
+
readonly internalType: "struct LockupLinear.UnlockAmounts";
|
|
366
374
|
readonly components: readonly [{
|
|
367
|
-
readonly internalType: "uint128";
|
|
368
375
|
readonly name: "start";
|
|
369
376
|
readonly type: "uint128";
|
|
370
|
-
}, {
|
|
371
377
|
readonly internalType: "uint128";
|
|
378
|
+
}, {
|
|
372
379
|
readonly name: "cliff";
|
|
373
380
|
readonly type: "uint128";
|
|
381
|
+
readonly internalType: "uint128";
|
|
374
382
|
}];
|
|
375
|
-
readonly internalType: "struct LockupLinear.UnlockAmounts";
|
|
376
|
-
readonly name: "unlockAmounts";
|
|
377
|
-
readonly type: "tuple";
|
|
378
383
|
}, {
|
|
379
|
-
readonly internalType: "string";
|
|
380
384
|
readonly name: "shape";
|
|
381
385
|
readonly type: "string";
|
|
386
|
+
readonly internalType: "string";
|
|
382
387
|
}, {
|
|
388
|
+
readonly name: "broker";
|
|
389
|
+
readonly type: "tuple";
|
|
390
|
+
readonly internalType: "struct Broker";
|
|
383
391
|
readonly components: readonly [{
|
|
384
|
-
readonly internalType: "address";
|
|
385
392
|
readonly name: "account";
|
|
386
393
|
readonly type: "address";
|
|
394
|
+
readonly internalType: "address";
|
|
387
395
|
}, {
|
|
388
|
-
readonly internalType: "UD60x18";
|
|
389
396
|
readonly name: "fee";
|
|
390
397
|
readonly type: "uint256";
|
|
398
|
+
readonly internalType: "UD60x18";
|
|
391
399
|
}];
|
|
392
|
-
readonly internalType: "struct Broker";
|
|
393
|
-
readonly name: "broker";
|
|
394
|
-
readonly type: "tuple";
|
|
395
400
|
}];
|
|
396
|
-
readonly internalType: "struct BatchLockup.CreateWithTimestampsLL[]";
|
|
397
|
-
readonly name: "batch";
|
|
398
|
-
readonly type: "tuple[]";
|
|
399
401
|
}];
|
|
400
|
-
readonly name: "createWithTimestampsLL";
|
|
401
402
|
readonly outputs: readonly [{
|
|
402
|
-
readonly internalType: "uint256[]";
|
|
403
403
|
readonly name: "streamIds";
|
|
404
404
|
readonly type: "uint256[]";
|
|
405
|
+
readonly internalType: "uint256[]";
|
|
405
406
|
}];
|
|
406
407
|
readonly stateMutability: "nonpayable";
|
|
407
|
-
readonly type: "function";
|
|
408
408
|
}, {
|
|
409
|
+
readonly type: "function";
|
|
410
|
+
readonly name: "createWithTimestampsLT";
|
|
409
411
|
readonly inputs: readonly [{
|
|
410
|
-
readonly internalType: "contract ISablierLockup";
|
|
411
412
|
readonly name: "lockup";
|
|
412
413
|
readonly type: "address";
|
|
414
|
+
readonly internalType: "contract ISablierLockup";
|
|
413
415
|
}, {
|
|
414
|
-
readonly internalType: "contract IERC20";
|
|
415
416
|
readonly name: "token";
|
|
416
417
|
readonly type: "address";
|
|
418
|
+
readonly internalType: "contract IERC20";
|
|
417
419
|
}, {
|
|
420
|
+
readonly name: "batch";
|
|
421
|
+
readonly type: "tuple[]";
|
|
422
|
+
readonly internalType: "struct BatchLockup.CreateWithTimestampsLT[]";
|
|
418
423
|
readonly components: readonly [{
|
|
419
|
-
readonly internalType: "address";
|
|
420
424
|
readonly name: "sender";
|
|
421
425
|
readonly type: "address";
|
|
422
|
-
}, {
|
|
423
426
|
readonly internalType: "address";
|
|
427
|
+
}, {
|
|
424
428
|
readonly name: "recipient";
|
|
425
429
|
readonly type: "address";
|
|
430
|
+
readonly internalType: "address";
|
|
426
431
|
}, {
|
|
427
|
-
readonly internalType: "uint128";
|
|
428
432
|
readonly name: "totalAmount";
|
|
429
433
|
readonly type: "uint128";
|
|
434
|
+
readonly internalType: "uint128";
|
|
430
435
|
}, {
|
|
431
|
-
readonly internalType: "bool";
|
|
432
436
|
readonly name: "cancelable";
|
|
433
437
|
readonly type: "bool";
|
|
434
|
-
}, {
|
|
435
438
|
readonly internalType: "bool";
|
|
439
|
+
}, {
|
|
436
440
|
readonly name: "transferable";
|
|
437
441
|
readonly type: "bool";
|
|
442
|
+
readonly internalType: "bool";
|
|
438
443
|
}, {
|
|
439
|
-
readonly internalType: "uint40";
|
|
440
444
|
readonly name: "startTime";
|
|
441
445
|
readonly type: "uint40";
|
|
446
|
+
readonly internalType: "uint40";
|
|
442
447
|
}, {
|
|
448
|
+
readonly name: "tranches";
|
|
449
|
+
readonly type: "tuple[]";
|
|
450
|
+
readonly internalType: "struct LockupTranched.Tranche[]";
|
|
443
451
|
readonly components: readonly [{
|
|
444
|
-
readonly internalType: "uint128";
|
|
445
452
|
readonly name: "amount";
|
|
446
453
|
readonly type: "uint128";
|
|
454
|
+
readonly internalType: "uint128";
|
|
447
455
|
}, {
|
|
448
|
-
readonly internalType: "uint40";
|
|
449
456
|
readonly name: "timestamp";
|
|
450
457
|
readonly type: "uint40";
|
|
458
|
+
readonly internalType: "uint40";
|
|
451
459
|
}];
|
|
452
|
-
readonly internalType: "struct LockupTranched.Tranche[]";
|
|
453
|
-
readonly name: "tranches";
|
|
454
|
-
readonly type: "tuple[]";
|
|
455
460
|
}, {
|
|
456
|
-
readonly internalType: "string";
|
|
457
461
|
readonly name: "shape";
|
|
458
462
|
readonly type: "string";
|
|
463
|
+
readonly internalType: "string";
|
|
459
464
|
}, {
|
|
465
|
+
readonly name: "broker";
|
|
466
|
+
readonly type: "tuple";
|
|
467
|
+
readonly internalType: "struct Broker";
|
|
460
468
|
readonly components: readonly [{
|
|
461
|
-
readonly internalType: "address";
|
|
462
469
|
readonly name: "account";
|
|
463
470
|
readonly type: "address";
|
|
471
|
+
readonly internalType: "address";
|
|
464
472
|
}, {
|
|
465
|
-
readonly internalType: "UD60x18";
|
|
466
473
|
readonly name: "fee";
|
|
467
474
|
readonly type: "uint256";
|
|
475
|
+
readonly internalType: "UD60x18";
|
|
468
476
|
}];
|
|
469
|
-
readonly internalType: "struct Broker";
|
|
470
|
-
readonly name: "broker";
|
|
471
|
-
readonly type: "tuple";
|
|
472
477
|
}];
|
|
473
|
-
readonly internalType: "struct BatchLockup.CreateWithTimestampsLT[]";
|
|
474
|
-
readonly name: "batch";
|
|
475
|
-
readonly type: "tuple[]";
|
|
476
478
|
}];
|
|
477
|
-
readonly name: "createWithTimestampsLT";
|
|
478
479
|
readonly outputs: readonly [{
|
|
479
|
-
readonly internalType: "uint256[]";
|
|
480
480
|
readonly name: "streamIds";
|
|
481
481
|
readonly type: "uint256[]";
|
|
482
|
+
readonly internalType: "uint256[]";
|
|
482
483
|
}];
|
|
483
484
|
readonly stateMutability: "nonpayable";
|
|
484
|
-
readonly type: "function";
|
|
485
485
|
}, {
|
|
486
|
+
readonly type: "error";
|
|
487
|
+
readonly name: "AddressEmptyCode";
|
|
486
488
|
readonly inputs: readonly [{
|
|
487
|
-
readonly internalType: "address";
|
|
488
489
|
readonly name: "target";
|
|
489
490
|
readonly type: "address";
|
|
491
|
+
readonly internalType: "address";
|
|
490
492
|
}];
|
|
491
|
-
readonly name: "AddressEmptyCode";
|
|
492
|
-
readonly type: "error";
|
|
493
493
|
}, {
|
|
494
|
+
readonly type: "error";
|
|
495
|
+
readonly name: "AddressInsufficientBalance";
|
|
494
496
|
readonly inputs: readonly [{
|
|
495
|
-
readonly internalType: "address";
|
|
496
497
|
readonly name: "account";
|
|
497
498
|
readonly type: "address";
|
|
499
|
+
readonly internalType: "address";
|
|
498
500
|
}];
|
|
499
|
-
readonly name: "AddressInsufficientBalance";
|
|
500
|
-
readonly type: "error";
|
|
501
501
|
}, {
|
|
502
|
-
readonly inputs: readonly [];
|
|
503
|
-
readonly name: "FailedInnerCall";
|
|
504
502
|
readonly type: "error";
|
|
505
|
-
|
|
503
|
+
readonly name: "FailedInnerCall";
|
|
506
504
|
readonly inputs: readonly [];
|
|
507
|
-
|
|
505
|
+
}, {
|
|
508
506
|
readonly type: "error";
|
|
507
|
+
readonly name: "SablierBatchLockup_BatchSizeZero";
|
|
508
|
+
readonly inputs: readonly [];
|
|
509
509
|
}, {
|
|
510
|
+
readonly type: "error";
|
|
511
|
+
readonly name: "SafeERC20FailedOperation";
|
|
510
512
|
readonly inputs: readonly [{
|
|
511
|
-
readonly internalType: "address";
|
|
512
513
|
readonly name: "token";
|
|
513
514
|
readonly type: "address";
|
|
515
|
+
readonly internalType: "address";
|
|
514
516
|
}];
|
|
515
|
-
readonly name: "SafeERC20FailedOperation";
|
|
516
|
-
readonly type: "error";
|
|
517
517
|
}];
|
|
518
518
|
//# sourceMappingURL=SablierBatchLockup.d.ts.map
|