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,829 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- { "internalType": "address", "name": "initialAdmin", "type": "address" },
5
- { "internalType": "contract ISablierV2Comptroller", "name": "initialComptroller", "type": "address" },
6
- { "internalType": "contract ISablierV2NFTDescriptor", "name": "initialNFTDescriptor", "type": "address" }
7
- ],
8
- "stateMutability": "nonpayable",
9
- "type": "constructor"
10
- },
11
- {
12
- "inputs": [
13
- { "internalType": "address", "name": "admin", "type": "address" },
14
- { "internalType": "address", "name": "caller", "type": "address" }
15
- ],
16
- "name": "CallerNotAdmin",
17
- "type": "error"
18
- },
19
- { "inputs": [], "name": "DelegateCall", "type": "error" },
20
- {
21
- "inputs": [
22
- { "internalType": "uint256", "name": "x", "type": "uint256" },
23
- { "internalType": "uint256", "name": "y", "type": "uint256" }
24
- ],
25
- "name": "PRBMath_MulDiv18_Overflow",
26
- "type": "error"
27
- },
28
- {
29
- "inputs": [
30
- { "internalType": "uint256", "name": "x", "type": "uint256" },
31
- { "internalType": "uint256", "name": "y", "type": "uint256" },
32
- { "internalType": "uint256", "name": "denominator", "type": "uint256" }
33
- ],
34
- "name": "PRBMath_MulDiv_Overflow",
35
- "type": "error"
36
- },
37
- {
38
- "inputs": [{ "internalType": "contract IERC20", "name": "asset", "type": "address" }],
39
- "name": "SablierV2Base_NoProtocolRevenues",
40
- "type": "error"
41
- },
42
- {
43
- "inputs": [
44
- { "internalType": "uint40", "name": "cliffTime", "type": "uint40" },
45
- { "internalType": "uint40", "name": "endTime", "type": "uint40" }
46
- ],
47
- "name": "SablierV2LockupLinear_CliffTimeNotLessThanEndTime",
48
- "type": "error"
49
- },
50
- {
51
- "inputs": [
52
- { "internalType": "uint40", "name": "startTime", "type": "uint40" },
53
- { "internalType": "uint40", "name": "cliffTime", "type": "uint40" }
54
- ],
55
- "name": "SablierV2LockupLinear_StartTimeGreaterThanCliffTime",
56
- "type": "error"
57
- },
58
- {
59
- "inputs": [
60
- { "internalType": "UD60x18", "name": "brokerFee", "type": "uint256" },
61
- { "internalType": "UD60x18", "name": "maxFee", "type": "uint256" }
62
- ],
63
- "name": "SablierV2Lockup_BrokerFeeTooHigh",
64
- "type": "error"
65
- },
66
- { "inputs": [], "name": "SablierV2Lockup_DepositAmountZero", "type": "error" },
67
- {
68
- "inputs": [
69
- { "internalType": "uint40", "name": "currentTime", "type": "uint40" },
70
- { "internalType": "uint40", "name": "endTime", "type": "uint40" }
71
- ],
72
- "name": "SablierV2Lockup_EndTimeNotInTheFuture",
73
- "type": "error"
74
- },
75
- {
76
- "inputs": [
77
- { "internalType": "uint256", "name": "streamId", "type": "uint256" },
78
- { "internalType": "address", "name": "sender", "type": "address" },
79
- { "internalType": "address", "name": "to", "type": "address" }
80
- ],
81
- "name": "SablierV2Lockup_InvalidSenderWithdrawal",
82
- "type": "error"
83
- },
84
- {
85
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
86
- "name": "SablierV2Lockup_Null",
87
- "type": "error"
88
- },
89
- {
90
- "inputs": [
91
- { "internalType": "uint256", "name": "streamId", "type": "uint256" },
92
- { "internalType": "uint128", "name": "amount", "type": "uint128" },
93
- { "internalType": "uint128", "name": "withdrawableAmount", "type": "uint128" }
94
- ],
95
- "name": "SablierV2Lockup_Overdraw",
96
- "type": "error"
97
- },
98
- {
99
- "inputs": [
100
- { "internalType": "UD60x18", "name": "protocolFee", "type": "uint256" },
101
- { "internalType": "UD60x18", "name": "maxFee", "type": "uint256" }
102
- ],
103
- "name": "SablierV2Lockup_ProtocolFeeTooHigh",
104
- "type": "error"
105
- },
106
- {
107
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
108
- "name": "SablierV2Lockup_StreamCanceled",
109
- "type": "error"
110
- },
111
- {
112
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
113
- "name": "SablierV2Lockup_StreamDepleted",
114
- "type": "error"
115
- },
116
- {
117
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
118
- "name": "SablierV2Lockup_StreamNotCancelable",
119
- "type": "error"
120
- },
121
- {
122
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
123
- "name": "SablierV2Lockup_StreamNotDepleted",
124
- "type": "error"
125
- },
126
- {
127
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
128
- "name": "SablierV2Lockup_StreamSettled",
129
- "type": "error"
130
- },
131
- {
132
- "inputs": [
133
- { "internalType": "uint256", "name": "streamId", "type": "uint256" },
134
- { "internalType": "address", "name": "caller", "type": "address" }
135
- ],
136
- "name": "SablierV2Lockup_Unauthorized",
137
- "type": "error"
138
- },
139
- {
140
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
141
- "name": "SablierV2Lockup_WithdrawAmountZero",
142
- "type": "error"
143
- },
144
- {
145
- "inputs": [
146
- { "internalType": "uint256", "name": "streamIdsCount", "type": "uint256" },
147
- { "internalType": "uint256", "name": "amountsCount", "type": "uint256" }
148
- ],
149
- "name": "SablierV2Lockup_WithdrawArrayCountsNotEqual",
150
- "type": "error"
151
- },
152
- { "inputs": [], "name": "SablierV2Lockup_WithdrawToZeroAddress", "type": "error" },
153
- {
154
- "anonymous": false,
155
- "inputs": [
156
- { "indexed": true, "internalType": "address", "name": "owner", "type": "address" },
157
- { "indexed": true, "internalType": "address", "name": "approved", "type": "address" },
158
- { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" }
159
- ],
160
- "name": "Approval",
161
- "type": "event"
162
- },
163
- {
164
- "anonymous": false,
165
- "inputs": [
166
- { "indexed": true, "internalType": "address", "name": "owner", "type": "address" },
167
- { "indexed": true, "internalType": "address", "name": "operator", "type": "address" },
168
- { "indexed": false, "internalType": "bool", "name": "approved", "type": "bool" }
169
- ],
170
- "name": "ApprovalForAll",
171
- "type": "event"
172
- },
173
- {
174
- "anonymous": false,
175
- "inputs": [
176
- { "indexed": false, "internalType": "uint256", "name": "_fromTokenId", "type": "uint256" },
177
- { "indexed": false, "internalType": "uint256", "name": "_toTokenId", "type": "uint256" }
178
- ],
179
- "name": "BatchMetadataUpdate",
180
- "type": "event"
181
- },
182
- {
183
- "anonymous": false,
184
- "inputs": [
185
- { "indexed": true, "internalType": "uint256", "name": "streamId", "type": "uint256" },
186
- { "indexed": true, "internalType": "address", "name": "sender", "type": "address" },
187
- { "indexed": true, "internalType": "address", "name": "recipient", "type": "address" },
188
- { "indexed": false, "internalType": "uint128", "name": "senderAmount", "type": "uint128" },
189
- { "indexed": false, "internalType": "uint128", "name": "recipientAmount", "type": "uint128" }
190
- ],
191
- "name": "CancelLockupStream",
192
- "type": "event"
193
- },
194
- {
195
- "anonymous": false,
196
- "inputs": [
197
- { "indexed": true, "internalType": "address", "name": "admin", "type": "address" },
198
- { "indexed": true, "internalType": "contract IERC20", "name": "asset", "type": "address" },
199
- { "indexed": false, "internalType": "uint128", "name": "protocolRevenues", "type": "uint128" }
200
- ],
201
- "name": "ClaimProtocolRevenues",
202
- "type": "event"
203
- },
204
- {
205
- "anonymous": false,
206
- "inputs": [
207
- { "indexed": false, "internalType": "uint256", "name": "streamId", "type": "uint256" },
208
- { "indexed": false, "internalType": "address", "name": "funder", "type": "address" },
209
- { "indexed": true, "internalType": "address", "name": "sender", "type": "address" },
210
- { "indexed": true, "internalType": "address", "name": "recipient", "type": "address" },
211
- {
212
- "components": [
213
- { "internalType": "uint128", "name": "deposit", "type": "uint128" },
214
- { "internalType": "uint128", "name": "protocolFee", "type": "uint128" },
215
- { "internalType": "uint128", "name": "brokerFee", "type": "uint128" }
216
- ],
217
- "indexed": false,
218
- "internalType": "struct Lockup.CreateAmounts",
219
- "name": "amounts",
220
- "type": "tuple"
221
- },
222
- { "indexed": true, "internalType": "contract IERC20", "name": "asset", "type": "address" },
223
- { "indexed": false, "internalType": "bool", "name": "cancelable", "type": "bool" },
224
- {
225
- "components": [
226
- { "internalType": "uint40", "name": "start", "type": "uint40" },
227
- { "internalType": "uint40", "name": "cliff", "type": "uint40" },
228
- { "internalType": "uint40", "name": "end", "type": "uint40" }
229
- ],
230
- "indexed": false,
231
- "internalType": "struct LockupLinear.Range",
232
- "name": "range",
233
- "type": "tuple"
234
- },
235
- { "indexed": false, "internalType": "address", "name": "broker", "type": "address" }
236
- ],
237
- "name": "CreateLockupLinearStream",
238
- "type": "event"
239
- },
240
- {
241
- "anonymous": false,
242
- "inputs": [{ "indexed": false, "internalType": "uint256", "name": "_tokenId", "type": "uint256" }],
243
- "name": "MetadataUpdate",
244
- "type": "event"
245
- },
246
- {
247
- "anonymous": false,
248
- "inputs": [{ "indexed": true, "internalType": "uint256", "name": "streamId", "type": "uint256" }],
249
- "name": "RenounceLockupStream",
250
- "type": "event"
251
- },
252
- {
253
- "anonymous": false,
254
- "inputs": [
255
- { "indexed": true, "internalType": "address", "name": "admin", "type": "address" },
256
- {
257
- "indexed": false,
258
- "internalType": "contract ISablierV2Comptroller",
259
- "name": "oldComptroller",
260
- "type": "address"
261
- },
262
- {
263
- "indexed": false,
264
- "internalType": "contract ISablierV2Comptroller",
265
- "name": "newComptroller",
266
- "type": "address"
267
- }
268
- ],
269
- "name": "SetComptroller",
270
- "type": "event"
271
- },
272
- {
273
- "anonymous": false,
274
- "inputs": [
275
- { "indexed": true, "internalType": "address", "name": "admin", "type": "address" },
276
- {
277
- "indexed": false,
278
- "internalType": "contract ISablierV2NFTDescriptor",
279
- "name": "oldNFTDescriptor",
280
- "type": "address"
281
- },
282
- {
283
- "indexed": false,
284
- "internalType": "contract ISablierV2NFTDescriptor",
285
- "name": "newNFTDescriptor",
286
- "type": "address"
287
- }
288
- ],
289
- "name": "SetNFTDescriptor",
290
- "type": "event"
291
- },
292
- {
293
- "anonymous": false,
294
- "inputs": [
295
- { "indexed": true, "internalType": "address", "name": "from", "type": "address" },
296
- { "indexed": true, "internalType": "address", "name": "to", "type": "address" },
297
- { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" }
298
- ],
299
- "name": "Transfer",
300
- "type": "event"
301
- },
302
- {
303
- "anonymous": false,
304
- "inputs": [
305
- { "indexed": true, "internalType": "address", "name": "oldAdmin", "type": "address" },
306
- { "indexed": true, "internalType": "address", "name": "newAdmin", "type": "address" }
307
- ],
308
- "name": "TransferAdmin",
309
- "type": "event"
310
- },
311
- {
312
- "anonymous": false,
313
- "inputs": [
314
- { "indexed": true, "internalType": "uint256", "name": "streamId", "type": "uint256" },
315
- { "indexed": true, "internalType": "address", "name": "to", "type": "address" },
316
- { "indexed": false, "internalType": "uint128", "name": "amount", "type": "uint128" }
317
- ],
318
- "name": "WithdrawFromLockupStream",
319
- "type": "event"
320
- },
321
- {
322
- "inputs": [],
323
- "name": "MAX_FEE",
324
- "outputs": [{ "internalType": "UD60x18", "name": "", "type": "uint256" }],
325
- "stateMutability": "view",
326
- "type": "function"
327
- },
328
- {
329
- "inputs": [],
330
- "name": "admin",
331
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
332
- "stateMutability": "view",
333
- "type": "function"
334
- },
335
- {
336
- "inputs": [
337
- { "internalType": "address", "name": "to", "type": "address" },
338
- { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
339
- ],
340
- "name": "approve",
341
- "outputs": [],
342
- "stateMutability": "nonpayable",
343
- "type": "function"
344
- },
345
- {
346
- "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }],
347
- "name": "balanceOf",
348
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
349
- "stateMutability": "view",
350
- "type": "function"
351
- },
352
- {
353
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
354
- "name": "burn",
355
- "outputs": [],
356
- "stateMutability": "nonpayable",
357
- "type": "function"
358
- },
359
- {
360
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
361
- "name": "cancel",
362
- "outputs": [],
363
- "stateMutability": "nonpayable",
364
- "type": "function"
365
- },
366
- {
367
- "inputs": [{ "internalType": "uint256[]", "name": "streamIds", "type": "uint256[]" }],
368
- "name": "cancelMultiple",
369
- "outputs": [],
370
- "stateMutability": "nonpayable",
371
- "type": "function"
372
- },
373
- {
374
- "inputs": [{ "internalType": "contract IERC20", "name": "asset", "type": "address" }],
375
- "name": "claimProtocolRevenues",
376
- "outputs": [],
377
- "stateMutability": "nonpayable",
378
- "type": "function"
379
- },
380
- {
381
- "inputs": [],
382
- "name": "comptroller",
383
- "outputs": [{ "internalType": "contract ISablierV2Comptroller", "name": "", "type": "address" }],
384
- "stateMutability": "view",
385
- "type": "function"
386
- },
387
- {
388
- "inputs": [
389
- {
390
- "components": [
391
- { "internalType": "address", "name": "sender", "type": "address" },
392
- { "internalType": "address", "name": "recipient", "type": "address" },
393
- { "internalType": "uint128", "name": "totalAmount", "type": "uint128" },
394
- { "internalType": "contract IERC20", "name": "asset", "type": "address" },
395
- { "internalType": "bool", "name": "cancelable", "type": "bool" },
396
- {
397
- "components": [
398
- { "internalType": "uint40", "name": "cliff", "type": "uint40" },
399
- { "internalType": "uint40", "name": "total", "type": "uint40" }
400
- ],
401
- "internalType": "struct LockupLinear.Durations",
402
- "name": "durations",
403
- "type": "tuple"
404
- },
405
- {
406
- "components": [
407
- { "internalType": "address", "name": "account", "type": "address" },
408
- { "internalType": "UD60x18", "name": "fee", "type": "uint256" }
409
- ],
410
- "internalType": "struct Broker",
411
- "name": "broker",
412
- "type": "tuple"
413
- }
414
- ],
415
- "internalType": "struct LockupLinear.CreateWithDurations",
416
- "name": "params",
417
- "type": "tuple"
418
- }
419
- ],
420
- "name": "createWithDurations",
421
- "outputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
422
- "stateMutability": "nonpayable",
423
- "type": "function"
424
- },
425
- {
426
- "inputs": [
427
- {
428
- "components": [
429
- { "internalType": "address", "name": "sender", "type": "address" },
430
- { "internalType": "address", "name": "recipient", "type": "address" },
431
- { "internalType": "uint128", "name": "totalAmount", "type": "uint128" },
432
- { "internalType": "contract IERC20", "name": "asset", "type": "address" },
433
- { "internalType": "bool", "name": "cancelable", "type": "bool" },
434
- {
435
- "components": [
436
- { "internalType": "uint40", "name": "start", "type": "uint40" },
437
- { "internalType": "uint40", "name": "cliff", "type": "uint40" },
438
- { "internalType": "uint40", "name": "end", "type": "uint40" }
439
- ],
440
- "internalType": "struct LockupLinear.Range",
441
- "name": "range",
442
- "type": "tuple"
443
- },
444
- {
445
- "components": [
446
- { "internalType": "address", "name": "account", "type": "address" },
447
- { "internalType": "UD60x18", "name": "fee", "type": "uint256" }
448
- ],
449
- "internalType": "struct Broker",
450
- "name": "broker",
451
- "type": "tuple"
452
- }
453
- ],
454
- "internalType": "struct LockupLinear.CreateWithRange",
455
- "name": "params",
456
- "type": "tuple"
457
- }
458
- ],
459
- "name": "createWithRange",
460
- "outputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
461
- "stateMutability": "nonpayable",
462
- "type": "function"
463
- },
464
- {
465
- "inputs": [{ "internalType": "uint256", "name": "tokenId", "type": "uint256" }],
466
- "name": "getApproved",
467
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
468
- "stateMutability": "view",
469
- "type": "function"
470
- },
471
- {
472
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
473
- "name": "getAsset",
474
- "outputs": [{ "internalType": "contract IERC20", "name": "asset", "type": "address" }],
475
- "stateMutability": "view",
476
- "type": "function"
477
- },
478
- {
479
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
480
- "name": "getCliffTime",
481
- "outputs": [{ "internalType": "uint40", "name": "cliffTime", "type": "uint40" }],
482
- "stateMutability": "view",
483
- "type": "function"
484
- },
485
- {
486
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
487
- "name": "getDepositedAmount",
488
- "outputs": [{ "internalType": "uint128", "name": "depositedAmount", "type": "uint128" }],
489
- "stateMutability": "view",
490
- "type": "function"
491
- },
492
- {
493
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
494
- "name": "getEndTime",
495
- "outputs": [{ "internalType": "uint40", "name": "endTime", "type": "uint40" }],
496
- "stateMutability": "view",
497
- "type": "function"
498
- },
499
- {
500
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
501
- "name": "getRange",
502
- "outputs": [
503
- {
504
- "components": [
505
- { "internalType": "uint40", "name": "start", "type": "uint40" },
506
- { "internalType": "uint40", "name": "cliff", "type": "uint40" },
507
- { "internalType": "uint40", "name": "end", "type": "uint40" }
508
- ],
509
- "internalType": "struct LockupLinear.Range",
510
- "name": "range",
511
- "type": "tuple"
512
- }
513
- ],
514
- "stateMutability": "view",
515
- "type": "function"
516
- },
517
- {
518
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
519
- "name": "getRecipient",
520
- "outputs": [{ "internalType": "address", "name": "recipient", "type": "address" }],
521
- "stateMutability": "view",
522
- "type": "function"
523
- },
524
- {
525
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
526
- "name": "getRefundedAmount",
527
- "outputs": [{ "internalType": "uint128", "name": "refundedAmount", "type": "uint128" }],
528
- "stateMutability": "view",
529
- "type": "function"
530
- },
531
- {
532
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
533
- "name": "getSender",
534
- "outputs": [{ "internalType": "address", "name": "sender", "type": "address" }],
535
- "stateMutability": "view",
536
- "type": "function"
537
- },
538
- {
539
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
540
- "name": "getStartTime",
541
- "outputs": [{ "internalType": "uint40", "name": "startTime", "type": "uint40" }],
542
- "stateMutability": "view",
543
- "type": "function"
544
- },
545
- {
546
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
547
- "name": "getStream",
548
- "outputs": [
549
- {
550
- "components": [
551
- { "internalType": "address", "name": "sender", "type": "address" },
552
- { "internalType": "uint40", "name": "startTime", "type": "uint40" },
553
- { "internalType": "uint40", "name": "cliffTime", "type": "uint40" },
554
- { "internalType": "bool", "name": "isCancelable", "type": "bool" },
555
- { "internalType": "bool", "name": "wasCanceled", "type": "bool" },
556
- { "internalType": "contract IERC20", "name": "asset", "type": "address" },
557
- { "internalType": "uint40", "name": "endTime", "type": "uint40" },
558
- { "internalType": "bool", "name": "isDepleted", "type": "bool" },
559
- { "internalType": "bool", "name": "isStream", "type": "bool" },
560
- {
561
- "components": [
562
- { "internalType": "uint128", "name": "deposited", "type": "uint128" },
563
- { "internalType": "uint128", "name": "withdrawn", "type": "uint128" },
564
- { "internalType": "uint128", "name": "refunded", "type": "uint128" }
565
- ],
566
- "internalType": "struct Lockup.Amounts",
567
- "name": "amounts",
568
- "type": "tuple"
569
- }
570
- ],
571
- "internalType": "struct LockupLinear.Stream",
572
- "name": "stream",
573
- "type": "tuple"
574
- }
575
- ],
576
- "stateMutability": "view",
577
- "type": "function"
578
- },
579
- {
580
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
581
- "name": "getWithdrawnAmount",
582
- "outputs": [{ "internalType": "uint128", "name": "withdrawnAmount", "type": "uint128" }],
583
- "stateMutability": "view",
584
- "type": "function"
585
- },
586
- {
587
- "inputs": [
588
- { "internalType": "address", "name": "owner", "type": "address" },
589
- { "internalType": "address", "name": "operator", "type": "address" }
590
- ],
591
- "name": "isApprovedForAll",
592
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
593
- "stateMutability": "view",
594
- "type": "function"
595
- },
596
- {
597
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
598
- "name": "isCancelable",
599
- "outputs": [{ "internalType": "bool", "name": "result", "type": "bool" }],
600
- "stateMutability": "view",
601
- "type": "function"
602
- },
603
- {
604
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
605
- "name": "isCold",
606
- "outputs": [{ "internalType": "bool", "name": "result", "type": "bool" }],
607
- "stateMutability": "view",
608
- "type": "function"
609
- },
610
- {
611
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
612
- "name": "isDepleted",
613
- "outputs": [{ "internalType": "bool", "name": "result", "type": "bool" }],
614
- "stateMutability": "view",
615
- "type": "function"
616
- },
617
- {
618
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
619
- "name": "isStream",
620
- "outputs": [{ "internalType": "bool", "name": "result", "type": "bool" }],
621
- "stateMutability": "view",
622
- "type": "function"
623
- },
624
- {
625
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
626
- "name": "isWarm",
627
- "outputs": [{ "internalType": "bool", "name": "result", "type": "bool" }],
628
- "stateMutability": "view",
629
- "type": "function"
630
- },
631
- {
632
- "inputs": [],
633
- "name": "name",
634
- "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
635
- "stateMutability": "view",
636
- "type": "function"
637
- },
638
- {
639
- "inputs": [],
640
- "name": "nextStreamId",
641
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
642
- "stateMutability": "view",
643
- "type": "function"
644
- },
645
- {
646
- "inputs": [{ "internalType": "uint256", "name": "tokenId", "type": "uint256" }],
647
- "name": "ownerOf",
648
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
649
- "stateMutability": "view",
650
- "type": "function"
651
- },
652
- {
653
- "inputs": [{ "internalType": "contract IERC20", "name": "asset", "type": "address" }],
654
- "name": "protocolRevenues",
655
- "outputs": [{ "internalType": "uint128", "name": "revenues", "type": "uint128" }],
656
- "stateMutability": "view",
657
- "type": "function"
658
- },
659
- {
660
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
661
- "name": "refundableAmountOf",
662
- "outputs": [{ "internalType": "uint128", "name": "refundableAmount", "type": "uint128" }],
663
- "stateMutability": "view",
664
- "type": "function"
665
- },
666
- {
667
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
668
- "name": "renounce",
669
- "outputs": [],
670
- "stateMutability": "nonpayable",
671
- "type": "function"
672
- },
673
- {
674
- "inputs": [
675
- { "internalType": "address", "name": "from", "type": "address" },
676
- { "internalType": "address", "name": "to", "type": "address" },
677
- { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
678
- ],
679
- "name": "safeTransferFrom",
680
- "outputs": [],
681
- "stateMutability": "nonpayable",
682
- "type": "function"
683
- },
684
- {
685
- "inputs": [
686
- { "internalType": "address", "name": "from", "type": "address" },
687
- { "internalType": "address", "name": "to", "type": "address" },
688
- { "internalType": "uint256", "name": "tokenId", "type": "uint256" },
689
- { "internalType": "bytes", "name": "data", "type": "bytes" }
690
- ],
691
- "name": "safeTransferFrom",
692
- "outputs": [],
693
- "stateMutability": "nonpayable",
694
- "type": "function"
695
- },
696
- {
697
- "inputs": [
698
- { "internalType": "address", "name": "operator", "type": "address" },
699
- { "internalType": "bool", "name": "approved", "type": "bool" }
700
- ],
701
- "name": "setApprovalForAll",
702
- "outputs": [],
703
- "stateMutability": "nonpayable",
704
- "type": "function"
705
- },
706
- {
707
- "inputs": [{ "internalType": "contract ISablierV2Comptroller", "name": "newComptroller", "type": "address" }],
708
- "name": "setComptroller",
709
- "outputs": [],
710
- "stateMutability": "nonpayable",
711
- "type": "function"
712
- },
713
- {
714
- "inputs": [{ "internalType": "contract ISablierV2NFTDescriptor", "name": "newNFTDescriptor", "type": "address" }],
715
- "name": "setNFTDescriptor",
716
- "outputs": [],
717
- "stateMutability": "nonpayable",
718
- "type": "function"
719
- },
720
- {
721
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
722
- "name": "statusOf",
723
- "outputs": [{ "internalType": "enum Lockup.Status", "name": "status", "type": "uint8" }],
724
- "stateMutability": "view",
725
- "type": "function"
726
- },
727
- {
728
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
729
- "name": "streamedAmountOf",
730
- "outputs": [{ "internalType": "uint128", "name": "streamedAmount", "type": "uint128" }],
731
- "stateMutability": "view",
732
- "type": "function"
733
- },
734
- {
735
- "inputs": [{ "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }],
736
- "name": "supportsInterface",
737
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
738
- "stateMutability": "view",
739
- "type": "function"
740
- },
741
- {
742
- "inputs": [],
743
- "name": "symbol",
744
- "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
745
- "stateMutability": "view",
746
- "type": "function"
747
- },
748
- {
749
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
750
- "name": "tokenURI",
751
- "outputs": [{ "internalType": "string", "name": "uri", "type": "string" }],
752
- "stateMutability": "view",
753
- "type": "function"
754
- },
755
- {
756
- "inputs": [{ "internalType": "address", "name": "newAdmin", "type": "address" }],
757
- "name": "transferAdmin",
758
- "outputs": [],
759
- "stateMutability": "nonpayable",
760
- "type": "function"
761
- },
762
- {
763
- "inputs": [
764
- { "internalType": "address", "name": "from", "type": "address" },
765
- { "internalType": "address", "name": "to", "type": "address" },
766
- { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
767
- ],
768
- "name": "transferFrom",
769
- "outputs": [],
770
- "stateMutability": "nonpayable",
771
- "type": "function"
772
- },
773
- {
774
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
775
- "name": "wasCanceled",
776
- "outputs": [{ "internalType": "bool", "name": "result", "type": "bool" }],
777
- "stateMutability": "view",
778
- "type": "function"
779
- },
780
- {
781
- "inputs": [
782
- { "internalType": "uint256", "name": "streamId", "type": "uint256" },
783
- { "internalType": "address", "name": "to", "type": "address" },
784
- { "internalType": "uint128", "name": "amount", "type": "uint128" }
785
- ],
786
- "name": "withdraw",
787
- "outputs": [],
788
- "stateMutability": "nonpayable",
789
- "type": "function"
790
- },
791
- {
792
- "inputs": [
793
- { "internalType": "uint256", "name": "streamId", "type": "uint256" },
794
- { "internalType": "address", "name": "to", "type": "address" }
795
- ],
796
- "name": "withdrawMax",
797
- "outputs": [],
798
- "stateMutability": "nonpayable",
799
- "type": "function"
800
- },
801
- {
802
- "inputs": [
803
- { "internalType": "uint256", "name": "streamId", "type": "uint256" },
804
- { "internalType": "address", "name": "newRecipient", "type": "address" }
805
- ],
806
- "name": "withdrawMaxAndTransfer",
807
- "outputs": [],
808
- "stateMutability": "nonpayable",
809
- "type": "function"
810
- },
811
- {
812
- "inputs": [
813
- { "internalType": "uint256[]", "name": "streamIds", "type": "uint256[]" },
814
- { "internalType": "address", "name": "to", "type": "address" },
815
- { "internalType": "uint128[]", "name": "amounts", "type": "uint128[]" }
816
- ],
817
- "name": "withdrawMultiple",
818
- "outputs": [],
819
- "stateMutability": "nonpayable",
820
- "type": "function"
821
- },
822
- {
823
- "inputs": [{ "internalType": "uint256", "name": "streamId", "type": "uint256" }],
824
- "name": "withdrawableAmountOf",
825
- "outputs": [{ "internalType": "uint128", "name": "withdrawableAmount", "type": "uint128" }],
826
- "stateMutability": "view",
827
- "type": "function"
828
- }
829
- ]