morpho-contracts-helper 0.0.11 → 0.0.13

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 (96) hide show
  1. package/contracts/MorphoMarketDataFetcher.sol +129 -0
  2. package/contracts/external/morpho/interfaces/IAdapter.sol +19 -0
  3. package/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2.sol +66 -0
  4. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata.d.ts +48 -0
  5. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata.d.ts.map +1 -0
  6. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata.js +3 -0
  7. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata.js.map +1 -0
  8. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorpho.d.ts +84 -0
  9. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorpho.d.ts.map +1 -0
  10. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorpho.js +3 -0
  11. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorpho.js.map +1 -0
  12. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2.d.ts +62 -0
  13. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2.d.ts.map +1 -0
  14. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2.js +3 -0
  15. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2.js.map +1 -0
  16. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher.d.ts +135 -0
  17. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher.d.ts.map +1 -0
  18. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher.js +3 -0
  19. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher.js.map +1 -0
  20. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/index.d.ts +5 -0
  21. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/index.d.ts.map +1 -0
  22. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/index.js.map +1 -0
  23. package/dist/typechain-types/contracts/external/morpho/interfaces/IAdapter.d.ts +74 -0
  24. package/dist/typechain-types/contracts/external/morpho/interfaces/IAdapter.d.ts.map +1 -0
  25. package/dist/typechain-types/contracts/external/morpho/interfaces/IAdapter.js +3 -0
  26. package/dist/typechain-types/contracts/external/morpho/interfaces/IAdapter.js.map +1 -0
  27. package/dist/typechain-types/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2.d.ts +427 -0
  28. package/dist/typechain-types/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2.d.ts.map +1 -0
  29. package/dist/typechain-types/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2.js +3 -0
  30. package/dist/typechain-types/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2.js.map +1 -0
  31. package/dist/typechain-types/contracts/external/morpho/interfaces/{IMorphoMarketV1AdapterV2Factory.sol.sol/IMorphoMarketV1AdapterV2Factory.d.ts → IMorphoMarketV1AdapterV2Factory.d.ts} +1 -1
  32. package/dist/typechain-types/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2Factory.d.ts.map +1 -0
  33. package/dist/typechain-types/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2Factory.js.map +1 -0
  34. package/dist/typechain-types/contracts/external/morpho/interfaces/index.d.ts +3 -2
  35. package/dist/typechain-types/contracts/external/morpho/interfaces/index.d.ts.map +1 -1
  36. package/dist/typechain-types/contracts/index.d.ts +2 -0
  37. package/dist/typechain-types/contracts/index.d.ts.map +1 -1
  38. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata__factory.d.ts +56 -0
  39. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata__factory.d.ts.map +1 -0
  40. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata__factory.js +84 -0
  41. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata__factory.js.map +1 -0
  42. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2__factory.d.ts +108 -0
  43. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2__factory.d.ts.map +1 -0
  44. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2__factory.js +151 -0
  45. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2__factory.js.map +1 -0
  46. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorpho__factory.d.ts +69 -0
  47. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorpho__factory.d.ts.map +1 -0
  48. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorpho__factory.js +101 -0
  49. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorpho__factory.js.map +1 -0
  50. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher__factory.d.ts +293 -0
  51. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher__factory.d.ts.map +1 -0
  52. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher__factory.js +389 -0
  53. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher__factory.js.map +1 -0
  54. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/index.d.ts +5 -0
  55. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/index.d.ts.map +1 -0
  56. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/index.js +16 -0
  57. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/index.js.map +1 -0
  58. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IAdapter__factory.d.ts +78 -0
  59. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IAdapter__factory.d.ts.map +1 -0
  60. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IAdapter__factory.js +112 -0
  61. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IAdapter__factory.js.map +1 -0
  62. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/{IMorphoMarketV1AdapterV2Factory.sol.sol/IMorphoMarketV1AdapterV2Factory__factory.d.ts → IMorphoMarketV1AdapterV2Factory__factory.d.ts} +1 -1
  63. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2Factory__factory.d.ts.map +1 -0
  64. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2Factory__factory.js.map +1 -0
  65. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2__factory.d.ts +619 -0
  66. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2__factory.d.ts.map +1 -0
  67. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2__factory.js +812 -0
  68. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2__factory.js.map +1 -0
  69. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/index.d.ts +3 -1
  70. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/index.d.ts.map +1 -1
  71. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/index.js +7 -2
  72. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/index.js.map +1 -1
  73. package/dist/typechain-types/factories/contracts/index.d.ts +1 -0
  74. package/dist/typechain-types/factories/contracts/index.d.ts.map +1 -1
  75. package/dist/typechain-types/factories/contracts/index.js +2 -1
  76. package/dist/typechain-types/factories/contracts/index.js.map +1 -1
  77. package/dist/typechain-types/index.d.ts +8 -2
  78. package/dist/typechain-types/index.d.ts.map +1 -1
  79. package/dist/typechain-types/index.js +9 -2
  80. package/dist/typechain-types/index.js.map +1 -1
  81. package/package.json +1 -1
  82. package/dist/typechain-types/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2Factory.sol.sol/IMorphoMarketV1AdapterV2Factory.d.ts.map +0 -1
  83. package/dist/typechain-types/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2Factory.sol.sol/IMorphoMarketV1AdapterV2Factory.js.map +0 -1
  84. package/dist/typechain-types/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2Factory.sol.sol/index.d.ts +0 -2
  85. package/dist/typechain-types/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2Factory.sol.sol/index.d.ts.map +0 -1
  86. package/dist/typechain-types/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2Factory.sol.sol/index.js.map +0 -1
  87. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2Factory.sol.sol/IMorphoMarketV1AdapterV2Factory__factory.d.ts.map +0 -1
  88. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2Factory.sol.sol/IMorphoMarketV1AdapterV2Factory__factory.js.map +0 -1
  89. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2Factory.sol.sol/index.d.ts +0 -2
  90. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2Factory.sol.sol/index.d.ts.map +0 -1
  91. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2Factory.sol.sol/index.js +0 -10
  92. package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IMorphoMarketV1AdapterV2Factory.sol.sol/index.js.map +0 -1
  93. /package/contracts/external/morpho/interfaces/{IMorphoMarketV1AdapterV2Factory.sol.sol → IMorphoMarketV1AdapterV2Factory.sol} +0 -0
  94. /package/dist/typechain-types/contracts/{external/morpho/interfaces/IMorphoMarketV1AdapterV2Factory.sol.sol → MorphoMarketDataFetcher.sol}/index.js +0 -0
  95. /package/dist/typechain-types/contracts/external/morpho/interfaces/{IMorphoMarketV1AdapterV2Factory.sol.sol/IMorphoMarketV1AdapterV2Factory.js → IMorphoMarketV1AdapterV2Factory.js} +0 -0
  96. /package/dist/typechain-types/factories/contracts/external/morpho/interfaces/{IMorphoMarketV1AdapterV2Factory.sol.sol/IMorphoMarketV1AdapterV2Factory__factory.js → IMorphoMarketV1AdapterV2Factory__factory.js} +0 -0
