@wildcatfi/wildcat-sdk 2.0.83 → 3.0.2

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 +91 -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,1680 @@
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.WildcatMarketV2__factory = void 0;
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [],
11
+ name: "AccountBlocked",
12
+ type: "error",
13
+ },
14
+ {
15
+ inputs: [],
16
+ name: "AnnualInterestBipsTooHigh",
17
+ type: "error",
18
+ },
19
+ {
20
+ inputs: [],
21
+ name: "AprChangeOnClosedMarket",
22
+ type: "error",
23
+ },
24
+ {
25
+ inputs: [],
26
+ name: "BadLaunchCode",
27
+ type: "error",
28
+ },
29
+ {
30
+ inputs: [],
31
+ name: "BadRescueAsset",
32
+ type: "error",
33
+ },
34
+ {
35
+ inputs: [],
36
+ name: "BorrowAmountTooHigh",
37
+ type: "error",
38
+ },
39
+ {
40
+ inputs: [],
41
+ name: "BorrowFromClosedMarket",
42
+ type: "error",
43
+ },
44
+ {
45
+ inputs: [],
46
+ name: "BorrowWhileSanctioned",
47
+ type: "error",
48
+ },
49
+ {
50
+ inputs: [],
51
+ name: "BuyBackOnClosedMarket",
52
+ type: "error",
53
+ },
54
+ {
55
+ inputs: [],
56
+ name: "BuyBackOnDelinquentMarket",
57
+ type: "error",
58
+ },
59
+ {
60
+ inputs: [],
61
+ name: "CapacityChangeOnClosedMarket",
62
+ type: "error",
63
+ },
64
+ {
65
+ inputs: [],
66
+ name: "CloseMarketWithUnpaidWithdrawals",
67
+ type: "error",
68
+ },
69
+ {
70
+ inputs: [],
71
+ name: "DepositToClosedMarket",
72
+ type: "error",
73
+ },
74
+ {
75
+ inputs: [],
76
+ name: "InsufficientReservesForFeeWithdrawal",
77
+ type: "error",
78
+ },
79
+ {
80
+ inputs: [],
81
+ name: "InsufficientReservesForNewLiquidityRatio",
82
+ type: "error",
83
+ },
84
+ {
85
+ inputs: [],
86
+ name: "InsufficientReservesForOldLiquidityRatio",
87
+ type: "error",
88
+ },
89
+ {
90
+ inputs: [],
91
+ name: "InvalidArrayLength",
92
+ type: "error",
93
+ },
94
+ {
95
+ inputs: [],
96
+ name: "MarketAlreadyClosed",
97
+ type: "error",
98
+ },
99
+ {
100
+ inputs: [],
101
+ name: "MaxSupplyExceeded",
102
+ type: "error",
103
+ },
104
+ {
105
+ inputs: [],
106
+ name: "NoReentrantCalls",
107
+ type: "error",
108
+ },
109
+ {
110
+ inputs: [],
111
+ name: "NotApprovedBorrower",
112
+ type: "error",
113
+ },
114
+ {
115
+ inputs: [],
116
+ name: "NotApprovedLender",
117
+ type: "error",
118
+ },
119
+ {
120
+ inputs: [],
121
+ name: "NotFactory",
122
+ type: "error",
123
+ },
124
+ {
125
+ inputs: [],
126
+ name: "NullBurnAmount",
127
+ type: "error",
128
+ },
129
+ {
130
+ inputs: [],
131
+ name: "NullBuyBackAmount",
132
+ type: "error",
133
+ },
134
+ {
135
+ inputs: [],
136
+ name: "NullFeeAmount",
137
+ type: "error",
138
+ },
139
+ {
140
+ inputs: [],
141
+ name: "NullMintAmount",
142
+ type: "error",
143
+ },
144
+ {
145
+ inputs: [],
146
+ name: "NullRepayAmount",
147
+ type: "error",
148
+ },
149
+ {
150
+ inputs: [],
151
+ name: "NullTransferAmount",
152
+ type: "error",
153
+ },
154
+ {
155
+ inputs: [],
156
+ name: "NullWithdrawalAmount",
157
+ type: "error",
158
+ },
159
+ {
160
+ inputs: [],
161
+ name: "ProtocolFeeChangeOnClosedMarket",
162
+ type: "error",
163
+ },
164
+ {
165
+ inputs: [],
166
+ name: "ProtocolFeeTooHigh",
167
+ type: "error",
168
+ },
169
+ {
170
+ inputs: [],
171
+ name: "RepayToClosedMarket",
172
+ type: "error",
173
+ },
174
+ {
175
+ inputs: [],
176
+ name: "ReserveRatioBipsTooHigh",
177
+ type: "error",
178
+ },
179
+ {
180
+ inputs: [],
181
+ name: "SphereXOperatorRequired",
182
+ type: "error",
183
+ },
184
+ {
185
+ inputs: [],
186
+ name: "WithdrawalBatchNotExpired",
187
+ type: "error",
188
+ },
189
+ {
190
+ anonymous: false,
191
+ inputs: [
192
+ {
193
+ indexed: true,
194
+ internalType: "address",
195
+ name: "account",
196
+ type: "address",
197
+ },
198
+ ],
199
+ name: "AccountSanctioned",
200
+ type: "event",
201
+ },
202
+ {
203
+ anonymous: false,
204
+ inputs: [
205
+ {
206
+ indexed: false,
207
+ internalType: "uint256",
208
+ name: "annualInterestBipsUpdated",
209
+ type: "uint256",
210
+ },
211
+ ],
212
+ name: "AnnualInterestBipsUpdated",
213
+ type: "event",
214
+ },
215
+ {
216
+ anonymous: false,
217
+ inputs: [
218
+ {
219
+ indexed: true,
220
+ internalType: "address",
221
+ name: "owner",
222
+ type: "address",
223
+ },
224
+ {
225
+ indexed: true,
226
+ internalType: "address",
227
+ name: "spender",
228
+ type: "address",
229
+ },
230
+ {
231
+ indexed: false,
232
+ internalType: "uint256",
233
+ name: "value",
234
+ type: "uint256",
235
+ },
236
+ ],
237
+ name: "Approval",
238
+ type: "event",
239
+ },
240
+ {
241
+ anonymous: false,
242
+ inputs: [
243
+ {
244
+ indexed: false,
245
+ internalType: "uint256",
246
+ name: "assetAmount",
247
+ type: "uint256",
248
+ },
249
+ ],
250
+ name: "Borrow",
251
+ type: "event",
252
+ },
253
+ {
254
+ anonymous: false,
255
+ inputs: [
256
+ {
257
+ indexed: false,
258
+ internalType: "address",
259
+ name: "oldEngineAddress",
260
+ type: "address",
261
+ },
262
+ {
263
+ indexed: false,
264
+ internalType: "address",
265
+ name: "newEngineAddress",
266
+ type: "address",
267
+ },
268
+ ],
269
+ name: "ChangedSpherexEngineAddress",
270
+ type: "event",
271
+ },
272
+ {
273
+ anonymous: false,
274
+ inputs: [
275
+ {
276
+ indexed: false,
277
+ internalType: "address",
278
+ name: "oldSphereXAdmin",
279
+ type: "address",
280
+ },
281
+ {
282
+ indexed: false,
283
+ internalType: "address",
284
+ name: "newSphereXAdmin",
285
+ type: "address",
286
+ },
287
+ ],
288
+ name: "ChangedSpherexOperator",
289
+ type: "event",
290
+ },
291
+ {
292
+ anonymous: false,
293
+ inputs: [
294
+ {
295
+ indexed: true,
296
+ internalType: "address",
297
+ name: "from",
298
+ type: "address",
299
+ },
300
+ {
301
+ indexed: false,
302
+ internalType: "uint256",
303
+ name: "assetAmount",
304
+ type: "uint256",
305
+ },
306
+ ],
307
+ name: "DebtRepaid",
308
+ type: "event",
309
+ },
310
+ {
311
+ anonymous: false,
312
+ inputs: [
313
+ {
314
+ indexed: true,
315
+ internalType: "address",
316
+ name: "account",
317
+ type: "address",
318
+ },
319
+ {
320
+ indexed: false,
321
+ internalType: "uint256",
322
+ name: "assetAmount",
323
+ type: "uint256",
324
+ },
325
+ {
326
+ indexed: false,
327
+ internalType: "uint256",
328
+ name: "scaledAmount",
329
+ type: "uint256",
330
+ },
331
+ ],
332
+ name: "Deposit",
333
+ type: "event",
334
+ },
335
+ {
336
+ anonymous: false,
337
+ inputs: [
338
+ {
339
+ indexed: false,
340
+ internalType: "uint256",
341
+ name: "assets",
342
+ type: "uint256",
343
+ },
344
+ ],
345
+ name: "FeesCollected",
346
+ type: "event",
347
+ },
348
+ {
349
+ anonymous: false,
350
+ inputs: [
351
+ {
352
+ indexed: true,
353
+ internalType: "address",
354
+ name: "lender",
355
+ type: "address",
356
+ },
357
+ {
358
+ indexed: false,
359
+ internalType: "uint256",
360
+ name: "scaledAmount",
361
+ type: "uint256",
362
+ },
363
+ {
364
+ indexed: false,
365
+ internalType: "uint256",
366
+ name: "normalizedAmount",
367
+ type: "uint256",
368
+ },
369
+ ],
370
+ name: "ForceBuyBack",
371
+ type: "event",
372
+ },
373
+ {
374
+ anonymous: false,
375
+ inputs: [
376
+ {
377
+ indexed: false,
378
+ internalType: "uint256",
379
+ name: "fromTimestamp",
380
+ type: "uint256",
381
+ },
382
+ {
383
+ indexed: false,
384
+ internalType: "uint256",
385
+ name: "toTimestamp",
386
+ type: "uint256",
387
+ },
388
+ {
389
+ indexed: false,
390
+ internalType: "uint256",
391
+ name: "scaleFactor",
392
+ type: "uint256",
393
+ },
394
+ {
395
+ indexed: false,
396
+ internalType: "uint256",
397
+ name: "baseInterestRay",
398
+ type: "uint256",
399
+ },
400
+ {
401
+ indexed: false,
402
+ internalType: "uint256",
403
+ name: "delinquencyFeeRay",
404
+ type: "uint256",
405
+ },
406
+ {
407
+ indexed: false,
408
+ internalType: "uint256",
409
+ name: "protocolFees",
410
+ type: "uint256",
411
+ },
412
+ ],
413
+ name: "InterestAndFeesAccrued",
414
+ type: "event",
415
+ },
416
+ {
417
+ anonymous: false,
418
+ inputs: [
419
+ {
420
+ indexed: false,
421
+ internalType: "uint256",
422
+ name: "timestamp",
423
+ type: "uint256",
424
+ },
425
+ ],
426
+ name: "MarketClosed",
427
+ type: "event",
428
+ },
429
+ {
430
+ anonymous: false,
431
+ inputs: [
432
+ {
433
+ indexed: false,
434
+ internalType: "uint256",
435
+ name: "assets",
436
+ type: "uint256",
437
+ },
438
+ ],
439
+ name: "MaxTotalSupplyUpdated",
440
+ type: "event",
441
+ },
442
+ {
443
+ anonymous: false,
444
+ inputs: [
445
+ {
446
+ indexed: false,
447
+ internalType: "uint256",
448
+ name: "protocolFeeBips",
449
+ type: "uint256",
450
+ },
451
+ ],
452
+ name: "ProtocolFeeBipsUpdated",
453
+ type: "event",
454
+ },
455
+ {
456
+ anonymous: false,
457
+ inputs: [
458
+ {
459
+ indexed: false,
460
+ internalType: "uint256",
461
+ name: "reserveRatioBipsUpdated",
462
+ type: "uint256",
463
+ },
464
+ ],
465
+ name: "ReserveRatioBipsUpdated",
466
+ type: "event",
467
+ },
468
+ {
469
+ anonymous: false,
470
+ inputs: [
471
+ {
472
+ indexed: true,
473
+ internalType: "address",
474
+ name: "account",
475
+ type: "address",
476
+ },
477
+ {
478
+ indexed: false,
479
+ internalType: "uint256",
480
+ name: "expiry",
481
+ type: "uint256",
482
+ },
483
+ {
484
+ indexed: false,
485
+ internalType: "uint256",
486
+ name: "scaledAmount",
487
+ type: "uint256",
488
+ },
489
+ {
490
+ indexed: false,
491
+ internalType: "uint256",
492
+ name: "normalizedAmount",
493
+ type: "uint256",
494
+ },
495
+ ],
496
+ name: "SanctionedAccountAssetsQueuedForWithdrawal",
497
+ type: "event",
498
+ },
499
+ {
500
+ anonymous: false,
501
+ inputs: [
502
+ {
503
+ indexed: true,
504
+ internalType: "address",
505
+ name: "account",
506
+ type: "address",
507
+ },
508
+ {
509
+ indexed: false,
510
+ internalType: "address",
511
+ name: "escrow",
512
+ type: "address",
513
+ },
514
+ {
515
+ indexed: false,
516
+ internalType: "uint256",
517
+ name: "amount",
518
+ type: "uint256",
519
+ },
520
+ ],
521
+ name: "SanctionedAccountAssetsSentToEscrow",
522
+ type: "event",
523
+ },
524
+ {
525
+ anonymous: false,
526
+ inputs: [
527
+ {
528
+ indexed: true,
529
+ internalType: "address",
530
+ name: "account",
531
+ type: "address",
532
+ },
533
+ {
534
+ indexed: false,
535
+ internalType: "address",
536
+ name: "escrow",
537
+ type: "address",
538
+ },
539
+ {
540
+ indexed: false,
541
+ internalType: "uint32",
542
+ name: "expiry",
543
+ type: "uint32",
544
+ },
545
+ {
546
+ indexed: false,
547
+ internalType: "uint256",
548
+ name: "amount",
549
+ type: "uint256",
550
+ },
551
+ ],
552
+ name: "SanctionedAccountWithdrawalSentToEscrow",
553
+ type: "event",
554
+ },
555
+ {
556
+ anonymous: false,
557
+ inputs: [
558
+ {
559
+ indexed: false,
560
+ internalType: "uint256",
561
+ name: "scaleFactor",
562
+ type: "uint256",
563
+ },
564
+ {
565
+ indexed: false,
566
+ internalType: "bool",
567
+ name: "isDelinquent",
568
+ type: "bool",
569
+ },
570
+ ],
571
+ name: "StateUpdated",
572
+ type: "event",
573
+ },
574
+ {
575
+ anonymous: false,
576
+ inputs: [
577
+ {
578
+ indexed: true,
579
+ internalType: "address",
580
+ name: "from",
581
+ type: "address",
582
+ },
583
+ {
584
+ indexed: true,
585
+ internalType: "address",
586
+ name: "to",
587
+ type: "address",
588
+ },
589
+ {
590
+ indexed: false,
591
+ internalType: "uint256",
592
+ name: "value",
593
+ type: "uint256",
594
+ },
595
+ ],
596
+ name: "Transfer",
597
+ type: "event",
598
+ },
599
+ {
600
+ anonymous: false,
601
+ inputs: [
602
+ {
603
+ indexed: true,
604
+ internalType: "uint256",
605
+ name: "expiry",
606
+ type: "uint256",
607
+ },
608
+ ],
609
+ name: "WithdrawalBatchClosed",
610
+ type: "event",
611
+ },
612
+ {
613
+ anonymous: false,
614
+ inputs: [
615
+ {
616
+ indexed: true,
617
+ internalType: "uint256",
618
+ name: "expiry",
619
+ type: "uint256",
620
+ },
621
+ ],
622
+ name: "WithdrawalBatchCreated",
623
+ type: "event",
624
+ },
625
+ {
626
+ anonymous: false,
627
+ inputs: [
628
+ {
629
+ indexed: true,
630
+ internalType: "uint256",
631
+ name: "expiry",
632
+ type: "uint256",
633
+ },
634
+ {
635
+ indexed: false,
636
+ internalType: "uint256",
637
+ name: "scaledTotalAmount",
638
+ type: "uint256",
639
+ },
640
+ {
641
+ indexed: false,
642
+ internalType: "uint256",
643
+ name: "scaledAmountBurned",
644
+ type: "uint256",
645
+ },
646
+ {
647
+ indexed: false,
648
+ internalType: "uint256",
649
+ name: "normalizedAmountPaid",
650
+ type: "uint256",
651
+ },
652
+ ],
653
+ name: "WithdrawalBatchExpired",
654
+ type: "event",
655
+ },
656
+ {
657
+ anonymous: false,
658
+ inputs: [
659
+ {
660
+ indexed: true,
661
+ internalType: "uint256",
662
+ name: "expiry",
663
+ type: "uint256",
664
+ },
665
+ {
666
+ indexed: false,
667
+ internalType: "uint256",
668
+ name: "scaledAmountBurned",
669
+ type: "uint256",
670
+ },
671
+ {
672
+ indexed: false,
673
+ internalType: "uint256",
674
+ name: "normalizedAmountPaid",
675
+ type: "uint256",
676
+ },
677
+ ],
678
+ name: "WithdrawalBatchPayment",
679
+ type: "event",
680
+ },
681
+ {
682
+ anonymous: false,
683
+ inputs: [
684
+ {
685
+ indexed: true,
686
+ internalType: "uint256",
687
+ name: "expiry",
688
+ type: "uint256",
689
+ },
690
+ {
691
+ indexed: true,
692
+ internalType: "address",
693
+ name: "account",
694
+ type: "address",
695
+ },
696
+ {
697
+ indexed: false,
698
+ internalType: "uint256",
699
+ name: "normalizedAmount",
700
+ type: "uint256",
701
+ },
702
+ ],
703
+ name: "WithdrawalExecuted",
704
+ type: "event",
705
+ },
706
+ {
707
+ anonymous: false,
708
+ inputs: [
709
+ {
710
+ indexed: true,
711
+ internalType: "uint256",
712
+ name: "expiry",
713
+ type: "uint256",
714
+ },
715
+ {
716
+ indexed: true,
717
+ internalType: "address",
718
+ name: "account",
719
+ type: "address",
720
+ },
721
+ {
722
+ indexed: false,
723
+ internalType: "uint256",
724
+ name: "scaledAmount",
725
+ type: "uint256",
726
+ },
727
+ {
728
+ indexed: false,
729
+ internalType: "uint256",
730
+ name: "normalizedAmount",
731
+ type: "uint256",
732
+ },
733
+ ],
734
+ name: "WithdrawalQueued",
735
+ type: "event",
736
+ },
737
+ {
738
+ inputs: [],
739
+ name: "accruedProtocolFees",
740
+ outputs: [
741
+ {
742
+ internalType: "uint256",
743
+ name: "param0",
744
+ type: "uint256",
745
+ },
746
+ ],
747
+ stateMutability: "view",
748
+ type: "function",
749
+ },
750
+ {
751
+ inputs: [],
752
+ name: "annualInterestBips",
753
+ outputs: [
754
+ {
755
+ internalType: "uint256",
756
+ name: "param0",
757
+ type: "uint256",
758
+ },
759
+ ],
760
+ stateMutability: "view",
761
+ type: "function",
762
+ },
763
+ {
764
+ inputs: [
765
+ {
766
+ internalType: "address",
767
+ name: "spender",
768
+ type: "address",
769
+ },
770
+ {
771
+ internalType: "uint256",
772
+ name: "amount",
773
+ type: "uint256",
774
+ },
775
+ ],
776
+ name: "approve",
777
+ outputs: [
778
+ {
779
+ internalType: "bool",
780
+ name: "param0",
781
+ type: "bool",
782
+ },
783
+ ],
784
+ stateMutability: "nonpayable",
785
+ type: "function",
786
+ },
787
+ {
788
+ inputs: [],
789
+ name: "archController",
790
+ outputs: [
791
+ {
792
+ internalType: "address",
793
+ name: "param0",
794
+ type: "address",
795
+ },
796
+ ],
797
+ stateMutability: "view",
798
+ type: "function",
799
+ },
800
+ {
801
+ inputs: [
802
+ {
803
+ internalType: "address",
804
+ name: "account",
805
+ type: "address",
806
+ },
807
+ ],
808
+ name: "balanceOf",
809
+ outputs: [
810
+ {
811
+ internalType: "uint256",
812
+ name: "param0",
813
+ type: "uint256",
814
+ },
815
+ ],
816
+ stateMutability: "view",
817
+ type: "function",
818
+ },
819
+ {
820
+ inputs: [
821
+ {
822
+ internalType: "uint256",
823
+ name: "amount",
824
+ type: "uint256",
825
+ },
826
+ ],
827
+ name: "borrow",
828
+ outputs: [],
829
+ stateMutability: "nonpayable",
830
+ type: "function",
831
+ },
832
+ {
833
+ inputs: [],
834
+ name: "borrowableAssets",
835
+ outputs: [
836
+ {
837
+ internalType: "uint256",
838
+ name: "param0",
839
+ type: "uint256",
840
+ },
841
+ ],
842
+ stateMutability: "view",
843
+ type: "function",
844
+ },
845
+ {
846
+ inputs: [
847
+ {
848
+ internalType: "address",
849
+ name: "newSphereXEngine",
850
+ type: "address",
851
+ },
852
+ ],
853
+ name: "changeSphereXEngine",
854
+ outputs: [],
855
+ stateMutability: "nonpayable",
856
+ type: "function",
857
+ },
858
+ {
859
+ inputs: [],
860
+ name: "closeMarket",
861
+ outputs: [],
862
+ stateMutability: "nonpayable",
863
+ type: "function",
864
+ },
865
+ {
866
+ inputs: [],
867
+ name: "collectFees",
868
+ outputs: [],
869
+ stateMutability: "nonpayable",
870
+ type: "function",
871
+ },
872
+ {
873
+ inputs: [],
874
+ name: "coverageLiquidity",
875
+ outputs: [
876
+ {
877
+ internalType: "uint256",
878
+ name: "param0",
879
+ type: "uint256",
880
+ },
881
+ ],
882
+ stateMutability: "view",
883
+ type: "function",
884
+ },
885
+ {
886
+ inputs: [],
887
+ name: "currentState",
888
+ outputs: [
889
+ {
890
+ components: [
891
+ {
892
+ internalType: "bool",
893
+ name: "isClosed",
894
+ type: "bool",
895
+ },
896
+ {
897
+ internalType: "uint128",
898
+ name: "maxTotalSupply",
899
+ type: "uint128",
900
+ },
901
+ {
902
+ internalType: "uint128",
903
+ name: "accruedProtocolFees",
904
+ type: "uint128",
905
+ },
906
+ {
907
+ internalType: "uint128",
908
+ name: "normalizedUnclaimedWithdrawals",
909
+ type: "uint128",
910
+ },
911
+ {
912
+ internalType: "uint104",
913
+ name: "scaledTotalSupply",
914
+ type: "uint104",
915
+ },
916
+ {
917
+ internalType: "uint104",
918
+ name: "scaledPendingWithdrawals",
919
+ type: "uint104",
920
+ },
921
+ {
922
+ internalType: "uint32",
923
+ name: "pendingWithdrawalExpiry",
924
+ type: "uint32",
925
+ },
926
+ {
927
+ internalType: "bool",
928
+ name: "isDelinquent",
929
+ type: "bool",
930
+ },
931
+ {
932
+ internalType: "uint32",
933
+ name: "timeDelinquent",
934
+ type: "uint32",
935
+ },
936
+ {
937
+ internalType: "uint16",
938
+ name: "protocolFeeBips",
939
+ type: "uint16",
940
+ },
941
+ {
942
+ internalType: "uint16",
943
+ name: "annualInterestBips",
944
+ type: "uint16",
945
+ },
946
+ {
947
+ internalType: "uint16",
948
+ name: "reserveRatioBips",
949
+ type: "uint16",
950
+ },
951
+ {
952
+ internalType: "uint112",
953
+ name: "scaleFactor",
954
+ type: "uint112",
955
+ },
956
+ {
957
+ internalType: "uint32",
958
+ name: "lastInterestAccruedTimestamp",
959
+ type: "uint32",
960
+ },
961
+ ],
962
+ internalType: "struct MarketStateV2",
963
+ name: "state",
964
+ type: "tuple",
965
+ },
966
+ ],
967
+ stateMutability: "view",
968
+ type: "function",
969
+ },
970
+ {
971
+ inputs: [
972
+ {
973
+ internalType: "uint256",
974
+ name: "amount",
975
+ type: "uint256",
976
+ },
977
+ ],
978
+ name: "deposit",
979
+ outputs: [],
980
+ stateMutability: "nonpayable",
981
+ type: "function",
982
+ },
983
+ {
984
+ inputs: [
985
+ {
986
+ internalType: "uint256",
987
+ name: "amount",
988
+ type: "uint256",
989
+ },
990
+ ],
991
+ name: "depositUpTo",
992
+ outputs: [
993
+ {
994
+ internalType: "uint256",
995
+ name: "param0",
996
+ type: "uint256",
997
+ },
998
+ ],
999
+ stateMutability: "nonpayable",
1000
+ type: "function",
1001
+ },
1002
+ {
1003
+ inputs: [
1004
+ {
1005
+ internalType: "address",
1006
+ name: "accountAddress",
1007
+ type: "address",
1008
+ },
1009
+ {
1010
+ internalType: "uint32",
1011
+ name: "expiry",
1012
+ type: "uint32",
1013
+ },
1014
+ ],
1015
+ name: "executeWithdrawal",
1016
+ outputs: [
1017
+ {
1018
+ internalType: "uint256",
1019
+ name: "param0",
1020
+ type: "uint256",
1021
+ },
1022
+ ],
1023
+ stateMutability: "nonpayable",
1024
+ type: "function",
1025
+ },
1026
+ {
1027
+ inputs: [
1028
+ {
1029
+ internalType: "address[]",
1030
+ name: "accountAddresses",
1031
+ type: "address[]",
1032
+ },
1033
+ {
1034
+ internalType: "uint32[]",
1035
+ name: "expiries",
1036
+ type: "uint32[]",
1037
+ },
1038
+ ],
1039
+ name: "executeWithdrawals",
1040
+ outputs: [
1041
+ {
1042
+ internalType: "uint256[]",
1043
+ name: "amounts",
1044
+ type: "uint256[]",
1045
+ },
1046
+ ],
1047
+ stateMutability: "nonpayable",
1048
+ type: "function",
1049
+ },
1050
+ {
1051
+ inputs: [
1052
+ {
1053
+ internalType: "address",
1054
+ name: "lender",
1055
+ type: "address",
1056
+ },
1057
+ {
1058
+ internalType: "uint256",
1059
+ name: "normalizedAmount",
1060
+ type: "uint256",
1061
+ },
1062
+ ],
1063
+ name: "forceBuyBack",
1064
+ outputs: [],
1065
+ stateMutability: "nonpayable",
1066
+ type: "function",
1067
+ },
1068
+ {
1069
+ inputs: [
1070
+ {
1071
+ internalType: "address",
1072
+ name: "accountAddress",
1073
+ type: "address",
1074
+ },
1075
+ {
1076
+ internalType: "uint32",
1077
+ name: "expiry",
1078
+ type: "uint32",
1079
+ },
1080
+ ],
1081
+ name: "getAccountWithdrawalStatus",
1082
+ outputs: [
1083
+ {
1084
+ components: [
1085
+ {
1086
+ internalType: "uint104",
1087
+ name: "scaledAmount",
1088
+ type: "uint104",
1089
+ },
1090
+ {
1091
+ internalType: "uint128",
1092
+ name: "normalizedAmountWithdrawn",
1093
+ type: "uint128",
1094
+ },
1095
+ ],
1096
+ internalType: "struct AccountWithdrawalStatus",
1097
+ name: "status",
1098
+ type: "tuple",
1099
+ },
1100
+ ],
1101
+ stateMutability: "view",
1102
+ type: "function",
1103
+ },
1104
+ {
1105
+ inputs: [
1106
+ {
1107
+ internalType: "address",
1108
+ name: "accountAddress",
1109
+ type: "address",
1110
+ },
1111
+ {
1112
+ internalType: "uint32",
1113
+ name: "expiry",
1114
+ type: "uint32",
1115
+ },
1116
+ ],
1117
+ name: "getAvailableWithdrawalAmount",
1118
+ outputs: [
1119
+ {
1120
+ internalType: "uint256",
1121
+ name: "param0",
1122
+ type: "uint256",
1123
+ },
1124
+ ],
1125
+ stateMutability: "view",
1126
+ type: "function",
1127
+ },
1128
+ {
1129
+ inputs: [],
1130
+ name: "getUnpaidBatchExpiries",
1131
+ outputs: [
1132
+ {
1133
+ internalType: "uint32[]",
1134
+ name: "param0",
1135
+ type: "uint32[]",
1136
+ },
1137
+ ],
1138
+ stateMutability: "view",
1139
+ type: "function",
1140
+ },
1141
+ {
1142
+ inputs: [
1143
+ {
1144
+ internalType: "uint32",
1145
+ name: "expiry",
1146
+ type: "uint32",
1147
+ },
1148
+ ],
1149
+ name: "getWithdrawalBatch",
1150
+ outputs: [
1151
+ {
1152
+ components: [
1153
+ {
1154
+ internalType: "uint104",
1155
+ name: "scaledTotalAmount",
1156
+ type: "uint104",
1157
+ },
1158
+ {
1159
+ internalType: "uint104",
1160
+ name: "scaledAmountBurned",
1161
+ type: "uint104",
1162
+ },
1163
+ {
1164
+ internalType: "uint128",
1165
+ name: "normalizedAmountPaid",
1166
+ type: "uint128",
1167
+ },
1168
+ ],
1169
+ internalType: "struct WithdrawalBatch",
1170
+ name: "batch",
1171
+ type: "tuple",
1172
+ },
1173
+ ],
1174
+ stateMutability: "view",
1175
+ type: "function",
1176
+ },
1177
+ {
1178
+ inputs: [],
1179
+ name: "isClosed",
1180
+ outputs: [
1181
+ {
1182
+ internalType: "bool",
1183
+ name: "param0",
1184
+ type: "bool",
1185
+ },
1186
+ ],
1187
+ stateMutability: "view",
1188
+ type: "function",
1189
+ },
1190
+ {
1191
+ inputs: [],
1192
+ name: "maxTotalSupply",
1193
+ outputs: [
1194
+ {
1195
+ internalType: "uint256",
1196
+ name: "param0",
1197
+ type: "uint256",
1198
+ },
1199
+ ],
1200
+ stateMutability: "view",
1201
+ type: "function",
1202
+ },
1203
+ {
1204
+ inputs: [],
1205
+ name: "maximumDeposit",
1206
+ outputs: [
1207
+ {
1208
+ internalType: "uint256",
1209
+ name: "param0",
1210
+ type: "uint256",
1211
+ },
1212
+ ],
1213
+ stateMutability: "view",
1214
+ type: "function",
1215
+ },
1216
+ {
1217
+ inputs: [],
1218
+ name: "name",
1219
+ outputs: [
1220
+ {
1221
+ internalType: "string",
1222
+ name: "param0",
1223
+ type: "string",
1224
+ },
1225
+ ],
1226
+ stateMutability: "view",
1227
+ type: "function",
1228
+ },
1229
+ {
1230
+ inputs: [
1231
+ {
1232
+ internalType: "address",
1233
+ name: "accountAddress",
1234
+ type: "address",
1235
+ },
1236
+ ],
1237
+ name: "nukeFromOrbit",
1238
+ outputs: [],
1239
+ stateMutability: "nonpayable",
1240
+ type: "function",
1241
+ },
1242
+ {
1243
+ inputs: [],
1244
+ name: "previousState",
1245
+ outputs: [
1246
+ {
1247
+ components: [
1248
+ {
1249
+ internalType: "bool",
1250
+ name: "isClosed",
1251
+ type: "bool",
1252
+ },
1253
+ {
1254
+ internalType: "uint128",
1255
+ name: "maxTotalSupply",
1256
+ type: "uint128",
1257
+ },
1258
+ {
1259
+ internalType: "uint128",
1260
+ name: "accruedProtocolFees",
1261
+ type: "uint128",
1262
+ },
1263
+ {
1264
+ internalType: "uint128",
1265
+ name: "normalizedUnclaimedWithdrawals",
1266
+ type: "uint128",
1267
+ },
1268
+ {
1269
+ internalType: "uint104",
1270
+ name: "scaledTotalSupply",
1271
+ type: "uint104",
1272
+ },
1273
+ {
1274
+ internalType: "uint104",
1275
+ name: "scaledPendingWithdrawals",
1276
+ type: "uint104",
1277
+ },
1278
+ {
1279
+ internalType: "uint32",
1280
+ name: "pendingWithdrawalExpiry",
1281
+ type: "uint32",
1282
+ },
1283
+ {
1284
+ internalType: "bool",
1285
+ name: "isDelinquent",
1286
+ type: "bool",
1287
+ },
1288
+ {
1289
+ internalType: "uint32",
1290
+ name: "timeDelinquent",
1291
+ type: "uint32",
1292
+ },
1293
+ {
1294
+ internalType: "uint16",
1295
+ name: "protocolFeeBips",
1296
+ type: "uint16",
1297
+ },
1298
+ {
1299
+ internalType: "uint16",
1300
+ name: "annualInterestBips",
1301
+ type: "uint16",
1302
+ },
1303
+ {
1304
+ internalType: "uint16",
1305
+ name: "reserveRatioBips",
1306
+ type: "uint16",
1307
+ },
1308
+ {
1309
+ internalType: "uint112",
1310
+ name: "scaleFactor",
1311
+ type: "uint112",
1312
+ },
1313
+ {
1314
+ internalType: "uint32",
1315
+ name: "lastInterestAccruedTimestamp",
1316
+ type: "uint32",
1317
+ },
1318
+ ],
1319
+ internalType: "struct MarketStateV2",
1320
+ name: "param0",
1321
+ type: "tuple",
1322
+ },
1323
+ ],
1324
+ stateMutability: "view",
1325
+ type: "function",
1326
+ },
1327
+ {
1328
+ inputs: [],
1329
+ name: "queueFullWithdrawal",
1330
+ outputs: [
1331
+ {
1332
+ internalType: "uint32",
1333
+ name: "expiry",
1334
+ type: "uint32",
1335
+ },
1336
+ ],
1337
+ stateMutability: "nonpayable",
1338
+ type: "function",
1339
+ },
1340
+ {
1341
+ inputs: [
1342
+ {
1343
+ internalType: "uint256",
1344
+ name: "amount",
1345
+ type: "uint256",
1346
+ },
1347
+ ],
1348
+ name: "queueWithdrawal",
1349
+ outputs: [
1350
+ {
1351
+ internalType: "uint32",
1352
+ name: "expiry",
1353
+ type: "uint32",
1354
+ },
1355
+ ],
1356
+ stateMutability: "nonpayable",
1357
+ type: "function",
1358
+ },
1359
+ {
1360
+ inputs: [
1361
+ {
1362
+ internalType: "uint256",
1363
+ name: "amount",
1364
+ type: "uint256",
1365
+ },
1366
+ ],
1367
+ name: "repay",
1368
+ outputs: [],
1369
+ stateMutability: "nonpayable",
1370
+ type: "function",
1371
+ },
1372
+ {
1373
+ inputs: [
1374
+ {
1375
+ internalType: "uint256",
1376
+ name: "repayAmount",
1377
+ type: "uint256",
1378
+ },
1379
+ {
1380
+ internalType: "uint256",
1381
+ name: "maxBatches",
1382
+ type: "uint256",
1383
+ },
1384
+ ],
1385
+ name: "repayAndProcessUnpaidWithdrawalBatches",
1386
+ outputs: [],
1387
+ stateMutability: "nonpayable",
1388
+ type: "function",
1389
+ },
1390
+ {
1391
+ inputs: [
1392
+ {
1393
+ internalType: "address",
1394
+ name: "token",
1395
+ type: "address",
1396
+ },
1397
+ ],
1398
+ name: "rescueTokens",
1399
+ outputs: [],
1400
+ stateMutability: "nonpayable",
1401
+ type: "function",
1402
+ },
1403
+ {
1404
+ inputs: [],
1405
+ name: "reserveRatioBips",
1406
+ outputs: [
1407
+ {
1408
+ internalType: "uint256",
1409
+ name: "param0",
1410
+ type: "uint256",
1411
+ },
1412
+ ],
1413
+ stateMutability: "view",
1414
+ type: "function",
1415
+ },
1416
+ {
1417
+ inputs: [],
1418
+ name: "scaleFactor",
1419
+ outputs: [
1420
+ {
1421
+ internalType: "uint256",
1422
+ name: "param0",
1423
+ type: "uint256",
1424
+ },
1425
+ ],
1426
+ stateMutability: "view",
1427
+ type: "function",
1428
+ },
1429
+ {
1430
+ inputs: [
1431
+ {
1432
+ internalType: "address",
1433
+ name: "account",
1434
+ type: "address",
1435
+ },
1436
+ ],
1437
+ name: "scaledBalanceOf",
1438
+ outputs: [
1439
+ {
1440
+ internalType: "uint256",
1441
+ name: "param0",
1442
+ type: "uint256",
1443
+ },
1444
+ ],
1445
+ stateMutability: "view",
1446
+ type: "function",
1447
+ },
1448
+ {
1449
+ inputs: [],
1450
+ name: "scaledTotalSupply",
1451
+ outputs: [
1452
+ {
1453
+ internalType: "uint256",
1454
+ name: "param0",
1455
+ type: "uint256",
1456
+ },
1457
+ ],
1458
+ stateMutability: "view",
1459
+ type: "function",
1460
+ },
1461
+ {
1462
+ inputs: [
1463
+ {
1464
+ internalType: "uint16",
1465
+ name: "_annualInterestBips",
1466
+ type: "uint16",
1467
+ },
1468
+ {
1469
+ internalType: "uint16",
1470
+ name: "_reserveRatioBips",
1471
+ type: "uint16",
1472
+ },
1473
+ ],
1474
+ name: "setAnnualInterestAndReserveRatioBips",
1475
+ outputs: [],
1476
+ stateMutability: "nonpayable",
1477
+ type: "function",
1478
+ },
1479
+ {
1480
+ inputs: [
1481
+ {
1482
+ internalType: "uint256",
1483
+ name: "_maxTotalSupply",
1484
+ type: "uint256",
1485
+ },
1486
+ ],
1487
+ name: "setMaxTotalSupply",
1488
+ outputs: [],
1489
+ stateMutability: "nonpayable",
1490
+ type: "function",
1491
+ },
1492
+ {
1493
+ inputs: [
1494
+ {
1495
+ internalType: "uint16",
1496
+ name: "_protocolFeeBips",
1497
+ type: "uint16",
1498
+ },
1499
+ ],
1500
+ name: "setProtocolFeeBips",
1501
+ outputs: [],
1502
+ stateMutability: "nonpayable",
1503
+ type: "function",
1504
+ },
1505
+ {
1506
+ inputs: [],
1507
+ name: "sphereXEngine",
1508
+ outputs: [
1509
+ {
1510
+ internalType: "address",
1511
+ name: "param0",
1512
+ type: "address",
1513
+ },
1514
+ ],
1515
+ stateMutability: "view",
1516
+ type: "function",
1517
+ },
1518
+ {
1519
+ inputs: [],
1520
+ name: "sphereXOperator",
1521
+ outputs: [
1522
+ {
1523
+ internalType: "address",
1524
+ name: "param0",
1525
+ type: "address",
1526
+ },
1527
+ ],
1528
+ stateMutability: "view",
1529
+ type: "function",
1530
+ },
1531
+ {
1532
+ inputs: [],
1533
+ name: "symbol",
1534
+ outputs: [
1535
+ {
1536
+ internalType: "string",
1537
+ name: "param0",
1538
+ type: "string",
1539
+ },
1540
+ ],
1541
+ stateMutability: "view",
1542
+ type: "function",
1543
+ },
1544
+ {
1545
+ inputs: [],
1546
+ name: "totalAssets",
1547
+ outputs: [
1548
+ {
1549
+ internalType: "uint256",
1550
+ name: "param0",
1551
+ type: "uint256",
1552
+ },
1553
+ ],
1554
+ stateMutability: "view",
1555
+ type: "function",
1556
+ },
1557
+ {
1558
+ inputs: [],
1559
+ name: "totalDebts",
1560
+ outputs: [
1561
+ {
1562
+ internalType: "uint256",
1563
+ name: "param0",
1564
+ type: "uint256",
1565
+ },
1566
+ ],
1567
+ stateMutability: "view",
1568
+ type: "function",
1569
+ },
1570
+ {
1571
+ inputs: [],
1572
+ name: "totalSupply",
1573
+ outputs: [
1574
+ {
1575
+ internalType: "uint256",
1576
+ name: "param0",
1577
+ type: "uint256",
1578
+ },
1579
+ ],
1580
+ stateMutability: "view",
1581
+ type: "function",
1582
+ },
1583
+ {
1584
+ inputs: [
1585
+ {
1586
+ internalType: "address",
1587
+ name: "to",
1588
+ type: "address",
1589
+ },
1590
+ {
1591
+ internalType: "uint256",
1592
+ name: "amount",
1593
+ type: "uint256",
1594
+ },
1595
+ ],
1596
+ name: "transfer",
1597
+ outputs: [
1598
+ {
1599
+ internalType: "bool",
1600
+ name: "param0",
1601
+ type: "bool",
1602
+ },
1603
+ ],
1604
+ stateMutability: "nonpayable",
1605
+ type: "function",
1606
+ },
1607
+ {
1608
+ inputs: [
1609
+ {
1610
+ internalType: "address",
1611
+ name: "from",
1612
+ type: "address",
1613
+ },
1614
+ {
1615
+ internalType: "address",
1616
+ name: "to",
1617
+ type: "address",
1618
+ },
1619
+ {
1620
+ internalType: "uint256",
1621
+ name: "amount",
1622
+ type: "uint256",
1623
+ },
1624
+ ],
1625
+ name: "transferFrom",
1626
+ outputs: [
1627
+ {
1628
+ internalType: "bool",
1629
+ name: "param0",
1630
+ type: "bool",
1631
+ },
1632
+ ],
1633
+ stateMutability: "nonpayable",
1634
+ type: "function",
1635
+ },
1636
+ {
1637
+ inputs: [],
1638
+ name: "updateState",
1639
+ outputs: [],
1640
+ stateMutability: "nonpayable",
1641
+ type: "function",
1642
+ },
1643
+ {
1644
+ inputs: [],
1645
+ name: "version",
1646
+ outputs: [
1647
+ {
1648
+ internalType: "string",
1649
+ name: "param0",
1650
+ type: "string",
1651
+ },
1652
+ ],
1653
+ stateMutability: "pure",
1654
+ type: "function",
1655
+ },
1656
+ {
1657
+ inputs: [],
1658
+ name: "withdrawableProtocolFees",
1659
+ outputs: [
1660
+ {
1661
+ internalType: "uint128",
1662
+ name: "param0",
1663
+ type: "uint128",
1664
+ },
1665
+ ],
1666
+ stateMutability: "view",
1667
+ type: "function",
1668
+ },
1669
+ ];
1670
+ class WildcatMarketV2__factory {
1671
+ static createInterface() {
1672
+ return new ethers_1.utils.Interface(_abi);
1673
+ }
1674
+ static connect(address, signerOrProvider) {
1675
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
1676
+ }
1677
+ }
1678
+ WildcatMarketV2__factory.abi = _abi;
1679
+ exports.WildcatMarketV2__factory = WildcatMarketV2__factory;
1680
+ //# sourceMappingURL=WildcatMarketV2__factory.js.map