@wildcatfi/wildcat-sdk 1.0.6 → 1.0.8

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 (107) hide show
  1. package/dist/account.d.ts +28 -1
  2. package/dist/account.d.ts.map +1 -1
  3. package/dist/account.js +97 -1
  4. package/dist/account.js.map +1 -1
  5. package/dist/constants.d.ts +6 -4
  6. package/dist/constants.d.ts.map +1 -1
  7. package/dist/constants.js +9 -4
  8. package/dist/constants.js.map +1 -1
  9. package/dist/controller.d.ts +2 -1
  10. package/dist/controller.d.ts.map +1 -1
  11. package/dist/controller.js +7 -5
  12. package/dist/controller.js.map +1 -1
  13. package/dist/factory.d.ts +3 -2
  14. package/dist/factory.d.ts.map +1 -1
  15. package/dist/factory.js +12 -4
  16. package/dist/factory.js.map +1 -1
  17. package/dist/index.d.ts +10 -7
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +12 -34
  20. package/dist/index.js.map +1 -1
  21. package/dist/misc.d.ts +1 -0
  22. package/dist/misc.d.ts.map +1 -1
  23. package/dist/mockerc20factory.d.ts +12 -0
  24. package/dist/mockerc20factory.d.ts.map +1 -0
  25. package/dist/mockerc20factory.js +28 -0
  26. package/dist/mockerc20factory.js.map +1 -0
  27. package/dist/token.d.ts +6 -3
  28. package/dist/token.d.ts.map +1 -1
  29. package/dist/token.js +19 -5
  30. package/dist/token.js.map +1 -1
  31. package/dist/typechain/IERC20.d.ts +27 -11
  32. package/dist/typechain/IERC20.d.ts.map +1 -1
  33. package/dist/typechain/VaultLens.d.ts +156 -25
  34. package/dist/typechain/VaultLens.d.ts.map +1 -1
  35. package/dist/typechain/WildcatVaultController.d.ts +27 -27
  36. package/dist/typechain/WildcatVaultController.d.ts.map +1 -1
  37. package/dist/typechain/WildcatVaultFactory.d.ts +30 -6
  38. package/dist/typechain/WildcatVaultFactory.d.ts.map +1 -1
  39. package/dist/typechain/WildcatVaultToken.d.ts +130 -33
  40. package/dist/typechain/WildcatVaultToken.d.ts.map +1 -1
  41. package/dist/typechain/factories/IERC20__factory.d.ts +16 -10
  42. package/dist/typechain/factories/IERC20__factory.d.ts.map +1 -1
  43. package/dist/typechain/factories/IERC20__factory.js +17 -10
  44. package/dist/typechain/factories/IERC20__factory.js.map +1 -1
  45. package/dist/typechain/factories/VaultLens__factory.d.ts +1215 -80
  46. package/dist/typechain/factories/VaultLens__factory.d.ts.map +1 -1
  47. package/dist/typechain/factories/VaultLens__factory.js +1584 -139
  48. package/dist/typechain/factories/VaultLens__factory.js.map +1 -1
  49. package/dist/typechain/factories/WildcatVaultController__factory.d.ts +25 -50
  50. package/dist/typechain/factories/WildcatVaultController__factory.d.ts.map +1 -1
  51. package/dist/typechain/factories/WildcatVaultController__factory.js +29 -68
  52. package/dist/typechain/factories/WildcatVaultController__factory.js.map +1 -1
  53. package/dist/typechain/factories/WildcatVaultFactory__factory.d.ts +50 -21
  54. package/dist/typechain/factories/WildcatVaultFactory__factory.d.ts.map +1 -1
  55. package/dist/typechain/factories/WildcatVaultFactory__factory.js +64 -31
  56. package/dist/typechain/factories/WildcatVaultFactory__factory.js.map +1 -1
  57. package/dist/typechain/factories/WildcatVaultToken__factory.d.ts +113 -38
  58. package/dist/typechain/factories/WildcatVaultToken__factory.d.ts.map +1 -1
  59. package/dist/typechain/factories/WildcatVaultToken__factory.js +138 -48
  60. package/dist/typechain/factories/WildcatVaultToken__factory.js.map +1 -1
  61. package/dist/typechain/factories/index.d.ts +2 -2
  62. package/dist/typechain/factories/index.d.ts.map +1 -1
  63. package/dist/typechain/factories/index.js +21 -5
  64. package/dist/typechain/factories/index.js.map +1 -1
  65. package/dist/typechain/factories/mock/ERC20__factory.d.ts +237 -0
  66. package/dist/typechain/factories/mock/ERC20__factory.d.ts.map +1 -0
  67. package/dist/typechain/factories/mock/ERC20__factory.js +317 -0
  68. package/dist/typechain/factories/mock/ERC20__factory.js.map +1 -0
  69. package/dist/typechain/factories/mock/MockERC20Factory__factory.d.ts +65 -0
  70. package/dist/typechain/factories/mock/MockERC20Factory__factory.d.ts.map +1 -0
  71. package/dist/typechain/factories/mock/MockERC20Factory__factory.js +98 -0
  72. package/dist/typechain/factories/mock/MockERC20Factory__factory.js.map +1 -0
  73. package/dist/typechain/factories/mock/MockERC20__factory.d.ts +292 -0
  74. package/dist/typechain/factories/mock/MockERC20__factory.d.ts.map +1 -0
  75. package/dist/typechain/factories/mock/MockERC20__factory.js +394 -0
  76. package/dist/typechain/factories/mock/MockERC20__factory.js.map +1 -0
  77. package/dist/typechain/factories/mock/index.d.ts +4 -0
  78. package/dist/typechain/factories/mock/index.d.ts.map +1 -0
  79. package/dist/typechain/factories/mock/index.js +13 -0
  80. package/dist/typechain/factories/mock/index.js.map +1 -0
  81. package/dist/typechain/index.d.ts +3 -1
  82. package/dist/typechain/index.d.ts.map +1 -1
  83. package/dist/typechain/mock/ERC20.d.ts +207 -0
  84. package/dist/typechain/mock/ERC20.d.ts.map +1 -0
  85. package/dist/typechain/mock/ERC20.js +3 -0
  86. package/dist/typechain/mock/ERC20.js.map +1 -0
  87. package/dist/typechain/mock/MockERC20.d.ts +247 -0
  88. package/dist/typechain/mock/MockERC20.d.ts.map +1 -0
  89. package/dist/typechain/mock/MockERC20.js +3 -0
  90. package/dist/typechain/mock/MockERC20.js.map +1 -0
  91. package/dist/typechain/mock/MockERC20Factory.d.ts +70 -0
  92. package/dist/typechain/mock/MockERC20Factory.d.ts.map +1 -0
  93. package/dist/typechain/mock/MockERC20Factory.js +3 -0
  94. package/dist/typechain/mock/MockERC20Factory.js.map +1 -0
  95. package/dist/typechain/mock/index.d.ts +4 -0
  96. package/dist/typechain/mock/index.d.ts.map +1 -0
  97. package/dist/typechain/mock/index.js +3 -0
  98. package/dist/typechain/mock/index.js.map +1 -0
  99. package/dist/vault.d.ts +17 -2
  100. package/dist/vault.d.ts.map +1 -1
  101. package/dist/vault.js +46 -4
  102. package/dist/vault.js.map +1 -1
  103. package/package.json +3 -2
  104. package/dist/typechain/factories/DebtTokenBase__factory.d.ts +0 -660
  105. package/dist/typechain/factories/DebtTokenBase__factory.d.ts.map +0 -1
  106. package/dist/typechain/factories/DebtTokenBase__factory.js +0 -867
  107. package/dist/typechain/factories/DebtTokenBase__factory.js.map +0 -1
@@ -1,15 +1,28 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VaultLens__factory = void 0;
4
2
  /* Autogenerated file. Do not edit manually. */
5
3
  /* tslint:disable */
6
4
  /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.VaultLens__factory = void 0;
7
7
  const ethers_1 = require("ethers");
