@usdu-core/usdu-core 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/.claude/settings.local.json +12 -0
  2. package/.env.example +6 -0
  3. package/.prettierrc.json +7 -0
  4. package/LICENSE +674 -0
  5. package/README.md +244 -0
  6. package/contracts/curve/CurveAdapterV1.sol +310 -0
  7. package/contracts/curve/CurveAdapterV1_1.sol +198 -0
  8. package/contracts/curve/helpers/ICurveStableSwapNG.json +566 -0
  9. package/contracts/curve/helpers/ICurveStableSwapNG.sol +177 -0
  10. package/contracts/deploy/VaultDeployer.sol +110 -0
  11. package/contracts/morpho/MorphoAdapterV1.sol +255 -0
  12. package/contracts/morpho/MorphoAdapterV1_1.sol +137 -0
  13. package/contracts/morpho/MorphoAdapterV1_2.sol +126 -0
  14. package/contracts/morpho/helpers/AggregatorV3Interface.sol +24 -0
  15. package/contracts/morpho/helpers/ChainlinkDataFeedLib.sol +36 -0
  16. package/contracts/morpho/helpers/ConstantsLib.sol +20 -0
  17. package/contracts/morpho/helpers/ErrorsLib.sol +17 -0
  18. package/contracts/morpho/helpers/IERC4626.sol +6 -0
  19. package/contracts/morpho/helpers/IMetaMorphoV1_1.sol +229 -0
  20. package/contracts/morpho/helpers/IMetaMorphoV1_1Factory.sol +32 -0
  21. package/contracts/morpho/helpers/IMorpho.sol +361 -0
  22. package/contracts/morpho/helpers/IMorphoCallbacks.sol +52 -0
  23. package/contracts/morpho/helpers/IMorphoChainlinkOracleV2.sol +39 -0
  24. package/contracts/morpho/helpers/IMorphoChainlinkOracleV2Factory.sol +56 -0
  25. package/contracts/morpho/helpers/IOracle.sol +15 -0
  26. package/contracts/morpho/helpers/MarketParamsLib.sol +21 -0
  27. package/contracts/morpho/helpers/MathLib.sol +45 -0
  28. package/contracts/morpho/helpers/Morpho.sol.bak +517 -0
  29. package/contracts/morpho/helpers/MorphoChainlinkOracleV2.sol +157 -0
  30. package/contracts/morpho/helpers/PendingLib.sol +47 -0
  31. package/contracts/morpho/helpers/SharesMathLib.sol +45 -0
  32. package/contracts/morpho/helpers/VaultLib.sol +18 -0
  33. package/contracts/reward/RewardDistributionV1.sol +110 -0
  34. package/contracts/reward/RewardRouterV0.sol +63 -0
  35. package/contracts/reward/Rewards.example.json +72 -0
  36. package/contracts/stablecoin/IStablecoin.sol +211 -0
  37. package/contracts/stablecoin/IStablecoinMetadata.sol +27 -0
  38. package/contracts/stablecoin/IStablecoinModifier.sol +52 -0
  39. package/contracts/stablecoin/Stablecoin.sol +376 -0
  40. package/contracts/stablecoin/libraries/ConstantsLib.sol +13 -0
  41. package/contracts/stablecoin/libraries/ErrorsLib.sol +45 -0
  42. package/contracts/stablecoin/libraries/EventsLib.sol +74 -0
  43. package/contracts/stablecoin/libraries/PendingLib.sol +38 -0
  44. package/contracts/vault/VaultAdapterRecoverV1.sol +29 -0
  45. package/contracts/vault/VaultAdapterV1.sol +126 -0
  46. package/dist/index.d.mts +16154 -0
  47. package/dist/index.d.ts +16154 -0
  48. package/dist/index.js +21134 -0
  49. package/dist/index.mjs +21061 -0
  50. package/docs/CoreVault: Integration of new Markets.md +197 -0
  51. package/docs/CoreVault: SupplyQueue.md +11 -0
  52. package/docs/Markets USDC Vault.md +35 -0
  53. package/docs/Markets USDU Vault.md +89 -0
  54. package/docs/Markets WETH Vault.md +35 -0
  55. package/docs/Overview.drawio +117 -0
  56. package/exports/abis/curve/CurveAdapterV1.ts +599 -0
  57. package/exports/abis/curve/CurveAdapterV1_1.ts +609 -0
  58. package/exports/abis/curve/CurveAdapterV1_2.ts +721 -0
  59. package/exports/abis/curve/helper/ICurveStableSwapNG.ts +1589 -0
  60. package/exports/abis/morpho/MorphoAdapterV1.ts +516 -0
  61. package/exports/abis/morpho/MorphoAdapterV1_1.ts +489 -0
  62. package/exports/abis/morpho/MorphoAdapterV1_2.ts +459 -0
  63. package/exports/abis/morpho/helper/AggregatorV3Interface.ts +113 -0
  64. package/exports/abis/morpho/helper/IMetaMorphoV1_1.ts +1483 -0
  65. package/exports/abis/morpho/helper/IMetaMorphoV1_1Base.ts +607 -0
  66. package/exports/abis/morpho/helper/IMetaMorphoV1_1StaticTyping.ts +696 -0
  67. package/exports/abis/morpho/helper/IMorpho.ts +1024 -0
  68. package/exports/abis/morpho/helper/IMorphoBase.ts +886 -0
  69. package/exports/abis/morpho/helper/IMorphoChainlinkOracleV2.ts +132 -0
  70. package/exports/abis/morpho/helper/IMorphoChainlinkOracleV2Factory.ts +109 -0
  71. package/exports/abis/morpho/helper/IMorphoFlashLoanCallback.ts +20 -0
  72. package/exports/abis/morpho/helper/IMorphoLiquidateCallback.ts +20 -0
  73. package/exports/abis/morpho/helper/IMorphoRepayCallback.ts +20 -0
  74. package/exports/abis/morpho/helper/IMorphoStaticTyping.ts +1003 -0
  75. package/exports/abis/morpho/helper/IMorphoSupplyCallback.ts +20 -0
  76. package/exports/abis/morpho/helper/IMorphoSupplyCollateralCallback.ts +20 -0
  77. package/exports/abis/morpho/helper/IMulticall.ts +21 -0
  78. package/exports/abis/morpho/helper/IOracle.ts +15 -0
  79. package/exports/abis/morpho/helper/IOwnable.ts +55 -0
  80. package/exports/abis/morpho/helper/MorphoChainlinkOracleV2.ts +188 -0
  81. package/exports/abis/openzeppelin/ERC20.ts +310 -0
  82. package/exports/abis/openzeppelin/ERC20Permit.ts +520 -0
  83. package/exports/abis/openzeppelin/IERC20.ts +185 -0
  84. package/exports/abis/openzeppelin/IERC20Metadata.ts +224 -0
  85. package/exports/abis/openzeppelin/IERC20Permit.ts +77 -0
  86. package/exports/abis/openzeppelin/IERC4626.ts +614 -0
  87. package/exports/abis/reward/RewardDistributionV1.ts +246 -0
  88. package/exports/abis/stablecoin/ErrorsLib.ts +114 -0
  89. package/exports/abis/stablecoin/EventsLib.ts +372 -0
  90. package/exports/abis/stablecoin/IStablecoin.ts +642 -0
  91. package/exports/abis/stablecoin/IStablecoinMetadata.ts +856 -0
  92. package/exports/abis/stablecoin/IStablecoinModifier.ts +15 -0
  93. package/exports/abis/stablecoin/Stablecoin.ts +1922 -0
  94. package/exports/abis/termmax/ITermMaxVault.ts +2335 -0
  95. package/exports/abis/vault/VaultAdapterRecoverV1.ts +490 -0
  96. package/exports/abis/vault/VaultAdapterV1.ts +459 -0
  97. package/exports/address.config.ts +113 -0
  98. package/exports/address.types.ts +130 -0
  99. package/exports/index.ts +61 -0
  100. package/hardhat.config.ts +231 -0
  101. package/helper/store.args.ts +17 -0
  102. package/helper/wallet.info.ts +3 -0
  103. package/helper/wallet.ts +41 -0
  104. package/install-macos.sh +46 -0
  105. package/package.json +73 -0
  106. package/tsconfig.json +15 -0
  107. package/tsup.config.ts +10 -0
