@paraswap/dex-lib 2.50.7 → 2.50.8-swell-rsweth.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1142 @@
1
+ [
2
+ {
3
+ "inputs": [],
4
+ "stateMutability": "nonpayable",
5
+ "type": "constructor"
6
+ },
7
+ {
8
+ "inputs": [
9
+ {
10
+ "internalType": "address",
11
+ "name": "_address",
12
+ "type": "address"
13
+ }
14
+ ],
15
+ "name": "AddressAlreadyInWhitelist",
16
+ "type": "error"
17
+ },
18
+ {
19
+ "inputs": [
20
+ {
21
+ "internalType": "address",
22
+ "name": "_address",
23
+ "type": "address"
24
+ }
25
+ ],
26
+ "name": "AddressMissingFromWhitelist",
27
+ "type": "error"
28
+ },
29
+ {
30
+ "inputs": [],
31
+ "name": "CannotBeZeroAddress",
32
+ "type": "error"
33
+ },
34
+ {
35
+ "inputs": [],
36
+ "name": "CannotBurnZeroRswETH",
37
+ "type": "error"
38
+ },
39
+ {
40
+ "inputs": [],
41
+ "name": "CannotReferSelf",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [],
46
+ "name": "CannotRepriceWithZeroRswETHSupply",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [],
51
+ "name": "CoreMethodsPaused",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [],
56
+ "name": "InvalidETHDeposit",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [],
61
+ "name": "InvalidMethodCall",
62
+ "type": "error"
63
+ },
64
+ {
65
+ "inputs": [],
66
+ "name": "InvalidPreRewardETHReserves",
67
+ "type": "error"
68
+ },
69
+ {
70
+ "inputs": [],
71
+ "name": "NoTokensToWithdraw",
72
+ "type": "error"
73
+ },
74
+ {
75
+ "inputs": [
76
+ {
77
+ "internalType": "uint256",
78
+ "name": "remainingTime",
79
+ "type": "uint256"
80
+ }
81
+ ],
82
+ "name": "NotEnoughTimeElapsedForReprice",
83
+ "type": "error"
84
+ },
85
+ {
86
+ "inputs": [],
87
+ "name": "NotInWhitelist",
88
+ "type": "error"
89
+ },
90
+ {
91
+ "inputs": [],
92
+ "name": "OnlyDepositManager",
93
+ "type": "error"
94
+ },
95
+ {
96
+ "inputs": [
97
+ {
98
+ "internalType": "uint256",
99
+ "name": "x",
100
+ "type": "uint256"
101
+ },
102
+ {
103
+ "internalType": "uint256",
104
+ "name": "y",
105
+ "type": "uint256"
106
+ }
107
+ ],
108
+ "name": "PRBMath_MulDiv18_Overflow",
109
+ "type": "error"
110
+ },
111
+ {
112
+ "inputs": [
113
+ {
114
+ "internalType": "uint256",
115
+ "name": "x",
116
+ "type": "uint256"
117
+ },
118
+ {
119
+ "internalType": "uint256",
120
+ "name": "y",
121
+ "type": "uint256"
122
+ },
123
+ {
124
+ "internalType": "uint256",
125
+ "name": "denominator",
126
+ "type": "uint256"
127
+ }
128
+ ],
129
+ "name": "PRBMath_MulDiv_Overflow",
130
+ "type": "error"
131
+ },
132
+ {
133
+ "inputs": [
134
+ {
135
+ "internalType": "uint256",
136
+ "name": "repriceDiff",
137
+ "type": "uint256"
138
+ },
139
+ {
140
+ "internalType": "uint256",
141
+ "name": "maximumRepriceDiff",
142
+ "type": "uint256"
143
+ }
144
+ ],
145
+ "name": "RepriceDifferenceTooLarge",
146
+ "type": "error"
147
+ },
148
+ {
149
+ "inputs": [
150
+ {
151
+ "internalType": "uint256",
152
+ "name": "repriceRswETHDiff",
153
+ "type": "uint256"
154
+ },
155
+ {
156
+ "internalType": "uint256",
157
+ "name": "maximumRswETHRepriceDiff",
158
+ "type": "uint256"
159
+ }
160
+ ],
161
+ "name": "RepriceRswETHDifferenceTooLarge",
162
+ "type": "error"
163
+ },
164
+ {
165
+ "inputs": [],
166
+ "name": "RewardPercentageTotalOverflow",
167
+ "type": "error"
168
+ },
169
+ {
170
+ "inputs": [],
171
+ "name": "WhitelistAlreadyDisabled",
172
+ "type": "error"
173
+ },
174
+ {
175
+ "inputs": [],
176
+ "name": "WhitelistAlreadyEnabled",
177
+ "type": "error"
178
+ },
179
+ {
180
+ "anonymous": false,
181
+ "inputs": [
182
+ {
183
+ "indexed": true,
184
+ "internalType": "address",
185
+ "name": "_address",
186
+ "type": "address"
187
+ }
188
+ ],
189
+ "name": "AddedToWhitelist",
190
+ "type": "event"
191
+ },
192
+ {
193
+ "anonymous": false,
194
+ "inputs": [
195
+ {
196
+ "indexed": true,
197
+ "internalType": "address",
198
+ "name": "owner",
199
+ "type": "address"
200
+ },
201
+ {
202
+ "indexed": true,
203
+ "internalType": "address",
204
+ "name": "spender",
205
+ "type": "address"
206
+ },
207
+ {
208
+ "indexed": false,
209
+ "internalType": "uint256",
210
+ "name": "value",
211
+ "type": "uint256"
212
+ }
213
+ ],
214
+ "name": "Approval",
215
+ "type": "event"
216
+ },
217
+ {
218
+ "anonymous": false,
219
+ "inputs": [
220
+ {
221
+ "indexed": false,
222
+ "internalType": "address",
223
+ "name": "_receiver",
224
+ "type": "address"
225
+ },
226
+ {
227
+ "indexed": false,
228
+ "internalType": "uint256",
229
+ "name": "_ethSpent",
230
+ "type": "uint256"
231
+ },
232
+ {
233
+ "indexed": false,
234
+ "internalType": "uint256",
235
+ "name": "_rswETHReceived",
236
+ "type": "uint256"
237
+ }
238
+ ],
239
+ "name": "DepoistManagerDeposit",
240
+ "type": "event"
241
+ },
242
+ {
243
+ "anonymous": false,
244
+ "inputs": [
245
+ {
246
+ "indexed": true,
247
+ "internalType": "address",
248
+ "name": "from",
249
+ "type": "address"
250
+ },
251
+ {
252
+ "indexed": false,
253
+ "internalType": "uint256",
254
+ "name": "amount",
255
+ "type": "uint256"
256
+ },
257
+ {
258
+ "indexed": false,
259
+ "internalType": "uint256",
260
+ "name": "rswETHMinted",
261
+ "type": "uint256"
262
+ },
263
+ {
264
+ "indexed": false,
265
+ "internalType": "uint256",
266
+ "name": "newTotalETHDeposited",
267
+ "type": "uint256"
268
+ },
269
+ {
270
+ "indexed": true,
271
+ "internalType": "address",
272
+ "name": "referral",
273
+ "type": "address"
274
+ }
275
+ ],
276
+ "name": "ETHDepositReceived",
277
+ "type": "event"
278
+ },
279
+ {
280
+ "anonymous": false,
281
+ "inputs": [
282
+ {
283
+ "indexed": true,
284
+ "internalType": "address",
285
+ "name": "to",
286
+ "type": "address"
287
+ },
288
+ {
289
+ "indexed": false,
290
+ "internalType": "uint256",
291
+ "name": "rswETHBurned",
292
+ "type": "uint256"
293
+ },
294
+ {
295
+ "indexed": false,
296
+ "internalType": "uint256",
297
+ "name": "ethReturned",
298
+ "type": "uint256"
299
+ }
300
+ ],
301
+ "name": "ETHWithdrawn",
302
+ "type": "event"
303
+ },
304
+ {
305
+ "anonymous": false,
306
+ "inputs": [
307
+ {
308
+ "indexed": false,
309
+ "internalType": "uint8",
310
+ "name": "version",
311
+ "type": "uint8"
312
+ }
313
+ ],
314
+ "name": "Initialized",
315
+ "type": "event"
316
+ },
317
+ {
318
+ "anonymous": false,
319
+ "inputs": [
320
+ {
321
+ "indexed": false,
322
+ "internalType": "uint256",
323
+ "name": "_oldMaximumRepriceDifferencePercentage",
324
+ "type": "uint256"
325
+ },
326
+ {
327
+ "indexed": false,
328
+ "internalType": "uint256",
329
+ "name": "_newMaximumRepriceDifferencePercentage",
330
+ "type": "uint256"
331
+ }
332
+ ],
333
+ "name": "MaximumRepriceDifferencePercentageUpdated",
334
+ "type": "event"
335
+ },
336
+ {
337
+ "anonymous": false,
338
+ "inputs": [
339
+ {
340
+ "indexed": false,
341
+ "internalType": "uint256",
342
+ "name": "_oldMaximumRepriceRswETHDifferencePercentage",
343
+ "type": "uint256"
344
+ },
345
+ {
346
+ "indexed": false,
347
+ "internalType": "uint256",
348
+ "name": "_newMaximumRepriceRswETHDifferencePercentage",
349
+ "type": "uint256"
350
+ }
351
+ ],
352
+ "name": "MaximumRepriceRswETHDifferencePercentageUpdated",
353
+ "type": "event"
354
+ },
355
+ {
356
+ "anonymous": false,
357
+ "inputs": [
358
+ {
359
+ "indexed": false,
360
+ "internalType": "uint256",
361
+ "name": "_oldMinimumRepriceTime",
362
+ "type": "uint256"
363
+ },
364
+ {
365
+ "indexed": false,
366
+ "internalType": "uint256",
367
+ "name": "_newMinimumRepriceTime",
368
+ "type": "uint256"
369
+ }
370
+ ],
371
+ "name": "MinimumRepriceTimeUpdated",
372
+ "type": "event"
373
+ },
374
+ {
375
+ "anonymous": false,
376
+ "inputs": [
377
+ {
378
+ "indexed": false,
379
+ "internalType": "uint256",
380
+ "name": "oldPercentage",
381
+ "type": "uint256"
382
+ },
383
+ {
384
+ "indexed": false,
385
+ "internalType": "uint256",
386
+ "name": "newPercentage",
387
+ "type": "uint256"
388
+ }
389
+ ],
390
+ "name": "NodeOperatorRewardPercentageUpdate",
391
+ "type": "event"
392
+ },
393
+ {
394
+ "anonymous": false,
395
+ "inputs": [
396
+ {
397
+ "indexed": true,
398
+ "internalType": "address",
399
+ "name": "_address",
400
+ "type": "address"
401
+ }
402
+ ],
403
+ "name": "RemovedFromWhitelist",
404
+ "type": "event"
405
+ },
406
+ {
407
+ "anonymous": false,
408
+ "inputs": [
409
+ {
410
+ "indexed": false,
411
+ "internalType": "uint256",
412
+ "name": "newEthReserves",
413
+ "type": "uint256"
414
+ },
415
+ {
416
+ "indexed": false,
417
+ "internalType": "uint256",
418
+ "name": "newRswETHToETHRate",
419
+ "type": "uint256"
420
+ },
421
+ {
422
+ "indexed": false,
423
+ "internalType": "uint256",
424
+ "name": "nodeOperatorRewards",
425
+ "type": "uint256"
426
+ },
427
+ {
428
+ "indexed": false,
429
+ "internalType": "uint256",
430
+ "name": "swellTreasuryRewards",
431
+ "type": "uint256"
432
+ },
433
+ {
434
+ "indexed": false,
435
+ "internalType": "uint256",
436
+ "name": "totalETHDeposited",
437
+ "type": "uint256"
438
+ }
439
+ ],
440
+ "name": "Reprice",
441
+ "type": "event"
442
+ },
443
+ {
444
+ "anonymous": false,
445
+ "inputs": [
446
+ {
447
+ "indexed": false,
448
+ "internalType": "uint256",
449
+ "name": "oldPercentage",
450
+ "type": "uint256"
451
+ },
452
+ {
453
+ "indexed": false,
454
+ "internalType": "uint256",
455
+ "name": "newPercentage",
456
+ "type": "uint256"
457
+ }
458
+ ],
459
+ "name": "SwellTreasuryRewardPercentageUpdate",
460
+ "type": "event"
461
+ },
462
+ {
463
+ "anonymous": false,
464
+ "inputs": [
465
+ {
466
+ "indexed": true,
467
+ "internalType": "address",
468
+ "name": "from",
469
+ "type": "address"
470
+ },
471
+ {
472
+ "indexed": true,
473
+ "internalType": "address",
474
+ "name": "to",
475
+ "type": "address"
476
+ },
477
+ {
478
+ "indexed": false,
479
+ "internalType": "uint256",
480
+ "name": "value",
481
+ "type": "uint256"
482
+ }
483
+ ],
484
+ "name": "Transfer",
485
+ "type": "event"
486
+ },
487
+ {
488
+ "anonymous": false,
489
+ "inputs": [],
490
+ "name": "WhitelistDisabled",
491
+ "type": "event"
492
+ },
493
+ {
494
+ "anonymous": false,
495
+ "inputs": [],
496
+ "name": "WhitelistEnabled",
497
+ "type": "event"
498
+ },
499
+ {
500
+ "stateMutability": "nonpayable",
501
+ "type": "fallback"
502
+ },
503
+ {
504
+ "inputs": [],
505
+ "name": "AccessControlManager",
506
+ "outputs": [
507
+ {
508
+ "internalType": "contract IAccessControlManager",
509
+ "name": "",
510
+ "type": "address"
511
+ }
512
+ ],
513
+ "stateMutability": "view",
514
+ "type": "function"
515
+ },
516
+ {
517
+ "inputs": [
518
+ {
519
+ "internalType": "address",
520
+ "name": "_address",
521
+ "type": "address"
522
+ }
523
+ ],
524
+ "name": "addToWhitelist",
525
+ "outputs": [],
526
+ "stateMutability": "nonpayable",
527
+ "type": "function"
528
+ },
529
+ {
530
+ "inputs": [
531
+ {
532
+ "internalType": "address",
533
+ "name": "owner",
534
+ "type": "address"
535
+ },
536
+ {
537
+ "internalType": "address",
538
+ "name": "spender",
539
+ "type": "address"
540
+ }
541
+ ],
542
+ "name": "allowance",
543
+ "outputs": [
544
+ {
545
+ "internalType": "uint256",
546
+ "name": "",
547
+ "type": "uint256"
548
+ }
549
+ ],
550
+ "stateMutability": "view",
551
+ "type": "function"
552
+ },
553
+ {
554
+ "inputs": [
555
+ {
556
+ "internalType": "address",
557
+ "name": "spender",
558
+ "type": "address"
559
+ },
560
+ {
561
+ "internalType": "uint256",
562
+ "name": "amount",
563
+ "type": "uint256"
564
+ }
565
+ ],
566
+ "name": "approve",
567
+ "outputs": [
568
+ {
569
+ "internalType": "bool",
570
+ "name": "",
571
+ "type": "bool"
572
+ }
573
+ ],
574
+ "stateMutability": "nonpayable",
575
+ "type": "function"
576
+ },
577
+ {
578
+ "inputs": [
579
+ {
580
+ "internalType": "address",
581
+ "name": "account",
582
+ "type": "address"
583
+ }
584
+ ],
585
+ "name": "balanceOf",
586
+ "outputs": [
587
+ {
588
+ "internalType": "uint256",
589
+ "name": "",
590
+ "type": "uint256"
591
+ }
592
+ ],
593
+ "stateMutability": "view",
594
+ "type": "function"
595
+ },
596
+ {
597
+ "inputs": [
598
+ {
599
+ "internalType": "address[]",
600
+ "name": "_addresses",
601
+ "type": "address[]"
602
+ }
603
+ ],
604
+ "name": "batchAddToWhitelist",
605
+ "outputs": [],
606
+ "stateMutability": "nonpayable",
607
+ "type": "function"
608
+ },
609
+ {
610
+ "inputs": [
611
+ {
612
+ "internalType": "address[]",
613
+ "name": "_addresses",
614
+ "type": "address[]"
615
+ }
616
+ ],
617
+ "name": "batchRemoveFromWhitelist",
618
+ "outputs": [],
619
+ "stateMutability": "nonpayable",
620
+ "type": "function"
621
+ },
622
+ {
623
+ "inputs": [
624
+ {
625
+ "internalType": "uint256",
626
+ "name": "amount",
627
+ "type": "uint256"
628
+ }
629
+ ],
630
+ "name": "burn",
631
+ "outputs": [],
632
+ "stateMutability": "nonpayable",
633
+ "type": "function"
634
+ },
635
+ {
636
+ "inputs": [],
637
+ "name": "decimals",
638
+ "outputs": [
639
+ {
640
+ "internalType": "uint8",
641
+ "name": "",
642
+ "type": "uint8"
643
+ }
644
+ ],
645
+ "stateMutability": "view",
646
+ "type": "function"
647
+ },
648
+ {
649
+ "inputs": [
650
+ {
651
+ "internalType": "address",
652
+ "name": "spender",
653
+ "type": "address"
654
+ },
655
+ {
656
+ "internalType": "uint256",
657
+ "name": "subtractedValue",
658
+ "type": "uint256"
659
+ }
660
+ ],
661
+ "name": "decreaseAllowance",
662
+ "outputs": [
663
+ {
664
+ "internalType": "bool",
665
+ "name": "",
666
+ "type": "bool"
667
+ }
668
+ ],
669
+ "stateMutability": "nonpayable",
670
+ "type": "function"
671
+ },
672
+ {
673
+ "inputs": [],
674
+ "name": "deposit",
675
+ "outputs": [],
676
+ "stateMutability": "payable",
677
+ "type": "function"
678
+ },
679
+ {
680
+ "inputs": [
681
+ {
682
+ "internalType": "uint256",
683
+ "name": "_amount",
684
+ "type": "uint256"
685
+ },
686
+ {
687
+ "internalType": "address",
688
+ "name": "_to",
689
+ "type": "address"
690
+ }
691
+ ],
692
+ "name": "depositViaDepositManager",
693
+ "outputs": [],
694
+ "stateMutability": "nonpayable",
695
+ "type": "function"
696
+ },
697
+ {
698
+ "inputs": [
699
+ {
700
+ "internalType": "address",
701
+ "name": "referral",
702
+ "type": "address"
703
+ }
704
+ ],
705
+ "name": "depositWithReferral",
706
+ "outputs": [],
707
+ "stateMutability": "payable",
708
+ "type": "function"
709
+ },
710
+ {
711
+ "inputs": [],
712
+ "name": "disableWhitelist",
713
+ "outputs": [],
714
+ "stateMutability": "nonpayable",
715
+ "type": "function"
716
+ },
717
+ {
718
+ "inputs": [],
719
+ "name": "enableWhitelist",
720
+ "outputs": [],
721
+ "stateMutability": "nonpayable",
722
+ "type": "function"
723
+ },
724
+ {
725
+ "inputs": [],
726
+ "name": "ethToRswETHRate",
727
+ "outputs": [
728
+ {
729
+ "internalType": "uint256",
730
+ "name": "",
731
+ "type": "uint256"
732
+ }
733
+ ],
734
+ "stateMutability": "view",
735
+ "type": "function"
736
+ },
737
+ {
738
+ "inputs": [],
739
+ "name": "getRate",
740
+ "outputs": [
741
+ {
742
+ "internalType": "uint256",
743
+ "name": "",
744
+ "type": "uint256"
745
+ }
746
+ ],
747
+ "stateMutability": "view",
748
+ "type": "function"
749
+ },
750
+ {
751
+ "inputs": [
752
+ {
753
+ "internalType": "address",
754
+ "name": "spender",
755
+ "type": "address"
756
+ },
757
+ {
758
+ "internalType": "uint256",
759
+ "name": "addedValue",
760
+ "type": "uint256"
761
+ }
762
+ ],
763
+ "name": "increaseAllowance",
764
+ "outputs": [
765
+ {
766
+ "internalType": "bool",
767
+ "name": "",
768
+ "type": "bool"
769
+ }
770
+ ],
771
+ "stateMutability": "nonpayable",
772
+ "type": "function"
773
+ },
774
+ {
775
+ "inputs": [
776
+ {
777
+ "internalType": "contract IAccessControlManager",
778
+ "name": "_accessControlManager",
779
+ "type": "address"
780
+ }
781
+ ],
782
+ "name": "initialize",
783
+ "outputs": [],
784
+ "stateMutability": "nonpayable",
785
+ "type": "function"
786
+ },
787
+ {
788
+ "inputs": [],
789
+ "name": "lastRepriceETHReserves",
790
+ "outputs": [
791
+ {
792
+ "internalType": "uint256",
793
+ "name": "",
794
+ "type": "uint256"
795
+ }
796
+ ],
797
+ "stateMutability": "view",
798
+ "type": "function"
799
+ },
800
+ {
801
+ "inputs": [],
802
+ "name": "lastRepriceUNIX",
803
+ "outputs": [
804
+ {
805
+ "internalType": "uint256",
806
+ "name": "",
807
+ "type": "uint256"
808
+ }
809
+ ],
810
+ "stateMutability": "view",
811
+ "type": "function"
812
+ },
813
+ {
814
+ "inputs": [],
815
+ "name": "maximumRepriceDifferencePercentage",
816
+ "outputs": [
817
+ {
818
+ "internalType": "uint256",
819
+ "name": "",
820
+ "type": "uint256"
821
+ }
822
+ ],
823
+ "stateMutability": "view",
824
+ "type": "function"
825
+ },
826
+ {
827
+ "inputs": [],
828
+ "name": "maximumRepriceRswETHDifferencePercentage",
829
+ "outputs": [
830
+ {
831
+ "internalType": "uint256",
832
+ "name": "",
833
+ "type": "uint256"
834
+ }
835
+ ],
836
+ "stateMutability": "view",
837
+ "type": "function"
838
+ },
839
+ {
840
+ "inputs": [],
841
+ "name": "minimumRepriceTime",
842
+ "outputs": [
843
+ {
844
+ "internalType": "uint256",
845
+ "name": "",
846
+ "type": "uint256"
847
+ }
848
+ ],
849
+ "stateMutability": "view",
850
+ "type": "function"
851
+ },
852
+ {
853
+ "inputs": [],
854
+ "name": "name",
855
+ "outputs": [
856
+ {
857
+ "internalType": "string",
858
+ "name": "",
859
+ "type": "string"
860
+ }
861
+ ],
862
+ "stateMutability": "view",
863
+ "type": "function"
864
+ },
865
+ {
866
+ "inputs": [],
867
+ "name": "nodeOperatorRewardPercentage",
868
+ "outputs": [
869
+ {
870
+ "internalType": "uint256",
871
+ "name": "",
872
+ "type": "uint256"
873
+ }
874
+ ],
875
+ "stateMutability": "view",
876
+ "type": "function"
877
+ },
878
+ {
879
+ "inputs": [
880
+ {
881
+ "internalType": "address",
882
+ "name": "_address",
883
+ "type": "address"
884
+ }
885
+ ],
886
+ "name": "removeFromWhitelist",
887
+ "outputs": [],
888
+ "stateMutability": "nonpayable",
889
+ "type": "function"
890
+ },
891
+ {
892
+ "inputs": [
893
+ {
894
+ "internalType": "uint256",
895
+ "name": "_preRewardETHReserves",
896
+ "type": "uint256"
897
+ },
898
+ {
899
+ "internalType": "uint256",
900
+ "name": "_newETHRewards",
901
+ "type": "uint256"
902
+ },
903
+ {
904
+ "internalType": "uint256",
905
+ "name": "_rswETHTotalSupply",
906
+ "type": "uint256"
907
+ }
908
+ ],
909
+ "name": "reprice",
910
+ "outputs": [],
911
+ "stateMutability": "nonpayable",
912
+ "type": "function"
913
+ },
914
+ {
915
+ "inputs": [],
916
+ "name": "rswETHToETHRate",
917
+ "outputs": [
918
+ {
919
+ "internalType": "uint256",
920
+ "name": "",
921
+ "type": "uint256"
922
+ }
923
+ ],
924
+ "stateMutability": "view",
925
+ "type": "function"
926
+ },
927
+ {
928
+ "inputs": [
929
+ {
930
+ "internalType": "uint256",
931
+ "name": "_maximumRepriceDifferencePercentage",
932
+ "type": "uint256"
933
+ }
934
+ ],
935
+ "name": "setMaximumRepriceDifferencePercentage",
936
+ "outputs": [],
937
+ "stateMutability": "nonpayable",
938
+ "type": "function"
939
+ },
940
+ {
941
+ "inputs": [
942
+ {
943
+ "internalType": "uint256",
944
+ "name": "_maximumRepriceRswETHDifferencePercentage",
945
+ "type": "uint256"
946
+ }
947
+ ],
948
+ "name": "setMaximumRepriceRswETHDifferencePercentage",
949
+ "outputs": [],
950
+ "stateMutability": "nonpayable",
951
+ "type": "function"
952
+ },
953
+ {
954
+ "inputs": [
955
+ {
956
+ "internalType": "uint256",
957
+ "name": "_minimumRepriceTime",
958
+ "type": "uint256"
959
+ }
960
+ ],
961
+ "name": "setMinimumRepriceTime",
962
+ "outputs": [],
963
+ "stateMutability": "nonpayable",
964
+ "type": "function"
965
+ },
966
+ {
967
+ "inputs": [
968
+ {
969
+ "internalType": "uint256",
970
+ "name": "_newNodeOperatorRewardPercentage",
971
+ "type": "uint256"
972
+ }
973
+ ],
974
+ "name": "setNodeOperatorRewardPercentage",
975
+ "outputs": [],
976
+ "stateMutability": "nonpayable",
977
+ "type": "function"
978
+ },
979
+ {
980
+ "inputs": [
981
+ {
982
+ "internalType": "uint256",
983
+ "name": "_newSwellTreasuryRewardPercentage",
984
+ "type": "uint256"
985
+ }
986
+ ],
987
+ "name": "setSwellTreasuryRewardPercentage",
988
+ "outputs": [],
989
+ "stateMutability": "nonpayable",
990
+ "type": "function"
991
+ },
992
+ {
993
+ "inputs": [],
994
+ "name": "swellTreasuryRewardPercentage",
995
+ "outputs": [
996
+ {
997
+ "internalType": "uint256",
998
+ "name": "",
999
+ "type": "uint256"
1000
+ }
1001
+ ],
1002
+ "stateMutability": "view",
1003
+ "type": "function"
1004
+ },
1005
+ {
1006
+ "inputs": [],
1007
+ "name": "symbol",
1008
+ "outputs": [
1009
+ {
1010
+ "internalType": "string",
1011
+ "name": "",
1012
+ "type": "string"
1013
+ }
1014
+ ],
1015
+ "stateMutability": "view",
1016
+ "type": "function"
1017
+ },
1018
+ {
1019
+ "inputs": [],
1020
+ "name": "totalETHDeposited",
1021
+ "outputs": [
1022
+ {
1023
+ "internalType": "uint256",
1024
+ "name": "",
1025
+ "type": "uint256"
1026
+ }
1027
+ ],
1028
+ "stateMutability": "view",
1029
+ "type": "function"
1030
+ },
1031
+ {
1032
+ "inputs": [],
1033
+ "name": "totalSupply",
1034
+ "outputs": [
1035
+ {
1036
+ "internalType": "uint256",
1037
+ "name": "",
1038
+ "type": "uint256"
1039
+ }
1040
+ ],
1041
+ "stateMutability": "view",
1042
+ "type": "function"
1043
+ },
1044
+ {
1045
+ "inputs": [
1046
+ {
1047
+ "internalType": "address",
1048
+ "name": "to",
1049
+ "type": "address"
1050
+ },
1051
+ {
1052
+ "internalType": "uint256",
1053
+ "name": "amount",
1054
+ "type": "uint256"
1055
+ }
1056
+ ],
1057
+ "name": "transfer",
1058
+ "outputs": [
1059
+ {
1060
+ "internalType": "bool",
1061
+ "name": "",
1062
+ "type": "bool"
1063
+ }
1064
+ ],
1065
+ "stateMutability": "nonpayable",
1066
+ "type": "function"
1067
+ },
1068
+ {
1069
+ "inputs": [
1070
+ {
1071
+ "internalType": "address",
1072
+ "name": "from",
1073
+ "type": "address"
1074
+ },
1075
+ {
1076
+ "internalType": "address",
1077
+ "name": "to",
1078
+ "type": "address"
1079
+ },
1080
+ {
1081
+ "internalType": "uint256",
1082
+ "name": "amount",
1083
+ "type": "uint256"
1084
+ }
1085
+ ],
1086
+ "name": "transferFrom",
1087
+ "outputs": [
1088
+ {
1089
+ "internalType": "bool",
1090
+ "name": "",
1091
+ "type": "bool"
1092
+ }
1093
+ ],
1094
+ "stateMutability": "nonpayable",
1095
+ "type": "function"
1096
+ },
1097
+ {
1098
+ "inputs": [],
1099
+ "name": "whitelistEnabled",
1100
+ "outputs": [
1101
+ {
1102
+ "internalType": "bool",
1103
+ "name": "",
1104
+ "type": "bool"
1105
+ }
1106
+ ],
1107
+ "stateMutability": "view",
1108
+ "type": "function"
1109
+ },
1110
+ {
1111
+ "inputs": [
1112
+ {
1113
+ "internalType": "address",
1114
+ "name": "",
1115
+ "type": "address"
1116
+ }
1117
+ ],
1118
+ "name": "whitelistedAddresses",
1119
+ "outputs": [
1120
+ {
1121
+ "internalType": "bool",
1122
+ "name": "",
1123
+ "type": "bool"
1124
+ }
1125
+ ],
1126
+ "stateMutability": "view",
1127
+ "type": "function"
1128
+ },
1129
+ {
1130
+ "inputs": [
1131
+ {
1132
+ "internalType": "contract IERC20",
1133
+ "name": "_token",
1134
+ "type": "address"
1135
+ }
1136
+ ],
1137
+ "name": "withdrawERC20",
1138
+ "outputs": [],
1139
+ "stateMutability": "nonpayable",
1140
+ "type": "function"
1141
+ }
1142
+ ]