sablier 1.2.0-beta.5 → 1.2.0

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 (39) hide show
  1. package/package.json +4 -2
  2. package/dist/abi/airdrops/v1.1/SablierV2MerkleStreamer.json +0 -263
  3. package/dist/abi/airdrops/v1.1/SablierV2MerkleStreamerFactory.json +0 -174
  4. package/dist/abi/airdrops/v1.1/SablierV2MerkleStreamerLL.json +0 -423
  5. package/dist/abi/airdrops/v1.2/SablierV2MerkleLL.json +0 -520
  6. package/dist/abi/airdrops/v1.2/SablierV2MerkleLT.json +0 -578
  7. package/dist/abi/airdrops/v1.2/SablierV2MerkleLockup.json +0 -348
  8. package/dist/abi/airdrops/v1.2/SablierV2MerkleLockupFactory.json +0 -419
  9. package/dist/abi/airdrops/v1.3/SablierMerkleBase.json +0 -441
  10. package/dist/abi/airdrops/v1.3/SablierMerkleFactory.json +0 -364
  11. package/dist/abi/airdrops/v1.3/SablierMerkleInstant.json +0 -519
  12. package/dist/abi/airdrops/v1.3/SablierMerkleLL.json +0 -678
  13. package/dist/abi/airdrops/v1.3/SablierMerkleLT.json +0 -690
  14. package/dist/abi/airdrops/v1.3/SablierMerkleLockup.json +0 -651
  15. package/dist/abi/airdrops/v2.0/SablierFactoryMerkleInstant.json +0 -400
  16. package/dist/abi/airdrops/v2.0/SablierFactoryMerkleLL.json +0 -535
  17. package/dist/abi/airdrops/v2.0/SablierFactoryMerkleLT.json +0 -574
  18. package/dist/abi/airdrops/v2.0/SablierFactoryMerkleVCA.json +0 -498
  19. package/dist/abi/airdrops/v2.0/SablierMerkleInstant.json +0 -696
  20. package/dist/abi/airdrops/v2.0/SablierMerkleLL.json +0 -947
  21. package/dist/abi/airdrops/v2.0/SablierMerkleLT.json +0 -917
  22. package/dist/abi/airdrops/v2.0/SablierMerkleVCA.json +0 -843
  23. package/dist/abi/flow/v1.0/SablierFlow.json +0 -2356
  24. package/dist/abi/flow/v1.1/SablierFlow.json +0 -2393
  25. package/dist/abi/flow/v2.0/SablierFlow.json +0 -961
  26. package/dist/abi/lockup/v1.0/SablierV2Lockup.json +0 -1288
  27. package/dist/abi/lockup/v1.0/SablierV2LockupDynamic.json +0 -916
  28. package/dist/abi/lockup/v1.0/SablierV2LockupLinear.json +0 -829
  29. package/dist/abi/lockup/v1.1/SablierV2Lockup.json +0 -1351
  30. package/dist/abi/lockup/v1.1/SablierV2LockupDynamic.json +0 -934
  31. package/dist/abi/lockup/v1.1/SablierV2LockupLinear.json +0 -847
  32. package/dist/abi/lockup/v1.2/SablierV2Lockup.json +0 -1494
  33. package/dist/abi/lockup/v1.2/SablierV2LockupDynamic.json +0 -974
  34. package/dist/abi/lockup/v1.2/SablierV2LockupLinear.json +0 -895
  35. package/dist/abi/lockup/v1.2/SablierV2LockupTranched.json +0 -927
  36. package/dist/abi/lockup/v2.0/SablierBatchLockup.json +0 -570
  37. package/dist/abi/lockup/v2.0/SablierLockup.json +0 -1220
  38. package/dist/abi/lockup/v3.0/SablierBatchLockup.json +0 -674
  39. package/dist/abi/lockup/v3.0/SablierLockup.json +0 -1168
