@wildcatfi/wildcat-sdk 3.0.64-beta → 3.0.66-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/dist/access/access-control.d.ts +14 -4
  2. package/dist/access/access-control.d.ts.map +1 -1
  3. package/dist/access/access-control.js +43 -9
  4. package/dist/access/access-control.js.map +1 -1
  5. package/dist/access/fixed-term.d.ts +14 -4
  6. package/dist/access/fixed-term.d.ts.map +1 -1
  7. package/dist/access/fixed-term.js +43 -9
  8. package/dist/access/fixed-term.js.map +1 -1
  9. package/dist/access/index.d.ts +7 -0
  10. package/dist/access/index.d.ts.map +1 -1
  11. package/dist/access/index.js +21 -1
  12. package/dist/access/index.js.map +1 -1
  13. package/dist/access/revolving.d.ts +7 -0
  14. package/dist/access/revolving.d.ts.map +1 -0
  15. package/dist/access/revolving.js +15 -0
  16. package/dist/access/revolving.js.map +1 -0
  17. package/dist/access/validation.d.ts +28 -5
  18. package/dist/access/validation.d.ts.map +1 -1
  19. package/dist/access/validation.js +17 -1
  20. package/dist/access/validation.js.map +1 -1
  21. package/dist/account/index.d.ts +7 -4
  22. package/dist/account/index.d.ts.map +1 -1
  23. package/dist/account/index.js +103 -41
  24. package/dist/account/index.js.map +1 -1
  25. package/dist/constants.d.ts +17 -4
  26. package/dist/constants.d.ts.map +1 -1
  27. package/dist/constants.js +67 -5
  28. package/dist/constants.js.map +1 -1
  29. package/dist/index.d.ts +3 -2
  30. package/dist/index.d.ts.map +1 -1
  31. package/dist/index.js +5 -3
  32. package/dist/index.js.map +1 -1
  33. package/dist/market.d.ts +9 -4
  34. package/dist/market.d.ts.map +1 -1
  35. package/dist/market.js +185 -18
  36. package/dist/market.js.map +1 -1
  37. package/dist/token.d.ts +3 -2
  38. package/dist/token.d.ts.map +1 -1
  39. package/dist/token.js +9 -0
  40. package/dist/token.js.map +1 -1
  41. package/dist/typechain/HooksFactoryRevolving.d.ts +603 -0
  42. package/dist/typechain/HooksFactoryRevolving.d.ts.map +1 -0
  43. package/dist/typechain/HooksFactoryRevolving.js +3 -0
  44. package/dist/typechain/HooksFactoryRevolving.js.map +1 -0
  45. package/dist/typechain/MarketLensV2_5.d.ts +996 -0
  46. package/dist/typechain/MarketLensV2_5.d.ts.map +1 -0
  47. package/dist/typechain/MarketLensV2_5.js +3 -0
  48. package/dist/typechain/MarketLensV2_5.js.map +1 -0
  49. package/dist/typechain/Wildcat4626Wrapper.sol/IWildcatMarketToken.d.ts +176 -0
  50. package/dist/typechain/Wildcat4626Wrapper.sol/IWildcatMarketToken.d.ts.map +1 -0
  51. package/dist/typechain/Wildcat4626Wrapper.sol/IWildcatMarketToken.js +3 -0
  52. package/dist/typechain/Wildcat4626Wrapper.sol/IWildcatMarketToken.js.map +1 -0
  53. package/dist/typechain/Wildcat4626Wrapper.sol/IWildcatSanctionsSentinel.d.ts +44 -0
  54. package/dist/typechain/Wildcat4626Wrapper.sol/IWildcatSanctionsSentinel.d.ts.map +1 -0
  55. package/dist/typechain/Wildcat4626Wrapper.sol/IWildcatSanctionsSentinel.js +3 -0
  56. package/dist/typechain/Wildcat4626Wrapper.sol/IWildcatSanctionsSentinel.js.map +1 -0
  57. package/dist/typechain/{Wildcat4626Wrapper.d.ts → Wildcat4626Wrapper.sol/Wildcat4626Wrapper.d.ts} +120 -46
  58. package/dist/typechain/Wildcat4626Wrapper.sol/Wildcat4626Wrapper.d.ts.map +1 -0
  59. package/dist/typechain/Wildcat4626Wrapper.sol/Wildcat4626Wrapper.js.map +1 -0
  60. package/dist/typechain/Wildcat4626Wrapper.sol/index.d.ts +4 -0
  61. package/dist/typechain/Wildcat4626Wrapper.sol/index.d.ts.map +1 -0
  62. package/dist/typechain/Wildcat4626Wrapper.sol/index.js +3 -0
  63. package/dist/typechain/Wildcat4626Wrapper.sol/index.js.map +1 -0
  64. package/dist/typechain/Wildcat4626WrapperFactory.d.ts +5 -5
  65. package/dist/typechain/Wildcat4626WrapperFactory.d.ts.map +1 -1
  66. package/dist/typechain/factories/HooksFactoryRevolving__factory.d.ts +872 -0
  67. package/dist/typechain/factories/HooksFactoryRevolving__factory.d.ts.map +1 -0
  68. package/dist/typechain/factories/HooksFactoryRevolving__factory.js +1131 -0
  69. package/dist/typechain/factories/HooksFactoryRevolving__factory.js.map +1 -0
  70. package/dist/typechain/factories/MarketLensV2_5__factory.d.ts +14397 -0
  71. package/dist/typechain/factories/MarketLensV2_5__factory.d.ts.map +1 -0
  72. package/dist/typechain/factories/MarketLensV2_5__factory.js +18393 -0
  73. package/dist/typechain/factories/MarketLensV2_5__factory.js.map +1 -0
  74. package/dist/typechain/factories/Wildcat4626Wrapper.sol/IWildcatMarketToken__factory.d.ts +193 -0
  75. package/dist/typechain/factories/Wildcat4626Wrapper.sol/IWildcatMarketToken__factory.d.ts.map +1 -0
  76. package/dist/typechain/factories/Wildcat4626Wrapper.sol/IWildcatMarketToken__factory.js +263 -0
  77. package/dist/typechain/factories/Wildcat4626Wrapper.sol/IWildcatMarketToken__factory.js.map +1 -0
  78. package/dist/typechain/factories/Wildcat4626Wrapper.sol/IWildcatSanctionsSentinel__factory.d.ts +27 -0
  79. package/dist/typechain/factories/Wildcat4626Wrapper.sol/IWildcatSanctionsSentinel__factory.d.ts.map +1 -0
  80. package/dist/typechain/factories/Wildcat4626Wrapper.sol/IWildcatSanctionsSentinel__factory.js +44 -0
  81. package/dist/typechain/factories/Wildcat4626Wrapper.sol/IWildcatSanctionsSentinel__factory.js.map +1 -0
  82. package/dist/typechain/factories/{Wildcat4626Wrapper__factory.d.ts → Wildcat4626Wrapper.sol/Wildcat4626Wrapper__factory.d.ts} +148 -16
  83. package/dist/typechain/factories/Wildcat4626Wrapper.sol/Wildcat4626Wrapper__factory.d.ts.map +1 -0
  84. package/dist/typechain/factories/{Wildcat4626Wrapper__factory.js → Wildcat4626Wrapper.sol/Wildcat4626Wrapper__factory.js} +184 -15
  85. package/dist/typechain/factories/Wildcat4626Wrapper.sol/Wildcat4626Wrapper__factory.js.map +1 -0
  86. package/dist/typechain/factories/Wildcat4626Wrapper.sol/index.d.ts +4 -0
  87. package/dist/typechain/factories/Wildcat4626Wrapper.sol/index.d.ts.map +1 -0
  88. package/dist/typechain/factories/Wildcat4626Wrapper.sol/index.js +13 -0
  89. package/dist/typechain/factories/Wildcat4626Wrapper.sol/index.js.map +1 -0
  90. package/dist/typechain/factories/Wildcat4626WrapperFactory__factory.d.ts +2 -2
  91. package/dist/typechain/factories/Wildcat4626WrapperFactory__factory.js +2 -2
  92. package/dist/typechain/factories/Wildcat4626WrapperFactory__factory.js.map +1 -1
  93. package/dist/typechain/factories/index.d.ts +3 -1
  94. package/dist/typechain/factories/index.d.ts.map +1 -1
  95. package/dist/typechain/factories/index.js +29 -3
  96. package/dist/typechain/factories/index.js.map +1 -1
  97. package/dist/typechain/index.d.ts +13 -2
  98. package/dist/typechain/index.d.ts.map +1 -1
  99. package/dist/typechain/index.js +10 -2
  100. package/dist/typechain/index.js.map +1 -1
  101. package/dist/types.d.ts +4 -0
  102. package/dist/types.d.ts.map +1 -1
  103. package/dist/types.js +8 -1
  104. package/dist/types.js.map +1 -1
  105. package/dist/withdrawal-batch.d.ts +5 -3
  106. package/dist/withdrawal-batch.d.ts.map +1 -1
  107. package/dist/withdrawal-batch.js +3 -3
  108. package/dist/withdrawal-batch.js.map +1 -1
  109. package/dist/withdrawal-status.d.ts +6 -3
  110. package/dist/withdrawal-status.d.ts.map +1 -1
  111. package/dist/withdrawal-status.js +5 -5
  112. package/dist/withdrawal-status.js.map +1 -1
  113. package/package.json +6 -2
  114. package/dist/typechain/Wildcat4626Wrapper.d.ts.map +0 -1
  115. package/dist/typechain/Wildcat4626Wrapper.js.map +0 -1
  116. package/dist/typechain/factories/Wildcat4626Wrapper__factory.d.ts.map +0 -1
  117. package/dist/typechain/factories/Wildcat4626Wrapper__factory.js.map +0 -1
  118. /package/dist/typechain/{Wildcat4626Wrapper.js → Wildcat4626Wrapper.sol/Wildcat4626Wrapper.js} +0 -0
