@paraswap/dex-lib 3.11.7 → 3.11.8-bebop-incr-timeout.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.
@@ -0,0 +1,829 @@
1
+ [
2
+ {
3
+ "inputs": [],
4
+ "stateMutability": "nonpayable",
5
+ "type": "constructor"
6
+ },
7
+ {
8
+ "inputs": [],
9
+ "name": "CallerNotManager",
10
+ "type": "error"
11
+ },
12
+ {
13
+ "inputs": [],
14
+ "name": "CallerNotStaderContract",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [],
19
+ "name": "CooldownNotComplete",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [],
24
+ "name": "InsufficientBalance",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [],
29
+ "name": "InvalidDepositAmount",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "inputs": [],
34
+ "name": "PoolIdDoesNotExit",
35
+ "type": "error"
36
+ },
37
+ {
38
+ "inputs": [],
39
+ "name": "TransferFailed",
40
+ "type": "error"
41
+ },
42
+ {
43
+ "inputs": [],
44
+ "name": "UnsupportedOperation",
45
+ "type": "error"
46
+ },
47
+ {
48
+ "inputs": [],
49
+ "name": "UnsupportedOperationInSafeMode",
50
+ "type": "error"
51
+ },
52
+ {
53
+ "inputs": [],
54
+ "name": "ZeroAddress",
55
+ "type": "error"
56
+ },
57
+ {
58
+ "anonymous": false,
59
+ "inputs": [
60
+ {
61
+ "indexed": false,
62
+ "internalType": "uint256",
63
+ "name": "amount",
64
+ "type": "uint256"
65
+ }
66
+ ],
67
+ "name": "AuctionedEthReceived",
68
+ "type": "event"
69
+ },
70
+ {
71
+ "anonymous": false,
72
+ "inputs": [
73
+ {
74
+ "indexed": true,
75
+ "internalType": "address",
76
+ "name": "caller",
77
+ "type": "address"
78
+ },
79
+ {
80
+ "indexed": true,
81
+ "internalType": "address",
82
+ "name": "owner",
83
+ "type": "address"
84
+ },
85
+ {
86
+ "indexed": false,
87
+ "internalType": "uint256",
88
+ "name": "assets",
89
+ "type": "uint256"
90
+ },
91
+ {
92
+ "indexed": false,
93
+ "internalType": "uint256",
94
+ "name": "shares",
95
+ "type": "uint256"
96
+ },
97
+ {
98
+ "indexed": false,
99
+ "internalType": "string",
100
+ "name": "referralId",
101
+ "type": "string"
102
+ }
103
+ ],
104
+ "name": "DepositReferral",
105
+ "type": "event"
106
+ },
107
+ {
108
+ "anonymous": false,
109
+ "inputs": [
110
+ {
111
+ "indexed": true,
112
+ "internalType": "address",
113
+ "name": "caller",
114
+ "type": "address"
115
+ },
116
+ {
117
+ "indexed": true,
118
+ "internalType": "address",
119
+ "name": "owner",
120
+ "type": "address"
121
+ },
122
+ {
123
+ "indexed": false,
124
+ "internalType": "uint256",
125
+ "name": "assets",
126
+ "type": "uint256"
127
+ },
128
+ {
129
+ "indexed": false,
130
+ "internalType": "uint256",
131
+ "name": "shares",
132
+ "type": "uint256"
133
+ }
134
+ ],
135
+ "name": "Deposited",
136
+ "type": "event"
137
+ },
138
+ {
139
+ "anonymous": false,
140
+ "inputs": [
141
+ {
142
+ "indexed": true,
143
+ "internalType": "uint256",
144
+ "name": "poolId",
145
+ "type": "uint256"
146
+ },
147
+ {
148
+ "indexed": false,
149
+ "internalType": "address",
150
+ "name": "poolAddress",
151
+ "type": "address"
152
+ },
153
+ {
154
+ "indexed": false,
155
+ "internalType": "uint256",
156
+ "name": "validatorCount",
157
+ "type": "uint256"
158
+ }
159
+ ],
160
+ "name": "ETHTransferredToPool",
161
+ "type": "event"
162
+ },
163
+ {
164
+ "anonymous": false,
165
+ "inputs": [
166
+ {
167
+ "indexed": false,
168
+ "internalType": "uint256",
169
+ "name": "amount",
170
+ "type": "uint256"
171
+ }
172
+ ],
173
+ "name": "ExecutionLayerRewardsReceived",
174
+ "type": "event"
175
+ },
176
+ {
177
+ "anonymous": false,
178
+ "inputs": [
179
+ {
180
+ "indexed": false,
181
+ "internalType": "uint8",
182
+ "name": "version",
183
+ "type": "uint8"
184
+ }
185
+ ],
186
+ "name": "Initialized",
187
+ "type": "event"
188
+ },
189
+ {
190
+ "anonymous": false,
191
+ "inputs": [
192
+ {
193
+ "indexed": false,
194
+ "internalType": "address",
195
+ "name": "account",
196
+ "type": "address"
197
+ }
198
+ ],
199
+ "name": "Paused",
200
+ "type": "event"
201
+ },
202
+ {
203
+ "anonymous": false,
204
+ "inputs": [
205
+ {
206
+ "indexed": true,
207
+ "internalType": "uint8",
208
+ "name": "poolId",
209
+ "type": "uint8"
210
+ }
211
+ ],
212
+ "name": "ReceivedExcessEthFromPool",
213
+ "type": "event"
214
+ },
215
+ {
216
+ "anonymous": false,
217
+ "inputs": [
218
+ {
219
+ "indexed": true,
220
+ "internalType": "bytes32",
221
+ "name": "role",
222
+ "type": "bytes32"
223
+ },
224
+ {
225
+ "indexed": true,
226
+ "internalType": "bytes32",
227
+ "name": "previousAdminRole",
228
+ "type": "bytes32"
229
+ },
230
+ {
231
+ "indexed": true,
232
+ "internalType": "bytes32",
233
+ "name": "newAdminRole",
234
+ "type": "bytes32"
235
+ }
236
+ ],
237
+ "name": "RoleAdminChanged",
238
+ "type": "event"
239
+ },
240
+ {
241
+ "anonymous": false,
242
+ "inputs": [
243
+ {
244
+ "indexed": true,
245
+ "internalType": "bytes32",
246
+ "name": "role",
247
+ "type": "bytes32"
248
+ },
249
+ {
250
+ "indexed": true,
251
+ "internalType": "address",
252
+ "name": "account",
253
+ "type": "address"
254
+ },
255
+ {
256
+ "indexed": true,
257
+ "internalType": "address",
258
+ "name": "sender",
259
+ "type": "address"
260
+ }
261
+ ],
262
+ "name": "RoleGranted",
263
+ "type": "event"
264
+ },
265
+ {
266
+ "anonymous": false,
267
+ "inputs": [
268
+ {
269
+ "indexed": true,
270
+ "internalType": "bytes32",
271
+ "name": "role",
272
+ "type": "bytes32"
273
+ },
274
+ {
275
+ "indexed": true,
276
+ "internalType": "address",
277
+ "name": "account",
278
+ "type": "address"
279
+ },
280
+ {
281
+ "indexed": true,
282
+ "internalType": "address",
283
+ "name": "sender",
284
+ "type": "address"
285
+ }
286
+ ],
287
+ "name": "RoleRevoked",
288
+ "type": "event"
289
+ },
290
+ {
291
+ "anonymous": false,
292
+ "inputs": [
293
+ {
294
+ "indexed": false,
295
+ "internalType": "uint256",
296
+ "name": "amount",
297
+ "type": "uint256"
298
+ }
299
+ ],
300
+ "name": "TransferredETHToUserWithdrawManager",
301
+ "type": "event"
302
+ },
303
+ {
304
+ "anonymous": false,
305
+ "inputs": [
306
+ {
307
+ "indexed": false,
308
+ "internalType": "address",
309
+ "name": "account",
310
+ "type": "address"
311
+ }
312
+ ],
313
+ "name": "Unpaused",
314
+ "type": "event"
315
+ },
316
+ {
317
+ "anonymous": false,
318
+ "inputs": [
319
+ {
320
+ "indexed": false,
321
+ "internalType": "uint256",
322
+ "name": "excessETHDepositCoolDown",
323
+ "type": "uint256"
324
+ }
325
+ ],
326
+ "name": "UpdatedExcessETHDepositCoolDown",
327
+ "type": "event"
328
+ },
329
+ {
330
+ "anonymous": false,
331
+ "inputs": [
332
+ {
333
+ "indexed": false,
334
+ "internalType": "address",
335
+ "name": "staderConfig",
336
+ "type": "address"
337
+ }
338
+ ],
339
+ "name": "UpdatedStaderConfig",
340
+ "type": "event"
341
+ },
342
+ {
343
+ "anonymous": false,
344
+ "inputs": [
345
+ {
346
+ "indexed": false,
347
+ "internalType": "uint256",
348
+ "name": "amount",
349
+ "type": "uint256"
350
+ }
351
+ ],
352
+ "name": "WithdrawVaultUserShareReceived",
353
+ "type": "event"
354
+ },
355
+ {
356
+ "stateMutability": "payable",
357
+ "type": "fallback"
358
+ },
359
+ {
360
+ "inputs": [],
361
+ "name": "DEFAULT_ADMIN_ROLE",
362
+ "outputs": [
363
+ {
364
+ "internalType": "bytes32",
365
+ "name": "",
366
+ "type": "bytes32"
367
+ }
368
+ ],
369
+ "stateMutability": "view",
370
+ "type": "function"
371
+ },
372
+ {
373
+ "inputs": [
374
+ {
375
+ "internalType": "uint256",
376
+ "name": "_shares",
377
+ "type": "uint256"
378
+ }
379
+ ],
380
+ "name": "convertToAssets",
381
+ "outputs": [
382
+ {
383
+ "internalType": "uint256",
384
+ "name": "",
385
+ "type": "uint256"
386
+ }
387
+ ],
388
+ "stateMutability": "view",
389
+ "type": "function"
390
+ },
391
+ {
392
+ "inputs": [
393
+ {
394
+ "internalType": "uint256",
395
+ "name": "_assets",
396
+ "type": "uint256"
397
+ }
398
+ ],
399
+ "name": "convertToShares",
400
+ "outputs": [
401
+ {
402
+ "internalType": "uint256",
403
+ "name": "",
404
+ "type": "uint256"
405
+ }
406
+ ],
407
+ "stateMutability": "view",
408
+ "type": "function"
409
+ },
410
+ {
411
+ "inputs": [
412
+ {
413
+ "internalType": "address",
414
+ "name": "_receiver",
415
+ "type": "address"
416
+ }
417
+ ],
418
+ "name": "deposit",
419
+ "outputs": [
420
+ {
421
+ "internalType": "uint256",
422
+ "name": "",
423
+ "type": "uint256"
424
+ }
425
+ ],
426
+ "stateMutability": "payable",
427
+ "type": "function"
428
+ },
429
+ {
430
+ "inputs": [],
431
+ "name": "depositETHOverTargetWeight",
432
+ "outputs": [],
433
+ "stateMutability": "nonpayable",
434
+ "type": "function"
435
+ },
436
+ {
437
+ "inputs": [],
438
+ "name": "excessETHDepositCoolDown",
439
+ "outputs": [
440
+ {
441
+ "internalType": "uint256",
442
+ "name": "",
443
+ "type": "uint256"
444
+ }
445
+ ],
446
+ "stateMutability": "view",
447
+ "type": "function"
448
+ },
449
+ {
450
+ "inputs": [],
451
+ "name": "getExchangeRate",
452
+ "outputs": [
453
+ {
454
+ "internalType": "uint256",
455
+ "name": "",
456
+ "type": "uint256"
457
+ }
458
+ ],
459
+ "stateMutability": "view",
460
+ "type": "function"
461
+ },
462
+ {
463
+ "inputs": [
464
+ {
465
+ "internalType": "bytes32",
466
+ "name": "role",
467
+ "type": "bytes32"
468
+ }
469
+ ],
470
+ "name": "getRoleAdmin",
471
+ "outputs": [
472
+ {
473
+ "internalType": "bytes32",
474
+ "name": "",
475
+ "type": "bytes32"
476
+ }
477
+ ],
478
+ "stateMutability": "view",
479
+ "type": "function"
480
+ },
481
+ {
482
+ "inputs": [
483
+ {
484
+ "internalType": "bytes32",
485
+ "name": "role",
486
+ "type": "bytes32"
487
+ },
488
+ {
489
+ "internalType": "address",
490
+ "name": "account",
491
+ "type": "address"
492
+ }
493
+ ],
494
+ "name": "grantRole",
495
+ "outputs": [],
496
+ "stateMutability": "nonpayable",
497
+ "type": "function"
498
+ },
499
+ {
500
+ "inputs": [
501
+ {
502
+ "internalType": "bytes32",
503
+ "name": "role",
504
+ "type": "bytes32"
505
+ },
506
+ {
507
+ "internalType": "address",
508
+ "name": "account",
509
+ "type": "address"
510
+ }
511
+ ],
512
+ "name": "hasRole",
513
+ "outputs": [
514
+ {
515
+ "internalType": "bool",
516
+ "name": "",
517
+ "type": "bool"
518
+ }
519
+ ],
520
+ "stateMutability": "view",
521
+ "type": "function"
522
+ },
523
+ {
524
+ "inputs": [
525
+ {
526
+ "internalType": "address",
527
+ "name": "_admin",
528
+ "type": "address"
529
+ },
530
+ {
531
+ "internalType": "address",
532
+ "name": "_staderConfig",
533
+ "type": "address"
534
+ }
535
+ ],
536
+ "name": "initialize",
537
+ "outputs": [],
538
+ "stateMutability": "nonpayable",
539
+ "type": "function"
540
+ },
541
+ {
542
+ "inputs": [],
543
+ "name": "isVaultHealthy",
544
+ "outputs": [
545
+ {
546
+ "internalType": "bool",
547
+ "name": "",
548
+ "type": "bool"
549
+ }
550
+ ],
551
+ "stateMutability": "view",
552
+ "type": "function"
553
+ },
554
+ {
555
+ "inputs": [],
556
+ "name": "lastExcessETHDepositBlock",
557
+ "outputs": [
558
+ {
559
+ "internalType": "uint256",
560
+ "name": "",
561
+ "type": "uint256"
562
+ }
563
+ ],
564
+ "stateMutability": "view",
565
+ "type": "function"
566
+ },
567
+ {
568
+ "inputs": [],
569
+ "name": "maxDeposit",
570
+ "outputs": [
571
+ {
572
+ "internalType": "uint256",
573
+ "name": "",
574
+ "type": "uint256"
575
+ }
576
+ ],
577
+ "stateMutability": "view",
578
+ "type": "function"
579
+ },
580
+ {
581
+ "inputs": [],
582
+ "name": "minDeposit",
583
+ "outputs": [
584
+ {
585
+ "internalType": "uint256",
586
+ "name": "",
587
+ "type": "uint256"
588
+ }
589
+ ],
590
+ "stateMutability": "view",
591
+ "type": "function"
592
+ },
593
+ {
594
+ "inputs": [],
595
+ "name": "pause",
596
+ "outputs": [],
597
+ "stateMutability": "nonpayable",
598
+ "type": "function"
599
+ },
600
+ {
601
+ "inputs": [],
602
+ "name": "paused",
603
+ "outputs": [
604
+ {
605
+ "internalType": "bool",
606
+ "name": "",
607
+ "type": "bool"
608
+ }
609
+ ],
610
+ "stateMutability": "view",
611
+ "type": "function"
612
+ },
613
+ {
614
+ "inputs": [
615
+ {
616
+ "internalType": "uint256",
617
+ "name": "_assets",
618
+ "type": "uint256"
619
+ }
620
+ ],
621
+ "name": "previewDeposit",
622
+ "outputs": [
623
+ {
624
+ "internalType": "uint256",
625
+ "name": "",
626
+ "type": "uint256"
627
+ }
628
+ ],
629
+ "stateMutability": "view",
630
+ "type": "function"
631
+ },
632
+ {
633
+ "inputs": [
634
+ {
635
+ "internalType": "uint256",
636
+ "name": "_shares",
637
+ "type": "uint256"
638
+ }
639
+ ],
640
+ "name": "previewWithdraw",
641
+ "outputs": [
642
+ {
643
+ "internalType": "uint256",
644
+ "name": "",
645
+ "type": "uint256"
646
+ }
647
+ ],
648
+ "stateMutability": "view",
649
+ "type": "function"
650
+ },
651
+ {
652
+ "inputs": [],
653
+ "name": "receiveEthFromAuction",
654
+ "outputs": [],
655
+ "stateMutability": "payable",
656
+ "type": "function"
657
+ },
658
+ {
659
+ "inputs": [
660
+ {
661
+ "internalType": "uint8",
662
+ "name": "_poolId",
663
+ "type": "uint8"
664
+ }
665
+ ],
666
+ "name": "receiveExcessEthFromPool",
667
+ "outputs": [],
668
+ "stateMutability": "payable",
669
+ "type": "function"
670
+ },
671
+ {
672
+ "inputs": [],
673
+ "name": "receiveExecutionLayerRewards",
674
+ "outputs": [],
675
+ "stateMutability": "payable",
676
+ "type": "function"
677
+ },
678
+ {
679
+ "inputs": [],
680
+ "name": "receiveWithdrawVaultUserShare",
681
+ "outputs": [],
682
+ "stateMutability": "payable",
683
+ "type": "function"
684
+ },
685
+ {
686
+ "inputs": [
687
+ {
688
+ "internalType": "bytes32",
689
+ "name": "role",
690
+ "type": "bytes32"
691
+ },
692
+ {
693
+ "internalType": "address",
694
+ "name": "account",
695
+ "type": "address"
696
+ }
697
+ ],
698
+ "name": "renounceRole",
699
+ "outputs": [],
700
+ "stateMutability": "nonpayable",
701
+ "type": "function"
702
+ },
703
+ {
704
+ "inputs": [
705
+ {
706
+ "internalType": "bytes32",
707
+ "name": "role",
708
+ "type": "bytes32"
709
+ },
710
+ {
711
+ "internalType": "address",
712
+ "name": "account",
713
+ "type": "address"
714
+ }
715
+ ],
716
+ "name": "revokeRole",
717
+ "outputs": [],
718
+ "stateMutability": "nonpayable",
719
+ "type": "function"
720
+ },
721
+ {
722
+ "inputs": [],
723
+ "name": "staderConfig",
724
+ "outputs": [
725
+ {
726
+ "internalType": "contract IStaderConfig",
727
+ "name": "",
728
+ "type": "address"
729
+ }
730
+ ],
731
+ "stateMutability": "view",
732
+ "type": "function"
733
+ },
734
+ {
735
+ "inputs": [
736
+ {
737
+ "internalType": "bytes4",
738
+ "name": "interfaceId",
739
+ "type": "bytes4"
740
+ }
741
+ ],
742
+ "name": "supportsInterface",
743
+ "outputs": [
744
+ {
745
+ "internalType": "bool",
746
+ "name": "",
747
+ "type": "bool"
748
+ }
749
+ ],
750
+ "stateMutability": "view",
751
+ "type": "function"
752
+ },
753
+ {
754
+ "inputs": [],
755
+ "name": "totalAssets",
756
+ "outputs": [
757
+ {
758
+ "internalType": "uint256",
759
+ "name": "",
760
+ "type": "uint256"
761
+ }
762
+ ],
763
+ "stateMutability": "view",
764
+ "type": "function"
765
+ },
766
+ {
767
+ "inputs": [
768
+ {
769
+ "internalType": "uint256",
770
+ "name": "_amount",
771
+ "type": "uint256"
772
+ }
773
+ ],
774
+ "name": "transferETHToUserWithdrawManager",
775
+ "outputs": [],
776
+ "stateMutability": "nonpayable",
777
+ "type": "function"
778
+ },
779
+ {
780
+ "inputs": [],
781
+ "name": "unpause",
782
+ "outputs": [],
783
+ "stateMutability": "nonpayable",
784
+ "type": "function"
785
+ },
786
+ {
787
+ "inputs": [
788
+ {
789
+ "internalType": "uint256",
790
+ "name": "_excessETHDepositCoolDown",
791
+ "type": "uint256"
792
+ }
793
+ ],
794
+ "name": "updateExcessETHDepositCoolDown",
795
+ "outputs": [],
796
+ "stateMutability": "nonpayable",
797
+ "type": "function"
798
+ },
799
+ {
800
+ "inputs": [
801
+ {
802
+ "internalType": "address",
803
+ "name": "_staderConfig",
804
+ "type": "address"
805
+ }
806
+ ],
807
+ "name": "updateStaderConfig",
808
+ "outputs": [],
809
+ "stateMutability": "nonpayable",
810
+ "type": "function"
811
+ },
812
+ {
813
+ "inputs": [
814
+ {
815
+ "internalType": "uint8",
816
+ "name": "_poolId",
817
+ "type": "uint8"
818
+ }
819
+ ],
820
+ "name": "validatorBatchDeposit",
821
+ "outputs": [],
822
+ "stateMutability": "nonpayable",
823
+ "type": "function"
824
+ },
825
+ {
826
+ "stateMutability": "payable",
827
+ "type": "receive"
828
+ }
829
+ ]