@underscore-finance/sdk 1.1.2 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/dist/contracts/AaveV3.d.ts +126 -13
  2. package/dist/contracts/AaveV3.d.ts.map +1 -1
  3. package/dist/contracts/AaveV3.js +159 -13
  4. package/dist/contracts/AeroClassic.d.ts +85 -0
  5. package/dist/contracts/AeroClassic.d.ts.map +1 -1
  6. package/dist/contracts/AeroClassic.js +109 -1
  7. package/dist/contracts/AeroSlipstream.d.ts +119 -0
  8. package/dist/contracts/AeroSlipstream.d.ts.map +1 -1
  9. package/dist/contracts/AeroSlipstream.js +151 -1
  10. package/dist/contracts/AgentSenderGeneric.d.ts +4027 -0
  11. package/dist/contracts/AgentSenderGeneric.d.ts.map +1 -0
  12. package/dist/contracts/AgentSenderGeneric.js +5280 -0
  13. package/dist/contracts/AgentSenderSpecial.d.ts +1968 -0
  14. package/dist/contracts/AgentSenderSpecial.d.ts.map +1 -0
  15. package/dist/contracts/AgentSenderSpecial.js +2509 -0
  16. package/dist/contracts/AgentWrapper.d.ts +170 -1462
  17. package/dist/contracts/AgentWrapper.d.ts.map +1 -1
  18. package/dist/contracts/AgentWrapper.js +262 -1869
  19. package/dist/contracts/AgentWrapperV1.d.ts +3760 -0
  20. package/dist/contracts/AgentWrapperV1.d.ts.map +1 -0
  21. package/dist/contracts/AgentWrapperV1.js +4922 -0
  22. package/dist/contracts/Appraiser.d.ts +18 -459
  23. package/dist/contracts/Appraiser.d.ts.map +1 -1
  24. package/dist/contracts/Appraiser.js +75 -649
  25. package/dist/contracts/Avantis.d.ts +2565 -0
  26. package/dist/contracts/Avantis.d.ts.map +1 -0
  27. package/dist/contracts/Avantis.js +3256 -0
  28. package/dist/contracts/Billing.d.ts +4 -68
  29. package/dist/contracts/Billing.d.ts.map +1 -1
  30. package/dist/contracts/Billing.js +5 -82
  31. package/dist/contracts/ChequeBook.d.ts +52 -1
  32. package/dist/contracts/ChequeBook.d.ts.map +1 -1
  33. package/dist/contracts/ChequeBook.js +53 -1
  34. package/dist/contracts/CompoundV3.d.ts +126 -13
  35. package/dist/contracts/CompoundV3.d.ts.map +1 -1
  36. package/dist/contracts/CompoundV3.js +159 -13
  37. package/dist/contracts/ConvertVaultToken.d.ts +63 -0
  38. package/dist/contracts/ConvertVaultToken.d.ts.map +1 -0
  39. package/dist/contracts/ConvertVaultToken.js +75 -0
  40. package/dist/contracts/Curve.d.ts +14 -0
  41. package/dist/contracts/Curve.d.ts.map +1 -1
  42. package/dist/contracts/Curve.js +19 -1
  43. package/dist/contracts/DefaultsBase.d.ts +45 -56
  44. package/dist/contracts/DefaultsBase.d.ts.map +1 -1
  45. package/dist/contracts/DefaultsBase.js +45 -59
  46. package/dist/contracts/EarnVault.d.ts +1680 -0
  47. package/dist/contracts/EarnVault.d.ts.map +1 -0
  48. package/dist/contracts/EarnVault.js +2206 -0
  49. package/dist/contracts/EarnVaultAgent.d.ts +1004 -0
  50. package/dist/contracts/EarnVaultAgent.d.ts.map +1 -0
  51. package/dist/contracts/EarnVaultAgent.js +1273 -0
  52. package/dist/contracts/EarnVaultAgentSigHelper.d.ts +904 -0
  53. package/dist/contracts/EarnVaultAgentSigHelper.d.ts.map +1 -0
  54. package/dist/contracts/EarnVaultAgentSigHelper.js +1198 -0
  55. package/dist/contracts/Euler.d.ts +131 -14
  56. package/dist/contracts/Euler.d.ts.map +1 -1
  57. package/dist/contracts/Euler.js +164 -13
  58. package/dist/contracts/Fluid.d.ts +159 -14
  59. package/dist/contracts/Fluid.d.ts.map +1 -1
  60. package/dist/contracts/Fluid.js +200 -13
  61. package/dist/contracts/FortyAcres.d.ts +145 -14
  62. package/dist/contracts/FortyAcres.d.ts.map +1 -1
  63. package/dist/contracts/FortyAcres.js +182 -13
  64. package/dist/contracts/Hatchery.d.ts +6 -176
  65. package/dist/contracts/Hatchery.d.ts.map +1 -1
  66. package/dist/contracts/Hatchery.js +5 -225
  67. package/dist/contracts/HighCommand.d.ts +237 -1
  68. package/dist/contracts/HighCommand.d.ts.map +1 -1
  69. package/dist/contracts/HighCommand.js +259 -1
  70. package/dist/contracts/Kernel.d.ts +8 -0
  71. package/dist/contracts/Kernel.d.ts.map +1 -1
  72. package/dist/contracts/Kernel.js +9 -1
  73. package/dist/contracts/LegoBook.js +1 -1
  74. package/dist/contracts/LegoTools.js +1 -1
  75. package/dist/contracts/LevgVaultHelper.d.ts +1070 -0
  76. package/dist/contracts/LevgVaultHelper.d.ts.map +1 -0
  77. package/dist/contracts/LevgVaultHelper.js +1414 -0
  78. package/dist/contracts/LootDistributor.d.ts +49 -131
  79. package/dist/contracts/LootDistributor.d.ts.map +1 -1
  80. package/dist/contracts/LootDistributor.js +58 -157
  81. package/dist/contracts/Migrator.d.ts +4 -0
  82. package/dist/contracts/Migrator.d.ts.map +1 -1
  83. package/dist/contracts/Migrator.js +5 -1
  84. package/dist/contracts/MissionControl.d.ts +211 -295
  85. package/dist/contracts/MissionControl.d.ts.map +1 -1
  86. package/dist/contracts/MissionControl.js +216 -305
  87. package/dist/contracts/Moonwell.d.ts +131 -14
  88. package/dist/contracts/Moonwell.d.ts.map +1 -1
  89. package/dist/contracts/Moonwell.js +164 -13
  90. package/dist/contracts/Morpho.d.ts +131 -14
  91. package/dist/contracts/Morpho.d.ts.map +1 -1
  92. package/dist/contracts/Morpho.js +164 -13
  93. package/dist/contracts/Paymaster.d.ts +4 -0
  94. package/dist/contracts/Paymaster.d.ts.map +1 -1
  95. package/dist/contracts/Paymaster.js +5 -1
  96. package/dist/contracts/RipeLego.d.ts +267 -81
  97. package/dist/contracts/RipeLego.d.ts.map +1 -1
  98. package/dist/contracts/RipeLego.js +322 -87
  99. package/dist/contracts/Sentinel.d.ts +275 -7
  100. package/dist/contracts/Sentinel.d.ts.map +1 -1
  101. package/dist/contracts/Sentinel.js +331 -7
  102. package/dist/contracts/SkyPsm.d.ts +2622 -0
  103. package/dist/contracts/SkyPsm.d.ts.map +1 -0
  104. package/dist/contracts/SkyPsm.js +3329 -0
  105. package/dist/contracts/Switchboard.d.ts +7 -0
  106. package/dist/contracts/Switchboard.d.ts.map +1 -1
  107. package/dist/contracts/Switchboard.js +9 -1
  108. package/dist/contracts/SwitchboardAlpha.d.ts +499 -264
  109. package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -1
  110. package/dist/contracts/SwitchboardAlpha.js +566 -282
  111. package/dist/contracts/SwitchboardBravo.d.ts +4 -24
  112. package/dist/contracts/SwitchboardBravo.d.ts.map +1 -1
  113. package/dist/contracts/SwitchboardBravo.js +5 -32
  114. package/dist/contracts/SwitchboardCharlie.d.ts +1796 -343
  115. package/dist/contracts/SwitchboardCharlie.d.ts.map +1 -1
  116. package/dist/contracts/SwitchboardCharlie.js +2178 -368
  117. package/dist/contracts/UnderscoreLego.d.ts +129 -15
  118. package/dist/contracts/UnderscoreLego.d.ts.map +1 -1
  119. package/dist/contracts/UnderscoreLego.js +161 -14
  120. package/dist/contracts/UndyAero.d.ts +1680 -0
  121. package/dist/contracts/UndyAero.d.ts.map +1 -0
  122. package/dist/contracts/UndyAero.js +2206 -0
  123. package/dist/contracts/UndyBtc.d.ts +209 -16
  124. package/dist/contracts/UndyBtc.d.ts.map +1 -1
  125. package/dist/contracts/UndyBtc.js +267 -16
  126. package/dist/contracts/UndyCbeth.d.ts +1680 -0
  127. package/dist/contracts/UndyCbeth.d.ts.map +1 -0
  128. package/dist/contracts/UndyCbeth.js +2206 -0
  129. package/dist/contracts/UndyEth.d.ts +209 -16
  130. package/dist/contracts/UndyEth.d.ts.map +1 -1
  131. package/dist/contracts/UndyEth.js +267 -16
  132. package/dist/contracts/UndyEurc.d.ts +1680 -0
  133. package/dist/contracts/UndyEurc.d.ts.map +1 -0
  134. package/dist/contracts/UndyEurc.js +2206 -0
  135. package/dist/contracts/UndyGho.d.ts +1680 -0
  136. package/dist/contracts/UndyGho.d.ts.map +1 -0
  137. package/dist/contracts/UndyGho.js +2206 -0
  138. package/dist/contracts/UndyUsd.d.ts +209 -16
  139. package/dist/contracts/UndyUsd.d.ts.map +1 -1
  140. package/dist/contracts/UndyUsd.js +267 -16
  141. package/dist/contracts/UndyUsds.d.ts +1680 -0
  142. package/dist/contracts/UndyUsds.d.ts.map +1 -0
  143. package/dist/contracts/UndyUsds.js +2206 -0
  144. package/dist/contracts/UniswapV2.d.ts +85 -0
  145. package/dist/contracts/UniswapV2.d.ts.map +1 -1
  146. package/dist/contracts/UniswapV2.js +109 -1
  147. package/dist/contracts/UniswapV3.d.ts +119 -0
  148. package/dist/contracts/UniswapV3.d.ts.map +1 -1
  149. package/dist/contracts/UniswapV3.js +151 -1
  150. package/dist/contracts/UserWallet.d.ts +12 -8
  151. package/dist/contracts/UserWallet.d.ts.map +1 -1
  152. package/dist/contracts/UserWallet.js +13 -9
  153. package/dist/contracts/UserWalletConfig.d.ts +198 -56
  154. package/dist/contracts/UserWalletConfig.d.ts.map +1 -1
  155. package/dist/contracts/UserWalletConfig.js +225 -72
  156. package/dist/contracts/UserWalletConfigV1.d.ts +3655 -0
  157. package/dist/contracts/UserWalletConfigV1.d.ts.map +1 -0
  158. package/dist/contracts/UserWalletConfigV1.js +4251 -0
  159. package/dist/contracts/UserWalletV1.d.ts +2633 -0
  160. package/dist/contracts/UserWalletV1.d.ts.map +1 -0
  161. package/dist/contracts/UserWalletV1.js +3500 -0
  162. package/dist/contracts/VaultRegistry.d.ts +848 -85
  163. package/dist/contracts/VaultRegistry.d.ts.map +1 -1
  164. package/dist/contracts/VaultRegistry.js +1078 -83
  165. package/dist/contracts/WalletBackpack.d.ts +4 -0
  166. package/dist/contracts/WalletBackpack.d.ts.map +1 -1
  167. package/dist/contracts/WalletBackpack.js +5 -1
  168. package/dist/contracts/Wasabi.d.ts +2579 -0
  169. package/dist/contracts/Wasabi.d.ts.map +1 -0
  170. package/dist/contracts/Wasabi.js +3274 -0
  171. package/dist/contracts/index.d.ts +18 -1
  172. package/dist/contracts/index.d.ts.map +1 -1
  173. package/dist/contracts/index.js +18 -1
  174. package/dist/contracts/sdk.d.ts +36 -2
  175. package/dist/contracts/sdk.d.ts.map +1 -1
  176. package/dist/contracts/sdk.js +36 -2
  177. package/dist/getSwapInstructions.js +1 -1
  178. package/dist/index.d.ts +95 -8
  179. package/dist/index.d.ts.map +1 -1
  180. package/dist/index.js +45 -7
  181. package/package.json +3 -3
@@ -173,6 +173,48 @@ export declare const abi: readonly [{
173
173
  }];
174
174
  readonly anonymous: false;
175
175
  readonly type: "event";