@@ -0,0 +1,1131 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.HooksFactoryRevolving__factory = void 0;
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [],
11
+ name: "InvalidCommitmentFeeBips",
12
+ type: "error",
13
+ },
14
+ {
15
+ inputs: [],
16
+ name: "InvalidMarketData",
17
+ type: "error",
18
+ },
19
+ {
20
+ inputs: [],
21
+ name: "UnsupportedMarketDataVersion",
22
+ type: "error",
23
+ },
24
+ {
25
+ anonymous: false,
26
+ inputs: [
27
+ {
28
+ indexed: false,
29
+ internalType: "address",
30
+ name: "hooksInstance",
31
+ type: "address",
32
+ },
33
+ {
34
+ indexed: false,
35
+ internalType: "address",
36
+ name: "hooksTemplate",
37
+ type: "address",
38
+ },
39
+ ],
40
+ name: "HooksInstanceDeployed",
41
+ type: "event",
42
+ },
43
+ {
44
+ anonymous: false,
45
+ inputs: [
46
+ {
47
+ indexed: false,
48
+ internalType: "address",
49
+ name: "hooksTemplate",
50
+ type: "address",
51
+ },
52
+ {
53
+ indexed: false,
54
+ internalType: "string",
55
+ name: "name",
56
+ type: "string",
57
+ },
58
+ {
59
+ indexed: false,
60
+ internalType: "address",
61
+ name: "feeRecipient",
62
+ type: "address",
63
+ },
64
+ {
65
+ indexed: false,
66
+ internalType: "address",
67
+ name: "originationFeeAsset",
68
+ type: "address",
69
+ },
70
+ {
71
+ indexed: false,
72
+ internalType: "uint80",
73
+ name: "originationFeeAmount",
74
+ type: "uint80",
75
+ },
76
+ {
77
+ indexed: false,
78
+ internalType: "uint16",
79
+ name: "protocolFeeBips",
80
+ type: "uint16",
81
+ },
82
+ ],
83
+ name: "HooksTemplateAdded",
84
+ type: "event",
85
+ },
86
+ {
87
+ anonymous: false,
88
+ inputs: [
89
+ {
90
+ indexed: false,
91
+ internalType: "address",
92
+ name: "hooksTemplate",
93
+ type: "address",
94
+ },
95
+ ],
96
+ name: "HooksTemplateDisabled",
97
+ type: "event",
98
+ },
99
+ {
100
+ anonymous: false,
101
+ inputs: [
102
+ {
103
+ indexed: false,
104
+ internalType: "address",
105
+ name: "hooksTemplate",
106
+ type: "address",
107
+ },
108
+ {
109
+ indexed: false,
110
+ internalType: "address",
111
+ name: "feeRecipient",
112
+ type: "address",
113
+ },
114
+ {
115
+ indexed: false,
116
+ internalType: "address",
117
+ name: "originationFeeAsset",
118
+ type: "address",
119
+ },
120
+ {
121
+ indexed: false,
122
+ internalType: "uint80",
123
+ name: "originationFeeAmount",
124
+ type: "uint80",
125
+ },
126
+ {
127
+ indexed: false,
128
+ internalType: "uint16",
129
+ name: "protocolFeeBips",
130
+ type: "uint16",
131
+ },
132
+ ],
133
+ name: "HooksTemplateFeesUpdated",
134
+ type: "event",
135
+ },
136
+ {
137
+ anonymous: false,
138
+ inputs: [
139
+ {
140
+ indexed: true,
141
+ internalType: "address",
142
+ name: "hooksTemplate",
143
+ type: "address",
144
+ },
145
+ {
146
+ indexed: true,
147
+ internalType: "address",
148
+ name: "market",
149
+ type: "address",
150
+ },
151
+ {
152
+ indexed: false,
153
+ internalType: "string",
154
+ name: "name",
155
+ type: "string",
156
+ },
157
+ {
158
+ indexed: false,
159
+ internalType: "string",
160
+ name: "symbol",
161
+ type: "string",
162
+ },
163
+ {
164
+ indexed: false,
165
+ internalType: "address",
166
+ name: "asset",
167
+ type: "address",
168
+ },
169
+ {
170
+ indexed: false,
171
+ internalType: "uint256",
172
+ name: "maxTotalSupply",
173
+ type: "uint256",
174
+ },
175
+ {
176
+ indexed: false,
177
+ internalType: "uint256",
178
+ name: "annualInterestBips",
179
+ type: "uint256",
180
+ },
181
+ {
182
+ indexed: false,
183
+ internalType: "uint256",
184
+ name: "delinquencyFeeBips",
185
+ type: "uint256",
186
+ },
187
+ {
188
+ indexed: false,
189
+ internalType: "uint256",
190
+ name: "withdrawalBatchDuration",
191
+ type: "uint256",
192
+ },
193
+ {
194
+ indexed: false,
195
+ internalType: "uint256",
196
+ name: "reserveRatioBips",
197
+ type: "uint256",
198
+ },
199
+ {
200
+ indexed: false,
201
+ internalType: "uint256",
202
+ name: "delinquencyGracePeriod",
203
+ type: "uint256",
204
+ },
205
+ {
206
+ indexed: false,
207
+ internalType: "HooksConfig",
208
+ name: "hooks",
209
+ type: "uint256",
210
+ },
211
+ ],
212
+ name: "MarketDeployed",
213
+ type: "event",
214
+ },
215
+ {
216
+ inputs: [
217
+ {
218
+ internalType: "address",
219
+ name: "hooksTemplate",
220
+ type: "address",
221
+ },
222
+ {
223
+ internalType: "string",
224
+ name: "name",
225
+ type: "string",
226
+ },
227
+ {
228
+ internalType: "address",
229
+ name: "feeRecipient",
230
+ type: "address",
231
+ },
232
+ {
233
+ internalType: "address",
234
+ name: "originationFeeAsset",
235
+ type: "address",
236
+ },
237
+ {
238
+ internalType: "uint80",
239
+ name: "originationFeeAmount",
240
+ type: "uint80",
241
+ },
242
+ {
243
+ internalType: "uint16",
244
+ name: "protocolFeeBips",
245
+ type: "uint16",
246
+ },
247
+ ],
248
+ name: "addHooksTemplate",
249
+ outputs: [],
250
+ stateMutability: "nonpayable",
251
+ type: "function",
252
+ },
253
+ {
254
+ inputs: [],
255
+ name: "archController",
256
+ outputs: [
257
+ {
258
+ internalType: "address",
259
+ name: "",
260
+ type: "address",
261
+ },
262
+ ],
263
+ stateMutability: "view",
264
+ type: "function",
265
+ },
266
+ {
267
+ inputs: [
268
+ {
269
+ internalType: "bytes32",
270
+ name: "salt",
271
+ type: "bytes32",
272
+ },
273
+ ],
274
+ name: "computeMarketAddress",
275
+ outputs: [
276
+ {
277
+ internalType: "address",
278
+ name: "",
279
+ type: "address",
280
+ },
281
+ ],
282
+ stateMutability: "view",
283
+ type: "function",
284
+ },
285
+ {
286
+ inputs: [
287
+ {
288
+ internalType: "address",
289
+ name: "hooksTemplate",
290
+ type: "address",
291
+ },
292
+ {
293
+ internalType: "bytes",
294
+ name: "constructorArgs",
295
+ type: "bytes",
296
+ },
297
+ ],
298
+ name: "deployHooksInstance",
299
+ outputs: [
300
+ {
301
+ internalType: "address",
302
+ name: "hooksDeployment",
303
+ type: "address",
304
+ },
305
+ ],
306
+ stateMutability: "nonpayable",
307
+ type: "function",
308
+ },
309
+ {
310
+ inputs: [
311
+ {
312
+ components: [
313
+ {
314
+ internalType: "address",
315
+ name: "asset",
316
+ type: "address",
317
+ },
318
+ {
319
+ internalType: "string",
320
+ name: "namePrefix",
321
+ type: "string",
322
+ },
323
+ {
324
+ internalType: "string",
325
+ name: "symbolPrefix",
326
+ type: "string",
327
+ },
328
+ {
329
+ internalType: "uint128",
330
+ name: "maxTotalSupply",
331
+ type: "uint128",
332
+ },
333
+ {
334
+ internalType: "uint16",
335
+ name: "annualInterestBips",
336
+ type: "uint16",
337
+ },
338
+ {
339
+ internalType: "uint16",
340
+ name: "delinquencyFeeBips",
341
+ type: "uint16",
342
+ },
343
+ {
344
+ internalType: "uint32",
345
+ name: "withdrawalBatchDuration",
346
+ type: "uint32",
347
+ },
348
+ {
349
+ internalType: "uint16",
350
+ name: "reserveRatioBips",
351
+ type: "uint16",
352
+ },
353
+ {
354
+ internalType: "uint32",
355
+ name: "delinquencyGracePeriod",
356
+ type: "uint32",
357
+ },
358
+ {
359
+ internalType: "HooksConfig",
360
+ name: "hooks",
361
+ type: "uint256",
362
+ },
363
+ ],
364
+ internalType: "struct DeployMarketInputsV2",
365
+ name: "parameters",
366
+ type: "tuple",
367
+ },
368
+ {
369
+ internalType: "bytes",
370
+ name: "hooksData",
371
+ type: "bytes",
372
+ },
373
+ {
374
+ internalType: "bytes",
375
+ name: "marketData",
376
+ type: "bytes",
377
+ },
378
+ {
379
+ internalType: "bytes32",
380
+ name: "salt",
381
+ type: "bytes32",
382
+ },
383
+ {
384
+ internalType: "address",
385
+ name: "originationFeeAsset",
386
+ type: "address",
387
+ },
388
+ {
389
+ internalType: "uint256",
390
+ name: "originationFeeAmount",
391
+ type: "uint256",
392
+ },
393
+ ],
394
+ name: "deployMarket",
395
+ outputs: [
396
+ {
397
+ internalType: "address",
398
+ name: "market",
399
+ type: "address",
400
+ },
401
+ ],
402
+ stateMutability: "nonpayable",
403
+ type: "function",
404
+ },
405
+ {
406
+ inputs: [
407
+ {
408
+ internalType: "address",
409
+ name: "hooksTemplate",
410
+ type: "address",
411
+ },
412
+ {
413
+ internalType: "bytes",
414
+ name: "hooksConstructorArgs",
415
+ type: "bytes",
416
+ },
417
+ {
418
+ components: [
419
+ {
420
+ internalType: "address",
421
+ name: "asset",
422
+ type: "address",
423
+ },
424
+ {
425
+ internalType: "string",
426
+ name: "namePrefix",
427
+ type: "string",
428
+ },
429
+ {
430
+ internalType: "string",
431
+ name: "symbolPrefix",
432
+ type: "string",
433
+ },
434
+ {
435
+ internalType: "uint128",
436
+ name: "maxTotalSupply",
437
+ type: "uint128",
438
+ },
439
+ {
440
+ internalType: "uint16",
441
+ name: "annualInterestBips",
442
+ type: "uint16",
443
+ },
444
+ {
445
+ internalType: "uint16",
446
+ name: "delinquencyFeeBips",
447
+ type: "uint16",
448
+ },
449
+ {
450
+ internalType: "uint32",
451
+ name: "withdrawalBatchDuration",
452
+ type: "uint32",
453
+ },
454
+ {
455
+ internalType: "uint16",
456
+ name: "reserveRatioBips",
457
+ type: "uint16",
458
+ },
459
+ {
460
+ internalType: "uint32",
461
+ name: "delinquencyGracePeriod",
462
+ type: "uint32",
463
+ },
464
+ {
465
+ internalType: "HooksConfig",
466
+ name: "hooks",
467
+ type: "uint256",
468
+ },
469
+ ],
470
+ internalType: "struct DeployMarketInputsV2",
471
+ name: "parameters",
472
+ type: "tuple",
473
+ },
474
+ {
475
+ internalType: "bytes",
476
+ name: "hooksData",
477
+ type: "bytes",
478
+ },
479
+ {
480
+ internalType: "bytes",
481
+ name: "marketData",
482
+ type: "bytes",
483
+ },
484
+ {
485
+ internalType: "bytes32",
486
+ name: "salt",
487
+ type: "bytes32",
488
+ },
489
+ {
490
+ internalType: "address",
491
+ name: "originationFeeAsset",
492
+ type: "address",
493
+ },
494
+ {
495
+ internalType: "uint256",
496
+ name: "originationFeeAmount",
497
+ type: "uint256",
498
+ },
499
+ ],
500
+ name: "deployMarketAndHooks",
501
+ outputs: [
502
+ {
503
+ internalType: "address",
504
+ name: "market",
505
+ type: "address",
506
+ },
507
+ {
508
+ internalType: "address",
509
+ name: "hooks",
510
+ type: "address",
511
+ },
512
+ ],
513
+ stateMutability: "nonpayable",
514
+ type: "function",
515
+ },
516
+ {
517
+ inputs: [
518
+ {
519
+ internalType: "address",
520
+ name: "hooksTemplate",
521
+ type: "address",
522
+ },
523
+ ],
524
+ name: "disableHooksTemplate",
525
+ outputs: [],
526
+ stateMutability: "nonpayable",
527
+ type: "function",
528
+ },
529
+ {
530
+ inputs: [
531
+ {
532
+ internalType: "address",
533
+ name: "borrower",
534
+ type: "address",
535
+ },
536
+ ],
537
+ name: "getHooksInstancesCountForBorrower",
538
+ outputs: [
539
+ {
540
+ internalType: "uint256",
541
+ name: "",
542
+ type: "uint256",
543
+ },
544
+ ],
545
+ stateMutability: "view",
546
+ type: "function",
547
+ },
548
+ {
549
+ inputs: [
550
+ {
551
+ internalType: "address",
552
+ name: "borrower",
553
+ type: "address",
554
+ },
555
+ ],
556
+ name: "getHooksInstancesForBorrower",
557
+ outputs: [
558
+ {
559
+ internalType: "address[]",
560
+ name: "",
561
+ type: "address[]",
562
+ },
563
+ ],
564
+ stateMutability: "view",
565
+ type: "function",
566
+ },
567
+ {
568
+ inputs: [
569
+ {
570
+ internalType: "address",
571
+ name: "hooksTemplate",
572
+ type: "address",
573
+ },
574
+ ],
575
+ name: "getHooksTemplateDetails",
576
+ outputs: [
577
+ {
578
+ components: [
579
+ {
580
+ internalType: "address",
581
+ name: "originationFeeAsset",
582
+ type: "address",
583
+ },
584
+ {
585
+ internalType: "uint80",
586
+ name: "originationFeeAmount",
587
+ type: "uint80",
588
+ },
589
+ {
590
+ internalType: "uint16",
591
+ name: "protocolFeeBips",
592
+ type: "uint16",
593
+ },
594
+ {
595
+ internalType: "bool",
596
+ name: "exists",
597
+ type: "bool",
598
+ },
599
+ {
600
+ internalType: "bool",
601
+ name: "enabled",
602
+ type: "bool",
603
+ },
604
+ {
605
+ internalType: "uint24",
606
+ name: "index",
607
+ type: "uint24",
608
+ },
609
+ {
610
+ internalType: "address",
611
+ name: "feeRecipient",
612
+ type: "address",
613
+ },
614
+ {
615
+ internalType: "string",
616
+ name: "name",
617
+ type: "string",
618
+ },
619
+ ],
620
+ internalType: "struct HooksTemplate",
621
+ name: "",
622
+ type: "tuple",
623
+ },
624
+ ],
625
+ stateMutability: "view",
626
+ type: "function",
627
+ },
628
+ {
629
+ inputs: [
630
+ {
631
+ internalType: "address",
632
+ name: "hooks",
633
+ type: "address",
634
+ },
635
+ ],
636
+ name: "getHooksTemplateForInstance",
637
+ outputs: [
638
+ {
639
+ internalType: "address",
640
+ name: "",
641
+ type: "address",
642
+ },
643
+ ],
644
+ stateMutability: "view",
645
+ type: "function",
646
+ },
647
+ {
648
+ inputs: [],
649
+ name: "getHooksTemplates",
650
+ outputs: [
651
+ {
652
+ internalType: "address[]",
653
+ name: "",
654
+ type: "address[]",
655
+ },
656
+ ],
657
+ stateMutability: "view",
658
+ type: "function",
659
+ },
660
+ {
661
+ inputs: [
662
+ {
663
+ internalType: "uint256",
664
+ name: "start",
665
+ type: "uint256",
666
+ },
667
+ {
668
+ internalType: "uint256",
669
+ name: "end",
670
+ type: "uint256",
671
+ },
672
+ ],
673
+ name: "getHooksTemplates",
674
+ outputs: [
675
+ {
676
+ internalType: "address[]",
677
+ name: "arr",
678
+ type: "address[]",
679
+ },
680
+ ],
681
+ stateMutability: "view",
682
+ type: "function",
683
+ },
684
+ {
685
+ inputs: [],
686
+ name: "getHooksTemplatesCount",
687
+ outputs: [
688
+ {
689
+ internalType: "uint256",
690
+ name: "",
691
+ type: "uint256",
692
+ },
693
+ ],
694
+ stateMutability: "view",
695
+ type: "function",
696
+ },
697
+ {
698
+ inputs: [],
699
+ name: "getMarketParameters",
700
+ outputs: [
701
+ {
702
+ components: [
703
+ {
704
+ internalType: "address",
705
+ name: "asset",
706
+ type: "address",
707
+ },
708
+ {
709
+ internalType: "uint8",
710
+ name: "decimals",
711
+ type: "uint8",
712
+ },
713
+ {
714
+ internalType: "bytes32",
715
+ name: "packedNameWord0",
716
+ type: "bytes32",
717
+ },
718
+ {
719
+ internalType: "bytes32",
720
+ name: "packedNameWord1",
721
+ type: "bytes32",
722
+ },
723
+ {
724
+ internalType: "bytes32",
725
+ name: "packedSymbolWord0",
726
+ type: "bytes32",
727
+ },
728
+ {
729
+ internalType: "bytes32",
730
+ name: "packedSymbolWord1",
731
+ type: "bytes32",
732
+ },
733
+ {
734
+ internalType: "address",
735
+ name: "borrower",
736
+ type: "address",
737
+ },
738
+ {
739
+ internalType: "address",
740
+ name: "feeRecipient",
741
+ type: "address",
742
+ },
743
+ {
744
+ internalType: "address",
745
+ name: "sentinel",
746
+ type: "address",
747
+ },
748
+ {
749
+ internalType: "uint128",
750
+ name: "maxTotalSupply",
751
+ type: "uint128",
752
+ },
753
+ {
754
+ internalType: "uint16",
755
+ name: "protocolFeeBips",
756
+ type: "uint16",
757
+ },
758
+ {
759
+ internalType: "uint16",
760
+ name: "annualInterestBips",
761
+ type: "uint16",
762
+ },
763
+ {
764
+ internalType: "uint16",
765
+ name: "delinquencyFeeBips",
766
+ type: "uint16",
767
+ },
768
+ {
769
+ internalType: "uint32",
770
+ name: "withdrawalBatchDuration",
771
+ type: "uint32",
772
+ },
773
+ {
774
+ internalType: "uint16",
775
+ name: "reserveRatioBips",
776
+ type: "uint16",
777
+ },
778
+ {
779
+ internalType: "uint32",
780
+ name: "delinquencyGracePeriod",
781
+ type: "uint32",
782
+ },
783
+ {
784
+ internalType: "address",
785
+ name: "archController",
786
+ type: "address",
787
+ },
788
+ {
789
+ internalType: "address",
790
+ name: "sphereXEngine",
791
+ type: "address",
792
+ },
793
+ {
794
+ internalType: "HooksConfig",
795
+ name: "hooks",
796
+ type: "uint256",
797
+ },
798
+ ],
799
+ internalType: "struct MarketParametersV2",
800
+ name: "parameters",
801
+ type: "tuple",
802
+ },
803
+ ],
804
+ stateMutability: "view",
805
+ type: "function",
806
+ },
807
+ {
808
+ inputs: [
809
+ {
810
+ internalType: "address",
811
+ name: "hooksInstance",
812
+ type: "address",
813
+ },
814
+ ],
815
+ name: "getMarketsForHooksInstance",
816
+ outputs: [
817
+ {
818
+ internalType: "address[]",
819
+ name: "",
820
+ type: "address[]",
821
+ },
822
+ ],
823
+ stateMutability: "view",
824
+ type: "function",
825
+ },
826
+ {
827
+ inputs: [
828
+ {
829
+ internalType: "address",
830
+ name: "hooksInstance",
831
+ type: "address",
832
+ },
833
+ {
834
+ internalType: "uint256",
835
+ name: "start",
836
+ type: "uint256",
837
+ },
838
+ {
839
+ internalType: "uint256",
840
+ name: "len",
841
+ type: "uint256",
842
+ },
843
+ ],
844
+ name: "getMarketsForHooksInstance",
845
+ outputs: [
846
+ {
847
+ internalType: "address[]",
848
+ name: "arr",
849
+ type: "address[]",
850
+ },
851
+ ],
852
+ stateMutability: "view",
853
+ type: "function",
854
+ },
855
+ {
856
+ inputs: [
857
+ {
858
+ internalType: "address",
859
+ name: "hooksInstance",
860
+ type: "address",
861
+ },
862
+ ],
863
+ name: "getMarketsForHooksInstanceCount",
864
+ outputs: [
865
+ {
866
+ internalType: "uint256",
867
+ name: "",
868
+ type: "uint256",
869
+ },
870
+ ],
871
+ stateMutability: "view",
872
+ type: "function",
873
+ },
874
+ {
875
+ inputs: [
876
+ {
877
+ internalType: "address",
878
+ name: "hooksTemplate",
879
+ type: "address",
880
+ },
881
+ ],
882
+ name: "getMarketsForHooksTemplate",
883
+ outputs: [
884
+ {
885
+ internalType: "address[]",
886
+ name: "",
887
+ type: "address[]",
888
+ },
889
+ ],
890
+ stateMutability: "view",
891
+ type: "function",
892
+ },
893
+ {
894
+ inputs: [
895
+ {
896
+ internalType: "address",
897
+ name: "hooksTemplate",
898
+ type: "address",
899
+ },
900
+ {
901
+ internalType: "uint256",
902
+ name: "start",
903
+ type: "uint256",
904
+ },
905
+ {
906
+ internalType: "uint256",
907
+ name: "end",
908
+ type: "uint256",
909
+ },
910
+ ],
911
+ name: "getMarketsForHooksTemplate",
912
+ outputs: [
913
+ {
914
+ internalType: "address[]",
915
+ name: "arr",
916
+ type: "address[]",
917
+ },
918
+ ],
919
+ stateMutability: "view",
920
+ type: "function",
921
+ },
922
+ {
923
+ inputs: [
924
+ {
925
+ internalType: "address",
926
+ name: "hooksTemplate",
927
+ type: "address",
928
+ },
929
+ ],
930
+ name: "getMarketsForHooksTemplateCount",
931
+ outputs: [
932
+ {
933
+ internalType: "uint256",
934
+ name: "",
935
+ type: "uint256",
936
+ },
937
+ ],
938
+ stateMutability: "view",
939
+ type: "function",
940
+ },
941
+ {
942
+ inputs: [],
943
+ name: "getRevolvingMarketCommitmentFeeBips",
944
+ outputs: [
945
+ {
946
+ internalType: "uint16",
947
+ name: "",
948
+ type: "uint16",
949
+ },
950
+ ],
951
+ stateMutability: "view",
952
+ type: "function",
953
+ },
954
+ {
955
+ inputs: [
956
+ {
957
+ internalType: "address",
958
+ name: "hooks",
959
+ type: "address",
960
+ },
961
+ ],
962
+ name: "isHooksInstance",
963
+ outputs: [
964
+ {
965
+ internalType: "bool",
966
+ name: "",
967
+ type: "bool",
968
+ },
969
+ ],
970
+ stateMutability: "view",
971
+ type: "function",
972
+ },
973
+ {
974
+ inputs: [
975
+ {
976
+ internalType: "address",
977
+ name: "hooksTemplate",
978
+ type: "address",
979
+ },
980
+ ],
981
+ name: "isHooksTemplate",
982
+ outputs: [
983
+ {
984
+ internalType: "bool",
985
+ name: "",
986
+ type: "bool",
987
+ },
988
+ ],
989
+ stateMutability: "view",
990
+ type: "function",
991
+ },
992
+ {
993
+ inputs: [],
994
+ name: "marketInitCodeHash",
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: "marketInitCodeStorage",
1008
+ outputs: [
1009
+ {
1010
+ internalType: "address",
1011
+ name: "",
1012
+ type: "address",
1013
+ },
1014
+ ],
1015
+ stateMutability: "view",
1016
+ type: "function",
1017
+ },
1018
+ {
1019
+ inputs: [],
1020
+ name: "name",
1021
+ outputs: [
1022
+ {
1023
+ internalType: "string",
1024
+ name: "",
1025
+ type: "string",
1026
+ },
1027
+ ],
1028
+ stateMutability: "view",
1029
+ type: "function",
1030
+ },
1031
+ {
1032
+ inputs: [
1033
+ {
1034
+ internalType: "address",
1035
+ name: "hooksTemplate",
1036
+ type: "address",
1037
+ },
1038
+ ],
1039
+ name: "pushProtocolFeeBipsUpdates",
1040
+ outputs: [],
1041
+ stateMutability: "nonpayable",
1042
+ type: "function",
1043
+ },
1044
+ {
1045
+ inputs: [
1046
+ {
1047
+ internalType: "address",
1048
+ name: "hooksTemplate",
1049
+ type: "address",
1050
+ },
1051
+ {
1052
+ internalType: "uint256",
1053
+ name: "marketStartIndex",
1054
+ type: "uint256",
1055
+ },
1056
+ {
1057
+ internalType: "uint256",
1058
+ name: "marketEndIndex",
1059
+ type: "uint256",
1060
+ },
1061
+ ],
1062
+ name: "pushProtocolFeeBipsUpdates",
1063
+ outputs: [],
1064
+ stateMutability: "nonpayable",
1065
+ type: "function",
1066
+ },
1067
+ {
1068
+ inputs: [],
1069
+ name: "registerWithArchController",
1070
+ outputs: [],
1071
+ stateMutability: "nonpayable",
1072
+ type: "function",
1073
+ },
1074
+ {
1075
+ inputs: [],
1076
+ name: "sanctionsSentinel",
1077
+ outputs: [
1078
+ {
1079
+ internalType: "address",
1080
+ name: "",
1081
+ type: "address",
1082
+ },
1083
+ ],
1084
+ stateMutability: "view",
1085
+ type: "function",
1086
+ },
1087
+ {
1088
+ inputs: [
1089
+ {
1090
+ internalType: "address",
1091
+ name: "hooksTemplate",
1092
+ type: "address",
1093
+ },
1094
+ {
1095
+ internalType: "address",
1096
+ name: "feeRecipient",
1097
+ type: "address",
1098
+ },
1099
+ {
1100
+ internalType: "address",
1101
+ name: "originationFeeAsset",
1102
+ type: "address",
1103
+ },
1104
+ {
1105
+ internalType: "uint80",
1106
+ name: "originationFeeAmount",
1107
+ type: "uint80",
1108
+ },
1109
+ {
1110
+ internalType: "uint16",
1111
+ name: "protocolFeeBips",
1112
+ type: "uint16",
1113
+ },
1114
+ ],
1115
+ name: "updateHooksTemplateFees",
1116
+ outputs: [],
1117
+ stateMutability: "nonpayable",
1118
+ type: "function",
1119
+ },
1120
+ ];
1121
+ class HooksFactoryRevolving__factory {
1122
+ static createInterface() {
1123
+ return new ethers_1.utils.Interface(_abi);
1124
+ }
1125
+ static connect(address, signerOrProvider) {
1126
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
1127
+ }
1128
+ }
1129
+ HooksFactoryRevolving__factory.abi = _abi;
1130
+ exports.HooksFactoryRevolving__factory = HooksFactoryRevolving__factory;
1131
+ //# sourceMappingURL=HooksFactoryRevolving__factory.js.map