8
8
  const _abi = [
9
+ {
10
+ inputs: [],
11
+ name: "factory",
12
+ outputs: [
13
+ {
14
+ internalType: "address",
15
+ name: "",
16
+ type: "address",
17
+ },
18
+ ],
19
+ stateMutability: "view",
20
+ type: "function",
21
+ },
9
22
  {
10
23
  inputs: [
11
24
  {
12
- internalType: "contract DebtTokenBase",
25
+ internalType: "address",
13
26
  name: "vault",
14
27
  type: "address",
15
28
  },
@@ -55,89 +68,52 @@ const _abi = [
55
68
  {
56
69
  inputs: [
57
70
  {
58
- internalType: "contract DebtTokenBase",
59
- name: "vault",
71
+ internalType: "address",
72
+ name: "account",
60
73
  type: "address",
61
74
  },
75
+ {
76
+ internalType: "address[]",
77
+ name: "vaults",
78
+ type: "address[]",
79
+ },
62
80
  ],
63
- name: "getControlStatus",
81
+ name: "getAccountVaultsInfo",
64
82
  outputs: [
65
83
  {
66
84
  components: [
67
- {
68
- internalType: "bool",
69
- name: "temporaryLiquidityCoverage",
70
- type: "bool",
71
- },
72
85
  {
73
86
  internalType: "uint256",
74
- name: "originalLiquidityCoverageRatio",
87
+ name: "scaledBalance",
75
88
  type: "uint256",
76
89
  },
77
90
  {
78
91
  internalType: "uint256",
79
- name: "temporaryLiquidityCoverageExpiry",
92
+ name: "normalizedBalance",
80
93
  type: "uint256",
81
94
  },
82
- ],
83
- internalType: "struct ControlStatus",
84
- name: "status",
85
- type: "tuple",
86
- },
87
- ],
88
- stateMutability: "view",
89
- type: "function",
90
- },
91
- {
92
- inputs: [
93
- {
94
- internalType: "address",
95
- name: "token",
96
- type: "address",
97
- },
98
- ],
99
- name: "getTokenInfo",
100
- outputs: [
101
- {
102
- components: [
103
- {
104
- internalType: "address",
105
- name: "token",
106
- type: "address",
107
- },
108
- {
109
- internalType: "string",
110
- name: "name",
111
- type: "string",
112
- },
113
95
  {
114
- internalType: "string",
115
- name: "symbol",
116
- type: "string",
96
+ internalType: "uint256",
97
+ name: "underlyingBalance",
98
+ type: "uint256",
117
99
  },
118
100
  {
119
101
  internalType: "uint256",
120
- name: "decimals",
102
+ name: "underlyingApproval",
121
103
  type: "uint256",
122
104
  },
123
105
  ],
124
- internalType: "struct TokenMetadata",
106
+ internalType: "struct AccountVaultInfo[]",
125
107
  name: "info",
126
- type: "tuple",
108
+ type: "tuple[]",
127
109
  },
128
110
  ],
129
111
  stateMutability: "view",
130
112
  type: "function",
131
113
  },
132
114
  {
133
- inputs: [
134
- {
135
- internalType: "contract DebtTokenBase",
136
- name: "vault",
137
- type: "address",
138
- },
139
- ],
140
- name: "getVaultData",
115
+ inputs: [],
116
+ name: "getAllVaultsData",
141
117
  outputs: [
142
118
  {
143
119
  components: [
@@ -163,6 +139,11 @@ const _abi = [
163
139
  name: "decimals",
164
140
  type: "uint256",
165
141
  },
142
+ {
143
+ internalType: "bool",
144
+ name: "isMock",
145
+ type: "bool",
146
+ },
166
147
  ],
167
148
  internalType: "struct TokenMetadata",
168
149
  name: "vaultToken",
@@ -190,6 +171,11 @@ const _abi = [
190
171
  name: "decimals",
191
172
  type: "uint256",
192
173
  },
174
+ {
175
+ internalType: "bool",
176
+ name: "isMock",
177
+ type: "bool",
178
+ },
193
179
  ],
194
180
  internalType: "struct TokenMetadata",
195
181
  name: "underlyingToken",
@@ -225,11 +211,6 @@ const _abi = [
225
211
  name: "gracePeriod",
226
212
  type: "uint256",
227
213
  },
228
- {
229
- internalType: "uint256",
230
- name: "annualInterestBips",
231
- type: "uint256",
232
- },
233
214
  {
234
215
  internalType: "uint256",
235
216
  name: "liquidityCoverageRatio",
@@ -250,6 +231,11 @@ const _abi = [
250
231
  name: "temporaryLiquidityCoverageExpiry",
251
232
  type: "uint256",
252
233
  },
234
+ {
235
+ internalType: "uint256",
236
+ name: "annualInterestBips",
237
+ type: "uint256",
238
+ },
253
239
  {
254
240
  internalType: "uint256",
255
241
  name: "borrowableAssets",
@@ -257,17 +243,17 @@ const _abi = [
257
243
  },
258
244
  {
259
245
  internalType: "uint256",
260
- name: "maxTotalSupply",
246
+ name: "totalSupply",
261
247
  type: "uint256",
262
248
  },
263
249
  {
264
250
  internalType: "uint256",
265
- name: "scaledTotalSupply",
251
+ name: "maxTotalSupply",
266
252
  type: "uint256",
267
253
  },
268
254
  {
269
255
  internalType: "uint256",
270
- name: "totalSupply",
256
+ name: "scaledTotalSupply",
271
257
  type: "uint256",
272
258
  },
273
259
  {
@@ -306,9 +292,9 @@ const _abi = [
306
292
  type: "uint256",
307
293
  },
308
294
  ],
309
- internalType: "struct VaultData",
295
+ internalType: "struct VaultData[]",
310
296
  name: "data",
311
- type: "tuple",
297
+ type: "tuple[]",
312
298
  },
313
299
  ],
314
300
  stateMutability: "view",
@@ -317,102 +303,1345 @@ const _abi = [
317
303
  {
318
304
  inputs: [
319
305
  {
320
- internalType: "contract DebtTokenBase[]",
321
- name: "vaults",
322
- type: "address[]",
306
+ internalType: "address",
307
+ name: "account",
308
+ type: "address",
323
309
  },
324
310
  ],
325
- name: "getVaultsMetadata",
311
+ name: "getAllVaultsDataWithAccount",
326
312
  outputs: [
327
313
  {
328
314
  components: [
329
315
  {
330
316
  components: [
317
+ {
318
+ components: [
319
+ {
320
+ internalType: "address",
321
+ name: "token",
322
+ type: "address",
323
+ },
324
+ {
325
+ internalType: "string",
326
+ name: "name",
327
+ type: "string",
328
+ },
329
+ {
330
+ internalType: "string",
331
+ name: "symbol",
332
+ type: "string",
333
+ },
334
+ {
335
+ internalType: "uint256",
336
+ name: "decimals",
337
+ type: "uint256",
338
+ },
339
+ {
340
+ internalType: "bool",
341
+ name: "isMock",
342
+ type: "bool",
343
+ },
344
+ ],
345
+ internalType: "struct TokenMetadata",
346
+ name: "vaultToken",
347
+ type: "tuple",
348
+ },
349
+ {
350
+ components: [
351
+ {
352
+ internalType: "address",
353
+ name: "token",
354
+ type: "address",
355
+ },
356
+ {
357
+ internalType: "string",
358
+ name: "name",
359
+ type: "string",
360
+ },
361
+ {
362
+ internalType: "string",
363
+ name: "symbol",
364
+ type: "string",
365
+ },
366
+ {
367
+ internalType: "uint256",
368
+ name: "decimals",
369
+ type: "uint256",
370
+ },
371
+ {
372
+ internalType: "bool",
373
+ name: "isMock",
374
+ type: "bool",
375
+ },
376
+ ],
377
+ internalType: "struct TokenMetadata",
378
+ name: "underlyingToken",
379
+ type: "tuple",
380
+ },
331
381
  {
332
382
  internalType: "address",
333
- name: "token",
383
+ name: "borrower",
334
384
  type: "address",
335
385
  },
336
386
  {
337
- internalType: "string",
338
- name: "name",
339
- type: "string",
387
+ internalType: "address",
388
+ name: "controller",
389
+ type: "address",
340
390
  },
341
391
  {
342
- internalType: "string",
343
- name: "symbol",
344
- type: "string",
392
+ internalType: "address",
393
+ name: "feeRecipient",
394
+ type: "address",
345
395
  },
346
396
  {
347
397
  internalType: "uint256",
348
- name: "decimals",
398
+ name: "interestFeeBips",
399
+ type: "uint256",
400
+ },
401
+ {
402
+ internalType: "uint256",
403
+ name: "penaltyFeeBips",
404
+ type: "uint256",
405
+ },
406
+ {
407
+ internalType: "uint256",
408
+ name: "gracePeriod",
409
+ type: "uint256",
410
+ },
411
+ {
412
+ internalType: "uint256",
413
+ name: "liquidityCoverageRatio",
414
+ type: "uint256",
415
+ },
416
+ {
417
+ internalType: "bool",
418
+ name: "temporaryLiquidityCoverage",
419
+ type: "bool",
420
+ },
421
+ {
422
+ internalType: "uint256",
423
+ name: "originalLiquidityCoverageRatio",
424
+ type: "uint256",
425
+ },
426
+ {
427
+ internalType: "uint256",
428
+ name: "temporaryLiquidityCoverageExpiry",
429
+ type: "uint256",
430
+ },
431
+ {
432
+ internalType: "uint256",
433
+ name: "annualInterestBips",
434
+ type: "uint256",
435
+ },
436
+ {
437
+ internalType: "uint256",
438
+ name: "borrowableAssets",
439
+ type: "uint256",
440
+ },
441
+ {
442
+ internalType: "uint256",
443
+ name: "totalSupply",
444
+ type: "uint256",
445
+ },
446
+ {
447
+ internalType: "uint256",
448
+ name: "maxTotalSupply",
449
+ type: "uint256",
450
+ },
451
+ {
452
+ internalType: "uint256",
453
+ name: "scaledTotalSupply",
454
+ type: "uint256",
455
+ },
456
+ {
457
+ internalType: "uint256",
458
+ name: "totalAssets",
459
+ type: "uint256",
460
+ },
461
+ {
462
+ internalType: "uint256",
463
+ name: "coverageLiquidity",
464
+ type: "uint256",
465
+ },
466
+ {
467
+ internalType: "uint256",
468
+ name: "scaleFactor",
469
+ type: "uint256",
470
+ },
471
+ {
472
+ internalType: "uint256",
473
+ name: "lastAccruedProtocolFees",
474
+ type: "uint256",
475
+ },
476
+ {
477
+ internalType: "bool",
478
+ name: "isDelinquent",
479
+ type: "bool",
480
+ },
481
+ {
482
+ internalType: "uint256",
483
+ name: "timeDelinquent",
484
+ type: "uint256",
485
+ },
486
+ {
487
+ internalType: "uint256",
488
+ name: "lastInterestAccruedTimestamp",
349
489
  type: "uint256",
350
490
  },
351
491
  ],
352
- internalType: "struct TokenMetadata",
353
- name: "vaultToken",
492
+ internalType: "struct VaultData",
493
+ name: "vault",
354
494
  type: "tuple",
355
495
  },
356
496
  {
357
497
  components: [
358
498
  {
359
- internalType: "address",
360
- name: "token",
361
- type: "address",
499
+ internalType: "uint256",
500
+ name: "scaledBalance",
501
+ type: "uint256",
362
502
  },
363
503
  {
364
- internalType: "string",
365
- name: "name",
366
- type: "string",
504
+ internalType: "uint256",
505
+ name: "normalizedBalance",
506
+ type: "uint256",
367
507
  },
368
508
  {
369
- internalType: "string",
370
- name: "symbol",
371
- type: "string",
509
+ internalType: "uint256",
510
+ name: "underlyingBalance",
511
+ type: "uint256",
372
512
  },
373
513
  {
374
514
  internalType: "uint256",
375
- name: "decimals",
515
+ name: "underlyingApproval",
376
516
  type: "uint256",
377
517
  },
378
518
  ],
379
- internalType: "struct TokenMetadata",
380
- name: "underlyingToken",
519
+ internalType: "struct AccountVaultInfo",
520
+ name: "account",
381
521
  type: "tuple",
382
522
  },
523
+ ],
524
+ internalType: "struct VaultDataWithAccount[]",
525
+ name: "data",
526
+ type: "tuple[]",
527
+ },
528
+ ],
529
+ stateMutability: "view",
530
+ type: "function",
531
+ },
532
+ {
533
+ inputs: [
534
+ {
535
+ internalType: "address",
536
+ name: "vault",
537
+ type: "address",
538
+ },
539
+ ],
540
+ name: "getControlStatus",
541
+ outputs: [
542
+ {
543
+ components: [
383
544
  {
384
- internalType: "address",
385
- name: "borrower",
386
- type: "address",
387
- },
388
- {
389
- internalType: "address",
390
- name: "controller",
391
- type: "address",
392
- },
393
- {
394
- internalType: "address",
395
- name: "feeRecipient",
396
- type: "address",
545
+ internalType: "bool",
546
+ name: "temporaryLiquidityCoverage",
547
+ type: "bool",
397
548
  },
398
549
  {
399
550
  internalType: "uint256",
400
- name: "interestFeeBips",
551
+ name: "originalLiquidityCoverageRatio",
401
552
  type: "uint256",
402
553
  },
403
554
  {
404
555
  internalType: "uint256",
405
- name: "penaltyFeeBips",
556
+ name: "temporaryLiquidityCoverageExpiry",
406
557
  type: "uint256",
407
558
  },
408
- {
409
- internalType: "uint256",
559
+ ],
560
+ internalType: "struct ControlStatus",
561
+ name: "status",
562
+ type: "tuple",
563
+ },
564
+ ],
565
+ stateMutability: "view",
566
+ type: "function",
567
+ },
568
+ {
569
+ inputs: [
570
+ {
571
+ internalType: "uint256",
572
+ name: "start",
573
+ type: "uint256",
574
+ },
575
+ {
576
+ internalType: "uint256",
577
+ name: "length",
578
+ type: "uint256",
579
+ },
580
+ ],
581
+ name: "getPaginatedVaultsData",
582
+ outputs: [
583
+ {
584
+ components: [
585
+ {
586
+ components: [
587
+ {
588
+ internalType: "address",
589
+ name: "token",
590
+ type: "address",
591
+ },
592
+ {
593
+ internalType: "string",
594
+ name: "name",
595
+ type: "string",
596
+ },
597
+ {
598
+ internalType: "string",
599
+ name: "symbol",
600
+ type: "string",
601
+ },
602
+ {
603
+ internalType: "uint256",
604
+ name: "decimals",
605
+ type: "uint256",
606
+ },
607
+ {
608
+ internalType: "bool",
609
+ name: "isMock",
610
+ type: "bool",
611
+ },
612
+ ],
613
+ internalType: "struct TokenMetadata",
614
+ name: "vaultToken",
615
+ type: "tuple",
616
+ },
617
+ {
618
+ components: [
619
+ {
620
+ internalType: "address",
621
+ name: "token",
622
+ type: "address",
623
+ },
624
+ {
625
+ internalType: "string",
626
+ name: "name",
627
+ type: "string",
628
+ },
629
+ {
630
+ internalType: "string",
631
+ name: "symbol",
632
+ type: "string",
633
+ },
634
+ {
635
+ internalType: "uint256",
636
+ name: "decimals",
637
+ type: "uint256",
638
+ },
639
+ {
640
+ internalType: "bool",
641
+ name: "isMock",
642
+ type: "bool",
643
+ },
644
+ ],
645
+ internalType: "struct TokenMetadata",
646
+ name: "underlyingToken",
647
+ type: "tuple",
648
+ },
649
+ {
650
+ internalType: "address",
651
+ name: "borrower",
652
+ type: "address",
653
+ },
654
+ {
655
+ internalType: "address",
656
+ name: "controller",
657
+ type: "address",
658
+ },
659
+ {
660
+ internalType: "address",
661
+ name: "feeRecipient",
662
+ type: "address",
663
+ },
664
+ {
665
+ internalType: "uint256",
666
+ name: "interestFeeBips",
667
+ type: "uint256",
668
+ },
669
+ {
670
+ internalType: "uint256",
671
+ name: "penaltyFeeBips",
672
+ type: "uint256",
673
+ },
674
+ {
675
+ internalType: "uint256",
676
+ name: "gracePeriod",
677
+ type: "uint256",
678
+ },
679
+ {
680
+ internalType: "uint256",
681
+ name: "liquidityCoverageRatio",
682
+ type: "uint256",
683
+ },
684
+ {
685
+ internalType: "bool",
686
+ name: "temporaryLiquidityCoverage",
687
+ type: "bool",
688
+ },
689
+ {
690
+ internalType: "uint256",
691
+ name: "originalLiquidityCoverageRatio",
692
+ type: "uint256",
693
+ },
694
+ {
695
+ internalType: "uint256",
696
+ name: "temporaryLiquidityCoverageExpiry",
697
+ type: "uint256",
698
+ },
699
+ {
700
+ internalType: "uint256",
701
+ name: "annualInterestBips",
702
+ type: "uint256",
703
+ },
704
+ {
705
+ internalType: "uint256",
706
+ name: "borrowableAssets",
707
+ type: "uint256",
708
+ },
709
+ {
710
+ internalType: "uint256",
711
+ name: "totalSupply",
712
+ type: "uint256",
713
+ },
714
+ {
715
+ internalType: "uint256",
716
+ name: "maxTotalSupply",
717
+ type: "uint256",
718
+ },
719
+ {
720
+ internalType: "uint256",
721
+ name: "scaledTotalSupply",
722
+ type: "uint256",
723
+ },
724
+ {
725
+ internalType: "uint256",
726
+ name: "totalAssets",
727
+ type: "uint256",
728
+ },
729
+ {
730
+ internalType: "uint256",
731
+ name: "coverageLiquidity",
732
+ type: "uint256",
733
+ },
734
+ {
735
+ internalType: "uint256",
736
+ name: "scaleFactor",
737
+ type: "uint256",
738
+ },
739
+ {
740
+ internalType: "uint256",
741
+ name: "lastAccruedProtocolFees",
742
+ type: "uint256",
743
+ },
744
+ {
745
+ internalType: "bool",
746
+ name: "isDelinquent",
747
+ type: "bool",
748
+ },
749
+ {
750
+ internalType: "uint256",
751
+ name: "timeDelinquent",
752
+ type: "uint256",
753
+ },
754
+ {
755
+ internalType: "uint256",
756
+ name: "lastInterestAccruedTimestamp",
757
+ type: "uint256",
758
+ },
759
+ ],
760
+ internalType: "struct VaultData[]",
761
+ name: "data",
762
+ type: "tuple[]",
763
+ },
764
+ ],
765
+ stateMutability: "view",
766
+ type: "function",
767
+ },
768
+ {
769
+ inputs: [
770
+ {
771
+ internalType: "address",
772
+ name: "account",
773
+ type: "address",
774
+ },
775
+ {
776
+ internalType: "uint256",
777
+ name: "start",
778
+ type: "uint256",
779
+ },
780
+ {
781
+ internalType: "uint256",
782
+ name: "length",
783
+ type: "uint256",
784
+ },
785
+ ],
786
+ name: "getPaginatedVaultsDataWithAccount",
787
+ outputs: [
788
+ {
789
+ components: [
790
+ {
791
+ components: [
792
+ {
793
+ components: [
794
+ {
795
+ internalType: "address",
796
+ name: "token",
797
+ type: "address",
798
+ },
799
+ {
800
+ internalType: "string",
801
+ name: "name",
802
+ type: "string",
803
+ },
804
+ {
805
+ internalType: "string",
806
+ name: "symbol",
807
+ type: "string",
808
+ },
809
+ {
810
+ internalType: "uint256",
811
+ name: "decimals",
812
+ type: "uint256",
813
+ },
814
+ {
815
+ internalType: "bool",
816
+ name: "isMock",
817
+ type: "bool",
818
+ },
819
+ ],
820
+ internalType: "struct TokenMetadata",
821
+ name: "vaultToken",
822
+ type: "tuple",
823
+ },
824
+ {
825
+ components: [
826
+ {
827
+ internalType: "address",
828
+ name: "token",
829
+ type: "address",
830
+ },
831
+ {
832
+ internalType: "string",
833
+ name: "name",
834
+ type: "string",
835
+ },
836
+ {
837
+ internalType: "string",
838
+ name: "symbol",
839
+ type: "string",
840
+ },
841
+ {
842
+ internalType: "uint256",
843
+ name: "decimals",
844
+ type: "uint256",
845
+ },
846
+ {
847
+ internalType: "bool",
848
+ name: "isMock",
849
+ type: "bool",
850
+ },
851
+ ],
852
+ internalType: "struct TokenMetadata",
853
+ name: "underlyingToken",
854
+ type: "tuple",
855
+ },
856
+ {
857
+ internalType: "address",
858
+ name: "borrower",
859
+ type: "address",
860
+ },
861
+ {
862
+ internalType: "address",
863
+ name: "controller",
864
+ type: "address",
865
+ },
866
+ {
867
+ internalType: "address",
868
+ name: "feeRecipient",
869
+ type: "address",
870
+ },
871
+ {
872
+ internalType: "uint256",
873
+ name: "interestFeeBips",
874
+ type: "uint256",
875
+ },
876
+ {
877
+ internalType: "uint256",
878
+ name: "penaltyFeeBips",
879
+ type: "uint256",
880
+ },
881
+ {
882
+ internalType: "uint256",
883
+ name: "gracePeriod",
884
+ type: "uint256",
885
+ },
886
+ {
887
+ internalType: "uint256",
888
+ name: "liquidityCoverageRatio",
889
+ type: "uint256",
890
+ },
891
+ {
892
+ internalType: "bool",
893
+ name: "temporaryLiquidityCoverage",
894
+ type: "bool",
895
+ },
896
+ {
897
+ internalType: "uint256",
898
+ name: "originalLiquidityCoverageRatio",
899
+ type: "uint256",
900
+ },
901
+ {
902
+ internalType: "uint256",
903
+ name: "temporaryLiquidityCoverageExpiry",
904
+ type: "uint256",
905
+ },
906
+ {
907
+ internalType: "uint256",
908
+ name: "annualInterestBips",
909
+ type: "uint256",
910
+ },
911
+ {
912
+ internalType: "uint256",
913
+ name: "borrowableAssets",
914
+ type: "uint256",
915
+ },
916
+ {
917
+ internalType: "uint256",
918
+ name: "totalSupply",
919
+ type: "uint256",
920
+ },
921
+ {
922
+ internalType: "uint256",
923
+ name: "maxTotalSupply",
924
+ type: "uint256",
925
+ },
926
+ {
927
+ internalType: "uint256",
928
+ name: "scaledTotalSupply",
929
+ type: "uint256",
930
+ },
931
+ {
932
+ internalType: "uint256",
933
+ name: "totalAssets",
934
+ type: "uint256",
935
+ },
936
+ {
937
+ internalType: "uint256",
938
+ name: "coverageLiquidity",
939
+ type: "uint256",
940
+ },
941
+ {
942
+ internalType: "uint256",
943
+ name: "scaleFactor",
944
+ type: "uint256",
945
+ },
946
+ {
947
+ internalType: "uint256",
948
+ name: "lastAccruedProtocolFees",
949
+ type: "uint256",
950
+ },
951
+ {
952
+ internalType: "bool",
953
+ name: "isDelinquent",
954
+ type: "bool",
955
+ },
956
+ {
957
+ internalType: "uint256",
958
+ name: "timeDelinquent",
959
+ type: "uint256",
960
+ },
961
+ {
962
+ internalType: "uint256",
963
+ name: "lastInterestAccruedTimestamp",
964
+ type: "uint256",
965
+ },
966
+ ],
967
+ internalType: "struct VaultData",
968
+ name: "vault",
969
+ type: "tuple",
970
+ },
971
+ {
972
+ components: [
973
+ {
974
+ internalType: "uint256",
975
+ name: "scaledBalance",
976
+ type: "uint256",
977
+ },
978
+ {
979
+ internalType: "uint256",
980
+ name: "normalizedBalance",
981
+ type: "uint256",
982
+ },
983
+ {
984
+ internalType: "uint256",
985
+ name: "underlyingBalance",
986
+ type: "uint256",
987
+ },
988
+ {
989
+ internalType: "uint256",
990
+ name: "underlyingApproval",
991
+ type: "uint256",
992
+ },
993
+ ],
994
+ internalType: "struct AccountVaultInfo",
995
+ name: "account",
996
+ type: "tuple",
997
+ },
998
+ ],
999
+ internalType: "struct VaultDataWithAccount[]",
1000
+ name: "data",
1001
+ type: "tuple[]",
1002
+ },
1003
+ ],
1004
+ stateMutability: "view",
1005
+ type: "function",
1006
+ },
1007
+ {
1008
+ inputs: [
1009
+ {
1010
+ internalType: "address",
1011
+ name: "token",
1012
+ type: "address",
1013
+ },
1014
+ ],
1015
+ name: "getTokenInfo",
1016
+ outputs: [
1017
+ {
1018
+ components: [
1019
+ {
1020
+ internalType: "address",
1021
+ name: "token",
1022
+ type: "address",
1023
+ },
1024
+ {
1025
+ internalType: "string",
1026
+ name: "name",
1027
+ type: "string",
1028
+ },
1029
+ {
1030
+ internalType: "string",
1031
+ name: "symbol",
1032
+ type: "string",
1033
+ },
1034
+ {
1035
+ internalType: "uint256",
1036
+ name: "decimals",
1037
+ type: "uint256",
1038
+ },
1039
+ {
1040
+ internalType: "bool",
1041
+ name: "isMock",
1042
+ type: "bool",
1043
+ },
1044
+ ],
1045
+ internalType: "struct TokenMetadata",
1046
+ name: "info",
1047
+ type: "tuple",
1048
+ },
1049
+ ],
1050
+ stateMutability: "view",
1051
+ type: "function",
1052
+ },
1053
+ {
1054
+ inputs: [
1055
+ {
1056
+ internalType: "address[]",
1057
+ name: "tokens",
1058
+ type: "address[]",
1059
+ },
1060
+ ],
1061
+ name: "getTokensInfo",
1062
+ outputs: [
1063
+ {
1064
+ components: [
1065
+ {
1066
+ internalType: "address",
1067
+ name: "token",
1068
+ type: "address",
1069
+ },
1070
+ {
1071
+ internalType: "string",
1072
+ name: "name",
1073
+ type: "string",
1074
+ },
1075
+ {
1076
+ internalType: "string",
1077
+ name: "symbol",
1078
+ type: "string",
1079
+ },
1080
+ {
1081
+ internalType: "uint256",
1082
+ name: "decimals",
1083
+ type: "uint256",
1084
+ },
1085
+ {
1086
+ internalType: "bool",
1087
+ name: "isMock",
1088
+ type: "bool",
1089
+ },
1090
+ ],
1091
+ internalType: "struct TokenMetadata[]",
1092
+ name: "info",
1093
+ type: "tuple[]",
1094
+ },
1095
+ ],
1096
+ stateMutability: "view",
1097
+ type: "function",
1098
+ },
1099
+ {
1100
+ inputs: [
1101
+ {
1102
+ internalType: "address",
1103
+ name: "vault",
1104
+ type: "address",
1105
+ },
1106
+ ],
1107
+ name: "getVaultData",
1108
+ outputs: [
1109
+ {
1110
+ components: [
1111
+ {
1112
+ components: [
1113
+ {
1114
+ internalType: "address",
1115
+ name: "token",
1116
+ type: "address",
1117
+ },
1118
+ {
1119
+ internalType: "string",
1120
+ name: "name",
1121
+ type: "string",
1122
+ },
1123
+ {
1124
+ internalType: "string",
1125
+ name: "symbol",
1126
+ type: "string",
1127
+ },
1128
+ {
1129
+ internalType: "uint256",
1130
+ name: "decimals",
1131
+ type: "uint256",
1132
+ },
1133
+ {
1134
+ internalType: "bool",
1135
+ name: "isMock",
1136
+ type: "bool",
1137
+ },
1138
+ ],
1139
+ internalType: "struct TokenMetadata",
1140
+ name: "vaultToken",
1141
+ type: "tuple",
1142
+ },
1143
+ {
1144
+ components: [
1145
+ {
1146
+ internalType: "address",
1147
+ name: "token",
1148
+ type: "address",
1149
+ },
1150
+ {
1151
+ internalType: "string",
1152
+ name: "name",
1153
+ type: "string",
1154
+ },
1155
+ {
1156
+ internalType: "string",
1157
+ name: "symbol",
1158
+ type: "string",
1159
+ },
1160
+ {
1161
+ internalType: "uint256",
1162
+ name: "decimals",
1163
+ type: "uint256",
1164
+ },
1165
+ {
1166
+ internalType: "bool",
1167
+ name: "isMock",
1168
+ type: "bool",
1169
+ },
1170
+ ],
1171
+ internalType: "struct TokenMetadata",
1172
+ name: "underlyingToken",
1173
+ type: "tuple",
1174
+ },
1175
+ {
1176
+ internalType: "address",
1177
+ name: "borrower",
1178
+ type: "address",
1179
+ },
1180
+ {
1181
+ internalType: "address",
1182
+ name: "controller",
1183
+ type: "address",
1184
+ },
1185
+ {
1186
+ internalType: "address",
1187
+ name: "feeRecipient",
1188
+ type: "address",
1189
+ },
1190
+ {
1191
+ internalType: "uint256",
1192
+ name: "interestFeeBips",
1193
+ type: "uint256",
1194
+ },
1195
+ {
1196
+ internalType: "uint256",
1197
+ name: "penaltyFeeBips",
1198
+ type: "uint256",
1199
+ },
1200
+ {
1201
+ internalType: "uint256",
410
1202
  name: "gracePeriod",
411
1203
  type: "uint256",
412
1204
  },
413
1205
  {
414
1206
  internalType: "uint256",
415
- name: "annualInterestBips",
1207
+ name: "liquidityCoverageRatio",
1208
+ type: "uint256",
1209
+ },
1210
+ {
1211
+ internalType: "bool",
1212
+ name: "temporaryLiquidityCoverage",
1213
+ type: "bool",
1214
+ },
1215
+ {
1216
+ internalType: "uint256",
1217
+ name: "originalLiquidityCoverageRatio",
1218
+ type: "uint256",
1219
+ },
1220
+ {
1221
+ internalType: "uint256",
1222
+ name: "temporaryLiquidityCoverageExpiry",
1223
+ type: "uint256",
1224
+ },
1225
+ {
1226
+ internalType: "uint256",
1227
+ name: "annualInterestBips",
1228
+ type: "uint256",
1229
+ },
1230
+ {
1231
+ internalType: "uint256",
1232
+ name: "borrowableAssets",
1233
+ type: "uint256",
1234
+ },
1235
+ {
1236
+ internalType: "uint256",
1237
+ name: "totalSupply",
1238
+ type: "uint256",
1239
+ },
1240
+ {
1241
+ internalType: "uint256",
1242
+ name: "maxTotalSupply",
1243
+ type: "uint256",
1244
+ },
1245
+ {
1246
+ internalType: "uint256",
1247
+ name: "scaledTotalSupply",
1248
+ type: "uint256",
1249
+ },
1250
+ {
1251
+ internalType: "uint256",
1252
+ name: "totalAssets",
1253
+ type: "uint256",
1254
+ },
1255
+ {
1256
+ internalType: "uint256",
1257
+ name: "coverageLiquidity",
1258
+ type: "uint256",
1259
+ },
1260
+ {
1261
+ internalType: "uint256",
1262
+ name: "scaleFactor",
1263
+ type: "uint256",
1264
+ },
1265
+ {
1266
+ internalType: "uint256",
1267
+ name: "lastAccruedProtocolFees",
1268
+ type: "uint256",
1269
+ },
1270
+ {
1271
+ internalType: "bool",
1272
+ name: "isDelinquent",
1273
+ type: "bool",
1274
+ },
1275
+ {
1276
+ internalType: "uint256",
1277
+ name: "timeDelinquent",
1278
+ type: "uint256",
1279
+ },
1280
+ {
1281
+ internalType: "uint256",
1282
+ name: "lastInterestAccruedTimestamp",
1283
+ type: "uint256",
1284
+ },
1285
+ ],
1286
+ internalType: "struct VaultData",
1287
+ name: "data",
1288
+ type: "tuple",
1289
+ },
1290
+ ],
1291
+ stateMutability: "view",
1292
+ type: "function",
1293
+ },
1294
+ {
1295
+ inputs: [
1296
+ {
1297
+ internalType: "address",
1298
+ name: "account",
1299
+ type: "address",
1300
+ },
1301
+ {
1302
+ internalType: "address",
1303
+ name: "vault",
1304
+ type: "address",
1305
+ },
1306
+ ],
1307
+ name: "getVaultDataWithAccount",
1308
+ outputs: [
1309
+ {
1310
+ components: [
1311
+ {
1312
+ components: [
1313
+ {
1314
+ components: [
1315
+ {
1316
+ internalType: "address",
1317
+ name: "token",
1318
+ type: "address",
1319
+ },
1320
+ {
1321
+ internalType: "string",
1322
+ name: "name",
1323
+ type: "string",
1324
+ },
1325
+ {
1326
+ internalType: "string",
1327
+ name: "symbol",
1328
+ type: "string",
1329
+ },
1330
+ {
1331
+ internalType: "uint256",
1332
+ name: "decimals",
1333
+ type: "uint256",
1334
+ },
1335
+ {
1336
+ internalType: "bool",
1337
+ name: "isMock",
1338
+ type: "bool",
1339
+ },
1340
+ ],
1341
+ internalType: "struct TokenMetadata",
1342
+ name: "vaultToken",
1343
+ type: "tuple",
1344
+ },
1345
+ {
1346
+ components: [
1347
+ {
1348
+ internalType: "address",
1349
+ name: "token",
1350
+ type: "address",
1351
+ },
1352
+ {
1353
+ internalType: "string",
1354
+ name: "name",
1355
+ type: "string",
1356
+ },
1357
+ {
1358
+ internalType: "string",
1359
+ name: "symbol",
1360
+ type: "string",
1361
+ },
1362
+ {
1363
+ internalType: "uint256",
1364
+ name: "decimals",
1365
+ type: "uint256",
1366
+ },
1367
+ {
1368
+ internalType: "bool",
1369
+ name: "isMock",
1370
+ type: "bool",
1371
+ },
1372
+ ],
1373
+ internalType: "struct TokenMetadata",
1374
+ name: "underlyingToken",
1375
+ type: "tuple",
1376
+ },
1377
+ {
1378
+ internalType: "address",
1379
+ name: "borrower",
1380
+ type: "address",
1381
+ },
1382
+ {
1383
+ internalType: "address",
1384
+ name: "controller",
1385
+ type: "address",
1386
+ },
1387
+ {
1388
+ internalType: "address",
1389
+ name: "feeRecipient",
1390
+ type: "address",
1391
+ },
1392
+ {
1393
+ internalType: "uint256",
1394
+ name: "interestFeeBips",
1395
+ type: "uint256",
1396
+ },
1397
+ {
1398
+ internalType: "uint256",
1399
+ name: "penaltyFeeBips",
1400
+ type: "uint256",
1401
+ },
1402
+ {
1403
+ internalType: "uint256",
1404
+ name: "gracePeriod",
1405
+ type: "uint256",
1406
+ },
1407
+ {
1408
+ internalType: "uint256",
1409
+ name: "liquidityCoverageRatio",
1410
+ type: "uint256",
1411
+ },
1412
+ {
1413
+ internalType: "bool",
1414
+ name: "temporaryLiquidityCoverage",
1415
+ type: "bool",
1416
+ },
1417
+ {
1418
+ internalType: "uint256",
1419
+ name: "originalLiquidityCoverageRatio",
1420
+ type: "uint256",
1421
+ },
1422
+ {
1423
+ internalType: "uint256",
1424
+ name: "temporaryLiquidityCoverageExpiry",
1425
+ type: "uint256",
1426
+ },
1427
+ {
1428
+ internalType: "uint256",
1429
+ name: "annualInterestBips",
1430
+ type: "uint256",
1431
+ },
1432
+ {
1433
+ internalType: "uint256",
1434
+ name: "borrowableAssets",
1435
+ type: "uint256",
1436
+ },
1437
+ {
1438
+ internalType: "uint256",
1439
+ name: "totalSupply",
1440
+ type: "uint256",
1441
+ },
1442
+ {
1443
+ internalType: "uint256",
1444
+ name: "maxTotalSupply",
1445
+ type: "uint256",
1446
+ },
1447
+ {
1448
+ internalType: "uint256",
1449
+ name: "scaledTotalSupply",
1450
+ type: "uint256",
1451
+ },
1452
+ {
1453
+ internalType: "uint256",
1454
+ name: "totalAssets",
1455
+ type: "uint256",
1456
+ },
1457
+ {
1458
+ internalType: "uint256",
1459
+ name: "coverageLiquidity",
1460
+ type: "uint256",
1461
+ },
1462
+ {
1463
+ internalType: "uint256",
1464
+ name: "scaleFactor",
1465
+ type: "uint256",
1466
+ },
1467
+ {
1468
+ internalType: "uint256",
1469
+ name: "lastAccruedProtocolFees",
1470
+ type: "uint256",
1471
+ },
1472
+ {
1473
+ internalType: "bool",
1474
+ name: "isDelinquent",
1475
+ type: "bool",
1476
+ },
1477
+ {
1478
+ internalType: "uint256",
1479
+ name: "timeDelinquent",
1480
+ type: "uint256",
1481
+ },
1482
+ {
1483
+ internalType: "uint256",
1484
+ name: "lastInterestAccruedTimestamp",
1485
+ type: "uint256",
1486
+ },
1487
+ ],
1488
+ internalType: "struct VaultData",
1489
+ name: "vault",
1490
+ type: "tuple",
1491
+ },
1492
+ {
1493
+ components: [
1494
+ {
1495
+ internalType: "uint256",
1496
+ name: "scaledBalance",
1497
+ type: "uint256",
1498
+ },
1499
+ {
1500
+ internalType: "uint256",
1501
+ name: "normalizedBalance",
1502
+ type: "uint256",
1503
+ },
1504
+ {
1505
+ internalType: "uint256",
1506
+ name: "underlyingBalance",
1507
+ type: "uint256",
1508
+ },
1509
+ {
1510
+ internalType: "uint256",
1511
+ name: "underlyingApproval",
1512
+ type: "uint256",
1513
+ },
1514
+ ],
1515
+ internalType: "struct AccountVaultInfo",
1516
+ name: "account",
1517
+ type: "tuple",
1518
+ },
1519
+ ],
1520
+ internalType: "struct VaultDataWithAccount",
1521
+ name: "data",
1522
+ type: "tuple",
1523
+ },
1524
+ ],
1525
+ stateMutability: "view",
1526
+ type: "function",
1527
+ },
1528
+ {
1529
+ inputs: [],
1530
+ name: "getVaultsCount",
1531
+ outputs: [
1532
+ {
1533
+ internalType: "uint256",
1534
+ name: "",
1535
+ type: "uint256",
1536
+ },
1537
+ ],
1538
+ stateMutability: "view",
1539
+ type: "function",
1540
+ },
1541
+ {
1542
+ inputs: [
1543
+ {
1544
+ internalType: "address[]",
1545
+ name: "vaults",
1546
+ type: "address[]",
1547
+ },
1548
+ ],
1549
+ name: "getVaultsData",
1550
+ outputs: [
1551
+ {
1552
+ components: [
1553
+ {
1554
+ components: [
1555
+ {
1556
+ internalType: "address",
1557
+ name: "token",
1558
+ type: "address",
1559
+ },
1560
+ {
1561
+ internalType: "string",
1562
+ name: "name",
1563
+ type: "string",
1564
+ },
1565
+ {
1566
+ internalType: "string",
1567
+ name: "symbol",
1568
+ type: "string",
1569
+ },
1570
+ {
1571
+ internalType: "uint256",
1572
+ name: "decimals",
1573
+ type: "uint256",
1574
+ },
1575
+ {
1576
+ internalType: "bool",
1577
+ name: "isMock",
1578
+ type: "bool",
1579
+ },
1580
+ ],
1581
+ internalType: "struct TokenMetadata",
1582
+ name: "vaultToken",
1583
+ type: "tuple",
1584
+ },
1585
+ {
1586
+ components: [
1587
+ {
1588
+ internalType: "address",
1589
+ name: "token",
1590
+ type: "address",
1591
+ },
1592
+ {
1593
+ internalType: "string",
1594
+ name: "name",
1595
+ type: "string",
1596
+ },
1597
+ {
1598
+ internalType: "string",
1599
+ name: "symbol",
1600
+ type: "string",
1601
+ },
1602
+ {
1603
+ internalType: "uint256",
1604
+ name: "decimals",
1605
+ type: "uint256",
1606
+ },
1607
+ {
1608
+ internalType: "bool",
1609
+ name: "isMock",
1610
+ type: "bool",
1611
+ },
1612
+ ],
1613
+ internalType: "struct TokenMetadata",
1614
+ name: "underlyingToken",
1615
+ type: "tuple",
1616
+ },
1617
+ {
1618
+ internalType: "address",
1619
+ name: "borrower",
1620
+ type: "address",
1621
+ },
1622
+ {
1623
+ internalType: "address",
1624
+ name: "controller",
1625
+ type: "address",
1626
+ },
1627
+ {
1628
+ internalType: "address",
1629
+ name: "feeRecipient",
1630
+ type: "address",
1631
+ },
1632
+ {
1633
+ internalType: "uint256",
1634
+ name: "interestFeeBips",
1635
+ type: "uint256",
1636
+ },
1637
+ {
1638
+ internalType: "uint256",
1639
+ name: "penaltyFeeBips",
1640
+ type: "uint256",
1641
+ },
1642
+ {
1643
+ internalType: "uint256",
1644
+ name: "gracePeriod",
416
1645
  type: "uint256",
417
1646
  },
418
1647
  {
@@ -435,6 +1664,11 @@ const _abi = [
435
1664
  name: "temporaryLiquidityCoverageExpiry",
436
1665
  type: "uint256",
437
1666
  },
1667
+ {
1668
+ internalType: "uint256",
1669
+ name: "annualInterestBips",
1670
+ type: "uint256",
1671
+ },
438
1672
  {
439
1673
  internalType: "uint256",
440
1674
  name: "borrowableAssets",
@@ -442,17 +1676,17 @@ const _abi = [
442
1676
  },
443
1677
  {
444
1678
  internalType: "uint256",
445
- name: "maxTotalSupply",
1679
+ name: "totalSupply",
446
1680
  type: "uint256",
447
1681
  },
448
1682
  {
449
1683
  internalType: "uint256",
450
- name: "scaledTotalSupply",
1684
+ name: "maxTotalSupply",
451
1685
  type: "uint256",
452
1686
  },
453
1687
  {
454
1688
  internalType: "uint256",
455
- name: "totalSupply",
1689
+ name: "scaledTotalSupply",
456
1690
  type: "uint256",
457
1691
  },
458
1692
  {
@@ -499,30 +1733,242 @@ const _abi = [
499
1733
  stateMutability: "view",
500
1734
  type: "function",
501
1735
  },
1736
+ {
1737
+ inputs: [
1738
+ {
1739
+ internalType: "address",
1740
+ name: "account",
1741
+ type: "address",
1742
+ },
1743
+ {
1744
+ internalType: "address[]",
1745
+ name: "vaults",
1746
+ type: "address[]",
1747
+ },
1748
+ ],
1749
+ name: "getVaultsDataWithAccount",
1750
+ outputs: [
1751
+ {
1752
+ components: [
1753
+ {
1754
+ components: [
1755
+ {
1756
+ components: [
1757
+ {
1758
+ internalType: "address",
1759
+ name: "token",
1760
+ type: "address",
1761
+ },
1762
+ {
1763
+ internalType: "string",
1764
+ name: "name",
1765
+ type: "string",
1766
+ },
1767
+ {
1768
+ internalType: "string",
1769
+ name: "symbol",
1770
+ type: "string",
1771
+ },
1772
+ {
1773
+ internalType: "uint256",
1774
+ name: "decimals",
1775
+ type: "uint256",
1776
+ },
1777
+ {
1778
+ internalType: "bool",
1779
+ name: "isMock",
1780
+ type: "bool",
1781
+ },
1782
+ ],
1783
+ internalType: "struct TokenMetadata",
1784
+ name: "vaultToken",
1785
+ type: "tuple",
1786
+ },
1787
+ {
1788
+ components: [
1789
+ {
1790
+ internalType: "address",
1791
+ name: "token",
1792
+ type: "address",
1793
+ },
1794
+ {
1795
+ internalType: "string",
1796
+ name: "name",
1797
+ type: "string",
1798
+ },
1799
+ {
1800
+ internalType: "string",
1801
+ name: "symbol",
1802
+ type: "string",
1803
+ },
1804
+ {
1805
+ internalType: "uint256",
1806
+ name: "decimals",
1807
+ type: "uint256",
1808
+ },
1809
+ {
1810
+ internalType: "bool",
1811
+ name: "isMock",
1812
+ type: "bool",
1813
+ },
1814
+ ],
1815
+ internalType: "struct TokenMetadata",
1816
+ name: "underlyingToken",
1817
+ type: "tuple",
1818
+ },
1819
+ {
1820
+ internalType: "address",
1821
+ name: "borrower",
1822
+ type: "address",
1823
+ },
1824
+ {
1825
+ internalType: "address",
1826
+ name: "controller",
1827
+ type: "address",
1828
+ },
1829
+ {
1830
+ internalType: "address",
1831
+ name: "feeRecipient",
1832
+ type: "address",
1833
+ },
1834
+ {
1835
+ internalType: "uint256",
1836
+ name: "interestFeeBips",
1837
+ type: "uint256",
1838
+ },
1839
+ {
1840
+ internalType: "uint256",
1841
+ name: "penaltyFeeBips",
1842
+ type: "uint256",
1843
+ },
1844
+ {
1845
+ internalType: "uint256",
1846
+ name: "gracePeriod",
1847
+ type: "uint256",
1848
+ },
1849
+ {
1850
+ internalType: "uint256",
1851
+ name: "liquidityCoverageRatio",
1852
+ type: "uint256",
1853
+ },
1854
+ {
1855
+ internalType: "bool",
1856
+ name: "temporaryLiquidityCoverage",
1857
+ type: "bool",
1858
+ },
1859
+ {
1860
+ internalType: "uint256",
1861
+ name: "originalLiquidityCoverageRatio",
1862
+ type: "uint256",
1863
+ },
1864
+ {
1865
+ internalType: "uint256",
1866
+ name: "temporaryLiquidityCoverageExpiry",
1867
+ type: "uint256",
1868
+ },
1869
+ {
1870
+ internalType: "uint256",
1871
+ name: "annualInterestBips",
1872
+ type: "uint256",
1873
+ },
1874
+ {
1875
+ internalType: "uint256",
1876
+ name: "borrowableAssets",
1877
+ type: "uint256",
1878
+ },
1879
+ {
1880
+ internalType: "uint256",
1881
+ name: "totalSupply",
1882
+ type: "uint256",
1883
+ },
1884
+ {
1885
+ internalType: "uint256",
1886
+ name: "maxTotalSupply",
1887
+ type: "uint256",
1888
+ },
1889
+ {
1890
+ internalType: "uint256",
1891
+ name: "scaledTotalSupply",
1892
+ type: "uint256",
1893
+ },
1894
+ {
1895
+ internalType: "uint256",
1896
+ name: "totalAssets",
1897
+ type: "uint256",
1898
+ },
1899
+ {
1900
+ internalType: "uint256",
1901
+ name: "coverageLiquidity",
1902
+ type: "uint256",
1903
+ },
1904
+ {
1905
+ internalType: "uint256",
1906
+ name: "scaleFactor",
1907
+ type: "uint256",
1908
+ },
1909
+ {
1910
+ internalType: "uint256",
1911
+ name: "lastAccruedProtocolFees",
1912
+ type: "uint256",
1913
+ },
1914
+ {
1915
+ internalType: "bool",
1916
+ name: "isDelinquent",
1917
+ type: "bool",
1918
+ },
1919
+ {
1920
+ internalType: "uint256",
1921
+ name: "timeDelinquent",
1922
+ type: "uint256",
1923
+ },
1924
+ {
1925
+ internalType: "uint256",
1926
+ name: "lastInterestAccruedTimestamp",
1927
+ type: "uint256",
1928
+ },
1929
+ ],
1930
+ internalType: "struct VaultData",
1931
+ name: "vault",
1932
+ type: "tuple",
1933
+ },
1934
+ {
1935
+ components: [
1936
+ {
1937
+ internalType: "uint256",
1938
+ name: "scaledBalance",
1939
+ type: "uint256",
1940
+ },
1941
+ {
1942
+ internalType: "uint256",
1943
+ name: "normalizedBalance",
1944
+ type: "uint256",
1945
+ },
1946
+ {
1947
+ internalType: "uint256",
1948
+ name: "underlyingBalance",
1949
+ type: "uint256",
1950
+ },
1951
+ {
1952
+ internalType: "uint256",
1953
+ name: "underlyingApproval",
1954
+ type: "uint256",
1955
+ },
1956
+ ],
1957
+ internalType: "struct AccountVaultInfo",
1958
+ name: "account",
1959
+ type: "tuple",
1960
+ },
1961
+ ],
1962
+ internalType: "struct VaultDataWithAccount[]",
1963
+ name: "data",
1964
+ type: "tuple[]",
1965
+ },
1966
+ ],
1967
+ stateMutability: "view",
1968
+ type: "function",
1969
+ },
502
1970
  ];
503
- const _bytecode = "0x608060405234801561001057600080fd5b5061231d806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80631f69565f1461005c57806328b37b221461008c57806356360f71146100bc578063a0ff58f6146100ec578063a32698461461011c575b600080fd5b6100766004803603810190610071919061139d565b61014c565b60405161008391906114ec565b60405180910390f35b6100a660048036038101906100a1919061154c565b610304565b6040516100b391906115d6565b60405180910390f35b6100d660048036038101906100d1919061154c565b61044c565b6040516100e39190611862565b60405180910390f35b61010660048036038101906101019190611884565b610e3a565b6040516101139190611919565b60405180910390f35b61013660048036038101906101319190611999565b6110ca565b6040516101439190611caf565b60405180910390f35b61015461119b565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff166306fdde036040518163ffffffff1660e01b8152600401600060405180830381865afa1580156101d7573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906102009190611df2565b81602001819052508173ffffffffffffffffffffffffffffffffffffffff166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa158015610253573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061027c9190611df2565b81604001819052508173ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102f39190611e74565b60ff16816060018181525050919050565b61030c6111d9565b6000808373ffffffffffffffffffffffffffffffffffffffff1663f77c47916040518163ffffffff1660e01b8152600401602060405180830381865afa15801561035a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037e9190611eb6565b73ffffffffffffffffffffffffffffffffffffffff1663a77a679e856040518263ffffffff1660e01b81526004016103b69190611ef2565b6040805180830381865afa1580156103d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f69190611f55565b6fffffffffffffffffffffffffffffffff1691506fffffffffffffffffffffffffffffffff1691506000811183600001901515908115158152505081836020018181525050808360400181815250505050919050565b6104546111fc565b61045d8261014c565b81600001819052506104dc8273ffffffffffffffffffffffffffffffffffffffff166338d52e0f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d79190611eb6565b61014c565b81602001819052508173ffffffffffffffffffffffffffffffffffffffff16637df1f1b96040518163ffffffff1660e01b8152600401602060405180830381865afa15801561052f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105539190611eb6565b816040019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1663f77c47916040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f99190611eb6565b816060019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1663469048406040518163ffffffff1660e01b8152600401602060405180830381865afa15801561067b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069f9190611eb6565b816080019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1663397f11336040518163ffffffff1660e01b8152600401602060405180830381865afa158015610721573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107459190611fc1565b8160a00181815250508173ffffffffffffffffffffffffffffffffffffffff1663411ef4406040518163ffffffff1660e01b8152600401602060405180830381865afa158015610799573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107bd9190611fc1565b8160c00181815250508173ffffffffffffffffffffffffffffffffffffffff1663a06db7dc6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610811573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108359190611fc1565b8160e00181815250508173ffffffffffffffffffffffffffffffffffffffff166311057cd06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610889573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ad9190611fc1565b816101000181815250508173ffffffffffffffffffffffffffffffffffffffff1663807164826040518163ffffffff1660e01b8152600401602060405180830381865afa158015610902573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109269190611fc1565b816101200181815250506000808373ffffffffffffffffffffffffffffffffffffffff1663f77c47916040518163ffffffff1660e01b8152600401602060405180830381865afa15801561097e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a29190611eb6565b73ffffffffffffffffffffffffffffffffffffffff1663a77a679e856040518263ffffffff1660e01b81526004016109da9190611ef2565b6040805180830381865afa1580156109f6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1a9190611f55565b6fffffffffffffffffffffffffffffffff1691506fffffffffffffffffffffffffffffffff1691506000811183610140019015159081151581525050818361016001818152505080836101800181815250508373ffffffffffffffffffffffffffffffffffffffff1663766360176040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610adb9190611fc1565b836101a001818152505060008473ffffffffffffffffffffffffffffffffffffffff16630c3f6acf6040518163ffffffff1660e01b815260040161010060405180830381865afa158015610b33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5791906121ea565b90508473ffffffffffffffffffffffffffffffffffffffff16632ab4d0526040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ba4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc89190611fc1565b846101c001818152505080602001516cffffffffffffffffffffffffff16846101e00181815250508473ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c5f9190611fc1565b846102000181815250508473ffffffffffffffffffffffffffffffffffffffff166301e1d1146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd89190611fc1565b846102200181815250508473ffffffffffffffffffffffffffffffffffffffff1663739ccdd36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d519190611fc1565b846102400181815250508060c001516dffffffffffffffffffffffffffff16846102600181815250508473ffffffffffffffffffffffffffffffffffffffff16630cd1a5b66040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de99190611fc1565b846102800181815250508060400151846102a00190151590811515815250508060a0015163ffffffff16846102c00181815250508060e0015163ffffffff16846102e0018181525050505050919050565b610e42611303565b8273ffffffffffffffffffffffffffffffffffffffff16631da24f3e836040518263ffffffff1660e01b8152600401610e7b9190611ef2565b602060405180830381865afa158015610e98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebc9190611fc1565b8160000181815250508273ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b8152600401610efe9190611ef2565b602060405180830381865afa158015610f1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3f9190611fc1565b81602001818152505060008373ffffffffffffffffffffffffffffffffffffffff166338d52e0f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb99190611eb6565b90508073ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610ff49190611ef2565b602060405180830381865afa158015611011573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110359190611fc1565b8260400181815250508073ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e84866040518363ffffffff1660e01b8152600401611079929190612218565b602060405180830381865afa158015611096573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ba9190611fc1565b8260600181815250505092915050565b60608282905067ffffffffffffffff8111156110e9576110e8611cd6565b5b60405190808252806020026020018201604052801561112257816020015b61110f6111fc565b8152602001906001900390816111075790505b50905060005b838390508110156111945761116384848381811061114957611148612241565b5b905060200201602081019061115e919061154c565b61044c565b82828151811061117657611175612241565b5b6020026020010181905250808061118c9061229f565b915050611128565b5092915050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016060815260200160608152602001600081525090565b604051806060016040528060001515815260200160008152602001600081525090565b60405180610300016040528061121061119b565b815260200161121d61119b565b8152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081526020016000815260200160008152602001600081526020016000151581526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160001515815260200160008152602001600081525090565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061136a8261133f565b9050919050565b61137a8161135f565b811461138557600080fd5b50565b60008135905061139781611371565b92915050565b6000602082840312156113b3576113b2611335565b5b60006113c184828501611388565b91505092915050565b6113d38161135f565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b838110156114135780820151818401526020810190506113f8565b60008484015250505050565b6000601f19601f8301169050919050565b600061143b826113d9565b61144581856113e4565b93506114558185602086016113f5565b61145e8161141f565b840191505092915050565b6000819050919050565b61147c81611469565b82525050565b600060808301600083015161149a60008601826113ca565b50602083015184820360208601526114b28282611430565b915050604083015184820360408601526114cc8282611430565b91505060608301516114e16060860182611473565b508091505092915050565b600060208201905081810360008301526115068184611482565b905092915050565b60006115198261135f565b9050919050565b6115298161150e565b811461153457600080fd5b50565b60008135905061154681611520565b92915050565b60006020828403121561156257611561611335565b5b600061157084828501611537565b91505092915050565b60008115159050919050565b61158e81611579565b82525050565b6060820160008201516115aa6000850182611585565b5060208201516115bd6020850182611473565b5060408201516115d06040850182611473565b50505050565b60006060820190506115eb6000830184611594565b92915050565b600060808301600083015161160960008601826113ca565b50602083015184820360208601526116218282611430565b9150506040830151848203604086015261163b8282611430565b91505060608301516116506060860182611473565b508091505092915050565b600061030083016000830151848203600086015261167982826115f1565b9150506020830151848203602086015261169382826115f1565b91505060408301516116a860408601826113ca565b5060608301516116bb60608601826113ca565b5060808301516116ce60808601826113ca565b5060a08301516116e160a0860182611473565b5060c08301516116f460c0860182611473565b5060e083015161170760e0860182611473565b5061010083015161171c610100860182611473565b50610120830151611731610120860182611473565b50610140830151611746610140860182611585565b5061016083015161175b610160860182611473565b50610180830151611770610180860182611473565b506101a08301516117856101a0860182611473565b506101c083015161179a6101c0860182611473565b506101e08301516117af6101e0860182611473565b506102008301516117c4610200860182611473565b506102208301516117d9610220860182611473565b506102408301516117ee610240860182611473565b50610260830151611803610260860182611473565b50610280830151611818610280860182611473565b506102a083015161182d6102a0860182611585565b506102c08301516118426102c0860182611473565b506102e08301516118576102e0860182611473565b508091505092915050565b6000602082019050818103600083015261187c818461165b565b905092915050565b6000806040838503121561189b5761189a611335565b5b60006118a985828601611537565b92505060206118ba85828601611388565b9150509250929050565b6080820160008201516118da6000850182611473565b5060208201516118ed6020850182611473565b5060408201516119006040850182611473565b5060608201516119136060850182611473565b50505050565b600060808201905061192e60008301846118c4565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261195957611958611934565b5b8235905067ffffffffffffffff81111561197657611975611939565b5b6020830191508360208202830111156119925761199161193e565b5b9250929050565b600080602083850312156119b0576119af611335565b5b600083013567ffffffffffffffff8111156119ce576119cd61133a565b5b6119da85828601611943565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000610300830160008301518482036000860152611a3082826115f1565b91505060208301518482036020860152611a4a82826115f1565b9150506040830151611a5f60408601826113ca565b506060830151611a7260608601826113ca565b506080830151611a8560808601826113ca565b5060a0830151611a9860a0860182611473565b5060c0830151611aab60c0860182611473565b5060e0830151611abe60e0860182611473565b50610100830151611ad3610100860182611473565b50610120830151611ae8610120860182611473565b50610140830151611afd610140860182611585565b50610160830151611b12610160860182611473565b50610180830151611b27610180860182611473565b506101a0830151611b3c6101a0860182611473565b506101c0830151611b516101c0860182611473565b506101e0830151611b666101e0860182611473565b50610200830151611b7b610200860182611473565b50610220830151611b90610220860182611473565b50610240830151611ba5610240860182611473565b50610260830151611bba610260860182611473565b50610280830151611bcf610280860182611473565b506102a0830151611be46102a0860182611585565b506102c0830151611bf96102c0860182611473565b506102e0830151611c0e6102e0860182611473565b508091505092915050565b6000611c258383611a12565b905092915050565b6000602082019050919050565b6000611c45826119e6565b611c4f81856119f1565b935083602082028501611c6185611a02565b8060005b85811015611c9d5784840389528151611c7e8582611c19565b9450611c8983611c2d565b925060208a01995050600181019050611c65565b50829750879550505050505092915050565b60006020820190508181036000830152611cc98184611c3a565b905092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611d0e8261141f565b810181811067ffffffffffffffff82111715611d2d57611d2c611cd6565b5b80604052505050565b6000611d4061132b565b9050611d4c8282611d05565b919050565b600067ffffffffffffffff821115611d6c57611d6b611cd6565b5b611d758261141f565b9050602081019050919050565b6000611d95611d9084611d51565b611d36565b905082815260208101848484011115611db157611db0611cd1565b5b611dbc8482856113f5565b509392505050565b600082601f830112611dd957611dd8611934565b5b8151611de9848260208601611d82565b91505092915050565b600060208284031215611e0857611e07611335565b5b600082015167ffffffffffffffff811115611e2657611e2561133a565b5b611e3284828501611dc4565b91505092915050565b600060ff82169050919050565b611e5181611e3b565b8114611e5c57600080fd5b50565b600081519050611e6e81611e48565b92915050565b600060208284031215611e8a57611e89611335565b5b6000611e9884828501611e5f565b91505092915050565b600081519050611eb081611371565b92915050565b600060208284031215611ecc57611ecb611335565b5b6000611eda84828501611ea1565b91505092915050565b611eec8161135f565b82525050565b6000602082019050611f076000830184611ee3565b92915050565b60006fffffffffffffffffffffffffffffffff82169050919050565b611f3281611f0d565b8114611f3d57600080fd5b50565b600081519050611f4f81611f29565b92915050565b60008060408385031215611f6c57611f6b611335565b5b6000611f7a85828601611f40565b9250506020611f8b85828601611f40565b9150509250929050565b611f9e81611469565b8114611fa957600080fd5b50565b600081519050611fbb81611f95565b92915050565b600060208284031215611fd757611fd6611335565b5b6000611fe584828501611fac565b91505092915050565b600080fd5b60006cffffffffffffffffffffffffff82169050919050565b61201581611ff3565b811461202057600080fd5b50565b6000815190506120328161200c565b92915050565b61204181611579565b811461204c57600080fd5b50565b60008151905061205e81612038565b92915050565b600061ffff82169050919050565b61207b81612064565b811461208657600080fd5b50565b60008151905061209881612072565b92915050565b600063ffffffff82169050919050565b6120b78161209e565b81146120c257600080fd5b50565b6000815190506120d4816120ae565b92915050565b60006dffffffffffffffffffffffffffff82169050919050565b6120fd816120da565b811461210857600080fd5b50565b60008151905061211a816120f4565b92915050565b6000610100828403121561213757612136611fee565b5b612142610100611d36565b9050600061215284828501611f40565b600083015250602061216684828501612023565b602083015250604061217a8482850161204f565b604083015250606061218e84828501612089565b60608301525060806121a284828501612089565b60808301525060a06121b6848285016120c5565b60a08301525060c06121ca8482850161210b565b60c08301525060e06121de848285016120c5565b60e08301525092915050565b6000610100828403121561220157612200611335565b5b600061220f84828501612120565b91505092915050565b600060408201905061222d6000830185611ee3565b61223a6020830184611ee3565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006122aa82611469565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036122dc576122db612270565b5b60018201905091905056fea2646970667358221220fe27ab5f0dadd10a33f750028aaaab49b242d14a23b93d28585d529b4ab4710264736f6c63430008110033";
504
- const isSuperArgs = (xs) => xs.length > 1;
505
- class VaultLens__factory extends ethers_1.ContractFactory {
506
- constructor(...args) {
507
- if (isSuperArgs(args)) {
508
- super(...args);
509
- }
510
- else {
511
- super(_abi, _bytecode, args[0]);
512
- }
513
- }
514
- deploy(overrides) {
515
- return super.deploy(overrides || {});
516
- }
517
- getDeployTransaction(overrides) {
518
- return super.getDeployTransaction(overrides || {});
519
- }
520
- attach(address) {
521
- return super.attach(address);
522
- }
523
- connect(signer) {
524
- return super.connect(signer);
525
- }
1971
+ class VaultLens__factory {
526
1972
  static createInterface() {
527
1973
  return new ethers_1.utils.Interface(_abi);
528
1974
  }
@@ -530,7 +1976,6 @@ class VaultLens__factory extends ethers_1.ContractFactory {
530
1976
  return new ethers_1.Contract(address, _abi, signerOrProvider);
531
1977
  }
532
1978
  }
533
- VaultLens__factory.bytecode = _bytecode;
534
1979
  VaultLens__factory.abi = _abi;
535
1980
  exports.VaultLens__factory = VaultLens__factory;
536
1981
  //# sourceMappingURL=VaultLens__factory.js.map