@paraswap/dex-lib 4.6.22 → 4.6.23-cap-integrations.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,2111 @@
1
+ [
2
+ {
3
+ "type": "function",
4
+ "name": "addAsset",
5
+ "inputs": [
6
+ {
7
+ "name": "_asset",
8
+ "type": "address",
9
+ "internalType": "address"
10
+ }
11
+ ],
12
+ "outputs": [],
13
+ "stateMutability": "nonpayable"
14
+ },
15
+ {
16
+ "type": "function",
17
+ "name": "allowance",
18
+ "inputs": [
19
+ {
20
+ "name": "owner",
21
+ "type": "address",
22
+ "internalType": "address"
23
+ },
24
+ {
25
+ "name": "spender",
26
+ "type": "address",
27
+ "internalType": "address"
28
+ }
29
+ ],
30
+ "outputs": [
31
+ {
32
+ "name": "",
33
+ "type": "uint256",
34
+ "internalType": "uint256"
35
+ }
36
+ ],
37
+ "stateMutability": "view"
38
+ },
39
+ {
40
+ "type": "function",
41
+ "name": "assets",
42
+ "inputs": [],
43
+ "outputs": [
44
+ {
45
+ "name": "assetList",
46
+ "type": "address[]",
47
+ "internalType": "address[]"
48
+ }
49
+ ],
50
+ "stateMutability": "view"
51
+ },
52
+ {
53
+ "type": "function",
54
+ "name": "balanceOf",
55
+ "inputs": [
56
+ {
57
+ "name": "account",
58
+ "type": "address",
59
+ "internalType": "address"
60
+ }
61
+ ],
62
+ "outputs": [
63
+ {
64
+ "name": "",
65
+ "type": "uint256",
66
+ "internalType": "uint256"
67
+ }
68
+ ],
69
+ "stateMutability": "view"
70
+ },
71
+ {
72
+ "type": "event",
73
+ "name": "Approval",
74
+ "inputs": [
75
+ {
76
+ "name": "owner",
77
+ "type": "address",
78
+ "indexed": true,
79
+ "internalType": "address"
80
+ },
81
+ {
82
+ "name": "spender",
83
+ "type": "address",
84
+ "indexed": true,
85
+ "internalType": "address"
86
+ },
87
+ {
88
+ "name": "value",
89
+ "type": "uint256",
90
+ "indexed": false,
91
+ "internalType": "uint256"
92
+ }
93
+ ],
94
+ "anonymous": false
95
+ },
96
+ {
97
+ "type": "event",
98
+ "name": "Initialized",
99
+ "inputs": [
100
+ {
101
+ "name": "version",
102
+ "type": "uint64",
103
+ "indexed": false,
104
+ "internalType": "uint64"
105
+ }
106
+ ],
107
+ "anonymous": false
108
+ },
109
+ {
110
+ "type": "error",
111
+ "name": "ERC20InsufficientAllowance",
112
+ "inputs": [
113
+ {
114
+ "name": "spender",
115
+ "type": "address",
116
+ "internalType": "address"
117
+ },
118
+ {
119
+ "name": "allowance",
120
+ "type": "uint256",
121
+ "internalType": "uint256"
122
+ },
123
+ {
124
+ "name": "needed",
125
+ "type": "uint256",
126
+ "internalType": "uint256"
127
+ }
128
+ ]
129
+ },
130
+ {
131
+ "type": "error",
132
+ "name": "ERC20InsufficientBalance",
133
+ "inputs": [
134
+ {
135
+ "name": "sender",
136
+ "type": "address",
137
+ "internalType": "address"
138
+ },
139
+ {
140
+ "name": "balance",
141
+ "type": "uint256",
142
+ "internalType": "uint256"
143
+ },
144
+ {
145
+ "name": "needed",
146
+ "type": "uint256",
147
+ "internalType": "uint256"
148
+ }
149
+ ]
150
+ },
151
+ {
152
+ "type": "error",
153
+ "name": "ERC20InvalidApprover",
154
+ "inputs": [
155
+ {
156
+ "name": "approver",
157
+ "type": "address",
158
+ "internalType": "address"
159
+ }
160
+ ]
161
+ },
162
+ {
163
+ "type": "error",
164
+ "name": "ERC20InvalidReceiver",
165
+ "inputs": [
166
+ {
167
+ "name": "receiver",
168
+ "type": "address",
169
+ "internalType": "address"
170
+ }
171
+ ]
172
+ },
173
+ {
174
+ "type": "error",
175
+ "name": "ERC20InvalidSender",
176
+ "inputs": [
177
+ {
178
+ "name": "sender",
179
+ "type": "address",
180
+ "internalType": "address"
181
+ }
182
+ ]
183
+ },
184
+ {
185
+ "type": "error",
186
+ "name": "ERC20InvalidSpender",
187
+ "inputs": [
188
+ {
189
+ "name": "spender",
190
+ "type": "address",
191
+ "internalType": "address"
192
+ }
193
+ ]
194
+ },
195
+ {
196
+ "type": "error",
197
+ "name": "ERC2612ExpiredSignature",
198
+ "inputs": [
199
+ {
200
+ "name": "deadline",
201
+ "type": "uint256",
202
+ "internalType": "uint256"
203
+ }
204
+ ]
205
+ },
206
+ {
207
+ "type": "error",
208
+ "name": "ERC2612InvalidSigner",
209
+ "inputs": [
210
+ {
211
+ "name": "signer",
212
+ "type": "address",
213
+ "internalType": "address"
214
+ },
215
+ {
216
+ "name": "owner",
217
+ "type": "address",
218
+ "internalType": "address"
219
+ }
220
+ ]
221
+ },
222
+ {
223
+ "type": "error",
224
+ "name": "EnforcedPause",
225
+ "inputs": []
226
+ },
227
+ {
228
+ "type": "error",
229
+ "name": "ExpectedPause",
230
+ "inputs": []
231
+ },
232
+ {
233
+ "type": "error",
234
+ "name": "InvalidAccountNonce",
235
+ "inputs": [
236
+ {
237
+ "name": "account",
238
+ "type": "address",
239
+ "internalType": "address"
240
+ },
241
+ {
242
+ "name": "currentNonce",
243
+ "type": "uint256",
244
+ "internalType": "uint256"
245
+ }
246
+ ]
247
+ },
248
+ {
249
+ "type": "event",
250
+ "name": "Borrow",
251
+ "inputs": [
252
+ {
253
+ "name": "borrower",
254
+ "type": "address",
255
+ "indexed": true,
256
+ "internalType": "address"
257
+ },
258
+ {
259
+ "name": "asset",
260
+ "type": "address",
261
+ "indexed": true,
262
+ "internalType": "address"
263
+ },
264
+ {
265
+ "name": "amount",
266
+ "type": "uint256",
267
+ "indexed": false,
268
+ "internalType": "uint256"
269
+ }
270
+ ],
271
+ "anonymous": false
272
+ },
273
+ {
274
+ "type": "event",
275
+ "name": "Burn",
276
+ "inputs": [
277
+ {
278
+ "name": "burner",
279
+ "type": "address",
280
+ "indexed": true,
281
+ "internalType": "address"
282
+ },
283
+ {
284
+ "name": "receiver",
285
+ "type": "address",
286
+ "indexed": false,
287
+ "internalType": "address"
288
+ },
289
+ {
290
+ "name": "asset",
291
+ "type": "address",
292
+ "indexed": true,
293
+ "internalType": "address"
294
+ },
295
+ {
296
+ "name": "amountIn",
297
+ "type": "uint256",
298
+ "indexed": false,
299
+ "internalType": "uint256"
300
+ },
301
+ {
302
+ "name": "amountOut",
303
+ "type": "uint256",
304
+ "indexed": false,
305
+ "internalType": "uint256"
306
+ },
307
+ {
308
+ "name": "fee",
309
+ "type": "uint256",
310
+ "indexed": false,
311
+ "internalType": "uint256"
312
+ }
313
+ ],
314
+ "anonymous": false
315
+ },
316
+ {
317
+ "type": "event",
318
+ "name": "Mint",
319
+ "inputs": [
320
+ {
321
+ "name": "minter",
322
+ "type": "address",
323
+ "indexed": true,
324
+ "internalType": "address"
325
+ },
326
+ {
327
+ "name": "receiver",
328
+ "type": "address",
329
+ "indexed": false,
330
+ "internalType": "address"
331
+ },
332
+ {
333
+ "name": "asset",
334
+ "type": "address",
335
+ "indexed": true,
336
+ "internalType": "address"
337
+ },
338
+ {
339
+ "name": "amountIn",
340
+ "type": "uint256",
341
+ "indexed": false,
342
+ "internalType": "uint256"
343
+ },
344
+ {
345
+ "name": "amountOut",
346
+ "type": "uint256",
347
+ "indexed": false,
348
+ "internalType": "uint256"
349
+ },
350
+ {
351
+ "name": "fee",
352
+ "type": "uint256",
353
+ "indexed": false,
354
+ "internalType": "uint256"
355
+ }
356
+ ],
357
+ "anonymous": false
358
+ },
359
+ {
360
+ "type": "event",
361
+ "name": "PauseAsset",
362
+ "inputs": [
363
+ {
364
+ "name": "asset",
365
+ "type": "address",
366
+ "indexed": false,
367
+ "internalType": "address"
368
+ }
369
+ ],
370
+ "anonymous": false
371
+ },
372
+ {
373
+ "type": "event",
374
+ "name": "Redeem",
375
+ "inputs": [
376
+ {
377
+ "name": "redeemer",
378
+ "type": "address",
379
+ "indexed": true,
380
+ "internalType": "address"
381
+ },
382
+ {
383
+ "name": "receiver",
384
+ "type": "address",
385
+ "indexed": false,
386
+ "internalType": "address"
387
+ },
388
+ {
389
+ "name": "amountIn",
390
+ "type": "uint256",
391
+ "indexed": false,
392
+ "internalType": "uint256"
393
+ },
394
+ {
395
+ "name": "amountsOut",
396
+ "type": "uint256[]",
397
+ "indexed": false,
398
+ "internalType": "uint256[]"
399
+ },
400
+ {
401
+ "name": "fees",
402
+ "type": "uint256[]",
403
+ "indexed": false,
404
+ "internalType": "uint256[]"
405
+ }
406
+ ],
407
+ "anonymous": false
408
+ },
409
+ {
410
+ "type": "event",
411
+ "name": "RemoveAsset",
412
+ "inputs": [
413
+ {
414
+ "name": "asset",
415
+ "type": "address",
416
+ "indexed": false,
417
+ "internalType": "address"
418
+ }
419
+ ],
420
+ "anonymous": false
421
+ },
422
+ {
423
+ "type": "event",
424
+ "name": "Repay",
425
+ "inputs": [
426
+ {
427
+ "name": "repayer",
428
+ "type": "address",
429
+ "indexed": true,
430
+ "internalType": "address"
431
+ },
432
+ {
433
+ "name": "asset",
434
+ "type": "address",
435
+ "indexed": true,
436
+ "internalType": "address"
437
+ },
438
+ {
439
+ "name": "amount",
440
+ "type": "uint256",
441
+ "indexed": false,
442
+ "internalType": "uint256"
443
+ }
444
+ ],
445
+ "anonymous": false
446
+ },
447
+ {
448
+ "type": "event",
449
+ "name": "RescueERC20",
450
+ "inputs": [
451
+ {
452
+ "name": "asset",
453
+ "type": "address",
454
+ "indexed": false,
455
+ "internalType": "address"
456
+ },
457
+ {
458
+ "name": "receiver",
459
+ "type": "address",
460
+ "indexed": false,
461
+ "internalType": "address"
462
+ }
463
+ ],
464
+ "anonymous": false
465
+ },
466
+ {
467
+ "type": "event",
468
+ "name": "SetInsuranceFund",
469
+ "inputs": [
470
+ {
471
+ "name": "insuranceFund",
472
+ "type": "address",
473
+ "indexed": false,
474
+ "internalType": "address"
475
+ }
476
+ ],
477
+ "anonymous": false
478
+ },
479
+ {
480
+ "type": "event",
481
+ "name": "UnpauseAsset",
482
+ "inputs": [
483
+ {
484
+ "name": "asset",
485
+ "type": "address",
486
+ "indexed": false,
487
+ "internalType": "address"
488
+ }
489
+ ],
490
+ "anonymous": false
491
+ },
492
+ {
493
+ "type": "error",
494
+ "name": "AssetAlreadySupported",
495
+ "inputs": [
496
+ {
497
+ "name": "asset",
498
+ "type": "address",
499
+ "internalType": "address"
500
+ }
501
+ ]
502
+ },
503
+ {
504
+ "type": "error",
505
+ "name": "AssetHasSupplies",
506
+ "inputs": [
507
+ {
508
+ "name": "asset",
509
+ "type": "address",
510
+ "internalType": "address"
511
+ }
512
+ ]
513
+ },
514
+ {
515
+ "type": "error",
516
+ "name": "AssetNotRescuable",
517
+ "inputs": [
518
+ {
519
+ "name": "asset",
520
+ "type": "address",
521
+ "internalType": "address"
522
+ }
523
+ ]
524
+ },
525
+ {
526
+ "type": "error",
527
+ "name": "AssetNotSupported",
528
+ "inputs": [
529
+ {
530
+ "name": "asset",
531
+ "type": "address",
532
+ "internalType": "address"
533
+ }
534
+ ]
535
+ },
536
+ {
537
+ "type": "error",
538
+ "name": "AssetPaused",
539
+ "inputs": [
540
+ {
541
+ "name": "asset",
542
+ "type": "address",
543
+ "internalType": "address"
544
+ }
545
+ ]
546
+ },
547
+ {
548
+ "type": "error",
549
+ "name": "InsufficientReserves",
550
+ "inputs": [
551
+ {
552
+ "name": "asset",
553
+ "type": "address",
554
+ "internalType": "address"
555
+ },
556
+ {
557
+ "name": "balanceBefore",
558
+ "type": "uint256",
559
+ "internalType": "uint256"
560
+ },
561
+ {
562
+ "name": "amount",
563
+ "type": "uint256",
564
+ "internalType": "uint256"
565
+ }
566
+ ]
567
+ },
568
+ {
569
+ "type": "error",
570
+ "name": "InvalidAmount",
571
+ "inputs": []
572
+ },
573
+ {
574
+ "type": "error",
575
+ "name": "InvalidMinAmountsOut",
576
+ "inputs": []
577
+ },
578
+ {
579
+ "type": "error",
580
+ "name": "PastDeadline",
581
+ "inputs": []
582
+ },
583
+ {
584
+ "type": "error",
585
+ "name": "Slippage",
586
+ "inputs": [
587
+ {
588
+ "name": "asset",
589
+ "type": "address",
590
+ "internalType": "address"
591
+ },
592
+ {
593
+ "name": "amountOut",
594
+ "type": "uint256",
595
+ "internalType": "uint256"
596
+ },
597
+ {
598
+ "name": "minAmountOut",
599
+ "type": "uint256",
600
+ "internalType": "uint256"
601
+ }
602
+ ]
603
+ },
604
+ {
605
+ "type": "event",
606
+ "name": "FractionalReserveDivested",
607
+ "inputs": [
608
+ {
609
+ "name": "asset",
610
+ "type": "address",
611
+ "indexed": true,
612
+ "internalType": "address"
613
+ },
614
+ {
615
+ "name": "amount",
616
+ "type": "uint256",
617
+ "indexed": false,
618
+ "internalType": "uint256"
619
+ }
620
+ ],
621
+ "anonymous": false
622
+ },
623
+ {
624
+ "type": "event",
625
+ "name": "FractionalReserveInterestRealized",
626
+ "inputs": [
627
+ {
628
+ "name": "asset",
629
+ "type": "address",
630
+ "indexed": true,
631
+ "internalType": "address"
632
+ }
633
+ ],
634
+ "anonymous": false
635
+ },
636
+ {
637
+ "type": "event",
638
+ "name": "FractionalReserveInvested",
639
+ "inputs": [
640
+ {
641
+ "name": "asset",
642
+ "type": "address",
643
+ "indexed": true,
644
+ "internalType": "address"
645
+ },
646
+ {
647
+ "name": "amount",
648
+ "type": "uint256",
649
+ "indexed": false,
650
+ "internalType": "uint256"
651
+ }
652
+ ],
653
+ "anonymous": false
654
+ },
655
+ {
656
+ "type": "event",
657
+ "name": "FractionalReserveReserveUpdated",
658
+ "inputs": [
659
+ {
660
+ "name": "asset",
661
+ "type": "address",
662
+ "indexed": true,
663
+ "internalType": "address"
664
+ },
665
+ {
666
+ "name": "reserve",
667
+ "type": "uint256",
668
+ "indexed": false,
669
+ "internalType": "uint256"
670
+ }
671
+ ],
672
+ "anonymous": false
673
+ },
674
+ {
675
+ "type": "event",
676
+ "name": "FractionalReserveVaultUpdated",
677
+ "inputs": [
678
+ {
679
+ "name": "asset",
680
+ "type": "address",
681
+ "indexed": true,
682
+ "internalType": "address"
683
+ },
684
+ {
685
+ "name": "vault",
686
+ "type": "address",
687
+ "indexed": false,
688
+ "internalType": "address"
689
+ }
690
+ ],
691
+ "anonymous": false
692
+ },
693
+ {
694
+ "type": "error",
695
+ "name": "FractionalReserveVaultAlreadySet",
696
+ "inputs": [
697
+ {
698
+ "name": "vault",
699
+ "type": "address",
700
+ "internalType": "address"
701
+ }
702
+ ]
703
+ },
704
+ {
705
+ "type": "error",
706
+ "name": "FullDivestRequired",
707
+ "inputs": [
708
+ {
709
+ "name": "asset",
710
+ "type": "address",
711
+ "internalType": "address"
712
+ },
713
+ {
714
+ "name": "loss",
715
+ "type": "uint256",
716
+ "internalType": "uint256"
717
+ }
718
+ ]
719
+ },
720
+ {
721
+ "type": "error",
722
+ "name": "SafeERC20FailedOperation",
723
+ "inputs": [
724
+ {
725
+ "name": "token",
726
+ "type": "address",
727
+ "internalType": "address"
728
+ }
729
+ ]
730
+ },
731
+ {
732
+ "type": "error",
733
+ "name": "NotInitializing",
734
+ "inputs": []
735
+ },
736
+ {
737
+ "type": "constructor",
738
+ "inputs": [],
739
+ "stateMutability": "nonpayable"
740
+ },
741
+ {
742
+ "type": "function",
743
+ "name": "DOMAIN_SEPARATOR",
744
+ "inputs": [],
745
+ "outputs": [
746
+ {
747
+ "name": "",
748
+ "type": "bytes32",
749
+ "internalType": "bytes32"
750
+ }
751
+ ],
752
+ "stateMutability": "view"
753
+ },
754
+ {
755
+ "type": "function",
756
+ "name": "UPGRADE_INTERFACE_VERSION",
757
+ "inputs": [],
758
+ "outputs": [
759
+ {
760
+ "name": "",
761
+ "type": "string",
762
+ "internalType": "string"
763
+ }
764
+ ],
765
+ "stateMutability": "view"
766
+ },
767
+ {
768
+ "type": "function",
769
+ "name": "approve",
770
+ "inputs": [
771
+ {
772
+ "name": "spender",
773
+ "type": "address",
774
+ "internalType": "address"
775
+ },
776
+ {
777
+ "name": "value",
778
+ "type": "uint256",
779
+ "internalType": "uint256"
780
+ }
781
+ ],
782
+ "outputs": [
783
+ {
784
+ "name": "",
785
+ "type": "bool",
786
+ "internalType": "bool"
787
+ }
788
+ ],
789
+ "stateMutability": "nonpayable"
790
+ },
791
+ {
792
+ "type": "function",
793
+ "name": "availableBalance",
794
+ "inputs": [
795
+ {
796
+ "name": "_asset",
797
+ "type": "address",
798
+ "internalType": "address"
799
+ }
800
+ ],
801
+ "outputs": [
802
+ {
803
+ "name": "amount",
804
+ "type": "uint256",
805
+ "internalType": "uint256"
806
+ }
807
+ ],
808
+ "stateMutability": "view"
809
+ },
810
+ {
811
+ "type": "function",
812
+ "name": "borrow",
813
+ "inputs": [
814
+ {
815
+ "name": "_asset",
816
+ "type": "address",
817
+ "internalType": "address"
818
+ },
819
+ {
820
+ "name": "_amount",
821
+ "type": "uint256",
822
+ "internalType": "uint256"
823
+ },
824
+ {
825
+ "name": "_receiver",
826
+ "type": "address",
827
+ "internalType": "address"
828
+ }
829
+ ],
830
+ "outputs": [],
831
+ "stateMutability": "nonpayable"
832
+ },
833
+ {
834
+ "type": "function",
835
+ "name": "burn",
836
+ "inputs": [
837
+ {
838
+ "name": "_asset",
839
+ "type": "address",
840
+ "internalType": "address"
841
+ },
842
+ {
843
+ "name": "_amountIn",
844
+ "type": "uint256",
845
+ "internalType": "uint256"
846
+ },
847
+ {
848
+ "name": "_minAmountOut",
849
+ "type": "uint256",
850
+ "internalType": "uint256"
851
+ },
852
+ {
853
+ "name": "_receiver",
854
+ "type": "address",
855
+ "internalType": "address"
856
+ },
857
+ {
858
+ "name": "_deadline",
859
+ "type": "uint256",
860
+ "internalType": "uint256"
861
+ }
862
+ ],
863
+ "outputs": [
864
+ {
865
+ "name": "amountOut",
866
+ "type": "uint256",
867
+ "internalType": "uint256"
868
+ }
869
+ ],
870
+ "stateMutability": "nonpayable"
871
+ },
872
+ {
873
+ "type": "function",
874
+ "name": "claimableInterest",
875
+ "inputs": [
876
+ {
877
+ "name": "_asset",
878
+ "type": "address",
879
+ "internalType": "address"
880
+ }
881
+ ],
882
+ "outputs": [
883
+ {
884
+ "name": "interest",
885
+ "type": "uint256",
886
+ "internalType": "uint256"
887
+ }
888
+ ],
889
+ "stateMutability": "view"
890
+ },
891
+ {
892
+ "type": "function",
893
+ "name": "currentUtilizationIndex",
894
+ "inputs": [
895
+ {
896
+ "name": "_asset",
897
+ "type": "address",
898
+ "internalType": "address"
899
+ }
900
+ ],
901
+ "outputs": [
902
+ {
903
+ "name": "index",
904
+ "type": "uint256",
905
+ "internalType": "uint256"
906
+ }
907
+ ],
908
+ "stateMutability": "view"
909
+ },
910
+ {
911
+ "type": "function",
912
+ "name": "decimals",
913
+ "inputs": [],
914
+ "outputs": [
915
+ {
916
+ "name": "",
917
+ "type": "uint8",
918
+ "internalType": "uint8"
919
+ }
920
+ ],
921
+ "stateMutability": "view"
922
+ },
923
+ {
924
+ "type": "function",
925
+ "name": "divestAll",
926
+ "inputs": [
927
+ {
928
+ "name": "_asset",
929
+ "type": "address",
930
+ "internalType": "address"
931
+ }
932
+ ],
933
+ "outputs": [],
934
+ "stateMutability": "nonpayable"
935
+ },
936
+ {
937
+ "type": "function",
938
+ "name": "eip712Domain",
939
+ "inputs": [],
940
+ "outputs": [
941
+ {
942
+ "name": "fields",
943
+ "type": "bytes1",
944
+ "internalType": "bytes1"
945
+ },
946
+ {
947
+ "name": "name",
948
+ "type": "string",
949
+ "internalType": "string"
950
+ },
951
+ {
952
+ "name": "version",
953
+ "type": "string",
954
+ "internalType": "string"
955
+ },
956
+ {
957
+ "name": "chainId",
958
+ "type": "uint256",
959
+ "internalType": "uint256"
960
+ },
961
+ {
962
+ "name": "verifyingContract",
963
+ "type": "address",
964
+ "internalType": "address"
965
+ },
966
+ {
967
+ "name": "salt",
968
+ "type": "bytes32",
969
+ "internalType": "bytes32"
970
+ },
971
+ {
972
+ "name": "extensions",
973
+ "type": "uint256[]",
974
+ "internalType": "uint256[]"
975
+ }
976
+ ],
977
+ "stateMutability": "view"
978
+ },
979
+ {
980
+ "type": "function",
981
+ "name": "fractionalReserveVault",
982
+ "inputs": [
983
+ {
984
+ "name": "_asset",
985
+ "type": "address",
986
+ "internalType": "address"
987
+ }
988
+ ],
989
+ "outputs": [
990
+ {
991
+ "name": "vaultAddress",
992
+ "type": "address",
993
+ "internalType": "address"
994
+ }
995
+ ],
996
+ "stateMutability": "view"
997
+ },
998
+ {
999
+ "type": "function",
1000
+ "name": "fractionalReserveVaults",
1001
+ "inputs": [],
1002
+ "outputs": [
1003
+ {
1004
+ "name": "vaultAddresses",
1005
+ "type": "address[]",
1006
+ "internalType": "address[]"
1007
+ }
1008
+ ],
1009
+ "stateMutability": "view"
1010
+ },
1011
+ {
1012
+ "type": "function",
1013
+ "name": "getBurnAmount",
1014
+ "inputs": [
1015
+ {
1016
+ "name": "_asset",
1017
+ "type": "address",
1018
+ "internalType": "address"
1019
+ },
1020
+ {
1021
+ "name": "_amountIn",
1022
+ "type": "uint256",
1023
+ "internalType": "uint256"
1024
+ }
1025
+ ],
1026
+ "outputs": [
1027
+ {
1028
+ "name": "amountOut",
1029
+ "type": "uint256",
1030
+ "internalType": "uint256"
1031
+ },
1032
+ {
1033
+ "name": "fee",
1034
+ "type": "uint256",
1035
+ "internalType": "uint256"
1036
+ }
1037
+ ],
1038
+ "stateMutability": "view"
1039
+ },
1040
+ {
1041
+ "type": "function",
1042
+ "name": "getFeeData",
1043
+ "inputs": [
1044
+ {
1045
+ "name": "_asset",
1046
+ "type": "address",
1047
+ "internalType": "address"
1048
+ }
1049
+ ],
1050
+ "outputs": [
1051
+ {
1052
+ "name": "feeData",
1053
+ "type": "tuple",
1054
+ "internalType": "struct IMinter.FeeData",
1055
+ "components": [
1056
+ {
1057
+ "name": "minMintFee",
1058
+ "type": "uint256",
1059
+ "internalType": "uint256"
1060
+ },
1061
+ {
1062
+ "name": "slope0",
1063
+ "type": "uint256",
1064
+ "internalType": "uint256"
1065
+ },
1066
+ {
1067
+ "name": "slope1",
1068
+ "type": "uint256",
1069
+ "internalType": "uint256"
1070
+ },
1071
+ {
1072
+ "name": "mintKinkRatio",
1073
+ "type": "uint256",
1074
+ "internalType": "uint256"
1075
+ },
1076
+ {
1077
+ "name": "burnKinkRatio",
1078
+ "type": "uint256",
1079
+ "internalType": "uint256"
1080
+ },
1081
+ {
1082
+ "name": "optimalRatio",
1083
+ "type": "uint256",
1084
+ "internalType": "uint256"
1085
+ }
1086
+ ]
1087
+ }
1088
+ ],
1089
+ "stateMutability": "view"
1090
+ },
1091
+ {
1092
+ "type": "function",
1093
+ "name": "getMintAmount",
1094
+ "inputs": [
1095
+ {
1096
+ "name": "_asset",
1097
+ "type": "address",
1098
+ "internalType": "address"
1099
+ },
1100
+ {
1101
+ "name": "_amountIn",
1102
+ "type": "uint256",
1103
+ "internalType": "uint256"
1104
+ }
1105
+ ],
1106
+ "outputs": [
1107
+ {
1108
+ "name": "amountOut",
1109
+ "type": "uint256",
1110
+ "internalType": "uint256"
1111
+ },
1112
+ {
1113
+ "name": "fee",
1114
+ "type": "uint256",
1115
+ "internalType": "uint256"
1116
+ }
1117
+ ],
1118
+ "stateMutability": "view"
1119
+ },
1120
+ {
1121
+ "type": "function",
1122
+ "name": "getRedeemAmount",
1123
+ "inputs": [
1124
+ {
1125
+ "name": "_amountIn",
1126
+ "type": "uint256",
1127
+ "internalType": "uint256"
1128
+ }
1129
+ ],
1130
+ "outputs": [
1131
+ {
1132
+ "name": "amountsOut",
1133
+ "type": "uint256[]",
1134
+ "internalType": "uint256[]"
1135
+ },
1136
+ {
1137
+ "name": "fees",
1138
+ "type": "uint256[]",
1139
+ "internalType": "uint256[]"
1140
+ }
1141
+ ],
1142
+ "stateMutability": "view"
1143
+ },
1144
+ {
1145
+ "type": "function",
1146
+ "name": "getRedeemFee",
1147
+ "inputs": [],
1148
+ "outputs": [
1149
+ {
1150
+ "name": "redeemFee",
1151
+ "type": "uint256",
1152
+ "internalType": "uint256"
1153
+ }
1154
+ ],
1155
+ "stateMutability": "view"
1156
+ },
1157
+ {
1158
+ "type": "function",
1159
+ "name": "initialize",
1160
+ "inputs": [
1161
+ {
1162
+ "name": "_name",
1163
+ "type": "string",
1164
+ "internalType": "string"
1165
+ },
1166
+ {
1167
+ "name": "_symbol",
1168
+ "type": "string",
1169
+ "internalType": "string"
1170
+ },
1171
+ {
1172
+ "name": "_accessControl",
1173
+ "type": "address",
1174
+ "internalType": "address"
1175
+ },
1176
+ {
1177
+ "name": "_feeAuction",
1178
+ "type": "address",
1179
+ "internalType": "address"
1180
+ },
1181
+ {
1182
+ "name": "_oracle",
1183
+ "type": "address",
1184
+ "internalType": "address"
1185
+ },
1186
+ {
1187
+ "name": "_assets",
1188
+ "type": "address[]",
1189
+ "internalType": "address[]"
1190
+ },
1191
+ {
1192
+ "name": "_insuranceFund",
1193
+ "type": "address",
1194
+ "internalType": "address"
1195
+ }
1196
+ ],
1197
+ "outputs": [],
1198
+ "stateMutability": "nonpayable"
1199
+ },
1200
+ {
1201
+ "type": "function",
1202
+ "name": "insuranceFund",
1203
+ "inputs": [],
1204
+ "outputs": [
1205
+ {
1206
+ "name": "",
1207
+ "type": "address",
1208
+ "internalType": "address"
1209
+ }
1210
+ ],
1211
+ "stateMutability": "view"
1212
+ },
1213
+ {
1214
+ "type": "function",
1215
+ "name": "interestReceiver",
1216
+ "inputs": [],
1217
+ "outputs": [
1218
+ {
1219
+ "name": "_interestReceiver",
1220
+ "type": "address",
1221
+ "internalType": "address"
1222
+ }
1223
+ ],
1224
+ "stateMutability": "view"
1225
+ },
1226
+ {
1227
+ "type": "function",
1228
+ "name": "investAll",
1229
+ "inputs": [
1230
+ {
1231
+ "name": "_asset",
1232
+ "type": "address",
1233
+ "internalType": "address"
1234
+ }
1235
+ ],
1236
+ "outputs": [],
1237
+ "stateMutability": "nonpayable"
1238
+ },
1239
+ {
1240
+ "type": "function",
1241
+ "name": "loaned",
1242
+ "inputs": [
1243
+ {
1244
+ "name": "_asset",
1245
+ "type": "address",
1246
+ "internalType": "address"
1247
+ }
1248
+ ],
1249
+ "outputs": [
1250
+ {
1251
+ "name": "loanedAmount",
1252
+ "type": "uint256",
1253
+ "internalType": "uint256"
1254
+ }
1255
+ ],
1256
+ "stateMutability": "view"
1257
+ },
1258
+ {
1259
+ "type": "function",
1260
+ "name": "mint",
1261
+ "inputs": [
1262
+ {
1263
+ "name": "_asset",
1264
+ "type": "address",
1265
+ "internalType": "address"
1266
+ },
1267
+ {
1268
+ "name": "_amountIn",
1269
+ "type": "uint256",
1270
+ "internalType": "uint256"
1271
+ },
1272
+ {
1273
+ "name": "_minAmountOut",
1274
+ "type": "uint256",
1275
+ "internalType": "uint256"
1276
+ },
1277
+ {
1278
+ "name": "_receiver",
1279
+ "type": "address",
1280
+ "internalType": "address"
1281
+ },
1282
+ {
1283
+ "name": "_deadline",
1284
+ "type": "uint256",
1285
+ "internalType": "uint256"
1286
+ }
1287
+ ],
1288
+ "outputs": [
1289
+ {
1290
+ "name": "amountOut",
1291
+ "type": "uint256",
1292
+ "internalType": "uint256"
1293
+ }
1294
+ ],
1295
+ "stateMutability": "nonpayable"
1296
+ },
1297
+ {
1298
+ "type": "function",
1299
+ "name": "name",
1300
+ "inputs": [],
1301
+ "outputs": [
1302
+ {
1303
+ "name": "",
1304
+ "type": "string",
1305
+ "internalType": "string"
1306
+ }
1307
+ ],
1308
+ "stateMutability": "view"
1309
+ },
1310
+ {
1311
+ "type": "function",
1312
+ "name": "nonces",
1313
+ "inputs": [
1314
+ {
1315
+ "name": "owner",
1316
+ "type": "address",
1317
+ "internalType": "address"
1318
+ }
1319
+ ],
1320
+ "outputs": [
1321
+ {
1322
+ "name": "",
1323
+ "type": "uint256",
1324
+ "internalType": "uint256"
1325
+ }
1326
+ ],
1327
+ "stateMutability": "view"
1328
+ },
1329
+ {
1330
+ "type": "function",
1331
+ "name": "pauseAsset",
1332
+ "inputs": [
1333
+ {
1334
+ "name": "_asset",
1335
+ "type": "address",
1336
+ "internalType": "address"
1337
+ }
1338
+ ],
1339
+ "outputs": [],
1340
+ "stateMutability": "nonpayable"
1341
+ },
1342
+ {
1343
+ "type": "function",
1344
+ "name": "pauseProtocol",
1345
+ "inputs": [],
1346
+ "outputs": [],
1347
+ "stateMutability": "nonpayable"
1348
+ },
1349
+ {
1350
+ "type": "function",
1351
+ "name": "paused",
1352
+ "inputs": [
1353
+ {
1354
+ "name": "_asset",
1355
+ "type": "address",
1356
+ "internalType": "address"
1357
+ }
1358
+ ],
1359
+ "outputs": [
1360
+ {
1361
+ "name": "isPaused",
1362
+ "type": "bool",
1363
+ "internalType": "bool"
1364
+ }
1365
+ ],
1366
+ "stateMutability": "view"
1367
+ },
1368
+ {
1369
+ "type": "function",
1370
+ "name": "paused",
1371
+ "inputs": [],
1372
+ "outputs": [
1373
+ {
1374
+ "name": "",
1375
+ "type": "bool",
1376
+ "internalType": "bool"
1377
+ }
1378
+ ],
1379
+ "stateMutability": "view"
1380
+ },
1381
+ {
1382
+ "type": "function",
1383
+ "name": "permit",
1384
+ "inputs": [
1385
+ {
1386
+ "name": "owner",
1387
+ "type": "address",
1388
+ "internalType": "address"
1389
+ },
1390
+ {
1391
+ "name": "spender",
1392
+ "type": "address",
1393
+ "internalType": "address"
1394
+ },
1395
+ {
1396
+ "name": "value",
1397
+ "type": "uint256",
1398
+ "internalType": "uint256"
1399
+ },
1400
+ {
1401
+ "name": "deadline",
1402
+ "type": "uint256",
1403
+ "internalType": "uint256"
1404
+ },
1405
+ {
1406
+ "name": "v",
1407
+ "type": "uint8",
1408
+ "internalType": "uint8"
1409
+ },
1410
+ {
1411
+ "name": "r",
1412
+ "type": "bytes32",
1413
+ "internalType": "bytes32"
1414
+ },
1415
+ {
1416
+ "name": "s",
1417
+ "type": "bytes32",
1418
+ "internalType": "bytes32"
1419
+ }
1420
+ ],
1421
+ "outputs": [],
1422
+ "stateMutability": "nonpayable"
1423
+ },
1424
+ {
1425
+ "type": "function",
1426
+ "name": "proxiableUUID",
1427
+ "inputs": [],
1428
+ "outputs": [
1429
+ {
1430
+ "name": "",
1431
+ "type": "bytes32",
1432
+ "internalType": "bytes32"
1433
+ }
1434
+ ],
1435
+ "stateMutability": "view"
1436
+ },
1437
+ {
1438
+ "type": "function",
1439
+ "name": "realizeInterest",
1440
+ "inputs": [
1441
+ {
1442
+ "name": "_asset",
1443
+ "type": "address",
1444
+ "internalType": "address"
1445
+ }
1446
+ ],
1447
+ "outputs": [],
1448
+ "stateMutability": "nonpayable"
1449
+ },
1450
+ {
1451
+ "type": "function",
1452
+ "name": "redeem",
1453
+ "inputs": [
1454
+ {
1455
+ "name": "_amountIn",
1456
+ "type": "uint256",
1457
+ "internalType": "uint256"
1458
+ },
1459
+ {
1460
+ "name": "_minAmountsOut",
1461
+ "type": "uint256[]",
1462
+ "internalType": "uint256[]"
1463
+ },
1464
+ {
1465
+ "name": "_receiver",
1466
+ "type": "address",
1467
+ "internalType": "address"
1468
+ },
1469
+ {
1470
+ "name": "_deadline",
1471
+ "type": "uint256",
1472
+ "internalType": "uint256"
1473
+ }
1474
+ ],
1475
+ "outputs": [
1476
+ {
1477
+ "name": "amountsOut",
1478
+ "type": "uint256[]",
1479
+ "internalType": "uint256[]"
1480
+ }
1481
+ ],
1482
+ "stateMutability": "nonpayable"
1483
+ },
1484
+ {
1485
+ "type": "function",
1486
+ "name": "removeAsset",
1487
+ "inputs": [
1488
+ {
1489
+ "name": "_asset",
1490
+ "type": "address",
1491
+ "internalType": "address"
1492
+ }
1493
+ ],
1494
+ "outputs": [],
1495
+ "stateMutability": "nonpayable"
1496
+ },
1497
+ {
1498
+ "type": "function",
1499
+ "name": "repay",
1500
+ "inputs": [
1501
+ {
1502
+ "name": "_asset",
1503
+ "type": "address",
1504
+ "internalType": "address"
1505
+ },
1506
+ {
1507
+ "name": "_amount",
1508
+ "type": "uint256",
1509
+ "internalType": "uint256"
1510
+ }
1511
+ ],
1512
+ "outputs": [],
1513
+ "stateMutability": "nonpayable"
1514
+ },
1515
+ {
1516
+ "type": "function",
1517
+ "name": "rescueERC20",
1518
+ "inputs": [
1519
+ {
1520
+ "name": "_asset",
1521
+ "type": "address",
1522
+ "internalType": "address"
1523
+ },
1524
+ {
1525
+ "name": "_receiver",
1526
+ "type": "address",
1527
+ "internalType": "address"
1528
+ }
1529
+ ],
1530
+ "outputs": [],
1531
+ "stateMutability": "nonpayable"
1532
+ },
1533
+ {
1534
+ "type": "function",
1535
+ "name": "reserve",
1536
+ "inputs": [
1537
+ {
1538
+ "name": "_asset",
1539
+ "type": "address",
1540
+ "internalType": "address"
1541
+ }
1542
+ ],
1543
+ "outputs": [
1544
+ {
1545
+ "name": "reserveAmount",
1546
+ "type": "uint256",
1547
+ "internalType": "uint256"
1548
+ }
1549
+ ],
1550
+ "stateMutability": "view"
1551
+ },
1552
+ {
1553
+ "type": "function",
1554
+ "name": "setFeeData",
1555
+ "inputs": [
1556
+ {
1557
+ "name": "_asset",
1558
+ "type": "address",
1559
+ "internalType": "address"
1560
+ },
1561
+ {
1562
+ "name": "_feeData",
1563
+ "type": "tuple",
1564
+ "internalType": "struct IMinter.FeeData",
1565
+ "components": [
1566
+ {
1567
+ "name": "minMintFee",
1568
+ "type": "uint256",
1569
+ "internalType": "uint256"
1570
+ },
1571
+ {
1572
+ "name": "slope0",
1573
+ "type": "uint256",
1574
+ "internalType": "uint256"
1575
+ },
1576
+ {
1577
+ "name": "slope1",
1578
+ "type": "uint256",
1579
+ "internalType": "uint256"
1580
+ },
1581
+ {
1582
+ "name": "mintKinkRatio",
1583
+ "type": "uint256",
1584
+ "internalType": "uint256"
1585
+ },
1586
+ {
1587
+ "name": "burnKinkRatio",
1588
+ "type": "uint256",
1589
+ "internalType": "uint256"
1590
+ },
1591
+ {
1592
+ "name": "optimalRatio",
1593
+ "type": "uint256",
1594
+ "internalType": "uint256"
1595
+ }
1596
+ ]
1597
+ }
1598
+ ],
1599
+ "outputs": [],
1600
+ "stateMutability": "nonpayable"
1601
+ },
1602
+ {
1603
+ "type": "function",
1604
+ "name": "setFractionalReserveVault",
1605
+ "inputs": [
1606
+ {
1607
+ "name": "_asset",
1608
+ "type": "address",
1609
+ "internalType": "address"
1610
+ },
1611
+ {
1612
+ "name": "_vault",
1613
+ "type": "address",
1614
+ "internalType": "address"
1615
+ }
1616
+ ],
1617
+ "outputs": [],
1618
+ "stateMutability": "nonpayable"
1619
+ },
1620
+ {
1621
+ "type": "function",
1622
+ "name": "setInsuranceFund",
1623
+ "inputs": [
1624
+ {
1625
+ "name": "_insuranceFund",
1626
+ "type": "address",
1627
+ "internalType": "address"
1628
+ }
1629
+ ],
1630
+ "outputs": [],
1631
+ "stateMutability": "nonpayable"
1632
+ },
1633
+ {
1634
+ "type": "function",
1635
+ "name": "setRedeemFee",
1636
+ "inputs": [
1637
+ {
1638
+ "name": "_redeemFee",
1639
+ "type": "uint256",
1640
+ "internalType": "uint256"
1641
+ }
1642
+ ],
1643
+ "outputs": [],
1644
+ "stateMutability": "nonpayable"
1645
+ },
1646
+ {
1647
+ "type": "function",
1648
+ "name": "setReserve",
1649
+ "inputs": [
1650
+ {
1651
+ "name": "_asset",
1652
+ "type": "address",
1653
+ "internalType": "address"
1654
+ },
1655
+ {
1656
+ "name": "_reserve",
1657
+ "type": "uint256",
1658
+ "internalType": "uint256"
1659
+ }
1660
+ ],
1661
+ "outputs": [],
1662
+ "stateMutability": "nonpayable"
1663
+ },
1664
+ {
1665
+ "type": "function",
1666
+ "name": "setWhitelist",
1667
+ "inputs": [
1668
+ {
1669
+ "name": "_user",
1670
+ "type": "address",
1671
+ "internalType": "address"
1672
+ },
1673
+ {
1674
+ "name": "_whitelisted",
1675
+ "type": "bool",
1676
+ "internalType": "bool"
1677
+ }
1678
+ ],
1679
+ "outputs": [],
1680
+ "stateMutability": "nonpayable"
1681
+ },
1682
+ {
1683
+ "type": "function",
1684
+ "name": "symbol",
1685
+ "inputs": [],
1686
+ "outputs": [
1687
+ {
1688
+ "name": "",
1689
+ "type": "string",
1690
+ "internalType": "string"
1691
+ }
1692
+ ],
1693
+ "stateMutability": "view"
1694
+ },
1695
+ {
1696
+ "type": "function",
1697
+ "name": "totalBorrows",
1698
+ "inputs": [
1699
+ {
1700
+ "name": "_asset",
1701
+ "type": "address",
1702
+ "internalType": "address"
1703
+ }
1704
+ ],
1705
+ "outputs": [
1706
+ {
1707
+ "name": "totalBorrow",
1708
+ "type": "uint256",
1709
+ "internalType": "uint256"
1710
+ }
1711
+ ],
1712
+ "stateMutability": "view"
1713
+ },
1714
+ {
1715
+ "type": "function",
1716
+ "name": "totalSupplies",
1717
+ "inputs": [
1718
+ {
1719
+ "name": "_asset",
1720
+ "type": "address",
1721
+ "internalType": "address"
1722
+ }
1723
+ ],
1724
+ "outputs": [
1725
+ {
1726
+ "name": "_totalSupply",
1727
+ "type": "uint256",
1728
+ "internalType": "uint256"
1729
+ }
1730
+ ],
1731
+ "stateMutability": "view"
1732
+ },
1733
+ {
1734
+ "type": "function",
1735
+ "name": "totalSupply",
1736
+ "inputs": [],
1737
+ "outputs": [
1738
+ {
1739
+ "name": "",
1740
+ "type": "uint256",
1741
+ "internalType": "uint256"
1742
+ }
1743
+ ],
1744
+ "stateMutability": "view"
1745
+ },
1746
+ {
1747
+ "type": "function",
1748
+ "name": "transfer",
1749
+ "inputs": [
1750
+ {
1751
+ "name": "to",
1752
+ "type": "address",
1753
+ "internalType": "address"
1754
+ },
1755
+ {
1756
+ "name": "value",
1757
+ "type": "uint256",
1758
+ "internalType": "uint256"
1759
+ }
1760
+ ],
1761
+ "outputs": [
1762
+ {
1763
+ "name": "",
1764
+ "type": "bool",
1765
+ "internalType": "bool"
1766
+ }
1767
+ ],
1768
+ "stateMutability": "nonpayable"
1769
+ },
1770
+ {
1771
+ "type": "function",
1772
+ "name": "transferFrom",
1773
+ "inputs": [
1774
+ {
1775
+ "name": "from",
1776
+ "type": "address",
1777
+ "internalType": "address"
1778
+ },
1779
+ {
1780
+ "name": "to",
1781
+ "type": "address",
1782
+ "internalType": "address"
1783
+ },
1784
+ {
1785
+ "name": "value",
1786
+ "type": "uint256",
1787
+ "internalType": "uint256"
1788
+ }
1789
+ ],
1790
+ "outputs": [
1791
+ {
1792
+ "name": "",
1793
+ "type": "bool",
1794
+ "internalType": "bool"
1795
+ }
1796
+ ],
1797
+ "stateMutability": "nonpayable"
1798
+ },
1799
+ {
1800
+ "type": "function",
1801
+ "name": "unpauseAsset",
1802
+ "inputs": [
1803
+ {
1804
+ "name": "_asset",
1805
+ "type": "address",
1806
+ "internalType": "address"
1807
+ }
1808
+ ],
1809
+ "outputs": [],
1810
+ "stateMutability": "nonpayable"
1811
+ },
1812
+ {
1813
+ "type": "function",
1814
+ "name": "unpauseProtocol",
1815
+ "inputs": [],
1816
+ "outputs": [],
1817
+ "stateMutability": "nonpayable"
1818
+ },
1819
+ {
1820
+ "type": "function",
1821
+ "name": "upgradeToAndCall",
1822
+ "inputs": [
1823
+ {
1824
+ "name": "newImplementation",
1825
+ "type": "address",
1826
+ "internalType": "address"
1827
+ },
1828
+ {
1829
+ "name": "data",
1830
+ "type": "bytes",
1831
+ "internalType": "bytes"
1832
+ }
1833
+ ],
1834
+ "outputs": [],
1835
+ "stateMutability": "payable"
1836
+ },
1837
+ {
1838
+ "type": "function",
1839
+ "name": "utilization",
1840
+ "inputs": [
1841
+ {
1842
+ "name": "_asset",
1843
+ "type": "address",
1844
+ "internalType": "address"
1845
+ }
1846
+ ],
1847
+ "outputs": [
1848
+ {
1849
+ "name": "ratio",
1850
+ "type": "uint256",
1851
+ "internalType": "uint256"
1852
+ }
1853
+ ],
1854
+ "stateMutability": "view"
1855
+ },
1856
+ {
1857
+ "type": "function",
1858
+ "name": "whitelisted",
1859
+ "inputs": [
1860
+ {
1861
+ "name": "_user",
1862
+ "type": "address",
1863
+ "internalType": "address"
1864
+ }
1865
+ ],
1866
+ "outputs": [
1867
+ {
1868
+ "name": "isWhitelisted",
1869
+ "type": "bool",
1870
+ "internalType": "bool"
1871
+ }
1872
+ ],
1873
+ "stateMutability": "view"
1874
+ },
1875
+ {
1876
+ "type": "event",
1877
+ "name": "EIP712DomainChanged",
1878
+ "inputs": [],
1879
+ "anonymous": false
1880
+ },
1881
+ {
1882
+ "type": "event",
1883
+ "name": "Paused",
1884
+ "inputs": [
1885
+ {
1886
+ "name": "account",
1887
+ "type": "address",
1888
+ "indexed": false,
1889
+ "internalType": "address"
1890
+ }
1891
+ ],
1892
+ "anonymous": false
1893
+ },
1894
+ {
1895
+ "type": "event",
1896
+ "name": "SetFeeData",
1897
+ "inputs": [
1898
+ {
1899
+ "name": "asset",
1900
+ "type": "address",
1901
+ "indexed": false,
1902
+ "internalType": "address"
1903
+ },
1904
+ {
1905
+ "name": "feeData",
1906
+ "type": "tuple",
1907
+ "indexed": false,
1908
+ "internalType": "struct IMinter.FeeData",
1909
+ "components": [
1910
+ {
1911
+ "name": "minMintFee",
1912
+ "type": "uint256",
1913
+ "internalType": "uint256"
1914
+ },
1915
+ {
1916
+ "name": "slope0",
1917
+ "type": "uint256",
1918
+ "internalType": "uint256"
1919
+ },
1920
+ {
1921
+ "name": "slope1",
1922
+ "type": "uint256",
1923
+ "internalType": "uint256"
1924
+ },
1925
+ {
1926
+ "name": "mintKinkRatio",
1927
+ "type": "uint256",
1928
+ "internalType": "uint256"
1929
+ },
1930
+ {
1931
+ "name": "burnKinkRatio",
1932
+ "type": "uint256",
1933
+ "internalType": "uint256"
1934
+ },
1935
+ {
1936
+ "name": "optimalRatio",
1937
+ "type": "uint256",
1938
+ "internalType": "uint256"
1939
+ }
1940
+ ]
1941
+ }
1942
+ ],
1943
+ "anonymous": false
1944
+ },
1945
+ {
1946
+ "type": "event",
1947
+ "name": "SetRedeemFee",
1948
+ "inputs": [
1949
+ {
1950
+ "name": "redeemFee",
1951
+ "type": "uint256",
1952
+ "indexed": false,
1953
+ "internalType": "uint256"
1954
+ }
1955
+ ],
1956
+ "anonymous": false
1957
+ },
1958
+ {
1959
+ "type": "event",
1960
+ "name": "SetWhitelist",
1961
+ "inputs": [
1962
+ {
1963
+ "name": "user",
1964
+ "type": "address",
1965
+ "indexed": false,
1966
+ "internalType": "address"
1967
+ },
1968
+ {
1969
+ "name": "whitelisted",
1970
+ "type": "bool",
1971
+ "indexed": false,
1972
+ "internalType": "bool"
1973
+ }
1974
+ ],
1975
+ "anonymous": false
1976
+ },
1977
+ {
1978
+ "type": "event",
1979
+ "name": "Transfer",
1980
+ "inputs": [
1981
+ {
1982
+ "name": "from",
1983
+ "type": "address",
1984
+ "indexed": true,
1985
+ "internalType": "address"
1986
+ },
1987
+ {
1988
+ "name": "to",
1989
+ "type": "address",
1990
+ "indexed": true,
1991
+ "internalType": "address"
1992
+ },
1993
+ {
1994
+ "name": "value",
1995
+ "type": "uint256",
1996
+ "indexed": false,
1997
+ "internalType": "uint256"
1998
+ }
1999
+ ],
2000
+ "anonymous": false
2001
+ },
2002
+ {
2003
+ "type": "event",
2004
+ "name": "Unpaused",
2005
+ "inputs": [
2006
+ {
2007
+ "name": "account",
2008
+ "type": "address",
2009
+ "indexed": false,
2010
+ "internalType": "address"
2011
+ }
2012
+ ],
2013
+ "anonymous": false
2014
+ },
2015
+ {
2016
+ "type": "event",
2017
+ "name": "Upgraded",
2018
+ "inputs": [
2019
+ {
2020
+ "name": "implementation",
2021
+ "type": "address",
2022
+ "indexed": true,
2023
+ "internalType": "address"
2024
+ }
2025
+ ],
2026
+ "anonymous": false
2027
+ },
2028
+ {
2029
+ "type": "error",
2030
+ "name": "AccessDenied",
2031
+ "inputs": []
2032
+ },
2033
+ {
2034
+ "type": "error",
2035
+ "name": "AddressEmptyCode",
2036
+ "inputs": [
2037
+ {
2038
+ "name": "target",
2039
+ "type": "address",
2040
+ "internalType": "address"
2041
+ }
2042
+ ]
2043
+ },
2044
+ {
2045
+ "type": "error",
2046
+ "name": "ECDSAInvalidSignature",
2047
+ "inputs": []
2048
+ },
2049
+ {
2050
+ "type": "error",
2051
+ "name": "ERC1967InvalidImplementation",
2052
+ "inputs": [
2053
+ {
2054
+ "name": "implementation",
2055
+ "type": "address",
2056
+ "internalType": "address"
2057
+ }
2058
+ ]
2059
+ },
2060
+ {
2061
+ "type": "error",
2062
+ "name": "ERC1967NonPayable",
2063
+ "inputs": []
2064
+ },
2065
+ {
2066
+ "type": "error",
2067
+ "name": "FailedCall",
2068
+ "inputs": []
2069
+ },
2070
+ {
2071
+ "type": "error",
2072
+ "name": "InvalidBurnKinkRatio",
2073
+ "inputs": []
2074
+ },
2075
+ {
2076
+ "type": "error",
2077
+ "name": "InvalidInitialization",
2078
+ "inputs": []
2079
+ },
2080
+ {
2081
+ "type": "error",
2082
+ "name": "InvalidMinMintFee",
2083
+ "inputs": []
2084
+ },
2085
+ {
2086
+ "type": "error",
2087
+ "name": "InvalidMintKinkRatio",
2088
+ "inputs": []
2089
+ },
2090
+ {
2091
+ "type": "error",
2092
+ "name": "InvalidOptimalRatio",
2093
+ "inputs": []
2094
+ },
2095
+ {
2096
+ "type": "error",
2097
+ "name": "UUPSUnauthorizedCallContext",
2098
+ "inputs": []
2099
+ },
2100
+ {
2101
+ "type": "error",
2102
+ "name": "UUPSUnsupportedProxiableUUID",
2103
+ "inputs": [
2104
+ {
2105
+ "name": "slot",
2106
+ "type": "bytes32",
2107
+ "internalType": "bytes32"
2108
+ }
2109
+ ]
2110
+ }
2111
+ ]