@merkl/contracts 0.4.7 → 0.4.9

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,1478 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Contract, utils } from "ethers";
5
+ const _abi = [
6
+ {
7
+ inputs: [
8
+ {
9
+ internalType: "address",
10
+ name: "_daoFeeReceiver",
11
+ type: "address",
12
+ },
13
+ ],
14
+ stateMutability: "nonpayable",
15
+ type: "constructor",
16
+ },
17
+ {
18
+ inputs: [],
19
+ name: "ConfigMismatchShareCollateralToken",
20
+ type: "error",
21
+ },
22
+ {
23
+ inputs: [],
24
+ name: "ConfigMismatchShareDebtToken",
25
+ type: "error",
26
+ },
27
+ {
28
+ inputs: [],
29
+ name: "ConfigMismatchShareProtectedToken",
30
+ type: "error",
31
+ },
32
+ {
33
+ inputs: [],
34
+ name: "ConfigMismatchSilo",
35
+ type: "error",
36
+ },
37
+ {
38
+ inputs: [],
39
+ name: "DaoFeeReceiverZeroAddress",
40
+ type: "error",
41
+ },
42
+ {
43
+ inputs: [],
44
+ name: "DaoMaxRangeExceeded",
45
+ type: "error",
46
+ },
47
+ {
48
+ inputs: [],
49
+ name: "DaoMinRangeExceeded",
50
+ type: "error",
51
+ },
52
+ {
53
+ inputs: [
54
+ {
55
+ internalType: "address",
56
+ name: "sender",
57
+ type: "address",
58
+ },
59
+ {
60
+ internalType: "uint256",
61
+ name: "tokenId",
62
+ type: "uint256",
63
+ },
64
+ {
65
+ internalType: "address",
66
+ name: "owner",
67
+ type: "address",
68
+ },
69
+ ],
70
+ name: "ERC721IncorrectOwner",
71
+ type: "error",
72
+ },
73
+ {
74
+ inputs: [
75
+ {
76
+ internalType: "address",
77
+ name: "operator",
78
+ type: "address",
79
+ },
80
+ {
81
+ internalType: "uint256",
82
+ name: "tokenId",
83
+ type: "uint256",
84
+ },
85
+ ],
86
+ name: "ERC721InsufficientApproval",
87
+ type: "error",
88
+ },
89
+ {
90
+ inputs: [
91
+ {
92
+ internalType: "address",
93
+ name: "approver",
94
+ type: "address",
95
+ },
96
+ ],
97
+ name: "ERC721InvalidApprover",
98
+ type: "error",
99
+ },
100
+ {
101
+ inputs: [
102
+ {
103
+ internalType: "address",
104
+ name: "operator",
105
+ type: "address",
106
+ },
107
+ ],
108
+ name: "ERC721InvalidOperator",
109
+ type: "error",
110
+ },
111
+ {
112
+ inputs: [
113
+ {
114
+ internalType: "address",
115
+ name: "owner",
116
+ type: "address",
117
+ },
118
+ ],
119
+ name: "ERC721InvalidOwner",
120
+ type: "error",
121
+ },
122
+ {
123
+ inputs: [
124
+ {
125
+ internalType: "address",
126
+ name: "receiver",
127
+ type: "address",
128
+ },
129
+ ],
130
+ name: "ERC721InvalidReceiver",
131
+ type: "error",
132
+ },
133
+ {
134
+ inputs: [
135
+ {
136
+ internalType: "address",
137
+ name: "sender",
138
+ type: "address",
139
+ },
140
+ ],
141
+ name: "ERC721InvalidSender",
142
+ type: "error",
143
+ },
144
+ {
145
+ inputs: [
146
+ {
147
+ internalType: "uint256",
148
+ name: "tokenId",
149
+ type: "uint256",
150
+ },
151
+ ],
152
+ name: "ERC721NonexistentToken",
153
+ type: "error",
154
+ },
155
+ {
156
+ inputs: [],
157
+ name: "EmptyToken0",
158
+ type: "error",
159
+ },
160
+ {
161
+ inputs: [],
162
+ name: "EmptyToken1",
163
+ type: "error",
164
+ },
165
+ {
166
+ inputs: [],
167
+ name: "FailedDeployment",
168
+ type: "error",
169
+ },
170
+ {
171
+ inputs: [],
172
+ name: "HookIsZeroAddress",
173
+ type: "error",
174
+ },
175
+ {
176
+ inputs: [
177
+ {
178
+ internalType: "uint256",
179
+ name: "balance",
180
+ type: "uint256",
181
+ },
182
+ {
183
+ internalType: "uint256",
184
+ name: "needed",
185
+ type: "uint256",
186
+ },
187
+ ],
188
+ name: "InsufficientBalance",
189
+ type: "error",
190
+ },
191
+ {
192
+ inputs: [],
193
+ name: "InvalidCallBeforeQuote",
194
+ type: "error",
195
+ },
196
+ {
197
+ inputs: [],
198
+ name: "InvalidDeployer",
199
+ type: "error",
200
+ },
201
+ {
202
+ inputs: [],
203
+ name: "InvalidFeeRange",
204
+ type: "error",
205
+ },
206
+ {
207
+ inputs: [],
208
+ name: "InvalidIrm",
209
+ type: "error",
210
+ },
211
+ {
212
+ inputs: [],
213
+ name: "InvalidLt",
214
+ type: "error",
215
+ },
216
+ {
217
+ inputs: [],
218
+ name: "InvalidMaxLtv",
219
+ type: "error",
220
+ },
221
+ {
222
+ inputs: [],
223
+ name: "InvalidQuoteToken",
224
+ type: "error",
225
+ },
226
+ {
227
+ inputs: [],
228
+ name: "LiquidationTargetLtvTooHigh",
229
+ type: "error",
230
+ },
231
+ {
232
+ inputs: [],
233
+ name: "MaxDeployerFeeExceeded",
234
+ type: "error",
235
+ },
236
+ {
237
+ inputs: [],
238
+ name: "MaxFeeExceeded",
239
+ type: "error",
240
+ },
241
+ {
242
+ inputs: [],
243
+ name: "MaxFlashloanFeeExceeded",
244
+ type: "error",
245
+ },
246
+ {
247
+ inputs: [],
248
+ name: "MaxLiquidationFeeExceeded",
249
+ type: "error",
250
+ },
251
+ {
252
+ inputs: [],
253
+ name: "MissingHookReceiver",
254
+ type: "error",
255
+ },
256
+ {
257
+ inputs: [],
258
+ name: "NotYourSilo",
259
+ type: "error",
260
+ },
261
+ {
262
+ inputs: [],
263
+ name: "OracleMisconfiguration",
264
+ type: "error",
265
+ },
266
+ {
267
+ inputs: [
268
+ {
269
+ internalType: "address",
270
+ name: "owner",
271
+ type: "address",
272
+ },
273
+ ],
274
+ name: "OwnableInvalidOwner",
275
+ type: "error",
276
+ },
277
+ {
278
+ inputs: [
279
+ {
280
+ internalType: "address",
281
+ name: "account",
282
+ type: "address",
283
+ },
284
+ ],
285
+ name: "OwnableUnauthorizedAccount",
286
+ type: "error",
287
+ },
288
+ {
289
+ inputs: [],
290
+ name: "SameAsset",
291
+ type: "error",
292
+ },
293
+ {
294
+ inputs: [],
295
+ name: "SameDaoFeeReceiver",
296
+ type: "error",
297
+ },
298
+ {
299
+ inputs: [],
300
+ name: "SameRange",
301
+ type: "error",
302
+ },
303
+ {
304
+ inputs: [
305
+ {
306
+ internalType: "uint256",
307
+ name: "value",
308
+ type: "uint256",
309
+ },
310
+ {
311
+ internalType: "uint256",
312
+ name: "length",
313
+ type: "uint256",
314
+ },
315
+ ],
316
+ name: "StringsInsufficientHexLength",
317
+ type: "error",
318
+ },
319
+ {
320
+ inputs: [],
321
+ name: "ZeroAddress",
322
+ type: "error",
323
+ },
324
+ {
325
+ anonymous: false,
326
+ inputs: [
327
+ {
328
+ indexed: true,
329
+ internalType: "address",
330
+ name: "owner",
331
+ type: "address",
332
+ },
333
+ {
334
+ indexed: true,
335
+ internalType: "address",
336
+ name: "approved",
337
+ type: "address",
338
+ },
339
+ {
340
+ indexed: true,
341
+ internalType: "uint256",
342
+ name: "tokenId",
343
+ type: "uint256",
344
+ },
345
+ ],
346
+ name: "Approval",
347
+ type: "event",
348
+ },
349
+ {
350
+ anonymous: false,
351
+ inputs: [
352
+ {
353
+ indexed: true,
354
+ internalType: "address",
355
+ name: "owner",
356
+ type: "address",
357
+ },
358
+ {
359
+ indexed: true,
360
+ internalType: "address",
361
+ name: "operator",
362
+ type: "address",
363
+ },
364
+ {
365
+ indexed: false,
366
+ internalType: "bool",
367
+ name: "approved",
368
+ type: "bool",
369
+ },
370
+ ],
371
+ name: "ApprovalForAll",
372
+ type: "event",
373
+ },
374
+ {
375
+ anonymous: false,
376
+ inputs: [
377
+ {
378
+ indexed: false,
379
+ internalType: "string",
380
+ name: "newBaseURI",
381
+ type: "string",
382
+ },
383
+ ],
384
+ name: "BaseURI",
385
+ type: "event",
386
+ },
387
+ {
388
+ anonymous: false,
389
+ inputs: [
390
+ {
391
+ indexed: false,
392
+ internalType: "uint128",
393
+ name: "minDaoFee",
394
+ type: "uint128",
395
+ },
396
+ {
397
+ indexed: false,
398
+ internalType: "uint128",
399
+ name: "maxDaoFee",
400
+ type: "uint128",
401
+ },
402
+ ],
403
+ name: "DaoFeeChanged",
404
+ type: "event",
405
+ },
406
+ {
407
+ anonymous: false,
408
+ inputs: [
409
+ {
410
+ indexed: false,
411
+ internalType: "address",
412
+ name: "daoFeeReceiver",
413
+ type: "address",
414
+ },
415
+ ],
416
+ name: "DaoFeeReceiverChanged",
417
+ type: "event",
418
+ },
419
+ {
420
+ anonymous: false,
421
+ inputs: [
422
+ {
423
+ indexed: false,
424
+ internalType: "address",
425
+ name: "asset",
426
+ type: "address",
427
+ },
428
+ {
429
+ indexed: false,
430
+ internalType: "address",
431
+ name: "daoFeeReceiver",
432
+ type: "address",
433
+ },
434
+ ],
435
+ name: "DaoFeeReceiverChangedForAsset",
436
+ type: "event",
437
+ },
438
+ {
439
+ anonymous: false,
440
+ inputs: [
441
+ {
442
+ indexed: false,
443
+ internalType: "address",
444
+ name: "silo",
445
+ type: "address",
446
+ },
447
+ {
448
+ indexed: false,
449
+ internalType: "address",
450
+ name: "daoFeeReceiver",
451
+ type: "address",
452
+ },
453
+ ],
454
+ name: "DaoFeeReceiverChangedForSilo",
455
+ type: "event",
456
+ },
457
+ {
458
+ anonymous: false,
459
+ inputs: [
460
+ {
461
+ indexed: false,
462
+ internalType: "uint256",
463
+ name: "maxDeployerFee",
464
+ type: "uint256",
465
+ },
466
+ ],
467
+ name: "MaxDeployerFeeChanged",
468
+ type: "event",
469
+ },
470
+ {
471
+ anonymous: false,
472
+ inputs: [
473
+ {
474
+ indexed: false,
475
+ internalType: "uint256",
476
+ name: "maxFlashloanFee",
477
+ type: "uint256",
478
+ },
479
+ ],
480
+ name: "MaxFlashloanFeeChanged",
481
+ type: "event",
482
+ },
483
+ {
484
+ anonymous: false,
485
+ inputs: [
486
+ {
487
+ indexed: false,
488
+ internalType: "uint256",
489
+ name: "maxLiquidationFee",
490
+ type: "uint256",
491
+ },
492
+ ],
493
+ name: "MaxLiquidationFeeChanged",
494
+ type: "event",
495
+ },
496
+ {
497
+ anonymous: false,
498
+ inputs: [
499
+ {
500
+ indexed: true,
501
+ internalType: "address",
502
+ name: "implementation",
503
+ type: "address",
504
+ },
505
+ {
506
+ indexed: true,
507
+ internalType: "address",
508
+ name: "token0",
509
+ type: "address",
510
+ },
511
+ {
512
+ indexed: true,
513
+ internalType: "address",
514
+ name: "token1",
515
+ type: "address",
516
+ },
517
+ {
518
+ indexed: false,
519
+ internalType: "address",
520
+ name: "silo0",
521
+ type: "address",
522
+ },
523
+ {
524
+ indexed: false,
525
+ internalType: "address",
526
+ name: "silo1",
527
+ type: "address",
528
+ },
529
+ {
530
+ indexed: false,
531
+ internalType: "address",
532
+ name: "siloConfig",
533
+ type: "address",
534
+ },
535
+ ],
536
+ name: "NewSilo",
537
+ type: "event",
538
+ },
539
+ {
540
+ anonymous: false,
541
+ inputs: [
542
+ {
543
+ indexed: true,
544
+ internalType: "address",
545
+ name: "previousOwner",
546
+ type: "address",
547
+ },
548
+ {
549
+ indexed: true,
550
+ internalType: "address",
551
+ name: "newOwner",
552
+ type: "address",
553
+ },
554
+ ],
555
+ name: "OwnershipTransferStarted",
556
+ type: "event",
557
+ },
558
+ {
559
+ anonymous: false,
560
+ inputs: [
561
+ {
562
+ indexed: true,
563
+ internalType: "address",
564
+ name: "previousOwner",
565
+ type: "address",
566
+ },
567
+ {
568
+ indexed: true,
569
+ internalType: "address",
570
+ name: "newOwner",
571
+ type: "address",
572
+ },
573
+ ],
574
+ name: "OwnershipTransferred",
575
+ type: "event",
576
+ },
577
+ {
578
+ anonymous: false,
579
+ inputs: [
580
+ {
581
+ indexed: true,
582
+ internalType: "address",
583
+ name: "from",
584
+ type: "address",
585
+ },
586
+ {
587
+ indexed: true,
588
+ internalType: "address",
589
+ name: "to",
590
+ type: "address",
591
+ },
592
+ {
593
+ indexed: true,
594
+ internalType: "uint256",
595
+ name: "tokenId",
596
+ type: "uint256",
597
+ },
598
+ ],
599
+ name: "Transfer",
600
+ type: "event",
601
+ },
602
+ {
603
+ inputs: [],
604
+ name: "MAX_FEE",
605
+ outputs: [
606
+ {
607
+ internalType: "uint256",
608
+ name: "",
609
+ type: "uint256",
610
+ },
611
+ ],
612
+ stateMutability: "view",
613
+ type: "function",
614
+ },
615
+ {
616
+ inputs: [],
617
+ name: "MAX_PERCENT",
618
+ outputs: [
619
+ {
620
+ internalType: "uint256",
621
+ name: "",
622
+ type: "uint256",
623
+ },
624
+ ],
625
+ stateMutability: "view",
626
+ type: "function",
627
+ },
628
+ {
629
+ inputs: [],
630
+ name: "acceptOwnership",
631
+ outputs: [],
632
+ stateMutability: "nonpayable",
633
+ type: "function",
634
+ },
635
+ {
636
+ inputs: [
637
+ {
638
+ internalType: "address",
639
+ name: "to",
640
+ type: "address",
641
+ },
642
+ {
643
+ internalType: "uint256",
644
+ name: "tokenId",
645
+ type: "uint256",
646
+ },
647
+ ],
648
+ name: "approve",
649
+ outputs: [],
650
+ stateMutability: "nonpayable",
651
+ type: "function",
652
+ },
653
+ {
654
+ inputs: [
655
+ {
656
+ internalType: "address",
657
+ name: "asset",
658
+ type: "address",
659
+ },
660
+ ],
661
+ name: "assetDaoFeeReceivers",
662
+ outputs: [
663
+ {
664
+ internalType: "address",
665
+ name: "feeReceiverPerAsset",
666
+ type: "address",
667
+ },
668
+ ],
669
+ stateMutability: "view",
670
+ type: "function",
671
+ },
672
+ {
673
+ inputs: [
674
+ {
675
+ internalType: "address",
676
+ name: "owner",
677
+ type: "address",
678
+ },
679
+ ],
680
+ name: "balanceOf",
681
+ outputs: [
682
+ {
683
+ internalType: "uint256",
684
+ name: "",
685
+ type: "uint256",
686
+ },
687
+ ],
688
+ stateMutability: "view",
689
+ type: "function",
690
+ },
691
+ {
692
+ inputs: [],
693
+ name: "baseURI",
694
+ outputs: [
695
+ {
696
+ internalType: "string",
697
+ name: "",
698
+ type: "string",
699
+ },
700
+ ],
701
+ stateMutability: "view",
702
+ type: "function",
703
+ },
704
+ {
705
+ inputs: [
706
+ {
707
+ internalType: "uint256",
708
+ name: "_siloIdToBurn",
709
+ type: "uint256",
710
+ },
711
+ ],
712
+ name: "burn",
713
+ outputs: [],
714
+ stateMutability: "nonpayable",
715
+ type: "function",
716
+ },
717
+ {
718
+ inputs: [
719
+ {
720
+ internalType: "contract ISiloConfig",
721
+ name: "_siloConfig",
722
+ type: "address",
723
+ },
724
+ {
725
+ internalType: "address",
726
+ name: "_siloImpl",
727
+ type: "address",
728
+ },
729
+ {
730
+ internalType: "address",
731
+ name: "_shareProtectedCollateralTokenImpl",
732
+ type: "address",
733
+ },
734
+ {
735
+ internalType: "address",
736
+ name: "_shareDebtTokenImpl",
737
+ type: "address",
738
+ },
739
+ {
740
+ internalType: "address",
741
+ name: "_deployer",
742
+ type: "address",
743
+ },
744
+ {
745
+ internalType: "address",
746
+ name: "_creator",
747
+ type: "address",
748
+ },
749
+ ],
750
+ name: "createSilo",
751
+ outputs: [],
752
+ stateMutability: "nonpayable",
753
+ type: "function",
754
+ },
755
+ {
756
+ inputs: [
757
+ {
758
+ internalType: "address",
759
+ name: "creator",
760
+ type: "address",
761
+ },
762
+ ],
763
+ name: "creatorSiloCounter",
764
+ outputs: [
765
+ {
766
+ internalType: "uint256",
767
+ name: "siloCounter",
768
+ type: "uint256",
769
+ },
770
+ ],
771
+ stateMutability: "view",
772
+ type: "function",
773
+ },
774
+ {
775
+ inputs: [],
776
+ name: "daoFeeRange",
777
+ outputs: [
778
+ {
779
+ components: [
780
+ {
781
+ internalType: "uint128",
782
+ name: "min",
783
+ type: "uint128",
784
+ },
785
+ {
786
+ internalType: "uint128",
787
+ name: "max",
788
+ type: "uint128",
789
+ },
790
+ ],
791
+ internalType: "struct ISiloFactory.Range",
792
+ name: "",
793
+ type: "tuple",
794
+ },
795
+ ],
796
+ stateMutability: "view",
797
+ type: "function",
798
+ },
799
+ {
800
+ inputs: [],
801
+ name: "daoFeeReceiver",
802
+ outputs: [
803
+ {
804
+ internalType: "address",
805
+ name: "",
806
+ type: "address",
807
+ },
808
+ ],
809
+ stateMutability: "view",
810
+ type: "function",
811
+ },
812
+ {
813
+ inputs: [
814
+ {
815
+ internalType: "uint256",
816
+ name: "tokenId",
817
+ type: "uint256",
818
+ },
819
+ ],
820
+ name: "getApproved",
821
+ outputs: [
822
+ {
823
+ internalType: "address",
824
+ name: "",
825
+ type: "address",
826
+ },
827
+ ],
828
+ stateMutability: "view",
829
+ type: "function",
830
+ },
831
+ {
832
+ inputs: [
833
+ {
834
+ internalType: "address",
835
+ name: "_silo",
836
+ type: "address",
837
+ },
838
+ ],
839
+ name: "getFeeReceivers",
840
+ outputs: [
841
+ {
842
+ internalType: "address",
843
+ name: "daoReceiver",
844
+ type: "address",
845
+ },
846
+ {
847
+ internalType: "address",
848
+ name: "deployerReceiver",
849
+ type: "address",
850
+ },
851
+ ],
852
+ stateMutability: "view",
853
+ type: "function",
854
+ },
855
+ {
856
+ inputs: [],
857
+ name: "getNextSiloId",
858
+ outputs: [
859
+ {
860
+ internalType: "uint256",
861
+ name: "",
862
+ type: "uint256",
863
+ },
864
+ ],
865
+ stateMutability: "view",
866
+ type: "function",
867
+ },
868
+ {
869
+ inputs: [
870
+ {
871
+ internalType: "uint256",
872
+ name: "id",
873
+ type: "uint256",
874
+ },
875
+ ],
876
+ name: "idToSiloConfig",
877
+ outputs: [
878
+ {
879
+ internalType: "address",
880
+ name: "siloConfig",
881
+ type: "address",
882
+ },
883
+ ],
884
+ stateMutability: "view",
885
+ type: "function",
886
+ },
887
+ {
888
+ inputs: [
889
+ {
890
+ internalType: "address",
891
+ name: "owner",
892
+ type: "address",
893
+ },
894
+ {
895
+ internalType: "address",
896
+ name: "operator",
897
+ type: "address",
898
+ },
899
+ ],
900
+ name: "isApprovedForAll",
901
+ outputs: [
902
+ {
903
+ internalType: "bool",
904
+ name: "",
905
+ type: "bool",
906
+ },
907
+ ],
908
+ stateMutability: "view",
909
+ type: "function",
910
+ },
911
+ {
912
+ inputs: [
913
+ {
914
+ internalType: "address",
915
+ name: "silo",
916
+ type: "address",
917
+ },
918
+ ],
919
+ name: "isSilo",
920
+ outputs: [
921
+ {
922
+ internalType: "bool",
923
+ name: "",
924
+ type: "bool",
925
+ },
926
+ ],
927
+ stateMutability: "view",
928
+ type: "function",
929
+ },
930
+ {
931
+ inputs: [],
932
+ name: "maxDeployerFee",
933
+ outputs: [
934
+ {
935
+ internalType: "uint256",
936
+ name: "",
937
+ type: "uint256",
938
+ },
939
+ ],
940
+ stateMutability: "view",
941
+ type: "function",
942
+ },
943
+ {
944
+ inputs: [],
945
+ name: "maxFlashloanFee",
946
+ outputs: [
947
+ {
948
+ internalType: "uint256",
949
+ name: "",
950
+ type: "uint256",
951
+ },
952
+ ],
953
+ stateMutability: "view",
954
+ type: "function",
955
+ },
956
+ {
957
+ inputs: [],
958
+ name: "maxLiquidationFee",
959
+ outputs: [
960
+ {
961
+ internalType: "uint256",
962
+ name: "",
963
+ type: "uint256",
964
+ },
965
+ ],
966
+ stateMutability: "view",
967
+ type: "function",
968
+ },
969
+ {
970
+ inputs: [],
971
+ name: "name",
972
+ outputs: [
973
+ {
974
+ internalType: "string",
975
+ name: "",
976
+ type: "string",
977
+ },
978
+ ],
979
+ stateMutability: "view",
980
+ type: "function",
981
+ },
982
+ {
983
+ inputs: [],
984
+ name: "owner",
985
+ outputs: [
986
+ {
987
+ internalType: "address",
988
+ name: "",
989
+ type: "address",
990
+ },
991
+ ],
992
+ stateMutability: "view",
993
+ type: "function",
994
+ },
995
+ {
996
+ inputs: [
997
+ {
998
+ internalType: "uint256",
999
+ name: "tokenId",
1000
+ type: "uint256",
1001
+ },
1002
+ ],
1003
+ name: "ownerOf",
1004
+ outputs: [
1005
+ {
1006
+ internalType: "address",
1007
+ name: "",
1008
+ type: "address",
1009
+ },
1010
+ ],
1011
+ stateMutability: "view",
1012
+ type: "function",
1013
+ },
1014
+ {
1015
+ inputs: [],
1016
+ name: "pendingOwner",
1017
+ outputs: [
1018
+ {
1019
+ internalType: "address",
1020
+ name: "",
1021
+ type: "address",
1022
+ },
1023
+ ],
1024
+ stateMutability: "view",
1025
+ type: "function",
1026
+ },
1027
+ {
1028
+ inputs: [],
1029
+ name: "renounceOwnership",
1030
+ outputs: [],
1031
+ stateMutability: "nonpayable",
1032
+ type: "function",
1033
+ },
1034
+ {
1035
+ inputs: [
1036
+ {
1037
+ internalType: "address",
1038
+ name: "from",
1039
+ type: "address",
1040
+ },
1041
+ {
1042
+ internalType: "address",
1043
+ name: "to",
1044
+ type: "address",
1045
+ },
1046
+ {
1047
+ internalType: "uint256",
1048
+ name: "tokenId",
1049
+ type: "uint256",
1050
+ },
1051
+ ],
1052
+ name: "safeTransferFrom",
1053
+ outputs: [],
1054
+ stateMutability: "nonpayable",
1055
+ type: "function",
1056
+ },
1057
+ {
1058
+ inputs: [
1059
+ {
1060
+ internalType: "address",
1061
+ name: "from",
1062
+ type: "address",
1063
+ },
1064
+ {
1065
+ internalType: "address",
1066
+ name: "to",
1067
+ type: "address",
1068
+ },
1069
+ {
1070
+ internalType: "uint256",
1071
+ name: "tokenId",
1072
+ type: "uint256",
1073
+ },
1074
+ {
1075
+ internalType: "bytes",
1076
+ name: "data",
1077
+ type: "bytes",
1078
+ },
1079
+ ],
1080
+ name: "safeTransferFrom",
1081
+ outputs: [],
1082
+ stateMutability: "nonpayable",
1083
+ type: "function",
1084
+ },
1085
+ {
1086
+ inputs: [
1087
+ {
1088
+ internalType: "address",
1089
+ name: "operator",
1090
+ type: "address",
1091
+ },
1092
+ {
1093
+ internalType: "bool",
1094
+ name: "approved",
1095
+ type: "bool",
1096
+ },
1097
+ ],
1098
+ name: "setApprovalForAll",
1099
+ outputs: [],
1100
+ stateMutability: "nonpayable",
1101
+ type: "function",
1102
+ },
1103
+ {
1104
+ inputs: [
1105
+ {
1106
+ internalType: "string",
1107
+ name: "_newBaseURI",
1108
+ type: "string",
1109
+ },
1110
+ ],
1111
+ name: "setBaseURI",
1112
+ outputs: [],
1113
+ stateMutability: "nonpayable",
1114
+ type: "function",
1115
+ },
1116
+ {
1117
+ inputs: [
1118
+ {
1119
+ internalType: "uint128",
1120
+ name: "_minFee",
1121
+ type: "uint128",
1122
+ },
1123
+ {
1124
+ internalType: "uint128",
1125
+ name: "_maxFee",
1126
+ type: "uint128",
1127
+ },
1128
+ ],
1129
+ name: "setDaoFee",
1130
+ outputs: [],
1131
+ stateMutability: "nonpayable",
1132
+ type: "function",
1133
+ },
1134
+ {
1135
+ inputs: [
1136
+ {
1137
+ internalType: "address",
1138
+ name: "_newDaoFeeReceiver",
1139
+ type: "address",
1140
+ },
1141
+ ],
1142
+ name: "setDaoFeeReceiver",
1143
+ outputs: [],
1144
+ stateMutability: "nonpayable",
1145
+ type: "function",
1146
+ },
1147
+ {
1148
+ inputs: [
1149
+ {
1150
+ internalType: "address",
1151
+ name: "_asset",
1152
+ type: "address",
1153
+ },
1154
+ {
1155
+ internalType: "address",
1156
+ name: "_newDaoFeeReceiver",
1157
+ type: "address",
1158
+ },
1159
+ ],
1160
+ name: "setDaoFeeReceiverForAsset",
1161
+ outputs: [],
1162
+ stateMutability: "nonpayable",
1163
+ type: "function",
1164
+ },
1165
+ {
1166
+ inputs: [
1167
+ {
1168
+ internalType: "address",
1169
+ name: "_silo",
1170
+ type: "address",
1171
+ },
1172
+ {
1173
+ internalType: "address",
1174
+ name: "_newDaoFeeReceiver",
1175
+ type: "address",
1176
+ },
1177
+ ],
1178
+ name: "setDaoFeeReceiverForSilo",
1179
+ outputs: [],
1180
+ stateMutability: "nonpayable",
1181
+ type: "function",
1182
+ },
1183
+ {
1184
+ inputs: [
1185
+ {
1186
+ internalType: "uint256",
1187
+ name: "_newMaxDeployerFee",
1188
+ type: "uint256",
1189
+ },
1190
+ ],
1191
+ name: "setMaxDeployerFee",
1192
+ outputs: [],
1193
+ stateMutability: "nonpayable",
1194
+ type: "function",
1195
+ },
1196
+ {
1197
+ inputs: [
1198
+ {
1199
+ internalType: "uint256",
1200
+ name: "_newMaxFlashloanFee",
1201
+ type: "uint256",
1202
+ },
1203
+ ],
1204
+ name: "setMaxFlashloanFee",
1205
+ outputs: [],
1206
+ stateMutability: "nonpayable",
1207
+ type: "function",
1208
+ },
1209
+ {
1210
+ inputs: [
1211
+ {
1212
+ internalType: "uint256",
1213
+ name: "_newMaxLiquidationFee",
1214
+ type: "uint256",
1215
+ },
1216
+ ],
1217
+ name: "setMaxLiquidationFee",
1218
+ outputs: [],
1219
+ stateMutability: "nonpayable",
1220
+ type: "function",
1221
+ },
1222
+ {
1223
+ inputs: [
1224
+ {
1225
+ internalType: "address",
1226
+ name: "silo",
1227
+ type: "address",
1228
+ },
1229
+ ],
1230
+ name: "siloDaoFeeReceivers",
1231
+ outputs: [
1232
+ {
1233
+ internalType: "address",
1234
+ name: "feeReceiverPerSilo",
1235
+ type: "address",
1236
+ },
1237
+ ],
1238
+ stateMutability: "view",
1239
+ type: "function",
1240
+ },
1241
+ {
1242
+ inputs: [
1243
+ {
1244
+ internalType: "bytes4",
1245
+ name: "interfaceId",
1246
+ type: "bytes4",
1247
+ },
1248
+ ],
1249
+ name: "supportsInterface",
1250
+ outputs: [
1251
+ {
1252
+ internalType: "bool",
1253
+ name: "",
1254
+ type: "bool",
1255
+ },
1256
+ ],
1257
+ stateMutability: "view",
1258
+ type: "function",
1259
+ },
1260
+ {
1261
+ inputs: [],
1262
+ name: "symbol",
1263
+ outputs: [
1264
+ {
1265
+ internalType: "string",
1266
+ name: "",
1267
+ type: "string",
1268
+ },
1269
+ ],
1270
+ stateMutability: "view",
1271
+ type: "function",
1272
+ },
1273
+ {
1274
+ inputs: [
1275
+ {
1276
+ internalType: "uint256",
1277
+ name: "tokenId",
1278
+ type: "uint256",
1279
+ },
1280
+ ],
1281
+ name: "tokenURI",
1282
+ outputs: [
1283
+ {
1284
+ internalType: "string",
1285
+ name: "",
1286
+ type: "string",
1287
+ },
1288
+ ],
1289
+ stateMutability: "view",
1290
+ type: "function",
1291
+ },
1292
+ {
1293
+ inputs: [
1294
+ {
1295
+ internalType: "address",
1296
+ name: "from",
1297
+ type: "address",
1298
+ },
1299
+ {
1300
+ internalType: "address",
1301
+ name: "to",
1302
+ type: "address",
1303
+ },
1304
+ {
1305
+ internalType: "uint256",
1306
+ name: "tokenId",
1307
+ type: "uint256",
1308
+ },
1309
+ ],
1310
+ name: "transferFrom",
1311
+ outputs: [],
1312
+ stateMutability: "nonpayable",
1313
+ type: "function",
1314
+ },
1315
+ {
1316
+ inputs: [
1317
+ {
1318
+ internalType: "address",
1319
+ name: "newOwner",
1320
+ type: "address",
1321
+ },
1322
+ ],
1323
+ name: "transferOwnership",
1324
+ outputs: [],
1325
+ stateMutability: "nonpayable",
1326
+ type: "function",
1327
+ },
1328
+ {
1329
+ inputs: [
1330
+ {
1331
+ components: [
1332
+ {
1333
+ internalType: "address",
1334
+ name: "deployer",
1335
+ type: "address",
1336
+ },
1337
+ {
1338
+ internalType: "address",
1339
+ name: "hookReceiver",
1340
+ type: "address",
1341
+ },
1342
+ {
1343
+ internalType: "uint256",
1344
+ name: "deployerFee",
1345
+ type: "uint256",
1346
+ },
1347
+ {
1348
+ internalType: "uint256",
1349
+ name: "daoFee",
1350
+ type: "uint256",
1351
+ },
1352
+ {
1353
+ internalType: "address",
1354
+ name: "token0",
1355
+ type: "address",
1356
+ },
1357
+ {
1358
+ internalType: "address",
1359
+ name: "solvencyOracle0",
1360
+ type: "address",
1361
+ },
1362
+ {
1363
+ internalType: "address",
1364
+ name: "maxLtvOracle0",
1365
+ type: "address",
1366
+ },
1367
+ {
1368
+ internalType: "address",
1369
+ name: "interestRateModel0",
1370
+ type: "address",
1371
+ },
1372
+ {
1373
+ internalType: "uint256",
1374
+ name: "maxLtv0",
1375
+ type: "uint256",
1376
+ },
1377
+ {
1378
+ internalType: "uint256",
1379
+ name: "lt0",
1380
+ type: "uint256",
1381
+ },
1382
+ {
1383
+ internalType: "uint256",
1384
+ name: "liquidationTargetLtv0",
1385
+ type: "uint256",
1386
+ },
1387
+ {
1388
+ internalType: "uint256",
1389
+ name: "liquidationFee0",
1390
+ type: "uint256",
1391
+ },
1392
+ {
1393
+ internalType: "uint256",
1394
+ name: "flashloanFee0",
1395
+ type: "uint256",
1396
+ },
1397
+ {
1398
+ internalType: "bool",
1399
+ name: "callBeforeQuote0",
1400
+ type: "bool",
1401
+ },
1402
+ {
1403
+ internalType: "address",
1404
+ name: "token1",
1405
+ type: "address",
1406
+ },
1407
+ {
1408
+ internalType: "address",
1409
+ name: "solvencyOracle1",
1410
+ type: "address",
1411
+ },
1412
+ {
1413
+ internalType: "address",
1414
+ name: "maxLtvOracle1",
1415
+ type: "address",
1416
+ },
1417
+ {
1418
+ internalType: "address",
1419
+ name: "interestRateModel1",
1420
+ type: "address",
1421
+ },
1422
+ {
1423
+ internalType: "uint256",
1424
+ name: "maxLtv1",
1425
+ type: "uint256",
1426
+ },
1427
+ {
1428
+ internalType: "uint256",
1429
+ name: "lt1",
1430
+ type: "uint256",
1431
+ },
1432
+ {
1433
+ internalType: "uint256",
1434
+ name: "liquidationTargetLtv1",
1435
+ type: "uint256",
1436
+ },
1437
+ {
1438
+ internalType: "uint256",
1439
+ name: "liquidationFee1",
1440
+ type: "uint256",
1441
+ },
1442
+ {
1443
+ internalType: "uint256",
1444
+ name: "flashloanFee1",
1445
+ type: "uint256",
1446
+ },
1447
+ {
1448
+ internalType: "bool",
1449
+ name: "callBeforeQuote1",
1450
+ type: "bool",
1451
+ },
1452
+ ],
1453
+ internalType: "struct ISiloConfig.InitData",
1454
+ name: "_initData",
1455
+ type: "tuple",
1456
+ },
1457
+ ],
1458
+ name: "validateSiloInitData",
1459
+ outputs: [
1460
+ {
1461
+ internalType: "bool",
1462
+ name: "",
1463
+ type: "bool",
1464
+ },
1465
+ ],
1466
+ stateMutability: "view",
1467
+ type: "function",
1468
+ },
1469
+ ];
1470
+ export class SiloFactory__factory {
1471
+ static abi = _abi;
1472
+ static createInterface() {
1473
+ return new utils.Interface(_abi);
1474
+ }
1475
+ static connect(address, signerOrProvider) {
1476
+ return new Contract(address, _abi, signerOrProvider);
1477
+ }
1478
+ }