sablier 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/abi/airdrops/v1.1/SablierV2MerkleStreamer.json +263 -0
  2. package/dist/abi/airdrops/v1.1/SablierV2MerkleStreamerFactory.json +174 -0
  3. package/dist/abi/airdrops/v1.1/SablierV2MerkleStreamerLL.json +423 -0
  4. package/dist/abi/airdrops/v1.2/SablierV2MerkleLL.json +520 -0
  5. package/dist/abi/airdrops/v1.2/SablierV2MerkleLT.json +578 -0
  6. package/dist/abi/airdrops/v1.2/SablierV2MerkleLockup.json +348 -0
  7. package/dist/abi/airdrops/v1.2/SablierV2MerkleLockupFactory.json +419 -0
  8. package/dist/abi/airdrops/v1.3/SablierMerkleBase.json +441 -0
  9. package/dist/abi/airdrops/v1.3/SablierMerkleFactory.json +364 -0
  10. package/dist/abi/airdrops/v1.3/SablierMerkleInstant.json +519 -0
  11. package/dist/abi/airdrops/v1.3/SablierMerkleLL.json +678 -0
  12. package/dist/abi/airdrops/v1.3/SablierMerkleLT.json +690 -0
  13. package/dist/abi/airdrops/v1.3/SablierMerkleLockup.json +651 -0
  14. package/dist/abi/airdrops/v2.0/SablierFactoryMerkleInstant.json +400 -0
  15. package/dist/abi/airdrops/v2.0/SablierFactoryMerkleLL.json +535 -0
  16. package/dist/abi/airdrops/v2.0/SablierFactoryMerkleLT.json +574 -0
  17. package/dist/abi/airdrops/v2.0/SablierFactoryMerkleVCA.json +498 -0
  18. package/dist/abi/airdrops/v2.0/SablierMerkleInstant.json +696 -0
  19. package/dist/abi/airdrops/v2.0/SablierMerkleLL.json +947 -0
  20. package/dist/abi/airdrops/v2.0/SablierMerkleLT.json +917 -0
  21. package/dist/abi/airdrops/v2.0/SablierMerkleVCA.json +843 -0
  22. package/dist/abi/flow/v1.0/SablierFlow.json +2356 -0
  23. package/dist/abi/flow/v1.1/SablierFlow.json +2393 -0
  24. package/dist/abi/flow/v2.0/SablierFlow.json +961 -0
  25. package/dist/abi/lockup/v1.0/SablierV2Lockup.json +1288 -0
  26. package/dist/abi/lockup/v1.0/SablierV2LockupDynamic.json +916 -0
  27. package/dist/abi/lockup/v1.0/SablierV2LockupLinear.json +829 -0
  28. package/dist/abi/lockup/v1.1/SablierV2Lockup.json +1351 -0
  29. package/dist/abi/lockup/v1.1/SablierV2LockupDynamic.json +934 -0
  30. package/dist/abi/lockup/v1.1/SablierV2LockupLinear.json +847 -0
  31. package/dist/abi/lockup/v1.2/SablierV2Lockup.json +1494 -0
  32. package/dist/abi/lockup/v1.2/SablierV2LockupDynamic.json +974 -0
  33. package/dist/abi/lockup/v1.2/SablierV2LockupLinear.json +895 -0
  34. package/dist/abi/lockup/v1.2/SablierV2LockupTranched.json +927 -0
  35. package/dist/abi/lockup/v2.0/SablierBatchLockup.json +570 -0
  36. package/dist/abi/lockup/v2.0/SablierLockup.json +1220 -0
  37. package/dist/abi/lockup/v3.0/SablierBatchLockup.json +674 -0
  38. package/dist/abi/lockup/v3.0/SablierLockup.json +1168 -0
  39. package/dist/chains/data.js +1 -1
  40. package/dist/chains/data.js.map +1 -1
  41. package/package.json +7 -8
