@wildcatfi/wildcat-sdk 2.0.83 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/dist/access/access-control.d.ts +67 -0
  2. package/dist/access/access-control.d.ts.map +1 -0
  3. package/dist/access/access-control.js +176 -0
  4. package/dist/access/access-control.js.map +1 -0
  5. package/dist/access/fixed-term.d.ts +73 -0
  6. package/dist/access/fixed-term.d.ts.map +1 -0
  7. package/dist/access/fixed-term.js +179 -0
  8. package/dist/access/fixed-term.js.map +1 -0
  9. package/dist/access/index.d.ts +13 -0
  10. package/dist/access/index.d.ts.map +1 -0
  11. package/dist/access/index.js +47 -0
  12. package/dist/access/index.js.map +1 -0
  13. package/dist/access/utils.d.ts +3 -0
  14. package/dist/access/utils.d.ts.map +1 -0
  15. package/dist/access/utils.js +24 -0
  16. package/dist/access/utils.js.map +1 -0
  17. package/dist/access/validation.d.ts +20 -0
  18. package/dist/access/validation.d.ts.map +1 -0
  19. package/dist/access/validation.js +12 -0
  20. package/dist/access/validation.js.map +1 -0
  21. package/dist/{account.d.ts → account/index.d.ts} +58 -83
  22. package/dist/account/index.d.ts.map +1 -0
  23. package/dist/{account.js → account/index.js} +346 -149
  24. package/dist/account/index.js.map +1 -0
  25. package/dist/account/validation.d.ts +88 -0
  26. package/dist/account/validation.d.ts.map +1 -0
  27. package/dist/account/validation.js +61 -0
  28. package/dist/account/validation.js.map +1 -0
  29. package/dist/constants.d.ts +7 -2
  30. package/dist/constants.d.ts.map +1 -1
  31. package/dist/constants.js +27 -2
  32. package/dist/constants.js.map +1 -1
  33. package/dist/controller.d.ts +1 -0
  34. package/dist/controller.d.ts.map +1 -1
  35. package/dist/controller.js +1 -0
  36. package/dist/controller.js.map +1 -1
  37. package/dist/gql/getAuthorizedLendersByMarket.js +1 -1
  38. package/dist/gql/getAuthorizedLendersByMarket.js.map +1 -1
  39. package/dist/gql/getMarketsForBorrower.d.ts.map +1 -1
  40. package/dist/gql/getMarketsForBorrower.js +1 -5
  41. package/dist/gql/getMarketsForBorrower.js.map +1 -1
  42. package/dist/gql/graphql.d.ts +5923 -1369
  43. package/dist/gql/graphql.d.ts.map +1 -1
  44. package/dist/gql/graphql.js +1289 -29
  45. package/dist/gql/graphql.js.map +1 -1
  46. package/dist/hooks/useMarketsForBorrower.js +1 -1
  47. package/dist/hooks/useMarketsForBorrower.js.map +1 -1
  48. package/dist/market.d.ts +37 -22
  49. package/dist/market.d.ts.map +1 -1
  50. package/dist/market.js +287 -102
  51. package/dist/market.js.map +1 -1
  52. package/dist/mockerc20factory.d.ts +1 -0
  53. package/dist/mockerc20factory.d.ts.map +1 -1
  54. package/dist/mockerc20factory.js +1 -0
  55. package/dist/mockerc20factory.js.map +1 -1
  56. package/dist/token.d.ts +1 -0
  57. package/dist/token.d.ts.map +1 -1
  58. package/dist/token.js +1 -0
  59. package/dist/token.js.map +1 -1
  60. package/dist/typechain/AccountQuery.d.ts +1 -1
  61. package/dist/typechain/AccountQuery.d.ts.map +1 -1
  62. package/dist/typechain/AccountsQuery.d.ts +1 -1
  63. package/dist/typechain/AccountsQuery.d.ts.map +1 -1
  64. package/dist/typechain/HooksFactory.d.ts +593 -0
  65. package/dist/typechain/HooksFactory.d.ts.map +1 -0
  66. package/dist/typechain/HooksFactory.js +3 -0
  67. package/dist/typechain/HooksFactory.js.map +1 -0
  68. package/dist/typechain/IFixedTermHooks.d.ts +1016 -0
  69. package/dist/typechain/IFixedTermHooks.d.ts.map +1 -0
  70. package/dist/typechain/IFixedTermHooks.js +3 -0
  71. package/dist/typechain/IFixedTermHooks.js.map +1 -0
  72. package/dist/typechain/IOpenTermHooks.d.ts +971 -0
  73. package/dist/typechain/IOpenTermHooks.d.ts.map +1 -0
  74. package/dist/typechain/IOpenTermHooks.js +3 -0
  75. package/dist/typechain/IOpenTermHooks.js.map +1 -0
  76. package/dist/typechain/MarketLens.d.ts +12 -115
  77. package/dist/typechain/MarketLens.d.ts.map +1 -1
  78. package/dist/typechain/MarketLensV2.d.ts +692 -0
  79. package/dist/typechain/MarketLensV2.d.ts.map +1 -0
  80. package/dist/typechain/MarketLensV2.js +3 -0
  81. package/dist/typechain/MarketLensV2.js.map +1 -0
  82. package/dist/typechain/WildcatMarket.d.ts +3 -17
  83. package/dist/typechain/WildcatMarket.d.ts.map +1 -1
  84. package/dist/typechain/WildcatMarketController.d.ts +2 -28
  85. package/dist/typechain/WildcatMarketController.d.ts.map +1 -1
  86. package/dist/typechain/WildcatMarketControllerFactory.d.ts +2 -29
  87. package/dist/typechain/WildcatMarketControllerFactory.d.ts.map +1 -1
  88. package/dist/typechain/WildcatMarketV2.d.ts +1086 -0
  89. package/dist/typechain/WildcatMarketV2.d.ts.map +1 -0
  90. package/dist/typechain/WildcatMarketV2.js +3 -0
  91. package/dist/typechain/WildcatMarketV2.js.map +1 -0
  92. package/dist/typechain/factories/HooksFactory__factory.d.ts +902 -0
  93. package/dist/typechain/factories/HooksFactory__factory.d.ts.map +1 -0
  94. package/dist/typechain/factories/HooksFactory__factory.js +1168 -0
  95. package/dist/typechain/factories/HooksFactory__factory.js.map +1 -0
  96. package/dist/typechain/factories/IFixedTermHooks__factory.d.ts +1884 -0
  97. package/dist/typechain/factories/IFixedTermHooks__factory.d.ts.map +1 -0
  98. package/dist/typechain/factories/IFixedTermHooks__factory.js +2410 -0
  99. package/dist/typechain/factories/IFixedTermHooks__factory.js.map +1 -0
  100. package/dist/typechain/factories/IOpenTermHooks__factory.d.ts +1781 -0
  101. package/dist/typechain/factories/IOpenTermHooks__factory.d.ts.map +1 -0
  102. package/dist/typechain/factories/IOpenTermHooks__factory.js +2280 -0
  103. package/dist/typechain/factories/IOpenTermHooks__factory.js.map +1 -0
  104. package/dist/typechain/factories/MarketLensV2__factory.d.ts +5786 -0
  105. package/dist/typechain/factories/MarketLensV2__factory.d.ts.map +1 -0
  106. package/dist/typechain/factories/MarketLensV2__factory.js +7396 -0
  107. package/dist/typechain/factories/MarketLensV2__factory.js.map +1 -0
  108. package/dist/typechain/factories/WildcatMarketV2__factory.d.ts +1304 -0
  109. package/dist/typechain/factories/WildcatMarketV2__factory.d.ts.map +1 -0
  110. package/dist/typechain/factories/WildcatMarketV2__factory.js +1680 -0
  111. package/dist/typechain/factories/WildcatMarketV2__factory.js.map +1 -0
  112. package/dist/typechain/factories/index.d.ts +5 -0
  113. package/dist/typechain/factories/index.d.ts.map +1 -1
  114. package/dist/typechain/factories/index.js +11 -1
  115. package/dist/typechain/factories/index.js.map +1 -1
  116. package/dist/typechain/index.d.ts +15 -1
  117. package/dist/typechain/index.d.ts.map +1 -1
  118. package/dist/typechain/index.js +11 -1
  119. package/dist/typechain/index.js.map +1 -1
  120. package/dist/types.d.ts +138 -1
  121. package/dist/types.d.ts.map +1 -1
  122. package/dist/types.js +73 -3
  123. package/dist/types.js.map +1 -1
  124. package/dist/utils/type-parsers.d.ts +9 -2
  125. package/dist/utils/type-parsers.d.ts.map +1 -1
  126. package/dist/utils/type-parsers.js +64 -1
  127. package/dist/utils/type-parsers.js.map +1 -1
  128. package/package.json +4 -4
  129. package/dist/account.d.ts.map +0 -1
  130. package/dist/account.js.map +0 -1