176
+ }, {
177
+ readonly name: "PendingApprovedVaultTokensChange";
178
+ readonly inputs: readonly [{
179
+ readonly name: "vaultAddr";
180
+ readonly type: "address";
181
+ readonly indexed: true;
182
+ }, {
183
+ readonly name: "numTokens";
184
+ readonly type: "uint256";
185
+ readonly indexed: false;
186
+ }, {
187
+ readonly name: "isApproved";
188
+ readonly type: "bool";
189
+ readonly indexed: false;
190
+ }, {
191
+ readonly name: "confirmationBlock";
192
+ readonly type: "uint256";
193
+ readonly indexed: false;
194
+ }, {
195
+ readonly name: "actionId";
196
+ readonly type: "uint256";
197
+ readonly indexed: false;
198
+ }];
199
+ readonly anonymous: false;
200
+ readonly type: "event";
201
+ }, {
202
+ readonly name: "ApprovedVaultTokensSet";
203
+ readonly inputs: readonly [{
204
+ readonly name: "vaultAddr";
205
+ readonly type: "address";
206
+ readonly indexed: true;
207
+ }, {
208
+ readonly name: "numTokens";
209
+ readonly type: "uint256";
210
+ readonly indexed: false;
211
+ }, {
212
+ readonly name: "isApproved";
213
+ readonly type: "bool";
214
+ readonly indexed: false;
215
+ }];
216
+ readonly anonymous: false;
217
+ readonly type: "event";
176
218
  }, {
177
219
  readonly name: "PendingPerformanceFeeChange";
178
220
  readonly inputs: readonly [{
@@ -275,6 +317,40 @@ export declare const abi: readonly [{
275
317
  }];
276
318
  readonly anonymous: false;
277
319
  readonly type: "event";
320
+ }, {
321
+ readonly name: "PendingIsLeveragedVaultChange";
322
+ readonly inputs: readonly [{
323
+ readonly name: "vaultAddr";
324
+ readonly type: "address";
325
+ readonly indexed: true;
326
+ }, {
327
+ readonly name: "isLeveragedVault";
328
+ readonly type: "bool";
329
+ readonly indexed: false;
330
+ }, {
331
+ readonly name: "confirmationBlock";
332
+ readonly type: "uint256";
333
+ readonly indexed: false;
334
+ }, {
335
+ readonly name: "actionId";
336
+ readonly type: "uint256";
337
+ readonly indexed: false;
338
+ }];
339
+ readonly anonymous: false;
340
+ readonly type: "event";
341
+ }, {
342
+ readonly name: "IsLeveragedVaultSet";
343
+ readonly inputs: readonly [{
344
+ readonly name: "vaultAddr";
345
+ readonly type: "address";
346
+ readonly indexed: true;
347
+ }, {
348
+ readonly name: "isLeveragedVault";
349
+ readonly type: "bool";
350
+ readonly indexed: false;
351
+ }];
352
+ readonly anonymous: false;
353
+ readonly type: "event";
278
354
  }, {
279
355
  readonly name: "CanDepositSet";
280
356
  readonly inputs: readonly [{
@@ -344,127 +420,733 @@ export declare const abi: readonly [{
344
420
  readonly anonymous: false;
345
421
  readonly type: "event";
346
422
  }, {
347
- readonly name: "GovChangeTimeLockModified";
423
+ readonly name: "ShouldEnforceAllowlistSet";
348
424
  readonly inputs: readonly [{
349
- readonly name: "prevTimeLock";
425
+ readonly name: "vaultAddr";
426
+ readonly type: "address";
427
+ readonly indexed: true;
428
+ }, {
429
+ readonly name: "shouldEnforce";
430
+ readonly type: "bool";
431
+ readonly indexed: false;
432
+ }, {
433
+ readonly name: "caller";
434
+ readonly type: "address";
435
+ readonly indexed: true;
436
+ }];
437
+ readonly anonymous: false;
438
+ readonly type: "event";
439
+ }, {
440
+ readonly name: "AllowlistUserSet";
441
+ readonly inputs: readonly [{
442
+ readonly name: "vaultAddr";
443
+ readonly type: "address";
444
+ readonly indexed: true;
445
+ }, {
446
+ readonly name: "user";
447
+ readonly type: "address";
448
+ readonly indexed: true;
449
+ }, {
450
+ readonly name: "isAllowed";
451
+ readonly type: "bool";
452
+ readonly indexed: false;
453
+ }, {
454
+ readonly name: "caller";
455
+ readonly type: "address";
456
+ readonly indexed: true;
457
+ }];
458
+ readonly anonymous: false;
459
+ readonly type: "event";
460
+ }, {
461
+ readonly name: "AllowlistBatchSet";
462
+ readonly inputs: readonly [{
463
+ readonly name: "vaultAddr";
464
+ readonly type: "address";
465
+ readonly indexed: true;
466
+ }, {
467
+ readonly name: "numUsers";
350
468
  readonly type: "uint256";
351
469
  readonly indexed: false;
352
470
  }, {
353
- readonly name: "newTimeLock";
471
+ readonly name: "isAllowed";
472
+ readonly type: "bool";
473
+ readonly indexed: false;
474
+ }, {
475
+ readonly name: "caller";
476
+ readonly type: "address";
477
+ readonly indexed: true;
478
+ }];
479
+ readonly anonymous: false;
480
+ readonly type: "event";
481
+ }, {
482
+ readonly name: "PendingCollateralVaultChange";
483
+ readonly inputs: readonly [{
484
+ readonly name: "vaultAddr";
485
+ readonly type: "address";
486
+ readonly indexed: true;
487
+ }, {
488
+ readonly name: "vaultToken";
489
+ readonly type: "address";
490
+ readonly indexed: true;
491
+ }, {
492
+ readonly name: "ripeVaultId";
493
+ readonly type: "uint256";
494
+ readonly indexed: false;
495
+ }, {
496
+ readonly name: "legoId";
497
+ readonly type: "uint256";
498
+ readonly indexed: false;
499
+ }, {
500
+ readonly name: "shouldMaxWithdraw";
501
+ readonly type: "bool";
502
+ readonly indexed: false;
503
+ }, {
504
+ readonly name: "confirmationBlock";
505
+ readonly type: "uint256";
506
+ readonly indexed: false;
507
+ }, {
508
+ readonly name: "actionId";
354
509
  readonly type: "uint256";
355
510
  readonly indexed: false;
356
511
  }];
357
512
  readonly anonymous: false;
358
513
  readonly type: "event";
359
514
  }, {
360
- readonly name: "ExpirationSet";
515
+ readonly name: "CollateralVaultSet";
361
516
  readonly inputs: readonly [{
362
- readonly name: "expiration";
517
+ readonly name: "vaultAddr";
518
+ readonly type: "address";
519
+ readonly indexed: true;
520
+ }, {
521
+ readonly name: "vaultToken";
522
+ readonly type: "address";
523
+ readonly indexed: true;
524
+ }, {
525
+ readonly name: "ripeVaultId";
526
+ readonly type: "uint256";
527
+ readonly indexed: false;
528
+ }, {
529
+ readonly name: "legoId";
363
530
  readonly type: "uint256";
364
531
  readonly indexed: false;
365
532
  }];
366
533
  readonly anonymous: false;
367
534
  readonly type: "event";
368
535
  }, {
369
- readonly name: "ActionTimeLockSet";
536
+ readonly name: "PendingLeverageVaultChange";
370
537
  readonly inputs: readonly [{
371
- readonly name: "newTimeLock";
538
+ readonly name: "vaultAddr";
539
+ readonly type: "address";
540
+ readonly indexed: true;
541
+ }, {
542
+ readonly name: "vaultToken";
543
+ readonly type: "address";
544
+ readonly indexed: true;
545
+ }, {
546
+ readonly name: "legoId";
372
547
  readonly type: "uint256";
373
548
  readonly indexed: false;
374
549
  }, {
375
- readonly name: "prevTimeLock";
550
+ readonly name: "ripeVaultId";
551
+ readonly type: "uint256";
552
+ readonly indexed: false;
553
+ }, {
554
+ readonly name: "shouldMaxWithdraw";
555
+ readonly type: "bool";
556
+ readonly indexed: false;
557
+ }, {
558
+ readonly name: "confirmationBlock";
559
+ readonly type: "uint256";
560
+ readonly indexed: false;
561
+ }, {
562
+ readonly name: "actionId";
376
563
  readonly type: "uint256";
377
564
  readonly indexed: false;
378
565
  }];
379
566
  readonly anonymous: false;
380
567
  readonly type: "event";
381
568
  }, {
382
- readonly name: "GovChangeStarted";
569
+ readonly name: "LeverageVaultSet";
383
570
  readonly inputs: readonly [{
384
- readonly name: "prevGov";
571
+ readonly name: "vaultAddr";
385
572
  readonly type: "address";
386
573
  readonly indexed: true;
387
574
  }, {
388
- readonly name: "newGov";
575
+ readonly name: "vaultToken";
389
576
  readonly type: "address";
390
577
  readonly indexed: true;
391
578
  }, {
392
- readonly name: "confirmBlock";
579
+ readonly name: "legoId";
580
+ readonly type: "uint256";
581
+ readonly indexed: false;
582
+ }, {
583
+ readonly name: "ripeVaultId";
393
584
  readonly type: "uint256";
394
585
  readonly indexed: false;
395
586
  }];
396
587
  readonly anonymous: false;
397
588
  readonly type: "event";
398
589
  }, {
399
- readonly name: "GovChangeConfirmed";
590
+ readonly name: "PendingSlippagesChange";
400
591
  readonly inputs: readonly [{
401
- readonly name: "prevGov";
592
+ readonly name: "vaultAddr";
402
593
  readonly type: "address";
403
594
  readonly indexed: true;
404
595
  }, {
405
- readonly name: "newGov";
596
+ readonly name: "usdcSlippage";
597
+ readonly type: "uint256";
598
+ readonly indexed: false;
599
+ }, {
600
+ readonly name: "greenSlippage";
601
+ readonly type: "uint256";
602
+ readonly indexed: false;
603
+ }, {
604
+ readonly name: "confirmationBlock";
605
+ readonly type: "uint256";
606
+ readonly indexed: false;
607
+ }, {
608
+ readonly name: "actionId";
609
+ readonly type: "uint256";
610
+ readonly indexed: false;
611
+ }];
612
+ readonly anonymous: false;
613
+ readonly type: "event";
614
+ }, {
615
+ readonly name: "SlippagesSet";
616
+ readonly inputs: readonly [{
617
+ readonly name: "vaultAddr";
406
618
  readonly type: "address";
407
619
  readonly indexed: true;
408
620
  }, {
409
- readonly name: "initiatedBlock";
621
+ readonly name: "usdcSlippage";
410
622
  readonly type: "uint256";
411
623
  readonly indexed: false;
412
624
  }, {
413
- readonly name: "confirmBlock";
625
+ readonly name: "greenSlippage";
414
626
  readonly type: "uint256";
415
627
  readonly indexed: false;
416
628
  }];
417
629
  readonly anonymous: false;
418
630
  readonly type: "event";
419
631
  }, {
420
- readonly name: "GovChangeCancelled";
632
+ readonly name: "PendingLevgVaultHelperChange";
421
633
  readonly inputs: readonly [{
422
- readonly name: "cancelledGov";
634
+ readonly name: "vaultAddr";
423
635
  readonly type: "address";
424
636
  readonly indexed: true;
425
637
  }, {
426
- readonly name: "initiatedBlock";
638
+ readonly name: "levgVaultHelper";
639
+ readonly type: "address";
640
+ readonly indexed: true;
641
+ }, {
642
+ readonly name: "confirmationBlock";
427
643
  readonly type: "uint256";
428
644
  readonly indexed: false;
429
645
  }, {
430
- readonly name: "confirmBlock";
646
+ readonly name: "actionId";
431
647
  readonly type: "uint256";
432
648
  readonly indexed: false;
433
649
  }];
434
650
  readonly anonymous: false;
435
651
  readonly type: "event";
436
652
  }, {
437
- readonly name: "GovRelinquished";
653
+ readonly name: "LevgVaultHelperSet";
438
654
  readonly inputs: readonly [{
439
- readonly name: "prevGov";
655
+ readonly name: "vaultAddr";
656
+ readonly type: "address";
657
+ readonly indexed: true;
658
+ }, {
659
+ readonly name: "levgVaultHelper";
440
660
  readonly type: "address";
441
661
  readonly indexed: true;
442
662
  }];
443
663
  readonly anonymous: false;
444
664
  readonly type: "event";
445
665
  }, {
446
- readonly name: "UndyHqSetupFinished";
666
+ readonly name: "PendingMaxDebtRatioChange";
447
667
  readonly inputs: readonly [{
448
- readonly name: "prevGov";
668
+ readonly name: "vaultAddr";
449
669
  readonly type: "address";
450
670
  readonly indexed: true;
451
671
  }, {
452
- readonly name: "newGov";
672
+ readonly name: "ratio";
673
+ readonly type: "uint256";
674
+ readonly indexed: false;
675
+ }, {
676
+ readonly name: "confirmationBlock";
677
+ readonly type: "uint256";
678
+ readonly indexed: false;
679
+ }, {
680
+ readonly name: "actionId";
681
+ readonly type: "uint256";
682
+ readonly indexed: false;
683
+ }];
684
+ readonly anonymous: false;
685
+ readonly type: "event";
686
+ }, {
687
+ readonly name: "MaxDebtRatioSet";
688
+ readonly inputs: readonly [{
689
+ readonly name: "vaultAddr";
453
690
  readonly type: "address";
454
691
  readonly indexed: true;
455
692
  }, {
456
- readonly name: "timeLock";
693
+ readonly name: "ratio";
457
694
  readonly type: "uint256";
458
695
  readonly indexed: false;
459
696
  }];
460
697
  readonly anonymous: false;
461
698
  readonly type: "event";
462
699
  }, {
463
- readonly stateMutability: "view";
464
- readonly type: "function";
465
- readonly name: "getAddys";
466
- readonly inputs: readonly [];
467
- readonly outputs: readonly [{
700
+ readonly name: "PendingAddManagerChange";
701
+ readonly inputs: readonly [{
702
+ readonly name: "vaultAddr";
703
+ readonly type: "address";
704
+ readonly indexed: true;
705
+ }, {
706
+ readonly name: "manager";
707
+ readonly type: "address";
708
+ readonly indexed: true;
709
+ }, {
710
+ readonly name: "confirmationBlock";
711
+ readonly type: "uint256";
712
+ readonly indexed: false;
713
+ }, {
714
+ readonly name: "actionId";
715
+ readonly type: "uint256";
716
+ readonly indexed: false;
717
+ }];
718
+ readonly anonymous: false;
719
+ readonly type: "event";
720
+ }, {
721
+ readonly name: "ManagerAdded";
722
+ readonly inputs: readonly [{
723
+ readonly name: "vaultAddr";
724
+ readonly type: "address";
725
+ readonly indexed: true;
726
+ }, {
727
+ readonly name: "manager";
728
+ readonly type: "address";
729
+ readonly indexed: true;
730
+ }];
731
+ readonly anonymous: false;
732
+ readonly type: "event";
733
+ }, {
734
+ readonly name: "PendingRemoveManagerChange";
735
+ readonly inputs: readonly [{
736
+ readonly name: "vaultAddr";
737
+ readonly type: "address";
738
+ readonly indexed: true;
739
+ }, {
740
+ readonly name: "manager";
741
+ readonly type: "address";
742
+ readonly indexed: true;
743
+ }, {
744
+ readonly name: "confirmationBlock";
745
+ readonly type: "uint256";
746
+ readonly indexed: false;
747
+ }, {
748
+ readonly name: "actionId";
749
+ readonly type: "uint256";
750
+ readonly indexed: false;
751
+ }];
752
+ readonly anonymous: false;
753
+ readonly type: "event";
754
+ }, {
755
+ readonly name: "ManagerRemoved";
756
+ readonly inputs: readonly [{
757
+ readonly name: "vaultAddr";
758
+ readonly type: "address";
759
+ readonly indexed: true;
760
+ }, {
761
+ readonly name: "manager";
762
+ readonly type: "address";
763
+ readonly indexed: true;
764
+ }];
765
+ readonly anonymous: false;
766
+ readonly type: "event";
767
+ }, {
768
+ readonly name: "PriceSnapshotAdded";
769
+ readonly inputs: readonly [{
770
+ readonly name: "legoId";
771
+ readonly type: "uint256";
772
+ readonly indexed: true;
773
+ }, {
774
+ readonly name: "legoAddr";
775
+ readonly type: "address";
776
+ readonly indexed: true;
777
+ }, {
778
+ readonly name: "vaultToken";
779
+ readonly type: "address";
780
+ readonly indexed: true;
781
+ }, {
782
+ readonly name: "success";
783
+ readonly type: "bool";
784
+ readonly indexed: false;
785
+ }, {
786
+ readonly name: "caller";
787
+ readonly type: "address";
788
+ readonly indexed: false;
789
+ }];
790
+ readonly anonymous: false;
791
+ readonly type: "event";
792
+ }, {
793
+ readonly name: "YieldPositionUpdated";
794
+ readonly inputs: readonly [{
795
+ readonly name: "vaultAddr";
796
+ readonly type: "address";
797
+ readonly indexed: true;
798
+ }, {
799
+ readonly name: "vaultToken";
800
+ readonly type: "address";
801
+ readonly indexed: true;
802
+ }, {
803
+ readonly name: "caller";
804
+ readonly type: "address";
805
+ readonly indexed: false;
806
+ }];
807
+ readonly anonymous: false;
808
+ readonly type: "event";
809
+ }, {
810
+ readonly name: "PerformanceFeesClaimed";
811
+ readonly inputs: readonly [{
812
+ readonly name: "vaultAddr";
813
+ readonly type: "address";
814
+ readonly indexed: true;
815
+ }, {
816
+ readonly name: "amount";
817
+ readonly type: "uint256";
818
+ readonly indexed: false;
819
+ }, {
820
+ readonly name: "caller";
821
+ readonly type: "address";
822
+ readonly indexed: false;
823
+ }];
824
+ readonly anonymous: false;
825
+ readonly type: "event";
826
+ }, {
827
+ readonly name: "PendingRegisterVaultTokenOnLegoChange";
828
+ readonly inputs: readonly [{
829
+ readonly name: "legoId";
830
+ readonly type: "uint256";
831
+ readonly indexed: true;
832
+ }, {
833
+ readonly name: "asset";
834
+ readonly type: "address";
835
+ readonly indexed: true;
836
+ }, {
837
+ readonly name: "vaultToken";
838
+ readonly type: "address";
839
+ readonly indexed: true;
840
+ }, {
841
+ readonly name: "confirmationBlock";
842
+ readonly type: "uint256";
843
+ readonly indexed: false;
844
+ }, {
845
+ readonly name: "actionId";
846
+ readonly type: "uint256";
847
+ readonly indexed: false;
848
+ }];
849
+ readonly anonymous: false;
850
+ readonly type: "event";
851
+ }, {
852
+ readonly name: "VaultTokenRegisteredOnLego";
853
+ readonly inputs: readonly [{
854
+ readonly name: "legoId";
855
+ readonly type: "uint256";
856
+ readonly indexed: true;
857
+ }, {
858
+ readonly name: "legoAddr";
859
+ readonly type: "address";
860
+ readonly indexed: true;
861
+ }, {
862
+ readonly name: "asset";
863
+ readonly type: "address";
864
+ readonly indexed: true;
865
+ }, {
866
+ readonly name: "vaultToken";
867
+ readonly type: "address";
868
+ readonly indexed: false;
869
+ }];
870
+ readonly anonymous: false;
871
+ readonly type: "event";
872
+ }, {
873
+ readonly name: "VaultTokenDeregisteredOnLego";
874
+ readonly inputs: readonly [{
875
+ readonly name: "legoId";
876
+ readonly type: "uint256";
877
+ readonly indexed: true;
878
+ }, {
879
+ readonly name: "legoAddr";
880
+ readonly type: "address";
881
+ readonly indexed: true;
882
+ }, {
883
+ readonly name: "asset";
884
+ readonly type: "address";
885
+ readonly indexed: true;
886
+ }, {
887
+ readonly name: "vaultToken";
888
+ readonly type: "address";
889
+ readonly indexed: false;
890
+ }, {
891
+ readonly name: "caller";
892
+ readonly type: "address";
893
+ readonly indexed: false;
894
+ }];
895
+ readonly anonymous: false;
896
+ readonly type: "event";
897
+ }, {
898
+ readonly name: "PendingMorphoRewardsAddrChange";
899
+ readonly inputs: readonly [{
900
+ readonly name: "legoId";
901
+ readonly type: "uint256";
902
+ readonly indexed: true;
903
+ }, {
904
+ readonly name: "rewardsAddr";
905
+ readonly type: "address";
906
+ readonly indexed: true;
907
+ }, {
908
+ readonly name: "confirmationBlock";
909
+ readonly type: "uint256";
910
+ readonly indexed: false;
911
+ }, {
912
+ readonly name: "actionId";
913
+ readonly type: "uint256";
914
+ readonly indexed: false;
915
+ }];
916
+ readonly anonymous: false;
917
+ readonly type: "event";
918
+ }, {
919
+ readonly name: "MorphoRewardsAddrSet";
920
+ readonly inputs: readonly [{
921
+ readonly name: "legoId";
922
+ readonly type: "uint256";
923
+ readonly indexed: true;
924
+ }, {
925
+ readonly name: "legoAddr";
926
+ readonly type: "address";
927
+ readonly indexed: true;
928
+ }, {
929
+ readonly name: "rewardsAddr";
930
+ readonly type: "address";
931
+ readonly indexed: true;
932
+ }];
933
+ readonly anonymous: false;
934
+ readonly type: "event";
935
+ }, {
936
+ readonly name: "PendingEulerRewardsAddrChange";
937
+ readonly inputs: readonly [{
938
+ readonly name: "legoId";
939
+ readonly type: "uint256";
940
+ readonly indexed: true;
941
+ }, {
942
+ readonly name: "rewardsAddr";
943
+ readonly type: "address";
944
+ readonly indexed: true;
945
+ }, {
946
+ readonly name: "confirmationBlock";
947
+ readonly type: "uint256";
948
+ readonly indexed: false;
949
+ }, {
950
+ readonly name: "actionId";
951
+ readonly type: "uint256";
952
+ readonly indexed: false;
953
+ }];
954
+ readonly anonymous: false;
955
+ readonly type: "event";
956
+ }, {
957
+ readonly name: "EulerRewardsAddrSet";
958
+ readonly inputs: readonly [{
959
+ readonly name: "legoId";
960
+ readonly type: "uint256";
961
+ readonly indexed: true;
962
+ }, {
963
+ readonly name: "legoAddr";
964
+ readonly type: "address";
965
+ readonly indexed: true;
966
+ }, {
967
+ readonly name: "rewardsAddr";
968
+ readonly type: "address";
969
+ readonly indexed: true;
970
+ }];
971
+ readonly anonymous: false;
972
+ readonly type: "event";
973
+ }, {
974
+ readonly name: "PendingCompRewardsAddrChange";
975
+ readonly inputs: readonly [{
976
+ readonly name: "legoId";
977
+ readonly type: "uint256";
978
+ readonly indexed: true;
979
+ }, {
980
+ readonly name: "rewardsAddr";
981
+ readonly type: "address";
982
+ readonly indexed: true;
983
+ }, {
984
+ readonly name: "confirmationBlock";
985
+ readonly type: "uint256";
986
+ readonly indexed: false;
987
+ }, {
988
+ readonly name: "actionId";
989
+ readonly type: "uint256";
990
+ readonly indexed: false;
991
+ }];
992
+ readonly anonymous: false;
993
+ readonly type: "event";
994
+ }, {
995
+ readonly name: "CompRewardsAddrSet";
996
+ readonly inputs: readonly [{
997
+ readonly name: "legoId";
998
+ readonly type: "uint256";
999
+ readonly indexed: true;
1000
+ }, {
1001
+ readonly name: "legoAddr";
1002
+ readonly type: "address";
1003
+ readonly indexed: true;
1004
+ }, {
1005
+ readonly name: "rewardsAddr";
1006
+ readonly type: "address";
1007
+ readonly indexed: true;
1008
+ }];
1009
+ readonly anonymous: false;
1010
+ readonly type: "event";
1011
+ }, {
1012
+ readonly name: "LeftoversSwept";
1013
+ readonly inputs: readonly [{
1014
+ readonly name: "vaultAddr";
1015
+ readonly type: "address";
1016
+ readonly indexed: true;
1017
+ }, {
1018
+ readonly name: "amount";
1019
+ readonly type: "uint256";
1020
+ readonly indexed: false;
1021
+ }, {
1022
+ readonly name: "caller";
1023
+ readonly type: "address";
1024
+ readonly indexed: false;
1025
+ }];
1026
+ readonly anonymous: false;
1027
+ readonly type: "event";
1028
+ }, {
1029
+ readonly name: "GovChangeTimeLockModified";
1030
+ readonly inputs: readonly [{
1031
+ readonly name: "prevTimeLock";
1032
+ readonly type: "uint256";
1033
+ readonly indexed: false;
1034
+ }, {
1035
+ readonly name: "newTimeLock";
1036
+ readonly type: "uint256";
1037
+ readonly indexed: false;
1038
+ }];
1039
+ readonly anonymous: false;
1040
+ readonly type: "event";
1041
+ }, {
1042
+ readonly name: "ExpirationSet";
1043
+ readonly inputs: readonly [{
1044
+ readonly name: "expiration";
1045
+ readonly type: "uint256";
1046
+ readonly indexed: false;
1047
+ }];
1048
+ readonly anonymous: false;
1049
+ readonly type: "event";
1050
+ }, {
1051
+ readonly name: "ActionTimeLockSet";
1052
+ readonly inputs: readonly [{
1053
+ readonly name: "newTimeLock";
1054
+ readonly type: "uint256";
1055
+ readonly indexed: false;
1056
+ }, {
1057
+ readonly name: "prevTimeLock";
1058
+ readonly type: "uint256";
1059
+ readonly indexed: false;
1060
+ }];
1061
+ readonly anonymous: false;
1062
+ readonly type: "event";
1063
+ }, {
1064
+ readonly name: "GovChangeStarted";
1065
+ readonly inputs: readonly [{
1066
+ readonly name: "prevGov";
1067
+ readonly type: "address";
1068
+ readonly indexed: true;
1069
+ }, {
1070
+ readonly name: "newGov";
1071
+ readonly type: "address";
1072
+ readonly indexed: true;
1073
+ }, {
1074
+ readonly name: "confirmBlock";
1075
+ readonly type: "uint256";
1076
+ readonly indexed: false;
1077
+ }];
1078
+ readonly anonymous: false;
1079
+ readonly type: "event";
1080
+ }, {
1081
+ readonly name: "GovChangeConfirmed";
1082
+ readonly inputs: readonly [{
1083
+ readonly name: "prevGov";
1084
+ readonly type: "address";
1085
+ readonly indexed: true;
1086
+ }, {
1087
+ readonly name: "newGov";
1088
+ readonly type: "address";
1089
+ readonly indexed: true;
1090
+ }, {
1091
+ readonly name: "initiatedBlock";
1092
+ readonly type: "uint256";
1093
+ readonly indexed: false;
1094
+ }, {
1095
+ readonly name: "confirmBlock";
1096
+ readonly type: "uint256";
1097
+ readonly indexed: false;
1098
+ }];
1099
+ readonly anonymous: false;
1100
+ readonly type: "event";
1101
+ }, {
1102
+ readonly name: "GovChangeCancelled";
1103
+ readonly inputs: readonly [{
1104
+ readonly name: "cancelledGov";
1105
+ readonly type: "address";
1106
+ readonly indexed: true;
1107
+ }, {
1108
+ readonly name: "initiatedBlock";
1109
+ readonly type: "uint256";
1110
+ readonly indexed: false;
1111
+ }, {
1112
+ readonly name: "confirmBlock";
1113
+ readonly type: "uint256";
1114
+ readonly indexed: false;
1115
+ }];
1116
+ readonly anonymous: false;
1117
+ readonly type: "event";
1118
+ }, {
1119
+ readonly name: "GovRelinquished";
1120
+ readonly inputs: readonly [{
1121
+ readonly name: "prevGov";
1122
+ readonly type: "address";
1123
+ readonly indexed: true;
1124
+ }];
1125
+ readonly anonymous: false;
1126
+ readonly type: "event";
1127
+ }, {
1128
+ readonly name: "UndyHqSetupFinished";
1129
+ readonly inputs: readonly [{
1130
+ readonly name: "prevGov";
1131
+ readonly type: "address";
1132
+ readonly indexed: true;
1133
+ }, {
1134
+ readonly name: "newGov";
1135
+ readonly type: "address";
1136
+ readonly indexed: true;
1137
+ }, {
1138
+ readonly name: "timeLock";
1139
+ readonly type: "uint256";
1140
+ readonly indexed: false;
1141
+ }];
1142
+ readonly anonymous: false;
1143
+ readonly type: "event";
1144
+ }, {
1145
+ readonly stateMutability: "view";
1146
+ readonly type: "function";
1147
+ readonly name: "getAddys";
1148
+ readonly inputs: readonly [];
1149
+ readonly outputs: readonly [{
468
1150
  readonly name: "";
469
1151
  readonly type: "tuple";
470
1152
  readonly components: readonly [{
@@ -492,132 +1174,647 @@ export declare const abi: readonly [{
492
1174
  readonly name: "lootDistributor";
493
1175
  readonly type: "address";
494
1176
  }, {
495
- readonly name: "appraiser";
496
- readonly type: "address";
1177
+ readonly name: "appraiser";
1178
+ readonly type: "address";
1179
+ }, {
1180
+ readonly name: "walletBackpack";
1181
+ readonly type: "address";
1182
+ }, {
1183
+ readonly name: "billing";
1184
+ readonly type: "address";
1185
+ }, {
1186
+ readonly name: "vaultRegistry";
1187
+ readonly type: "address";
1188
+ }];
1189
+ }];
1190
+ }, {
1191
+ readonly stateMutability: "view";
1192
+ readonly type: "function";
1193
+ readonly name: "getUndyHq";
1194
+ readonly inputs: readonly [];
1195
+ readonly outputs: readonly [{
1196
+ readonly name: "";
1197
+ readonly type: "address";
1198
+ }];
1199
+ }, {
1200
+ readonly stateMutability: "view";
1201
+ readonly type: "function";
1202
+ readonly name: "getUndyHqFromGov";
1203
+ readonly inputs: readonly [];
1204
+ readonly outputs: readonly [{
1205
+ readonly name: "";
1206
+ readonly type: "address";
1207
+ }];
1208
+ }, {
1209
+ readonly stateMutability: "view";
1210
+ readonly type: "function";
1211
+ readonly name: "canGovern";
1212
+ readonly inputs: readonly [{
1213
+ readonly name: "_addr";
1214
+ readonly type: "address";
1215
+ }];
1216
+ readonly outputs: readonly [{
1217
+ readonly name: "";
1218
+ readonly type: "bool";
1219
+ }];
1220
+ }, {
1221
+ readonly stateMutability: "view";
1222
+ readonly type: "function";
1223
+ readonly name: "getGovernors";
1224
+ readonly inputs: readonly [];
1225
+ readonly outputs: readonly [{
1226
+ readonly name: "";
1227
+ readonly type: "address[]";
1228
+ }];
1229
+ }, {
1230
+ readonly stateMutability: "view";
1231
+ readonly type: "function";
1232
+ readonly name: "hasPendingGovChange";
1233
+ readonly inputs: readonly [];
1234
+ readonly outputs: readonly [{
1235
+ readonly name: "";
1236
+ readonly type: "bool";
1237
+ }];
1238
+ }, {
1239
+ readonly stateMutability: "nonpayable";
1240
+ readonly type: "function";
1241
+ readonly name: "startGovernanceChange";
1242
+ readonly inputs: readonly [{
1243
+ readonly name: "_newGov";
1244
+ readonly type: "address";
1245
+ }];
1246
+ readonly outputs: readonly [];
1247
+ }, {
1248
+ readonly stateMutability: "nonpayable";
1249
+ readonly type: "function";
1250
+ readonly name: "confirmGovernanceChange";
1251
+ readonly inputs: readonly [];
1252
+ readonly outputs: readonly [];
1253
+ }, {
1254
+ readonly stateMutability: "nonpayable";
1255
+ readonly type: "function";
1256
+ readonly name: "cancelGovernanceChange";
1257
+ readonly inputs: readonly [];
1258
+ readonly outputs: readonly [];
1259
+ }, {
1260
+ readonly stateMutability: "nonpayable";
1261
+ readonly type: "function";
1262
+ readonly name: "relinquishGov";
1263
+ readonly inputs: readonly [];
1264
+ readonly outputs: readonly [];
1265
+ }, {
1266
+ readonly stateMutability: "nonpayable";
1267
+ readonly type: "function";
1268
+ readonly name: "setGovTimeLock";
1269
+ readonly inputs: readonly [{
1270
+ readonly name: "_numBlocks";
1271
+ readonly type: "uint256";
1272
+ }];
1273
+ readonly outputs: readonly [{
1274
+ readonly name: "";
1275
+ readonly type: "bool";
1276
+ }];
1277
+ }, {
1278
+ readonly stateMutability: "view";
1279
+ readonly type: "function";
1280
+ readonly name: "isValidGovTimeLock";
1281
+ readonly inputs: readonly [{
1282
+ readonly name: "_newTimeLock";
1283
+ readonly type: "uint256";
1284
+ }];
1285
+ readonly outputs: readonly [{
1286
+ readonly name: "";
1287
+ readonly type: "bool";
1288
+ }];
1289
+ }, {
1290
+ readonly stateMutability: "view";
1291
+ readonly type: "function";
1292
+ readonly name: "minGovChangeTimeLock";
1293
+ readonly inputs: readonly [];
1294
+ readonly outputs: readonly [{
1295
+ readonly name: "";
1296
+ readonly type: "uint256";
1297
+ }];
1298
+ }, {
1299
+ readonly stateMutability: "view";
1300
+ readonly type: "function";
1301
+ readonly name: "maxGovChangeTimeLock";
1302
+ readonly inputs: readonly [];
1303
+ readonly outputs: readonly [{
1304
+ readonly name: "";
1305
+ readonly type: "uint256";
1306
+ }];
1307
+ }, {
1308
+ readonly stateMutability: "nonpayable";
1309
+ readonly type: "function";
1310
+ readonly name: "finishUndyHqSetup";
1311
+ readonly inputs: readonly [{
1312
+ readonly name: "_newGov";
1313
+ readonly type: "address";
1314
+ }];
1315
+ readonly outputs: readonly [{
1316
+ readonly name: "";
1317
+ readonly type: "bool";
1318
+ }];
1319
+ }, {
1320
+ readonly stateMutability: "nonpayable";
1321
+ readonly type: "function";
1322
+ readonly name: "finishUndyHqSetup";
1323
+ readonly inputs: readonly [{
1324
+ readonly name: "_newGov";
1325
+ readonly type: "address";
1326
+ }, {
1327
+ readonly name: "_timeLock";
1328
+ readonly type: "uint256";
1329
+ }];
1330
+ readonly outputs: readonly [{
1331
+ readonly name: "";
1332
+ readonly type: "bool";
1333
+ }];
1334
+ }, {
1335
+ readonly stateMutability: "view";
1336
+ readonly type: "function";
1337
+ readonly name: "governance";
1338
+ readonly inputs: readonly [];
1339
+ readonly outputs: readonly [{
1340
+ readonly name: "";
1341
+ readonly type: "address";
1342
+ }];
1343
+ }, {
1344
+ readonly stateMutability: "view";
1345
+ readonly type: "function";
1346
+ readonly name: "pendingGov";
1347
+ readonly inputs: readonly [];
1348
+ readonly outputs: readonly [{
1349
+ readonly name: "";
1350
+ readonly type: "tuple";
1351
+ readonly components: readonly [{
1352
+ readonly name: "newGov";
1353
+ readonly type: "address";
1354
+ }, {
1355
+ readonly name: "initiatedBlock";
1356
+ readonly type: "uint256";
497
1357
  }, {
498
- readonly name: "walletBackpack";
499
- readonly type: "address";
1358
+ readonly name: "confirmBlock";
1359
+ readonly type: "uint256";
1360
+ }];
1361
+ }];
1362
+ }, {
1363
+ readonly stateMutability: "view";
1364
+ readonly type: "function";
1365
+ readonly name: "numGovChanges";
1366
+ readonly inputs: readonly [];
1367
+ readonly outputs: readonly [{
1368
+ readonly name: "";
1369
+ readonly type: "uint256";
1370
+ }];
1371
+ }, {
1372
+ readonly stateMutability: "view";
1373
+ readonly type: "function";
1374
+ readonly name: "govChangeTimeLock";
1375
+ readonly inputs: readonly [];
1376
+ readonly outputs: readonly [{
1377
+ readonly name: "";
1378
+ readonly type: "uint256";
1379
+ }];
1380
+ }, {
1381
+ readonly stateMutability: "view";
1382
+ readonly type: "function";
1383
+ readonly name: "canConfirmAction";
1384
+ readonly inputs: readonly [{
1385
+ readonly name: "_actionId";
1386
+ readonly type: "uint256";
1387
+ }];
1388
+ readonly outputs: readonly [{
1389
+ readonly name: "";
1390
+ readonly type: "bool";
1391
+ }];
1392
+ }, {
1393
+ readonly stateMutability: "view";
1394
+ readonly type: "function";
1395
+ readonly name: "isExpired";
1396
+ readonly inputs: readonly [{
1397
+ readonly name: "_actionId";
1398
+ readonly type: "uint256";
1399
+ }];
1400
+ readonly outputs: readonly [{
1401
+ readonly name: "";
1402
+ readonly type: "bool";
1403
+ }];
1404
+ }, {
1405
+ readonly stateMutability: "view";
1406
+ readonly type: "function";
1407
+ readonly name: "hasPendingAction";
1408
+ readonly inputs: readonly [{
1409
+ readonly name: "_actionId";
1410
+ readonly type: "uint256";
1411
+ }];
1412
+ readonly outputs: readonly [{
1413
+ readonly name: "";
1414
+ readonly type: "bool";
1415
+ }];
1416
+ }, {
1417
+ readonly stateMutability: "view";
1418
+ readonly type: "function";
1419
+ readonly name: "getActionConfirmationBlock";
1420
+ readonly inputs: readonly [{
1421
+ readonly name: "_actionId";
1422
+ readonly type: "uint256";
1423
+ }];
1424
+ readonly outputs: readonly [{
1425
+ readonly name: "";
1426
+ readonly type: "uint256";
1427
+ }];
1428
+ }, {
1429
+ readonly stateMutability: "nonpayable";
1430
+ readonly type: "function";
1431
+ readonly name: "setActionTimeLock";
1432
+ readonly inputs: readonly [{
1433
+ readonly name: "_newTimeLock";
1434
+ readonly type: "uint256";
1435
+ }];
1436
+ readonly outputs: readonly [{
1437
+ readonly name: "";
1438
+ readonly type: "bool";
1439
+ }];
1440
+ }, {
1441
+ readonly stateMutability: "view";
1442
+ readonly type: "function";
1443
+ readonly name: "isValidActionTimeLock";
1444
+ readonly inputs: readonly [{
1445
+ readonly name: "_newTimeLock";
1446
+ readonly type: "uint256";
1447
+ }];
1448
+ readonly outputs: readonly [{
1449
+ readonly name: "";
1450
+ readonly type: "bool";
1451
+ }];
1452
+ }, {
1453
+ readonly stateMutability: "view";
1454
+ readonly type: "function";
1455
+ readonly name: "minActionTimeLock";
1456
+ readonly inputs: readonly [];
1457
+ readonly outputs: readonly [{
1458
+ readonly name: "";
1459
+ readonly type: "uint256";
1460
+ }];
1461
+ }, {
1462
+ readonly stateMutability: "view";
1463
+ readonly type: "function";
1464
+ readonly name: "maxActionTimeLock";
1465
+ readonly inputs: readonly [];
1466
+ readonly outputs: readonly [{
1467
+ readonly name: "";
1468
+ readonly type: "uint256";
1469
+ }];
1470
+ }, {
1471
+ readonly stateMutability: "nonpayable";
1472
+ readonly type: "function";
1473
+ readonly name: "setExpiration";
1474
+ readonly inputs: readonly [{
1475
+ readonly name: "_expiration";
1476
+ readonly type: "uint256";
1477
+ }];
1478
+ readonly outputs: readonly [{
1479
+ readonly name: "";
1480
+ readonly type: "bool";
1481
+ }];
1482
+ }, {
1483
+ readonly stateMutability: "nonpayable";
1484
+ readonly type: "function";
1485
+ readonly name: "setActionTimeLockAfterSetup";
1486
+ readonly inputs: readonly [];
1487
+ readonly outputs: readonly [{
1488
+ readonly name: "";
1489
+ readonly type: "bool";
1490
+ }];
1491
+ }, {
1492
+ readonly stateMutability: "nonpayable";
1493
+ readonly type: "function";
1494
+ readonly name: "setActionTimeLockAfterSetup";
1495
+ readonly inputs: readonly [{
1496
+ readonly name: "_newTimeLock";
1497
+ readonly type: "uint256";
1498
+ }];
1499
+ readonly outputs: readonly [{
1500
+ readonly name: "";
1501
+ readonly type: "bool";
1502
+ }];
1503
+ }, {
1504
+ readonly stateMutability: "view";
1505
+ readonly type: "function";
1506
+ readonly name: "pendingActions";
1507
+ readonly inputs: readonly [{
1508
+ readonly name: "arg0";
1509
+ readonly type: "uint256";
1510
+ }];
1511
+ readonly outputs: readonly [{
1512
+ readonly name: "";
1513
+ readonly type: "tuple";
1514
+ readonly components: readonly [{
1515
+ readonly name: "initiatedBlock";
1516
+ readonly type: "uint256";
500
1517
  }, {
501
- readonly name: "billing";
502
- readonly type: "address";
1518
+ readonly name: "confirmBlock";
1519
+ readonly type: "uint256";
503
1520
  }, {
504
- readonly name: "vaultRegistry";
505
- readonly type: "address";
1521
+ readonly name: "expiration";
1522
+ readonly type: "uint256";
506
1523
  }];
507
1524
  }];
508
1525
  }, {
509
- readonly stateMutability: "view";
1526
+ readonly stateMutability: "view";
1527
+ readonly type: "function";
1528
+ readonly name: "actionId";
1529
+ readonly inputs: readonly [];
1530
+ readonly outputs: readonly [{
1531
+ readonly name: "";
1532
+ readonly type: "uint256";
1533
+ }];
1534
+ }, {
1535
+ readonly stateMutability: "view";
1536
+ readonly type: "function";
1537
+ readonly name: "actionTimeLock";
1538
+ readonly inputs: readonly [];
1539
+ readonly outputs: readonly [{
1540
+ readonly name: "";
1541
+ readonly type: "uint256";
1542
+ }];
1543
+ }, {
1544
+ readonly stateMutability: "view";
1545
+ readonly type: "function";
1546
+ readonly name: "expiration";
1547
+ readonly inputs: readonly [];
1548
+ readonly outputs: readonly [{
1549
+ readonly name: "";
1550
+ readonly type: "uint256";
1551
+ }];
1552
+ }, {
1553
+ readonly stateMutability: "nonpayable";
1554
+ readonly type: "function";
1555
+ readonly name: "setCanDeposit";
1556
+ readonly inputs: readonly [{
1557
+ readonly name: "_vaultAddr";
1558
+ readonly type: "address";
1559
+ }, {
1560
+ readonly name: "_canDeposit";
1561
+ readonly type: "bool";
1562
+ }];
1563
+ readonly outputs: readonly [];
1564
+ }, {
1565
+ readonly stateMutability: "nonpayable";
1566
+ readonly type: "function";
1567
+ readonly name: "setCanWithdraw";
1568
+ readonly inputs: readonly [{
1569
+ readonly name: "_vaultAddr";
1570
+ readonly type: "address";
1571
+ }, {
1572
+ readonly name: "_canWithdraw";
1573
+ readonly type: "bool";
1574
+ }];
1575
+ readonly outputs: readonly [];
1576
+ }, {
1577
+ readonly stateMutability: "nonpayable";
1578
+ readonly type: "function";
1579
+ readonly name: "setVaultOpsFrozen";
1580
+ readonly inputs: readonly [{
1581
+ readonly name: "_vaultAddr";
1582
+ readonly type: "address";
1583
+ }, {
1584
+ readonly name: "_isFrozen";
1585
+ readonly type: "bool";
1586
+ }];
1587
+ readonly outputs: readonly [];
1588
+ }, {
1589
+ readonly stateMutability: "nonpayable";
1590
+ readonly type: "function";
1591
+ readonly name: "setShouldAutoDeposit";
1592
+ readonly inputs: readonly [{
1593
+ readonly name: "_vaultAddr";
1594
+ readonly type: "address";
1595
+ }, {
1596
+ readonly name: "_shouldAutoDeposit";
1597
+ readonly type: "bool";
1598
+ }];
1599
+ readonly outputs: readonly [];
1600
+ }, {
1601
+ readonly stateMutability: "nonpayable";
510
1602
  readonly type: "function";
511
- readonly name: "getUndyHq";
512
- readonly inputs: readonly [];
513
- readonly outputs: readonly [{
514
- readonly name: "";
1603
+ readonly name: "setShouldEnforceAllowlist";
1604
+ readonly inputs: readonly [{
1605
+ readonly name: "_vaultAddr";
515
1606
  readonly type: "address";
1607
+ }, {
1608
+ readonly name: "_shouldEnforce";
1609
+ readonly type: "bool";
516
1610
  }];
1611
+ readonly outputs: readonly [];
517
1612
  }, {
518
- readonly stateMutability: "view";
1613
+ readonly stateMutability: "nonpayable";
519
1614
  readonly type: "function";
520
- readonly name: "getUndyHqFromGov";
521
- readonly inputs: readonly [];
522
- readonly outputs: readonly [{
523
- readonly name: "";
1615
+ readonly name: "setAllowed";
1616
+ readonly inputs: readonly [{
1617
+ readonly name: "_vaultAddr";
1618
+ readonly type: "address";
1619
+ }, {
1620
+ readonly name: "_user";
524
1621
  readonly type: "address";
1622
+ }, {
1623
+ readonly name: "_isAllowed";
1624
+ readonly type: "bool";
525
1625
  }];
1626
+ readonly outputs: readonly [];
526
1627
  }, {
527
- readonly stateMutability: "view";
1628
+ readonly stateMutability: "nonpayable";
528
1629
  readonly type: "function";
529
- readonly name: "canGovern";
1630
+ readonly name: "setAllowedBatch";
530
1631
  readonly inputs: readonly [{
531
- readonly name: "_addr";
1632
+ readonly name: "_vaultAddr";
532
1633
  readonly type: "address";
533
- }];
534
- readonly outputs: readonly [{
535
- readonly name: "";
1634
+ }, {
1635
+ readonly name: "_users";
1636
+ readonly type: "address[]";
1637
+ }, {
1638
+ readonly name: "_isAllowed";
536
1639
  readonly type: "bool";
537
1640
  }];
1641
+ readonly outputs: readonly [];
538
1642
  }, {
539
- readonly stateMutability: "view";
1643
+ readonly stateMutability: "nonpayable";
540
1644
  readonly type: "function";
541
- readonly name: "getGovernors";
542
- readonly inputs: readonly [];
1645
+ readonly name: "addPriceSnapshot";
1646
+ readonly inputs: readonly [{
1647
+ readonly name: "_legoId";
1648
+ readonly type: "uint256";
1649
+ }, {
1650
+ readonly name: "_vaultToken";
1651
+ readonly type: "address";
1652
+ }];
543
1653
  readonly outputs: readonly [{
544
1654
  readonly name: "";
545
- readonly type: "address[]";
1655
+ readonly type: "bool";
546
1656
  }];
547
1657
  }, {
548
- readonly stateMutability: "view";
1658
+ readonly stateMutability: "nonpayable";
549
1659
  readonly type: "function";
550
- readonly name: "hasPendingGovChange";
551
- readonly inputs: readonly [];
1660
+ readonly name: "deregisterVaultTokenOnLego";
1661
+ readonly inputs: readonly [{
1662
+ readonly name: "_legoId";
1663
+ readonly type: "uint256";
1664
+ }, {
1665
+ readonly name: "_asset";
1666
+ readonly type: "address";
1667
+ }, {
1668
+ readonly name: "_vaultToken";
1669
+ readonly type: "address";
1670
+ }];
552
1671
  readonly outputs: readonly [{
553
1672
  readonly name: "";
554
- readonly type: "bool";
1673
+ readonly type: "uint256";
555
1674
  }];
556
1675
  }, {
557
1676
  readonly stateMutability: "nonpayable";
558
1677
  readonly type: "function";
559
- readonly name: "startGovernanceChange";
1678
+ readonly name: "updateYieldPosition";
560
1679
  readonly inputs: readonly [{
561
- readonly name: "_newGov";
1680
+ readonly name: "_vaultAddr";
1681
+ readonly type: "address";
1682
+ }, {
1683
+ readonly name: "_vaultToken";
562
1684
  readonly type: "address";
563
1685
  }];
564
1686
  readonly outputs: readonly [];
565
1687
  }, {
566
1688
  readonly stateMutability: "nonpayable";
567
1689
  readonly type: "function";
568
- readonly name: "confirmGovernanceChange";
569
- readonly inputs: readonly [];
570
- readonly outputs: readonly [];
1690
+ readonly name: "claimPerformanceFees";
1691
+ readonly inputs: readonly [{
1692
+ readonly name: "_vaultAddr";
1693
+ readonly type: "address";
1694
+ }];
1695
+ readonly outputs: readonly [{
1696
+ readonly name: "";
1697
+ readonly type: "uint256";
1698
+ }];
571
1699
  }, {
572
1700
  readonly stateMutability: "nonpayable";
573
1701
  readonly type: "function";
574
- readonly name: "cancelGovernanceChange";
575
- readonly inputs: readonly [];
576
- readonly outputs: readonly [];
1702
+ readonly name: "sweepLeftovers";
1703
+ readonly inputs: readonly [{
1704
+ readonly name: "_vaultAddr";
1705
+ readonly type: "address";
1706
+ }];
1707
+ readonly outputs: readonly [{
1708
+ readonly name: "";
1709
+ readonly type: "uint256";
1710
+ }];
577
1711
  }, {
578
1712
  readonly stateMutability: "nonpayable";
579
1713
  readonly type: "function";
580
- readonly name: "relinquishGov";
581
- readonly inputs: readonly [];
582
- readonly outputs: readonly [];
1714
+ readonly name: "setRedemptionBuffer";
1715
+ readonly inputs: readonly [{
1716
+ readonly name: "_vaultAddr";
1717
+ readonly type: "address";
1718
+ }, {
1719
+ readonly name: "_buffer";
1720
+ readonly type: "uint256";
1721
+ }];
1722
+ readonly outputs: readonly [{
1723
+ readonly name: "";
1724
+ readonly type: "uint256";
1725
+ }];
583
1726
  }, {
584
1727
  readonly stateMutability: "nonpayable";
585
1728
  readonly type: "function";
586
- readonly name: "setGovTimeLock";
1729
+ readonly name: "setMinYieldWithdrawAmount";
587
1730
  readonly inputs: readonly [{
588
- readonly name: "_numBlocks";
1731
+ readonly name: "_vaultAddr";
1732
+ readonly type: "address";
1733
+ }, {
1734
+ readonly name: "_amount";
589
1735
  readonly type: "uint256";
590
1736
  }];
591
1737
  readonly outputs: readonly [{
592
1738
  readonly name: "";
593
- readonly type: "bool";
1739
+ readonly type: "uint256";
594
1740
  }];
595
1741
  }, {
596
- readonly stateMutability: "view";
1742
+ readonly stateMutability: "nonpayable";
597
1743
  readonly type: "function";
598
- readonly name: "isValidGovTimeLock";
1744
+ readonly name: "setSnapShotPriceConfig";
599
1745
  readonly inputs: readonly [{
600
- readonly name: "_newTimeLock";
1746
+ readonly name: "_legoId";
1747
+ readonly type: "uint256";
1748
+ }, {
1749
+ readonly name: "_minSnapshotDelay";
1750
+ readonly type: "uint256";
1751
+ }, {
1752
+ readonly name: "_maxNumSnapshots";
1753
+ readonly type: "uint256";
1754
+ }, {
1755
+ readonly name: "_maxUpsideDeviation";
1756
+ readonly type: "uint256";
1757
+ }, {
1758
+ readonly name: "_staleTime";
601
1759
  readonly type: "uint256";
602
1760
  }];
603
1761
  readonly outputs: readonly [{
604
1762
  readonly name: "";
1763
+ readonly type: "uint256";
1764
+ }];
1765
+ }, {
1766
+ readonly stateMutability: "nonpayable";
1767
+ readonly type: "function";
1768
+ readonly name: "setApprovedVaultToken";
1769
+ readonly inputs: readonly [{
1770
+ readonly name: "_undyVaultAddr";
1771
+ readonly type: "address";
1772
+ }, {
1773
+ readonly name: "_vaultToken";
1774
+ readonly type: "address";
1775
+ }, {
1776
+ readonly name: "_isApproved";
1777
+ readonly type: "bool";
1778
+ }, {
1779
+ readonly name: "_shouldMaxWithdraw";
605
1780
  readonly type: "bool";
606
1781
  }];
1782
+ readonly outputs: readonly [{
1783
+ readonly name: "";
1784
+ readonly type: "uint256";
1785
+ }];
607
1786
  }, {
608
- readonly stateMutability: "view";
1787
+ readonly stateMutability: "nonpayable";
609
1788
  readonly type: "function";
610
- readonly name: "minGovChangeTimeLock";
611
- readonly inputs: readonly [];
1789
+ readonly name: "setApprovedVaultTokens";
1790
+ readonly inputs: readonly [{
1791
+ readonly name: "_undyVaultAddr";
1792
+ readonly type: "address";
1793
+ }, {
1794
+ readonly name: "_vaultTokens";
1795
+ readonly type: "address[]";
1796
+ }, {
1797
+ readonly name: "_isApproved";
1798
+ readonly type: "bool";
1799
+ }, {
1800
+ readonly name: "_shouldMaxWithdraw";
1801
+ readonly type: "bool";
1802
+ }];
612
1803
  readonly outputs: readonly [{
613
1804
  readonly name: "";
614
1805
  readonly type: "uint256";
615
1806
  }];
616
1807
  }, {
617
- readonly stateMutability: "view";
1808
+ readonly stateMutability: "nonpayable";
618
1809
  readonly type: "function";
619
- readonly name: "maxGovChangeTimeLock";
620
- readonly inputs: readonly [];
1810
+ readonly name: "setPerformanceFee";
1811
+ readonly inputs: readonly [{
1812
+ readonly name: "_vaultAddr";
1813
+ readonly type: "address";
1814
+ }, {
1815
+ readonly name: "_performanceFee";
1816
+ readonly type: "uint256";
1817
+ }];
621
1818
  readonly outputs: readonly [{
622
1819
  readonly name: "";
623
1820
  readonly type: "uint256";
@@ -625,119 +1822,169 @@ export declare const abi: readonly [{
625
1822
  }, {
626
1823
  readonly stateMutability: "nonpayable";
627
1824
  readonly type: "function";
628
- readonly name: "finishUndyHqSetup";
1825
+ readonly name: "setDefaultTargetVaultToken";
629
1826
  readonly inputs: readonly [{
630
- readonly name: "_newGov";
1827
+ readonly name: "_vaultAddr";
1828
+ readonly type: "address";
1829
+ }, {
1830
+ readonly name: "_targetVaultToken";
631
1831
  readonly type: "address";
632
1832
  }];
633
1833
  readonly outputs: readonly [{
634
1834
  readonly name: "";
635
- readonly type: "bool";
1835
+ readonly type: "uint256";
636
1836
  }];
637
1837
  }, {
638
1838
  readonly stateMutability: "nonpayable";
639
1839
  readonly type: "function";
640
- readonly name: "finishUndyHqSetup";
1840
+ readonly name: "setMaxDepositAmount";
641
1841
  readonly inputs: readonly [{
642
- readonly name: "_newGov";
1842
+ readonly name: "_vaultAddr";
643
1843
  readonly type: "address";
644
1844
  }, {
645
- readonly name: "_timeLock";
1845
+ readonly name: "_maxDepositAmount";
646
1846
  readonly type: "uint256";
647
1847
  }];
648
1848
  readonly outputs: readonly [{
649
1849
  readonly name: "";
650
- readonly type: "bool";
1850
+ readonly type: "uint256";
651
1851
  }];
652
1852
  }, {
653
- readonly stateMutability: "view";
1853
+ readonly stateMutability: "nonpayable";
654
1854
  readonly type: "function";
655
- readonly name: "governance";
656
- readonly inputs: readonly [];
1855
+ readonly name: "setIsLeveragedVault";
1856
+ readonly inputs: readonly [{
1857
+ readonly name: "_vaultAddr";
1858
+ readonly type: "address";
1859
+ }, {
1860
+ readonly name: "_isLeveragedVault";
1861
+ readonly type: "bool";
1862
+ }];
657
1863
  readonly outputs: readonly [{
658
1864
  readonly name: "";
659
- readonly type: "address";
1865
+ readonly type: "uint256";
660
1866
  }];
661
1867
  }, {
662
- readonly stateMutability: "view";
1868
+ readonly stateMutability: "nonpayable";
663
1869
  readonly type: "function";
664
- readonly name: "pendingGov";
665
- readonly inputs: readonly [];
1870
+ readonly name: "setCollateralVault";
1871
+ readonly inputs: readonly [{
1872
+ readonly name: "_vaultAddr";
1873
+ readonly type: "address";
1874
+ }, {
1875
+ readonly name: "_vaultToken";
1876
+ readonly type: "address";
1877
+ }, {
1878
+ readonly name: "_legoId";
1879
+ readonly type: "uint256";
1880
+ }, {
1881
+ readonly name: "_ripeVaultId";
1882
+ readonly type: "uint256";
1883
+ }, {
1884
+ readonly name: "_shouldMaxWithdraw";
1885
+ readonly type: "bool";
1886
+ }];
666
1887
  readonly outputs: readonly [{
667
1888
  readonly name: "";
668
- readonly type: "tuple";
669
- readonly components: readonly [{
670
- readonly name: "newGov";
671
- readonly type: "address";
672
- }, {
673
- readonly name: "initiatedBlock";
674
- readonly type: "uint256";
675
- }, {
676
- readonly name: "confirmBlock";
677
- readonly type: "uint256";
678
- }];
1889
+ readonly type: "uint256";
1890
+ }];
1891
+ }, {
1892
+ readonly stateMutability: "nonpayable";
1893
+ readonly type: "function";
1894
+ readonly name: "setLeverageVault";
1895
+ readonly inputs: readonly [{
1896
+ readonly name: "_vaultAddr";
1897
+ readonly type: "address";
1898
+ }, {
1899
+ readonly name: "_vaultToken";
1900
+ readonly type: "address";
1901
+ }, {
1902
+ readonly name: "_legoId";
1903
+ readonly type: "uint256";
1904
+ }, {
1905
+ readonly name: "_ripeVaultId";
1906
+ readonly type: "uint256";
1907
+ }, {
1908
+ readonly name: "_shouldMaxWithdraw";
1909
+ readonly type: "bool";
679
1910
  }];
680
- }, {
681
- readonly stateMutability: "view";
682
- readonly type: "function";
683
- readonly name: "numGovChanges";
684
- readonly inputs: readonly [];
685
1911
  readonly outputs: readonly [{
686
1912
  readonly name: "";
687
1913
  readonly type: "uint256";
688
1914
  }];
689
1915
  }, {
690
- readonly stateMutability: "view";
1916
+ readonly stateMutability: "nonpayable";
691
1917
  readonly type: "function";
692
- readonly name: "govChangeTimeLock";
693
- readonly inputs: readonly [];
1918
+ readonly name: "setSlippagesAllowed";
1919
+ readonly inputs: readonly [{
1920
+ readonly name: "_vaultAddr";
1921
+ readonly type: "address";
1922
+ }, {
1923
+ readonly name: "_usdcSlippage";
1924
+ readonly type: "uint256";
1925
+ }, {
1926
+ readonly name: "_greenSlippage";
1927
+ readonly type: "uint256";
1928
+ }];
694
1929
  readonly outputs: readonly [{
695
1930
  readonly name: "";
696
1931
  readonly type: "uint256";
697
1932
  }];
698
1933
  }, {
699
- readonly stateMutability: "view";
1934
+ readonly stateMutability: "nonpayable";
700
1935
  readonly type: "function";
701
- readonly name: "canConfirmAction";
1936
+ readonly name: "setLevgVaultHelper";
702
1937
  readonly inputs: readonly [{
703
- readonly name: "_actionId";
704
- readonly type: "uint256";
1938
+ readonly name: "_vaultAddr";
1939
+ readonly type: "address";
1940
+ }, {
1941
+ readonly name: "_levgVaultHelper";
1942
+ readonly type: "address";
705
1943
  }];
706
1944
  readonly outputs: readonly [{
707
1945
  readonly name: "";
708
- readonly type: "bool";
1946
+ readonly type: "uint256";
709
1947
  }];
710
1948
  }, {
711
- readonly stateMutability: "view";
1949
+ readonly stateMutability: "nonpayable";
712
1950
  readonly type: "function";
713
- readonly name: "isExpired";
1951
+ readonly name: "setMaxDebtRatio";
714
1952
  readonly inputs: readonly [{
715
- readonly name: "_actionId";
1953
+ readonly name: "_vaultAddr";
1954
+ readonly type: "address";
1955
+ }, {
1956
+ readonly name: "_ratio";
716
1957
  readonly type: "uint256";
717
1958
  }];
718
1959
  readonly outputs: readonly [{
719
1960
  readonly name: "";
720
- readonly type: "bool";
1961
+ readonly type: "uint256";
721
1962
  }];
722
1963
  }, {
723
- readonly stateMutability: "view";
1964
+ readonly stateMutability: "nonpayable";
724
1965
  readonly type: "function";
725
- readonly name: "hasPendingAction";
1966
+ readonly name: "addVaultManager";
726
1967
  readonly inputs: readonly [{
727
- readonly name: "_actionId";
728
- readonly type: "uint256";
1968
+ readonly name: "_vaultAddr";
1969
+ readonly type: "address";
1970
+ }, {
1971
+ readonly name: "_manager";
1972
+ readonly type: "address";
729
1973
  }];
730
1974
  readonly outputs: readonly [{
731
1975
  readonly name: "";
732
- readonly type: "bool";
1976
+ readonly type: "uint256";
733
1977
  }];
734
1978
  }, {
735
- readonly stateMutability: "view";
1979
+ readonly stateMutability: "nonpayable";
736
1980
  readonly type: "function";
737
- readonly name: "getActionConfirmationBlock";
1981
+ readonly name: "removeVaultManager";
738
1982
  readonly inputs: readonly [{
739
- readonly name: "_actionId";
740
- readonly type: "uint256";
1983
+ readonly name: "_vaultAddr";
1984
+ readonly type: "address";
1985
+ }, {
1986
+ readonly name: "_manager";
1987
+ readonly type: "address";
741
1988
  }];
742
1989
  readonly outputs: readonly [{
743
1990
  readonly name: "";
@@ -746,41 +1993,62 @@ export declare const abi: readonly [{
746
1993
  }, {
747
1994
  readonly stateMutability: "nonpayable";
748
1995
  readonly type: "function";
749
- readonly name: "setActionTimeLock";
1996
+ readonly name: "registerVaultTokenOnLego";
750
1997
  readonly inputs: readonly [{
751
- readonly name: "_newTimeLock";
1998
+ readonly name: "_legoId";
752
1999
  readonly type: "uint256";
2000
+ }, {
2001
+ readonly name: "_asset";
2002
+ readonly type: "address";
2003
+ }, {
2004
+ readonly name: "_vaultToken";
2005
+ readonly type: "address";
753
2006
  }];
754
2007
  readonly outputs: readonly [{
755
2008
  readonly name: "";
756
- readonly type: "bool";
2009
+ readonly type: "uint256";
757
2010
  }];
758
2011
  }, {
759
- readonly stateMutability: "view";
2012
+ readonly stateMutability: "nonpayable";
760
2013
  readonly type: "function";
761
- readonly name: "isValidActionTimeLock";
2014
+ readonly name: "setMorphoRewardsAddr";
762
2015
  readonly inputs: readonly [{
763
- readonly name: "_newTimeLock";
2016
+ readonly name: "_legoId";
764
2017
  readonly type: "uint256";
2018
+ }, {
2019
+ readonly name: "_rewardsAddr";
2020
+ readonly type: "address";
765
2021
  }];
766
2022
  readonly outputs: readonly [{
767
2023
  readonly name: "";
768
- readonly type: "bool";
2024
+ readonly type: "uint256";
769
2025
  }];
770
2026
  }, {
771
- readonly stateMutability: "view";
2027
+ readonly stateMutability: "nonpayable";
772
2028
  readonly type: "function";
773
- readonly name: "minActionTimeLock";
774
- readonly inputs: readonly [];
2029
+ readonly name: "setEulerRewardsAddr";
2030
+ readonly inputs: readonly [{
2031
+ readonly name: "_legoId";
2032
+ readonly type: "uint256";
2033
+ }, {
2034
+ readonly name: "_rewardsAddr";
2035
+ readonly type: "address";
2036
+ }];
775
2037
  readonly outputs: readonly [{
776
2038
  readonly name: "";
777
2039
  readonly type: "uint256";
778
2040
  }];
779
2041
  }, {
780
- readonly stateMutability: "view";
2042
+ readonly stateMutability: "nonpayable";
781
2043
  readonly type: "function";
782
- readonly name: "maxActionTimeLock";
783
- readonly inputs: readonly [];
2044
+ readonly name: "setCompRewardsAddr";
2045
+ readonly inputs: readonly [{
2046
+ readonly name: "_legoId";
2047
+ readonly type: "uint256";
2048
+ }, {
2049
+ readonly name: "_rewardsAddr";
2050
+ readonly type: "address";
2051
+ }];
784
2052
  readonly outputs: readonly [{
785
2053
  readonly name: "";
786
2054
  readonly type: "uint256";
@@ -788,9 +2056,9 @@ export declare const abi: readonly [{
788
2056
  }, {
789
2057
  readonly stateMutability: "nonpayable";
790
2058
  readonly type: "function";
791
- readonly name: "setExpiration";
2059
+ readonly name: "executePendingAction";
792
2060
  readonly inputs: readonly [{
793
- readonly name: "_expiration";
2061
+ readonly name: "_aid";
794
2062
  readonly type: "uint256";
795
2063
  }];
796
2064
  readonly outputs: readonly [{
@@ -800,28 +2068,31 @@ export declare const abi: readonly [{
800
2068
  }, {
801
2069
  readonly stateMutability: "nonpayable";
802
2070
  readonly type: "function";
803
- readonly name: "setActionTimeLockAfterSetup";
804
- readonly inputs: readonly [];
2071
+ readonly name: "cancelPendingAction";
2072
+ readonly inputs: readonly [{
2073
+ readonly name: "_aid";
2074
+ readonly type: "uint256";
2075
+ }];
805
2076
  readonly outputs: readonly [{
806
2077
  readonly name: "";
807
2078
  readonly type: "bool";
808
2079
  }];
809
2080
  }, {
810
- readonly stateMutability: "nonpayable";
2081
+ readonly stateMutability: "view";
811
2082
  readonly type: "function";
812
- readonly name: "setActionTimeLockAfterSetup";
2083
+ readonly name: "actionType";
813
2084
  readonly inputs: readonly [{
814
- readonly name: "_newTimeLock";
2085
+ readonly name: "arg0";
815
2086
  readonly type: "uint256";
816
2087
  }];
817
2088
  readonly outputs: readonly [{
818
2089
  readonly name: "";
819
- readonly type: "bool";
2090
+ readonly type: "uint256";
820
2091
  }];
821
2092
  }, {
822
2093
  readonly stateMutability: "view";
823
2094
  readonly type: "function";
824
- readonly name: "pendingActions";
2095
+ readonly name: "pendingRedemptionBuffer";
825
2096
  readonly inputs: readonly [{
826
2097
  readonly name: "arg0";
827
2098
  readonly type: "uint256";
@@ -830,248 +2101,291 @@ export declare const abi: readonly [{
830
2101
  readonly name: "";
831
2102
  readonly type: "tuple";
832
2103
  readonly components: readonly [{
833
- readonly name: "initiatedBlock";
834
- readonly type: "uint256";
835
- }, {
836
- readonly name: "confirmBlock";
837
- readonly type: "uint256";
2104
+ readonly name: "vaultAddr";
2105
+ readonly type: "address";
838
2106
  }, {
839
- readonly name: "expiration";
2107
+ readonly name: "buffer";
840
2108
  readonly type: "uint256";
841
2109
  }];
842
2110
  }];
843
2111
  }, {
844
2112
  readonly stateMutability: "view";
845
2113
  readonly type: "function";
846
- readonly name: "actionId";
847
- readonly inputs: readonly [];
848
- readonly outputs: readonly [{
849
- readonly name: "";
2114
+ readonly name: "pendingMinYieldWithdrawAmount";
2115
+ readonly inputs: readonly [{
2116
+ readonly name: "arg0";
850
2117
  readonly type: "uint256";
851
2118
  }];
852
- }, {
853
- readonly stateMutability: "view";
854
- readonly type: "function";
855
- readonly name: "actionTimeLock";
856
- readonly inputs: readonly [];
857
2119
  readonly outputs: readonly [{
858
2120
  readonly name: "";
859
- readonly type: "uint256";
2121
+ readonly type: "tuple";
2122
+ readonly components: readonly [{
2123
+ readonly name: "vaultAddr";
2124
+ readonly type: "address";
2125
+ }, {
2126
+ readonly name: "amount";
2127
+ readonly type: "uint256";
2128
+ }];
860
2129
  }];
861
2130
  }, {
862
2131
  readonly stateMutability: "view";
863
2132
  readonly type: "function";
864
- readonly name: "expiration";
865
- readonly inputs: readonly [];
866
- readonly outputs: readonly [{
867
- readonly name: "";
868
- readonly type: "uint256";
869
- }];
870
- }, {
871
- readonly stateMutability: "nonpayable";
872
- readonly type: "function";
873
- readonly name: "setCanDeposit";
874
- readonly inputs: readonly [{
875
- readonly name: "_vaultAddr";
876
- readonly type: "address";
877
- }, {
878
- readonly name: "_canDeposit";
879
- readonly type: "bool";
880
- }];
881
- readonly outputs: readonly [];
882
- }, {
883
- readonly stateMutability: "nonpayable";
884
- readonly type: "function";
885
- readonly name: "setCanWithdraw";
886
- readonly inputs: readonly [{
887
- readonly name: "_vaultAddr";
888
- readonly type: "address";
889
- }, {
890
- readonly name: "_canWithdraw";
891
- readonly type: "bool";
892
- }];
893
- readonly outputs: readonly [];
894
- }, {
895
- readonly stateMutability: "nonpayable";
896
- readonly type: "function";
897
- readonly name: "setVaultOpsFrozen";
2133
+ readonly name: "pendingSnapShotPriceConfig";
898
2134
  readonly inputs: readonly [{
899
- readonly name: "_vaultAddr";
900
- readonly type: "address";
901
- }, {
902
- readonly name: "_isFrozen";
903
- readonly type: "bool";
2135
+ readonly name: "arg0";
2136
+ readonly type: "uint256";
904
2137
  }];
905
- readonly outputs: readonly [];
906
- }, {
907
- readonly stateMutability: "nonpayable";
908
- readonly type: "function";
909
- readonly name: "setShouldAutoDeposit";
910
- readonly inputs: readonly [{
911
- readonly name: "_vaultAddr";
912
- readonly type: "address";
913
- }, {
914
- readonly name: "_shouldAutoDeposit";
915
- readonly type: "bool";
2138
+ readonly outputs: readonly [{
2139
+ readonly name: "";
2140
+ readonly type: "tuple";
2141
+ readonly components: readonly [{
2142
+ readonly name: "legoId";
2143
+ readonly type: "uint256";
2144
+ }, {
2145
+ readonly name: "config";
2146
+ readonly type: "tuple";
2147
+ readonly components: readonly [{
2148
+ readonly name: "minSnapshotDelay";
2149
+ readonly type: "uint256";
2150
+ }, {
2151
+ readonly name: "maxNumSnapshots";
2152
+ readonly type: "uint256";
2153
+ }, {
2154
+ readonly name: "maxUpsideDeviation";
2155
+ readonly type: "uint256";
2156
+ }, {
2157
+ readonly name: "staleTime";
2158
+ readonly type: "uint256";
2159
+ }];
2160
+ }];
916
2161
  }];
917
- readonly outputs: readonly [];
918
2162
  }, {
919
- readonly stateMutability: "nonpayable";
2163
+ readonly stateMutability: "view";
920
2164
  readonly type: "function";
921
- readonly name: "setRedemptionBuffer";
2165
+ readonly name: "pendingApprovedVaultToken";
922
2166
  readonly inputs: readonly [{
923
- readonly name: "_vaultAddr";
924
- readonly type: "address";
925
- }, {
926
- readonly name: "_buffer";
2167
+ readonly name: "arg0";
927
2168
  readonly type: "uint256";
928
2169
  }];
929
2170
  readonly outputs: readonly [{
930
2171
  readonly name: "";
931
- readonly type: "uint256";
2172
+ readonly type: "tuple";
2173
+ readonly components: readonly [{
2174
+ readonly name: "vaultAddr";
2175
+ readonly type: "address";
2176
+ }, {
2177
+ readonly name: "vaultToken";
2178
+ readonly type: "address";
2179
+ }, {
2180
+ readonly name: "isApproved";
2181
+ readonly type: "bool";
2182
+ }, {
2183
+ readonly name: "shouldMaxWithdraw";
2184
+ readonly type: "bool";
2185
+ }];
932
2186
  }];
933
2187
  }, {
934
- readonly stateMutability: "nonpayable";
2188
+ readonly stateMutability: "view";
935
2189
  readonly type: "function";
936
- readonly name: "setMinYieldWithdrawAmount";
2190
+ readonly name: "pendingApprovedVaultTokens";
937
2191
  readonly inputs: readonly [{
938
- readonly name: "_vaultAddr";
939
- readonly type: "address";
940
- }, {
941
- readonly name: "_amount";
2192
+ readonly name: "arg0";
942
2193
  readonly type: "uint256";
943
2194
  }];
944
2195
  readonly outputs: readonly [{
945
2196
  readonly name: "";
946
- readonly type: "uint256";
2197
+ readonly type: "tuple";
2198
+ readonly components: readonly [{
2199
+ readonly name: "vaultAddr";
2200
+ readonly type: "address";
2201
+ }, {
2202
+ readonly name: "vaultTokens";
2203
+ readonly type: "address[]";
2204
+ }, {
2205
+ readonly name: "isApproved";
2206
+ readonly type: "bool";
2207
+ }, {
2208
+ readonly name: "shouldMaxWithdraw";
2209
+ readonly type: "bool";
2210
+ }];
947
2211
  }];
948
2212
  }, {
949
- readonly stateMutability: "nonpayable";
2213
+ readonly stateMutability: "view";
950
2214
  readonly type: "function";
951
- readonly name: "setSnapShotPriceConfig";
2215
+ readonly name: "pendingPerformanceFee";
952
2216
  readonly inputs: readonly [{
953
- readonly name: "_legoId";
954
- readonly type: "uint256";
955
- }, {
956
- readonly name: "_minSnapshotDelay";
957
- readonly type: "uint256";
958
- }, {
959
- readonly name: "_maxNumSnapshots";
960
- readonly type: "uint256";
961
- }, {
962
- readonly name: "_maxUpsideDeviation";
963
- readonly type: "uint256";
964
- }, {
965
- readonly name: "_staleTime";
2217
+ readonly name: "arg0";
966
2218
  readonly type: "uint256";
967
2219
  }];
968
2220
  readonly outputs: readonly [{
969
2221
  readonly name: "";
970
- readonly type: "uint256";
2222
+ readonly type: "tuple";
2223
+ readonly components: readonly [{
2224
+ readonly name: "vaultAddr";
2225
+ readonly type: "address";
2226
+ }, {
2227
+ readonly name: "performanceFee";
2228
+ readonly type: "uint256";
2229
+ }];
971
2230
  }];
972
2231
  }, {
973
- readonly stateMutability: "nonpayable";
2232
+ readonly stateMutability: "view";
974
2233
  readonly type: "function";
975
- readonly name: "setApprovedVaultToken";
2234
+ readonly name: "pendingDefaultTargetVaultToken";
976
2235
  readonly inputs: readonly [{
977
- readonly name: "_vaultAddr";
978
- readonly type: "address";
979
- }, {
980
- readonly name: "_vaultToken";
981
- readonly type: "address";
982
- }, {
983
- readonly name: "_isApproved";
984
- readonly type: "bool";
2236
+ readonly name: "arg0";
2237
+ readonly type: "uint256";
985
2238
  }];
986
2239
  readonly outputs: readonly [{
987
2240
  readonly name: "";
988
- readonly type: "uint256";
2241
+ readonly type: "tuple";
2242
+ readonly components: readonly [{
2243
+ readonly name: "vaultAddr";
2244
+ readonly type: "address";
2245
+ }, {
2246
+ readonly name: "targetVaultToken";
2247
+ readonly type: "address";
2248
+ }];
989
2249
  }];
990
2250
  }, {
991
- readonly stateMutability: "nonpayable";
2251
+ readonly stateMutability: "view";
992
2252
  readonly type: "function";
993
- readonly name: "setPerformanceFee";
2253
+ readonly name: "pendingMaxDepositAmount";
994
2254
  readonly inputs: readonly [{
995
- readonly name: "_vaultAddr";
996
- readonly type: "address";
997
- }, {
998
- readonly name: "_performanceFee";
2255
+ readonly name: "arg0";
999
2256
  readonly type: "uint256";
1000
2257
  }];
1001
2258
  readonly outputs: readonly [{
1002
2259
  readonly name: "";
1003
- readonly type: "uint256";
2260
+ readonly type: "tuple";
2261
+ readonly components: readonly [{
2262
+ readonly name: "vaultAddr";
2263
+ readonly type: "address";
2264
+ }, {
2265
+ readonly name: "maxDepositAmount";
2266
+ readonly type: "uint256";
2267
+ }];
1004
2268
  }];
1005
2269
  }, {
1006
- readonly stateMutability: "nonpayable";
2270
+ readonly stateMutability: "view";
1007
2271
  readonly type: "function";
1008
- readonly name: "setDefaultTargetVaultToken";
2272
+ readonly name: "pendingIsLeveragedVault";
1009
2273
  readonly inputs: readonly [{
1010
- readonly name: "_vaultAddr";
1011
- readonly type: "address";
1012
- }, {
1013
- readonly name: "_targetVaultToken";
1014
- readonly type: "address";
2274
+ readonly name: "arg0";
2275
+ readonly type: "uint256";
1015
2276
  }];
1016
2277
  readonly outputs: readonly [{
1017
2278
  readonly name: "";
1018
- readonly type: "uint256";
2279
+ readonly type: "tuple";
2280
+ readonly components: readonly [{
2281
+ readonly name: "vaultAddr";
2282
+ readonly type: "address";
2283
+ }, {
2284
+ readonly name: "isLeveragedVault";
2285
+ readonly type: "bool";
2286
+ }];
1019
2287
  }];
1020
2288
  }, {
1021
- readonly stateMutability: "nonpayable";
2289
+ readonly stateMutability: "view";
1022
2290
  readonly type: "function";
1023
- readonly name: "setMaxDepositAmount";
2291
+ readonly name: "pendingCollateralVault";
1024
2292
  readonly inputs: readonly [{
1025
- readonly name: "_vaultAddr";
1026
- readonly type: "address";
1027
- }, {
1028
- readonly name: "_maxDepositAmount";
2293
+ readonly name: "arg0";
1029
2294
  readonly type: "uint256";
1030
2295
  }];
1031
2296
  readonly outputs: readonly [{
1032
2297
  readonly name: "";
1033
- readonly type: "uint256";
2298
+ readonly type: "tuple";
2299
+ readonly components: readonly [{
2300
+ readonly name: "vaultAddr";
2301
+ readonly type: "address";
2302
+ }, {
2303
+ readonly name: "vaultToken";
2304
+ readonly type: "address";
2305
+ }, {
2306
+ readonly name: "ripeVaultId";
2307
+ readonly type: "uint256";
2308
+ }, {
2309
+ readonly name: "legoId";
2310
+ readonly type: "uint256";
2311
+ }, {
2312
+ readonly name: "shouldMaxWithdraw";
2313
+ readonly type: "bool";
2314
+ }];
1034
2315
  }];
1035
2316
  }, {
1036
- readonly stateMutability: "nonpayable";
2317
+ readonly stateMutability: "view";
1037
2318
  readonly type: "function";
1038
- readonly name: "executePendingAction";
2319
+ readonly name: "pendingLeverageVault";
1039
2320
  readonly inputs: readonly [{
1040
- readonly name: "_aid";
2321
+ readonly name: "arg0";
1041
2322
  readonly type: "uint256";
1042
2323
  }];
1043
2324
  readonly outputs: readonly [{
1044
2325
  readonly name: "";
1045
- readonly type: "bool";
2326
+ readonly type: "tuple";
2327
+ readonly components: readonly [{
2328
+ readonly name: "vaultAddr";
2329
+ readonly type: "address";
2330
+ }, {
2331
+ readonly name: "vaultToken";
2332
+ readonly type: "address";
2333
+ }, {
2334
+ readonly name: "legoId";
2335
+ readonly type: "uint256";
2336
+ }, {
2337
+ readonly name: "ripeVaultId";
2338
+ readonly type: "uint256";
2339
+ }, {
2340
+ readonly name: "shouldMaxWithdraw";
2341
+ readonly type: "bool";
2342
+ }];
1046
2343
  }];
1047
2344
  }, {
1048
- readonly stateMutability: "nonpayable";
2345
+ readonly stateMutability: "view";
1049
2346
  readonly type: "function";
1050
- readonly name: "cancelPendingAction";
2347
+ readonly name: "pendingSlippages";
1051
2348
  readonly inputs: readonly [{
1052
- readonly name: "_aid";
2349
+ readonly name: "arg0";
1053
2350
  readonly type: "uint256";
1054
2351
  }];
1055
2352
  readonly outputs: readonly [{
1056
2353
  readonly name: "";
1057
- readonly type: "bool";
2354
+ readonly type: "tuple";
2355
+ readonly components: readonly [{
2356
+ readonly name: "vaultAddr";
2357
+ readonly type: "address";
2358
+ }, {
2359
+ readonly name: "usdcSlippage";
2360
+ readonly type: "uint256";
2361
+ }, {
2362
+ readonly name: "greenSlippage";
2363
+ readonly type: "uint256";
2364
+ }];
1058
2365
  }];
1059
2366
  }, {
1060
2367
  readonly stateMutability: "view";
1061
2368
  readonly type: "function";
1062
- readonly name: "actionType";
2369
+ readonly name: "pendingLevgVaultHelper";
1063
2370
  readonly inputs: readonly [{
1064
2371
  readonly name: "arg0";
1065
2372
  readonly type: "uint256";
1066
2373
  }];
1067
2374
  readonly outputs: readonly [{
1068
2375
  readonly name: "";
1069
- readonly type: "uint256";
2376
+ readonly type: "tuple";
2377
+ readonly components: readonly [{
2378
+ readonly name: "vaultAddr";
2379
+ readonly type: "address";
2380
+ }, {
2381
+ readonly name: "levgVaultHelper";
2382
+ readonly type: "address";
2383
+ }];
1070
2384
  }];
1071
2385
  }, {
1072
2386
  readonly stateMutability: "view";
1073
2387
  readonly type: "function";
1074
- readonly name: "pendingRedemptionBuffer";
2388
+ readonly name: "pendingMaxDebtRatio";
1075
2389
  readonly inputs: readonly [{
1076
2390
  readonly name: "arg0";
1077
2391
  readonly type: "uint256";
@@ -1083,14 +2397,14 @@ export declare const abi: readonly [{
1083
2397
  readonly name: "vaultAddr";
1084
2398
  readonly type: "address";
1085
2399
  }, {
1086
- readonly name: "buffer";
2400
+ readonly name: "ratio";
1087
2401
  readonly type: "uint256";
1088
2402
  }];
1089
2403
  }];
1090
2404
  }, {
1091
2405
  readonly stateMutability: "view";
1092
2406
  readonly type: "function";
1093
- readonly name: "pendingMinYieldWithdrawAmount";
2407
+ readonly name: "pendingAddManager";
1094
2408
  readonly inputs: readonly [{
1095
2409
  readonly name: "arg0";
1096
2410
  readonly type: "uint256";
@@ -1102,14 +2416,14 @@ export declare const abi: readonly [{
1102
2416
  readonly name: "vaultAddr";
1103
2417
  readonly type: "address";
1104
2418
  }, {
1105
- readonly name: "amount";
1106
- readonly type: "uint256";
2419
+ readonly name: "manager";
2420
+ readonly type: "address";
1107
2421
  }];
1108
2422
  }];
1109
2423
  }, {
1110
2424
  readonly stateMutability: "view";
1111
2425
  readonly type: "function";
1112
- readonly name: "pendingSnapShotPriceConfig";
2426
+ readonly name: "pendingRemoveManager";
1113
2427
  readonly inputs: readonly [{
1114
2428
  readonly name: "arg0";
1115
2429
  readonly type: "uint256";
@@ -1118,30 +2432,17 @@ export declare const abi: readonly [{
1118
2432
  readonly name: "";
1119
2433
  readonly type: "tuple";
1120
2434
  readonly components: readonly [{
1121
- readonly name: "legoId";
1122
- readonly type: "uint256";
2435
+ readonly name: "vaultAddr";
2436
+ readonly type: "address";
1123
2437
  }, {
1124
- readonly name: "config";
1125
- readonly type: "tuple";
1126
- readonly components: readonly [{
1127
- readonly name: "minSnapshotDelay";
1128
- readonly type: "uint256";
1129
- }, {
1130
- readonly name: "maxNumSnapshots";
1131
- readonly type: "uint256";
1132
- }, {
1133
- readonly name: "maxUpsideDeviation";
1134
- readonly type: "uint256";
1135
- }, {
1136
- readonly name: "staleTime";
1137
- readonly type: "uint256";
1138
- }];
2438
+ readonly name: "manager";
2439
+ readonly type: "address";
1139
2440
  }];
1140
2441
  }];
1141
2442
  }, {
1142
2443
  readonly stateMutability: "view";
1143
2444
  readonly type: "function";
1144
- readonly name: "pendingApprovedVaultToken";
2445
+ readonly name: "pendingRegisterVaultTokenOnLego";
1145
2446
  readonly inputs: readonly [{
1146
2447
  readonly name: "arg0";
1147
2448
  readonly type: "uint256";
@@ -1150,20 +2451,20 @@ export declare const abi: readonly [{
1150
2451
  readonly name: "";
1151
2452
  readonly type: "tuple";
1152
2453
  readonly components: readonly [{
1153
- readonly name: "vaultAddr";
2454
+ readonly name: "legoId";
2455
+ readonly type: "uint256";
2456
+ }, {
2457
+ readonly name: "asset";
1154
2458
  readonly type: "address";
1155
2459
  }, {
1156
2460
  readonly name: "vaultToken";
1157
2461
  readonly type: "address";
1158
- }, {
1159
- readonly name: "isApproved";
1160
- readonly type: "bool";
1161
2462
  }];
1162
2463
  }];
1163
2464
  }, {
1164
2465
  readonly stateMutability: "view";
1165
2466
  readonly type: "function";
1166
- readonly name: "pendingPerformanceFee";
2467
+ readonly name: "pendingMorphoRewardsAddr";
1167
2468
  readonly inputs: readonly [{
1168
2469
  readonly name: "arg0";
1169
2470
  readonly type: "uint256";
@@ -1172,17 +2473,17 @@ export declare const abi: readonly [{
1172
2473
  readonly name: "";
1173
2474
  readonly type: "tuple";
1174
2475
  readonly components: readonly [{
1175
- readonly name: "vaultAddr";
1176
- readonly type: "address";
1177
- }, {
1178
- readonly name: "performanceFee";
2476
+ readonly name: "legoId";
1179
2477
  readonly type: "uint256";
2478
+ }, {
2479
+ readonly name: "rewardsAddr";
2480
+ readonly type: "address";
1180
2481
  }];
1181
2482
  }];
1182
2483
  }, {
1183
2484
  readonly stateMutability: "view";
1184
2485
  readonly type: "function";
1185
- readonly name: "pendingDefaultTargetVaultToken";
2486
+ readonly name: "pendingEulerRewardsAddr";
1186
2487
  readonly inputs: readonly [{
1187
2488
  readonly name: "arg0";
1188
2489
  readonly type: "uint256";
@@ -1191,17 +2492,17 @@ export declare const abi: readonly [{
1191
2492
  readonly name: "";
1192
2493
  readonly type: "tuple";
1193
2494
  readonly components: readonly [{
1194
- readonly name: "vaultAddr";
1195
- readonly type: "address";
2495
+ readonly name: "legoId";
2496
+ readonly type: "uint256";
1196
2497
  }, {
1197
- readonly name: "targetVaultToken";
2498
+ readonly name: "rewardsAddr";
1198
2499
  readonly type: "address";
1199
2500
  }];
1200
2501
  }];
1201
2502
  }, {
1202
2503
  readonly stateMutability: "view";
1203
2504
  readonly type: "function";
1204
- readonly name: "pendingMaxDepositAmount";
2505
+ readonly name: "pendingCompRewardsAddr";
1205
2506
  readonly inputs: readonly [{
1206
2507
  readonly name: "arg0";
1207
2508
  readonly type: "uint256";
@@ -1210,11 +2511,11 @@ export declare const abi: readonly [{
1210
2511
  readonly name: "";
1211
2512
  readonly type: "tuple";
1212
2513
  readonly components: readonly [{
1213
- readonly name: "vaultAddr";
1214
- readonly type: "address";
1215
- }, {
1216
- readonly name: "maxDepositAmount";
2514
+ readonly name: "legoId";
1217
2515
  readonly type: "uint256";
2516
+ }, {
2517
+ readonly name: "rewardsAddr";
2518
+ readonly type: "address";
1218
2519
  }];
1219
2520
  }];
1220
2521
  }, {
@@ -1305,6 +2606,13 @@ export type Contract = {
1305
2606
  vaultAddr: `0x${string}`;
1306
2607
  vaultToken: `0x${string}`;
1307
2608
  isApproved: boolean;
2609
+ shouldMaxWithdraw: boolean;
2610
+ }>;
2611
+ pendingApprovedVaultTokens: (arg0: bigint) => Promise<{
2612
+ vaultAddr: `0x${string}`;
2613
+ vaultTokens: `0x${string}`[];
2614
+ isApproved: boolean;
2615
+ shouldMaxWithdraw: boolean;
1308
2616
  }>;
1309
2617
  pendingPerformanceFee: (arg0: bigint) => Promise<{
1310
2618
  vaultAddr: `0x${string}`;
@@ -1318,6 +2626,62 @@ export type Contract = {
1318
2626
  vaultAddr: `0x${string}`;
1319
2627
  maxDepositAmount: bigint;
1320
2628
  }>;
2629
+ pendingIsLeveragedVault: (arg0: bigint) => Promise<{
2630
+ vaultAddr: `0x${string}`;
2631
+ isLeveragedVault: boolean;
2632
+ }>;
2633
+ pendingCollateralVault: (arg0: bigint) => Promise<{
2634
+ vaultAddr: `0x${string}`;
2635
+ vaultToken: `0x${string}`;
2636
+ ripeVaultId: bigint;
2637
+ legoId: bigint;
2638
+ shouldMaxWithdraw: boolean;
2639
+ }>;
2640
+ pendingLeverageVault: (arg0: bigint) => Promise<{
2641
+ vaultAddr: `0x${string}`;
2642
+ vaultToken: `0x${string}`;
2643
+ legoId: bigint;
2644
+ ripeVaultId: bigint;
2645
+ shouldMaxWithdraw: boolean;
2646
+ }>;
2647
+ pendingSlippages: (arg0: bigint) => Promise<{
2648
+ vaultAddr: `0x${string}`;
2649
+ usdcSlippage: bigint;
2650
+ greenSlippage: bigint;
2651
+ }>;
2652
+ pendingLevgVaultHelper: (arg0: bigint) => Promise<{
2653
+ vaultAddr: `0x${string}`;
2654
+ levgVaultHelper: `0x${string}`;
2655
+ }>;
2656
+ pendingMaxDebtRatio: (arg0: bigint) => Promise<{
2657
+ vaultAddr: `0x${string}`;
2658
+ ratio: bigint;
2659
+ }>;
2660
+ pendingAddManager: (arg0: bigint) => Promise<{
2661
+ vaultAddr: `0x${string}`;
2662
+ manager: `0x${string}`;
2663
+ }>;
2664
+ pendingRemoveManager: (arg0: bigint) => Promise<{
2665
+ vaultAddr: `0x${string}`;
2666
+ manager: `0x${string}`;
2667
+ }>;
2668
+ pendingRegisterVaultTokenOnLego: (arg0: bigint) => Promise<{
2669
+ legoId: bigint;
2670
+ asset: `0x${string}`;
2671
+ vaultToken: `0x${string}`;
2672
+ }>;
2673
+ pendingMorphoRewardsAddr: (arg0: bigint) => Promise<{
2674
+ legoId: bigint;
2675
+ rewardsAddr: `0x${string}`;
2676
+ }>;
2677
+ pendingEulerRewardsAddr: (arg0: bigint) => Promise<{
2678
+ legoId: bigint;
2679
+ rewardsAddr: `0x${string}`;
2680
+ }>;
2681
+ pendingCompRewardsAddr: (arg0: bigint) => Promise<{
2682
+ legoId: bigint;
2683
+ rewardsAddr: `0x${string}`;
2684
+ }>;
1321
2685
  };
1322
2686
  mutations: {
1323
2687
  startGovernanceChange: (newGov: `0x${string}`) => Promise<void>;
@@ -1333,13 +2697,34 @@ export type Contract = {
1333
2697
  setCanWithdraw: (vaultAddr: `0x${string}`, canWithdraw: boolean) => Promise<void>;
1334
2698
  setVaultOpsFrozen: (vaultAddr: `0x${string}`, isFrozen: boolean) => Promise<void>;
1335
2699
  setShouldAutoDeposit: (vaultAddr: `0x${string}`, shouldAutoDeposit: boolean) => Promise<void>;
2700
+ setShouldEnforceAllowlist: (vaultAddr: `0x${string}`, shouldEnforce: boolean) => Promise<void>;
2701
+ setAllowed: (vaultAddr: `0x${string}`, user: `0x${string}`, isAllowed: boolean) => Promise<void>;
2702
+ setAllowedBatch: (vaultAddr: `0x${string}`, users: `0x${string}`[], isAllowed: boolean) => Promise<void>;
2703
+ addPriceSnapshot: (legoId: bigint, vaultToken: `0x${string}`) => Promise<boolean>;
2704
+ deregisterVaultTokenOnLego: (legoId: bigint, asset: `0x${string}`, vaultToken: `0x${string}`) => Promise<bigint>;
2705
+ updateYieldPosition: (vaultAddr: `0x${string}`, vaultToken: `0x${string}`) => Promise<void>;
2706
+ claimPerformanceFees: (vaultAddr: `0x${string}`) => Promise<bigint>;
2707
+ sweepLeftovers: (vaultAddr: `0x${string}`) => Promise<bigint>;
1336
2708
  setRedemptionBuffer: (vaultAddr: `0x${string}`, buffer: bigint) => Promise<bigint>;
1337
2709
  setMinYieldWithdrawAmount: (vaultAddr: `0x${string}`, amount: bigint) => Promise<bigint>;
1338
2710
  setSnapShotPriceConfig: (legoId: bigint, minSnapshotDelay: bigint, maxNumSnapshots: bigint, maxUpsideDeviation: bigint, staleTime: bigint) => Promise<bigint>;
1339
- setApprovedVaultToken: (vaultAddr: `0x${string}`, vaultToken: `0x${string}`, isApproved: boolean) => Promise<bigint>;
2711
+ setApprovedVaultToken: (undyVaultAddr: `0x${string}`, vaultToken: `0x${string}`, isApproved: boolean, shouldMaxWithdraw: boolean) => Promise<bigint>;
2712
+ setApprovedVaultTokens: (undyVaultAddr: `0x${string}`, vaultTokens: `0x${string}`[], isApproved: boolean, shouldMaxWithdraw: boolean) => Promise<bigint>;
1340
2713
  setPerformanceFee: (vaultAddr: `0x${string}`, performanceFee: bigint) => Promise<bigint>;
1341
2714
  setDefaultTargetVaultToken: (vaultAddr: `0x${string}`, targetVaultToken: `0x${string}`) => Promise<bigint>;
1342
2715
  setMaxDepositAmount: (vaultAddr: `0x${string}`, maxDepositAmount: bigint) => Promise<bigint>;
2716
+ setIsLeveragedVault: (vaultAddr: `0x${string}`, isLeveragedVault: boolean) => Promise<bigint>;
2717
+ setCollateralVault: (vaultAddr: `0x${string}`, vaultToken: `0x${string}`, legoId: bigint, ripeVaultId: bigint, shouldMaxWithdraw: boolean) => Promise<bigint>;
2718
+ setLeverageVault: (vaultAddr: `0x${string}`, vaultToken: `0x${string}`, legoId: bigint, ripeVaultId: bigint, shouldMaxWithdraw: boolean) => Promise<bigint>;
2719
+ setSlippagesAllowed: (vaultAddr: `0x${string}`, usdcSlippage: bigint, greenSlippage: bigint) => Promise<bigint>;
2720
+ setLevgVaultHelper: (vaultAddr: `0x${string}`, levgVaultHelper: `0x${string}`) => Promise<bigint>;
2721
+ setMaxDebtRatio: (vaultAddr: `0x${string}`, ratio: bigint) => Promise<bigint>;
2722
+ addVaultManager: (vaultAddr: `0x${string}`, manager: `0x${string}`) => Promise<bigint>;
2723
+ removeVaultManager: (vaultAddr: `0x${string}`, manager: `0x${string}`) => Promise<bigint>;
2724
+ registerVaultTokenOnLego: (legoId: bigint, asset: `0x${string}`, vaultToken: `0x${string}`) => Promise<bigint>;
2725
+ setMorphoRewardsAddr: (legoId: bigint, rewardsAddr: `0x${string}`) => Promise<bigint>;
2726
+ setEulerRewardsAddr: (legoId: bigint, rewardsAddr: `0x${string}`) => Promise<bigint>;
2727
+ setCompRewardsAddr: (legoId: bigint, rewardsAddr: `0x${string}`) => Promise<bigint>;
1343
2728
  executePendingAction: (aid: bigint) => Promise<boolean>;
1344
2729
  cancelPendingAction: (aid: bigint) => Promise<boolean>;
1345
2730
  };
@@ -1352,16 +2737,50 @@ export type Contract = {
1352
2737
  SnapShotPriceConfigSet: (legoId: bigint, legoAddr: `0x${string}`, minSnapshotDelay: bigint, maxNumSnapshots: bigint, maxUpsideDeviation: bigint, staleTime: bigint) => Promise<void>;
1353
2738
  PendingApprovedVaultTokenChange: (vaultAddr: `0x${string}`, vaultToken: `0x${string}`, isApproved: boolean, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
1354
2739
  ApprovedVaultTokenSet: (vaultAddr: `0x${string}`, vaultToken: `0x${string}`, isApproved: boolean) => Promise<void>;
2740
+ PendingApprovedVaultTokensChange: (vaultAddr: `0x${string}`, numTokens: bigint, isApproved: boolean, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
2741
+ ApprovedVaultTokensSet: (vaultAddr: `0x${string}`, numTokens: bigint, isApproved: boolean) => Promise<void>;
1355
2742
  PendingPerformanceFeeChange: (vaultAddr: `0x${string}`, performanceFee: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
1356
2743
  PerformanceFeeSet: (vaultAddr: `0x${string}`, performanceFee: bigint) => Promise<void>;
1357
2744
  PendingDefaultTargetVaultTokenChange: (vaultAddr: `0x${string}`, targetVaultToken: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
1358
2745
  DefaultTargetVaultTokenSet: (vaultAddr: `0x${string}`, targetVaultToken: `0x${string}`) => Promise<void>;
1359
2746
  PendingMaxDepositAmountChange: (vaultAddr: `0x${string}`, maxDepositAmount: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
1360
2747
  MaxDepositAmountSet: (vaultAddr: `0x${string}`, maxDepositAmount: bigint) => Promise<void>;
2748
+ PendingIsLeveragedVaultChange: (vaultAddr: `0x${string}`, isLeveragedVault: boolean, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
2749
+ IsLeveragedVaultSet: (vaultAddr: `0x${string}`, isLeveragedVault: boolean) => Promise<void>;
1361
2750
  CanDepositSet: (vaultAddr: `0x${string}`, canDeposit: boolean, caller: `0x${string}`) => Promise<void>;
1362
2751
  CanWithdrawSet: (vaultAddr: `0x${string}`, canWithdraw: boolean, caller: `0x${string}`) => Promise<void>;
1363
2752
  VaultOpsFrozenSet: (vaultAddr: `0x${string}`, isFrozen: boolean, caller: `0x${string}`) => Promise<void>;
1364
2753
  ShouldAutoDepositSet: (vaultAddr: `0x${string}`, shouldAutoDeposit: boolean, caller: `0x${string}`) => Promise<void>;
2754
+ ShouldEnforceAllowlistSet: (vaultAddr: `0x${string}`, shouldEnforce: boolean, caller: `0x${string}`) => Promise<void>;
2755
+ AllowlistUserSet: (vaultAddr: `0x${string}`, user: `0x${string}`, isAllowed: boolean, caller: `0x${string}`) => Promise<void>;
2756
+ AllowlistBatchSet: (vaultAddr: `0x${string}`, numUsers: bigint, isAllowed: boolean, caller: `0x${string}`) => Promise<void>;
2757
+ PendingCollateralVaultChange: (vaultAddr: `0x${string}`, vaultToken: `0x${string}`, ripeVaultId: bigint, legoId: bigint, shouldMaxWithdraw: boolean, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
2758
+ CollateralVaultSet: (vaultAddr: `0x${string}`, vaultToken: `0x${string}`, ripeVaultId: bigint, legoId: bigint) => Promise<void>;
2759
+ PendingLeverageVaultChange: (vaultAddr: `0x${string}`, vaultToken: `0x${string}`, legoId: bigint, ripeVaultId: bigint, shouldMaxWithdraw: boolean, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
2760
+ LeverageVaultSet: (vaultAddr: `0x${string}`, vaultToken: `0x${string}`, legoId: bigint, ripeVaultId: bigint) => Promise<void>;
2761
+ PendingSlippagesChange: (vaultAddr: `0x${string}`, usdcSlippage: bigint, greenSlippage: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
2762
+ SlippagesSet: (vaultAddr: `0x${string}`, usdcSlippage: bigint, greenSlippage: bigint) => Promise<void>;
2763
+ PendingLevgVaultHelperChange: (vaultAddr: `0x${string}`, levgVaultHelper: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
2764
+ LevgVaultHelperSet: (vaultAddr: `0x${string}`, levgVaultHelper: `0x${string}`) => Promise<void>;
2765
+ PendingMaxDebtRatioChange: (vaultAddr: `0x${string}`, ratio: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
2766
+ MaxDebtRatioSet: (vaultAddr: `0x${string}`, ratio: bigint) => Promise<void>;
2767
+ PendingAddManagerChange: (vaultAddr: `0x${string}`, manager: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
2768
+ ManagerAdded: (vaultAddr: `0x${string}`, manager: `0x${string}`) => Promise<void>;
2769
+ PendingRemoveManagerChange: (vaultAddr: `0x${string}`, manager: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
2770
+ ManagerRemoved: (vaultAddr: `0x${string}`, manager: `0x${string}`) => Promise<void>;
2771
+ PriceSnapshotAdded: (legoId: bigint, legoAddr: `0x${string}`, vaultToken: `0x${string}`, success: boolean, caller: `0x${string}`) => Promise<void>;
2772
+ YieldPositionUpdated: (vaultAddr: `0x${string}`, vaultToken: `0x${string}`, caller: `0x${string}`) => Promise<void>;
2773
+ PerformanceFeesClaimed: (vaultAddr: `0x${string}`, amount: bigint, caller: `0x${string}`) => Promise<void>;
2774
+ PendingRegisterVaultTokenOnLegoChange: (legoId: bigint, asset: `0x${string}`, vaultToken: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
2775
+ VaultTokenRegisteredOnLego: (legoId: bigint, legoAddr: `0x${string}`, asset: `0x${string}`, vaultToken: `0x${string}`) => Promise<void>;
2776
+ VaultTokenDeregisteredOnLego: (legoId: bigint, legoAddr: `0x${string}`, asset: `0x${string}`, vaultToken: `0x${string}`, caller: `0x${string}`) => Promise<void>;
2777
+ PendingMorphoRewardsAddrChange: (legoId: bigint, rewardsAddr: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
2778
+ MorphoRewardsAddrSet: (legoId: bigint, legoAddr: `0x${string}`, rewardsAddr: `0x${string}`) => Promise<void>;
2779
+ PendingEulerRewardsAddrChange: (legoId: bigint, rewardsAddr: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
2780
+ EulerRewardsAddrSet: (legoId: bigint, legoAddr: `0x${string}`, rewardsAddr: `0x${string}`) => Promise<void>;
2781
+ PendingCompRewardsAddrChange: (legoId: bigint, rewardsAddr: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
2782
+ CompRewardsAddrSet: (legoId: bigint, legoAddr: `0x${string}`, rewardsAddr: `0x${string}`) => Promise<void>;
2783
+ LeftoversSwept: (vaultAddr: `0x${string}`, amount: bigint, caller: `0x${string}`) => Promise<void>;
1365
2784
  GovChangeTimeLockModified: (prevTimeLock: bigint, newTimeLock: bigint) => Promise<void>;
1366
2785
  ExpirationSet: (expiration: bigint) => Promise<void>;
1367
2786
  ActionTimeLockSet: (newTimeLock: bigint, prevTimeLock: bigint) => Promise<void>;
@@ -1439,9 +2858,22 @@ export type SDK = {
1439
2858
  pendingMinYieldWithdrawAmount: (...args: ExtractArgs<Contract['calls']['pendingMinYieldWithdrawAmount']>) => Promise<CallReturn<'pendingMinYieldWithdrawAmount'>>;
1440
2859
  pendingSnapShotPriceConfig: (...args: ExtractArgs<Contract['calls']['pendingSnapShotPriceConfig']>) => Promise<CallReturn<'pendingSnapShotPriceConfig'>>;
1441
2860
  pendingApprovedVaultToken: (...args: ExtractArgs<Contract['calls']['pendingApprovedVaultToken']>) => Promise<CallReturn<'pendingApprovedVaultToken'>>;
2861
+ pendingApprovedVaultTokens: (...args: ExtractArgs<Contract['calls']['pendingApprovedVaultTokens']>) => Promise<CallReturn<'pendingApprovedVaultTokens'>>;
1442
2862
  pendingPerformanceFee: (...args: ExtractArgs<Contract['calls']['pendingPerformanceFee']>) => Promise<CallReturn<'pendingPerformanceFee'>>;
1443
2863
  pendingDefaultTargetVaultToken: (...args: ExtractArgs<Contract['calls']['pendingDefaultTargetVaultToken']>) => Promise<CallReturn<'pendingDefaultTargetVaultToken'>>;
1444
2864
  pendingMaxDepositAmount: (...args: ExtractArgs<Contract['calls']['pendingMaxDepositAmount']>) => Promise<CallReturn<'pendingMaxDepositAmount'>>;
2865
+ pendingIsLeveragedVault: (...args: ExtractArgs<Contract['calls']['pendingIsLeveragedVault']>) => Promise<CallReturn<'pendingIsLeveragedVault'>>;
2866
+ pendingCollateralVault: (...args: ExtractArgs<Contract['calls']['pendingCollateralVault']>) => Promise<CallReturn<'pendingCollateralVault'>>;
2867
+ pendingLeverageVault: (...args: ExtractArgs<Contract['calls']['pendingLeverageVault']>) => Promise<CallReturn<'pendingLeverageVault'>>;
2868
+ pendingSlippages: (...args: ExtractArgs<Contract['calls']['pendingSlippages']>) => Promise<CallReturn<'pendingSlippages'>>;
2869
+ pendingLevgVaultHelper: (...args: ExtractArgs<Contract['calls']['pendingLevgVaultHelper']>) => Promise<CallReturn<'pendingLevgVaultHelper'>>;
2870
+ pendingMaxDebtRatio: (...args: ExtractArgs<Contract['calls']['pendingMaxDebtRatio']>) => Promise<CallReturn<'pendingMaxDebtRatio'>>;
2871
+ pendingAddManager: (...args: ExtractArgs<Contract['calls']['pendingAddManager']>) => Promise<CallReturn<'pendingAddManager'>>;
2872
+ pendingRemoveManager: (...args: ExtractArgs<Contract['calls']['pendingRemoveManager']>) => Promise<CallReturn<'pendingRemoveManager'>>;
2873
+ pendingRegisterVaultTokenOnLego: (...args: ExtractArgs<Contract['calls']['pendingRegisterVaultTokenOnLego']>) => Promise<CallReturn<'pendingRegisterVaultTokenOnLego'>>;
2874
+ pendingMorphoRewardsAddr: (...args: ExtractArgs<Contract['calls']['pendingMorphoRewardsAddr']>) => Promise<CallReturn<'pendingMorphoRewardsAddr'>>;
2875
+ pendingEulerRewardsAddr: (...args: ExtractArgs<Contract['calls']['pendingEulerRewardsAddr']>) => Promise<CallReturn<'pendingEulerRewardsAddr'>>;
2876
+ pendingCompRewardsAddr: (...args: ExtractArgs<Contract['calls']['pendingCompRewardsAddr']>) => Promise<CallReturn<'pendingCompRewardsAddr'>>;
1445
2877
  startGovernanceChange: (...args: ExtractArgs<Contract['mutations']['startGovernanceChange']>) => Promise<Address>;
1446
2878
  confirmGovernanceChange: (...args: ExtractArgs<Contract['mutations']['confirmGovernanceChange']>) => Promise<Address>;
1447
2879
  cancelGovernanceChange: (...args: ExtractArgs<Contract['mutations']['cancelGovernanceChange']>) => Promise<Address>;
@@ -1455,13 +2887,34 @@ export type SDK = {
1455
2887
  setCanWithdraw: (...args: ExtractArgs<Contract['mutations']['setCanWithdraw']>) => Promise<Address>;
1456
2888
  setVaultOpsFrozen: (...args: ExtractArgs<Contract['mutations']['setVaultOpsFrozen']>) => Promise<Address>;
1457
2889
  setShouldAutoDeposit: (...args: ExtractArgs<Contract['mutations']['setShouldAutoDeposit']>) => Promise<Address>;
2890
+ setShouldEnforceAllowlist: (...args: ExtractArgs<Contract['mutations']['setShouldEnforceAllowlist']>) => Promise<Address>;
2891
+ setAllowed: (...args: ExtractArgs<Contract['mutations']['setAllowed']>) => Promise<Address>;
2892
+ setAllowedBatch: (...args: ExtractArgs<Contract['mutations']['setAllowedBatch']>) => Promise<Address>;
2893
+ addPriceSnapshot: (...args: ExtractArgs<Contract['mutations']['addPriceSnapshot']>) => Promise<Address>;
2894
+ deregisterVaultTokenOnLego: (...args: ExtractArgs<Contract['mutations']['deregisterVaultTokenOnLego']>) => Promise<Address>;
2895
+ updateYieldPosition: (...args: ExtractArgs<Contract['mutations']['updateYieldPosition']>) => Promise<Address>;
2896
+ claimPerformanceFees: (...args: ExtractArgs<Contract['mutations']['claimPerformanceFees']>) => Promise<Address>;
2897
+ sweepLeftovers: (...args: ExtractArgs<Contract['mutations']['sweepLeftovers']>) => Promise<Address>;
1458
2898
  setRedemptionBuffer: (...args: ExtractArgs<Contract['mutations']['setRedemptionBuffer']>) => Promise<Address>;
1459
2899
  setMinYieldWithdrawAmount: (...args: ExtractArgs<Contract['mutations']['setMinYieldWithdrawAmount']>) => Promise<Address>;
1460
2900
  setSnapShotPriceConfig: (...args: ExtractArgs<Contract['mutations']['setSnapShotPriceConfig']>) => Promise<Address>;
1461
2901
  setApprovedVaultToken: (...args: ExtractArgs<Contract['mutations']['setApprovedVaultToken']>) => Promise<Address>;
2902
+ setApprovedVaultTokens: (...args: ExtractArgs<Contract['mutations']['setApprovedVaultTokens']>) => Promise<Address>;
1462
2903
  setPerformanceFee: (...args: ExtractArgs<Contract['mutations']['setPerformanceFee']>) => Promise<Address>;
1463
2904
  setDefaultTargetVaultToken: (...args: ExtractArgs<Contract['mutations']['setDefaultTargetVaultToken']>) => Promise<Address>;
1464
2905
  setMaxDepositAmount: (...args: ExtractArgs<Contract['mutations']['setMaxDepositAmount']>) => Promise<Address>;
2906
+ setIsLeveragedVault: (...args: ExtractArgs<Contract['mutations']['setIsLeveragedVault']>) => Promise<Address>;
2907
+ setCollateralVault: (...args: ExtractArgs<Contract['mutations']['setCollateralVault']>) => Promise<Address>;
2908
+ setLeverageVault: (...args: ExtractArgs<Contract['mutations']['setLeverageVault']>) => Promise<Address>;
2909
+ setSlippagesAllowed: (...args: ExtractArgs<Contract['mutations']['setSlippagesAllowed']>) => Promise<Address>;
2910
+ setLevgVaultHelper: (...args: ExtractArgs<Contract['mutations']['setLevgVaultHelper']>) => Promise<Address>;
2911
+ setMaxDebtRatio: (...args: ExtractArgs<Contract['mutations']['setMaxDebtRatio']>) => Promise<Address>;
2912
+ addVaultManager: (...args: ExtractArgs<Contract['mutations']['addVaultManager']>) => Promise<Address>;
2913
+ removeVaultManager: (...args: ExtractArgs<Contract['mutations']['removeVaultManager']>) => Promise<Address>;
2914
+ registerVaultTokenOnLego: (...args: ExtractArgs<Contract['mutations']['registerVaultTokenOnLego']>) => Promise<Address>;
2915
+ setMorphoRewardsAddr: (...args: ExtractArgs<Contract['mutations']['setMorphoRewardsAddr']>) => Promise<Address>;
2916
+ setEulerRewardsAddr: (...args: ExtractArgs<Contract['mutations']['setEulerRewardsAddr']>) => Promise<Address>;
2917
+ setCompRewardsAddr: (...args: ExtractArgs<Contract['mutations']['setCompRewardsAddr']>) => Promise<Address>;
1465
2918
  executePendingAction: (...args: ExtractArgs<Contract['mutations']['executePendingAction']>) => Promise<Address>;
1466
2919
  cancelPendingAction: (...args: ExtractArgs<Contract['mutations']['cancelPendingAction']>) => Promise<Address>;
1467
2920
  };