@@ -0,0 +1,812 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ // @ts-nocheck
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.IMorphoMarketV1AdapterV2__factory = void 0;
8
+ const ethers_1 = require("ethers");
9
+ const _abi = [
10
+ {
11
+ inputs: [],
12
+ name: "Abdicated",
13
+ type: "error",
14
+ },
15
+ {
16
+ inputs: [],
17
+ name: "AutomaticallyTimelocked",
18
+ type: "error",
19
+ },
20
+ {
21
+ inputs: [],
22
+ name: "DataAlreadyPending",
23
+ type: "error",
24
+ },
25
+ {
26
+ inputs: [],
27
+ name: "DataNotTimelocked",
28
+ type: "error",
29
+ },
30
+ {
31
+ inputs: [],
32
+ name: "IrmMismatch",
33
+ type: "error",
34
+ },
35
+ {
36
+ inputs: [],
37
+ name: "LoanAssetMismatch",
38
+ type: "error",
39
+ },
40
+ {
41
+ inputs: [],
42
+ name: "SharePriceAboveOne",
43
+ type: "error",
44
+ },
45
+ {
46
+ inputs: [],
47
+ name: "TimelockNotDecreasing",
48
+ type: "error",
49
+ },
50
+ {
51
+ inputs: [],
52
+ name: "TimelockNotExpired",
53
+ type: "error",
54
+ },
55
+ {
56
+ inputs: [],
57
+ name: "TimelockNotIncreasing",
58
+ type: "error",
59
+ },
60
+ {
61
+ inputs: [],
62
+ name: "Unauthorized",
63
+ type: "error",
64
+ },
65
+ {
66
+ anonymous: false,
67
+ inputs: [
68
+ {
69
+ indexed: true,
70
+ internalType: "bytes4",
71
+ name: "selector",
72
+ type: "bytes4",
73
+ },
74
+ ],
75
+ name: "Abdicate",
76
+ type: "event",
77
+ },
78
+ {
79
+ anonymous: false,
80
+ inputs: [
81
+ {
82
+ indexed: true,
83
+ internalType: "bytes4",
84
+ name: "selector",
85
+ type: "bytes4",
86
+ },
87
+ {
88
+ indexed: false,
89
+ internalType: "bytes",
90
+ name: "data",
91
+ type: "bytes",
92
+ },
93
+ ],
94
+ name: "Accept",
95
+ type: "event",
96
+ },
97
+ {
98
+ anonymous: false,
99
+ inputs: [
100
+ {
101
+ indexed: true,
102
+ internalType: "bytes32",
103
+ name: "marketId",
104
+ type: "bytes32",
105
+ },
106
+ {
107
+ indexed: false,
108
+ internalType: "uint256",
109
+ name: "newAllocation",
110
+ type: "uint256",
111
+ },
112
+ {
113
+ indexed: false,
114
+ internalType: "uint256",
115
+ name: "mintedShares",
116
+ type: "uint256",
117
+ },
118
+ ],
119
+ name: "Allocate",
120
+ type: "event",
121
+ },
122
+ {
123
+ anonymous: false,
124
+ inputs: [
125
+ {
126
+ indexed: true,
127
+ internalType: "bytes32",
128
+ name: "marketId",
129
+ type: "bytes32",
130
+ },
131
+ {
132
+ indexed: false,
133
+ internalType: "uint256",
134
+ name: "supplyShares",
135
+ type: "uint256",
136
+ },
137
+ ],
138
+ name: "BurnShares",
139
+ type: "event",
140
+ },
141
+ {
142
+ anonymous: false,
143
+ inputs: [
144
+ {
145
+ indexed: true,
146
+ internalType: "bytes32",
147
+ name: "marketId",
148
+ type: "bytes32",
149
+ },
150
+ {
151
+ indexed: false,
152
+ internalType: "uint256",
153
+ name: "newAllocation",
154
+ type: "uint256",
155
+ },
156
+ {
157
+ indexed: false,
158
+ internalType: "uint256",
159
+ name: "burnedShares",
160
+ type: "uint256",
161
+ },
162
+ ],
163
+ name: "Deallocate",
164
+ type: "event",
165
+ },
166
+ {
167
+ anonymous: false,
168
+ inputs: [
169
+ {
170
+ indexed: true,
171
+ internalType: "bytes4",
172
+ name: "selector",
173
+ type: "bytes4",
174
+ },
175
+ {
176
+ indexed: false,
177
+ internalType: "uint256",
178
+ name: "newDuration",
179
+ type: "uint256",
180
+ },
181
+ ],
182
+ name: "DecreaseTimelock",
183
+ type: "event",
184
+ },
185
+ {
186
+ anonymous: false,
187
+ inputs: [
188
+ {
189
+ indexed: true,
190
+ internalType: "bytes4",
191
+ name: "selector",
192
+ type: "bytes4",
193
+ },
194
+ {
195
+ indexed: false,
196
+ internalType: "uint256",
197
+ name: "newDuration",
198
+ type: "uint256",
199
+ },
200
+ ],
201
+ name: "IncreaseTimelock",
202
+ type: "event",
203
+ },
204
+ {
205
+ anonymous: false,
206
+ inputs: [
207
+ {
208
+ indexed: true,
209
+ internalType: "address",
210
+ name: "sender",
211
+ type: "address",
212
+ },
213
+ {
214
+ indexed: true,
215
+ internalType: "bytes4",
216
+ name: "selector",
217
+ type: "bytes4",
218
+ },
219
+ {
220
+ indexed: false,
221
+ internalType: "bytes",
222
+ name: "data",
223
+ type: "bytes",
224
+ },
225
+ ],
226
+ name: "Revoke",
227
+ type: "event",
228
+ },
229
+ {
230
+ anonymous: false,
231
+ inputs: [
232
+ {
233
+ indexed: true,
234
+ internalType: "address",
235
+ name: "newSkimRecipient",
236
+ type: "address",
237
+ },
238
+ ],
239
+ name: "SetSkimRecipient",
240
+ type: "event",
241
+ },
242
+ {
243
+ anonymous: false,
244
+ inputs: [
245
+ {
246
+ indexed: true,
247
+ internalType: "address",
248
+ name: "token",
249
+ type: "address",
250
+ },
251
+ {
252
+ indexed: false,
253
+ internalType: "uint256",
254
+ name: "assets",
255
+ type: "uint256",
256
+ },
257
+ ],
258
+ name: "Skim",
259
+ type: "event",
260
+ },
261
+ {
262
+ anonymous: false,
263
+ inputs: [
264
+ {
265
+ indexed: true,
266
+ internalType: "bytes4",
267
+ name: "selector",
268
+ type: "bytes4",
269
+ },
270
+ {
271
+ indexed: false,
272
+ internalType: "bytes",
273
+ name: "data",
274
+ type: "bytes",
275
+ },
276
+ {
277
+ indexed: false,
278
+ internalType: "uint256",
279
+ name: "executableAt",
280
+ type: "uint256",
281
+ },
282
+ ],
283
+ name: "Submit",
284
+ type: "event",
285
+ },
286
+ {
287
+ inputs: [
288
+ {
289
+ internalType: "bytes4",
290
+ name: "selector",
291
+ type: "bytes4",
292
+ },
293
+ ],
294
+ name: "abdicate",
295
+ outputs: [],
296
+ stateMutability: "nonpayable",
297
+ type: "function",
298
+ },
299
+ {
300
+ inputs: [
301
+ {
302
+ internalType: "bytes4",
303
+ name: "selector",
304
+ type: "bytes4",
305
+ },
306
+ ],
307
+ name: "abdicated",
308
+ outputs: [
309
+ {
310
+ internalType: "bool",
311
+ name: "",
312
+ type: "bool",
313
+ },
314
+ ],
315
+ stateMutability: "view",
316
+ type: "function",
317
+ },
318
+ {
319
+ inputs: [],
320
+ name: "adapterId",
321
+ outputs: [
322
+ {
323
+ internalType: "bytes32",
324
+ name: "",
325
+ type: "bytes32",
326
+ },
327
+ ],
328
+ stateMutability: "view",
329
+ type: "function",
330
+ },
331
+ {
332
+ inputs: [],
333
+ name: "adaptiveCurveIrm",
334
+ outputs: [
335
+ {
336
+ internalType: "address",
337
+ name: "",
338
+ type: "address",
339
+ },
340
+ ],
341
+ stateMutability: "view",
342
+ type: "function",
343
+ },
344
+ {
345
+ inputs: [
346
+ {
347
+ internalType: "bytes",
348
+ name: "data",
349
+ type: "bytes",
350
+ },
351
+ {
352
+ internalType: "uint256",
353
+ name: "assets",
354
+ type: "uint256",
355
+ },
356
+ {
357
+ internalType: "bytes4",
358
+ name: "selector",
359
+ type: "bytes4",
360
+ },
361
+ {
362
+ internalType: "address",
363
+ name: "sender",
364
+ type: "address",
365
+ },
366
+ ],
367
+ name: "allocate",
368
+ outputs: [
369
+ {
370
+ internalType: "bytes32[]",
371
+ name: "ids",
372
+ type: "bytes32[]",
373
+ },
374
+ {
375
+ internalType: "int256",
376
+ name: "change",
377
+ type: "int256",
378
+ },
379
+ ],
380
+ stateMutability: "nonpayable",
381
+ type: "function",
382
+ },
383
+ {
384
+ inputs: [
385
+ {
386
+ components: [
387
+ {
388
+ internalType: "address",
389
+ name: "loanToken",
390
+ type: "address",
391
+ },
392
+ {
393
+ internalType: "address",
394
+ name: "collateralToken",
395
+ type: "address",
396
+ },
397
+ {
398
+ internalType: "address",
399
+ name: "oracle",
400
+ type: "address",
401
+ },
402
+ {
403
+ internalType: "address",
404
+ name: "irm",
405
+ type: "address",
406
+ },
407
+ {
408
+ internalType: "uint256",
409
+ name: "lltv",
410
+ type: "uint256",
411
+ },
412
+ ],
413
+ internalType: "struct MarketParams",
414
+ name: "marketParams",
415
+ type: "tuple",
416
+ },
417
+ ],
418
+ name: "allocation",
419
+ outputs: [
420
+ {
421
+ internalType: "uint256",
422
+ name: "",
423
+ type: "uint256",
424
+ },
425
+ ],
426
+ stateMutability: "view",
427
+ type: "function",
428
+ },
429
+ {
430
+ inputs: [],
431
+ name: "asset",
432
+ outputs: [
433
+ {
434
+ internalType: "address",
435
+ name: "",
436
+ type: "address",
437
+ },
438
+ ],
439
+ stateMutability: "view",
440
+ type: "function",
441
+ },
442
+ {
443
+ inputs: [
444
+ {
445
+ internalType: "bytes32",
446
+ name: "marketId",
447
+ type: "bytes32",
448
+ },
449
+ ],
450
+ name: "burnShares",
451
+ outputs: [],
452
+ stateMutability: "nonpayable",
453
+ type: "function",
454
+ },
455
+ {
456
+ inputs: [
457
+ {
458
+ internalType: "bytes",
459
+ name: "data",
460
+ type: "bytes",
461
+ },
462
+ {
463
+ internalType: "uint256",
464
+ name: "assets",
465
+ type: "uint256",
466
+ },
467
+ {
468
+ internalType: "bytes4",
469
+ name: "selector",
470
+ type: "bytes4",
471
+ },
472
+ {
473
+ internalType: "address",
474
+ name: "sender",
475
+ type: "address",
476
+ },
477
+ ],
478
+ name: "deallocate",
479
+ outputs: [
480
+ {
481
+ internalType: "bytes32[]",
482
+ name: "ids",
483
+ type: "bytes32[]",
484
+ },
485
+ {
486
+ internalType: "int256",
487
+ name: "change",
488
+ type: "int256",
489
+ },
490
+ ],
491
+ stateMutability: "nonpayable",
492
+ type: "function",
493
+ },
494
+ {
495
+ inputs: [
496
+ {
497
+ internalType: "bytes4",
498
+ name: "selector",
499
+ type: "bytes4",
500
+ },
501
+ {
502
+ internalType: "uint256",
503
+ name: "newDuration",
504
+ type: "uint256",
505
+ },
506
+ ],
507
+ name: "decreaseTimelock",
508
+ outputs: [],
509
+ stateMutability: "nonpayable",
510
+ type: "function",
511
+ },
512
+ {
513
+ inputs: [
514
+ {
515
+ internalType: "bytes",
516
+ name: "data",
517
+ type: "bytes",
518
+ },
519
+ ],
520
+ name: "executableAt",
521
+ outputs: [
522
+ {
523
+ internalType: "uint256",
524
+ name: "",
525
+ type: "uint256",
526
+ },
527
+ ],
528
+ stateMutability: "view",
529
+ type: "function",
530
+ },
531
+ {
532
+ inputs: [
533
+ {
534
+ internalType: "bytes32",
535
+ name: "marketId",
536
+ type: "bytes32",
537
+ },
538
+ ],
539
+ name: "expectedSupplyAssets",
540
+ outputs: [
541
+ {
542
+ internalType: "uint256",
543
+ name: "",
544
+ type: "uint256",
545
+ },
546
+ ],
547
+ stateMutability: "view",
548
+ type: "function",
549
+ },
550
+ {
551
+ inputs: [],
552
+ name: "factory",
553
+ outputs: [
554
+ {
555
+ internalType: "address",
556
+ name: "",
557
+ type: "address",
558
+ },
559
+ ],
560
+ stateMutability: "view",
561
+ type: "function",
562
+ },
563
+ {
564
+ inputs: [
565
+ {
566
+ components: [
567
+ {
568
+ internalType: "address",
569
+ name: "loanToken",
570
+ type: "address",
571
+ },
572
+ {
573
+ internalType: "address",
574
+ name: "collateralToken",
575
+ type: "address",
576
+ },
577
+ {
578
+ internalType: "address",
579
+ name: "oracle",
580
+ type: "address",
581
+ },
582
+ {
583
+ internalType: "address",
584
+ name: "irm",
585
+ type: "address",
586
+ },
587
+ {
588
+ internalType: "uint256",
589
+ name: "lltv",
590
+ type: "uint256",
591
+ },
592
+ ],
593
+ internalType: "struct MarketParams",
594
+ name: "marketParams",
595
+ type: "tuple",
596
+ },
597
+ ],
598
+ name: "ids",
599
+ outputs: [
600
+ {
601
+ internalType: "bytes32[]",
602
+ name: "",
603
+ type: "bytes32[]",
604
+ },
605
+ ],
606
+ stateMutability: "view",
607
+ type: "function",
608
+ },
609
+ {
610
+ inputs: [
611
+ {
612
+ internalType: "bytes4",
613
+ name: "selector",
614
+ type: "bytes4",
615
+ },
616
+ {
617
+ internalType: "uint256",
618
+ name: "newDuration",
619
+ type: "uint256",
620
+ },
621
+ ],
622
+ name: "increaseTimelock",
623
+ outputs: [],
624
+ stateMutability: "nonpayable",
625
+ type: "function",
626
+ },
627
+ {
628
+ inputs: [
629
+ {
630
+ internalType: "uint256",
631
+ name: "index",
632
+ type: "uint256",
633
+ },
634
+ ],
635
+ name: "marketIds",
636
+ outputs: [
637
+ {
638
+ internalType: "bytes32",
639
+ name: "",
640
+ type: "bytes32",
641
+ },
642
+ ],
643
+ stateMutability: "view",
644
+ type: "function",
645
+ },
646
+ {
647
+ inputs: [],
648
+ name: "marketIdsLength",
649
+ outputs: [
650
+ {
651
+ internalType: "uint256",
652
+ name: "",
653
+ type: "uint256",
654
+ },
655
+ ],
656
+ stateMutability: "view",
657
+ type: "function",
658
+ },
659
+ {
660
+ inputs: [],
661
+ name: "morpho",
662
+ outputs: [
663
+ {
664
+ internalType: "address",
665
+ name: "",
666
+ type: "address",
667
+ },
668
+ ],
669
+ stateMutability: "view",
670
+ type: "function",
671
+ },
672
+ {
673
+ inputs: [],
674
+ name: "parentVault",
675
+ outputs: [
676
+ {
677
+ internalType: "address",
678
+ name: "",
679
+ type: "address",
680
+ },
681
+ ],
682
+ stateMutability: "view",
683
+ type: "function",
684
+ },
685
+ {
686
+ inputs: [],
687
+ name: "realAssets",
688
+ outputs: [
689
+ {
690
+ internalType: "uint256",
691
+ name: "assets",
692
+ type: "uint256",
693
+ },
694
+ ],
695
+ stateMutability: "view",
696
+ type: "function",
697
+ },
698
+ {
699
+ inputs: [
700
+ {
701
+ internalType: "bytes",
702
+ name: "data",
703
+ type: "bytes",
704
+ },
705
+ ],
706
+ name: "revoke",
707
+ outputs: [],
708
+ stateMutability: "nonpayable",
709
+ type: "function",
710
+ },
711
+ {
712
+ inputs: [
713
+ {
714
+ internalType: "address",
715
+ name: "newSkimRecipient",
716
+ type: "address",
717
+ },
718
+ ],
719
+ name: "setSkimRecipient",
720
+ outputs: [],
721
+ stateMutability: "nonpayable",
722
+ type: "function",
723
+ },
724
+ {
725
+ inputs: [
726
+ {
727
+ internalType: "address",
728
+ name: "token",
729
+ type: "address",
730
+ },
731
+ ],
732
+ name: "skim",
733
+ outputs: [],
734
+ stateMutability: "nonpayable",
735
+ type: "function",
736
+ },
737
+ {
738
+ inputs: [],
739
+ name: "skimRecipient",
740
+ outputs: [
741
+ {
742
+ internalType: "address",
743
+ name: "",
744
+ type: "address",
745
+ },
746
+ ],
747
+ stateMutability: "view",
748
+ type: "function",
749
+ },
750
+ {
751
+ inputs: [
752
+ {
753
+ internalType: "bytes",
754
+ name: "data",
755
+ type: "bytes",
756
+ },
757
+ ],
758
+ name: "submit",
759
+ outputs: [],
760
+ stateMutability: "nonpayable",
761
+ type: "function",
762
+ },
763
+ {
764
+ inputs: [
765
+ {
766
+ internalType: "bytes32",
767
+ name: "marketId",
768
+ type: "bytes32",
769
+ },
770
+ ],
771
+ name: "supplyShares",
772
+ outputs: [
773
+ {
774
+ internalType: "uint256",
775
+ name: "",
776
+ type: "uint256",
777
+ },
778
+ ],
779
+ stateMutability: "view",
780
+ type: "function",
781
+ },
782
+ {
783
+ inputs: [
784
+ {
785
+ internalType: "bytes4",
786
+ name: "selector",
787
+ type: "bytes4",
788
+ },
789
+ ],
790
+ name: "timelock",
791
+ outputs: [
792
+ {
793
+ internalType: "uint256",
794
+ name: "",
795
+ type: "uint256",
796
+ },
797
+ ],
798
+ stateMutability: "view",
799
+ type: "function",
800
+ },
801
+ ];
802
+ class IMorphoMarketV1AdapterV2__factory {
803
+ static abi = _abi;
804
+ static createInterface() {
805
+ return new ethers_1.Interface(_abi);
806
+ }
807
+ static connect(address, runner) {
808
+ return new ethers_1.Contract(address, _abi, runner);
809
+ }
810
+ }
811
+ exports.IMorphoMarketV1AdapterV2__factory = IMorphoMarketV1AdapterV2__factory;
812
+ //# sourceMappingURL=IMorphoMarketV1AdapterV2__factory.js.map