@@ -1,1168 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- { "internalType": "address", "name": "initialComptroller", "type": "address" },
5
- { "internalType": "address", "name": "initialNFTDescriptor", "type": "address" }
6
- ],
7
- "stateMutability": "nonpayable",
8
- "type": "constructor"
9
- },
10
- {
11
- "inputs": [
12
- { "internalType": "address", "name": "comptroller", "type": "address" },
13
- { "internalType": "address", "name": "caller", "type": "address" }
14
- ],
15
- "name": "Comptrollerable_CallerNotComptroller",
16
- "type": "error"
17
- },
18
- {
19
- "inputs": [
20
- { "internalType": "address", "name": "previousComptroller", "type": "address" },
21
- { "internalType": "address", "name": "newComptroller", "type": "address" },
22
- { "internalType": "bytes4", "name": "minimalInterfaceId", "type": "bytes4" }
23
- ],
24
- "name": "Comptrollerable_UnsupportedInterfaceId",
25
- "type": "error"
26
- },
27
- { "inputs": [], "name": "DelegateCall", "type": "error" },
28
- {
29
- "inputs": [
30
- { "internalType": "address", "name": "sender", "type": "address" },
31
- { "internalType": "uint256", "name": "tokenId", "type": "uint256" },
32
- { "internalType": "address", "name": "owner", "type": "address" }
33
- ],
34
- "name": "ERC721IncorrectOwner",
35
- "type": "error"
36
- },
37
- {
38
- "inputs": [
39
- { "internalType": "address", "name": "operator", "type": "address" },
40
- { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
41
- ],
42
- "name": "ERC721InsufficientApproval",
43
- "type": "error"
44
- },
45
- {
46
- "inputs": [{ "internalType": "address", "name": "approver", "type": "address" }],
47
- "name": "ERC721InvalidApprover",
48
- "type": "error"
49
- },
50
- {
51
- "inputs": [{ "internalType": "address", "name": "operator", "type": "address" }],
52
- "name": "ERC721InvalidOperator",
53
- "type": "error"
54
- },
55
- {
56
- "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }],
57
- "name": "ERC721InvalidOwner",
58
- "type": "error"
59
- },
60
- {
61
- "inputs": [{ "internalType": "address", "name": "receiver", "type": "address" }],
62
- "name": "ERC721InvalidReceiver",
63
- "type": "error"
64
- },
65
- {
66
- "inputs": [{ "internalType": "address", "name": "sender", "type": "address" }],
67
- "name": "ERC721InvalidSender",
68
- "type": "error"
69
- },
70
- {
71
- "inputs": [{ "internalType": "uint256", "name": "tokenId", "type": "uint256" }],
72
- "name": "ERC721NonexistentToken",
73
- "type": "error"
74
- },
75
- {
76
- "inputs": [
77
- { "internalType": "enum Lockup.Model", "name": "actualLockupModel", "type": "uint8" },
78
- { "internalType": "enum Lockup.Model", "name": "expectedLockupModel", "type": "uint8" }
79
- ],
80
- "name": "SablierLockupState_NotExpectedModel",
81
- "type": "error"
82
- },
83
- {
84
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
85
- "name": "SablierLockupState_Null",
86
- "type": "error"
87
- },
88
- {
89
- "inputs": [{ "internalType": "address", "name": "recipient", "type": "address" }],
90
- "name": "SablierLockup_AllowToHookUnsupportedInterface",
91
- "type": "error"
92
- },
93
- {
94
- "inputs": [
95
- { "internalType": "uint256", "name": "feePaid", "type": "uint256" },
96
- { "internalType": "uint256", "name": "minFeeWei", "type": "uint256" }
97
- ],
98
- "name": "SablierLockup_InsufficientFeePayment",
99
- "type": "error"
100
- },
101
- {
102
- "inputs": [{ "internalType": "address", "name": "recipient", "type": "address" }],
103
- "name": "SablierLockup_InvalidHookSelector",
104
- "type": "error"
105
- },
106
- {
107
- "inputs": [{ "internalType": "address", "name": "nativeToken", "type": "address" }],
108
- "name": "SablierLockup_NativeTokenAlreadySet",
109
- "type": "error"
110
- },
111
- {
112
- "inputs": [{ "internalType": "uint256", "name": "tokenId", "type": "uint256" }],
113
- "name": "SablierLockup_NotTransferable",
114
- "type": "error"
115
- },
116
- {
117
- "inputs": [
118
- { "internalType": "uint256", "name": "streamId", "type": "uint256" },
119
- { "internalType": "uint128", "name": "amount", "type": "uint128" },
120
- { "internalType": "uint128", "name": "withdrawableAmount", "type": "uint128" }
121
- ],
122
- "name": "SablierLockup_Overdraw",
123
- "type": "error"
124
- },
125
- {
126
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
127
- "name": "SablierLockup_StreamCanceled",
128
- "type": "error"
129
- },
130
- {
131
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
132
- "name": "SablierLockup_StreamDepleted",
133
- "type": "error"
134
- },
135
- {
136
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
137
- "name": "SablierLockup_StreamNotCancelable",
138
- "type": "error"
139
- },
140
- {
141
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
142
- "name": "SablierLockup_StreamNotDepleted",
143
- "type": "error"
144
- },
145
- {
146
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
147
- "name": "SablierLockup_StreamSettled",
148
- "type": "error"
149
- },
150
- {
151
- "inputs": [
152
- { "internalType": "uint256", "name": "streamId", "type": "uint256" },
153
- { "internalType": "address", "name": "caller", "type": "address" }
154
- ],
155
- "name": "SablierLockup_Unauthorized",
156
- "type": "error"
157
- },
158
- {
159
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
160
- "name": "SablierLockup_WithdrawAmountZero",
161
- "type": "error"
162
- },
163
- {
164
- "inputs": [
165
- { "internalType": "uint256", "name": "streamIdsCount", "type": "uint256" },
166
- { "internalType": "uint256", "name": "amountsCount", "type": "uint256" }
167
- ],
168
- "name": "SablierLockup_WithdrawArrayCountsNotEqual",
169
- "type": "error"
170
- },
171
- {
172
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
173
- "name": "SablierLockup_WithdrawToZeroAddress",
174
- "type": "error"
175
- },
176
- {
177
- "inputs": [
178
- { "internalType": "uint256", "name": "streamId", "type": "uint256" },
179
- { "internalType": "address", "name": "caller", "type": "address" },
180
- { "internalType": "address", "name": "to", "type": "address" }
181
- ],
182
- "name": "SablierLockup_WithdrawalAddressNotRecipient",
183
- "type": "error"
184
- },
185
- {
186
- "inputs": [{ "internalType": "address", "name": "token", "type": "address" }],
187
- "name": "SafeERC20FailedOperation",
188
- "type": "error"
189
- },
190
- {
191
- "anonymous": false,
192
- "inputs": [
193
- { "indexed": true, "internalType": "contract ISablierComptroller", "name": "comptroller", "type": "address" },
194
- { "indexed": true, "internalType": "address", "name": "recipient", "type": "address" }
195
- ],
196
- "name": "AllowToHook",
197
- "type": "event"
198
- },
199
- {
200
- "anonymous": false,
201
- "inputs": [
202
- { "indexed": true, "internalType": "address", "name": "owner", "type": "address" },
203
- { "indexed": true, "internalType": "address", "name": "approved", "type": "address" },
204
- { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" }
205
- ],
206
- "name": "Approval",
207
- "type": "event"
208
- },
209
- {
210
- "anonymous": false,
211
- "inputs": [
212
- { "indexed": true, "internalType": "address", "name": "owner", "type": "address" },
213
- { "indexed": true, "internalType": "address", "name": "operator", "type": "address" },
214
- { "indexed": false, "internalType": "bool", "name": "approved", "type": "bool" }
215
- ],
216
- "name": "ApprovalForAll",
217
- "type": "event"
218
- },
219
- {
220
- "anonymous": false,
221
- "inputs": [
222
- { "indexed": false, "internalType": "uint256", "name": "_fromTokenId", "type": "uint256" },
223
- { "indexed": false, "internalType": "uint256", "name": "_toTokenId", "type": "uint256" }
224
- ],
225
- "name": "BatchMetadataUpdate",
226
- "type": "event"
227
- },
228
- {
229
- "anonymous": false,
230
- "inputs": [
231
- { "indexed": false, "internalType": "uint256", "name": "streamId", "type": "uint256" },
232
- { "indexed": true, "internalType": "address", "name": "sender", "type": "address" },
233
- { "indexed": true, "internalType": "address", "name": "recipient", "type": "address" },
234
- { "indexed": true, "internalType": "contract IERC20", "name": "token", "type": "address" },
235
- { "indexed": false, "internalType": "uint128", "name": "senderAmount", "type": "uint128" },
236
- { "indexed": false, "internalType": "uint128", "name": "recipientAmount", "type": "uint128" }
237
- ],
238
- "name": "CancelLockupStream",
239
- "type": "event"
240
- },
241
- {
242
- "anonymous": false,
243
- "inputs": [
244
- { "indexed": true, "internalType": "uint256", "name": "streamId", "type": "uint256" },
245
- {
246
- "components": [
247
- { "internalType": "address", "name": "funder", "type": "address" },
248
- { "internalType": "address", "name": "sender", "type": "address" },
249
- { "internalType": "address", "name": "recipient", "type": "address" },
250
- { "internalType": "uint128", "name": "depositAmount", "type": "uint128" },
251
- { "internalType": "contract IERC20", "name": "token", "type": "address" },
252
- { "internalType": "bool", "name": "cancelable", "type": "bool" },
253
- { "internalType": "bool", "name": "transferable", "type": "bool" },
254
- {
255
- "components": [
256
- { "internalType": "uint40", "name": "start", "type": "uint40" },
257
- { "internalType": "uint40", "name": "end", "type": "uint40" }
258
- ],
259
- "internalType": "struct Lockup.Timestamps",
260
- "name": "timestamps",
261
- "type": "tuple"
262
- },
263
- { "internalType": "string", "name": "shape", "type": "string" }
264
- ],
265
- "indexed": false,
266
- "internalType": "struct Lockup.CreateEventCommon",
267
- "name": "commonParams",
268
- "type": "tuple"
269
- },
270
- {
271
- "components": [
272
- { "internalType": "uint128", "name": "amount", "type": "uint128" },
273
- { "internalType": "UD2x18", "name": "exponent", "type": "uint64" },
274
- { "internalType": "uint40", "name": "timestamp", "type": "uint40" }
275
- ],
276
- "indexed": false,
277
- "internalType": "struct LockupDynamic.Segment[]",
278
- "name": "segments",
279
- "type": "tuple[]"
280
- }
281
- ],
282
- "name": "CreateLockupDynamicStream",
283
- "type": "event"
284
- },
285
- {
286
- "anonymous": false,
287
- "inputs": [
288
- { "indexed": true, "internalType": "uint256", "name": "streamId", "type": "uint256" },
289
- {
290
- "components": [
291
- { "internalType": "address", "name": "funder", "type": "address" },
292
- { "internalType": "address", "name": "sender", "type": "address" },
293
- { "internalType": "address", "name": "recipient", "type": "address" },
294
- { "internalType": "uint128", "name": "depositAmount", "type": "uint128" },
295
- { "internalType": "contract IERC20", "name": "token", "type": "address" },
296
- { "internalType": "bool", "name": "cancelable", "type": "bool" },
297
- { "internalType": "bool", "name": "transferable", "type": "bool" },
298
- {
299
- "components": [
300
- { "internalType": "uint40", "name": "start", "type": "uint40" },
301
- { "internalType": "uint40", "name": "end", "type": "uint40" }
302
- ],
303
- "internalType": "struct Lockup.Timestamps",
304
- "name": "timestamps",
305
- "type": "tuple"
306
- },
307
- { "internalType": "string", "name": "shape", "type": "string" }
308
- ],
309
- "indexed": false,
310
- "internalType": "struct Lockup.CreateEventCommon",
311
- "name": "commonParams",
312
- "type": "tuple"
313
- },
314
- { "indexed": false, "internalType": "uint40", "name": "cliffTime", "type": "uint40" },
315
- {
316
- "components": [
317
- { "internalType": "uint128", "name": "start", "type": "uint128" },
318
- { "internalType": "uint128", "name": "cliff", "type": "uint128" }
319
- ],
320
- "indexed": false,
321
- "internalType": "struct LockupLinear.UnlockAmounts",
322
- "name": "unlockAmounts",
323
- "type": "tuple"
324
- }
325
- ],
326
- "name": "CreateLockupLinearStream",
327
- "type": "event"
328
- },
329
- {
330
- "anonymous": false,
331
- "inputs": [
332
- { "indexed": true, "internalType": "uint256", "name": "streamId", "type": "uint256" },
333
- {
334
- "components": [
335
- { "internalType": "address", "name": "funder", "type": "address" },
336
- { "internalType": "address", "name": "sender", "type": "address" },
337
- { "internalType": "address", "name": "recipient", "type": "address" },
338
- { "internalType": "uint128", "name": "depositAmount", "type": "uint128" },
339
- { "internalType": "contract IERC20", "name": "token", "type": "address" },
340
- { "internalType": "bool", "name": "cancelable", "type": "bool" },
341
- { "internalType": "bool", "name": "transferable", "type": "bool" },
342
- {
343
- "components": [
344
- { "internalType": "uint40", "name": "start", "type": "uint40" },
345
- { "internalType": "uint40", "name": "end", "type": "uint40" }
346
- ],
347
- "internalType": "struct Lockup.Timestamps",
348
- "name": "timestamps",
349
- "type": "tuple"
350
- },
351
- { "internalType": "string", "name": "shape", "type": "string" }
352
- ],
353
- "indexed": false,
354
- "internalType": "struct Lockup.CreateEventCommon",
355
- "name": "commonParams",
356
- "type": "tuple"
357
- },
358
- {
359
- "components": [
360
- { "internalType": "uint128", "name": "amount", "type": "uint128" },
361
- { "internalType": "uint40", "name": "timestamp", "type": "uint40" }
362
- ],
363
- "indexed": false,
364
- "internalType": "struct LockupTranched.Tranche[]",
365
- "name": "tranches",
366
- "type": "tuple[]"
367
- }
368
- ],
369
- "name": "CreateLockupTranchedStream",
370
- "type": "event"
371
- },
372
- {
373
- "anonymous": false,
374
- "inputs": [
375
- { "indexed": true, "internalType": "uint256", "name": "streamId", "type": "uint256" },
376
- { "indexed": false, "internalType": "bytes", "name": "revertData", "type": "bytes" }
377
- ],
378
- "name": "InvalidStreamInCancelMultiple",
379
- "type": "event"
380
- },
381
- {
382
- "anonymous": false,
383
- "inputs": [
384
- { "indexed": true, "internalType": "uint256", "name": "streamId", "type": "uint256" },
385
- { "indexed": false, "internalType": "bytes", "name": "revertData", "type": "bytes" }
386
- ],
387
- "name": "InvalidWithdrawalInWithdrawMultiple",
388
- "type": "event"
389
- },
390
- {
391
- "anonymous": false,
392
- "inputs": [{ "indexed": false, "internalType": "uint256", "name": "_tokenId", "type": "uint256" }],
393
- "name": "MetadataUpdate",
394
- "type": "event"
395
- },
396
- {
397
- "anonymous": false,
398
- "inputs": [{ "indexed": true, "internalType": "uint256", "name": "streamId", "type": "uint256" }],
399
- "name": "RenounceLockupStream",
400
- "type": "event"
401
- },
402
- {
403
- "anonymous": false,
404
- "inputs": [
405
- { "indexed": false, "internalType": "contract ISablierComptroller", "name": "oldComptroller", "type": "address" },
406
- { "indexed": false, "internalType": "contract ISablierComptroller", "name": "newComptroller", "type": "address" }
407
- ],
408
- "name": "SetComptroller",
409
- "type": "event"
410
- },
411
- {
412
- "anonymous": false,
413
- "inputs": [
414
- { "indexed": true, "internalType": "contract ISablierComptroller", "name": "comptroller", "type": "address" },
415
- {
416
- "indexed": true,
417
- "internalType": "contract ILockupNFTDescriptor",
418
- "name": "oldNFTDescriptor",
419
- "type": "address"
420
- },
421
- {
422
- "indexed": true,
423
- "internalType": "contract ILockupNFTDescriptor",
424
- "name": "newNFTDescriptor",
425
- "type": "address"
426
- }
427
- ],
428
- "name": "SetNFTDescriptor",
429
- "type": "event"
430
- },
431
- {
432
- "anonymous": false,
433
- "inputs": [
434
- { "indexed": true, "internalType": "address", "name": "from", "type": "address" },
435
- { "indexed": true, "internalType": "address", "name": "to", "type": "address" },
436
- { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" }
437
- ],
438
- "name": "Transfer",
439
- "type": "event"
440
- },
441
- {
442
- "anonymous": false,
443
- "inputs": [
444
- { "indexed": true, "internalType": "contract ISablierComptroller", "name": "comptroller", "type": "address" },
445
- { "indexed": false, "internalType": "uint256", "name": "feeAmount", "type": "uint256" }
446
- ],
447
- "name": "TransferFeesToComptroller",
448
- "type": "event"
449
- },
450
- {
451
- "anonymous": false,
452
- "inputs": [
453
- { "indexed": true, "internalType": "uint256", "name": "streamId", "type": "uint256" },
454
- { "indexed": true, "internalType": "address", "name": "to", "type": "address" },
455
- { "indexed": true, "internalType": "contract IERC20", "name": "token", "type": "address" },
456
- { "indexed": false, "internalType": "uint128", "name": "amount", "type": "uint128" }
457
- ],
458
- "name": "WithdrawFromLockupStream",
459
- "type": "event"
460
- },
461
- {
462
- "inputs": [{ "internalType": "contract IERC20", "name": "token", "type": "address" }],
463
- "name": "aggregateAmount",
464
- "outputs": [{ "internalType": "uint256", "name": "amount", "type": "uint256" }],
465
- "stateMutability": "view",
466
- "type": "function"
467
- },
468
- {
469
- "inputs": [{ "internalType": "address", "name": "recipient", "type": "address" }],
470
- "name": "allowToHook",
471
- "outputs": [],
472
- "stateMutability": "nonpayable",
473
- "type": "function"
474
- },
475
- {
476
- "inputs": [
477
- { "internalType": "address", "name": "to", "type": "address" },
478
- { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
479
- ],
480
- "name": "approve",
481
- "outputs": [],
482
- "stateMutability": "nonpayable",
483
- "type": "function"
484
- },
485
- {
486
- "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }],
487
- "name": "balanceOf",
488
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
489
- "stateMutability": "view",
490
- "type": "function"
491
- },
492
- {
493
- "inputs": [{ "internalType": "bytes[]", "name": "calls", "type": "bytes[]" }],
494
- "name": "batch",
495
- "outputs": [{ "internalType": "bytes[]", "name": "results", "type": "bytes[]" }],
496
- "stateMutability": "payable",
497
- "type": "function"
498
- },
499
- {
500
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
501
- "name": "burn",
502
- "outputs": [],
503
- "stateMutability": "payable",
504
- "type": "function"
505
- },
506
- {
507
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
508
- "name": "calculateMinFeeWei",
509
- "outputs": [{ "internalType": "uint256", "name": "minFeeWei", "type": "uint256" }],
510
- "stateMutability": "view",
511
- "type": "function"
512
- },
513
- {
514
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
515
- "name": "cancel",
516
- "outputs": [{ "internalType": "uint128", "name": "refundedAmount", "type": "uint128" }],
517
- "stateMutability": "payable",
518
- "type": "function"
519
- },
520
- {
521
- "inputs": [{ "internalType": "uint256[]", "name": "streamIds", "type": "uint256[]" }],
522
- "name": "cancelMultiple",
523
- "outputs": [{ "internalType": "uint128[]", "name": "refundedAmounts", "type": "uint128[]" }],
524
- "stateMutability": "payable",
525
- "type": "function"
526
- },
527
- {
528
- "inputs": [],
529
- "name": "comptroller",
530
- "outputs": [{ "internalType": "contract ISablierComptroller", "name": "", "type": "address" }],
531
- "stateMutability": "view",
532
- "type": "function"
533
- },
534
- {
535
- "inputs": [
536
- {
537
- "components": [
538
- { "internalType": "address", "name": "sender", "type": "address" },
539
- { "internalType": "address", "name": "recipient", "type": "address" },
540
- { "internalType": "uint128", "name": "depositAmount", "type": "uint128" },
541
- { "internalType": "contract IERC20", "name": "token", "type": "address" },
542
- { "internalType": "bool", "name": "cancelable", "type": "bool" },
543
- { "internalType": "bool", "name": "transferable", "type": "bool" },
544
- { "internalType": "string", "name": "shape", "type": "string" }
545
- ],
546
- "internalType": "struct Lockup.CreateWithDurations",
547
- "name": "params",
548
- "type": "tuple"
549
- },
550
- {
551
- "components": [
552
- { "internalType": "uint128", "name": "amount", "type": "uint128" },
553
- { "internalType": "UD2x18", "name": "exponent", "type": "uint64" },
554
- { "internalType": "uint40", "name": "duration", "type": "uint40" }
555
- ],
556
- "internalType": "struct LockupDynamic.SegmentWithDuration[]",
557
- "name": "segmentsWithDuration",
558
- "type": "tuple[]"
559
- }
560
- ],
561
- "name": "createWithDurationsLD",
562
- "outputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
563
- "stateMutability": "payable",
564
- "type": "function"
565
- },
566
- {
567
- "inputs": [
568
- {
569
- "components": [
570
- { "internalType": "address", "name": "sender", "type": "address" },
571
- { "internalType": "address", "name": "recipient", "type": "address" },
572
- { "internalType": "uint128", "name": "depositAmount", "type": "uint128" },
573
- { "internalType": "contract IERC20", "name": "token", "type": "address" },
574
- { "internalType": "bool", "name": "cancelable", "type": "bool" },
575
- { "internalType": "bool", "name": "transferable", "type": "bool" },
576
- { "internalType": "string", "name": "shape", "type": "string" }
577
- ],
578
- "internalType": "struct Lockup.CreateWithDurations",
579
- "name": "params",
580
- "type": "tuple"
581
- },
582
- {
583
- "components": [
584
- { "internalType": "uint128", "name": "start", "type": "uint128" },
585
- { "internalType": "uint128", "name": "cliff", "type": "uint128" }
586
- ],
587
- "internalType": "struct LockupLinear.UnlockAmounts",
588
- "name": "unlockAmounts",
589
- "type": "tuple"
590
- },
591
- {
592
- "components": [
593
- { "internalType": "uint40", "name": "cliff", "type": "uint40" },
594
- { "internalType": "uint40", "name": "total", "type": "uint40" }
595
- ],
596
- "internalType": "struct LockupLinear.Durations",
597
- "name": "durations",
598
- "type": "tuple"
599
- }
600
- ],
601
- "name": "createWithDurationsLL",
602
- "outputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
603
- "stateMutability": "payable",
604
- "type": "function"
605
- },
606
- {
607
- "inputs": [
608
- {
609
- "components": [
610
- { "internalType": "address", "name": "sender", "type": "address" },
611
- { "internalType": "address", "name": "recipient", "type": "address" },
612
- { "internalType": "uint128", "name": "depositAmount", "type": "uint128" },
613
- { "internalType": "contract IERC20", "name": "token", "type": "address" },
614
- { "internalType": "bool", "name": "cancelable", "type": "bool" },
615
- { "internalType": "bool", "name": "transferable", "type": "bool" },
616
- { "internalType": "string", "name": "shape", "type": "string" }
617
- ],
618
- "internalType": "struct Lockup.CreateWithDurations",
619
- "name": "params",
620
- "type": "tuple"
621
- },
622
- {
623
- "components": [
624
- { "internalType": "uint128", "name": "amount", "type": "uint128" },
625
- { "internalType": "uint40", "name": "duration", "type": "uint40" }
626
- ],
627
- "internalType": "struct LockupTranched.TrancheWithDuration[]",
628
- "name": "tranchesWithDuration",
629
- "type": "tuple[]"
630
- }
631
- ],
632
- "name": "createWithDurationsLT",
633
- "outputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
634
- "stateMutability": "payable",
635
- "type": "function"
636
- },
637
- {
638
- "inputs": [
639
- {
640
- "components": [
641
- { "internalType": "address", "name": "sender", "type": "address" },
642
- { "internalType": "address", "name": "recipient", "type": "address" },
643
- { "internalType": "uint128", "name": "depositAmount", "type": "uint128" },
644
- { "internalType": "contract IERC20", "name": "token", "type": "address" },
645
- { "internalType": "bool", "name": "cancelable", "type": "bool" },
646
- { "internalType": "bool", "name": "transferable", "type": "bool" },
647
- {
648
- "components": [
649
- { "internalType": "uint40", "name": "start", "type": "uint40" },
650
- { "internalType": "uint40", "name": "end", "type": "uint40" }
651
- ],
652
- "internalType": "struct Lockup.Timestamps",
653
- "name": "timestamps",
654
- "type": "tuple"
655
- },
656
- { "internalType": "string", "name": "shape", "type": "string" }
657
- ],
658
- "internalType": "struct Lockup.CreateWithTimestamps",
659
- "name": "params",
660
- "type": "tuple"
661
- },
662
- {
663
- "components": [
664
- { "internalType": "uint128", "name": "amount", "type": "uint128" },
665
- { "internalType": "UD2x18", "name": "exponent", "type": "uint64" },
666
- { "internalType": "uint40", "name": "timestamp", "type": "uint40" }
667
- ],
668
- "internalType": "struct LockupDynamic.Segment[]",
669
- "name": "segments",
670
- "type": "tuple[]"
671
- }
672
- ],
673
- "name": "createWithTimestampsLD",
674
- "outputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
675
- "stateMutability": "payable",
676
- "type": "function"
677
- },
678
- {
679
- "inputs": [
680
- {
681
- "components": [
682
- { "internalType": "address", "name": "sender", "type": "address" },
683
- { "internalType": "address", "name": "recipient", "type": "address" },
684
- { "internalType": "uint128", "name": "depositAmount", "type": "uint128" },
685
- { "internalType": "contract IERC20", "name": "token", "type": "address" },
686
- { "internalType": "bool", "name": "cancelable", "type": "bool" },
687
- { "internalType": "bool", "name": "transferable", "type": "bool" },
688
- {
689
- "components": [
690
- { "internalType": "uint40", "name": "start", "type": "uint40" },
691
- { "internalType": "uint40", "name": "end", "type": "uint40" }
692
- ],
693
- "internalType": "struct Lockup.Timestamps",
694
- "name": "timestamps",
695
- "type": "tuple"
696
- },
697
- { "internalType": "string", "name": "shape", "type": "string" }
698
- ],
699
- "internalType": "struct Lockup.CreateWithTimestamps",
700
- "name": "params",
701
- "type": "tuple"
702
- },
703
- {
704
- "components": [
705
- { "internalType": "uint128", "name": "start", "type": "uint128" },
706
- { "internalType": "uint128", "name": "cliff", "type": "uint128" }
707
- ],
708
- "internalType": "struct LockupLinear.UnlockAmounts",
709
- "name": "unlockAmounts",
710
- "type": "tuple"
711
- },
712
- { "internalType": "uint40", "name": "cliffTime", "type": "uint40" }
713
- ],
714
- "name": "createWithTimestampsLL",
715
- "outputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
716
- "stateMutability": "payable",
717
- "type": "function"
718
- },
719
- {
720
- "inputs": [
721
- {
722
- "components": [
723
- { "internalType": "address", "name": "sender", "type": "address" },
724
- { "internalType": "address", "name": "recipient", "type": "address" },
725
- { "internalType": "uint128", "name": "depositAmount", "type": "uint128" },
726
- { "internalType": "contract IERC20", "name": "token", "type": "address" },
727
- { "internalType": "bool", "name": "cancelable", "type": "bool" },
728
- { "internalType": "bool", "name": "transferable", "type": "bool" },
729
- {
730
- "components": [
731
- { "internalType": "uint40", "name": "start", "type": "uint40" },
732
- { "internalType": "uint40", "name": "end", "type": "uint40" }
733
- ],
734
- "internalType": "struct Lockup.Timestamps",
735
- "name": "timestamps",
736
- "type": "tuple"
737
- },
738
- { "internalType": "string", "name": "shape", "type": "string" }
739
- ],
740
- "internalType": "struct Lockup.CreateWithTimestamps",
741
- "name": "params",
742
- "type": "tuple"
743
- },
744
- {
745
- "components": [
746
- { "internalType": "uint128", "name": "amount", "type": "uint128" },
747
- { "internalType": "uint40", "name": "timestamp", "type": "uint40" }
748
- ],
749
- "internalType": "struct LockupTranched.Tranche[]",
750
- "name": "tranches",
751
- "type": "tuple[]"
752
- }
753
- ],
754
- "name": "createWithTimestampsLT",
755
- "outputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
756
- "stateMutability": "payable",
757
- "type": "function"
758
- },
759
- {
760
- "inputs": [{ "internalType": "uint256", "name": "tokenId", "type": "uint256" }],
761
- "name": "getApproved",
762
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
763
- "stateMutability": "view",
764
- "type": "function"
765
- },
766
- {
767
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
768
- "name": "getCliffTime",
769
- "outputs": [{ "internalType": "uint40", "name": "cliffTime", "type": "uint40" }],
770
- "stateMutability": "view",
771
- "type": "function"
772
- },
773
- {
774
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
775
- "name": "getDepositedAmount",
776
- "outputs": [{ "internalType": "uint128", "name": "depositedAmount", "type": "uint128" }],
777
- "stateMutability": "view",
778
- "type": "function"
779
- },
780
- {
781
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
782
- "name": "getEndTime",
783
- "outputs": [{ "internalType": "uint40", "name": "endTime", "type": "uint40" }],
784
- "stateMutability": "view",
785
- "type": "function"
786
- },
787
- {
788
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
789
- "name": "getLockupModel",
790
- "outputs": [{ "internalType": "enum Lockup.Model", "name": "lockupModel", "type": "uint8" }],
791
- "stateMutability": "view",
792
- "type": "function"
793
- },
794
- {
795
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
796
- "name": "getRecipient",
797
- "outputs": [{ "internalType": "address", "name": "recipient", "type": "address" }],
798
- "stateMutability": "view",
799
- "type": "function"
800
- },
801
- {
802
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
803
- "name": "getRefundedAmount",
804
- "outputs": [{ "internalType": "uint128", "name": "refundedAmount", "type": "uint128" }],
805
- "stateMutability": "view",
806
- "type": "function"
807
- },
808
- {
809
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
810
- "name": "getSegments",
811
- "outputs": [
812
- {
813
- "components": [
814
- { "internalType": "uint128", "name": "amount", "type": "uint128" },
815
- { "internalType": "UD2x18", "name": "exponent", "type": "uint64" },
816
- { "internalType": "uint40", "name": "timestamp", "type": "uint40" }
817
- ],
818
- "internalType": "struct LockupDynamic.Segment[]",
819
- "name": "segments",
820
- "type": "tuple[]"
821
- }
822
- ],
823
- "stateMutability": "view",
824
- "type": "function"
825
- },
826
- {
827
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
828
- "name": "getSender",
829
- "outputs": [{ "internalType": "address", "name": "sender", "type": "address" }],
830
- "stateMutability": "view",
831
- "type": "function"
832
- },
833
- {
834
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
835
- "name": "getStartTime",
836
- "outputs": [{ "internalType": "uint40", "name": "startTime", "type": "uint40" }],
837
- "stateMutability": "view",
838
- "type": "function"
839
- },
840
- {
841
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
842
- "name": "getTranches",
843
- "outputs": [
844
- {
845
- "components": [
846
- { "internalType": "uint128", "name": "amount", "type": "uint128" },
847
- { "internalType": "uint40", "name": "timestamp", "type": "uint40" }
848
- ],
849
- "internalType": "struct LockupTranched.Tranche[]",
850
- "name": "tranches",
851
- "type": "tuple[]"
852
- }
853
- ],
854
- "stateMutability": "view",
855
- "type": "function"
856
- },
857
- {
858
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
859
- "name": "getUnderlyingToken",
860
- "outputs": [{ "internalType": "contract IERC20", "name": "token", "type": "address" }],
861
- "stateMutability": "view",
862
- "type": "function"
863
- },
864
- {
865
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
866
- "name": "getUnlockAmounts",
867
- "outputs": [
868
- {
869
- "components": [
870
- { "internalType": "uint128", "name": "start", "type": "uint128" },
871
- { "internalType": "uint128", "name": "cliff", "type": "uint128" }
872
- ],
873
- "internalType": "struct LockupLinear.UnlockAmounts",
874
- "name": "unlockAmounts",
875
- "type": "tuple"
876
- }
877
- ],
878
- "stateMutability": "view",
879
- "type": "function"
880
- },
881
- {
882
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
883
- "name": "getWithdrawnAmount",
884
- "outputs": [{ "internalType": "uint128", "name": "withdrawnAmount", "type": "uint128" }],
885
- "stateMutability": "view",
886
- "type": "function"
887
- },
888
- {
889
- "inputs": [{ "internalType": "address", "name": "recipient", "type": "address" }],
890
- "name": "isAllowedToHook",
891
- "outputs": [{ "internalType": "bool", "name": "result", "type": "bool" }],
892
- "stateMutability": "view",
893
- "type": "function"
894
- },
895
- {
896
- "inputs": [
897
- { "internalType": "address", "name": "owner", "type": "address" },
898
- { "internalType": "address", "name": "operator", "type": "address" }
899
- ],
900
- "name": "isApprovedForAll",
901
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
902
- "stateMutability": "view",
903
- "type": "function"
904
- },
905
- {
906
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
907
- "name": "isCancelable",
908
- "outputs": [{ "internalType": "bool", "name": "result", "type": "bool" }],
909
- "stateMutability": "view",
910
- "type": "function"
911
- },
912
- {
913
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
914
- "name": "isCold",
915
- "outputs": [{ "internalType": "bool", "name": "result", "type": "bool" }],
916
- "stateMutability": "view",
917
- "type": "function"
918
- },
919
- {
920
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
921
- "name": "isDepleted",
922
- "outputs": [{ "internalType": "bool", "name": "result", "type": "bool" }],
923
- "stateMutability": "view",
924
- "type": "function"
925
- },
926
- {
927
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
928
- "name": "isStream",
929
- "outputs": [{ "internalType": "bool", "name": "result", "type": "bool" }],
930
- "stateMutability": "view",
931
- "type": "function"
932
- },
933
- {
934
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
935
- "name": "isTransferable",
936
- "outputs": [{ "internalType": "bool", "name": "result", "type": "bool" }],
937
- "stateMutability": "view",
938
- "type": "function"
939
- },
940
- {
941
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
942
- "name": "isWarm",
943
- "outputs": [{ "internalType": "bool", "name": "result", "type": "bool" }],
944
- "stateMutability": "view",
945
- "type": "function"
946
- },
947
- {
948
- "inputs": [],
949
- "name": "name",
950
- "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
951
- "stateMutability": "view",
952
- "type": "function"
953
- },
954
- {
955
- "inputs": [],
956
- "name": "nativeToken",
957
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
958
- "stateMutability": "view",
959
- "type": "function"
960
- },
961
- {
962
- "inputs": [],
963
- "name": "nextStreamId",
964
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
965
- "stateMutability": "view",
966
- "type": "function"
967
- },
968
- {
969
- "inputs": [],
970
- "name": "nftDescriptor",
971
- "outputs": [{ "internalType": "contract ILockupNFTDescriptor", "name": "", "type": "address" }],
972
- "stateMutability": "view",
973
- "type": "function"
974
- },
975
- {
976
- "inputs": [{ "internalType": "uint256", "name": "tokenId", "type": "uint256" }],
977
- "name": "ownerOf",
978
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
979
- "stateMutability": "view",
980
- "type": "function"
981
- },
982
- {
983
- "inputs": [
984
- { "internalType": "contract IERC20", "name": "token", "type": "address" },
985
- { "internalType": "address", "name": "to", "type": "address" }
986
- ],
987
- "name": "recover",
988
- "outputs": [],
989
- "stateMutability": "nonpayable",
990
- "type": "function"
991
- },
992
- {
993
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
994
- "name": "refundableAmountOf",
995
- "outputs": [{ "internalType": "uint128", "name": "refundableAmount", "type": "uint128" }],
996
- "stateMutability": "view",
997
- "type": "function"
998
- },
999
- {
1000
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
1001
- "name": "renounce",
1002
- "outputs": [],
1003
- "stateMutability": "payable",
1004
- "type": "function"
1005
- },
1006
- {
1007
- "inputs": [
1008
- { "internalType": "address", "name": "from", "type": "address" },
1009
- { "internalType": "address", "name": "to", "type": "address" },
1010
- { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
1011
- ],
1012
- "name": "safeTransferFrom",
1013
- "outputs": [],
1014
- "stateMutability": "nonpayable",
1015
- "type": "function"
1016
- },
1017
- {
1018
- "inputs": [
1019
- { "internalType": "address", "name": "from", "type": "address" },
1020
- { "internalType": "address", "name": "to", "type": "address" },
1021
- { "internalType": "uint256", "name": "tokenId", "type": "uint256" },
1022
- { "internalType": "bytes", "name": "data", "type": "bytes" }
1023
- ],
1024
- "name": "safeTransferFrom",
1025
- "outputs": [],
1026
- "stateMutability": "nonpayable",
1027
- "type": "function"
1028
- },
1029
- {
1030
- "inputs": [
1031
- { "internalType": "address", "name": "operator", "type": "address" },
1032
- { "internalType": "bool", "name": "approved", "type": "bool" }
1033
- ],
1034
- "name": "setApprovalForAll",
1035
- "outputs": [],
1036
- "stateMutability": "nonpayable",
1037
- "type": "function"
1038
- },
1039
- {
1040
- "inputs": [{ "internalType": "contract ISablierComptroller", "name": "newComptroller", "type": "address" }],
1041
- "name": "setComptroller",
1042
- "outputs": [],
1043
- "stateMutability": "nonpayable",
1044
- "type": "function"
1045
- },
1046
- {
1047
- "inputs": [{ "internalType": "contract ILockupNFTDescriptor", "name": "newNFTDescriptor", "type": "address" }],
1048
- "name": "setNFTDescriptor",
1049
- "outputs": [],
1050
- "stateMutability": "nonpayable",
1051
- "type": "function"
1052
- },
1053
- {
1054
- "inputs": [{ "internalType": "address", "name": "newNativeToken", "type": "address" }],
1055
- "name": "setNativeToken",
1056
- "outputs": [],
1057
- "stateMutability": "nonpayable",
1058
- "type": "function"
1059
- },
1060
- {
1061
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
1062
- "name": "statusOf",
1063
- "outputs": [{ "internalType": "enum Lockup.Status", "name": "status", "type": "uint8" }],
1064
- "stateMutability": "view",
1065
- "type": "function"
1066
- },
1067
- {
1068
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
1069
- "name": "streamedAmountOf",
1070
- "outputs": [{ "internalType": "uint128", "name": "streamedAmount", "type": "uint128" }],
1071
- "stateMutability": "view",
1072
- "type": "function"
1073
- },
1074
- {
1075
- "inputs": [{ "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }],
1076
- "name": "supportsInterface",
1077
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
1078
- "stateMutability": "view",
1079
- "type": "function"
1080
- },
1081
- {
1082
- "inputs": [],
1083
- "name": "symbol",
1084
- "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
1085
- "stateMutability": "view",
1086
- "type": "function"
1087
- },
1088
- {
1089
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
1090
- "name": "tokenURI",
1091
- "outputs": [{ "internalType": "string", "name": "uri", "type": "string" }],
1092
- "stateMutability": "view",
1093
- "type": "function"
1094
- },
1095
- {
1096
- "inputs": [],
1097
- "name": "transferFeesToComptroller",
1098
- "outputs": [],
1099
- "stateMutability": "nonpayable",
1100
- "type": "function"
1101
- },
1102
- {
1103
- "inputs": [
1104
- { "internalType": "address", "name": "from", "type": "address" },
1105
- { "internalType": "address", "name": "to", "type": "address" },
1106
- { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
1107
- ],
1108
- "name": "transferFrom",
1109
- "outputs": [],
1110
- "stateMutability": "nonpayable",
1111
- "type": "function"
1112
- },
1113
- {
1114
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
1115
- "name": "wasCanceled",
1116
- "outputs": [{ "internalType": "bool", "name": "result", "type": "bool" }],
1117
- "stateMutability": "view",
1118
- "type": "function"
1119
- },
1120
- {
1121
- "inputs": [
1122
- { "internalType": "uint256", "name": "streamId", "type": "uint256" },
1123
- { "internalType": "address", "name": "to", "type": "address" },
1124
- { "internalType": "uint128", "name": "amount", "type": "uint128" }
1125
- ],
1126
- "name": "withdraw",
1127
- "outputs": [],
1128
- "stateMutability": "payable",
1129
- "type": "function"
1130
- },
1131
- {
1132
- "inputs": [
1133
- { "internalType": "uint256", "name": "streamId", "type": "uint256" },
1134
- { "internalType": "address", "name": "to", "type": "address" }
1135
- ],
1136
- "name": "withdrawMax",
1137
- "outputs": [{ "internalType": "uint128", "name": "withdrawnAmount", "type": "uint128" }],
1138
- "stateMutability": "payable",
1139
- "type": "function"
1140
- },
1141
- {
1142
- "inputs": [
1143
- { "internalType": "uint256", "name": "streamId", "type": "uint256" },
1144
- { "internalType": "address", "name": "newRecipient", "type": "address" }
1145
- ],
1146
- "name": "withdrawMaxAndTransfer",
1147
- "outputs": [{ "internalType": "uint128", "name": "withdrawnAmount", "type": "uint128" }],
1148
- "stateMutability": "payable",
1149
- "type": "function"
1150
- },
1151
- {
1152
- "inputs": [
1153
- { "internalType": "uint256[]", "name": "streamIds", "type": "uint256[]" },
1154
- { "internalType": "uint128[]", "name": "amounts", "type": "uint128[]" }
1155
- ],
1156
- "name": "withdrawMultiple",
1157
- "outputs": [],
1158
- "stateMutability": "payable",
1159
- "type": "function"
1160
- },
1161
- {
1162
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
1163
- "name": "withdrawableAmountOf",
1164
- "outputs": [{ "internalType": "uint128", "name": "withdrawableAmount", "type": "uint128" }],
1165
- "stateMutability": "view",
1166
- "type": "function"
1167
- }
1168
- ]