@@ -0,0 +1,696 @@
1
+ export const IMetaMorphoV1_1StaticTyping_ABI = [
2
+ {
3
+ inputs: [],
4
+ name: 'DECIMALS_OFFSET',
5
+ outputs: [
6
+ {
7
+ internalType: 'uint8',
8
+ name: '',
9
+ type: 'uint8',
10
+ },
11
+ ],
12
+ stateMutability: 'view',
13
+ type: 'function',
14
+ },
15
+ {
16
+ inputs: [],
17
+ name: 'MORPHO',
18
+ outputs: [
19
+ {
20
+ internalType: 'contract IMorpho',
21
+ name: '',
22
+ type: 'address',
23
+ },
24
+ ],
25
+ stateMutability: 'view',
26
+ type: 'function',
27
+ },
28
+ {
29
+ inputs: [
30
+ {
31
+ components: [
32
+ {
33
+ internalType: 'address',
34
+ name: 'loanToken',
35
+ type: 'address',
36
+ },
37
+ {
38
+ internalType: 'address',
39
+ name: 'collateralToken',
40
+ type: 'address',
41
+ },
42
+ {
43
+ internalType: 'address',
44
+ name: 'oracle',
45
+ type: 'address',
46
+ },
47
+ {
48
+ internalType: 'address',
49
+ name: 'irm',
50
+ type: 'address',
51
+ },
52
+ {
53
+ internalType: 'uint256',
54
+ name: 'lltv',
55
+ type: 'uint256',
56
+ },
57
+ ],
58
+ internalType: 'struct MarketParams',
59
+ name: 'marketParams',
60
+ type: 'tuple',
61
+ },
62
+ ],
63
+ name: 'acceptCap',
64
+ outputs: [],
65
+ stateMutability: 'nonpayable',
66
+ type: 'function',
67
+ },
68
+ {
69
+ inputs: [],
70
+ name: 'acceptGuardian',
71
+ outputs: [],
72
+ stateMutability: 'nonpayable',
73
+ type: 'function',
74
+ },
75
+ {
76
+ inputs: [],
77
+ name: 'acceptTimelock',
78
+ outputs: [],
79
+ stateMutability: 'nonpayable',
80
+ type: 'function',
81
+ },
82
+ {
83
+ inputs: [
84
+ {
85
+ internalType: 'Id',
86
+ name: '',
87
+ type: 'bytes32',
88
+ },
89
+ ],
90
+ name: 'config',
91
+ outputs: [
92
+ {
93
+ internalType: 'uint184',
94
+ name: 'cap',
95
+ type: 'uint184',
96
+ },
97
+ {
98
+ internalType: 'bool',
99
+ name: 'enabled',
100
+ type: 'bool',
101
+ },
102
+ {
103
+ internalType: 'uint64',
104
+ name: 'removableAt',
105
+ type: 'uint64',
106
+ },
107
+ ],
108
+ stateMutability: 'view',
109
+ type: 'function',
110
+ },
111
+ {
112
+ inputs: [],
113
+ name: 'curator',
114
+ outputs: [
115
+ {
116
+ internalType: 'address',
117
+ name: '',
118
+ type: 'address',
119
+ },
120
+ ],
121
+ stateMutability: 'view',
122
+ type: 'function',
123
+ },
124
+ {
125
+ inputs: [],
126
+ name: 'fee',
127
+ outputs: [
128
+ {
129
+ internalType: 'uint96',
130
+ name: '',
131
+ type: 'uint96',
132
+ },
133
+ ],
134
+ stateMutability: 'view',
135
+ type: 'function',
136
+ },
137
+ {
138
+ inputs: [],
139
+ name: 'feeRecipient',
140
+ outputs: [
141
+ {
142
+ internalType: 'address',
143
+ name: '',
144
+ type: 'address',
145
+ },
146
+ ],
147
+ stateMutability: 'view',
148
+ type: 'function',
149
+ },
150
+ {
151
+ inputs: [],
152
+ name: 'guardian',
153
+ outputs: [
154
+ {
155
+ internalType: 'address',
156
+ name: '',
157
+ type: 'address',
158
+ },
159
+ ],
160
+ stateMutability: 'view',
161
+ type: 'function',
162
+ },
163
+ {
164
+ inputs: [
165
+ {
166
+ internalType: 'address',
167
+ name: 'target',
168
+ type: 'address',
169
+ },
170
+ ],
171
+ name: 'isAllocator',
172
+ outputs: [
173
+ {
174
+ internalType: 'bool',
175
+ name: '',
176
+ type: 'bool',
177
+ },
178
+ ],
179
+ stateMutability: 'view',
180
+ type: 'function',
181
+ },
182
+ {
183
+ inputs: [],
184
+ name: 'lastTotalAssets',
185
+ outputs: [
186
+ {
187
+ internalType: 'uint256',
188
+ name: '',
189
+ type: 'uint256',
190
+ },
191
+ ],
192
+ stateMutability: 'view',
193
+ type: 'function',
194
+ },
195
+ {
196
+ inputs: [],
197
+ name: 'lostAssets',
198
+ outputs: [
199
+ {
200
+ internalType: 'uint256',
201
+ name: '',
202
+ type: 'uint256',
203
+ },
204
+ ],
205
+ stateMutability: 'view',
206
+ type: 'function',
207
+ },
208
+ {
209
+ inputs: [
210
+ {
211
+ internalType: 'Id',
212
+ name: '',
213
+ type: 'bytes32',
214
+ },
215
+ ],
216
+ name: 'pendingCap',
217
+ outputs: [
218
+ {
219
+ internalType: 'uint192',
220
+ name: 'value',
221
+ type: 'uint192',
222
+ },
223
+ {
224
+ internalType: 'uint64',
225
+ name: 'validAt',
226
+ type: 'uint64',
227
+ },
228
+ ],
229
+ stateMutability: 'view',
230
+ type: 'function',
231
+ },
232
+ {
233
+ inputs: [],
234
+ name: 'pendingGuardian',
235
+ outputs: [
236
+ {
237
+ internalType: 'address',
238
+ name: 'guardian',
239
+ type: 'address',
240
+ },
241
+ {
242
+ internalType: 'uint64',
243
+ name: 'validAt',
244
+ type: 'uint64',
245
+ },
246
+ ],
247
+ stateMutability: 'view',
248
+ type: 'function',
249
+ },
250
+ {
251
+ inputs: [],
252
+ name: 'pendingTimelock',
253
+ outputs: [
254
+ {
255
+ internalType: 'uint192',
256
+ name: 'value',
257
+ type: 'uint192',
258
+ },
259
+ {
260
+ internalType: 'uint64',
261
+ name: 'validAt',
262
+ type: 'uint64',
263
+ },
264
+ ],
265
+ stateMutability: 'view',
266
+ type: 'function',
267
+ },
268
+ {
269
+ inputs: [
270
+ {
271
+ components: [
272
+ {
273
+ components: [
274
+ {
275
+ internalType: 'address',
276
+ name: 'loanToken',
277
+ type: 'address',
278
+ },
279
+ {
280
+ internalType: 'address',
281
+ name: 'collateralToken',
282
+ type: 'address',
283
+ },
284
+ {
285
+ internalType: 'address',
286
+ name: 'oracle',
287
+ type: 'address',
288
+ },
289
+ {
290
+ internalType: 'address',
291
+ name: 'irm',
292
+ type: 'address',
293
+ },
294
+ {
295
+ internalType: 'uint256',
296
+ name: 'lltv',
297
+ type: 'uint256',
298
+ },
299
+ ],
300
+ internalType: 'struct MarketParams',
301
+ name: 'marketParams',
302
+ type: 'tuple',
303
+ },
304
+ {
305
+ internalType: 'uint256',
306
+ name: 'assets',
307
+ type: 'uint256',
308
+ },
309
+ ],
310
+ internalType: 'struct MarketAllocation[]',
311
+ name: 'allocations',
312
+ type: 'tuple[]',
313
+ },
314
+ ],
315
+ name: 'reallocate',
316
+ outputs: [],
317
+ stateMutability: 'nonpayable',
318
+ type: 'function',
319
+ },
320
+ {
321
+ inputs: [
322
+ {
323
+ internalType: 'Id',
324
+ name: 'id',
325
+ type: 'bytes32',
326
+ },
327
+ ],
328
+ name: 'revokePendingCap',
329
+ outputs: [],
330
+ stateMutability: 'nonpayable',
331
+ type: 'function',
332
+ },
333
+ {
334
+ inputs: [],
335
+ name: 'revokePendingGuardian',
336
+ outputs: [],
337
+ stateMutability: 'nonpayable',
338
+ type: 'function',
339
+ },
340
+ {
341
+ inputs: [
342
+ {
343
+ internalType: 'Id',
344
+ name: 'id',
345
+ type: 'bytes32',
346
+ },
347
+ ],
348
+ name: 'revokePendingMarketRemoval',
349
+ outputs: [],
350
+ stateMutability: 'nonpayable',
351
+ type: 'function',
352
+ },
353
+ {
354
+ inputs: [],
355
+ name: 'revokePendingTimelock',
356
+ outputs: [],
357
+ stateMutability: 'nonpayable',
358
+ type: 'function',
359
+ },
360
+ {
361
+ inputs: [
362
+ {
363
+ internalType: 'address',
364
+ name: 'newCurator',
365
+ type: 'address',
366
+ },
367
+ ],
368
+ name: 'setCurator',
369
+ outputs: [],
370
+ stateMutability: 'nonpayable',
371
+ type: 'function',
372
+ },
373
+ {
374
+ inputs: [
375
+ {
376
+ internalType: 'uint256',
377
+ name: 'newFee',
378
+ type: 'uint256',
379
+ },
380
+ ],
381
+ name: 'setFee',
382
+ outputs: [],
383
+ stateMutability: 'nonpayable',
384
+ type: 'function',
385
+ },
386
+ {
387
+ inputs: [
388
+ {
389
+ internalType: 'address',
390
+ name: 'newFeeRecipient',
391
+ type: 'address',
392
+ },
393
+ ],
394
+ name: 'setFeeRecipient',
395
+ outputs: [],
396
+ stateMutability: 'nonpayable',
397
+ type: 'function',
398
+ },
399
+ {
400
+ inputs: [
401
+ {
402
+ internalType: 'address',
403
+ name: 'newAllocator',
404
+ type: 'address',
405
+ },
406
+ {
407
+ internalType: 'bool',
408
+ name: 'newIsAllocator',
409
+ type: 'bool',
410
+ },
411
+ ],
412
+ name: 'setIsAllocator',
413
+ outputs: [],
414
+ stateMutability: 'nonpayable',
415
+ type: 'function',
416
+ },
417
+ {
418
+ inputs: [
419
+ {
420
+ internalType: 'string',
421
+ name: 'newName',
422
+ type: 'string',
423
+ },
424
+ ],
425
+ name: 'setName',
426
+ outputs: [],
427
+ stateMutability: 'nonpayable',
428
+ type: 'function',
429
+ },
430
+ {
431
+ inputs: [
432
+ {
433
+ internalType: 'address',
434
+ name: 'newSkimRecipient',
435
+ type: 'address',
436
+ },
437
+ ],
438
+ name: 'setSkimRecipient',
439
+ outputs: [],
440
+ stateMutability: 'nonpayable',
441
+ type: 'function',
442
+ },
443
+ {
444
+ inputs: [
445
+ {
446
+ internalType: 'Id[]',
447
+ name: 'newSupplyQueue',
448
+ type: 'bytes32[]',
449
+ },
450
+ ],
451
+ name: 'setSupplyQueue',
452
+ outputs: [],
453
+ stateMutability: 'nonpayable',
454
+ type: 'function',
455
+ },
456
+ {
457
+ inputs: [
458
+ {
459
+ internalType: 'string',
460
+ name: 'newSymbol',
461
+ type: 'string',
462
+ },
463
+ ],
464
+ name: 'setSymbol',
465
+ outputs: [],
466
+ stateMutability: 'nonpayable',
467
+ type: 'function',
468
+ },
469
+ {
470
+ inputs: [
471
+ {
472
+ internalType: 'address',
473
+ name: '',
474
+ type: 'address',
475
+ },
476
+ ],
477
+ name: 'skim',
478
+ outputs: [],
479
+ stateMutability: 'nonpayable',
480
+ type: 'function',
481
+ },
482
+ {
483
+ inputs: [],
484
+ name: 'skimRecipient',
485
+ outputs: [
486
+ {
487
+ internalType: 'address',
488
+ name: '',
489
+ type: 'address',
490
+ },
491
+ ],
492
+ stateMutability: 'view',
493
+ type: 'function',
494
+ },
495
+ {
496
+ inputs: [
497
+ {
498
+ components: [
499
+ {
500
+ internalType: 'address',
501
+ name: 'loanToken',
502
+ type: 'address',
503
+ },
504
+ {
505
+ internalType: 'address',
506
+ name: 'collateralToken',
507
+ type: 'address',
508
+ },
509
+ {
510
+ internalType: 'address',
511
+ name: 'oracle',
512
+ type: 'address',
513
+ },
514
+ {
515
+ internalType: 'address',
516
+ name: 'irm',
517
+ type: 'address',
518
+ },
519
+ {
520
+ internalType: 'uint256',
521
+ name: 'lltv',
522
+ type: 'uint256',
523
+ },
524
+ ],
525
+ internalType: 'struct MarketParams',
526
+ name: 'marketParams',
527
+ type: 'tuple',
528
+ },
529
+ {
530
+ internalType: 'uint256',
531
+ name: 'newSupplyCap',
532
+ type: 'uint256',
533
+ },
534
+ ],
535
+ name: 'submitCap',
536
+ outputs: [],
537
+ stateMutability: 'nonpayable',
538
+ type: 'function',
539
+ },
540
+ {
541
+ inputs: [
542
+ {
543
+ internalType: 'address',
544
+ name: 'newGuardian',
545
+ type: 'address',
546
+ },
547
+ ],
548
+ name: 'submitGuardian',
549
+ outputs: [],
550
+ stateMutability: 'nonpayable',
551
+ type: 'function',
552
+ },
553
+ {
554
+ inputs: [
555
+ {
556
+ components: [
557
+ {
558
+ internalType: 'address',
559
+ name: 'loanToken',
560
+ type: 'address',
561
+ },
562
+ {
563
+ internalType: 'address',
564
+ name: 'collateralToken',
565
+ type: 'address',
566
+ },
567
+ {
568
+ internalType: 'address',
569
+ name: 'oracle',
570
+ type: 'address',
571
+ },
572
+ {
573
+ internalType: 'address',
574
+ name: 'irm',
575
+ type: 'address',
576
+ },
577
+ {
578
+ internalType: 'uint256',
579
+ name: 'lltv',
580
+ type: 'uint256',
581
+ },
582
+ ],
583
+ internalType: 'struct MarketParams',
584
+ name: 'marketParams',
585
+ type: 'tuple',
586
+ },
587
+ ],
588
+ name: 'submitMarketRemoval',
589
+ outputs: [],
590
+ stateMutability: 'nonpayable',
591
+ type: 'function',
592
+ },
593
+ {
594
+ inputs: [
595
+ {
596
+ internalType: 'uint256',
597
+ name: 'newTimelock',
598
+ type: 'uint256',
599
+ },
600
+ ],
601
+ name: 'submitTimelock',
602
+ outputs: [],
603
+ stateMutability: 'nonpayable',
604
+ type: 'function',
605
+ },
606
+ {
607
+ inputs: [
608
+ {
609
+ internalType: 'uint256',
610
+ name: '',
611
+ type: 'uint256',
612
+ },
613
+ ],
614
+ name: 'supplyQueue',
615
+ outputs: [
616
+ {
617
+ internalType: 'Id',
618
+ name: '',
619
+ type: 'bytes32',
620
+ },
621
+ ],
622
+ stateMutability: 'view',
623
+ type: 'function',
624
+ },
625
+ {
626
+ inputs: [],
627
+ name: 'supplyQueueLength',
628
+ outputs: [
629
+ {
630
+ internalType: 'uint256',
631
+ name: '',
632
+ type: 'uint256',
633
+ },
634
+ ],
635
+ stateMutability: 'view',
636
+ type: 'function',
637
+ },
638
+ {
639
+ inputs: [],
640
+ name: 'timelock',
641
+ outputs: [
642
+ {
643
+ internalType: 'uint256',
644
+ name: '',
645
+ type: 'uint256',
646
+ },
647
+ ],
648
+ stateMutability: 'view',
649
+ type: 'function',
650
+ },
651
+ {
652
+ inputs: [
653
+ {
654
+ internalType: 'uint256[]',
655
+ name: 'indexes',
656
+ type: 'uint256[]',
657
+ },
658
+ ],
659
+ name: 'updateWithdrawQueue',
660
+ outputs: [],
661
+ stateMutability: 'nonpayable',
662
+ type: 'function',
663
+ },
664
+ {
665
+ inputs: [
666
+ {
667
+ internalType: 'uint256',
668
+ name: '',
669
+ type: 'uint256',
670
+ },
671
+ ],
672
+ name: 'withdrawQueue',
673
+ outputs: [
674
+ {
675
+ internalType: 'Id',
676
+ name: '',
677
+ type: 'bytes32',
678
+ },
679
+ ],
680
+ stateMutability: 'view',
681
+ type: 'function',
682
+ },
683
+ {
684
+ inputs: [],
685
+ name: 'withdrawQueueLength',
686
+ outputs: [
687
+ {
688
+ internalType: 'uint256',
689
+ name: '',
690
+ type: 'uint256',
691
+ },
692
+ ],
693
+ stateMutability: 'view',
694
+ type: 'function',
695
+ },
696
+ ] as const;