@@ -0,0 +1,927 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ { "internalType": "address", "name": "initialAdmin", "type": "address" },
5
+ { "internalType": "contract ISablierV2NFTDescriptor", "name": "initialNFTDescriptor", "type": "address" },
6
+ { "internalType": "uint256", "name": "maxTrancheCount", "type": "uint256" }
7
+ ],
8
+ "stateMutability": "nonpayable",
9
+ "type": "constructor"
10
+ },
11
+ {
12
+ "inputs": [{ "internalType": "address", "name": "target", "type": "address" }],
13
+ "name": "AddressEmptyCode",
14
+ "type": "error"
15
+ },
16
+ {
17
+ "inputs": [{ "internalType": "address", "name": "account", "type": "address" }],
18
+ "name": "AddressInsufficientBalance",
19
+ "type": "error"
20
+ },
21
+ {
22
+ "inputs": [
23
+ { "internalType": "address", "name": "admin", "type": "address" },
24
+ { "internalType": "address", "name": "caller", "type": "address" }
25
+ ],
26
+ "name": "CallerNotAdmin",
27
+ "type": "error"
28
+ },
29
+ { "inputs": [], "name": "DelegateCall", "type": "error" },
30
+ {
31
+ "inputs": [
32
+ { "internalType": "address", "name": "sender", "type": "address" },
33
+ { "internalType": "uint256", "name": "tokenId", "type": "uint256" },
34
+ { "internalType": "address", "name": "owner", "type": "address" }
35
+ ],
36
+ "name": "ERC721IncorrectOwner",
37
+ "type": "error"
38
+ },
39
+ {
40
+ "inputs": [
41
+ { "internalType": "address", "name": "operator", "type": "address" },
42
+ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
43
+ ],
44
+ "name": "ERC721InsufficientApproval",
45
+ "type": "error"
46
+ },
47
+ {
48
+ "inputs": [{ "internalType": "address", "name": "approver", "type": "address" }],
49
+ "name": "ERC721InvalidApprover",
50
+ "type": "error"
51
+ },
52
+ {
53
+ "inputs": [{ "internalType": "address", "name": "operator", "type": "address" }],
54
+ "name": "ERC721InvalidOperator",
55
+ "type": "error"
56
+ },
57
+ {
58
+ "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }],
59
+ "name": "ERC721InvalidOwner",
60
+ "type": "error"
61
+ },
62
+ {
63
+ "inputs": [{ "internalType": "address", "name": "receiver", "type": "address" }],
64
+ "name": "ERC721InvalidReceiver",
65
+ "type": "error"
66
+ },
67
+ {
68
+ "inputs": [{ "internalType": "address", "name": "sender", "type": "address" }],
69
+ "name": "ERC721InvalidSender",
70
+ "type": "error"
71
+ },
72
+ {
73
+ "inputs": [{ "internalType": "uint256", "name": "tokenId", "type": "uint256" }],
74
+ "name": "ERC721NonexistentToken",
75
+ "type": "error"
76
+ },
77
+ { "inputs": [], "name": "FailedInnerCall", "type": "error" },
78
+ {
79
+ "inputs": [
80
+ { "internalType": "uint256", "name": "x", "type": "uint256" },
81
+ { "internalType": "uint256", "name": "y", "type": "uint256" }
82
+ ],
83
+ "name": "PRBMath_MulDiv18_Overflow",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [
88
+ { "internalType": "uint128", "name": "depositAmount", "type": "uint128" },
89
+ { "internalType": "uint128", "name": "trancheAmountsSum", "type": "uint128" }
90
+ ],
91
+ "name": "SablierV2LockupTranched_DepositAmountNotEqualToTrancheAmountsSum",
92
+ "type": "error"
93
+ },
94
+ {
95
+ "inputs": [
96
+ { "internalType": "uint40", "name": "startTime", "type": "uint40" },
97
+ { "internalType": "uint40", "name": "firstTrancheTimestamp", "type": "uint40" }
98
+ ],
99
+ "name": "SablierV2LockupTranched_StartTimeNotLessThanFirstTrancheTimestamp",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "inputs": [{ "internalType": "uint256", "name": "count", "type": "uint256" }],
104
+ "name": "SablierV2LockupTranched_TrancheCountTooHigh",
105
+ "type": "error"
106
+ },
107
+ { "inputs": [], "name": "SablierV2LockupTranched_TrancheCountZero", "type": "error" },
108
+ {
109
+ "inputs": [
110
+ { "internalType": "uint256", "name": "index", "type": "uint256" },
111
+ { "internalType": "uint40", "name": "previousTimestamp", "type": "uint40" },
112
+ { "internalType": "uint40", "name": "currentTimestamp", "type": "uint40" }
113
+ ],
114
+ "name": "SablierV2LockupTranched_TrancheTimestampsNotOrdered",
115
+ "type": "error"
116
+ },
117
+ {
118
+ "inputs": [{ "internalType": "address", "name": "recipient", "type": "address" }],
119
+ "name": "SablierV2Lockup_AllowToHookUnsupportedInterface",
120
+ "type": "error"
121
+ },
122
+ {
123
+ "inputs": [{ "internalType": "address", "name": "recipient", "type": "address" }],
124
+ "name": "SablierV2Lockup_AllowToHookZeroCodeSize",
125
+ "type": "error"
126
+ },
127
+ {
128
+ "inputs": [
129
+ { "internalType": "UD60x18", "name": "brokerFee", "type": "uint256" },
130
+ { "internalType": "UD60x18", "name": "maxBrokerFee", "type": "uint256" }
131
+ ],
132
+ "name": "SablierV2Lockup_BrokerFeeTooHigh",
133
+ "type": "error"
134
+ },
135
+ { "inputs": [], "name": "SablierV2Lockup_DepositAmountZero", "type": "error" },
136
+ {
137
+ "inputs": [
138
+ { "internalType": "uint40", "name": "blockTimestamp", "type": "uint40" },
139
+ { "internalType": "uint40", "name": "endTime", "type": "uint40" }
140
+ ],
141
+ "name": "SablierV2Lockup_EndTimeNotInTheFuture",
142
+ "type": "error"
143
+ },
144
+ {
145
+ "inputs": [{ "internalType": "address", "name": "recipient", "type": "address" }],
146
+ "name": "SablierV2Lockup_InvalidHookSelector",
147
+ "type": "error"
148
+ },
149
+ {
150
+ "inputs": [{ "internalType": "uint256", "name": "tokenId", "type": "uint256" }],
151
+ "name": "SablierV2Lockup_NotTransferable",
152
+ "type": "error"
153
+ },
154
+ {
155
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
156
+ "name": "SablierV2Lockup_Null",
157
+ "type": "error"
158
+ },
159
+ {
160
+ "inputs": [
161
+ { "internalType": "uint256", "name": "streamId", "type": "uint256" },
162
+ { "internalType": "uint128", "name": "amount", "type": "uint128" },
163
+ { "internalType": "uint128", "name": "withdrawableAmount", "type": "uint128" }
164
+ ],
165
+ "name": "SablierV2Lockup_Overdraw",
166
+ "type": "error"
167
+ },
168
+ { "inputs": [], "name": "SablierV2Lockup_StartTimeZero", "type": "error" },
169
+ {
170
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
171
+ "name": "SablierV2Lockup_StreamCanceled",
172
+ "type": "error"
173
+ },
174
+ {
175
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
176
+ "name": "SablierV2Lockup_StreamDepleted",
177
+ "type": "error"
178
+ },
179
+ {
180
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
181
+ "name": "SablierV2Lockup_StreamNotCancelable",
182
+ "type": "error"
183
+ },
184
+ {
185
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
186
+ "name": "SablierV2Lockup_StreamNotDepleted",
187
+ "type": "error"
188
+ },
189
+ {
190
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
191
+ "name": "SablierV2Lockup_StreamSettled",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [
196
+ { "internalType": "uint256", "name": "streamId", "type": "uint256" },
197
+ { "internalType": "address", "name": "caller", "type": "address" }
198
+ ],
199
+ "name": "SablierV2Lockup_Unauthorized",
200
+ "type": "error"
201
+ },
202
+ {
203
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
204
+ "name": "SablierV2Lockup_WithdrawAmountZero",
205
+ "type": "error"
206
+ },
207
+ {
208
+ "inputs": [
209
+ { "internalType": "uint256", "name": "streamIdsCount", "type": "uint256" },
210
+ { "internalType": "uint256", "name": "amountsCount", "type": "uint256" }
211
+ ],
212
+ "name": "SablierV2Lockup_WithdrawArrayCountsNotEqual",
213
+ "type": "error"
214
+ },
215
+ {
216
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
217
+ "name": "SablierV2Lockup_WithdrawToZeroAddress",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [
222
+ { "internalType": "uint256", "name": "streamId", "type": "uint256" },
223
+ { "internalType": "address", "name": "caller", "type": "address" },
224
+ { "internalType": "address", "name": "to", "type": "address" }
225
+ ],
226
+ "name": "SablierV2Lockup_WithdrawalAddressNotRecipient",
227
+ "type": "error"
228
+ },
229
+ {
230
+ "inputs": [{ "internalType": "address", "name": "token", "type": "address" }],
231
+ "name": "SafeERC20FailedOperation",
232
+ "type": "error"
233
+ },
234
+ {
235
+ "anonymous": false,
236
+ "inputs": [
237
+ { "indexed": true, "internalType": "address", "name": "admin", "type": "address" },
238
+ { "indexed": false, "internalType": "address", "name": "recipient", "type": "address" }
239
+ ],
240
+ "name": "AllowToHook",
241
+ "type": "event"
242
+ },
243
+ {
244
+ "anonymous": false,
245
+ "inputs": [
246
+ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" },
247
+ { "indexed": true, "internalType": "address", "name": "approved", "type": "address" },
248
+ { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" }
249
+ ],
250
+ "name": "Approval",
251
+ "type": "event"
252
+ },
253
+ {
254
+ "anonymous": false,
255
+ "inputs": [
256
+ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" },
257
+ { "indexed": true, "internalType": "address", "name": "operator", "type": "address" },
258
+ { "indexed": false, "internalType": "bool", "name": "approved", "type": "bool" }
259
+ ],
260
+ "name": "ApprovalForAll",
261
+ "type": "event"
262
+ },
263
+ {
264
+ "anonymous": false,
265
+ "inputs": [
266
+ { "indexed": false, "internalType": "uint256", "name": "_fromTokenId", "type": "uint256" },
267
+ { "indexed": false, "internalType": "uint256", "name": "_toTokenId", "type": "uint256" }
268
+ ],
269
+ "name": "BatchMetadataUpdate",
270
+ "type": "event"
271
+ },
272
+ {
273
+ "anonymous": false,
274
+ "inputs": [
275
+ { "indexed": false, "internalType": "uint256", "name": "streamId", "type": "uint256" },
276
+ { "indexed": true, "internalType": "address", "name": "sender", "type": "address" },
277
+ { "indexed": true, "internalType": "address", "name": "recipient", "type": "address" },
278
+ { "indexed": true, "internalType": "contract IERC20", "name": "asset", "type": "address" },
279
+ { "indexed": false, "internalType": "uint128", "name": "senderAmount", "type": "uint128" },
280
+ { "indexed": false, "internalType": "uint128", "name": "recipientAmount", "type": "uint128" }
281
+ ],
282
+ "name": "CancelLockupStream",
283
+ "type": "event"
284
+ },
285
+ {
286
+ "anonymous": false,
287
+ "inputs": [
288
+ { "indexed": false, "internalType": "uint256", "name": "streamId", "type": "uint256" },
289
+ { "indexed": false, "internalType": "address", "name": "funder", "type": "address" },
290
+ { "indexed": true, "internalType": "address", "name": "sender", "type": "address" },
291
+ { "indexed": true, "internalType": "address", "name": "recipient", "type": "address" },
292
+ {
293
+ "components": [
294
+ { "internalType": "uint128", "name": "deposit", "type": "uint128" },
295
+ { "internalType": "uint128", "name": "brokerFee", "type": "uint128" }
296
+ ],
297
+ "indexed": false,
298
+ "internalType": "struct Lockup.CreateAmounts",
299
+ "name": "amounts",
300
+ "type": "tuple"
301
+ },
302
+ { "indexed": true, "internalType": "contract IERC20", "name": "asset", "type": "address" },
303
+ { "indexed": false, "internalType": "bool", "name": "cancelable", "type": "bool" },
304
+ { "indexed": false, "internalType": "bool", "name": "transferable", "type": "bool" },
305
+ {
306
+ "components": [
307
+ { "internalType": "uint128", "name": "amount", "type": "uint128" },
308
+ { "internalType": "uint40", "name": "timestamp", "type": "uint40" }
309
+ ],
310
+ "indexed": false,
311
+ "internalType": "struct LockupTranched.Tranche[]",
312
+ "name": "tranches",
313
+ "type": "tuple[]"
314
+ },
315
+ {
316
+ "components": [
317
+ { "internalType": "uint40", "name": "start", "type": "uint40" },
318
+ { "internalType": "uint40", "name": "end", "type": "uint40" }
319
+ ],
320
+ "indexed": false,
321
+ "internalType": "struct LockupTranched.Timestamps",
322
+ "name": "timestamps",
323
+ "type": "tuple"
324
+ },
325
+ { "indexed": false, "internalType": "address", "name": "broker", "type": "address" }
326
+ ],
327
+ "name": "CreateLockupTranchedStream",
328
+ "type": "event"
329
+ },
330
+ {
331
+ "anonymous": false,
332
+ "inputs": [{ "indexed": false, "internalType": "uint256", "name": "_tokenId", "type": "uint256" }],
333
+ "name": "MetadataUpdate",
334
+ "type": "event"
335
+ },
336
+ {
337
+ "anonymous": false,
338
+ "inputs": [{ "indexed": true, "internalType": "uint256", "name": "streamId", "type": "uint256" }],
339
+ "name": "RenounceLockupStream",
340
+ "type": "event"
341
+ },
342
+ {
343
+ "anonymous": false,
344
+ "inputs": [
345
+ { "indexed": true, "internalType": "address", "name": "admin", "type": "address" },
346
+ {
347
+ "indexed": false,
348
+ "internalType": "contract ISablierV2NFTDescriptor",
349
+ "name": "oldNFTDescriptor",
350
+ "type": "address"
351
+ },
352
+ {
353
+ "indexed": false,
354
+ "internalType": "contract ISablierV2NFTDescriptor",
355
+ "name": "newNFTDescriptor",
356
+ "type": "address"
357
+ }
358
+ ],
359
+ "name": "SetNFTDescriptor",
360
+ "type": "event"
361
+ },
362
+ {
363
+ "anonymous": false,
364
+ "inputs": [
365
+ { "indexed": true, "internalType": "address", "name": "from", "type": "address" },
366
+ { "indexed": true, "internalType": "address", "name": "to", "type": "address" },
367
+ { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" }
368
+ ],
369
+ "name": "Transfer",
370
+ "type": "event"
371
+ },
372
+ {
373
+ "anonymous": false,
374
+ "inputs": [
375
+ { "indexed": true, "internalType": "address", "name": "oldAdmin", "type": "address" },
376
+ { "indexed": true, "internalType": "address", "name": "newAdmin", "type": "address" }
377
+ ],
378
+ "name": "TransferAdmin",
379
+ "type": "event"
380
+ },
381
+ {
382
+ "anonymous": false,
383
+ "inputs": [
384
+ { "indexed": true, "internalType": "uint256", "name": "streamId", "type": "uint256" },
385
+ { "indexed": true, "internalType": "address", "name": "to", "type": "address" },
386
+ { "indexed": true, "internalType": "contract IERC20", "name": "asset", "type": "address" },
387
+ { "indexed": false, "internalType": "uint128", "name": "amount", "type": "uint128" }
388
+ ],
389
+ "name": "WithdrawFromLockupStream",
390
+ "type": "event"
391
+ },
392
+ {
393
+ "inputs": [],
394
+ "name": "MAX_BROKER_FEE",
395
+ "outputs": [{ "internalType": "UD60x18", "name": "", "type": "uint256" }],
396
+ "stateMutability": "view",
397
+ "type": "function"
398
+ },
399
+ {
400
+ "inputs": [],
401
+ "name": "MAX_TRANCHE_COUNT",
402
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
403
+ "stateMutability": "view",
404
+ "type": "function"
405
+ },
406
+ {
407
+ "inputs": [],
408
+ "name": "admin",
409
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
410
+ "stateMutability": "view",
411
+ "type": "function"
412
+ },
413
+ {
414
+ "inputs": [{ "internalType": "address", "name": "recipient", "type": "address" }],
415
+ "name": "allowToHook",
416
+ "outputs": [],
417
+ "stateMutability": "nonpayable",
418
+ "type": "function"
419
+ },
420
+ {
421
+ "inputs": [
422
+ { "internalType": "address", "name": "to", "type": "address" },
423
+ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
424
+ ],
425
+ "name": "approve",
426
+ "outputs": [],
427
+ "stateMutability": "nonpayable",
428
+ "type": "function"
429
+ },
430
+ {
431
+ "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }],
432
+ "name": "balanceOf",
433
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
434
+ "stateMutability": "view",
435
+ "type": "function"
436
+ },
437
+ {
438
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
439
+ "name": "burn",
440
+ "outputs": [],
441
+ "stateMutability": "nonpayable",
442
+ "type": "function"
443
+ },
444
+ {
445
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
446
+ "name": "cancel",
447
+ "outputs": [],
448
+ "stateMutability": "nonpayable",
449
+ "type": "function"
450
+ },
451
+ {
452
+ "inputs": [{ "internalType": "uint256[]", "name": "streamIds", "type": "uint256[]" }],
453
+ "name": "cancelMultiple",
454
+ "outputs": [],
455
+ "stateMutability": "nonpayable",
456
+ "type": "function"
457
+ },
458
+ {
459
+ "inputs": [
460
+ {
461
+ "components": [
462
+ { "internalType": "address", "name": "sender", "type": "address" },
463
+ { "internalType": "address", "name": "recipient", "type": "address" },
464
+ { "internalType": "uint128", "name": "totalAmount", "type": "uint128" },
465
+ { "internalType": "contract IERC20", "name": "asset", "type": "address" },
466
+ { "internalType": "bool", "name": "cancelable", "type": "bool" },
467
+ { "internalType": "bool", "name": "transferable", "type": "bool" },
468
+ {
469
+ "components": [
470
+ { "internalType": "uint128", "name": "amount", "type": "uint128" },
471
+ { "internalType": "uint40", "name": "duration", "type": "uint40" }
472
+ ],
473
+ "internalType": "struct LockupTranched.TrancheWithDuration[]",
474
+ "name": "tranches",
475
+ "type": "tuple[]"
476
+ },
477
+ {
478
+ "components": [
479
+ { "internalType": "address", "name": "account", "type": "address" },
480
+ { "internalType": "UD60x18", "name": "fee", "type": "uint256" }
481
+ ],
482
+ "internalType": "struct Broker",
483
+ "name": "broker",
484
+ "type": "tuple"
485
+ }
486
+ ],
487
+ "internalType": "struct LockupTranched.CreateWithDurations",
488
+ "name": "params",
489
+ "type": "tuple"
490
+ }
491
+ ],
492
+ "name": "createWithDurations",
493
+ "outputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
494
+ "stateMutability": "nonpayable",
495
+ "type": "function"
496
+ },
497
+ {
498
+ "inputs": [
499
+ {
500
+ "components": [
501
+ { "internalType": "address", "name": "sender", "type": "address" },
502
+ { "internalType": "address", "name": "recipient", "type": "address" },
503
+ { "internalType": "uint128", "name": "totalAmount", "type": "uint128" },
504
+ { "internalType": "contract IERC20", "name": "asset", "type": "address" },
505
+ { "internalType": "bool", "name": "cancelable", "type": "bool" },
506
+ { "internalType": "bool", "name": "transferable", "type": "bool" },
507
+ { "internalType": "uint40", "name": "startTime", "type": "uint40" },
508
+ {
509
+ "components": [
510
+ { "internalType": "uint128", "name": "amount", "type": "uint128" },
511
+ { "internalType": "uint40", "name": "timestamp", "type": "uint40" }
512
+ ],
513
+ "internalType": "struct LockupTranched.Tranche[]",
514
+ "name": "tranches",
515
+ "type": "tuple[]"
516
+ },
517
+ {
518
+ "components": [
519
+ { "internalType": "address", "name": "account", "type": "address" },
520
+ { "internalType": "UD60x18", "name": "fee", "type": "uint256" }
521
+ ],
522
+ "internalType": "struct Broker",
523
+ "name": "broker",
524
+ "type": "tuple"
525
+ }
526
+ ],
527
+ "internalType": "struct LockupTranched.CreateWithTimestamps",
528
+ "name": "params",
529
+ "type": "tuple"
530
+ }
531
+ ],
532
+ "name": "createWithTimestamps",
533
+ "outputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
534
+ "stateMutability": "nonpayable",
535
+ "type": "function"
536
+ },
537
+ {
538
+ "inputs": [{ "internalType": "uint256", "name": "tokenId", "type": "uint256" }],
539
+ "name": "getApproved",
540
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
541
+ "stateMutability": "view",
542
+ "type": "function"
543
+ },
544
+ {
545
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
546
+ "name": "getAsset",
547
+ "outputs": [{ "internalType": "contract IERC20", "name": "asset", "type": "address" }],
548
+ "stateMutability": "view",
549
+ "type": "function"
550
+ },
551
+ {
552
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
553
+ "name": "getDepositedAmount",
554
+ "outputs": [{ "internalType": "uint128", "name": "depositedAmount", "type": "uint128" }],
555
+ "stateMutability": "view",
556
+ "type": "function"
557
+ },
558
+ {
559
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
560
+ "name": "getEndTime",
561
+ "outputs": [{ "internalType": "uint40", "name": "endTime", "type": "uint40" }],
562
+ "stateMutability": "view",
563
+ "type": "function"
564
+ },
565
+ {
566
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
567
+ "name": "getRecipient",
568
+ "outputs": [{ "internalType": "address", "name": "recipient", "type": "address" }],
569
+ "stateMutability": "view",
570
+ "type": "function"
571
+ },
572
+ {
573
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
574
+ "name": "getRefundedAmount",
575
+ "outputs": [{ "internalType": "uint128", "name": "refundedAmount", "type": "uint128" }],
576
+ "stateMutability": "view",
577
+ "type": "function"
578
+ },
579
+ {
580
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
581
+ "name": "getSender",
582
+ "outputs": [{ "internalType": "address", "name": "sender", "type": "address" }],
583
+ "stateMutability": "view",
584
+ "type": "function"
585
+ },
586
+ {
587
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
588
+ "name": "getStartTime",
589
+ "outputs": [{ "internalType": "uint40", "name": "startTime", "type": "uint40" }],
590
+ "stateMutability": "view",
591
+ "type": "function"
592
+ },
593
+ {
594
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
595
+ "name": "getStream",
596
+ "outputs": [
597
+ {
598
+ "components": [
599
+ { "internalType": "address", "name": "sender", "type": "address" },
600
+ { "internalType": "address", "name": "recipient", "type": "address" },
601
+ { "internalType": "uint40", "name": "startTime", "type": "uint40" },
602
+ { "internalType": "uint40", "name": "endTime", "type": "uint40" },
603
+ { "internalType": "bool", "name": "isCancelable", "type": "bool" },
604
+ { "internalType": "bool", "name": "wasCanceled", "type": "bool" },
605
+ { "internalType": "contract IERC20", "name": "asset", "type": "address" },
606
+ { "internalType": "bool", "name": "isDepleted", "type": "bool" },
607
+ { "internalType": "bool", "name": "isStream", "type": "bool" },
608
+ { "internalType": "bool", "name": "isTransferable", "type": "bool" },
609
+ {
610
+ "components": [
611
+ { "internalType": "uint128", "name": "deposited", "type": "uint128" },
612
+ { "internalType": "uint128", "name": "withdrawn", "type": "uint128" },
613
+ { "internalType": "uint128", "name": "refunded", "type": "uint128" }
614
+ ],
615
+ "internalType": "struct Lockup.Amounts",
616
+ "name": "amounts",
617
+ "type": "tuple"
618
+ },
619
+ {
620
+ "components": [
621
+ { "internalType": "uint128", "name": "amount", "type": "uint128" },
622
+ { "internalType": "uint40", "name": "timestamp", "type": "uint40" }
623
+ ],
624
+ "internalType": "struct LockupTranched.Tranche[]",
625
+ "name": "tranches",
626
+ "type": "tuple[]"
627
+ }
628
+ ],
629
+ "internalType": "struct LockupTranched.StreamLT",
630
+ "name": "stream",
631
+ "type": "tuple"
632
+ }
633
+ ],
634
+ "stateMutability": "view",
635
+ "type": "function"
636
+ },
637
+ {
638
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
639
+ "name": "getTimestamps",
640
+ "outputs": [
641
+ {
642
+ "components": [
643
+ { "internalType": "uint40", "name": "start", "type": "uint40" },
644
+ { "internalType": "uint40", "name": "end", "type": "uint40" }
645
+ ],
646
+ "internalType": "struct LockupTranched.Timestamps",
647
+ "name": "timestamps",
648
+ "type": "tuple"
649
+ }
650
+ ],
651
+ "stateMutability": "view",
652
+ "type": "function"
653
+ },
654
+ {
655
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
656
+ "name": "getTranches",
657
+ "outputs": [
658
+ {
659
+ "components": [
660
+ { "internalType": "uint128", "name": "amount", "type": "uint128" },
661
+ { "internalType": "uint40", "name": "timestamp", "type": "uint40" }
662
+ ],
663
+ "internalType": "struct LockupTranched.Tranche[]",
664
+ "name": "tranches",
665
+ "type": "tuple[]"
666
+ }
667
+ ],
668
+ "stateMutability": "view",
669
+ "type": "function"
670
+ },
671
+ {
672
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
673
+ "name": "getWithdrawnAmount",
674
+ "outputs": [{ "internalType": "uint128", "name": "withdrawnAmount", "type": "uint128" }],
675
+ "stateMutability": "view",
676
+ "type": "function"
677
+ },
678
+ {
679
+ "inputs": [{ "internalType": "address", "name": "recipient", "type": "address" }],
680
+ "name": "isAllowedToHook",
681
+ "outputs": [{ "internalType": "bool", "name": "result", "type": "bool" }],
682
+ "stateMutability": "view",
683
+ "type": "function"
684
+ },
685
+ {
686
+ "inputs": [
687
+ { "internalType": "address", "name": "owner", "type": "address" },
688
+ { "internalType": "address", "name": "operator", "type": "address" }
689
+ ],
690
+ "name": "isApprovedForAll",
691
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
692
+ "stateMutability": "view",
693
+ "type": "function"
694
+ },
695
+ {
696
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
697
+ "name": "isCancelable",
698
+ "outputs": [{ "internalType": "bool", "name": "result", "type": "bool" }],
699
+ "stateMutability": "view",
700
+ "type": "function"
701
+ },
702
+ {
703
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
704
+ "name": "isCold",
705
+ "outputs": [{ "internalType": "bool", "name": "result", "type": "bool" }],
706
+ "stateMutability": "view",
707
+ "type": "function"
708
+ },
709
+ {
710
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
711
+ "name": "isDepleted",
712
+ "outputs": [{ "internalType": "bool", "name": "result", "type": "bool" }],
713
+ "stateMutability": "view",
714
+ "type": "function"
715
+ },
716
+ {
717
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
718
+ "name": "isStream",
719
+ "outputs": [{ "internalType": "bool", "name": "result", "type": "bool" }],
720
+ "stateMutability": "view",
721
+ "type": "function"
722
+ },
723
+ {
724
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
725
+ "name": "isTransferable",
726
+ "outputs": [{ "internalType": "bool", "name": "result", "type": "bool" }],
727
+ "stateMutability": "view",
728
+ "type": "function"
729
+ },
730
+ {
731
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
732
+ "name": "isWarm",
733
+ "outputs": [{ "internalType": "bool", "name": "result", "type": "bool" }],
734
+ "stateMutability": "view",
735
+ "type": "function"
736
+ },
737
+ {
738
+ "inputs": [],
739
+ "name": "name",
740
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
741
+ "stateMutability": "view",
742
+ "type": "function"
743
+ },
744
+ {
745
+ "inputs": [],
746
+ "name": "nextStreamId",
747
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
748
+ "stateMutability": "view",
749
+ "type": "function"
750
+ },
751
+ {
752
+ "inputs": [],
753
+ "name": "nftDescriptor",
754
+ "outputs": [{ "internalType": "contract ISablierV2NFTDescriptor", "name": "", "type": "address" }],
755
+ "stateMutability": "view",
756
+ "type": "function"
757
+ },
758
+ {
759
+ "inputs": [{ "internalType": "uint256", "name": "tokenId", "type": "uint256" }],
760
+ "name": "ownerOf",
761
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
762
+ "stateMutability": "view",
763
+ "type": "function"
764
+ },
765
+ {
766
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
767
+ "name": "refundableAmountOf",
768
+ "outputs": [{ "internalType": "uint128", "name": "refundableAmount", "type": "uint128" }],
769
+ "stateMutability": "view",
770
+ "type": "function"
771
+ },
772
+ {
773
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
774
+ "name": "renounce",
775
+ "outputs": [],
776
+ "stateMutability": "nonpayable",
777
+ "type": "function"
778
+ },
779
+ {
780
+ "inputs": [
781
+ { "internalType": "address", "name": "from", "type": "address" },
782
+ { "internalType": "address", "name": "to", "type": "address" },
783
+ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
784
+ ],
785
+ "name": "safeTransferFrom",
786
+ "outputs": [],
787
+ "stateMutability": "nonpayable",
788
+ "type": "function"
789
+ },
790
+ {
791
+ "inputs": [
792
+ { "internalType": "address", "name": "from", "type": "address" },
793
+ { "internalType": "address", "name": "to", "type": "address" },
794
+ { "internalType": "uint256", "name": "tokenId", "type": "uint256" },
795
+ { "internalType": "bytes", "name": "data", "type": "bytes" }
796
+ ],
797
+ "name": "safeTransferFrom",
798
+ "outputs": [],
799
+ "stateMutability": "nonpayable",
800
+ "type": "function"
801
+ },
802
+ {
803
+ "inputs": [
804
+ { "internalType": "address", "name": "operator", "type": "address" },
805
+ { "internalType": "bool", "name": "approved", "type": "bool" }
806
+ ],
807
+ "name": "setApprovalForAll",
808
+ "outputs": [],
809
+ "stateMutability": "nonpayable",
810
+ "type": "function"
811
+ },
812
+ {
813
+ "inputs": [{ "internalType": "contract ISablierV2NFTDescriptor", "name": "newNFTDescriptor", "type": "address" }],
814
+ "name": "setNFTDescriptor",
815
+ "outputs": [],
816
+ "stateMutability": "nonpayable",
817
+ "type": "function"
818
+ },
819
+ {
820
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
821
+ "name": "statusOf",
822
+ "outputs": [{ "internalType": "enum Lockup.Status", "name": "status", "type": "uint8" }],
823
+ "stateMutability": "view",
824
+ "type": "function"
825
+ },
826
+ {
827
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
828
+ "name": "streamedAmountOf",
829
+ "outputs": [{ "internalType": "uint128", "name": "streamedAmount", "type": "uint128" }],
830
+ "stateMutability": "view",
831
+ "type": "function"
832
+ },
833
+ {
834
+ "inputs": [{ "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }],
835
+ "name": "supportsInterface",
836
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
837
+ "stateMutability": "view",
838
+ "type": "function"
839
+ },
840
+ {
841
+ "inputs": [],
842
+ "name": "symbol",
843
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
844
+ "stateMutability": "view",
845
+ "type": "function"
846
+ },
847
+ {
848
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
849
+ "name": "tokenURI",
850
+ "outputs": [{ "internalType": "string", "name": "uri", "type": "string" }],
851
+ "stateMutability": "view",
852
+ "type": "function"
853
+ },
854
+ {
855
+ "inputs": [{ "internalType": "address", "name": "newAdmin", "type": "address" }],
856
+ "name": "transferAdmin",
857
+ "outputs": [],
858
+ "stateMutability": "nonpayable",
859
+ "type": "function"
860
+ },
861
+ {
862
+ "inputs": [
863
+ { "internalType": "address", "name": "from", "type": "address" },
864
+ { "internalType": "address", "name": "to", "type": "address" },
865
+ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
866
+ ],
867
+ "name": "transferFrom",
868
+ "outputs": [],
869
+ "stateMutability": "nonpayable",
870
+ "type": "function"
871
+ },
872
+ {
873
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
874
+ "name": "wasCanceled",
875
+ "outputs": [{ "internalType": "bool", "name": "result", "type": "bool" }],
876
+ "stateMutability": "view",
877
+ "type": "function"
878
+ },
879
+ {
880
+ "inputs": [
881
+ { "internalType": "uint256", "name": "streamId", "type": "uint256" },
882
+ { "internalType": "address", "name": "to", "type": "address" },
883
+ { "internalType": "uint128", "name": "amount", "type": "uint128" }
884
+ ],
885
+ "name": "withdraw",
886
+ "outputs": [],
887
+ "stateMutability": "nonpayable",
888
+ "type": "function"
889
+ },
890
+ {
891
+ "inputs": [
892
+ { "internalType": "uint256", "name": "streamId", "type": "uint256" },
893
+ { "internalType": "address", "name": "to", "type": "address" }
894
+ ],
895
+ "name": "withdrawMax",
896
+ "outputs": [{ "internalType": "uint128", "name": "withdrawnAmount", "type": "uint128" }],
897
+ "stateMutability": "nonpayable",
898
+ "type": "function"
899
+ },
900
+ {
901
+ "inputs": [
902
+ { "internalType": "uint256", "name": "streamId", "type": "uint256" },
903
+ { "internalType": "address", "name": "newRecipient", "type": "address" }
904
+ ],
905
+ "name": "withdrawMaxAndTransfer",
906
+ "outputs": [{ "internalType": "uint128", "name": "withdrawnAmount", "type": "uint128" }],
907
+ "stateMutability": "nonpayable",
908
+ "type": "function"
909
+ },
910
+ {
911
+ "inputs": [
912
+ { "internalType": "uint256[]", "name": "streamIds", "type": "uint256[]" },
913
+ { "internalType": "uint128[]", "name": "amounts", "type": "uint128[]" }
914
+ ],
915
+ "name": "withdrawMultiple",
916
+ "outputs": [],
917
+ "stateMutability": "nonpayable",
918
+ "type": "function"
919
+ },
920
+ {
921
+ "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
922
+ "name": "withdrawableAmountOf",
923
+ "outputs": [{ "internalType": "uint128", "name": "withdrawableAmount", "type": "uint128" }],
924
+ "stateMutability": "view",
925
+ "type": "function"
926
+ }
927
+ ]