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,2393 +0,0 @@
1
- [
2
- {
3
- "type": "constructor",
4
- "inputs": [
5
- {
6
- "name": "initialAdmin",
7
- "type": "address",
8
- "internalType": "address"
9
- },
10
- {
11
- "name": "initialNFTDescriptor",
12
- "type": "address",
13
- "internalType": "contract IFlowNFTDescriptor"
14
- }
15
- ],
16
- "stateMutability": "nonpayable"
17
- },
18
- {
19
- "type": "function",
20
- "name": "MAX_FEE",
21
- "inputs": [],
22
- "outputs": [
23
- {
24
- "name": "",
25
- "type": "uint256",
26
- "internalType": "UD60x18"
27
- }
28
- ],
29
- "stateMutability": "view"
30
- },
31
- {
32
- "type": "function",
33
- "name": "adjustRatePerSecond",
34
- "inputs": [
35
- {
36
- "name": "streamId",
37
- "type": "uint256",
38
- "internalType": "uint256"
39
- },
40
- {
41
- "name": "newRatePerSecond",
42
- "type": "uint128",
43
- "internalType": "UD21x18"
44
- }
45
- ],
46
- "outputs": [],
47
- "stateMutability": "payable"
48
- },
49
- {
50
- "type": "function",
51
- "name": "admin",
52
- "inputs": [],
53
- "outputs": [
54
- {
55
- "name": "",
56
- "type": "address",
57
- "internalType": "address"
58
- }
59
- ],
60
- "stateMutability": "view"
61
- },
62
- {
63
- "type": "function",
64
- "name": "aggregateBalance",
65
- "inputs": [
66
- {
67
- "name": "token",
68
- "type": "address",
69
- "internalType": "contract IERC20"
70
- }
71
- ],
72
- "outputs": [
73
- {
74
- "name": "amount",
75
- "type": "uint256",
76
- "internalType": "uint256"
77
- }
78
- ],
79
- "stateMutability": "view"
80
- },
81
- {
82
- "type": "function",
83
- "name": "approve",
84
- "inputs": [
85
- {
86
- "name": "to",
87
- "type": "address",
88
- "internalType": "address"
89
- },
90
- {
91
- "name": "tokenId",
92
- "type": "uint256",
93
- "internalType": "uint256"
94
- }
95
- ],
96
- "outputs": [],
97
- "stateMutability": "nonpayable"
98
- },
99
- {
100
- "type": "function",
101
- "name": "balanceOf",
102
- "inputs": [
103
- {
104
- "name": "owner",
105
- "type": "address",
106
- "internalType": "address"
107
- }
108
- ],
109
- "outputs": [
110
- {
111
- "name": "",
112
- "type": "uint256",
113
- "internalType": "uint256"
114
- }
115
- ],
116
- "stateMutability": "view"
117
- },
118
- {
119
- "type": "function",
120
- "name": "batch",
121
- "inputs": [
122
- {
123
- "name": "calls",
124
- "type": "bytes[]",
125
- "internalType": "bytes[]"
126
- }
127
- ],
128
- "outputs": [
129
- {
130
- "name": "results",
131
- "type": "bytes[]",
132
- "internalType": "bytes[]"
133
- }
134
- ],
135
- "stateMutability": "payable"
136
- },
137
- {
138
- "type": "function",
139
- "name": "collectFees",
140
- "inputs": [],
141
- "outputs": [],
142
- "stateMutability": "nonpayable"
143
- },
144
- {
145
- "type": "function",
146
- "name": "collectProtocolRevenue",
147
- "inputs": [
148
- {
149
- "name": "token",
150
- "type": "address",
151
- "internalType": "contract IERC20"
152
- },
153
- {
154
- "name": "to",
155
- "type": "address",
156
- "internalType": "address"
157
- }
158
- ],
159
- "outputs": [],
160
- "stateMutability": "nonpayable"
161
- },
162
- {
163
- "type": "function",
164
- "name": "coveredDebtOf",
165
- "inputs": [
166
- {
167
- "name": "streamId",
168
- "type": "uint256",
169
- "internalType": "uint256"
170
- }
171
- ],
172
- "outputs": [
173
- {
174
- "name": "coveredDebt",
175
- "type": "uint128",
176
- "internalType": "uint128"
177
- }
178
- ],
179
- "stateMutability": "view"
180
- },
181
- {
182
- "type": "function",
183
- "name": "create",
184
- "inputs": [
185
- {
186
- "name": "sender",
187
- "type": "address",
188
- "internalType": "address"
189
- },
190
- {
191
- "name": "recipient",
192
- "type": "address",
193
- "internalType": "address"
194
- },
195
- {
196
- "name": "ratePerSecond",
197
- "type": "uint128",
198
- "internalType": "UD21x18"
199
- },
200
- {
201
- "name": "token",
202
- "type": "address",
203
- "internalType": "contract IERC20"
204
- },
205
- {
206
- "name": "transferable",
207
- "type": "bool",
208
- "internalType": "bool"
209
- }
210
- ],
211
- "outputs": [
212
- {
213
- "name": "streamId",
214
- "type": "uint256",
215
- "internalType": "uint256"
216
- }
217
- ],
218
- "stateMutability": "payable"
219
- },
220
- {
221
- "type": "function",
222
- "name": "createAndDeposit",
223
- "inputs": [
224
- {
225
- "name": "sender",
226
- "type": "address",
227
- "internalType": "address"
228
- },
229
- {
230
- "name": "recipient",
231
- "type": "address",
232
- "internalType": "address"
233
- },
234
- {
235
- "name": "ratePerSecond",
236
- "type": "uint128",
237
- "internalType": "UD21x18"
238
- },
239
- {
240
- "name": "token",
241
- "type": "address",
242
- "internalType": "contract IERC20"
243
- },
244
- {
245
- "name": "transferable",
246
- "type": "bool",
247
- "internalType": "bool"
248
- },
249
- {
250
- "name": "amount",
251
- "type": "uint128",
252
- "internalType": "uint128"
253
- }
254
- ],
255
- "outputs": [
256
- {
257
- "name": "streamId",
258
- "type": "uint256",
259
- "internalType": "uint256"
260
- }
261
- ],
262
- "stateMutability": "payable"
263
- },
264
- {
265
- "type": "function",
266
- "name": "depletionTimeOf",
267
- "inputs": [
268
- {
269
- "name": "streamId",
270
- "type": "uint256",
271
- "internalType": "uint256"
272
- }
273
- ],
274
- "outputs": [
275
- {
276
- "name": "depletionTime",
277
- "type": "uint256",
278
- "internalType": "uint256"
279
- }
280
- ],
281
- "stateMutability": "view"
282
- },
283
- {
284
- "type": "function",
285
- "name": "deposit",
286
- "inputs": [
287
- {
288
- "name": "streamId",
289
- "type": "uint256",
290
- "internalType": "uint256"
291
- },
292
- {
293
- "name": "amount",
294
- "type": "uint128",
295
- "internalType": "uint128"
296
- },
297
- {
298
- "name": "sender",
299
- "type": "address",
300
- "internalType": "address"
301
- },
302
- {
303
- "name": "recipient",
304
- "type": "address",
305
- "internalType": "address"
306
- }
307
- ],
308
- "outputs": [],
309
- "stateMutability": "payable"
310
- },
311
- {
312
- "type": "function",
313
- "name": "depositAndPause",
314
- "inputs": [
315
- {
316
- "name": "streamId",
317
- "type": "uint256",
318
- "internalType": "uint256"
319
- },
320
- {
321
- "name": "amount",
322
- "type": "uint128",
323
- "internalType": "uint128"
324
- }
325
- ],
326
- "outputs": [],
327
- "stateMutability": "payable"
328
- },
329
- {
330
- "type": "function",
331
- "name": "depositViaBroker",
332
- "inputs": [
333
- {
334
- "name": "streamId",
335
- "type": "uint256",
336
- "internalType": "uint256"
337
- },
338
- {
339
- "name": "totalAmount",
340
- "type": "uint128",
341
- "internalType": "uint128"
342
- },
343
- {
344
- "name": "sender",
345
- "type": "address",
346
- "internalType": "address"
347
- },
348
- {
349
- "name": "recipient",
350
- "type": "address",
351
- "internalType": "address"
352
- },
353
- {
354
- "name": "broker",
355
- "type": "tuple",
356
- "internalType": "struct Broker",
357
- "components": [
358
- {
359
- "name": "account",
360
- "type": "address",
361
- "internalType": "address"
362
- },
363
- {
364
- "name": "fee",
365
- "type": "uint256",
366
- "internalType": "UD60x18"
367
- }
368
- ]
369
- }
370
- ],
371
- "outputs": [],
372
- "stateMutability": "payable"
373
- },
374
- {
375
- "type": "function",
376
- "name": "getApproved",
377
- "inputs": [
378
- {
379
- "name": "tokenId",
380
- "type": "uint256",
381
- "internalType": "uint256"
382
- }
383
- ],
384
- "outputs": [
385
- {
386
- "name": "",
387
- "type": "address",
388
- "internalType": "address"
389
- }
390
- ],
391
- "stateMutability": "view"
392
- },
393
- {
394
- "type": "function",
395
- "name": "getBalance",
396
- "inputs": [
397
- {
398
- "name": "streamId",
399
- "type": "uint256",
400
- "internalType": "uint256"
401
- }
402
- ],
403
- "outputs": [
404
- {
405
- "name": "balance",
406
- "type": "uint128",
407
- "internalType": "uint128"
408
- }
409
- ],
410
- "stateMutability": "view"
411
- },
412
- {
413
- "type": "function",
414
- "name": "getRatePerSecond",
415
- "inputs": [
416
- {
417
- "name": "streamId",
418
- "type": "uint256",
419
- "internalType": "uint256"
420
- }
421
- ],
422
- "outputs": [
423
- {
424
- "name": "ratePerSecond",
425
- "type": "uint128",
426
- "internalType": "UD21x18"
427
- }
428
- ],
429
- "stateMutability": "view"
430
- },
431
- {
432
- "type": "function",
433
- "name": "getRecipient",
434
- "inputs": [
435
- {
436
- "name": "streamId",
437
- "type": "uint256",
438
- "internalType": "uint256"
439
- }
440
- ],
441
- "outputs": [
442
- {
443
- "name": "recipient",
444
- "type": "address",
445
- "internalType": "address"
446
- }
447
- ],
448
- "stateMutability": "view"
449
- },
450
- {
451
- "type": "function",
452
- "name": "getSender",
453
- "inputs": [
454
- {
455
- "name": "streamId",
456
- "type": "uint256",
457
- "internalType": "uint256"
458
- }
459
- ],
460
- "outputs": [
461
- {
462
- "name": "sender",
463
- "type": "address",
464
- "internalType": "address"
465
- }
466
- ],
467
- "stateMutability": "view"
468
- },
469
- {
470
- "type": "function",
471
- "name": "getSnapshotDebtScaled",
472
- "inputs": [
473
- {
474
- "name": "streamId",
475
- "type": "uint256",
476
- "internalType": "uint256"
477
- }
478
- ],
479
- "outputs": [
480
- {
481
- "name": "snapshotDebtScaled",
482
- "type": "uint256",
483
- "internalType": "uint256"
484
- }
485
- ],
486
- "stateMutability": "view"
487
- },
488
- {
489
- "type": "function",
490
- "name": "getSnapshotTime",
491
- "inputs": [
492
- {
493
- "name": "streamId",
494
- "type": "uint256",
495
- "internalType": "uint256"
496
- }
497
- ],
498
- "outputs": [
499
- {
500
- "name": "snapshotTime",
501
- "type": "uint40",
502
- "internalType": "uint40"
503
- }
504
- ],
505
- "stateMutability": "view"
506
- },
507
- {
508
- "type": "function",
509
- "name": "getStream",
510
- "inputs": [
511
- {
512
- "name": "streamId",
513
- "type": "uint256",
514
- "internalType": "uint256"
515
- }
516
- ],
517
- "outputs": [
518
- {
519
- "name": "stream",
520
- "type": "tuple",
521
- "internalType": "struct Flow.Stream",
522
- "components": [
523
- {
524
- "name": "balance",
525
- "type": "uint128",
526
- "internalType": "uint128"
527
- },
528
- {
529
- "name": "ratePerSecond",
530
- "type": "uint128",
531
- "internalType": "UD21x18"
532
- },
533
- {
534
- "name": "sender",
535
- "type": "address",
536
- "internalType": "address"
537
- },
538
- {
539
- "name": "snapshotTime",
540
- "type": "uint40",
541
- "internalType": "uint40"
542
- },
543
- {
544
- "name": "isStream",
545
- "type": "bool",
546
- "internalType": "bool"
547
- },
548
- {
549
- "name": "isTransferable",
550
- "type": "bool",
551
- "internalType": "bool"
552
- },
553
- {
554
- "name": "isVoided",
555
- "type": "bool",
556
- "internalType": "bool"
557
- },
558
- {
559
- "name": "token",
560
- "type": "address",
561
- "internalType": "contract IERC20"
562
- },
563
- {
564
- "name": "tokenDecimals",
565
- "type": "uint8",
566
- "internalType": "uint8"
567
- },
568
- {
569
- "name": "snapshotDebtScaled",
570
- "type": "uint256",
571
- "internalType": "uint256"
572
- }
573
- ]
574
- }
575
- ],
576
- "stateMutability": "view"
577
- },
578
- {
579
- "type": "function",
580
- "name": "getToken",
581
- "inputs": [
582
- {
583
- "name": "streamId",
584
- "type": "uint256",
585
- "internalType": "uint256"
586
- }
587
- ],
588
- "outputs": [
589
- {
590
- "name": "token",
591
- "type": "address",
592
- "internalType": "contract IERC20"
593
- }
594
- ],
595
- "stateMutability": "view"
596
- },
597
- {
598
- "type": "function",
599
- "name": "getTokenDecimals",
600
- "inputs": [
601
- {
602
- "name": "streamId",
603
- "type": "uint256",
604
- "internalType": "uint256"
605
- }
606
- ],
607
- "outputs": [
608
- {
609
- "name": "tokenDecimals",
610
- "type": "uint8",
611
- "internalType": "uint8"
612
- }
613
- ],
614
- "stateMutability": "view"
615
- },
616
- {
617
- "type": "function",
618
- "name": "isApprovedForAll",
619
- "inputs": [
620
- {
621
- "name": "owner",
622
- "type": "address",
623
- "internalType": "address"
624
- },
625
- {
626
- "name": "operator",
627
- "type": "address",
628
- "internalType": "address"
629
- }
630
- ],
631
- "outputs": [
632
- {
633
- "name": "",
634
- "type": "bool",
635
- "internalType": "bool"
636
- }
637
- ],
638
- "stateMutability": "view"
639
- },
640
- {
641
- "type": "function",
642
- "name": "isPaused",
643
- "inputs": [
644
- {
645
- "name": "streamId",
646
- "type": "uint256",
647
- "internalType": "uint256"
648
- }
649
- ],
650
- "outputs": [
651
- {
652
- "name": "result",
653
- "type": "bool",
654
- "internalType": "bool"
655
- }
656
- ],
657
- "stateMutability": "view"
658
- },
659
- {
660
- "type": "function",
661
- "name": "isStream",
662
- "inputs": [
663
- {
664
- "name": "streamId",
665
- "type": "uint256",
666
- "internalType": "uint256"
667
- }
668
- ],
669
- "outputs": [
670
- {
671
- "name": "result",
672
- "type": "bool",
673
- "internalType": "bool"
674
- }
675
- ],
676
- "stateMutability": "view"
677
- },
678
- {
679
- "type": "function",
680
- "name": "isTransferable",
681
- "inputs": [
682
- {
683
- "name": "streamId",
684
- "type": "uint256",
685
- "internalType": "uint256"
686
- }
687
- ],
688
- "outputs": [
689
- {
690
- "name": "result",
691
- "type": "bool",
692
- "internalType": "bool"
693
- }
694
- ],
695
- "stateMutability": "view"
696
- },
697
- {
698
- "type": "function",
699
- "name": "isVoided",
700
- "inputs": [
701
- {
702
- "name": "streamId",
703
- "type": "uint256",
704
- "internalType": "uint256"
705
- }
706
- ],
707
- "outputs": [
708
- {
709
- "name": "result",
710
- "type": "bool",
711
- "internalType": "bool"
712
- }
713
- ],
714
- "stateMutability": "view"
715
- },
716
- {
717
- "type": "function",
718
- "name": "name",
719
- "inputs": [],
720
- "outputs": [
721
- {
722
- "name": "",
723
- "type": "string",
724
- "internalType": "string"
725
- }
726
- ],
727
- "stateMutability": "view"
728
- },
729
- {
730
- "type": "function",
731
- "name": "nextStreamId",
732
- "inputs": [],
733
- "outputs": [
734
- {
735
- "name": "",
736
- "type": "uint256",
737
- "internalType": "uint256"
738
- }
739
- ],
740
- "stateMutability": "view"
741
- },
742
- {
743
- "type": "function",
744
- "name": "nftDescriptor",
745
- "inputs": [],
746
- "outputs": [
747
- {
748
- "name": "",
749
- "type": "address",
750
- "internalType": "contract IFlowNFTDescriptor"
751
- }
752
- ],
753
- "stateMutability": "view"
754
- },
755
- {
756
- "type": "function",
757
- "name": "ongoingDebtScaledOf",
758
- "inputs": [
759
- {
760
- "name": "streamId",
761
- "type": "uint256",
762
- "internalType": "uint256"
763
- }
764
- ],
765
- "outputs": [
766
- {
767
- "name": "ongoingDebtScaled",
768
- "type": "uint256",
769
- "internalType": "uint256"
770
- }
771
- ],
772
- "stateMutability": "view"
773
- },
774
- {
775
- "type": "function",
776
- "name": "ownerOf",
777
- "inputs": [
778
- {
779
- "name": "tokenId",
780
- "type": "uint256",
781
- "internalType": "uint256"
782
- }
783
- ],
784
- "outputs": [
785
- {
786
- "name": "",
787
- "type": "address",
788
- "internalType": "address"
789
- }
790
- ],
791
- "stateMutability": "view"
792
- },
793
- {
794
- "type": "function",
795
- "name": "pause",
796
- "inputs": [
797
- {
798
- "name": "streamId",
799
- "type": "uint256",
800
- "internalType": "uint256"
801
- }
802
- ],
803
- "outputs": [],
804
- "stateMutability": "payable"
805
- },
806
- {
807
- "type": "function",
808
- "name": "protocolFee",
809
- "inputs": [
810
- {
811
- "name": "token",
812
- "type": "address",
813
- "internalType": "contract IERC20"
814
- }
815
- ],
816
- "outputs": [
817
- {
818
- "name": "fee",
819
- "type": "uint256",
820
- "internalType": "UD60x18"
821
- }
822
- ],
823
- "stateMutability": "view"
824
- },
825
- {
826
- "type": "function",
827
- "name": "protocolRevenue",
828
- "inputs": [
829
- {
830
- "name": "token",
831
- "type": "address",
832
- "internalType": "contract IERC20"
833
- }
834
- ],
835
- "outputs": [
836
- {
837
- "name": "revenue",
838
- "type": "uint128",
839
- "internalType": "uint128"
840
- }
841
- ],
842
- "stateMutability": "view"
843
- },
844
- {
845
- "type": "function",
846
- "name": "recover",
847
- "inputs": [
848
- {
849
- "name": "token",
850
- "type": "address",
851
- "internalType": "contract IERC20"
852
- },
853
- {
854
- "name": "to",
855
- "type": "address",
856
- "internalType": "address"
857
- }
858
- ],
859
- "outputs": [],
860
- "stateMutability": "nonpayable"
861
- },
862
- {
863
- "type": "function",
864
- "name": "refund",
865
- "inputs": [
866
- {
867
- "name": "streamId",
868
- "type": "uint256",
869
- "internalType": "uint256"
870
- },
871
- {
872
- "name": "amount",
873
- "type": "uint128",
874
- "internalType": "uint128"
875
- }
876
- ],
877
- "outputs": [],
878
- "stateMutability": "payable"
879
- },
880
- {
881
- "type": "function",
882
- "name": "refundAndPause",
883
- "inputs": [
884
- {
885
- "name": "streamId",
886
- "type": "uint256",
887
- "internalType": "uint256"
888
- },
889
- {
890
- "name": "amount",
891
- "type": "uint128",
892
- "internalType": "uint128"
893
- }
894
- ],
895
- "outputs": [],
896
- "stateMutability": "payable"
897
- },
898
- {
899
- "type": "function",
900
- "name": "refundMax",
901
- "inputs": [
902
- {
903
- "name": "streamId",
904
- "type": "uint256",
905
- "internalType": "uint256"
906
- }
907
- ],
908
- "outputs": [],
909
- "stateMutability": "payable"
910
- },
911
- {
912
- "type": "function",
913
- "name": "refundableAmountOf",
914
- "inputs": [
915
- {
916
- "name": "streamId",
917
- "type": "uint256",
918
- "internalType": "uint256"
919
- }
920
- ],
921
- "outputs": [
922
- {
923
- "name": "refundableAmount",
924
- "type": "uint128",
925
- "internalType": "uint128"
926
- }
927
- ],
928
- "stateMutability": "view"
929
- },
930
- {
931
- "type": "function",
932
- "name": "restart",
933
- "inputs": [
934
- {
935
- "name": "streamId",
936
- "type": "uint256",
937
- "internalType": "uint256"
938
- },
939
- {
940
- "name": "ratePerSecond",
941
- "type": "uint128",
942
- "internalType": "UD21x18"
943
- }
944
- ],
945
- "outputs": [],
946
- "stateMutability": "payable"
947
- },
948
- {
949
- "type": "function",
950
- "name": "restartAndDeposit",
951
- "inputs": [
952
- {
953
- "name": "streamId",
954
- "type": "uint256",
955
- "internalType": "uint256"
956
- },
957
- {
958
- "name": "ratePerSecond",
959
- "type": "uint128",
960
- "internalType": "UD21x18"
961
- },
962
- {
963
- "name": "amount",
964
- "type": "uint128",
965
- "internalType": "uint128"
966
- }
967
- ],
968
- "outputs": [],
969
- "stateMutability": "payable"
970
- },
971
- {
972
- "type": "function",
973
- "name": "safeTransferFrom",
974
- "inputs": [
975
- {
976
- "name": "from",
977
- "type": "address",
978
- "internalType": "address"
979
- },
980
- {
981
- "name": "to",
982
- "type": "address",
983
- "internalType": "address"
984
- },
985
- {
986
- "name": "tokenId",
987
- "type": "uint256",
988
- "internalType": "uint256"
989
- }
990
- ],
991
- "outputs": [],
992
- "stateMutability": "nonpayable"
993
- },
994
- {
995
- "type": "function",
996
- "name": "safeTransferFrom",
997
- "inputs": [
998
- {
999
- "name": "from",
1000
- "type": "address",
1001
- "internalType": "address"
1002
- },
1003
- {
1004
- "name": "to",
1005
- "type": "address",
1006
- "internalType": "address"
1007
- },
1008
- {
1009
- "name": "tokenId",
1010
- "type": "uint256",
1011
- "internalType": "uint256"
1012
- },
1013
- {
1014
- "name": "data",
1015
- "type": "bytes",
1016
- "internalType": "bytes"
1017
- }
1018
- ],
1019
- "outputs": [],
1020
- "stateMutability": "nonpayable"
1021
- },
1022
- {
1023
- "type": "function",
1024
- "name": "setApprovalForAll",
1025
- "inputs": [
1026
- {
1027
- "name": "operator",
1028
- "type": "address",
1029
- "internalType": "address"
1030
- },
1031
- {
1032
- "name": "approved",
1033
- "type": "bool",
1034
- "internalType": "bool"
1035
- }
1036
- ],
1037
- "outputs": [],
1038
- "stateMutability": "nonpayable"
1039
- },
1040
- {
1041
- "type": "function",
1042
- "name": "setNFTDescriptor",
1043
- "inputs": [
1044
- {
1045
- "name": "newNFTDescriptor",
1046
- "type": "address",
1047
- "internalType": "contract IFlowNFTDescriptor"
1048
- }
1049
- ],
1050
- "outputs": [],
1051
- "stateMutability": "nonpayable"
1052
- },
1053
- {
1054
- "type": "function",
1055
- "name": "setProtocolFee",
1056
- "inputs": [
1057
- {
1058
- "name": "token",
1059
- "type": "address",
1060
- "internalType": "contract IERC20"
1061
- },
1062
- {
1063
- "name": "newProtocolFee",
1064
- "type": "uint256",
1065
- "internalType": "UD60x18"
1066
- }
1067
- ],
1068
- "outputs": [],
1069
- "stateMutability": "nonpayable"
1070
- },
1071
- {
1072
- "type": "function",
1073
- "name": "statusOf",
1074
- "inputs": [
1075
- {
1076
- "name": "streamId",
1077
- "type": "uint256",
1078
- "internalType": "uint256"
1079
- }
1080
- ],
1081
- "outputs": [
1082
- {
1083
- "name": "status",
1084
- "type": "uint8",
1085
- "internalType": "enum Flow.Status"
1086
- }
1087
- ],
1088
- "stateMutability": "view"
1089
- },
1090
- {
1091
- "type": "function",
1092
- "name": "supportsInterface",
1093
- "inputs": [
1094
- {
1095
- "name": "interfaceId",
1096
- "type": "bytes4",
1097
- "internalType": "bytes4"
1098
- }
1099
- ],
1100
- "outputs": [
1101
- {
1102
- "name": "",
1103
- "type": "bool",
1104
- "internalType": "bool"
1105
- }
1106
- ],
1107
- "stateMutability": "view"
1108
- },
1109
- {
1110
- "type": "function",
1111
- "name": "symbol",
1112
- "inputs": [],
1113
- "outputs": [
1114
- {
1115
- "name": "",
1116
- "type": "string",
1117
- "internalType": "string"
1118
- }
1119
- ],
1120
- "stateMutability": "view"
1121
- },
1122
- {
1123
- "type": "function",
1124
- "name": "tokenURI",
1125
- "inputs": [
1126
- {
1127
- "name": "streamId",
1128
- "type": "uint256",
1129
- "internalType": "uint256"
1130
- }
1131
- ],
1132
- "outputs": [
1133
- {
1134
- "name": "uri",
1135
- "type": "string",
1136
- "internalType": "string"
1137
- }
1138
- ],
1139
- "stateMutability": "view"
1140
- },
1141
- {
1142
- "type": "function",
1143
- "name": "totalDebtOf",
1144
- "inputs": [
1145
- {
1146
- "name": "streamId",
1147
- "type": "uint256",
1148
- "internalType": "uint256"
1149
- }
1150
- ],
1151
- "outputs": [
1152
- {
1153
- "name": "totalDebt",
1154
- "type": "uint256",
1155
- "internalType": "uint256"
1156
- }
1157
- ],
1158
- "stateMutability": "view"
1159
- },
1160
- {
1161
- "type": "function",
1162
- "name": "transferAdmin",
1163
- "inputs": [
1164
- {
1165
- "name": "newAdmin",
1166
- "type": "address",
1167
- "internalType": "address"
1168
- }
1169
- ],
1170
- "outputs": [],
1171
- "stateMutability": "nonpayable"
1172
- },
1173
- {
1174
- "type": "function",
1175
- "name": "transferFrom",
1176
- "inputs": [
1177
- {
1178
- "name": "from",
1179
- "type": "address",
1180
- "internalType": "address"
1181
- },
1182
- {
1183
- "name": "to",
1184
- "type": "address",
1185
- "internalType": "address"
1186
- },
1187
- {
1188
- "name": "tokenId",
1189
- "type": "uint256",
1190
- "internalType": "uint256"
1191
- }
1192
- ],
1193
- "outputs": [],
1194
- "stateMutability": "nonpayable"
1195
- },
1196
- {
1197
- "type": "function",
1198
- "name": "uncoveredDebtOf",
1199
- "inputs": [
1200
- {
1201
- "name": "streamId",
1202
- "type": "uint256",
1203
- "internalType": "uint256"
1204
- }
1205
- ],
1206
- "outputs": [
1207
- {
1208
- "name": "uncoveredDebt",
1209
- "type": "uint256",
1210
- "internalType": "uint256"
1211
- }
1212
- ],
1213
- "stateMutability": "view"
1214
- },
1215
- {
1216
- "type": "function",
1217
- "name": "void",
1218
- "inputs": [
1219
- {
1220
- "name": "streamId",
1221
- "type": "uint256",
1222
- "internalType": "uint256"
1223
- }
1224
- ],
1225
- "outputs": [],
1226
- "stateMutability": "payable"
1227
- },
1228
- {
1229
- "type": "function",
1230
- "name": "withdraw",
1231
- "inputs": [
1232
- {
1233
- "name": "streamId",
1234
- "type": "uint256",
1235
- "internalType": "uint256"
1236
- },
1237
- {
1238
- "name": "to",
1239
- "type": "address",
1240
- "internalType": "address"
1241
- },
1242
- {
1243
- "name": "amount",
1244
- "type": "uint128",
1245
- "internalType": "uint128"
1246
- }
1247
- ],
1248
- "outputs": [
1249
- {
1250
- "name": "withdrawnAmount",
1251
- "type": "uint128",
1252
- "internalType": "uint128"
1253
- },
1254
- {
1255
- "name": "protocolFeeAmount",
1256
- "type": "uint128",
1257
- "internalType": "uint128"
1258
- }
1259
- ],
1260
- "stateMutability": "payable"
1261
- },
1262
- {
1263
- "type": "function",
1264
- "name": "withdrawMax",
1265
- "inputs": [
1266
- {
1267
- "name": "streamId",
1268
- "type": "uint256",
1269
- "internalType": "uint256"
1270
- },
1271
- {
1272
- "name": "to",
1273
- "type": "address",
1274
- "internalType": "address"
1275
- }
1276
- ],
1277
- "outputs": [
1278
- {
1279
- "name": "withdrawnAmount",
1280
- "type": "uint128",
1281
- "internalType": "uint128"
1282
- },
1283
- {
1284
- "name": "protocolFeeAmount",
1285
- "type": "uint128",
1286
- "internalType": "uint128"
1287
- }
1288
- ],
1289
- "stateMutability": "payable"
1290
- },
1291
- {
1292
- "type": "function",
1293
- "name": "withdrawableAmountOf",
1294
- "inputs": [
1295
- {
1296
- "name": "streamId",
1297
- "type": "uint256",
1298
- "internalType": "uint256"
1299
- }
1300
- ],
1301
- "outputs": [
1302
- {
1303
- "name": "withdrawableAmount",
1304
- "type": "uint128",
1305
- "internalType": "uint128"
1306
- }
1307
- ],
1308
- "stateMutability": "view"
1309
- },
1310
- {
1311
- "type": "event",
1312
- "name": "AdjustFlowStream",
1313
- "inputs": [
1314
- {
1315
- "name": "streamId",
1316
- "type": "uint256",
1317
- "indexed": true,
1318
- "internalType": "uint256"
1319
- },
1320
- {
1321
- "name": "totalDebt",
1322
- "type": "uint256",
1323
- "indexed": false,
1324
- "internalType": "uint256"
1325
- },
1326
- {
1327
- "name": "oldRatePerSecond",
1328
- "type": "uint128",
1329
- "indexed": false,
1330
- "internalType": "UD21x18"
1331
- },
1332
- {
1333
- "name": "newRatePerSecond",
1334
- "type": "uint128",
1335
- "indexed": false,
1336
- "internalType": "UD21x18"
1337
- }
1338
- ],
1339
- "anonymous": false
1340
- },
1341
- {
1342
- "type": "event",
1343
- "name": "Approval",
1344
- "inputs": [
1345
- {
1346
- "name": "owner",
1347
- "type": "address",
1348
- "indexed": true,
1349
- "internalType": "address"
1350
- },
1351
- {
1352
- "name": "approved",
1353
- "type": "address",
1354
- "indexed": true,
1355
- "internalType": "address"
1356
- },
1357
- {
1358
- "name": "tokenId",
1359
- "type": "uint256",
1360
- "indexed": true,
1361
- "internalType": "uint256"
1362
- }
1363
- ],
1364
- "anonymous": false
1365
- },
1366
- {
1367
- "type": "event",
1368
- "name": "ApprovalForAll",
1369
- "inputs": [
1370
- {
1371
- "name": "owner",
1372
- "type": "address",
1373
- "indexed": true,
1374
- "internalType": "address"
1375
- },
1376
- {
1377
- "name": "operator",
1378
- "type": "address",
1379
- "indexed": true,
1380
- "internalType": "address"
1381
- },
1382
- {
1383
- "name": "approved",
1384
- "type": "bool",
1385
- "indexed": false,
1386
- "internalType": "bool"
1387
- }
1388
- ],
1389
- "anonymous": false
1390
- },
1391
- {
1392
- "type": "event",
1393
- "name": "BatchMetadataUpdate",
1394
- "inputs": [
1395
- {
1396
- "name": "_fromTokenId",
1397
- "type": "uint256",
1398
- "indexed": false,
1399
- "internalType": "uint256"
1400
- },
1401
- {
1402
- "name": "_toTokenId",
1403
- "type": "uint256",
1404
- "indexed": false,
1405
- "internalType": "uint256"
1406
- }
1407
- ],
1408
- "anonymous": false
1409
- },
1410
- {
1411
- "type": "event",
1412
- "name": "CollectFees",
1413
- "inputs": [
1414
- {
1415
- "name": "admin",
1416
- "type": "address",
1417
- "indexed": true,
1418
- "internalType": "address"
1419
- },
1420
- {
1421
- "name": "feeAmount",
1422
- "type": "uint256",
1423
- "indexed": true,
1424
- "internalType": "uint256"
1425
- }
1426
- ],
1427
- "anonymous": false
1428
- },
1429
- {
1430
- "type": "event",
1431
- "name": "CollectProtocolRevenue",
1432
- "inputs": [
1433
- {
1434
- "name": "admin",
1435
- "type": "address",
1436
- "indexed": true,
1437
- "internalType": "address"
1438
- },
1439
- {
1440
- "name": "token",
1441
- "type": "address",
1442
- "indexed": true,
1443
- "internalType": "contract IERC20"
1444
- },
1445
- {
1446
- "name": "to",
1447
- "type": "address",
1448
- "indexed": false,
1449
- "internalType": "address"
1450
- },
1451
- {
1452
- "name": "revenue",
1453
- "type": "uint128",
1454
- "indexed": false,
1455
- "internalType": "uint128"
1456
- }
1457
- ],
1458
- "anonymous": false
1459
- },
1460
- {
1461
- "type": "event",
1462
- "name": "CreateFlowStream",
1463
- "inputs": [
1464
- {
1465
- "name": "streamId",
1466
- "type": "uint256",
1467
- "indexed": false,
1468
- "internalType": "uint256"
1469
- },
1470
- {
1471
- "name": "sender",
1472
- "type": "address",
1473
- "indexed": true,
1474
- "internalType": "address"
1475
- },
1476
- {
1477
- "name": "recipient",
1478
- "type": "address",
1479
- "indexed": true,
1480
- "internalType": "address"
1481
- },
1482
- {
1483
- "name": "ratePerSecond",
1484
- "type": "uint128",
1485
- "indexed": false,
1486
- "internalType": "UD21x18"
1487
- },
1488
- {
1489
- "name": "token",
1490
- "type": "address",
1491
- "indexed": true,
1492
- "internalType": "contract IERC20"
1493
- },
1494
- {
1495
- "name": "transferable",
1496
- "type": "bool",
1497
- "indexed": false,
1498
- "internalType": "bool"
1499
- }
1500
- ],
1501
- "anonymous": false
1502
- },
1503
- {
1504
- "type": "event",
1505
- "name": "DepositFlowStream",
1506
- "inputs": [
1507
- {
1508
- "name": "streamId",
1509
- "type": "uint256",
1510
- "indexed": true,
1511
- "internalType": "uint256"
1512
- },
1513
- {
1514
- "name": "funder",
1515
- "type": "address",
1516
- "indexed": true,
1517
- "internalType": "address"
1518
- },
1519
- {
1520
- "name": "amount",
1521
- "type": "uint128",
1522
- "indexed": false,
1523
- "internalType": "uint128"
1524
- }
1525
- ],
1526
- "anonymous": false
1527
- },
1528
- {
1529
- "type": "event",
1530
- "name": "MetadataUpdate",
1531
- "inputs": [
1532
- {
1533
- "name": "_tokenId",
1534
- "type": "uint256",
1535
- "indexed": false,
1536
- "internalType": "uint256"
1537
- }
1538
- ],
1539
- "anonymous": false
1540
- },
1541
- {
1542
- "type": "event",
1543
- "name": "PauseFlowStream",
1544
- "inputs": [
1545
- {
1546
- "name": "streamId",
1547
- "type": "uint256",
1548
- "indexed": true,
1549
- "internalType": "uint256"
1550
- },
1551
- {
1552
- "name": "sender",
1553
- "type": "address",
1554
- "indexed": true,
1555
- "internalType": "address"
1556
- },
1557
- {
1558
- "name": "recipient",
1559
- "type": "address",
1560
- "indexed": true,
1561
- "internalType": "address"
1562
- },
1563
- {
1564
- "name": "totalDebt",
1565
- "type": "uint256",
1566
- "indexed": false,
1567
- "internalType": "uint256"
1568
- }
1569
- ],
1570
- "anonymous": false
1571
- },
1572
- {
1573
- "type": "event",
1574
- "name": "Recover",
1575
- "inputs": [
1576
- {
1577
- "name": "admin",
1578
- "type": "address",
1579
- "indexed": true,
1580
- "internalType": "address"
1581
- },
1582
- {
1583
- "name": "token",
1584
- "type": "address",
1585
- "indexed": true,
1586
- "internalType": "contract IERC20"
1587
- },
1588
- {
1589
- "name": "to",
1590
- "type": "address",
1591
- "indexed": false,
1592
- "internalType": "address"
1593
- },
1594
- {
1595
- "name": "surplus",
1596
- "type": "uint256",
1597
- "indexed": false,
1598
- "internalType": "uint256"
1599
- }
1600
- ],
1601
- "anonymous": false
1602
- },
1603
- {
1604
- "type": "event",
1605
- "name": "RefundFromFlowStream",
1606
- "inputs": [
1607
- {
1608
- "name": "streamId",
1609
- "type": "uint256",
1610
- "indexed": true,
1611
- "internalType": "uint256"
1612
- },
1613
- {
1614
- "name": "sender",
1615
- "type": "address",
1616
- "indexed": true,
1617
- "internalType": "address"
1618
- },
1619
- {
1620
- "name": "amount",
1621
- "type": "uint128",
1622
- "indexed": false,
1623
- "internalType": "uint128"
1624
- }
1625
- ],
1626
- "anonymous": false
1627
- },
1628
- {
1629
- "type": "event",
1630
- "name": "RestartFlowStream",
1631
- "inputs": [
1632
- {
1633
- "name": "streamId",
1634
- "type": "uint256",
1635
- "indexed": true,
1636
- "internalType": "uint256"
1637
- },
1638
- {
1639
- "name": "sender",
1640
- "type": "address",
1641
- "indexed": true,
1642
- "internalType": "address"
1643
- },
1644
- {
1645
- "name": "ratePerSecond",
1646
- "type": "uint128",
1647
- "indexed": false,
1648
- "internalType": "UD21x18"
1649
- }
1650
- ],
1651
- "anonymous": false
1652
- },
1653
- {
1654
- "type": "event",
1655
- "name": "SetNFTDescriptor",
1656
- "inputs": [
1657
- {
1658
- "name": "admin",
1659
- "type": "address",
1660
- "indexed": true,
1661
- "internalType": "address"
1662
- },
1663
- {
1664
- "name": "oldNFTDescriptor",
1665
- "type": "address",
1666
- "indexed": false,
1667
- "internalType": "contract IFlowNFTDescriptor"
1668
- },
1669
- {
1670
- "name": "newNFTDescriptor",
1671
- "type": "address",
1672
- "indexed": false,
1673
- "internalType": "contract IFlowNFTDescriptor"
1674
- }
1675
- ],
1676
- "anonymous": false
1677
- },
1678
- {
1679
- "type": "event",
1680
- "name": "SetProtocolFee",
1681
- "inputs": [
1682
- {
1683
- "name": "admin",
1684
- "type": "address",
1685
- "indexed": true,
1686
- "internalType": "address"
1687
- },
1688
- {
1689
- "name": "token",
1690
- "type": "address",
1691
- "indexed": true,
1692
- "internalType": "contract IERC20"
1693
- },
1694
- {
1695
- "name": "oldProtocolFee",
1696
- "type": "uint256",
1697
- "indexed": false,
1698
- "internalType": "UD60x18"
1699
- },
1700
- {
1701
- "name": "newProtocolFee",
1702
- "type": "uint256",
1703
- "indexed": false,
1704
- "internalType": "UD60x18"
1705
- }
1706
- ],
1707
- "anonymous": false
1708
- },
1709
- {
1710
- "type": "event",
1711
- "name": "Transfer",
1712
- "inputs": [
1713
- {
1714
- "name": "from",
1715
- "type": "address",
1716
- "indexed": true,
1717
- "internalType": "address"
1718
- },
1719
- {
1720
- "name": "to",
1721
- "type": "address",
1722
- "indexed": true,
1723
- "internalType": "address"
1724
- },
1725
- {
1726
- "name": "tokenId",
1727
- "type": "uint256",
1728
- "indexed": true,
1729
- "internalType": "uint256"
1730
- }
1731
- ],
1732
- "anonymous": false
1733
- },
1734
- {
1735
- "type": "event",
1736
- "name": "TransferAdmin",
1737
- "inputs": [
1738
- {
1739
- "name": "oldAdmin",
1740
- "type": "address",
1741
- "indexed": true,
1742
- "internalType": "address"
1743
- },
1744
- {
1745
- "name": "newAdmin",
1746
- "type": "address",
1747
- "indexed": true,
1748
- "internalType": "address"
1749
- }
1750
- ],
1751
- "anonymous": false
1752
- },
1753
- {
1754
- "type": "event",
1755
- "name": "VoidFlowStream",
1756
- "inputs": [
1757
- {
1758
- "name": "streamId",
1759
- "type": "uint256",
1760
- "indexed": true,
1761
- "internalType": "uint256"
1762
- },
1763
- {
1764
- "name": "sender",
1765
- "type": "address",
1766
- "indexed": true,
1767
- "internalType": "address"
1768
- },
1769
- {
1770
- "name": "recipient",
1771
- "type": "address",
1772
- "indexed": true,
1773
- "internalType": "address"
1774
- },
1775
- {
1776
- "name": "caller",
1777
- "type": "address",
1778
- "indexed": false,
1779
- "internalType": "address"
1780
- },
1781
- {
1782
- "name": "newTotalDebt",
1783
- "type": "uint256",
1784
- "indexed": false,
1785
- "internalType": "uint256"
1786
- },
1787
- {
1788
- "name": "writtenOffDebt",
1789
- "type": "uint256",
1790
- "indexed": false,
1791
- "internalType": "uint256"
1792
- }
1793
- ],
1794
- "anonymous": false
1795
- },
1796
- {
1797
- "type": "event",
1798
- "name": "WithdrawFromFlowStream",
1799
- "inputs": [
1800
- {
1801
- "name": "streamId",
1802
- "type": "uint256",
1803
- "indexed": true,
1804
- "internalType": "uint256"
1805
- },
1806
- {
1807
- "name": "to",
1808
- "type": "address",
1809
- "indexed": true,
1810
- "internalType": "address"
1811
- },
1812
- {
1813
- "name": "token",
1814
- "type": "address",
1815
- "indexed": true,
1816
- "internalType": "contract IERC20"
1817
- },
1818
- {
1819
- "name": "caller",
1820
- "type": "address",
1821
- "indexed": false,
1822
- "internalType": "address"
1823
- },
1824
- {
1825
- "name": "withdrawAmount",
1826
- "type": "uint128",
1827
- "indexed": false,
1828
- "internalType": "uint128"
1829
- },
1830
- {
1831
- "name": "protocolFeeAmount",
1832
- "type": "uint128",
1833
- "indexed": false,
1834
- "internalType": "uint128"
1835
- }
1836
- ],
1837
- "anonymous": false
1838
- },
1839
- {
1840
- "type": "error",
1841
- "name": "AddressEmptyCode",
1842
- "inputs": [
1843
- {
1844
- "name": "target",
1845
- "type": "address",
1846
- "internalType": "address"
1847
- }
1848
- ]
1849
- },
1850
- {
1851
- "type": "error",
1852
- "name": "AddressInsufficientBalance",
1853
- "inputs": [
1854
- {
1855
- "name": "account",
1856
- "type": "address",
1857
- "internalType": "address"
1858
- }
1859
- ]
1860
- },
1861
- {
1862
- "type": "error",
1863
- "name": "CallerNotAdmin",
1864
- "inputs": [
1865
- {
1866
- "name": "admin",
1867
- "type": "address",
1868
- "internalType": "address"
1869
- },
1870
- {
1871
- "name": "caller",
1872
- "type": "address",
1873
- "internalType": "address"
1874
- }
1875
- ]
1876
- },
1877
- {
1878
- "type": "error",
1879
- "name": "DelegateCall",
1880
- "inputs": []
1881
- },
1882
- {
1883
- "type": "error",
1884
- "name": "ERC721IncorrectOwner",
1885
- "inputs": [
1886
- {
1887
- "name": "sender",
1888
- "type": "address",
1889
- "internalType": "address"
1890
- },
1891
- {
1892
- "name": "tokenId",
1893
- "type": "uint256",
1894
- "internalType": "uint256"
1895
- },
1896
- {
1897
- "name": "owner",
1898
- "type": "address",
1899
- "internalType": "address"
1900
- }
1901
- ]
1902
- },
1903
- {
1904
- "type": "error",
1905
- "name": "ERC721InsufficientApproval",
1906
- "inputs": [
1907
- {
1908
- "name": "operator",
1909
- "type": "address",
1910
- "internalType": "address"
1911
- },
1912
- {
1913
- "name": "tokenId",
1914
- "type": "uint256",
1915
- "internalType": "uint256"
1916
- }
1917
- ]
1918
- },
1919
- {
1920
- "type": "error",
1921
- "name": "ERC721InvalidApprover",
1922
- "inputs": [
1923
- {
1924
- "name": "approver",
1925
- "type": "address",
1926
- "internalType": "address"
1927
- }
1928
- ]
1929
- },
1930
- {
1931
- "type": "error",
1932
- "name": "ERC721InvalidOperator",
1933
- "inputs": [
1934
- {
1935
- "name": "operator",
1936
- "type": "address",
1937
- "internalType": "address"
1938
- }
1939
- ]
1940
- },
1941
- {
1942
- "type": "error",
1943
- "name": "ERC721InvalidOwner",
1944
- "inputs": [
1945
- {
1946
- "name": "owner",
1947
- "type": "address",
1948
- "internalType": "address"
1949
- }
1950
- ]
1951
- },
1952
- {
1953
- "type": "error",
1954
- "name": "ERC721InvalidReceiver",
1955
- "inputs": [
1956
- {
1957
- "name": "receiver",
1958
- "type": "address",
1959
- "internalType": "address"
1960
- }
1961
- ]
1962
- },
1963
- {
1964
- "type": "error",
1965
- "name": "ERC721InvalidSender",
1966
- "inputs": [
1967
- {
1968
- "name": "sender",
1969
- "type": "address",
1970
- "internalType": "address"
1971
- }
1972
- ]
1973
- },
1974
- {
1975
- "type": "error",
1976
- "name": "ERC721NonexistentToken",
1977
- "inputs": [
1978
- {
1979
- "name": "tokenId",
1980
- "type": "uint256",
1981
- "internalType": "uint256"
1982
- }
1983
- ]
1984
- },
1985
- {
1986
- "type": "error",
1987
- "name": "FailedInnerCall",
1988
- "inputs": []
1989
- },
1990
- {
1991
- "type": "error",
1992
- "name": "PRBMath_MulDiv18_Overflow",
1993
- "inputs": [
1994
- {
1995
- "name": "x",
1996
- "type": "uint256",
1997
- "internalType": "uint256"
1998
- },
1999
- {
2000
- "name": "y",
2001
- "type": "uint256",
2002
- "internalType": "uint256"
2003
- }
2004
- ]
2005
- },
2006
- {
2007
- "type": "error",
2008
- "name": "PRBMath_UD60x18_IntoUint128_Overflow",
2009
- "inputs": [
2010
- {
2011
- "name": "x",
2012
- "type": "uint256",
2013
- "internalType": "UD60x18"
2014
- }
2015
- ]
2016
- },
2017
- {
2018
- "type": "error",
2019
- "name": "SablierFlowBase_FeeTransferFail",
2020
- "inputs": [
2021
- {
2022
- "name": "admin",
2023
- "type": "address",
2024
- "internalType": "address"
2025
- },
2026
- {
2027
- "name": "feeAmount",
2028
- "type": "uint256",
2029
- "internalType": "uint256"
2030
- }
2031
- ]
2032
- },
2033
- {
2034
- "type": "error",
2035
- "name": "SablierFlowBase_NoProtocolRevenue",
2036
- "inputs": [
2037
- {
2038
- "name": "token",
2039
- "type": "address",
2040
- "internalType": "address"
2041
- }
2042
- ]
2043
- },
2044
- {
2045
- "type": "error",
2046
- "name": "SablierFlowBase_NotTransferable",
2047
- "inputs": [
2048
- {
2049
- "name": "streamId",
2050
- "type": "uint256",
2051
- "internalType": "uint256"
2052
- }
2053
- ]
2054
- },
2055
- {
2056
- "type": "error",
2057
- "name": "SablierFlowBase_ProtocolFeeTooHigh",
2058
- "inputs": [
2059
- {
2060
- "name": "newProtocolFee",
2061
- "type": "uint256",
2062
- "internalType": "UD60x18"
2063
- },
2064
- {
2065
- "name": "maxFee",
2066
- "type": "uint256",
2067
- "internalType": "UD60x18"
2068
- }
2069
- ]
2070
- },
2071
- {
2072
- "type": "error",
2073
- "name": "SablierFlowBase_SurplusZero",
2074
- "inputs": [
2075
- {
2076
- "name": "token",
2077
- "type": "address",
2078
- "internalType": "address"
2079
- }
2080
- ]
2081
- },
2082
- {
2083
- "type": "error",
2084
- "name": "SablierFlow_BrokerAddressZero",
2085
- "inputs": []
2086
- },
2087
- {
2088
- "type": "error",
2089
- "name": "SablierFlow_BrokerFeeTooHigh",
2090
- "inputs": [
2091
- {
2092
- "name": "brokerFee",
2093
- "type": "uint256",
2094
- "internalType": "UD60x18"
2095
- },
2096
- {
2097
- "name": "maxFee",
2098
- "type": "uint256",
2099
- "internalType": "UD60x18"
2100
- }
2101
- ]
2102
- },
2103
- {
2104
- "type": "error",
2105
- "name": "SablierFlow_DepositAmountZero",
2106
- "inputs": [
2107
- {
2108
- "name": "streamId",
2109
- "type": "uint256",
2110
- "internalType": "uint256"
2111
- }
2112
- ]
2113
- },
2114
- {
2115
- "type": "error",
2116
- "name": "SablierFlow_InvalidCalculation",
2117
- "inputs": [
2118
- {
2119
- "name": "streamId",
2120
- "type": "uint256",
2121
- "internalType": "uint256"
2122
- },
2123
- {
2124
- "name": "availableAmount",
2125
- "type": "uint128",
2126
- "internalType": "uint128"
2127
- },
2128
- {
2129
- "name": "amount",
2130
- "type": "uint128",
2131
- "internalType": "uint128"
2132
- }
2133
- ]
2134
- },
2135
- {
2136
- "type": "error",
2137
- "name": "SablierFlow_InvalidTokenDecimals",
2138
- "inputs": [
2139
- {
2140
- "name": "token",
2141
- "type": "address",
2142
- "internalType": "address"
2143
- }
2144
- ]
2145
- },
2146
- {
2147
- "type": "error",
2148
- "name": "SablierFlow_NotStreamRecipient",
2149
- "inputs": [
2150
- {
2151
- "name": "recipient",
2152
- "type": "address",
2153
- "internalType": "address"
2154
- },
2155
- {
2156
- "name": "streamRecipient",
2157
- "type": "address",
2158
- "internalType": "address"
2159
- }
2160
- ]
2161
- },
2162
- {
2163
- "type": "error",
2164
- "name": "SablierFlow_NotStreamSender",
2165
- "inputs": [
2166
- {
2167
- "name": "sender",
2168
- "type": "address",
2169
- "internalType": "address"
2170
- },
2171
- {
2172
- "name": "streamSender",
2173
- "type": "address",
2174
- "internalType": "address"
2175
- }
2176
- ]
2177
- },
2178
- {
2179
- "type": "error",
2180
- "name": "SablierFlow_Null",
2181
- "inputs": [
2182
- {
2183
- "name": "streamId",
2184
- "type": "uint256",
2185
- "internalType": "uint256"
2186
- }
2187
- ]
2188
- },
2189
- {
2190
- "type": "error",
2191
- "name": "SablierFlow_Overdraw",
2192
- "inputs": [
2193
- {
2194
- "name": "streamId",
2195
- "type": "uint256",
2196
- "internalType": "uint256"
2197
- },
2198
- {
2199
- "name": "amount",
2200
- "type": "uint128",
2201
- "internalType": "uint128"
2202
- },
2203
- {
2204
- "name": "withdrawableAmount",
2205
- "type": "uint128",
2206
- "internalType": "uint128"
2207
- }
2208
- ]
2209
- },
2210
- {
2211
- "type": "error",
2212
- "name": "SablierFlow_RatePerSecondNotDifferent",
2213
- "inputs": [
2214
- {
2215
- "name": "streamId",
2216
- "type": "uint256",
2217
- "internalType": "uint256"
2218
- },
2219
- {
2220
- "name": "ratePerSecond",
2221
- "type": "uint128",
2222
- "internalType": "UD21x18"
2223
- }
2224
- ]
2225
- },
2226
- {
2227
- "type": "error",
2228
- "name": "SablierFlow_RefundAmountZero",
2229
- "inputs": [
2230
- {
2231
- "name": "streamId",
2232
- "type": "uint256",
2233
- "internalType": "uint256"
2234
- }
2235
- ]
2236
- },
2237
- {
2238
- "type": "error",
2239
- "name": "SablierFlow_RefundOverflow",
2240
- "inputs": [
2241
- {
2242
- "name": "streamId",
2243
- "type": "uint256",
2244
- "internalType": "uint256"
2245
- },
2246
- {
2247
- "name": "refundAmount",
2248
- "type": "uint128",
2249
- "internalType": "uint128"
2250
- },
2251
- {
2252
- "name": "refundableAmount",
2253
- "type": "uint128",
2254
- "internalType": "uint128"
2255
- }
2256
- ]
2257
- },
2258
- {
2259
- "type": "error",
2260
- "name": "SablierFlow_SenderZeroAddress",
2261
- "inputs": []
2262
- },
2263
- {
2264
- "type": "error",
2265
- "name": "SablierFlow_StreamBalanceZero",
2266
- "inputs": [
2267
- {
2268
- "name": "streamId",
2269
- "type": "uint256",
2270
- "internalType": "uint256"
2271
- }
2272
- ]
2273
- },
2274
- {
2275
- "type": "error",
2276
- "name": "SablierFlow_StreamNotPaused",
2277
- "inputs": [
2278
- {
2279
- "name": "streamId",
2280
- "type": "uint256",
2281
- "internalType": "uint256"
2282
- }
2283
- ]
2284
- },
2285
- {
2286
- "type": "error",
2287
- "name": "SablierFlow_StreamPaused",
2288
- "inputs": [
2289
- {
2290
- "name": "streamId",
2291
- "type": "uint256",
2292
- "internalType": "uint256"
2293
- }
2294
- ]
2295
- },
2296
- {
2297
- "type": "error",
2298
- "name": "SablierFlow_StreamVoided",
2299
- "inputs": [
2300
- {
2301
- "name": "streamId",
2302
- "type": "uint256",
2303
- "internalType": "uint256"
2304
- }
2305
- ]
2306
- },
2307
- {
2308
- "type": "error",
2309
- "name": "SablierFlow_Unauthorized",
2310
- "inputs": [
2311
- {
2312
- "name": "streamId",
2313
- "type": "uint256",
2314
- "internalType": "uint256"
2315
- },
2316
- {
2317
- "name": "caller",
2318
- "type": "address",
2319
- "internalType": "address"
2320
- }
2321
- ]
2322
- },
2323
- {
2324
- "type": "error",
2325
- "name": "SablierFlow_WithdrawAmountZero",
2326
- "inputs": [
2327
- {
2328
- "name": "streamId",
2329
- "type": "uint256",
2330
- "internalType": "uint256"
2331
- }
2332
- ]
2333
- },
2334
- {
2335
- "type": "error",
2336
- "name": "SablierFlow_WithdrawToZeroAddress",
2337
- "inputs": [
2338
- {
2339
- "name": "streamId",
2340
- "type": "uint256",
2341
- "internalType": "uint256"
2342
- }
2343
- ]
2344
- },
2345
- {
2346
- "type": "error",
2347
- "name": "SablierFlow_WithdrawalAddressNotRecipient",
2348
- "inputs": [
2349
- {
2350
- "name": "streamId",
2351
- "type": "uint256",
2352
- "internalType": "uint256"
2353
- },
2354
- {
2355
- "name": "caller",
2356
- "type": "address",
2357
- "internalType": "address"
2358
- },
2359
- {
2360
- "name": "to",
2361
- "type": "address",
2362
- "internalType": "address"
2363
- }
2364
- ]
2365
- },
2366
- {
2367
- "type": "error",
2368
- "name": "SafeCastOverflowedUintDowncast",
2369
- "inputs": [
2370
- {
2371
- "name": "bits",
2372
- "type": "uint8",
2373
- "internalType": "uint8"
2374
- },
2375
- {
2376
- "name": "value",
2377
- "type": "uint256",
2378
- "internalType": "uint256"
2379
- }
2380
- ]
2381
- },
2382
- {
2383
- "type": "error",
2384
- "name": "SafeERC20FailedOperation",
2385
- "inputs": [
2386
- {
2387
- "name": "token",
2388
- "type": "address",
2389
- "internalType": "address"
2390
- }
2391
- ]
2392
- }
2393
- ]