@@ -0,0 +1,2410 @@
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.IFixedTermHooks__factory = void 0;
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [],
11
+ name: "AnnualInterestBipsOutOfBounds",
12
+ type: "error",
13
+ },
14
+ {
15
+ inputs: [],
16
+ name: "CallerNotBorrower",
17
+ type: "error",
18
+ },
19
+ {
20
+ inputs: [],
21
+ name: "CallerNotFactory",
22
+ type: "error",
23
+ },
24
+ {
25
+ inputs: [],
26
+ name: "ClosureDisabledBeforeTerm",
27
+ type: "error",
28
+ },
29
+ {
30
+ inputs: [],
31
+ name: "CreateRoleProviderFailed",
32
+ type: "error",
33
+ },
34
+ {
35
+ inputs: [],
36
+ name: "DelinquencyFeeBipsOutOfBounds",
37
+ type: "error",
38
+ },
39
+ {
40
+ inputs: [],
41
+ name: "DelinquencyGracePeriodOutOfBounds",
42
+ type: "error",
43
+ },
44
+ {
45
+ inputs: [],
46
+ name: "DepositBelowMinimum",
47
+ type: "error",
48
+ },
49
+ {
50
+ inputs: [],
51
+ name: "FixedTermNotProvided",
52
+ type: "error",
53
+ },
54
+ {
55
+ inputs: [],
56
+ name: "ForceBuyBackDisabledBeforeTerm",
57
+ type: "error",
58
+ },
59
+ {
60
+ inputs: [],
61
+ name: "ForceBuyBacksDisabled",
62
+ type: "error",
63
+ },
64
+ {
65
+ inputs: [],
66
+ name: "GrantedCredentialExpired",
67
+ type: "error",
68
+ },
69
+ {
70
+ inputs: [],
71
+ name: "IncreaseFixedTerm",
72
+ type: "error",
73
+ },
74
+ {
75
+ inputs: [],
76
+ name: "InvalidArrayLength",
77
+ type: "error",
78
+ },
79
+ {
80
+ inputs: [],
81
+ name: "InvalidCredentialReturned",
82
+ type: "error",
83
+ },
84
+ {
85
+ inputs: [],
86
+ name: "InvalidFixedTerm",
87
+ type: "error",
88
+ },
89
+ {
90
+ inputs: [],
91
+ name: "NoReducingAprBeforeTermEnd",
92
+ type: "error",
93
+ },
94
+ {
95
+ inputs: [],
96
+ name: "NotApprovedLender",
97
+ type: "error",
98
+ },
99
+ {
100
+ inputs: [],
101
+ name: "NotHookedMarket",
102
+ type: "error",
103
+ },
104
+ {
105
+ inputs: [],
106
+ name: "ProviderCanNotReplaceCredential",
107
+ type: "error",
108
+ },
109
+ {
110
+ inputs: [],
111
+ name: "ProviderCanNotRevokeCredential",
112
+ type: "error",
113
+ },
114
+ {
115
+ inputs: [],
116
+ name: "ProviderNotFound",
117
+ type: "error",
118
+ },
119
+ {
120
+ inputs: [],
121
+ name: "ReserveRatioBipsOutOfBounds",
122
+ type: "error",
123
+ },
124
+ {
125
+ inputs: [],
126
+ name: "TermReductionDisabled",
127
+ type: "error",
128
+ },
129
+ {
130
+ inputs: [],
131
+ name: "TransfersDisabled",
132
+ type: "error",
133
+ },
134
+ {
135
+ inputs: [],
136
+ name: "WithdrawBeforeTermEnd",
137
+ type: "error",
138
+ },
139
+ {
140
+ inputs: [],
141
+ name: "WithdrawalBatchDurationOutOfBounds",
142
+ type: "error",
143
+ },
144
+ {
145
+ anonymous: false,
146
+ inputs: [
147
+ {
148
+ indexed: true,
149
+ internalType: "address",
150
+ name: "providerAddress",
151
+ type: "address",
152
+ },
153
+ {
154
+ indexed: true,
155
+ internalType: "address",
156
+ name: "accountAddress",
157
+ type: "address",
158
+ },
159
+ {
160
+ indexed: false,
161
+ internalType: "uint32",
162
+ name: "credentialTimestamp",
163
+ type: "uint32",
164
+ },
165
+ ],
166
+ name: "AccountAccessGranted",
167
+ type: "event",
168
+ },
169
+ {
170
+ anonymous: false,
171
+ inputs: [
172
+ {
173
+ indexed: true,
174
+ internalType: "address",
175
+ name: "accountAddress",
176
+ type: "address",
177
+ },
178
+ ],
179
+ name: "AccountAccessRevoked",
180
+ type: "event",
181
+ },
182
+ {
183
+ anonymous: false,
184
+ inputs: [
185
+ {
186
+ indexed: true,
187
+ internalType: "address",
188
+ name: "accountAddress",
189
+ type: "address",
190
+ },
191
+ ],
192
+ name: "AccountBlockedFromDeposits",
193
+ type: "event",
194
+ },
195
+ {
196
+ anonymous: false,
197
+ inputs: [
198
+ {
199
+ indexed: true,
200
+ internalType: "address",
201
+ name: "market",
202
+ type: "address",
203
+ },
204
+ {
205
+ indexed: true,
206
+ internalType: "address",
207
+ name: "accountAddress",
208
+ type: "address",
209
+ },
210
+ ],
211
+ name: "AccountMadeFirstDeposit",
212
+ type: "event",
213
+ },
214
+ {
215
+ anonymous: false,
216
+ inputs: [
217
+ {
218
+ indexed: true,
219
+ internalType: "address",
220
+ name: "accountAddress",
221
+ type: "address",
222
+ },
223
+ ],
224
+ name: "AccountUnblockedFromDeposits",
225
+ type: "event",
226
+ },
227
+ {
228
+ anonymous: false,
229
+ inputs: [
230
+ {
231
+ indexed: false,
232
+ internalType: "address",
233
+ name: "market",
234
+ type: "address",
235
+ },
236
+ ],
237
+ name: "DisabledForceBuyBacks",
238
+ type: "event",
239
+ },
240
+ {
241
+ anonymous: false,
242
+ inputs: [
243
+ {
244
+ indexed: false,
245
+ internalType: "address",
246
+ name: "market",
247
+ type: "address",
248
+ },
249
+ {
250
+ indexed: false,
251
+ internalType: "uint32",
252
+ name: "fixedTermEndTime",
253
+ type: "uint32",
254
+ },
255
+ ],
256
+ name: "FixedTermUpdated",
257
+ type: "event",
258
+ },
259
+ {
260
+ anonymous: false,
261
+ inputs: [
262
+ {
263
+ indexed: false,
264
+ internalType: "address",
265
+ name: "market",
266
+ type: "address",
267
+ },
268
+ {
269
+ indexed: false,
270
+ internalType: "uint128",
271
+ name: "newMinimumDeposit",
272
+ type: "uint128",
273
+ },
274
+ ],
275
+ name: "MinimumDepositUpdated",
276
+ type: "event",
277
+ },
278
+ {
279
+ anonymous: false,
280
+ inputs: [
281
+ {
282
+ indexed: false,
283
+ internalType: "string",
284
+ name: "name",
285
+ type: "string",
286
+ },
287
+ ],
288
+ name: "NameUpdated",
289
+ type: "event",
290
+ },
291
+ {
292
+ anonymous: false,
293
+ inputs: [
294
+ {
295
+ indexed: true,
296
+ internalType: "address",
297
+ name: "providerAddress",
298
+ type: "address",
299
+ },
300
+ {
301
+ indexed: false,
302
+ internalType: "uint32",
303
+ name: "timeToLive",
304
+ type: "uint32",
305
+ },
306
+ {
307
+ indexed: false,
308
+ internalType: "uint24",
309
+ name: "pullProviderIndex",
310
+ type: "uint24",
311
+ },
312
+ {
313
+ indexed: false,
314
+ internalType: "uint24",
315
+ name: "pushProviderIndex",
316
+ type: "uint24",
317
+ },
318
+ ],
319
+ name: "RoleProviderAdded",
320
+ type: "event",
321
+ },
322
+ {
323
+ anonymous: false,
324
+ inputs: [
325
+ {
326
+ indexed: true,
327
+ internalType: "address",
328
+ name: "providerAddress",
329
+ type: "address",
330
+ },
331
+ {
332
+ indexed: false,
333
+ internalType: "uint24",
334
+ name: "pullProviderIndex",
335
+ type: "uint24",
336
+ },
337
+ {
338
+ indexed: false,
339
+ internalType: "uint24",
340
+ name: "pushProviderIndex",
341
+ type: "uint24",
342
+ },
343
+ ],
344
+ name: "RoleProviderRemoved",
345
+ type: "event",
346
+ },
347
+ {
348
+ anonymous: false,
349
+ inputs: [
350
+ {
351
+ indexed: true,
352
+ internalType: "address",
353
+ name: "providerAddress",
354
+ type: "address",
355
+ },
356
+ {
357
+ indexed: false,
358
+ internalType: "uint32",
359
+ name: "timeToLive",
360
+ type: "uint32",
361
+ },
362
+ {
363
+ indexed: false,
364
+ internalType: "uint24",
365
+ name: "pullProviderIndex",
366
+ type: "uint24",
367
+ },
368
+ {
369
+ indexed: false,
370
+ internalType: "uint24",
371
+ name: "pushProviderIndex",
372
+ type: "uint24",
373
+ },
374
+ ],
375
+ name: "RoleProviderUpdated",
376
+ type: "event",
377
+ },
378
+ {
379
+ anonymous: false,
380
+ inputs: [
381
+ {
382
+ indexed: true,
383
+ internalType: "address",
384
+ name: "market",
385
+ type: "address",
386
+ },
387
+ {
388
+ indexed: false,
389
+ internalType: "uint256",
390
+ name: "originalReserveRatioBips",
391
+ type: "uint256",
392
+ },
393
+ {
394
+ indexed: false,
395
+ internalType: "uint256",
396
+ name: "temporaryReserveRatioBips",
397
+ type: "uint256",
398
+ },
399
+ {
400
+ indexed: false,
401
+ internalType: "uint256",
402
+ name: "temporaryReserveRatioExpiry",
403
+ type: "uint256",
404
+ },
405
+ ],
406
+ name: "TemporaryExcessReserveRatioActivated",
407
+ type: "event",
408
+ },
409
+ {
410
+ anonymous: false,
411
+ inputs: [
412
+ {
413
+ indexed: true,
414
+ internalType: "address",
415
+ name: "market",
416
+ type: "address",
417
+ },
418
+ ],
419
+ name: "TemporaryExcessReserveRatioCanceled",
420
+ type: "event",
421
+ },
422
+ {
423
+ anonymous: false,
424
+ inputs: [
425
+ {
426
+ indexed: true,
427
+ internalType: "address",
428
+ name: "market",
429
+ type: "address",
430
+ },
431
+ ],
432
+ name: "TemporaryExcessReserveRatioExpired",
433
+ type: "event",
434
+ },
435
+ {
436
+ anonymous: false,
437
+ inputs: [
438
+ {
439
+ indexed: true,
440
+ internalType: "address",
441
+ name: "market",
442
+ type: "address",
443
+ },
444
+ {
445
+ indexed: false,
446
+ internalType: "uint256",
447
+ name: "originalReserveRatioBips",
448
+ type: "uint256",
449
+ },
450
+ {
451
+ indexed: false,
452
+ internalType: "uint256",
453
+ name: "temporaryReserveRatioBips",
454
+ type: "uint256",
455
+ },
456
+ {
457
+ indexed: false,
458
+ internalType: "uint256",
459
+ name: "temporaryReserveRatioExpiry",
460
+ type: "uint256",
461
+ },
462
+ ],
463
+ name: "TemporaryExcessReserveRatioUpdated",
464
+ type: "event",
465
+ },
466
+ {
467
+ inputs: [],
468
+ name: "MaximumLoanTerm",
469
+ outputs: [
470
+ {
471
+ internalType: "uint32",
472
+ name: "",
473
+ type: "uint32",
474
+ },
475
+ ],
476
+ stateMutability: "view",
477
+ type: "function",
478
+ },
479
+ {
480
+ inputs: [
481
+ {
482
+ internalType: "address",
483
+ name: "providerAddress",
484
+ type: "address",
485
+ },
486
+ {
487
+ internalType: "uint32",
488
+ name: "timeToLive",
489
+ type: "uint32",
490
+ },
491
+ ],
492
+ name: "addRoleProvider",
493
+ outputs: [],
494
+ stateMutability: "nonpayable",
495
+ type: "function",
496
+ },
497
+ {
498
+ inputs: [
499
+ {
500
+ internalType: "address",
501
+ name: "account",
502
+ type: "address",
503
+ },
504
+ ],
505
+ name: "blockFromDeposits",
506
+ outputs: [],
507
+ stateMutability: "nonpayable",
508
+ type: "function",
509
+ },
510
+ {
511
+ inputs: [],
512
+ name: "borrower",
513
+ outputs: [
514
+ {
515
+ internalType: "address",
516
+ name: "",
517
+ type: "address",
518
+ },
519
+ ],
520
+ stateMutability: "view",
521
+ type: "function",
522
+ },
523
+ {
524
+ inputs: [],
525
+ name: "config",
526
+ outputs: [
527
+ {
528
+ internalType: "HooksDeploymentConfig",
529
+ name: "param0",
530
+ type: "uint256",
531
+ },
532
+ ],
533
+ stateMutability: "view",
534
+ type: "function",
535
+ },
536
+ {
537
+ inputs: [
538
+ {
539
+ internalType: "address",
540
+ name: "providerFactory",
541
+ type: "address",
542
+ },
543
+ {
544
+ internalType: "uint32",
545
+ name: "timeToLive",
546
+ type: "uint32",
547
+ },
548
+ {
549
+ internalType: "bytes",
550
+ name: "data",
551
+ type: "bytes",
552
+ },
553
+ ],
554
+ name: "createRoleProvider",
555
+ outputs: [],
556
+ stateMutability: "nonpayable",
557
+ type: "function",
558
+ },
559
+ {
560
+ inputs: [
561
+ {
562
+ internalType: "address",
563
+ name: "market",
564
+ type: "address",
565
+ },
566
+ ],
567
+ name: "disableForceBuyBacks",
568
+ outputs: [],
569
+ stateMutability: "nonpayable",
570
+ type: "function",
571
+ },
572
+ {
573
+ inputs: [],
574
+ name: "factory",
575
+ outputs: [
576
+ {
577
+ internalType: "address",
578
+ name: "",
579
+ type: "address",
580
+ },
581
+ ],
582
+ stateMutability: "view",
583
+ type: "function",
584
+ },
585
+ {
586
+ inputs: [
587
+ {
588
+ internalType: "address",
589
+ name: "marketAddress",
590
+ type: "address",
591
+ },
592
+ ],
593
+ name: "getHookedMarket",
594
+ outputs: [
595
+ {
596
+ components: [
597
+ {
598
+ internalType: "bool",
599
+ name: "isHooked",
600
+ type: "bool",
601
+ },
602
+ {
603
+ internalType: "bool",
604
+ name: "transferRequiresAccess",
605
+ type: "bool",
606
+ },
607
+ {
608
+ internalType: "bool",
609
+ name: "depositRequiresAccess",
610
+ type: "bool",
611
+ },
612
+ {
613
+ internalType: "bool",
614
+ name: "withdrawalRequiresAccess",
615
+ type: "bool",
616
+ },
617
+ {
618
+ internalType: "uint128",
619
+ name: "minimumDeposit",
620
+ type: "uint128",
621
+ },
622
+ {
623
+ internalType: "uint32",
624
+ name: "fixedTermEndTime",
625
+ type: "uint32",
626
+ },
627
+ {
628
+ internalType: "bool",
629
+ name: "transfersDisabled",
630
+ type: "bool",
631
+ },
632
+ {
633
+ internalType: "bool",
634
+ name: "allowClosureBeforeTerm",
635
+ type: "bool",
636
+ },
637
+ {
638
+ internalType: "bool",
639
+ name: "allowTermReduction",
640
+ type: "bool",
641
+ },
642
+ {
643
+ internalType: "bool",
644
+ name: "allowForceBuyBacks",
645
+ type: "bool",
646
+ },
647
+ ],
648
+ internalType: "struct FixedTermHookedMarket",
649
+ name: "param0",
650
+ type: "tuple",
651
+ },
652
+ ],
653
+ stateMutability: "view",
654
+ type: "function",
655
+ },
656
+ {
657
+ inputs: [
658
+ {
659
+ internalType: "address[]",
660
+ name: "marketAddresses",
661
+ type: "address[]",
662
+ },
663
+ ],
664
+ name: "getHookedMarkets",
665
+ outputs: [
666
+ {
667
+ components: [
668
+ {
669
+ internalType: "bool",
670
+ name: "isHooked",
671
+ type: "bool",
672
+ },
673
+ {
674
+ internalType: "bool",
675
+ name: "transferRequiresAccess",
676
+ type: "bool",
677
+ },
678
+ {
679
+ internalType: "bool",
680
+ name: "depositRequiresAccess",
681
+ type: "bool",
682
+ },
683
+ {
684
+ internalType: "bool",
685
+ name: "withdrawalRequiresAccess",
686
+ type: "bool",
687
+ },
688
+ {
689
+ internalType: "uint128",
690
+ name: "minimumDeposit",
691
+ type: "uint128",
692
+ },
693
+ {
694
+ internalType: "uint32",
695
+ name: "fixedTermEndTime",
696
+ type: "uint32",
697
+ },
698
+ {
699
+ internalType: "bool",
700
+ name: "transfersDisabled",
701
+ type: "bool",
702
+ },
703
+ {
704
+ internalType: "bool",
705
+ name: "allowClosureBeforeTerm",
706
+ type: "bool",
707
+ },
708
+ {
709
+ internalType: "bool",
710
+ name: "allowTermReduction",
711
+ type: "bool",
712
+ },
713
+ {
714
+ internalType: "bool",
715
+ name: "allowForceBuyBacks",
716
+ type: "bool",
717
+ },
718
+ ],
719
+ internalType: "struct FixedTermHookedMarket[]",
720
+ name: "hookedMarkets",
721
+ type: "tuple[]",
722
+ },
723
+ ],
724
+ stateMutability: "view",
725
+ type: "function",
726
+ },
727
+ {
728
+ inputs: [
729
+ {
730
+ internalType: "address",
731
+ name: "accountAddress",
732
+ type: "address",
733
+ },
734
+ ],
735
+ name: "getLenderStatus",
736
+ outputs: [
737
+ {
738
+ components: [
739
+ {
740
+ internalType: "bool",
741
+ name: "isBlockedFromDeposits",
742
+ type: "bool",
743
+ },
744
+ {
745
+ internalType: "address",
746
+ name: "lastProvider",
747
+ type: "address",
748
+ },
749
+ {
750
+ internalType: "bool",
751
+ name: "canRefresh",
752
+ type: "bool",
753
+ },
754
+ {
755
+ internalType: "uint32",
756
+ name: "lastApprovalTimestamp",
757
+ type: "uint32",
758
+ },
759
+ ],
760
+ internalType: "struct LenderStatus",
761
+ name: "status",
762
+ type: "tuple",
763
+ },
764
+ ],
765
+ stateMutability: "view",
766
+ type: "function",
767
+ },
768
+ {
769
+ inputs: [],
770
+ name: "getParameterConstraints",
771
+ outputs: [
772
+ {
773
+ components: [
774
+ {
775
+ internalType: "uint32",
776
+ name: "minimumDelinquencyGracePeriod",
777
+ type: "uint32",
778
+ },
779
+ {
780
+ internalType: "uint32",
781
+ name: "maximumDelinquencyGracePeriod",
782
+ type: "uint32",
783
+ },
784
+ {
785
+ internalType: "uint16",
786
+ name: "minimumReserveRatioBips",
787
+ type: "uint16",
788
+ },
789
+ {
790
+ internalType: "uint16",
791
+ name: "maximumReserveRatioBips",
792
+ type: "uint16",
793
+ },
794
+ {
795
+ internalType: "uint16",
796
+ name: "minimumDelinquencyFeeBips",
797
+ type: "uint16",
798
+ },
799
+ {
800
+ internalType: "uint16",
801
+ name: "maximumDelinquencyFeeBips",
802
+ type: "uint16",
803
+ },
804
+ {
805
+ internalType: "uint32",
806
+ name: "minimumWithdrawalBatchDuration",
807
+ type: "uint32",
808
+ },
809
+ {
810
+ internalType: "uint32",
811
+ name: "maximumWithdrawalBatchDuration",
812
+ type: "uint32",
813
+ },
814
+ {
815
+ internalType: "uint16",
816
+ name: "minimumAnnualInterestBips",
817
+ type: "uint16",
818
+ },
819
+ {
820
+ internalType: "uint16",
821
+ name: "maximumAnnualInterestBips",
822
+ type: "uint16",
823
+ },
824
+ ],
825
+ internalType: "struct MarketParameterConstraints",
826
+ name: "constraints",
827
+ type: "tuple",
828
+ },
829
+ ],
830
+ stateMutability: "pure",
831
+ type: "function",
832
+ },
833
+ {
834
+ inputs: [
835
+ {
836
+ internalType: "address",
837
+ name: "accountAddress",
838
+ type: "address",
839
+ },
840
+ ],
841
+ name: "getPreviousLenderStatus",
842
+ outputs: [
843
+ {
844
+ components: [
845
+ {
846
+ internalType: "bool",
847
+ name: "isBlockedFromDeposits",
848
+ type: "bool",
849
+ },
850
+ {
851
+ internalType: "address",
852
+ name: "lastProvider",
853
+ type: "address",
854
+ },
855
+ {
856
+ internalType: "bool",
857
+ name: "canRefresh",
858
+ type: "bool",
859
+ },
860
+ {
861
+ internalType: "uint32",
862
+ name: "lastApprovalTimestamp",
863
+ type: "uint32",
864
+ },
865
+ ],
866
+ internalType: "struct LenderStatus",
867
+ name: "status",
868
+ type: "tuple",
869
+ },
870
+ ],
871
+ stateMutability: "view",
872
+ type: "function",
873
+ },
874
+ {
875
+ inputs: [],
876
+ name: "getPullProviders",
877
+ outputs: [
878
+ {
879
+ internalType: "RoleProvider[]",
880
+ name: "param0",
881
+ type: "uint256[]",
882
+ },
883
+ ],
884
+ stateMutability: "view",
885
+ type: "function",
886
+ },
887
+ {
888
+ inputs: [],
889
+ name: "getPushProviders",
890
+ outputs: [
891
+ {
892
+ internalType: "RoleProvider[]",
893
+ name: "param0",
894
+ type: "uint256[]",
895
+ },
896
+ ],
897
+ stateMutability: "view",
898
+ type: "function",
899
+ },
900
+ {
901
+ inputs: [
902
+ {
903
+ internalType: "address",
904
+ name: "providerAddress",
905
+ type: "address",
906
+ },
907
+ ],
908
+ name: "getRoleProvider",
909
+ outputs: [
910
+ {
911
+ internalType: "RoleProvider",
912
+ name: "param0",
913
+ type: "uint256",
914
+ },
915
+ ],
916
+ stateMutability: "view",
917
+ type: "function",
918
+ },
919
+ {
920
+ inputs: [
921
+ {
922
+ internalType: "address",
923
+ name: "account",
924
+ type: "address",
925
+ },
926
+ {
927
+ internalType: "uint32",
928
+ name: "roleGrantedTimestamp",
929
+ type: "uint32",
930
+ },
931
+ ],
932
+ name: "grantRole",
933
+ outputs: [],
934
+ stateMutability: "nonpayable",
935
+ type: "function",
936
+ },
937
+ {
938
+ inputs: [
939
+ {
940
+ internalType: "address[]",
941
+ name: "accounts",
942
+ type: "address[]",
943
+ },
944
+ {
945
+ internalType: "uint32[]",
946
+ name: "roleGrantedTimestamps",
947
+ type: "uint32[]",
948
+ },
949
+ ],
950
+ name: "grantRoles",
951
+ outputs: [],
952
+ stateMutability: "nonpayable",
953
+ type: "function",
954
+ },
955
+ {
956
+ inputs: [
957
+ {
958
+ internalType: "address",
959
+ name: "key0",
960
+ type: "address",
961
+ },
962
+ {
963
+ internalType: "address",
964
+ name: "key1",
965
+ type: "address",
966
+ },
967
+ ],
968
+ name: "isKnownLenderOnMarket",
969
+ outputs: [
970
+ {
971
+ internalType: "bool",
972
+ name: "",
973
+ type: "bool",
974
+ },
975
+ ],
976
+ stateMutability: "view",
977
+ type: "function",
978
+ },
979
+ {
980
+ inputs: [],
981
+ name: "name",
982
+ outputs: [
983
+ {
984
+ internalType: "string",
985
+ name: "",
986
+ type: "string",
987
+ },
988
+ ],
989
+ stateMutability: "view",
990
+ type: "function",
991
+ },
992
+ {
993
+ inputs: [
994
+ {
995
+ internalType: "uint256",
996
+ name: "param0",
997
+ type: "uint256",
998
+ },
999
+ {
1000
+ components: [
1001
+ {
1002
+ internalType: "bool",
1003
+ name: "isClosed",
1004
+ type: "bool",
1005
+ },
1006
+ {
1007
+ internalType: "uint128",
1008
+ name: "maxTotalSupply",
1009
+ type: "uint128",
1010
+ },
1011
+ {
1012
+ internalType: "uint128",
1013
+ name: "accruedProtocolFees",
1014
+ type: "uint128",
1015
+ },
1016
+ {
1017
+ internalType: "uint128",
1018
+ name: "normalizedUnclaimedWithdrawals",
1019
+ type: "uint128",
1020
+ },
1021
+ {
1022
+ internalType: "uint104",
1023
+ name: "scaledTotalSupply",
1024
+ type: "uint104",
1025
+ },
1026
+ {
1027
+ internalType: "uint104",
1028
+ name: "scaledPendingWithdrawals",
1029
+ type: "uint104",
1030
+ },
1031
+ {
1032
+ internalType: "uint32",
1033
+ name: "pendingWithdrawalExpiry",
1034
+ type: "uint32",
1035
+ },
1036
+ {
1037
+ internalType: "bool",
1038
+ name: "isDelinquent",
1039
+ type: "bool",
1040
+ },
1041
+ {
1042
+ internalType: "uint32",
1043
+ name: "timeDelinquent",
1044
+ type: "uint32",
1045
+ },
1046
+ {
1047
+ internalType: "uint16",
1048
+ name: "protocolFeeBips",
1049
+ type: "uint16",
1050
+ },
1051
+ {
1052
+ internalType: "uint16",
1053
+ name: "annualInterestBips",
1054
+ type: "uint16",
1055
+ },
1056
+ {
1057
+ internalType: "uint16",
1058
+ name: "reserveRatioBips",
1059
+ type: "uint16",
1060
+ },
1061
+ {
1062
+ internalType: "uint112",
1063
+ name: "scaleFactor",
1064
+ type: "uint112",
1065
+ },
1066
+ {
1067
+ internalType: "uint32",
1068
+ name: "lastInterestAccruedTimestamp",
1069
+ type: "uint32",
1070
+ },
1071
+ ],
1072
+ internalType: "struct MarketStateV2",
1073
+ name: "param1",
1074
+ type: "tuple",
1075
+ },
1076
+ {
1077
+ internalType: "bytes",
1078
+ name: "param2",
1079
+ type: "bytes",
1080
+ },
1081
+ ],
1082
+ name: "onBorrow",
1083
+ outputs: [],
1084
+ stateMutability: "nonpayable",
1085
+ type: "function",
1086
+ },
1087
+ {
1088
+ inputs: [
1089
+ {
1090
+ components: [
1091
+ {
1092
+ internalType: "bool",
1093
+ name: "isClosed",
1094
+ type: "bool",
1095
+ },
1096
+ {
1097
+ internalType: "uint128",
1098
+ name: "maxTotalSupply",
1099
+ type: "uint128",
1100
+ },
1101
+ {
1102
+ internalType: "uint128",
1103
+ name: "accruedProtocolFees",
1104
+ type: "uint128",
1105
+ },
1106
+ {
1107
+ internalType: "uint128",
1108
+ name: "normalizedUnclaimedWithdrawals",
1109
+ type: "uint128",
1110
+ },
1111
+ {
1112
+ internalType: "uint104",
1113
+ name: "scaledTotalSupply",
1114
+ type: "uint104",
1115
+ },
1116
+ {
1117
+ internalType: "uint104",
1118
+ name: "scaledPendingWithdrawals",
1119
+ type: "uint104",
1120
+ },
1121
+ {
1122
+ internalType: "uint32",
1123
+ name: "pendingWithdrawalExpiry",
1124
+ type: "uint32",
1125
+ },
1126
+ {
1127
+ internalType: "bool",
1128
+ name: "isDelinquent",
1129
+ type: "bool",
1130
+ },
1131
+ {
1132
+ internalType: "uint32",
1133
+ name: "timeDelinquent",
1134
+ type: "uint32",
1135
+ },
1136
+ {
1137
+ internalType: "uint16",
1138
+ name: "protocolFeeBips",
1139
+ type: "uint16",
1140
+ },
1141
+ {
1142
+ internalType: "uint16",
1143
+ name: "annualInterestBips",
1144
+ type: "uint16",
1145
+ },
1146
+ {
1147
+ internalType: "uint16",
1148
+ name: "reserveRatioBips",
1149
+ type: "uint16",
1150
+ },
1151
+ {
1152
+ internalType: "uint112",
1153
+ name: "scaleFactor",
1154
+ type: "uint112",
1155
+ },
1156
+ {
1157
+ internalType: "uint32",
1158
+ name: "lastInterestAccruedTimestamp",
1159
+ type: "uint32",
1160
+ },
1161
+ ],
1162
+ internalType: "struct MarketStateV2",
1163
+ name: "param0",
1164
+ type: "tuple",
1165
+ },
1166
+ {
1167
+ internalType: "bytes",
1168
+ name: "param1",
1169
+ type: "bytes",
1170
+ },
1171
+ ],
1172
+ name: "onCloseMarket",
1173
+ outputs: [],
1174
+ stateMutability: "nonpayable",
1175
+ type: "function",
1176
+ },
1177
+ {
1178
+ inputs: [
1179
+ {
1180
+ internalType: "address",
1181
+ name: "deployer",
1182
+ type: "address",
1183
+ },
1184
+ {
1185
+ internalType: "address",
1186
+ name: "marketAddress",
1187
+ type: "address",
1188
+ },
1189
+ {
1190
+ components: [
1191
+ {
1192
+ internalType: "address",
1193
+ name: "asset",
1194
+ type: "address",
1195
+ },
1196
+ {
1197
+ internalType: "string",
1198
+ name: "namePrefix",
1199
+ type: "string",
1200
+ },
1201
+ {
1202
+ internalType: "string",
1203
+ name: "symbolPrefix",
1204
+ type: "string",
1205
+ },
1206
+ {
1207
+ internalType: "uint128",
1208
+ name: "maxTotalSupply",
1209
+ type: "uint128",
1210
+ },
1211
+ {
1212
+ internalType: "uint16",
1213
+ name: "annualInterestBips",
1214
+ type: "uint16",
1215
+ },
1216
+ {
1217
+ internalType: "uint16",
1218
+ name: "delinquencyFeeBips",
1219
+ type: "uint16",
1220
+ },
1221
+ {
1222
+ internalType: "uint32",
1223
+ name: "withdrawalBatchDuration",
1224
+ type: "uint32",
1225
+ },
1226
+ {
1227
+ internalType: "uint16",
1228
+ name: "reserveRatioBips",
1229
+ type: "uint16",
1230
+ },
1231
+ {
1232
+ internalType: "uint32",
1233
+ name: "delinquencyGracePeriod",
1234
+ type: "uint32",
1235
+ },
1236
+ {
1237
+ internalType: "HooksConfig",
1238
+ name: "hooks",
1239
+ type: "uint256",
1240
+ },
1241
+ ],
1242
+ internalType: "struct DeployMarketInputsV2",
1243
+ name: "parameters",
1244
+ type: "tuple",
1245
+ },
1246
+ {
1247
+ internalType: "bytes",
1248
+ name: "extraData",
1249
+ type: "bytes",
1250
+ },
1251
+ ],
1252
+ name: "onCreateMarket",
1253
+ outputs: [
1254
+ {
1255
+ internalType: "HooksConfig",
1256
+ name: "param0",
1257
+ type: "uint256",
1258
+ },
1259
+ ],
1260
+ stateMutability: "nonpayable",
1261
+ type: "function",
1262
+ },
1263
+ {
1264
+ inputs: [
1265
+ {
1266
+ internalType: "address",
1267
+ name: "lender",
1268
+ type: "address",
1269
+ },
1270
+ {
1271
+ internalType: "uint256",
1272
+ name: "scaledAmount",
1273
+ type: "uint256",
1274
+ },
1275
+ {
1276
+ components: [
1277
+ {
1278
+ internalType: "bool",
1279
+ name: "isClosed",
1280
+ type: "bool",
1281
+ },
1282
+ {
1283
+ internalType: "uint128",
1284
+ name: "maxTotalSupply",
1285
+ type: "uint128",
1286
+ },
1287
+ {
1288
+ internalType: "uint128",
1289
+ name: "accruedProtocolFees",
1290
+ type: "uint128",
1291
+ },
1292
+ {
1293
+ internalType: "uint128",
1294
+ name: "normalizedUnclaimedWithdrawals",
1295
+ type: "uint128",
1296
+ },
1297
+ {
1298
+ internalType: "uint104",
1299
+ name: "scaledTotalSupply",
1300
+ type: "uint104",
1301
+ },
1302
+ {
1303
+ internalType: "uint104",
1304
+ name: "scaledPendingWithdrawals",
1305
+ type: "uint104",
1306
+ },
1307
+ {
1308
+ internalType: "uint32",
1309
+ name: "pendingWithdrawalExpiry",
1310
+ type: "uint32",
1311
+ },
1312
+ {
1313
+ internalType: "bool",
1314
+ name: "isDelinquent",
1315
+ type: "bool",
1316
+ },
1317
+ {
1318
+ internalType: "uint32",
1319
+ name: "timeDelinquent",
1320
+ type: "uint32",
1321
+ },
1322
+ {
1323
+ internalType: "uint16",
1324
+ name: "protocolFeeBips",
1325
+ type: "uint16",
1326
+ },
1327
+ {
1328
+ internalType: "uint16",
1329
+ name: "annualInterestBips",
1330
+ type: "uint16",
1331
+ },
1332
+ {
1333
+ internalType: "uint16",
1334
+ name: "reserveRatioBips",
1335
+ type: "uint16",
1336
+ },
1337
+ {
1338
+ internalType: "uint112",
1339
+ name: "scaleFactor",
1340
+ type: "uint112",
1341
+ },
1342
+ {
1343
+ internalType: "uint32",
1344
+ name: "lastInterestAccruedTimestamp",
1345
+ type: "uint32",
1346
+ },
1347
+ ],
1348
+ internalType: "struct MarketStateV2",
1349
+ name: "state",
1350
+ type: "tuple",
1351
+ },
1352
+ {
1353
+ internalType: "bytes",
1354
+ name: "hooksData",
1355
+ type: "bytes",
1356
+ },
1357
+ ],
1358
+ name: "onDeposit",
1359
+ outputs: [],
1360
+ stateMutability: "nonpayable",
1361
+ type: "function",
1362
+ },
1363
+ {
1364
+ inputs: [
1365
+ {
1366
+ internalType: "address",
1367
+ name: "lender",
1368
+ type: "address",
1369
+ },
1370
+ {
1371
+ internalType: "uint128",
1372
+ name: "param1",
1373
+ type: "uint128",
1374
+ },
1375
+ {
1376
+ components: [
1377
+ {
1378
+ internalType: "bool",
1379
+ name: "isClosed",
1380
+ type: "bool",
1381
+ },
1382
+ {
1383
+ internalType: "uint128",
1384
+ name: "maxTotalSupply",
1385
+ type: "uint128",
1386
+ },
1387
+ {
1388
+ internalType: "uint128",
1389
+ name: "accruedProtocolFees",
1390
+ type: "uint128",
1391
+ },
1392
+ {
1393
+ internalType: "uint128",
1394
+ name: "normalizedUnclaimedWithdrawals",
1395
+ type: "uint128",
1396
+ },
1397
+ {
1398
+ internalType: "uint104",
1399
+ name: "scaledTotalSupply",
1400
+ type: "uint104",
1401
+ },
1402
+ {
1403
+ internalType: "uint104",
1404
+ name: "scaledPendingWithdrawals",
1405
+ type: "uint104",
1406
+ },
1407
+ {
1408
+ internalType: "uint32",
1409
+ name: "pendingWithdrawalExpiry",
1410
+ type: "uint32",
1411
+ },
1412
+ {
1413
+ internalType: "bool",
1414
+ name: "isDelinquent",
1415
+ type: "bool",
1416
+ },
1417
+ {
1418
+ internalType: "uint32",
1419
+ name: "timeDelinquent",
1420
+ type: "uint32",
1421
+ },
1422
+ {
1423
+ internalType: "uint16",
1424
+ name: "protocolFeeBips",
1425
+ type: "uint16",
1426
+ },
1427
+ {
1428
+ internalType: "uint16",
1429
+ name: "annualInterestBips",
1430
+ type: "uint16",
1431
+ },
1432
+ {
1433
+ internalType: "uint16",
1434
+ name: "reserveRatioBips",
1435
+ type: "uint16",
1436
+ },
1437
+ {
1438
+ internalType: "uint112",
1439
+ name: "scaleFactor",
1440
+ type: "uint112",
1441
+ },
1442
+ {
1443
+ internalType: "uint32",
1444
+ name: "lastInterestAccruedTimestamp",
1445
+ type: "uint32",
1446
+ },
1447
+ ],
1448
+ internalType: "struct MarketStateV2",
1449
+ name: "param2",
1450
+ type: "tuple",
1451
+ },
1452
+ {
1453
+ internalType: "bytes",
1454
+ name: "hooksData",
1455
+ type: "bytes",
1456
+ },
1457
+ ],
1458
+ name: "onExecuteWithdrawal",
1459
+ outputs: [],
1460
+ stateMutability: "nonpayable",
1461
+ type: "function",
1462
+ },
1463
+ {
1464
+ inputs: [
1465
+ {
1466
+ internalType: "address",
1467
+ name: "param0",
1468
+ type: "address",
1469
+ },
1470
+ {
1471
+ internalType: "uint256",
1472
+ name: "param1",
1473
+ type: "uint256",
1474
+ },
1475
+ {
1476
+ components: [
1477
+ {
1478
+ internalType: "bool",
1479
+ name: "isClosed",
1480
+ type: "bool",
1481
+ },
1482
+ {
1483
+ internalType: "uint128",
1484
+ name: "maxTotalSupply",
1485
+ type: "uint128",
1486
+ },
1487
+ {
1488
+ internalType: "uint128",
1489
+ name: "accruedProtocolFees",
1490
+ type: "uint128",
1491
+ },
1492
+ {
1493
+ internalType: "uint128",
1494
+ name: "normalizedUnclaimedWithdrawals",
1495
+ type: "uint128",
1496
+ },
1497
+ {
1498
+ internalType: "uint104",
1499
+ name: "scaledTotalSupply",
1500
+ type: "uint104",
1501
+ },
1502
+ {
1503
+ internalType: "uint104",
1504
+ name: "scaledPendingWithdrawals",
1505
+ type: "uint104",
1506
+ },
1507
+ {
1508
+ internalType: "uint32",
1509
+ name: "pendingWithdrawalExpiry",
1510
+ type: "uint32",
1511
+ },
1512
+ {
1513
+ internalType: "bool",
1514
+ name: "isDelinquent",
1515
+ type: "bool",
1516
+ },
1517
+ {
1518
+ internalType: "uint32",
1519
+ name: "timeDelinquent",
1520
+ type: "uint32",
1521
+ },
1522
+ {
1523
+ internalType: "uint16",
1524
+ name: "protocolFeeBips",
1525
+ type: "uint16",
1526
+ },
1527
+ {
1528
+ internalType: "uint16",
1529
+ name: "annualInterestBips",
1530
+ type: "uint16",
1531
+ },
1532
+ {
1533
+ internalType: "uint16",
1534
+ name: "reserveRatioBips",
1535
+ type: "uint16",
1536
+ },
1537
+ {
1538
+ internalType: "uint112",
1539
+ name: "scaleFactor",
1540
+ type: "uint112",
1541
+ },
1542
+ {
1543
+ internalType: "uint32",
1544
+ name: "lastInterestAccruedTimestamp",
1545
+ type: "uint32",
1546
+ },
1547
+ ],
1548
+ internalType: "struct MarketStateV2",
1549
+ name: "param2",
1550
+ type: "tuple",
1551
+ },
1552
+ {
1553
+ internalType: "bytes",
1554
+ name: "param3",
1555
+ type: "bytes",
1556
+ },
1557
+ ],
1558
+ name: "onForceBuyBack",
1559
+ outputs: [],
1560
+ stateMutability: "nonpayable",
1561
+ type: "function",
1562
+ },
1563
+ {
1564
+ inputs: [
1565
+ {
1566
+ internalType: "address",
1567
+ name: "param0",
1568
+ type: "address",
1569
+ },
1570
+ {
1571
+ components: [
1572
+ {
1573
+ internalType: "bool",
1574
+ name: "isClosed",
1575
+ type: "bool",
1576
+ },
1577
+ {
1578
+ internalType: "uint128",
1579
+ name: "maxTotalSupply",
1580
+ type: "uint128",
1581
+ },
1582
+ {
1583
+ internalType: "uint128",
1584
+ name: "accruedProtocolFees",
1585
+ type: "uint128",
1586
+ },
1587
+ {
1588
+ internalType: "uint128",
1589
+ name: "normalizedUnclaimedWithdrawals",
1590
+ type: "uint128",
1591
+ },
1592
+ {
1593
+ internalType: "uint104",
1594
+ name: "scaledTotalSupply",
1595
+ type: "uint104",
1596
+ },
1597
+ {
1598
+ internalType: "uint104",
1599
+ name: "scaledPendingWithdrawals",
1600
+ type: "uint104",
1601
+ },
1602
+ {
1603
+ internalType: "uint32",
1604
+ name: "pendingWithdrawalExpiry",
1605
+ type: "uint32",
1606
+ },
1607
+ {
1608
+ internalType: "bool",
1609
+ name: "isDelinquent",
1610
+ type: "bool",
1611
+ },
1612
+ {
1613
+ internalType: "uint32",
1614
+ name: "timeDelinquent",
1615
+ type: "uint32",
1616
+ },
1617
+ {
1618
+ internalType: "uint16",
1619
+ name: "protocolFeeBips",
1620
+ type: "uint16",
1621
+ },
1622
+ {
1623
+ internalType: "uint16",
1624
+ name: "annualInterestBips",
1625
+ type: "uint16",
1626
+ },
1627
+ {
1628
+ internalType: "uint16",
1629
+ name: "reserveRatioBips",
1630
+ type: "uint16",
1631
+ },
1632
+ {
1633
+ internalType: "uint112",
1634
+ name: "scaleFactor",
1635
+ type: "uint112",
1636
+ },
1637
+ {
1638
+ internalType: "uint32",
1639
+ name: "lastInterestAccruedTimestamp",
1640
+ type: "uint32",
1641
+ },
1642
+ ],
1643
+ internalType: "struct MarketStateV2",
1644
+ name: "param1",
1645
+ type: "tuple",
1646
+ },
1647
+ {
1648
+ internalType: "bytes",
1649
+ name: "param2",
1650
+ type: "bytes",
1651
+ },
1652
+ ],
1653
+ name: "onNukeFromOrbit",
1654
+ outputs: [],
1655
+ stateMutability: "nonpayable",
1656
+ type: "function",
1657
+ },
1658
+ {
1659
+ inputs: [
1660
+ {
1661
+ internalType: "address",
1662
+ name: "lender",
1663
+ type: "address",
1664
+ },
1665
+ {
1666
+ internalType: "uint32",
1667
+ name: "param1",
1668
+ type: "uint32",
1669
+ },
1670
+ {
1671
+ internalType: "uint256",
1672
+ name: "param2",
1673
+ type: "uint256",
1674
+ },
1675
+ {
1676
+ components: [
1677
+ {
1678
+ internalType: "bool",
1679
+ name: "isClosed",
1680
+ type: "bool",
1681
+ },
1682
+ {
1683
+ internalType: "uint128",
1684
+ name: "maxTotalSupply",
1685
+ type: "uint128",
1686
+ },
1687
+ {
1688
+ internalType: "uint128",
1689
+ name: "accruedProtocolFees",
1690
+ type: "uint128",
1691
+ },
1692
+ {
1693
+ internalType: "uint128",
1694
+ name: "normalizedUnclaimedWithdrawals",
1695
+ type: "uint128",
1696
+ },
1697
+ {
1698
+ internalType: "uint104",
1699
+ name: "scaledTotalSupply",
1700
+ type: "uint104",
1701
+ },
1702
+ {
1703
+ internalType: "uint104",
1704
+ name: "scaledPendingWithdrawals",
1705
+ type: "uint104",
1706
+ },
1707
+ {
1708
+ internalType: "uint32",
1709
+ name: "pendingWithdrawalExpiry",
1710
+ type: "uint32",
1711
+ },
1712
+ {
1713
+ internalType: "bool",
1714
+ name: "isDelinquent",
1715
+ type: "bool",
1716
+ },
1717
+ {
1718
+ internalType: "uint32",
1719
+ name: "timeDelinquent",
1720
+ type: "uint32",
1721
+ },
1722
+ {
1723
+ internalType: "uint16",
1724
+ name: "protocolFeeBips",
1725
+ type: "uint16",
1726
+ },
1727
+ {
1728
+ internalType: "uint16",
1729
+ name: "annualInterestBips",
1730
+ type: "uint16",
1731
+ },
1732
+ {
1733
+ internalType: "uint16",
1734
+ name: "reserveRatioBips",
1735
+ type: "uint16",
1736
+ },
1737
+ {
1738
+ internalType: "uint112",
1739
+ name: "scaleFactor",
1740
+ type: "uint112",
1741
+ },
1742
+ {
1743
+ internalType: "uint32",
1744
+ name: "lastInterestAccruedTimestamp",
1745
+ type: "uint32",
1746
+ },
1747
+ ],
1748
+ internalType: "struct MarketStateV2",
1749
+ name: "param3",
1750
+ type: "tuple",
1751
+ },
1752
+ {
1753
+ internalType: "bytes",
1754
+ name: "hooksData",
1755
+ type: "bytes",
1756
+ },
1757
+ ],
1758
+ name: "onQueueWithdrawal",
1759
+ outputs: [],
1760
+ stateMutability: "nonpayable",
1761
+ type: "function",
1762
+ },
1763
+ {
1764
+ inputs: [
1765
+ {
1766
+ internalType: "uint256",
1767
+ name: "normalizedAmount",
1768
+ type: "uint256",
1769
+ },
1770
+ {
1771
+ components: [
1772
+ {
1773
+ internalType: "bool",
1774
+ name: "isClosed",
1775
+ type: "bool",
1776
+ },
1777
+ {
1778
+ internalType: "uint128",
1779
+ name: "maxTotalSupply",
1780
+ type: "uint128",
1781
+ },
1782
+ {
1783
+ internalType: "uint128",
1784
+ name: "accruedProtocolFees",
1785
+ type: "uint128",
1786
+ },
1787
+ {
1788
+ internalType: "uint128",
1789
+ name: "normalizedUnclaimedWithdrawals",
1790
+ type: "uint128",
1791
+ },
1792
+ {
1793
+ internalType: "uint104",
1794
+ name: "scaledTotalSupply",
1795
+ type: "uint104",
1796
+ },
1797
+ {
1798
+ internalType: "uint104",
1799
+ name: "scaledPendingWithdrawals",
1800
+ type: "uint104",
1801
+ },
1802
+ {
1803
+ internalType: "uint32",
1804
+ name: "pendingWithdrawalExpiry",
1805
+ type: "uint32",
1806
+ },
1807
+ {
1808
+ internalType: "bool",
1809
+ name: "isDelinquent",
1810
+ type: "bool",
1811
+ },
1812
+ {
1813
+ internalType: "uint32",
1814
+ name: "timeDelinquent",
1815
+ type: "uint32",
1816
+ },
1817
+ {
1818
+ internalType: "uint16",
1819
+ name: "protocolFeeBips",
1820
+ type: "uint16",
1821
+ },
1822
+ {
1823
+ internalType: "uint16",
1824
+ name: "annualInterestBips",
1825
+ type: "uint16",
1826
+ },
1827
+ {
1828
+ internalType: "uint16",
1829
+ name: "reserveRatioBips",
1830
+ type: "uint16",
1831
+ },
1832
+ {
1833
+ internalType: "uint112",
1834
+ name: "scaleFactor",
1835
+ type: "uint112",
1836
+ },
1837
+ {
1838
+ internalType: "uint32",
1839
+ name: "lastInterestAccruedTimestamp",
1840
+ type: "uint32",
1841
+ },
1842
+ ],
1843
+ internalType: "struct MarketStateV2",
1844
+ name: "state",
1845
+ type: "tuple",
1846
+ },
1847
+ {
1848
+ internalType: "bytes",
1849
+ name: "hooksData",
1850
+ type: "bytes",
1851
+ },
1852
+ ],
1853
+ name: "onRepay",
1854
+ outputs: [],
1855
+ stateMutability: "nonpayable",
1856
+ type: "function",
1857
+ },
1858
+ {
1859
+ inputs: [
1860
+ {
1861
+ internalType: "uint16",
1862
+ name: "annualInterestBips",
1863
+ type: "uint16",
1864
+ },
1865
+ {
1866
+ internalType: "uint16",
1867
+ name: "reserveRatioBips",
1868
+ type: "uint16",
1869
+ },
1870
+ {
1871
+ components: [
1872
+ {
1873
+ internalType: "bool",
1874
+ name: "isClosed",
1875
+ type: "bool",
1876
+ },
1877
+ {
1878
+ internalType: "uint128",
1879
+ name: "maxTotalSupply",
1880
+ type: "uint128",
1881
+ },
1882
+ {
1883
+ internalType: "uint128",
1884
+ name: "accruedProtocolFees",
1885
+ type: "uint128",
1886
+ },
1887
+ {
1888
+ internalType: "uint128",
1889
+ name: "normalizedUnclaimedWithdrawals",
1890
+ type: "uint128",
1891
+ },
1892
+ {
1893
+ internalType: "uint104",
1894
+ name: "scaledTotalSupply",
1895
+ type: "uint104",
1896
+ },
1897
+ {
1898
+ internalType: "uint104",
1899
+ name: "scaledPendingWithdrawals",
1900
+ type: "uint104",
1901
+ },
1902
+ {
1903
+ internalType: "uint32",
1904
+ name: "pendingWithdrawalExpiry",
1905
+ type: "uint32",
1906
+ },
1907
+ {
1908
+ internalType: "bool",
1909
+ name: "isDelinquent",
1910
+ type: "bool",
1911
+ },
1912
+ {
1913
+ internalType: "uint32",
1914
+ name: "timeDelinquent",
1915
+ type: "uint32",
1916
+ },
1917
+ {
1918
+ internalType: "uint16",
1919
+ name: "protocolFeeBips",
1920
+ type: "uint16",
1921
+ },
1922
+ {
1923
+ internalType: "uint16",
1924
+ name: "annualInterestBips",
1925
+ type: "uint16",
1926
+ },
1927
+ {
1928
+ internalType: "uint16",
1929
+ name: "reserveRatioBips",
1930
+ type: "uint16",
1931
+ },
1932
+ {
1933
+ internalType: "uint112",
1934
+ name: "scaleFactor",
1935
+ type: "uint112",
1936
+ },
1937
+ {
1938
+ internalType: "uint32",
1939
+ name: "lastInterestAccruedTimestamp",
1940
+ type: "uint32",
1941
+ },
1942
+ ],
1943
+ internalType: "struct MarketStateV2",
1944
+ name: "intermediateState",
1945
+ type: "tuple",
1946
+ },
1947
+ {
1948
+ internalType: "bytes",
1949
+ name: "extraData",
1950
+ type: "bytes",
1951
+ },
1952
+ ],
1953
+ name: "onSetAnnualInterestAndReserveRatioBips",
1954
+ outputs: [
1955
+ {
1956
+ internalType: "uint16",
1957
+ name: "updatedAnnualInterestBips",
1958
+ type: "uint16",
1959
+ },
1960
+ {
1961
+ internalType: "uint16",
1962
+ name: "updatedReserveRatioBips",
1963
+ type: "uint16",
1964
+ },
1965
+ ],
1966
+ stateMutability: "nonpayable",
1967
+ type: "function",
1968
+ },
1969
+ {
1970
+ inputs: [
1971
+ {
1972
+ internalType: "uint256",
1973
+ name: "param0",
1974
+ type: "uint256",
1975
+ },
1976
+ {
1977
+ components: [
1978
+ {
1979
+ internalType: "bool",
1980
+ name: "isClosed",
1981
+ type: "bool",
1982
+ },
1983
+ {
1984
+ internalType: "uint128",
1985
+ name: "maxTotalSupply",
1986
+ type: "uint128",
1987
+ },
1988
+ {
1989
+ internalType: "uint128",
1990
+ name: "accruedProtocolFees",
1991
+ type: "uint128",
1992
+ },
1993
+ {
1994
+ internalType: "uint128",
1995
+ name: "normalizedUnclaimedWithdrawals",
1996
+ type: "uint128",
1997
+ },
1998
+ {
1999
+ internalType: "uint104",
2000
+ name: "scaledTotalSupply",
2001
+ type: "uint104",
2002
+ },
2003
+ {
2004
+ internalType: "uint104",
2005
+ name: "scaledPendingWithdrawals",
2006
+ type: "uint104",
2007
+ },
2008
+ {
2009
+ internalType: "uint32",
2010
+ name: "pendingWithdrawalExpiry",
2011
+ type: "uint32",
2012
+ },
2013
+ {
2014
+ internalType: "bool",
2015
+ name: "isDelinquent",
2016
+ type: "bool",
2017
+ },
2018
+ {
2019
+ internalType: "uint32",
2020
+ name: "timeDelinquent",
2021
+ type: "uint32",
2022
+ },
2023
+ {
2024
+ internalType: "uint16",
2025
+ name: "protocolFeeBips",
2026
+ type: "uint16",
2027
+ },
2028
+ {
2029
+ internalType: "uint16",
2030
+ name: "annualInterestBips",
2031
+ type: "uint16",
2032
+ },
2033
+ {
2034
+ internalType: "uint16",
2035
+ name: "reserveRatioBips",
2036
+ type: "uint16",
2037
+ },
2038
+ {
2039
+ internalType: "uint112",
2040
+ name: "scaleFactor",
2041
+ type: "uint112",
2042
+ },
2043
+ {
2044
+ internalType: "uint32",
2045
+ name: "lastInterestAccruedTimestamp",
2046
+ type: "uint32",
2047
+ },
2048
+ ],
2049
+ internalType: "struct MarketStateV2",
2050
+ name: "param1",
2051
+ type: "tuple",
2052
+ },
2053
+ {
2054
+ internalType: "bytes",
2055
+ name: "param2",
2056
+ type: "bytes",
2057
+ },
2058
+ ],
2059
+ name: "onSetMaxTotalSupply",
2060
+ outputs: [],
2061
+ stateMutability: "nonpayable",
2062
+ type: "function",
2063
+ },
2064
+ {
2065
+ inputs: [
2066
+ {
2067
+ internalType: "uint16",
2068
+ name: "param0",
2069
+ type: "uint16",
2070
+ },
2071
+ {
2072
+ components: [
2073
+ {
2074
+ internalType: "bool",
2075
+ name: "isClosed",
2076
+ type: "bool",
2077
+ },
2078
+ {
2079
+ internalType: "uint128",
2080
+ name: "maxTotalSupply",
2081
+ type: "uint128",
2082
+ },
2083
+ {
2084
+ internalType: "uint128",
2085
+ name: "accruedProtocolFees",
2086
+ type: "uint128",
2087
+ },
2088
+ {
2089
+ internalType: "uint128",
2090
+ name: "normalizedUnclaimedWithdrawals",
2091
+ type: "uint128",
2092
+ },
2093
+ {
2094
+ internalType: "uint104",
2095
+ name: "scaledTotalSupply",
2096
+ type: "uint104",
2097
+ },
2098
+ {
2099
+ internalType: "uint104",
2100
+ name: "scaledPendingWithdrawals",
2101
+ type: "uint104",
2102
+ },
2103
+ {
2104
+ internalType: "uint32",
2105
+ name: "pendingWithdrawalExpiry",
2106
+ type: "uint32",
2107
+ },
2108
+ {
2109
+ internalType: "bool",
2110
+ name: "isDelinquent",
2111
+ type: "bool",
2112
+ },
2113
+ {
2114
+ internalType: "uint32",
2115
+ name: "timeDelinquent",
2116
+ type: "uint32",
2117
+ },
2118
+ {
2119
+ internalType: "uint16",
2120
+ name: "protocolFeeBips",
2121
+ type: "uint16",
2122
+ },
2123
+ {
2124
+ internalType: "uint16",
2125
+ name: "annualInterestBips",
2126
+ type: "uint16",
2127
+ },
2128
+ {
2129
+ internalType: "uint16",
2130
+ name: "reserveRatioBips",
2131
+ type: "uint16",
2132
+ },
2133
+ {
2134
+ internalType: "uint112",
2135
+ name: "scaleFactor",
2136
+ type: "uint112",
2137
+ },
2138
+ {
2139
+ internalType: "uint32",
2140
+ name: "lastInterestAccruedTimestamp",
2141
+ type: "uint32",
2142
+ },
2143
+ ],
2144
+ internalType: "struct MarketStateV2",
2145
+ name: "param1",
2146
+ type: "tuple",
2147
+ },
2148
+ {
2149
+ internalType: "bytes",
2150
+ name: "param2",
2151
+ type: "bytes",
2152
+ },
2153
+ ],
2154
+ name: "onSetProtocolFeeBips",
2155
+ outputs: [],
2156
+ stateMutability: "nonpayable",
2157
+ type: "function",
2158
+ },
2159
+ {
2160
+ inputs: [
2161
+ {
2162
+ internalType: "address",
2163
+ name: "param0",
2164
+ type: "address",
2165
+ },
2166
+ {
2167
+ internalType: "address",
2168
+ name: "param1",
2169
+ type: "address",
2170
+ },
2171
+ {
2172
+ internalType: "address",
2173
+ name: "to",
2174
+ type: "address",
2175
+ },
2176
+ {
2177
+ internalType: "uint256",
2178
+ name: "param3",
2179
+ type: "uint256",
2180
+ },
2181
+ {
2182
+ components: [
2183
+ {
2184
+ internalType: "bool",
2185
+ name: "isClosed",
2186
+ type: "bool",
2187
+ },
2188
+ {
2189
+ internalType: "uint128",
2190
+ name: "maxTotalSupply",
2191
+ type: "uint128",
2192
+ },
2193
+ {
2194
+ internalType: "uint128",
2195
+ name: "accruedProtocolFees",
2196
+ type: "uint128",
2197
+ },
2198
+ {
2199
+ internalType: "uint128",
2200
+ name: "normalizedUnclaimedWithdrawals",
2201
+ type: "uint128",
2202
+ },
2203
+ {
2204
+ internalType: "uint104",
2205
+ name: "scaledTotalSupply",
2206
+ type: "uint104",
2207
+ },
2208
+ {
2209
+ internalType: "uint104",
2210
+ name: "scaledPendingWithdrawals",
2211
+ type: "uint104",
2212
+ },
2213
+ {
2214
+ internalType: "uint32",
2215
+ name: "pendingWithdrawalExpiry",
2216
+ type: "uint32",
2217
+ },
2218
+ {
2219
+ internalType: "bool",
2220
+ name: "isDelinquent",
2221
+ type: "bool",
2222
+ },
2223
+ {
2224
+ internalType: "uint32",
2225
+ name: "timeDelinquent",
2226
+ type: "uint32",
2227
+ },
2228
+ {
2229
+ internalType: "uint16",
2230
+ name: "protocolFeeBips",
2231
+ type: "uint16",
2232
+ },
2233
+ {
2234
+ internalType: "uint16",
2235
+ name: "annualInterestBips",
2236
+ type: "uint16",
2237
+ },
2238
+ {
2239
+ internalType: "uint16",
2240
+ name: "reserveRatioBips",
2241
+ type: "uint16",
2242
+ },
2243
+ {
2244
+ internalType: "uint112",
2245
+ name: "scaleFactor",
2246
+ type: "uint112",
2247
+ },
2248
+ {
2249
+ internalType: "uint32",
2250
+ name: "lastInterestAccruedTimestamp",
2251
+ type: "uint32",
2252
+ },
2253
+ ],
2254
+ internalType: "struct MarketStateV2",
2255
+ name: "param4",
2256
+ type: "tuple",
2257
+ },
2258
+ {
2259
+ internalType: "bytes",
2260
+ name: "extraData",
2261
+ type: "bytes",
2262
+ },
2263
+ ],
2264
+ name: "onTransfer",
2265
+ outputs: [],
2266
+ stateMutability: "nonpayable",
2267
+ type: "function",
2268
+ },
2269
+ {
2270
+ inputs: [
2271
+ {
2272
+ internalType: "address",
2273
+ name: "providerAddress",
2274
+ type: "address",
2275
+ },
2276
+ ],
2277
+ name: "removeRoleProvider",
2278
+ outputs: [],
2279
+ stateMutability: "nonpayable",
2280
+ type: "function",
2281
+ },
2282
+ {
2283
+ inputs: [
2284
+ {
2285
+ internalType: "address",
2286
+ name: "account",
2287
+ type: "address",
2288
+ },
2289
+ ],
2290
+ name: "revokeRole",
2291
+ outputs: [],
2292
+ stateMutability: "nonpayable",
2293
+ type: "function",
2294
+ },
2295
+ {
2296
+ inputs: [
2297
+ {
2298
+ internalType: "address",
2299
+ name: "market",
2300
+ type: "address",
2301
+ },
2302
+ {
2303
+ internalType: "uint32",
2304
+ name: "newFixedTermEndTime",
2305
+ type: "uint32",
2306
+ },
2307
+ ],
2308
+ name: "setFixedTermEndTime",
2309
+ outputs: [],
2310
+ stateMutability: "nonpayable",
2311
+ type: "function",
2312
+ },
2313
+ {
2314
+ inputs: [
2315
+ {
2316
+ internalType: "address",
2317
+ name: "market",
2318
+ type: "address",
2319
+ },
2320
+ {
2321
+ internalType: "uint128",
2322
+ name: "newMinimumDeposit",
2323
+ type: "uint128",
2324
+ },
2325
+ ],
2326
+ name: "setMinimumDeposit",
2327
+ outputs: [],
2328
+ stateMutability: "nonpayable",
2329
+ type: "function",
2330
+ },
2331
+ {
2332
+ inputs: [
2333
+ {
2334
+ internalType: "string",
2335
+ name: "_name",
2336
+ type: "string",
2337
+ },
2338
+ ],
2339
+ name: "setName",
2340
+ outputs: [],
2341
+ stateMutability: "nonpayable",
2342
+ type: "function",
2343
+ },
2344
+ {
2345
+ inputs: [
2346
+ {
2347
+ internalType: "address",
2348
+ name: "key0",
2349
+ type: "address",
2350
+ },
2351
+ ],
2352
+ name: "temporaryExcessReserveRatio",
2353
+ outputs: [
2354
+ {
2355
+ internalType: "uint16",
2356
+ name: "originalAnnualInterestBips",
2357
+ type: "uint16",
2358
+ },
2359
+ {
2360
+ internalType: "uint16",
2361
+ name: "originalReserveRatioBips",
2362
+ type: "uint16",
2363
+ },
2364
+ {
2365
+ internalType: "uint32",
2366
+ name: "expiry",
2367
+ type: "uint32",
2368
+ },
2369
+ ],
2370
+ stateMutability: "view",
2371
+ type: "function",
2372
+ },
2373
+ {
2374
+ inputs: [
2375
+ {
2376
+ internalType: "address",
2377
+ name: "account",
2378
+ type: "address",
2379
+ },
2380
+ ],
2381
+ name: "unblockFromDeposits",
2382
+ outputs: [],
2383
+ stateMutability: "nonpayable",
2384
+ type: "function",
2385
+ },
2386
+ {
2387
+ inputs: [],
2388
+ name: "version",
2389
+ outputs: [
2390
+ {
2391
+ internalType: "string",
2392
+ name: "param0",
2393
+ type: "string",
2394
+ },
2395
+ ],
2396
+ stateMutability: "pure",
2397
+ type: "function",
2398
+ },
2399
+ ];
2400
+ class IFixedTermHooks__factory {
2401
+ static createInterface() {
2402
+ return new ethers_1.utils.Interface(_abi);
2403
+ }
2404
+ static connect(address, signerOrProvider) {
2405
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
2406
+ }
2407
+ }
2408
+ IFixedTermHooks__factory.abi = _abi;
2409
+ exports.IFixedTermHooks__factory = IFixedTermHooks__factory;
2410
+ //# sourceMappingURL=IFixedTermHooks__factory.js.map