@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.
- package/dist/contracts/AaveV3.d.ts +126 -13
- package/dist/contracts/AaveV3.d.ts.map +1 -1
- package/dist/contracts/AaveV3.js +159 -13
- package/dist/contracts/AeroClassic.d.ts +85 -0
- package/dist/contracts/AeroClassic.d.ts.map +1 -1
- package/dist/contracts/AeroClassic.js +109 -1
- package/dist/contracts/AeroSlipstream.d.ts +119 -0
- package/dist/contracts/AeroSlipstream.d.ts.map +1 -1
- package/dist/contracts/AeroSlipstream.js +151 -1
- package/dist/contracts/AgentSenderGeneric.d.ts +4027 -0
- package/dist/contracts/AgentSenderGeneric.d.ts.map +1 -0
- package/dist/contracts/AgentSenderGeneric.js +5280 -0
- package/dist/contracts/AgentSenderSpecial.d.ts +1968 -0
- package/dist/contracts/AgentSenderSpecial.d.ts.map +1 -0
- package/dist/contracts/AgentSenderSpecial.js +2509 -0
- package/dist/contracts/AgentWrapper.d.ts +170 -1462
- package/dist/contracts/AgentWrapper.d.ts.map +1 -1
- package/dist/contracts/AgentWrapper.js +262 -1869
- package/dist/contracts/AgentWrapperV1.d.ts +3760 -0
- package/dist/contracts/AgentWrapperV1.d.ts.map +1 -0
- package/dist/contracts/AgentWrapperV1.js +4922 -0
- package/dist/contracts/Appraiser.d.ts +18 -459
- package/dist/contracts/Appraiser.d.ts.map +1 -1
- package/dist/contracts/Appraiser.js +75 -649
- package/dist/contracts/Avantis.d.ts +2565 -0
- package/dist/contracts/Avantis.d.ts.map +1 -0
- package/dist/contracts/Avantis.js +3256 -0
- package/dist/contracts/Billing.d.ts +4 -68
- package/dist/contracts/Billing.d.ts.map +1 -1
- package/dist/contracts/Billing.js +5 -82
- package/dist/contracts/ChequeBook.d.ts +52 -1
- package/dist/contracts/ChequeBook.d.ts.map +1 -1
- package/dist/contracts/ChequeBook.js +53 -1
- package/dist/contracts/CompoundV3.d.ts +126 -13
- package/dist/contracts/CompoundV3.d.ts.map +1 -1
- package/dist/contracts/CompoundV3.js +159 -13
- package/dist/contracts/ConvertVaultToken.d.ts +63 -0
- package/dist/contracts/ConvertVaultToken.d.ts.map +1 -0
- package/dist/contracts/ConvertVaultToken.js +75 -0
- package/dist/contracts/Curve.d.ts +14 -0
- package/dist/contracts/Curve.d.ts.map +1 -1
- package/dist/contracts/Curve.js +19 -1
- package/dist/contracts/DefaultsBase.d.ts +45 -56
- package/dist/contracts/DefaultsBase.d.ts.map +1 -1
- package/dist/contracts/DefaultsBase.js +45 -59
- package/dist/contracts/EarnVault.d.ts +1680 -0
- package/dist/contracts/EarnVault.d.ts.map +1 -0
- package/dist/contracts/EarnVault.js +2206 -0
- package/dist/contracts/EarnVaultAgent.d.ts +1004 -0
- package/dist/contracts/EarnVaultAgent.d.ts.map +1 -0
- package/dist/contracts/EarnVaultAgent.js +1273 -0
- package/dist/contracts/EarnVaultAgentSigHelper.d.ts +904 -0
- package/dist/contracts/EarnVaultAgentSigHelper.d.ts.map +1 -0
- package/dist/contracts/EarnVaultAgentSigHelper.js +1198 -0
- package/dist/contracts/Euler.d.ts +131 -14
- package/dist/contracts/Euler.d.ts.map +1 -1
- package/dist/contracts/Euler.js +164 -13
- package/dist/contracts/Fluid.d.ts +159 -14
- package/dist/contracts/Fluid.d.ts.map +1 -1
- package/dist/contracts/Fluid.js +200 -13
- package/dist/contracts/FortyAcres.d.ts +145 -14
- package/dist/contracts/FortyAcres.d.ts.map +1 -1
- package/dist/contracts/FortyAcres.js +182 -13
- package/dist/contracts/Hatchery.d.ts +6 -176
- package/dist/contracts/Hatchery.d.ts.map +1 -1
- package/dist/contracts/Hatchery.js +5 -225
- package/dist/contracts/HighCommand.d.ts +237 -1
- package/dist/contracts/HighCommand.d.ts.map +1 -1
- package/dist/contracts/HighCommand.js +259 -1
- package/dist/contracts/Kernel.d.ts +8 -0
- package/dist/contracts/Kernel.d.ts.map +1 -1
- package/dist/contracts/Kernel.js +9 -1
- package/dist/contracts/LegoBook.js +1 -1
- package/dist/contracts/LegoTools.js +1 -1
- package/dist/contracts/LevgVaultHelper.d.ts +1070 -0
- package/dist/contracts/LevgVaultHelper.d.ts.map +1 -0
- package/dist/contracts/LevgVaultHelper.js +1414 -0
- package/dist/contracts/LootDistributor.d.ts +49 -131
- package/dist/contracts/LootDistributor.d.ts.map +1 -1
- package/dist/contracts/LootDistributor.js +58 -157
- package/dist/contracts/Migrator.d.ts +4 -0
- package/dist/contracts/Migrator.d.ts.map +1 -1
- package/dist/contracts/Migrator.js +5 -1
- package/dist/contracts/MissionControl.d.ts +211 -295
- package/dist/contracts/MissionControl.d.ts.map +1 -1
- package/dist/contracts/MissionControl.js +216 -305
- package/dist/contracts/Moonwell.d.ts +131 -14
- package/dist/contracts/Moonwell.d.ts.map +1 -1
- package/dist/contracts/Moonwell.js +164 -13
- package/dist/contracts/Morpho.d.ts +131 -14
- package/dist/contracts/Morpho.d.ts.map +1 -1
- package/dist/contracts/Morpho.js +164 -13
- package/dist/contracts/Paymaster.d.ts +4 -0
- package/dist/contracts/Paymaster.d.ts.map +1 -1
- package/dist/contracts/Paymaster.js +5 -1
- package/dist/contracts/RipeLego.d.ts +267 -81
- package/dist/contracts/RipeLego.d.ts.map +1 -1
- package/dist/contracts/RipeLego.js +322 -87
- package/dist/contracts/Sentinel.d.ts +275 -7
- package/dist/contracts/Sentinel.d.ts.map +1 -1
- package/dist/contracts/Sentinel.js +331 -7
- package/dist/contracts/SkyPsm.d.ts +2622 -0
- package/dist/contracts/SkyPsm.d.ts.map +1 -0
- package/dist/contracts/SkyPsm.js +3329 -0
- package/dist/contracts/Switchboard.d.ts +7 -0
- package/dist/contracts/Switchboard.d.ts.map +1 -1
- package/dist/contracts/Switchboard.js +9 -1
- package/dist/contracts/SwitchboardAlpha.d.ts +499 -264
- package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -1
- package/dist/contracts/SwitchboardAlpha.js +566 -282
- package/dist/contracts/SwitchboardBravo.d.ts +4 -24
- package/dist/contracts/SwitchboardBravo.d.ts.map +1 -1
- package/dist/contracts/SwitchboardBravo.js +5 -32
- package/dist/contracts/SwitchboardCharlie.d.ts +1796 -343
- package/dist/contracts/SwitchboardCharlie.d.ts.map +1 -1
- package/dist/contracts/SwitchboardCharlie.js +2178 -368
- package/dist/contracts/UnderscoreLego.d.ts +129 -15
- package/dist/contracts/UnderscoreLego.d.ts.map +1 -1
- package/dist/contracts/UnderscoreLego.js +161 -14
- package/dist/contracts/UndyAero.d.ts +1680 -0
- package/dist/contracts/UndyAero.d.ts.map +1 -0
- package/dist/contracts/UndyAero.js +2206 -0
- package/dist/contracts/UndyBtc.d.ts +209 -16
- package/dist/contracts/UndyBtc.d.ts.map +1 -1
- package/dist/contracts/UndyBtc.js +267 -16
- package/dist/contracts/UndyCbeth.d.ts +1680 -0
- package/dist/contracts/UndyCbeth.d.ts.map +1 -0
- package/dist/contracts/UndyCbeth.js +2206 -0
- package/dist/contracts/UndyEth.d.ts +209 -16
- package/dist/contracts/UndyEth.d.ts.map +1 -1
- package/dist/contracts/UndyEth.js +267 -16
- package/dist/contracts/UndyEurc.d.ts +1680 -0
- package/dist/contracts/UndyEurc.d.ts.map +1 -0
- package/dist/contracts/UndyEurc.js +2206 -0
- package/dist/contracts/UndyGho.d.ts +1680 -0
- package/dist/contracts/UndyGho.d.ts.map +1 -0
- package/dist/contracts/UndyGho.js +2206 -0
- package/dist/contracts/UndyUsd.d.ts +209 -16
- package/dist/contracts/UndyUsd.d.ts.map +1 -1
- package/dist/contracts/UndyUsd.js +267 -16
- package/dist/contracts/UndyUsds.d.ts +1680 -0
- package/dist/contracts/UndyUsds.d.ts.map +1 -0
- package/dist/contracts/UndyUsds.js +2206 -0
- package/dist/contracts/UniswapV2.d.ts +85 -0
- package/dist/contracts/UniswapV2.d.ts.map +1 -1
- package/dist/contracts/UniswapV2.js +109 -1
- package/dist/contracts/UniswapV3.d.ts +119 -0
- package/dist/contracts/UniswapV3.d.ts.map +1 -1
- package/dist/contracts/UniswapV3.js +151 -1
- package/dist/contracts/UserWallet.d.ts +12 -8
- package/dist/contracts/UserWallet.d.ts.map +1 -1
- package/dist/contracts/UserWallet.js +13 -9
- package/dist/contracts/UserWalletConfig.d.ts +198 -56
- package/dist/contracts/UserWalletConfig.d.ts.map +1 -1
- package/dist/contracts/UserWalletConfig.js +225 -72
- package/dist/contracts/UserWalletConfigV1.d.ts +3655 -0
- package/dist/contracts/UserWalletConfigV1.d.ts.map +1 -0
- package/dist/contracts/UserWalletConfigV1.js +4251 -0
- package/dist/contracts/UserWalletV1.d.ts +2633 -0
- package/dist/contracts/UserWalletV1.d.ts.map +1 -0
- package/dist/contracts/UserWalletV1.js +3500 -0
- package/dist/contracts/VaultRegistry.d.ts +848 -85
- package/dist/contracts/VaultRegistry.d.ts.map +1 -1
- package/dist/contracts/VaultRegistry.js +1078 -83
- package/dist/contracts/WalletBackpack.d.ts +4 -0
- package/dist/contracts/WalletBackpack.d.ts.map +1 -1
- package/dist/contracts/WalletBackpack.js +5 -1
- package/dist/contracts/Wasabi.d.ts +2579 -0
- package/dist/contracts/Wasabi.d.ts.map +1 -0
- package/dist/contracts/Wasabi.js +3274 -0
- package/dist/contracts/index.d.ts +18 -1
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/index.js +18 -1
- package/dist/contracts/sdk.d.ts +36 -2
- package/dist/contracts/sdk.d.ts.map +1 -1
- package/dist/contracts/sdk.js +36 -2
- package/dist/getSwapInstructions.js +1 -1
- package/dist/index.d.ts +95 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +45 -7
- package/package.json +3 -3
|
@@ -225,6 +225,60 @@ export const abi = [
|
|
|
225
225
|
anonymous: false,
|
|
226
226
|
type: 'event',
|
|
227
227
|
},
|
|
228
|
+
{
|
|
229
|
+
name: 'PendingApprovedVaultTokensChange',
|
|
230
|
+
inputs: [
|
|
231
|
+
{
|
|
232
|
+
name: 'vaultAddr',
|
|
233
|
+
type: 'address',
|
|
234
|
+
indexed: true,
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
name: 'numTokens',
|
|
238
|
+
type: 'uint256',
|
|
239
|
+
indexed: false,
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
name: 'isApproved',
|
|
243
|
+
type: 'bool',
|
|
244
|
+
indexed: false,
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
name: 'confirmationBlock',
|
|
248
|
+
type: 'uint256',
|
|
249
|
+
indexed: false,
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
name: 'actionId',
|
|
253
|
+
type: 'uint256',
|
|
254
|
+
indexed: false,
|
|
255
|
+
},
|
|
256
|
+
],
|
|
257
|
+
anonymous: false,
|
|
258
|
+
type: 'event',
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
name: 'ApprovedVaultTokensSet',
|
|
262
|
+
inputs: [
|
|
263
|
+
{
|
|
264
|
+
name: 'vaultAddr',
|
|
265
|
+
type: 'address',
|
|
266
|
+
indexed: true,
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
name: 'numTokens',
|
|
270
|
+
type: 'uint256',
|
|
271
|
+
indexed: false,
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
name: 'isApproved',
|
|
275
|
+
type: 'bool',
|
|
276
|
+
indexed: false,
|
|
277
|
+
},
|
|
278
|
+
],
|
|
279
|
+
anonymous: false,
|
|
280
|
+
type: 'event',
|
|
281
|
+
},
|
|
228
282
|
{
|
|
229
283
|
name: 'PendingPerformanceFeeChange',
|
|
230
284
|
inputs: [
|
|
@@ -357,6 +411,50 @@ export const abi = [
|
|
|
357
411
|
anonymous: false,
|
|
358
412
|
type: 'event',
|
|
359
413
|
},
|
|
414
|
+
{
|
|
415
|
+
name: 'PendingIsLeveragedVaultChange',
|
|
416
|
+
inputs: [
|
|
417
|
+
{
|
|
418
|
+
name: 'vaultAddr',
|
|
419
|
+
type: 'address',
|
|
420
|
+
indexed: true,
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
name: 'isLeveragedVault',
|
|
424
|
+
type: 'bool',
|
|
425
|
+
indexed: false,
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
name: 'confirmationBlock',
|
|
429
|
+
type: 'uint256',
|
|
430
|
+
indexed: false,
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
name: 'actionId',
|
|
434
|
+
type: 'uint256',
|
|
435
|
+
indexed: false,
|
|
436
|
+
},
|
|
437
|
+
],
|
|
438
|
+
anonymous: false,
|
|
439
|
+
type: 'event',
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
name: 'IsLeveragedVaultSet',
|
|
443
|
+
inputs: [
|
|
444
|
+
{
|
|
445
|
+
name: 'vaultAddr',
|
|
446
|
+
type: 'address',
|
|
447
|
+
indexed: true,
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
name: 'isLeveragedVault',
|
|
451
|
+
type: 'bool',
|
|
452
|
+
indexed: false,
|
|
453
|
+
},
|
|
454
|
+
],
|
|
455
|
+
anonymous: false,
|
|
456
|
+
type: 'event',
|
|
457
|
+
},
|
|
360
458
|
{
|
|
361
459
|
name: 'CanDepositSet',
|
|
362
460
|
inputs: [
|
|
@@ -446,44 +544,116 @@ export const abi = [
|
|
|
446
544
|
type: 'event',
|
|
447
545
|
},
|
|
448
546
|
{
|
|
449
|
-
name: '
|
|
547
|
+
name: 'ShouldEnforceAllowlistSet',
|
|
450
548
|
inputs: [
|
|
451
549
|
{
|
|
452
|
-
name: '
|
|
453
|
-
type: '
|
|
550
|
+
name: 'vaultAddr',
|
|
551
|
+
type: 'address',
|
|
552
|
+
indexed: true,
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
name: 'shouldEnforce',
|
|
556
|
+
type: 'bool',
|
|
454
557
|
indexed: false,
|
|
455
558
|
},
|
|
456
559
|
{
|
|
457
|
-
name: '
|
|
458
|
-
type: '
|
|
560
|
+
name: 'caller',
|
|
561
|
+
type: 'address',
|
|
562
|
+
indexed: true,
|
|
563
|
+
},
|
|
564
|
+
],
|
|
565
|
+
anonymous: false,
|
|
566
|
+
type: 'event',
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
name: 'AllowlistUserSet',
|
|
570
|
+
inputs: [
|
|
571
|
+
{
|
|
572
|
+
name: 'vaultAddr',
|
|
573
|
+
type: 'address',
|
|
574
|
+
indexed: true,
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
name: 'user',
|
|
578
|
+
type: 'address',
|
|
579
|
+
indexed: true,
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
name: 'isAllowed',
|
|
583
|
+
type: 'bool',
|
|
459
584
|
indexed: false,
|
|
460
585
|
},
|
|
586
|
+
{
|
|
587
|
+
name: 'caller',
|
|
588
|
+
type: 'address',
|
|
589
|
+
indexed: true,
|
|
590
|
+
},
|
|
461
591
|
],
|
|
462
592
|
anonymous: false,
|
|
463
593
|
type: 'event',
|
|
464
594
|
},
|
|
465
595
|
{
|
|
466
|
-
name: '
|
|
596
|
+
name: 'AllowlistBatchSet',
|
|
467
597
|
inputs: [
|
|
468
598
|
{
|
|
469
|
-
name: '
|
|
599
|
+
name: 'vaultAddr',
|
|
600
|
+
type: 'address',
|
|
601
|
+
indexed: true,
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
name: 'numUsers',
|
|
470
605
|
type: 'uint256',
|
|
471
606
|
indexed: false,
|
|
472
607
|
},
|
|
608
|
+
{
|
|
609
|
+
name: 'isAllowed',
|
|
610
|
+
type: 'bool',
|
|
611
|
+
indexed: false,
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
name: 'caller',
|
|
615
|
+
type: 'address',
|
|
616
|
+
indexed: true,
|
|
617
|
+
},
|
|
473
618
|
],
|
|
474
619
|
anonymous: false,
|
|
475
620
|
type: 'event',
|
|
476
621
|
},
|
|
477
622
|
{
|
|
478
|
-
name: '
|
|
623
|
+
name: 'PendingCollateralVaultChange',
|
|
479
624
|
inputs: [
|
|
480
625
|
{
|
|
481
|
-
name: '
|
|
626
|
+
name: 'vaultAddr',
|
|
627
|
+
type: 'address',
|
|
628
|
+
indexed: true,
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
name: 'vaultToken',
|
|
632
|
+
type: 'address',
|
|
633
|
+
indexed: true,
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
name: 'ripeVaultId',
|
|
482
637
|
type: 'uint256',
|
|
483
638
|
indexed: false,
|
|
484
639
|
},
|
|
485
640
|
{
|
|
486
|
-
name: '
|
|
641
|
+
name: 'legoId',
|
|
642
|
+
type: 'uint256',
|
|
643
|
+
indexed: false,
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
name: 'shouldMaxWithdraw',
|
|
647
|
+
type: 'bool',
|
|
648
|
+
indexed: false,
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
name: 'confirmationBlock',
|
|
652
|
+
type: 'uint256',
|
|
653
|
+
indexed: false,
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
name: 'actionId',
|
|
487
657
|
type: 'uint256',
|
|
488
658
|
indexed: false,
|
|
489
659
|
},
|
|
@@ -492,20 +662,25 @@ export const abi = [
|
|
|
492
662
|
type: 'event',
|
|
493
663
|
},
|
|
494
664
|
{
|
|
495
|
-
name: '
|
|
665
|
+
name: 'CollateralVaultSet',
|
|
496
666
|
inputs: [
|
|
497
667
|
{
|
|
498
|
-
name: '
|
|
668
|
+
name: 'vaultAddr',
|
|
499
669
|
type: 'address',
|
|
500
670
|
indexed: true,
|
|
501
671
|
},
|
|
502
672
|
{
|
|
503
|
-
name: '
|
|
673
|
+
name: 'vaultToken',
|
|
504
674
|
type: 'address',
|
|
505
675
|
indexed: true,
|
|
506
676
|
},
|
|
507
677
|
{
|
|
508
|
-
name: '
|
|
678
|
+
name: 'ripeVaultId',
|
|
679
|
+
type: 'uint256',
|
|
680
|
+
indexed: false,
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
name: 'legoId',
|
|
509
684
|
type: 'uint256',
|
|
510
685
|
indexed: false,
|
|
511
686
|
},
|
|
@@ -514,25 +689,40 @@ export const abi = [
|
|
|
514
689
|
type: 'event',
|
|
515
690
|
},
|
|
516
691
|
{
|
|
517
|
-
name: '
|
|
692
|
+
name: 'PendingLeverageVaultChange',
|
|
518
693
|
inputs: [
|
|
519
694
|
{
|
|
520
|
-
name: '
|
|
695
|
+
name: 'vaultAddr',
|
|
521
696
|
type: 'address',
|
|
522
697
|
indexed: true,
|
|
523
698
|
},
|
|
524
699
|
{
|
|
525
|
-
name: '
|
|
700
|
+
name: 'vaultToken',
|
|
526
701
|
type: 'address',
|
|
527
702
|
indexed: true,
|
|
528
703
|
},
|
|
529
704
|
{
|
|
530
|
-
name: '
|
|
705
|
+
name: 'legoId',
|
|
531
706
|
type: 'uint256',
|
|
532
707
|
indexed: false,
|
|
533
708
|
},
|
|
534
709
|
{
|
|
535
|
-
name: '
|
|
710
|
+
name: 'ripeVaultId',
|
|
711
|
+
type: 'uint256',
|
|
712
|
+
indexed: false,
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
name: 'shouldMaxWithdraw',
|
|
716
|
+
type: 'bool',
|
|
717
|
+
indexed: false,
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
name: 'confirmationBlock',
|
|
721
|
+
type: 'uint256',
|
|
722
|
+
indexed: false,
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
name: 'actionId',
|
|
536
726
|
type: 'uint256',
|
|
537
727
|
indexed: false,
|
|
538
728
|
},
|
|
@@ -541,20 +731,25 @@ export const abi = [
|
|
|
541
731
|
type: 'event',
|
|
542
732
|
},
|
|
543
733
|
{
|
|
544
|
-
name: '
|
|
734
|
+
name: 'LeverageVaultSet',
|
|
545
735
|
inputs: [
|
|
546
736
|
{
|
|
547
|
-
name: '
|
|
737
|
+
name: 'vaultAddr',
|
|
548
738
|
type: 'address',
|
|
549
739
|
indexed: true,
|
|
550
740
|
},
|
|
551
741
|
{
|
|
552
|
-
name: '
|
|
742
|
+
name: 'vaultToken',
|
|
743
|
+
type: 'address',
|
|
744
|
+
indexed: true,
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
name: 'legoId',
|
|
553
748
|
type: 'uint256',
|
|
554
749
|
indexed: false,
|
|
555
750
|
},
|
|
556
751
|
{
|
|
557
|
-
name: '
|
|
752
|
+
name: 'ripeVaultId',
|
|
558
753
|
type: 'uint256',
|
|
559
754
|
indexed: false,
|
|
560
755
|
},
|
|
@@ -563,32 +758,52 @@ export const abi = [
|
|
|
563
758
|
type: 'event',
|
|
564
759
|
},
|
|
565
760
|
{
|
|
566
|
-
name: '
|
|
761
|
+
name: 'PendingSlippagesChange',
|
|
567
762
|
inputs: [
|
|
568
763
|
{
|
|
569
|
-
name: '
|
|
764
|
+
name: 'vaultAddr',
|
|
570
765
|
type: 'address',
|
|
571
766
|
indexed: true,
|
|
572
767
|
},
|
|
768
|
+
{
|
|
769
|
+
name: 'usdcSlippage',
|
|
770
|
+
type: 'uint256',
|
|
771
|
+
indexed: false,
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
name: 'greenSlippage',
|
|
775
|
+
type: 'uint256',
|
|
776
|
+
indexed: false,
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
name: 'confirmationBlock',
|
|
780
|
+
type: 'uint256',
|
|
781
|
+
indexed: false,
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
name: 'actionId',
|
|
785
|
+
type: 'uint256',
|
|
786
|
+
indexed: false,
|
|
787
|
+
},
|
|
573
788
|
],
|
|
574
789
|
anonymous: false,
|
|
575
790
|
type: 'event',
|
|
576
791
|
},
|
|
577
792
|
{
|
|
578
|
-
name: '
|
|
793
|
+
name: 'SlippagesSet',
|
|
579
794
|
inputs: [
|
|
580
795
|
{
|
|
581
|
-
name: '
|
|
796
|
+
name: 'vaultAddr',
|
|
582
797
|
type: 'address',
|
|
583
798
|
indexed: true,
|
|
584
799
|
},
|
|
585
800
|
{
|
|
586
|
-
name: '
|
|
587
|
-
type: '
|
|
588
|
-
indexed:
|
|
801
|
+
name: 'usdcSlippage',
|
|
802
|
+
type: 'uint256',
|
|
803
|
+
indexed: false,
|
|
589
804
|
},
|
|
590
805
|
{
|
|
591
|
-
name: '
|
|
806
|
+
name: 'greenSlippage',
|
|
592
807
|
type: 'uint256',
|
|
593
808
|
indexed: false,
|
|
594
809
|
},
|
|
@@ -597,17 +812,680 @@ export const abi = [
|
|
|
597
812
|
type: 'event',
|
|
598
813
|
},
|
|
599
814
|
{
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
name: 'getAddys',
|
|
603
|
-
inputs: [],
|
|
604
|
-
outputs: [
|
|
815
|
+
name: 'PendingLevgVaultHelperChange',
|
|
816
|
+
inputs: [
|
|
605
817
|
{
|
|
606
|
-
name: '',
|
|
607
|
-
type: '
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
818
|
+
name: 'vaultAddr',
|
|
819
|
+
type: 'address',
|
|
820
|
+
indexed: true,
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
name: 'levgVaultHelper',
|
|
824
|
+
type: 'address',
|
|
825
|
+
indexed: true,
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
name: 'confirmationBlock',
|
|
829
|
+
type: 'uint256',
|
|
830
|
+
indexed: false,
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
name: 'actionId',
|
|
834
|
+
type: 'uint256',
|
|
835
|
+
indexed: false,
|
|
836
|
+
},
|
|
837
|
+
],
|
|
838
|
+
anonymous: false,
|
|
839
|
+
type: 'event',
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
name: 'LevgVaultHelperSet',
|
|
843
|
+
inputs: [
|
|
844
|
+
{
|
|
845
|
+
name: 'vaultAddr',
|
|
846
|
+
type: 'address',
|
|
847
|
+
indexed: true,
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
name: 'levgVaultHelper',
|
|
851
|
+
type: 'address',
|
|
852
|
+
indexed: true,
|
|
853
|
+
},
|
|
854
|
+
],
|
|
855
|
+
anonymous: false,
|
|
856
|
+
type: 'event',
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
name: 'PendingMaxDebtRatioChange',
|
|
860
|
+
inputs: [
|
|
861
|
+
{
|
|
862
|
+
name: 'vaultAddr',
|
|
863
|
+
type: 'address',
|
|
864
|
+
indexed: true,
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
name: 'ratio',
|
|
868
|
+
type: 'uint256',
|
|
869
|
+
indexed: false,
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
name: 'confirmationBlock',
|
|
873
|
+
type: 'uint256',
|
|
874
|
+
indexed: false,
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
name: 'actionId',
|
|
878
|
+
type: 'uint256',
|
|
879
|
+
indexed: false,
|
|
880
|
+
},
|
|
881
|
+
],
|
|
882
|
+
anonymous: false,
|
|
883
|
+
type: 'event',
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
name: 'MaxDebtRatioSet',
|
|
887
|
+
inputs: [
|
|
888
|
+
{
|
|
889
|
+
name: 'vaultAddr',
|
|
890
|
+
type: 'address',
|
|
891
|
+
indexed: true,
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
name: 'ratio',
|
|
895
|
+
type: 'uint256',
|
|
896
|
+
indexed: false,
|
|
897
|
+
},
|
|
898
|
+
],
|
|
899
|
+
anonymous: false,
|
|
900
|
+
type: 'event',
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
name: 'PendingAddManagerChange',
|
|
904
|
+
inputs: [
|
|
905
|
+
{
|
|
906
|
+
name: 'vaultAddr',
|
|
907
|
+
type: 'address',
|
|
908
|
+
indexed: true,
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
name: 'manager',
|
|
912
|
+
type: 'address',
|
|
913
|
+
indexed: true,
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
name: 'confirmationBlock',
|
|
917
|
+
type: 'uint256',
|
|
918
|
+
indexed: false,
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
name: 'actionId',
|
|
922
|
+
type: 'uint256',
|
|
923
|
+
indexed: false,
|
|
924
|
+
},
|
|
925
|
+
],
|
|
926
|
+
anonymous: false,
|
|
927
|
+
type: 'event',
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
name: 'ManagerAdded',
|
|
931
|
+
inputs: [
|
|
932
|
+
{
|
|
933
|
+
name: 'vaultAddr',
|
|
934
|
+
type: 'address',
|
|
935
|
+
indexed: true,
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
name: 'manager',
|
|
939
|
+
type: 'address',
|
|
940
|
+
indexed: true,
|
|
941
|
+
},
|
|
942
|
+
],
|
|
943
|
+
anonymous: false,
|
|
944
|
+
type: 'event',
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
name: 'PendingRemoveManagerChange',
|
|
948
|
+
inputs: [
|
|
949
|
+
{
|
|
950
|
+
name: 'vaultAddr',
|
|
951
|
+
type: 'address',
|
|
952
|
+
indexed: true,
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
name: 'manager',
|
|
956
|
+
type: 'address',
|
|
957
|
+
indexed: true,
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
name: 'confirmationBlock',
|
|
961
|
+
type: 'uint256',
|
|
962
|
+
indexed: false,
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
name: 'actionId',
|
|
966
|
+
type: 'uint256',
|
|
967
|
+
indexed: false,
|
|
968
|
+
},
|
|
969
|
+
],
|
|
970
|
+
anonymous: false,
|
|
971
|
+
type: 'event',
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
name: 'ManagerRemoved',
|
|
975
|
+
inputs: [
|
|
976
|
+
{
|
|
977
|
+
name: 'vaultAddr',
|
|
978
|
+
type: 'address',
|
|
979
|
+
indexed: true,
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
name: 'manager',
|
|
983
|
+
type: 'address',
|
|
984
|
+
indexed: true,
|
|
985
|
+
},
|
|
986
|
+
],
|
|
987
|
+
anonymous: false,
|
|
988
|
+
type: 'event',
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
name: 'PriceSnapshotAdded',
|
|
992
|
+
inputs: [
|
|
993
|
+
{
|
|
994
|
+
name: 'legoId',
|
|
995
|
+
type: 'uint256',
|
|
996
|
+
indexed: true,
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
name: 'legoAddr',
|
|
1000
|
+
type: 'address',
|
|
1001
|
+
indexed: true,
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
name: 'vaultToken',
|
|
1005
|
+
type: 'address',
|
|
1006
|
+
indexed: true,
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
name: 'success',
|
|
1010
|
+
type: 'bool',
|
|
1011
|
+
indexed: false,
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
name: 'caller',
|
|
1015
|
+
type: 'address',
|
|
1016
|
+
indexed: false,
|
|
1017
|
+
},
|
|
1018
|
+
],
|
|
1019
|
+
anonymous: false,
|
|
1020
|
+
type: 'event',
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
name: 'YieldPositionUpdated',
|
|
1024
|
+
inputs: [
|
|
1025
|
+
{
|
|
1026
|
+
name: 'vaultAddr',
|
|
1027
|
+
type: 'address',
|
|
1028
|
+
indexed: true,
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
name: 'vaultToken',
|
|
1032
|
+
type: 'address',
|
|
1033
|
+
indexed: true,
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
name: 'caller',
|
|
1037
|
+
type: 'address',
|
|
1038
|
+
indexed: false,
|
|
1039
|
+
},
|
|
1040
|
+
],
|
|
1041
|
+
anonymous: false,
|
|
1042
|
+
type: 'event',
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
name: 'PerformanceFeesClaimed',
|
|
1046
|
+
inputs: [
|
|
1047
|
+
{
|
|
1048
|
+
name: 'vaultAddr',
|
|
1049
|
+
type: 'address',
|
|
1050
|
+
indexed: true,
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
name: 'amount',
|
|
1054
|
+
type: 'uint256',
|
|
1055
|
+
indexed: false,
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
name: 'caller',
|
|
1059
|
+
type: 'address',
|
|
1060
|
+
indexed: false,
|
|
1061
|
+
},
|
|
1062
|
+
],
|
|
1063
|
+
anonymous: false,
|
|
1064
|
+
type: 'event',
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
name: 'PendingRegisterVaultTokenOnLegoChange',
|
|
1068
|
+
inputs: [
|
|
1069
|
+
{
|
|
1070
|
+
name: 'legoId',
|
|
1071
|
+
type: 'uint256',
|
|
1072
|
+
indexed: true,
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
name: 'asset',
|
|
1076
|
+
type: 'address',
|
|
1077
|
+
indexed: true,
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
name: 'vaultToken',
|
|
1081
|
+
type: 'address',
|
|
1082
|
+
indexed: true,
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
name: 'confirmationBlock',
|
|
1086
|
+
type: 'uint256',
|
|
1087
|
+
indexed: false,
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
name: 'actionId',
|
|
1091
|
+
type: 'uint256',
|
|
1092
|
+
indexed: false,
|
|
1093
|
+
},
|
|
1094
|
+
],
|
|
1095
|
+
anonymous: false,
|
|
1096
|
+
type: 'event',
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
name: 'VaultTokenRegisteredOnLego',
|
|
1100
|
+
inputs: [
|
|
1101
|
+
{
|
|
1102
|
+
name: 'legoId',
|
|
1103
|
+
type: 'uint256',
|
|
1104
|
+
indexed: true,
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
name: 'legoAddr',
|
|
1108
|
+
type: 'address',
|
|
1109
|
+
indexed: true,
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
name: 'asset',
|
|
1113
|
+
type: 'address',
|
|
1114
|
+
indexed: true,
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
name: 'vaultToken',
|
|
1118
|
+
type: 'address',
|
|
1119
|
+
indexed: false,
|
|
1120
|
+
},
|
|
1121
|
+
],
|
|
1122
|
+
anonymous: false,
|
|
1123
|
+
type: 'event',
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
name: 'VaultTokenDeregisteredOnLego',
|
|
1127
|
+
inputs: [
|
|
1128
|
+
{
|
|
1129
|
+
name: 'legoId',
|
|
1130
|
+
type: 'uint256',
|
|
1131
|
+
indexed: true,
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
name: 'legoAddr',
|
|
1135
|
+
type: 'address',
|
|
1136
|
+
indexed: true,
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
name: 'asset',
|
|
1140
|
+
type: 'address',
|
|
1141
|
+
indexed: true,
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
name: 'vaultToken',
|
|
1145
|
+
type: 'address',
|
|
1146
|
+
indexed: false,
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
name: 'caller',
|
|
1150
|
+
type: 'address',
|
|
1151
|
+
indexed: false,
|
|
1152
|
+
},
|
|
1153
|
+
],
|
|
1154
|
+
anonymous: false,
|
|
1155
|
+
type: 'event',
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
name: 'PendingMorphoRewardsAddrChange',
|
|
1159
|
+
inputs: [
|
|
1160
|
+
{
|
|
1161
|
+
name: 'legoId',
|
|
1162
|
+
type: 'uint256',
|
|
1163
|
+
indexed: true,
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
name: 'rewardsAddr',
|
|
1167
|
+
type: 'address',
|
|
1168
|
+
indexed: true,
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
name: 'confirmationBlock',
|
|
1172
|
+
type: 'uint256',
|
|
1173
|
+
indexed: false,
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
name: 'actionId',
|
|
1177
|
+
type: 'uint256',
|
|
1178
|
+
indexed: false,
|
|
1179
|
+
},
|
|
1180
|
+
],
|
|
1181
|
+
anonymous: false,
|
|
1182
|
+
type: 'event',
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
name: 'MorphoRewardsAddrSet',
|
|
1186
|
+
inputs: [
|
|
1187
|
+
{
|
|
1188
|
+
name: 'legoId',
|
|
1189
|
+
type: 'uint256',
|
|
1190
|
+
indexed: true,
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
name: 'legoAddr',
|
|
1194
|
+
type: 'address',
|
|
1195
|
+
indexed: true,
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
name: 'rewardsAddr',
|
|
1199
|
+
type: 'address',
|
|
1200
|
+
indexed: true,
|
|
1201
|
+
},
|
|
1202
|
+
],
|
|
1203
|
+
anonymous: false,
|
|
1204
|
+
type: 'event',
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
name: 'PendingEulerRewardsAddrChange',
|
|
1208
|
+
inputs: [
|
|
1209
|
+
{
|
|
1210
|
+
name: 'legoId',
|
|
1211
|
+
type: 'uint256',
|
|
1212
|
+
indexed: true,
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
name: 'rewardsAddr',
|
|
1216
|
+
type: 'address',
|
|
1217
|
+
indexed: true,
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
name: 'confirmationBlock',
|
|
1221
|
+
type: 'uint256',
|
|
1222
|
+
indexed: false,
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
name: 'actionId',
|
|
1226
|
+
type: 'uint256',
|
|
1227
|
+
indexed: false,
|
|
1228
|
+
},
|
|
1229
|
+
],
|
|
1230
|
+
anonymous: false,
|
|
1231
|
+
type: 'event',
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
name: 'EulerRewardsAddrSet',
|
|
1235
|
+
inputs: [
|
|
1236
|
+
{
|
|
1237
|
+
name: 'legoId',
|
|
1238
|
+
type: 'uint256',
|
|
1239
|
+
indexed: true,
|
|
1240
|
+
},
|
|
1241
|
+
{
|
|
1242
|
+
name: 'legoAddr',
|
|
1243
|
+
type: 'address',
|
|
1244
|
+
indexed: true,
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
name: 'rewardsAddr',
|
|
1248
|
+
type: 'address',
|
|
1249
|
+
indexed: true,
|
|
1250
|
+
},
|
|
1251
|
+
],
|
|
1252
|
+
anonymous: false,
|
|
1253
|
+
type: 'event',
|
|
1254
|
+
},
|
|
1255
|
+
{
|
|
1256
|
+
name: 'PendingCompRewardsAddrChange',
|
|
1257
|
+
inputs: [
|
|
1258
|
+
{
|
|
1259
|
+
name: 'legoId',
|
|
1260
|
+
type: 'uint256',
|
|
1261
|
+
indexed: true,
|
|
1262
|
+
},
|
|
1263
|
+
{
|
|
1264
|
+
name: 'rewardsAddr',
|
|
1265
|
+
type: 'address',
|
|
1266
|
+
indexed: true,
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
name: 'confirmationBlock',
|
|
1270
|
+
type: 'uint256',
|
|
1271
|
+
indexed: false,
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
name: 'actionId',
|
|
1275
|
+
type: 'uint256',
|
|
1276
|
+
indexed: false,
|
|
1277
|
+
},
|
|
1278
|
+
],
|
|
1279
|
+
anonymous: false,
|
|
1280
|
+
type: 'event',
|
|
1281
|
+
},
|
|
1282
|
+
{
|
|
1283
|
+
name: 'CompRewardsAddrSet',
|
|
1284
|
+
inputs: [
|
|
1285
|
+
{
|
|
1286
|
+
name: 'legoId',
|
|
1287
|
+
type: 'uint256',
|
|
1288
|
+
indexed: true,
|
|
1289
|
+
},
|
|
1290
|
+
{
|
|
1291
|
+
name: 'legoAddr',
|
|
1292
|
+
type: 'address',
|
|
1293
|
+
indexed: true,
|
|
1294
|
+
},
|
|
1295
|
+
{
|
|
1296
|
+
name: 'rewardsAddr',
|
|
1297
|
+
type: 'address',
|
|
1298
|
+
indexed: true,
|
|
1299
|
+
},
|
|
1300
|
+
],
|
|
1301
|
+
anonymous: false,
|
|
1302
|
+
type: 'event',
|
|
1303
|
+
},
|
|
1304
|
+
{
|
|
1305
|
+
name: 'LeftoversSwept',
|
|
1306
|
+
inputs: [
|
|
1307
|
+
{
|
|
1308
|
+
name: 'vaultAddr',
|
|
1309
|
+
type: 'address',
|
|
1310
|
+
indexed: true,
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
name: 'amount',
|
|
1314
|
+
type: 'uint256',
|
|
1315
|
+
indexed: false,
|
|
1316
|
+
},
|
|
1317
|
+
{
|
|
1318
|
+
name: 'caller',
|
|
1319
|
+
type: 'address',
|
|
1320
|
+
indexed: false,
|
|
1321
|
+
},
|
|
1322
|
+
],
|
|
1323
|
+
anonymous: false,
|
|
1324
|
+
type: 'event',
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
name: 'GovChangeTimeLockModified',
|
|
1328
|
+
inputs: [
|
|
1329
|
+
{
|
|
1330
|
+
name: 'prevTimeLock',
|
|
1331
|
+
type: 'uint256',
|
|
1332
|
+
indexed: false,
|
|
1333
|
+
},
|
|
1334
|
+
{
|
|
1335
|
+
name: 'newTimeLock',
|
|
1336
|
+
type: 'uint256',
|
|
1337
|
+
indexed: false,
|
|
1338
|
+
},
|
|
1339
|
+
],
|
|
1340
|
+
anonymous: false,
|
|
1341
|
+
type: 'event',
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
name: 'ExpirationSet',
|
|
1345
|
+
inputs: [
|
|
1346
|
+
{
|
|
1347
|
+
name: 'expiration',
|
|
1348
|
+
type: 'uint256',
|
|
1349
|
+
indexed: false,
|
|
1350
|
+
},
|
|
1351
|
+
],
|
|
1352
|
+
anonymous: false,
|
|
1353
|
+
type: 'event',
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
name: 'ActionTimeLockSet',
|
|
1357
|
+
inputs: [
|
|
1358
|
+
{
|
|
1359
|
+
name: 'newTimeLock',
|
|
1360
|
+
type: 'uint256',
|
|
1361
|
+
indexed: false,
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
name: 'prevTimeLock',
|
|
1365
|
+
type: 'uint256',
|
|
1366
|
+
indexed: false,
|
|
1367
|
+
},
|
|
1368
|
+
],
|
|
1369
|
+
anonymous: false,
|
|
1370
|
+
type: 'event',
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
name: 'GovChangeStarted',
|
|
1374
|
+
inputs: [
|
|
1375
|
+
{
|
|
1376
|
+
name: 'prevGov',
|
|
1377
|
+
type: 'address',
|
|
1378
|
+
indexed: true,
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
name: 'newGov',
|
|
1382
|
+
type: 'address',
|
|
1383
|
+
indexed: true,
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
name: 'confirmBlock',
|
|
1387
|
+
type: 'uint256',
|
|
1388
|
+
indexed: false,
|
|
1389
|
+
},
|
|
1390
|
+
],
|
|
1391
|
+
anonymous: false,
|
|
1392
|
+
type: 'event',
|
|
1393
|
+
},
|
|
1394
|
+
{
|
|
1395
|
+
name: 'GovChangeConfirmed',
|
|
1396
|
+
inputs: [
|
|
1397
|
+
{
|
|
1398
|
+
name: 'prevGov',
|
|
1399
|
+
type: 'address',
|
|
1400
|
+
indexed: true,
|
|
1401
|
+
},
|
|
1402
|
+
{
|
|
1403
|
+
name: 'newGov',
|
|
1404
|
+
type: 'address',
|
|
1405
|
+
indexed: true,
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
name: 'initiatedBlock',
|
|
1409
|
+
type: 'uint256',
|
|
1410
|
+
indexed: false,
|
|
1411
|
+
},
|
|
1412
|
+
{
|
|
1413
|
+
name: 'confirmBlock',
|
|
1414
|
+
type: 'uint256',
|
|
1415
|
+
indexed: false,
|
|
1416
|
+
},
|
|
1417
|
+
],
|
|
1418
|
+
anonymous: false,
|
|
1419
|
+
type: 'event',
|
|
1420
|
+
},
|
|
1421
|
+
{
|
|
1422
|
+
name: 'GovChangeCancelled',
|
|
1423
|
+
inputs: [
|
|
1424
|
+
{
|
|
1425
|
+
name: 'cancelledGov',
|
|
1426
|
+
type: 'address',
|
|
1427
|
+
indexed: true,
|
|
1428
|
+
},
|
|
1429
|
+
{
|
|
1430
|
+
name: 'initiatedBlock',
|
|
1431
|
+
type: 'uint256',
|
|
1432
|
+
indexed: false,
|
|
1433
|
+
},
|
|
1434
|
+
{
|
|
1435
|
+
name: 'confirmBlock',
|
|
1436
|
+
type: 'uint256',
|
|
1437
|
+
indexed: false,
|
|
1438
|
+
},
|
|
1439
|
+
],
|
|
1440
|
+
anonymous: false,
|
|
1441
|
+
type: 'event',
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
name: 'GovRelinquished',
|
|
1445
|
+
inputs: [
|
|
1446
|
+
{
|
|
1447
|
+
name: 'prevGov',
|
|
1448
|
+
type: 'address',
|
|
1449
|
+
indexed: true,
|
|
1450
|
+
},
|
|
1451
|
+
],
|
|
1452
|
+
anonymous: false,
|
|
1453
|
+
type: 'event',
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
name: 'UndyHqSetupFinished',
|
|
1457
|
+
inputs: [
|
|
1458
|
+
{
|
|
1459
|
+
name: 'prevGov',
|
|
1460
|
+
type: 'address',
|
|
1461
|
+
indexed: true,
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
name: 'newGov',
|
|
1465
|
+
type: 'address',
|
|
1466
|
+
indexed: true,
|
|
1467
|
+
},
|
|
1468
|
+
{
|
|
1469
|
+
name: 'timeLock',
|
|
1470
|
+
type: 'uint256',
|
|
1471
|
+
indexed: false,
|
|
1472
|
+
},
|
|
1473
|
+
],
|
|
1474
|
+
anonymous: false,
|
|
1475
|
+
type: 'event',
|
|
1476
|
+
},
|
|
1477
|
+
{
|
|
1478
|
+
stateMutability: 'view',
|
|
1479
|
+
type: 'function',
|
|
1480
|
+
name: 'getAddys',
|
|
1481
|
+
inputs: [],
|
|
1482
|
+
outputs: [
|
|
1483
|
+
{
|
|
1484
|
+
name: '',
|
|
1485
|
+
type: 'tuple',
|
|
1486
|
+
components: [
|
|
1487
|
+
{
|
|
1488
|
+
name: 'hq',
|
|
611
1489
|
type: 'address',
|
|
612
1490
|
},
|
|
613
1491
|
{
|
|
@@ -631,28 +1509,487 @@ export const abi = [
|
|
|
631
1509
|
type: 'address',
|
|
632
1510
|
},
|
|
633
1511
|
{
|
|
634
|
-
name: 'hatchery',
|
|
1512
|
+
name: 'hatchery',
|
|
1513
|
+
type: 'address',
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
name: 'lootDistributor',
|
|
1517
|
+
type: 'address',
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
name: 'appraiser',
|
|
1521
|
+
type: 'address',
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1524
|
+
name: 'walletBackpack',
|
|
1525
|
+
type: 'address',
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
name: 'billing',
|
|
1529
|
+
type: 'address',
|
|
1530
|
+
},
|
|
1531
|
+
{
|
|
1532
|
+
name: 'vaultRegistry',
|
|
1533
|
+
type: 'address',
|
|
1534
|
+
},
|
|
1535
|
+
],
|
|
1536
|
+
},
|
|
1537
|
+
],
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
stateMutability: 'view',
|
|
1541
|
+
type: 'function',
|
|
1542
|
+
name: 'getUndyHq',
|
|
1543
|
+
inputs: [],
|
|
1544
|
+
outputs: [
|
|
1545
|
+
{
|
|
1546
|
+
name: '',
|
|
1547
|
+
type: 'address',
|
|
1548
|
+
},
|
|
1549
|
+
],
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
stateMutability: 'view',
|
|
1553
|
+
type: 'function',
|
|
1554
|
+
name: 'getUndyHqFromGov',
|
|
1555
|
+
inputs: [],
|
|
1556
|
+
outputs: [
|
|
1557
|
+
{
|
|
1558
|
+
name: '',
|
|
1559
|
+
type: 'address',
|
|
1560
|
+
},
|
|
1561
|
+
],
|
|
1562
|
+
},
|
|
1563
|
+
{
|
|
1564
|
+
stateMutability: 'view',
|
|
1565
|
+
type: 'function',
|
|
1566
|
+
name: 'canGovern',
|
|
1567
|
+
inputs: [
|
|
1568
|
+
{
|
|
1569
|
+
name: '_addr',
|
|
1570
|
+
type: 'address',
|
|
1571
|
+
},
|
|
1572
|
+
],
|
|
1573
|
+
outputs: [
|
|
1574
|
+
{
|
|
1575
|
+
name: '',
|
|
1576
|
+
type: 'bool',
|
|
1577
|
+
},
|
|
1578
|
+
],
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
stateMutability: 'view',
|
|
1582
|
+
type: 'function',
|
|
1583
|
+
name: 'getGovernors',
|
|
1584
|
+
inputs: [],
|
|
1585
|
+
outputs: [
|
|
1586
|
+
{
|
|
1587
|
+
name: '',
|
|
1588
|
+
type: 'address[]',
|
|
1589
|
+
},
|
|
1590
|
+
],
|
|
1591
|
+
},
|
|
1592
|
+
{
|
|
1593
|
+
stateMutability: 'view',
|
|
1594
|
+
type: 'function',
|
|
1595
|
+
name: 'hasPendingGovChange',
|
|
1596
|
+
inputs: [],
|
|
1597
|
+
outputs: [
|
|
1598
|
+
{
|
|
1599
|
+
name: '',
|
|
1600
|
+
type: 'bool',
|
|
1601
|
+
},
|
|
1602
|
+
],
|
|
1603
|
+
},
|
|
1604
|
+
{
|
|
1605
|
+
stateMutability: 'nonpayable',
|
|
1606
|
+
type: 'function',
|
|
1607
|
+
name: 'startGovernanceChange',
|
|
1608
|
+
inputs: [
|
|
1609
|
+
{
|
|
1610
|
+
name: '_newGov',
|
|
1611
|
+
type: 'address',
|
|
1612
|
+
},
|
|
1613
|
+
],
|
|
1614
|
+
outputs: [],
|
|
1615
|
+
},
|
|
1616
|
+
{
|
|
1617
|
+
stateMutability: 'nonpayable',
|
|
1618
|
+
type: 'function',
|
|
1619
|
+
name: 'confirmGovernanceChange',
|
|
1620
|
+
inputs: [],
|
|
1621
|
+
outputs: [],
|
|
1622
|
+
},
|
|
1623
|
+
{
|
|
1624
|
+
stateMutability: 'nonpayable',
|
|
1625
|
+
type: 'function',
|
|
1626
|
+
name: 'cancelGovernanceChange',
|
|
1627
|
+
inputs: [],
|
|
1628
|
+
outputs: [],
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
stateMutability: 'nonpayable',
|
|
1632
|
+
type: 'function',
|
|
1633
|
+
name: 'relinquishGov',
|
|
1634
|
+
inputs: [],
|
|
1635
|
+
outputs: [],
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
stateMutability: 'nonpayable',
|
|
1639
|
+
type: 'function',
|
|
1640
|
+
name: 'setGovTimeLock',
|
|
1641
|
+
inputs: [
|
|
1642
|
+
{
|
|
1643
|
+
name: '_numBlocks',
|
|
1644
|
+
type: 'uint256',
|
|
1645
|
+
},
|
|
1646
|
+
],
|
|
1647
|
+
outputs: [
|
|
1648
|
+
{
|
|
1649
|
+
name: '',
|
|
1650
|
+
type: 'bool',
|
|
1651
|
+
},
|
|
1652
|
+
],
|
|
1653
|
+
},
|
|
1654
|
+
{
|
|
1655
|
+
stateMutability: 'view',
|
|
1656
|
+
type: 'function',
|
|
1657
|
+
name: 'isValidGovTimeLock',
|
|
1658
|
+
inputs: [
|
|
1659
|
+
{
|
|
1660
|
+
name: '_newTimeLock',
|
|
1661
|
+
type: 'uint256',
|
|
1662
|
+
},
|
|
1663
|
+
],
|
|
1664
|
+
outputs: [
|
|
1665
|
+
{
|
|
1666
|
+
name: '',
|
|
1667
|
+
type: 'bool',
|
|
1668
|
+
},
|
|
1669
|
+
],
|
|
1670
|
+
},
|
|
1671
|
+
{
|
|
1672
|
+
stateMutability: 'view',
|
|
1673
|
+
type: 'function',
|
|
1674
|
+
name: 'minGovChangeTimeLock',
|
|
1675
|
+
inputs: [],
|
|
1676
|
+
outputs: [
|
|
1677
|
+
{
|
|
1678
|
+
name: '',
|
|
1679
|
+
type: 'uint256',
|
|
1680
|
+
},
|
|
1681
|
+
],
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
stateMutability: 'view',
|
|
1685
|
+
type: 'function',
|
|
1686
|
+
name: 'maxGovChangeTimeLock',
|
|
1687
|
+
inputs: [],
|
|
1688
|
+
outputs: [
|
|
1689
|
+
{
|
|
1690
|
+
name: '',
|
|
1691
|
+
type: 'uint256',
|
|
1692
|
+
},
|
|
1693
|
+
],
|
|
1694
|
+
},
|
|
1695
|
+
{
|
|
1696
|
+
stateMutability: 'nonpayable',
|
|
1697
|
+
type: 'function',
|
|
1698
|
+
name: 'finishUndyHqSetup',
|
|
1699
|
+
inputs: [
|
|
1700
|
+
{
|
|
1701
|
+
name: '_newGov',
|
|
1702
|
+
type: 'address',
|
|
1703
|
+
},
|
|
1704
|
+
],
|
|
1705
|
+
outputs: [
|
|
1706
|
+
{
|
|
1707
|
+
name: '',
|
|
1708
|
+
type: 'bool',
|
|
1709
|
+
},
|
|
1710
|
+
],
|
|
1711
|
+
},
|
|
1712
|
+
{
|
|
1713
|
+
stateMutability: 'nonpayable',
|
|
1714
|
+
type: 'function',
|
|
1715
|
+
name: 'finishUndyHqSetup',
|
|
1716
|
+
inputs: [
|
|
1717
|
+
{
|
|
1718
|
+
name: '_newGov',
|
|
1719
|
+
type: 'address',
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
name: '_timeLock',
|
|
1723
|
+
type: 'uint256',
|
|
1724
|
+
},
|
|
1725
|
+
],
|
|
1726
|
+
outputs: [
|
|
1727
|
+
{
|
|
1728
|
+
name: '',
|
|
1729
|
+
type: 'bool',
|
|
1730
|
+
},
|
|
1731
|
+
],
|
|
1732
|
+
},
|
|
1733
|
+
{
|
|
1734
|
+
stateMutability: 'view',
|
|
1735
|
+
type: 'function',
|
|
1736
|
+
name: 'governance',
|
|
1737
|
+
inputs: [],
|
|
1738
|
+
outputs: [
|
|
1739
|
+
{
|
|
1740
|
+
name: '',
|
|
1741
|
+
type: 'address',
|
|
1742
|
+
},
|
|
1743
|
+
],
|
|
1744
|
+
},
|
|
1745
|
+
{
|
|
1746
|
+
stateMutability: 'view',
|
|
1747
|
+
type: 'function',
|
|
1748
|
+
name: 'pendingGov',
|
|
1749
|
+
inputs: [],
|
|
1750
|
+
outputs: [
|
|
1751
|
+
{
|
|
1752
|
+
name: '',
|
|
1753
|
+
type: 'tuple',
|
|
1754
|
+
components: [
|
|
1755
|
+
{
|
|
1756
|
+
name: 'newGov',
|
|
635
1757
|
type: 'address',
|
|
636
1758
|
},
|
|
637
1759
|
{
|
|
638
|
-
name: '
|
|
639
|
-
type: '
|
|
1760
|
+
name: 'initiatedBlock',
|
|
1761
|
+
type: 'uint256',
|
|
640
1762
|
},
|
|
641
1763
|
{
|
|
642
|
-
name: '
|
|
643
|
-
type: '
|
|
1764
|
+
name: 'confirmBlock',
|
|
1765
|
+
type: 'uint256',
|
|
644
1766
|
},
|
|
1767
|
+
],
|
|
1768
|
+
},
|
|
1769
|
+
],
|
|
1770
|
+
},
|
|
1771
|
+
{
|
|
1772
|
+
stateMutability: 'view',
|
|
1773
|
+
type: 'function',
|
|
1774
|
+
name: 'numGovChanges',
|
|
1775
|
+
inputs: [],
|
|
1776
|
+
outputs: [
|
|
1777
|
+
{
|
|
1778
|
+
name: '',
|
|
1779
|
+
type: 'uint256',
|
|
1780
|
+
},
|
|
1781
|
+
],
|
|
1782
|
+
},
|
|
1783
|
+
{
|
|
1784
|
+
stateMutability: 'view',
|
|
1785
|
+
type: 'function',
|
|
1786
|
+
name: 'govChangeTimeLock',
|
|
1787
|
+
inputs: [],
|
|
1788
|
+
outputs: [
|
|
1789
|
+
{
|
|
1790
|
+
name: '',
|
|
1791
|
+
type: 'uint256',
|
|
1792
|
+
},
|
|
1793
|
+
],
|
|
1794
|
+
},
|
|
1795
|
+
{
|
|
1796
|
+
stateMutability: 'view',
|
|
1797
|
+
type: 'function',
|
|
1798
|
+
name: 'canConfirmAction',
|
|
1799
|
+
inputs: [
|
|
1800
|
+
{
|
|
1801
|
+
name: '_actionId',
|
|
1802
|
+
type: 'uint256',
|
|
1803
|
+
},
|
|
1804
|
+
],
|
|
1805
|
+
outputs: [
|
|
1806
|
+
{
|
|
1807
|
+
name: '',
|
|
1808
|
+
type: 'bool',
|
|
1809
|
+
},
|
|
1810
|
+
],
|
|
1811
|
+
},
|
|
1812
|
+
{
|
|
1813
|
+
stateMutability: 'view',
|
|
1814
|
+
type: 'function',
|
|
1815
|
+
name: 'isExpired',
|
|
1816
|
+
inputs: [
|
|
1817
|
+
{
|
|
1818
|
+
name: '_actionId',
|
|
1819
|
+
type: 'uint256',
|
|
1820
|
+
},
|
|
1821
|
+
],
|
|
1822
|
+
outputs: [
|
|
1823
|
+
{
|
|
1824
|
+
name: '',
|
|
1825
|
+
type: 'bool',
|
|
1826
|
+
},
|
|
1827
|
+
],
|
|
1828
|
+
},
|
|
1829
|
+
{
|
|
1830
|
+
stateMutability: 'view',
|
|
1831
|
+
type: 'function',
|
|
1832
|
+
name: 'hasPendingAction',
|
|
1833
|
+
inputs: [
|
|
1834
|
+
{
|
|
1835
|
+
name: '_actionId',
|
|
1836
|
+
type: 'uint256',
|
|
1837
|
+
},
|
|
1838
|
+
],
|
|
1839
|
+
outputs: [
|
|
1840
|
+
{
|
|
1841
|
+
name: '',
|
|
1842
|
+
type: 'bool',
|
|
1843
|
+
},
|
|
1844
|
+
],
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
stateMutability: 'view',
|
|
1848
|
+
type: 'function',
|
|
1849
|
+
name: 'getActionConfirmationBlock',
|
|
1850
|
+
inputs: [
|
|
1851
|
+
{
|
|
1852
|
+
name: '_actionId',
|
|
1853
|
+
type: 'uint256',
|
|
1854
|
+
},
|
|
1855
|
+
],
|
|
1856
|
+
outputs: [
|
|
1857
|
+
{
|
|
1858
|
+
name: '',
|
|
1859
|
+
type: 'uint256',
|
|
1860
|
+
},
|
|
1861
|
+
],
|
|
1862
|
+
},
|
|
1863
|
+
{
|
|
1864
|
+
stateMutability: 'nonpayable',
|
|
1865
|
+
type: 'function',
|
|
1866
|
+
name: 'setActionTimeLock',
|
|
1867
|
+
inputs: [
|
|
1868
|
+
{
|
|
1869
|
+
name: '_newTimeLock',
|
|
1870
|
+
type: 'uint256',
|
|
1871
|
+
},
|
|
1872
|
+
],
|
|
1873
|
+
outputs: [
|
|
1874
|
+
{
|
|
1875
|
+
name: '',
|
|
1876
|
+
type: 'bool',
|
|
1877
|
+
},
|
|
1878
|
+
],
|
|
1879
|
+
},
|
|
1880
|
+
{
|
|
1881
|
+
stateMutability: 'view',
|
|
1882
|
+
type: 'function',
|
|
1883
|
+
name: 'isValidActionTimeLock',
|
|
1884
|
+
inputs: [
|
|
1885
|
+
{
|
|
1886
|
+
name: '_newTimeLock',
|
|
1887
|
+
type: 'uint256',
|
|
1888
|
+
},
|
|
1889
|
+
],
|
|
1890
|
+
outputs: [
|
|
1891
|
+
{
|
|
1892
|
+
name: '',
|
|
1893
|
+
type: 'bool',
|
|
1894
|
+
},
|
|
1895
|
+
],
|
|
1896
|
+
},
|
|
1897
|
+
{
|
|
1898
|
+
stateMutability: 'view',
|
|
1899
|
+
type: 'function',
|
|
1900
|
+
name: 'minActionTimeLock',
|
|
1901
|
+
inputs: [],
|
|
1902
|
+
outputs: [
|
|
1903
|
+
{
|
|
1904
|
+
name: '',
|
|
1905
|
+
type: 'uint256',
|
|
1906
|
+
},
|
|
1907
|
+
],
|
|
1908
|
+
},
|
|
1909
|
+
{
|
|
1910
|
+
stateMutability: 'view',
|
|
1911
|
+
type: 'function',
|
|
1912
|
+
name: 'maxActionTimeLock',
|
|
1913
|
+
inputs: [],
|
|
1914
|
+
outputs: [
|
|
1915
|
+
{
|
|
1916
|
+
name: '',
|
|
1917
|
+
type: 'uint256',
|
|
1918
|
+
},
|
|
1919
|
+
],
|
|
1920
|
+
},
|
|
1921
|
+
{
|
|
1922
|
+
stateMutability: 'nonpayable',
|
|
1923
|
+
type: 'function',
|
|
1924
|
+
name: 'setExpiration',
|
|
1925
|
+
inputs: [
|
|
1926
|
+
{
|
|
1927
|
+
name: '_expiration',
|
|
1928
|
+
type: 'uint256',
|
|
1929
|
+
},
|
|
1930
|
+
],
|
|
1931
|
+
outputs: [
|
|
1932
|
+
{
|
|
1933
|
+
name: '',
|
|
1934
|
+
type: 'bool',
|
|
1935
|
+
},
|
|
1936
|
+
],
|
|
1937
|
+
},
|
|
1938
|
+
{
|
|
1939
|
+
stateMutability: 'nonpayable',
|
|
1940
|
+
type: 'function',
|
|
1941
|
+
name: 'setActionTimeLockAfterSetup',
|
|
1942
|
+
inputs: [],
|
|
1943
|
+
outputs: [
|
|
1944
|
+
{
|
|
1945
|
+
name: '',
|
|
1946
|
+
type: 'bool',
|
|
1947
|
+
},
|
|
1948
|
+
],
|
|
1949
|
+
},
|
|
1950
|
+
{
|
|
1951
|
+
stateMutability: 'nonpayable',
|
|
1952
|
+
type: 'function',
|
|
1953
|
+
name: 'setActionTimeLockAfterSetup',
|
|
1954
|
+
inputs: [
|
|
1955
|
+
{
|
|
1956
|
+
name: '_newTimeLock',
|
|
1957
|
+
type: 'uint256',
|
|
1958
|
+
},
|
|
1959
|
+
],
|
|
1960
|
+
outputs: [
|
|
1961
|
+
{
|
|
1962
|
+
name: '',
|
|
1963
|
+
type: 'bool',
|
|
1964
|
+
},
|
|
1965
|
+
],
|
|
1966
|
+
},
|
|
1967
|
+
{
|
|
1968
|
+
stateMutability: 'view',
|
|
1969
|
+
type: 'function',
|
|
1970
|
+
name: 'pendingActions',
|
|
1971
|
+
inputs: [
|
|
1972
|
+
{
|
|
1973
|
+
name: 'arg0',
|
|
1974
|
+
type: 'uint256',
|
|
1975
|
+
},
|
|
1976
|
+
],
|
|
1977
|
+
outputs: [
|
|
1978
|
+
{
|
|
1979
|
+
name: '',
|
|
1980
|
+
type: 'tuple',
|
|
1981
|
+
components: [
|
|
645
1982
|
{
|
|
646
|
-
name: '
|
|
647
|
-
type: '
|
|
1983
|
+
name: 'initiatedBlock',
|
|
1984
|
+
type: 'uint256',
|
|
648
1985
|
},
|
|
649
1986
|
{
|
|
650
|
-
name: '
|
|
651
|
-
type: '
|
|
1987
|
+
name: 'confirmBlock',
|
|
1988
|
+
type: 'uint256',
|
|
652
1989
|
},
|
|
653
1990
|
{
|
|
654
|
-
name: '
|
|
655
|
-
type: '
|
|
1991
|
+
name: 'expiration',
|
|
1992
|
+
type: 'uint256',
|
|
656
1993
|
},
|
|
657
1994
|
],
|
|
658
1995
|
},
|
|
@@ -661,152 +1998,323 @@ export const abi = [
|
|
|
661
1998
|
{
|
|
662
1999
|
stateMutability: 'view',
|
|
663
2000
|
type: 'function',
|
|
664
|
-
name: '
|
|
2001
|
+
name: 'actionId',
|
|
665
2002
|
inputs: [],
|
|
666
2003
|
outputs: [
|
|
667
2004
|
{
|
|
668
2005
|
name: '',
|
|
669
|
-
type: '
|
|
2006
|
+
type: 'uint256',
|
|
670
2007
|
},
|
|
671
2008
|
],
|
|
672
2009
|
},
|
|
673
2010
|
{
|
|
674
2011
|
stateMutability: 'view',
|
|
675
2012
|
type: 'function',
|
|
676
|
-
name: '
|
|
2013
|
+
name: 'actionTimeLock',
|
|
677
2014
|
inputs: [],
|
|
678
2015
|
outputs: [
|
|
679
2016
|
{
|
|
680
2017
|
name: '',
|
|
681
|
-
type: '
|
|
2018
|
+
type: 'uint256',
|
|
682
2019
|
},
|
|
683
2020
|
],
|
|
684
2021
|
},
|
|
685
2022
|
{
|
|
686
2023
|
stateMutability: 'view',
|
|
687
2024
|
type: 'function',
|
|
688
|
-
name: '
|
|
2025
|
+
name: 'expiration',
|
|
2026
|
+
inputs: [],
|
|
2027
|
+
outputs: [
|
|
2028
|
+
{
|
|
2029
|
+
name: '',
|
|
2030
|
+
type: 'uint256',
|
|
2031
|
+
},
|
|
2032
|
+
],
|
|
2033
|
+
},
|
|
2034
|
+
{
|
|
2035
|
+
stateMutability: 'nonpayable',
|
|
2036
|
+
type: 'function',
|
|
2037
|
+
name: 'setCanDeposit',
|
|
689
2038
|
inputs: [
|
|
690
2039
|
{
|
|
691
|
-
name: '
|
|
2040
|
+
name: '_vaultAddr',
|
|
692
2041
|
type: 'address',
|
|
693
2042
|
},
|
|
2043
|
+
{
|
|
2044
|
+
name: '_canDeposit',
|
|
2045
|
+
type: 'bool',
|
|
2046
|
+
},
|
|
694
2047
|
],
|
|
695
|
-
outputs: [
|
|
2048
|
+
outputs: [],
|
|
2049
|
+
},
|
|
2050
|
+
{
|
|
2051
|
+
stateMutability: 'nonpayable',
|
|
2052
|
+
type: 'function',
|
|
2053
|
+
name: 'setCanWithdraw',
|
|
2054
|
+
inputs: [
|
|
696
2055
|
{
|
|
697
|
-
name: '',
|
|
2056
|
+
name: '_vaultAddr',
|
|
2057
|
+
type: 'address',
|
|
2058
|
+
},
|
|
2059
|
+
{
|
|
2060
|
+
name: '_canWithdraw',
|
|
698
2061
|
type: 'bool',
|
|
699
2062
|
},
|
|
700
2063
|
],
|
|
2064
|
+
outputs: [],
|
|
701
2065
|
},
|
|
702
2066
|
{
|
|
703
|
-
stateMutability: '
|
|
2067
|
+
stateMutability: 'nonpayable',
|
|
704
2068
|
type: 'function',
|
|
705
|
-
name: '
|
|
706
|
-
inputs: [
|
|
707
|
-
outputs: [
|
|
2069
|
+
name: 'setVaultOpsFrozen',
|
|
2070
|
+
inputs: [
|
|
708
2071
|
{
|
|
709
|
-
name: '',
|
|
710
|
-
type: 'address
|
|
2072
|
+
name: '_vaultAddr',
|
|
2073
|
+
type: 'address',
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
name: '_isFrozen',
|
|
2077
|
+
type: 'bool',
|
|
711
2078
|
},
|
|
712
2079
|
],
|
|
2080
|
+
outputs: [],
|
|
713
2081
|
},
|
|
714
2082
|
{
|
|
715
|
-
stateMutability: '
|
|
2083
|
+
stateMutability: 'nonpayable',
|
|
716
2084
|
type: 'function',
|
|
717
|
-
name: '
|
|
718
|
-
inputs: [
|
|
719
|
-
outputs: [
|
|
2085
|
+
name: 'setShouldAutoDeposit',
|
|
2086
|
+
inputs: [
|
|
720
2087
|
{
|
|
721
|
-
name: '',
|
|
2088
|
+
name: '_vaultAddr',
|
|
2089
|
+
type: 'address',
|
|
2090
|
+
},
|
|
2091
|
+
{
|
|
2092
|
+
name: '_shouldAutoDeposit',
|
|
722
2093
|
type: 'bool',
|
|
723
2094
|
},
|
|
724
2095
|
],
|
|
2096
|
+
outputs: [],
|
|
725
2097
|
},
|
|
726
2098
|
{
|
|
727
2099
|
stateMutability: 'nonpayable',
|
|
728
2100
|
type: 'function',
|
|
729
|
-
name: '
|
|
2101
|
+
name: 'setShouldEnforceAllowlist',
|
|
730
2102
|
inputs: [
|
|
731
2103
|
{
|
|
732
|
-
name: '
|
|
2104
|
+
name: '_vaultAddr',
|
|
733
2105
|
type: 'address',
|
|
734
2106
|
},
|
|
2107
|
+
{
|
|
2108
|
+
name: '_shouldEnforce',
|
|
2109
|
+
type: 'bool',
|
|
2110
|
+
},
|
|
735
2111
|
],
|
|
736
2112
|
outputs: [],
|
|
737
2113
|
},
|
|
738
2114
|
{
|
|
739
2115
|
stateMutability: 'nonpayable',
|
|
740
2116
|
type: 'function',
|
|
741
|
-
name: '
|
|
742
|
-
inputs: [
|
|
2117
|
+
name: 'setAllowed',
|
|
2118
|
+
inputs: [
|
|
2119
|
+
{
|
|
2120
|
+
name: '_vaultAddr',
|
|
2121
|
+
type: 'address',
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
name: '_user',
|
|
2125
|
+
type: 'address',
|
|
2126
|
+
},
|
|
2127
|
+
{
|
|
2128
|
+
name: '_isAllowed',
|
|
2129
|
+
type: 'bool',
|
|
2130
|
+
},
|
|
2131
|
+
],
|
|
743
2132
|
outputs: [],
|
|
744
2133
|
},
|
|
745
2134
|
{
|
|
746
2135
|
stateMutability: 'nonpayable',
|
|
747
2136
|
type: 'function',
|
|
748
|
-
name: '
|
|
749
|
-
inputs: [
|
|
2137
|
+
name: 'setAllowedBatch',
|
|
2138
|
+
inputs: [
|
|
2139
|
+
{
|
|
2140
|
+
name: '_vaultAddr',
|
|
2141
|
+
type: 'address',
|
|
2142
|
+
},
|
|
2143
|
+
{
|
|
2144
|
+
name: '_users',
|
|
2145
|
+
type: 'address[]',
|
|
2146
|
+
},
|
|
2147
|
+
{
|
|
2148
|
+
name: '_isAllowed',
|
|
2149
|
+
type: 'bool',
|
|
2150
|
+
},
|
|
2151
|
+
],
|
|
750
2152
|
outputs: [],
|
|
751
2153
|
},
|
|
752
2154
|
{
|
|
753
2155
|
stateMutability: 'nonpayable',
|
|
754
2156
|
type: 'function',
|
|
755
|
-
name: '
|
|
756
|
-
inputs: [
|
|
2157
|
+
name: 'addPriceSnapshot',
|
|
2158
|
+
inputs: [
|
|
2159
|
+
{
|
|
2160
|
+
name: '_legoId',
|
|
2161
|
+
type: 'uint256',
|
|
2162
|
+
},
|
|
2163
|
+
{
|
|
2164
|
+
name: '_vaultToken',
|
|
2165
|
+
type: 'address',
|
|
2166
|
+
},
|
|
2167
|
+
],
|
|
2168
|
+
outputs: [
|
|
2169
|
+
{
|
|
2170
|
+
name: '',
|
|
2171
|
+
type: 'bool',
|
|
2172
|
+
},
|
|
2173
|
+
],
|
|
2174
|
+
},
|
|
2175
|
+
{
|
|
2176
|
+
stateMutability: 'nonpayable',
|
|
2177
|
+
type: 'function',
|
|
2178
|
+
name: 'deregisterVaultTokenOnLego',
|
|
2179
|
+
inputs: [
|
|
2180
|
+
{
|
|
2181
|
+
name: '_legoId',
|
|
2182
|
+
type: 'uint256',
|
|
2183
|
+
},
|
|
2184
|
+
{
|
|
2185
|
+
name: '_asset',
|
|
2186
|
+
type: 'address',
|
|
2187
|
+
},
|
|
2188
|
+
{
|
|
2189
|
+
name: '_vaultToken',
|
|
2190
|
+
type: 'address',
|
|
2191
|
+
},
|
|
2192
|
+
],
|
|
2193
|
+
outputs: [
|
|
2194
|
+
{
|
|
2195
|
+
name: '',
|
|
2196
|
+
type: 'uint256',
|
|
2197
|
+
},
|
|
2198
|
+
],
|
|
2199
|
+
},
|
|
2200
|
+
{
|
|
2201
|
+
stateMutability: 'nonpayable',
|
|
2202
|
+
type: 'function',
|
|
2203
|
+
name: 'updateYieldPosition',
|
|
2204
|
+
inputs: [
|
|
2205
|
+
{
|
|
2206
|
+
name: '_vaultAddr',
|
|
2207
|
+
type: 'address',
|
|
2208
|
+
},
|
|
2209
|
+
{
|
|
2210
|
+
name: '_vaultToken',
|
|
2211
|
+
type: 'address',
|
|
2212
|
+
},
|
|
2213
|
+
],
|
|
757
2214
|
outputs: [],
|
|
758
2215
|
},
|
|
759
2216
|
{
|
|
760
2217
|
stateMutability: 'nonpayable',
|
|
761
2218
|
type: 'function',
|
|
762
|
-
name: '
|
|
2219
|
+
name: 'claimPerformanceFees',
|
|
2220
|
+
inputs: [
|
|
2221
|
+
{
|
|
2222
|
+
name: '_vaultAddr',
|
|
2223
|
+
type: 'address',
|
|
2224
|
+
},
|
|
2225
|
+
],
|
|
2226
|
+
outputs: [
|
|
2227
|
+
{
|
|
2228
|
+
name: '',
|
|
2229
|
+
type: 'uint256',
|
|
2230
|
+
},
|
|
2231
|
+
],
|
|
2232
|
+
},
|
|
2233
|
+
{
|
|
2234
|
+
stateMutability: 'nonpayable',
|
|
2235
|
+
type: 'function',
|
|
2236
|
+
name: 'sweepLeftovers',
|
|
2237
|
+
inputs: [
|
|
2238
|
+
{
|
|
2239
|
+
name: '_vaultAddr',
|
|
2240
|
+
type: 'address',
|
|
2241
|
+
},
|
|
2242
|
+
],
|
|
2243
|
+
outputs: [
|
|
2244
|
+
{
|
|
2245
|
+
name: '',
|
|
2246
|
+
type: 'uint256',
|
|
2247
|
+
},
|
|
2248
|
+
],
|
|
2249
|
+
},
|
|
2250
|
+
{
|
|
2251
|
+
stateMutability: 'nonpayable',
|
|
2252
|
+
type: 'function',
|
|
2253
|
+
name: 'setRedemptionBuffer',
|
|
763
2254
|
inputs: [
|
|
764
2255
|
{
|
|
765
|
-
name: '
|
|
2256
|
+
name: '_vaultAddr',
|
|
2257
|
+
type: 'address',
|
|
2258
|
+
},
|
|
2259
|
+
{
|
|
2260
|
+
name: '_buffer',
|
|
766
2261
|
type: 'uint256',
|
|
767
2262
|
},
|
|
768
2263
|
],
|
|
769
2264
|
outputs: [
|
|
770
2265
|
{
|
|
771
2266
|
name: '',
|
|
772
|
-
type: '
|
|
2267
|
+
type: 'uint256',
|
|
773
2268
|
},
|
|
774
2269
|
],
|
|
775
2270
|
},
|
|
776
2271
|
{
|
|
777
|
-
stateMutability: '
|
|
2272
|
+
stateMutability: 'nonpayable',
|
|
778
2273
|
type: 'function',
|
|
779
|
-
name: '
|
|
2274
|
+
name: 'setMinYieldWithdrawAmount',
|
|
780
2275
|
inputs: [
|
|
781
2276
|
{
|
|
782
|
-
name: '
|
|
2277
|
+
name: '_vaultAddr',
|
|
2278
|
+
type: 'address',
|
|
2279
|
+
},
|
|
2280
|
+
{
|
|
2281
|
+
name: '_amount',
|
|
783
2282
|
type: 'uint256',
|
|
784
2283
|
},
|
|
785
2284
|
],
|
|
786
2285
|
outputs: [
|
|
787
2286
|
{
|
|
788
2287
|
name: '',
|
|
789
|
-
type: '
|
|
2288
|
+
type: 'uint256',
|
|
790
2289
|
},
|
|
791
2290
|
],
|
|
792
2291
|
},
|
|
793
2292
|
{
|
|
794
|
-
stateMutability: '
|
|
2293
|
+
stateMutability: 'nonpayable',
|
|
795
2294
|
type: 'function',
|
|
796
|
-
name: '
|
|
797
|
-
inputs: [
|
|
798
|
-
outputs: [
|
|
2295
|
+
name: 'setSnapShotPriceConfig',
|
|
2296
|
+
inputs: [
|
|
799
2297
|
{
|
|
800
|
-
name: '',
|
|
2298
|
+
name: '_legoId',
|
|
2299
|
+
type: 'uint256',
|
|
2300
|
+
},
|
|
2301
|
+
{
|
|
2302
|
+
name: '_minSnapshotDelay',
|
|
2303
|
+
type: 'uint256',
|
|
2304
|
+
},
|
|
2305
|
+
{
|
|
2306
|
+
name: '_maxNumSnapshots',
|
|
2307
|
+
type: 'uint256',
|
|
2308
|
+
},
|
|
2309
|
+
{
|
|
2310
|
+
name: '_maxUpsideDeviation',
|
|
2311
|
+
type: 'uint256',
|
|
2312
|
+
},
|
|
2313
|
+
{
|
|
2314
|
+
name: '_staleTime',
|
|
801
2315
|
type: 'uint256',
|
|
802
2316
|
},
|
|
803
2317
|
],
|
|
804
|
-
},
|
|
805
|
-
{
|
|
806
|
-
stateMutability: 'view',
|
|
807
|
-
type: 'function',
|
|
808
|
-
name: 'maxGovChangeTimeLock',
|
|
809
|
-
inputs: [],
|
|
810
2318
|
outputs: [
|
|
811
2319
|
{
|
|
812
2320
|
name: '',
|
|
@@ -817,84 +2325,75 @@ export const abi = [
|
|
|
817
2325
|
{
|
|
818
2326
|
stateMutability: 'nonpayable',
|
|
819
2327
|
type: 'function',
|
|
820
|
-
name: '
|
|
2328
|
+
name: 'setApprovedVaultToken',
|
|
821
2329
|
inputs: [
|
|
822
2330
|
{
|
|
823
|
-
name: '
|
|
2331
|
+
name: '_undyVaultAddr',
|
|
2332
|
+
type: 'address',
|
|
2333
|
+
},
|
|
2334
|
+
{
|
|
2335
|
+
name: '_vaultToken',
|
|
824
2336
|
type: 'address',
|
|
825
2337
|
},
|
|
2338
|
+
{
|
|
2339
|
+
name: '_isApproved',
|
|
2340
|
+
type: 'bool',
|
|
2341
|
+
},
|
|
2342
|
+
{
|
|
2343
|
+
name: '_shouldMaxWithdraw',
|
|
2344
|
+
type: 'bool',
|
|
2345
|
+
},
|
|
826
2346
|
],
|
|
827
2347
|
outputs: [
|
|
828
2348
|
{
|
|
829
2349
|
name: '',
|
|
830
|
-
type: '
|
|
2350
|
+
type: 'uint256',
|
|
831
2351
|
},
|
|
832
2352
|
],
|
|
833
2353
|
},
|
|
834
2354
|
{
|
|
835
2355
|
stateMutability: 'nonpayable',
|
|
836
2356
|
type: 'function',
|
|
837
|
-
name: '
|
|
2357
|
+
name: 'setApprovedVaultTokens',
|
|
838
2358
|
inputs: [
|
|
839
2359
|
{
|
|
840
|
-
name: '
|
|
2360
|
+
name: '_undyVaultAddr',
|
|
841
2361
|
type: 'address',
|
|
842
2362
|
},
|
|
843
2363
|
{
|
|
844
|
-
name: '
|
|
845
|
-
type: '
|
|
2364
|
+
name: '_vaultTokens',
|
|
2365
|
+
type: 'address[]',
|
|
846
2366
|
},
|
|
847
|
-
],
|
|
848
|
-
outputs: [
|
|
849
2367
|
{
|
|
850
|
-
name: '',
|
|
2368
|
+
name: '_isApproved',
|
|
2369
|
+
type: 'bool',
|
|
2370
|
+
},
|
|
2371
|
+
{
|
|
2372
|
+
name: '_shouldMaxWithdraw',
|
|
851
2373
|
type: 'bool',
|
|
852
2374
|
},
|
|
853
2375
|
],
|
|
854
|
-
},
|
|
855
|
-
{
|
|
856
|
-
stateMutability: 'view',
|
|
857
|
-
type: 'function',
|
|
858
|
-
name: 'governance',
|
|
859
|
-
inputs: [],
|
|
860
2376
|
outputs: [
|
|
861
2377
|
{
|
|
862
2378
|
name: '',
|
|
863
|
-
type: '
|
|
2379
|
+
type: 'uint256',
|
|
864
2380
|
},
|
|
865
2381
|
],
|
|
866
2382
|
},
|
|
867
2383
|
{
|
|
868
|
-
stateMutability: '
|
|
2384
|
+
stateMutability: 'nonpayable',
|
|
869
2385
|
type: 'function',
|
|
870
|
-
name: '
|
|
871
|
-
inputs: [
|
|
872
|
-
outputs: [
|
|
2386
|
+
name: 'setPerformanceFee',
|
|
2387
|
+
inputs: [
|
|
873
2388
|
{
|
|
874
|
-
name: '',
|
|
875
|
-
type: '
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
},
|
|
881
|
-
{
|
|
882
|
-
name: 'initiatedBlock',
|
|
883
|
-
type: 'uint256',
|
|
884
|
-
},
|
|
885
|
-
{
|
|
886
|
-
name: 'confirmBlock',
|
|
887
|
-
type: 'uint256',
|
|
888
|
-
},
|
|
889
|
-
],
|
|
2389
|
+
name: '_vaultAddr',
|
|
2390
|
+
type: 'address',
|
|
2391
|
+
},
|
|
2392
|
+
{
|
|
2393
|
+
name: '_performanceFee',
|
|
2394
|
+
type: 'uint256',
|
|
890
2395
|
},
|
|
891
2396
|
],
|
|
892
|
-
},
|
|
893
|
-
{
|
|
894
|
-
stateMutability: 'view',
|
|
895
|
-
type: 'function',
|
|
896
|
-
name: 'numGovChanges',
|
|
897
|
-
inputs: [],
|
|
898
2397
|
outputs: [
|
|
899
2398
|
{
|
|
900
2399
|
name: '',
|
|
@@ -903,10 +2402,19 @@ export const abi = [
|
|
|
903
2402
|
],
|
|
904
2403
|
},
|
|
905
2404
|
{
|
|
906
|
-
stateMutability: '
|
|
2405
|
+
stateMutability: 'nonpayable',
|
|
907
2406
|
type: 'function',
|
|
908
|
-
name: '
|
|
909
|
-
inputs: [
|
|
2407
|
+
name: 'setDefaultTargetVaultToken',
|
|
2408
|
+
inputs: [
|
|
2409
|
+
{
|
|
2410
|
+
name: '_vaultAddr',
|
|
2411
|
+
type: 'address',
|
|
2412
|
+
},
|
|
2413
|
+
{
|
|
2414
|
+
name: '_targetVaultToken',
|
|
2415
|
+
type: 'address',
|
|
2416
|
+
},
|
|
2417
|
+
],
|
|
910
2418
|
outputs: [
|
|
911
2419
|
{
|
|
912
2420
|
name: '',
|
|
@@ -915,65 +2423,105 @@ export const abi = [
|
|
|
915
2423
|
],
|
|
916
2424
|
},
|
|
917
2425
|
{
|
|
918
|
-
stateMutability: '
|
|
2426
|
+
stateMutability: 'nonpayable',
|
|
919
2427
|
type: 'function',
|
|
920
|
-
name: '
|
|
2428
|
+
name: 'setMaxDepositAmount',
|
|
921
2429
|
inputs: [
|
|
922
2430
|
{
|
|
923
|
-
name: '
|
|
2431
|
+
name: '_vaultAddr',
|
|
2432
|
+
type: 'address',
|
|
2433
|
+
},
|
|
2434
|
+
{
|
|
2435
|
+
name: '_maxDepositAmount',
|
|
924
2436
|
type: 'uint256',
|
|
925
2437
|
},
|
|
926
2438
|
],
|
|
927
2439
|
outputs: [
|
|
928
2440
|
{
|
|
929
2441
|
name: '',
|
|
930
|
-
type: '
|
|
2442
|
+
type: 'uint256',
|
|
931
2443
|
},
|
|
932
2444
|
],
|
|
933
2445
|
},
|
|
934
2446
|
{
|
|
935
|
-
stateMutability: '
|
|
2447
|
+
stateMutability: 'nonpayable',
|
|
936
2448
|
type: 'function',
|
|
937
|
-
name: '
|
|
2449
|
+
name: 'setIsLeveragedVault',
|
|
938
2450
|
inputs: [
|
|
939
2451
|
{
|
|
940
|
-
name: '
|
|
941
|
-
type: '
|
|
2452
|
+
name: '_vaultAddr',
|
|
2453
|
+
type: 'address',
|
|
2454
|
+
},
|
|
2455
|
+
{
|
|
2456
|
+
name: '_isLeveragedVault',
|
|
2457
|
+
type: 'bool',
|
|
942
2458
|
},
|
|
943
2459
|
],
|
|
944
2460
|
outputs: [
|
|
945
2461
|
{
|
|
946
2462
|
name: '',
|
|
947
|
-
type: '
|
|
2463
|
+
type: 'uint256',
|
|
948
2464
|
},
|
|
949
2465
|
],
|
|
950
2466
|
},
|
|
951
2467
|
{
|
|
952
|
-
stateMutability: '
|
|
2468
|
+
stateMutability: 'nonpayable',
|
|
953
2469
|
type: 'function',
|
|
954
|
-
name: '
|
|
2470
|
+
name: 'setCollateralVault',
|
|
955
2471
|
inputs: [
|
|
956
2472
|
{
|
|
957
|
-
name: '
|
|
2473
|
+
name: '_vaultAddr',
|
|
2474
|
+
type: 'address',
|
|
2475
|
+
},
|
|
2476
|
+
{
|
|
2477
|
+
name: '_vaultToken',
|
|
2478
|
+
type: 'address',
|
|
2479
|
+
},
|
|
2480
|
+
{
|
|
2481
|
+
name: '_legoId',
|
|
2482
|
+
type: 'uint256',
|
|
2483
|
+
},
|
|
2484
|
+
{
|
|
2485
|
+
name: '_ripeVaultId',
|
|
958
2486
|
type: 'uint256',
|
|
959
2487
|
},
|
|
2488
|
+
{
|
|
2489
|
+
name: '_shouldMaxWithdraw',
|
|
2490
|
+
type: 'bool',
|
|
2491
|
+
},
|
|
960
2492
|
],
|
|
961
2493
|
outputs: [
|
|
962
2494
|
{
|
|
963
2495
|
name: '',
|
|
964
|
-
type: '
|
|
2496
|
+
type: 'uint256',
|
|
965
2497
|
},
|
|
966
2498
|
],
|
|
967
2499
|
},
|
|
968
2500
|
{
|
|
969
|
-
stateMutability: '
|
|
2501
|
+
stateMutability: 'nonpayable',
|
|
970
2502
|
type: 'function',
|
|
971
|
-
name: '
|
|
2503
|
+
name: 'setLeverageVault',
|
|
972
2504
|
inputs: [
|
|
973
2505
|
{
|
|
974
|
-
name: '
|
|
2506
|
+
name: '_vaultAddr',
|
|
2507
|
+
type: 'address',
|
|
2508
|
+
},
|
|
2509
|
+
{
|
|
2510
|
+
name: '_vaultToken',
|
|
2511
|
+
type: 'address',
|
|
2512
|
+
},
|
|
2513
|
+
{
|
|
2514
|
+
name: '_legoId',
|
|
2515
|
+
type: 'uint256',
|
|
2516
|
+
},
|
|
2517
|
+
{
|
|
2518
|
+
name: '_ripeVaultId',
|
|
975
2519
|
type: 'uint256',
|
|
976
2520
|
},
|
|
2521
|
+
{
|
|
2522
|
+
name: '_shouldMaxWithdraw',
|
|
2523
|
+
type: 'bool',
|
|
2524
|
+
},
|
|
977
2525
|
],
|
|
978
2526
|
outputs: [
|
|
979
2527
|
{
|
|
@@ -985,42 +2533,63 @@ export const abi = [
|
|
|
985
2533
|
{
|
|
986
2534
|
stateMutability: 'nonpayable',
|
|
987
2535
|
type: 'function',
|
|
988
|
-
name: '
|
|
2536
|
+
name: 'setSlippagesAllowed',
|
|
989
2537
|
inputs: [
|
|
990
2538
|
{
|
|
991
|
-
name: '
|
|
2539
|
+
name: '_vaultAddr',
|
|
2540
|
+
type: 'address',
|
|
2541
|
+
},
|
|
2542
|
+
{
|
|
2543
|
+
name: '_usdcSlippage',
|
|
2544
|
+
type: 'uint256',
|
|
2545
|
+
},
|
|
2546
|
+
{
|
|
2547
|
+
name: '_greenSlippage',
|
|
992
2548
|
type: 'uint256',
|
|
993
2549
|
},
|
|
994
2550
|
],
|
|
995
2551
|
outputs: [
|
|
996
2552
|
{
|
|
997
2553
|
name: '',
|
|
998
|
-
type: '
|
|
2554
|
+
type: 'uint256',
|
|
999
2555
|
},
|
|
1000
2556
|
],
|
|
1001
2557
|
},
|
|
1002
2558
|
{
|
|
1003
|
-
stateMutability: '
|
|
2559
|
+
stateMutability: 'nonpayable',
|
|
1004
2560
|
type: 'function',
|
|
1005
|
-
name: '
|
|
2561
|
+
name: 'setLevgVaultHelper',
|
|
1006
2562
|
inputs: [
|
|
1007
2563
|
{
|
|
1008
|
-
name: '
|
|
1009
|
-
type: '
|
|
2564
|
+
name: '_vaultAddr',
|
|
2565
|
+
type: 'address',
|
|
2566
|
+
},
|
|
2567
|
+
{
|
|
2568
|
+
name: '_levgVaultHelper',
|
|
2569
|
+
type: 'address',
|
|
1010
2570
|
},
|
|
1011
2571
|
],
|
|
1012
2572
|
outputs: [
|
|
1013
2573
|
{
|
|
1014
2574
|
name: '',
|
|
1015
|
-
type: '
|
|
2575
|
+
type: 'uint256',
|
|
1016
2576
|
},
|
|
1017
2577
|
],
|
|
1018
2578
|
},
|
|
1019
2579
|
{
|
|
1020
|
-
stateMutability: '
|
|
2580
|
+
stateMutability: 'nonpayable',
|
|
1021
2581
|
type: 'function',
|
|
1022
|
-
name: '
|
|
1023
|
-
inputs: [
|
|
2582
|
+
name: 'setMaxDebtRatio',
|
|
2583
|
+
inputs: [
|
|
2584
|
+
{
|
|
2585
|
+
name: '_vaultAddr',
|
|
2586
|
+
type: 'address',
|
|
2587
|
+
},
|
|
2588
|
+
{
|
|
2589
|
+
name: '_ratio',
|
|
2590
|
+
type: 'uint256',
|
|
2591
|
+
},
|
|
2592
|
+
],
|
|
1024
2593
|
outputs: [
|
|
1025
2594
|
{
|
|
1026
2595
|
name: '',
|
|
@@ -1029,10 +2598,19 @@ export const abi = [
|
|
|
1029
2598
|
],
|
|
1030
2599
|
},
|
|
1031
2600
|
{
|
|
1032
|
-
stateMutability: '
|
|
2601
|
+
stateMutability: 'nonpayable',
|
|
1033
2602
|
type: 'function',
|
|
1034
|
-
name: '
|
|
1035
|
-
inputs: [
|
|
2603
|
+
name: 'addVaultManager',
|
|
2604
|
+
inputs: [
|
|
2605
|
+
{
|
|
2606
|
+
name: '_vaultAddr',
|
|
2607
|
+
type: 'address',
|
|
2608
|
+
},
|
|
2609
|
+
{
|
|
2610
|
+
name: '_manager',
|
|
2611
|
+
type: 'address',
|
|
2612
|
+
},
|
|
2613
|
+
],
|
|
1036
2614
|
outputs: [
|
|
1037
2615
|
{
|
|
1038
2616
|
name: '',
|
|
@@ -1043,85 +2621,84 @@ export const abi = [
|
|
|
1043
2621
|
{
|
|
1044
2622
|
stateMutability: 'nonpayable',
|
|
1045
2623
|
type: 'function',
|
|
1046
|
-
name: '
|
|
2624
|
+
name: 'removeVaultManager',
|
|
1047
2625
|
inputs: [
|
|
1048
2626
|
{
|
|
1049
|
-
name: '
|
|
1050
|
-
type: '
|
|
2627
|
+
name: '_vaultAddr',
|
|
2628
|
+
type: 'address',
|
|
2629
|
+
},
|
|
2630
|
+
{
|
|
2631
|
+
name: '_manager',
|
|
2632
|
+
type: 'address',
|
|
1051
2633
|
},
|
|
1052
2634
|
],
|
|
1053
2635
|
outputs: [
|
|
1054
2636
|
{
|
|
1055
2637
|
name: '',
|
|
1056
|
-
type: '
|
|
2638
|
+
type: 'uint256',
|
|
1057
2639
|
},
|
|
1058
2640
|
],
|
|
1059
2641
|
},
|
|
1060
2642
|
{
|
|
1061
2643
|
stateMutability: 'nonpayable',
|
|
1062
2644
|
type: 'function',
|
|
1063
|
-
name: '
|
|
1064
|
-
inputs: [
|
|
2645
|
+
name: 'registerVaultTokenOnLego',
|
|
2646
|
+
inputs: [
|
|
2647
|
+
{
|
|
2648
|
+
name: '_legoId',
|
|
2649
|
+
type: 'uint256',
|
|
2650
|
+
},
|
|
2651
|
+
{
|
|
2652
|
+
name: '_asset',
|
|
2653
|
+
type: 'address',
|
|
2654
|
+
},
|
|
2655
|
+
{
|
|
2656
|
+
name: '_vaultToken',
|
|
2657
|
+
type: 'address',
|
|
2658
|
+
},
|
|
2659
|
+
],
|
|
1065
2660
|
outputs: [
|
|
1066
2661
|
{
|
|
1067
2662
|
name: '',
|
|
1068
|
-
type: '
|
|
2663
|
+
type: 'uint256',
|
|
1069
2664
|
},
|
|
1070
2665
|
],
|
|
1071
2666
|
},
|
|
1072
2667
|
{
|
|
1073
2668
|
stateMutability: 'nonpayable',
|
|
1074
2669
|
type: 'function',
|
|
1075
|
-
name: '
|
|
2670
|
+
name: 'setMorphoRewardsAddr',
|
|
1076
2671
|
inputs: [
|
|
1077
2672
|
{
|
|
1078
|
-
name: '
|
|
2673
|
+
name: '_legoId',
|
|
1079
2674
|
type: 'uint256',
|
|
1080
2675
|
},
|
|
2676
|
+
{
|
|
2677
|
+
name: '_rewardsAddr',
|
|
2678
|
+
type: 'address',
|
|
2679
|
+
},
|
|
1081
2680
|
],
|
|
1082
2681
|
outputs: [
|
|
1083
2682
|
{
|
|
1084
2683
|
name: '',
|
|
1085
|
-
type: '
|
|
2684
|
+
type: 'uint256',
|
|
1086
2685
|
},
|
|
1087
2686
|
],
|
|
1088
2687
|
},
|
|
1089
2688
|
{
|
|
1090
|
-
stateMutability: '
|
|
2689
|
+
stateMutability: 'nonpayable',
|
|
1091
2690
|
type: 'function',
|
|
1092
|
-
name: '
|
|
2691
|
+
name: 'setEulerRewardsAddr',
|
|
1093
2692
|
inputs: [
|
|
1094
2693
|
{
|
|
1095
|
-
name: '
|
|
2694
|
+
name: '_legoId',
|
|
1096
2695
|
type: 'uint256',
|
|
1097
2696
|
},
|
|
1098
|
-
],
|
|
1099
|
-
outputs: [
|
|
1100
2697
|
{
|
|
1101
|
-
name: '',
|
|
1102
|
-
type: '
|
|
1103
|
-
components: [
|
|
1104
|
-
{
|
|
1105
|
-
name: 'initiatedBlock',
|
|
1106
|
-
type: 'uint256',
|
|
1107
|
-
},
|
|
1108
|
-
{
|
|
1109
|
-
name: 'confirmBlock',
|
|
1110
|
-
type: 'uint256',
|
|
1111
|
-
},
|
|
1112
|
-
{
|
|
1113
|
-
name: 'expiration',
|
|
1114
|
-
type: 'uint256',
|
|
1115
|
-
},
|
|
1116
|
-
],
|
|
2698
|
+
name: '_rewardsAddr',
|
|
2699
|
+
type: 'address',
|
|
1117
2700
|
},
|
|
1118
2701
|
],
|
|
1119
|
-
},
|
|
1120
|
-
{
|
|
1121
|
-
stateMutability: 'view',
|
|
1122
|
-
type: 'function',
|
|
1123
|
-
name: 'actionId',
|
|
1124
|
-
inputs: [],
|
|
1125
2702
|
outputs: [
|
|
1126
2703
|
{
|
|
1127
2704
|
name: '',
|
|
@@ -1130,22 +2707,19 @@ export const abi = [
|
|
|
1130
2707
|
],
|
|
1131
2708
|
},
|
|
1132
2709
|
{
|
|
1133
|
-
stateMutability: '
|
|
2710
|
+
stateMutability: 'nonpayable',
|
|
1134
2711
|
type: 'function',
|
|
1135
|
-
name: '
|
|
1136
|
-
inputs: [
|
|
1137
|
-
outputs: [
|
|
2712
|
+
name: 'setCompRewardsAddr',
|
|
2713
|
+
inputs: [
|
|
1138
2714
|
{
|
|
1139
|
-
name: '',
|
|
2715
|
+
name: '_legoId',
|
|
1140
2716
|
type: 'uint256',
|
|
1141
2717
|
},
|
|
2718
|
+
{
|
|
2719
|
+
name: '_rewardsAddr',
|
|
2720
|
+
type: 'address',
|
|
2721
|
+
},
|
|
1142
2722
|
],
|
|
1143
|
-
},
|
|
1144
|
-
{
|
|
1145
|
-
stateMutability: 'view',
|
|
1146
|
-
type: 'function',
|
|
1147
|
-
name: 'expiration',
|
|
1148
|
-
inputs: [],
|
|
1149
2723
|
outputs: [
|
|
1150
2724
|
{
|
|
1151
2725
|
name: '',
|
|
@@ -1156,268 +2730,444 @@ export const abi = [
|
|
|
1156
2730
|
{
|
|
1157
2731
|
stateMutability: 'nonpayable',
|
|
1158
2732
|
type: 'function',
|
|
1159
|
-
name: '
|
|
2733
|
+
name: 'executePendingAction',
|
|
1160
2734
|
inputs: [
|
|
1161
2735
|
{
|
|
1162
|
-
name: '
|
|
1163
|
-
type: '
|
|
2736
|
+
name: '_aid',
|
|
2737
|
+
type: 'uint256',
|
|
1164
2738
|
},
|
|
2739
|
+
],
|
|
2740
|
+
outputs: [
|
|
1165
2741
|
{
|
|
1166
|
-
name: '
|
|
2742
|
+
name: '',
|
|
1167
2743
|
type: 'bool',
|
|
1168
2744
|
},
|
|
1169
2745
|
],
|
|
1170
|
-
outputs: [],
|
|
1171
2746
|
},
|
|
1172
2747
|
{
|
|
1173
2748
|
stateMutability: 'nonpayable',
|
|
1174
2749
|
type: 'function',
|
|
1175
|
-
name: '
|
|
2750
|
+
name: 'cancelPendingAction',
|
|
1176
2751
|
inputs: [
|
|
1177
2752
|
{
|
|
1178
|
-
name: '
|
|
1179
|
-
type: '
|
|
2753
|
+
name: '_aid',
|
|
2754
|
+
type: 'uint256',
|
|
1180
2755
|
},
|
|
2756
|
+
],
|
|
2757
|
+
outputs: [
|
|
1181
2758
|
{
|
|
1182
|
-
name: '
|
|
2759
|
+
name: '',
|
|
1183
2760
|
type: 'bool',
|
|
1184
2761
|
},
|
|
1185
2762
|
],
|
|
1186
|
-
outputs: [],
|
|
1187
2763
|
},
|
|
1188
2764
|
{
|
|
1189
|
-
stateMutability: '
|
|
2765
|
+
stateMutability: 'view',
|
|
1190
2766
|
type: 'function',
|
|
1191
|
-
name: '
|
|
2767
|
+
name: 'actionType',
|
|
1192
2768
|
inputs: [
|
|
1193
2769
|
{
|
|
1194
|
-
name: '
|
|
1195
|
-
type: '
|
|
2770
|
+
name: 'arg0',
|
|
2771
|
+
type: 'uint256',
|
|
1196
2772
|
},
|
|
2773
|
+
],
|
|
2774
|
+
outputs: [
|
|
1197
2775
|
{
|
|
1198
|
-
name: '
|
|
1199
|
-
type: '
|
|
2776
|
+
name: '',
|
|
2777
|
+
type: 'uint256',
|
|
1200
2778
|
},
|
|
1201
2779
|
],
|
|
1202
|
-
outputs: [],
|
|
1203
2780
|
},
|
|
1204
2781
|
{
|
|
1205
|
-
stateMutability: '
|
|
2782
|
+
stateMutability: 'view',
|
|
1206
2783
|
type: 'function',
|
|
1207
|
-
name: '
|
|
2784
|
+
name: 'pendingRedemptionBuffer',
|
|
1208
2785
|
inputs: [
|
|
1209
2786
|
{
|
|
1210
|
-
name: '
|
|
1211
|
-
type: '
|
|
2787
|
+
name: 'arg0',
|
|
2788
|
+
type: 'uint256',
|
|
1212
2789
|
},
|
|
2790
|
+
],
|
|
2791
|
+
outputs: [
|
|
1213
2792
|
{
|
|
1214
|
-
name: '
|
|
1215
|
-
type: '
|
|
2793
|
+
name: '',
|
|
2794
|
+
type: 'tuple',
|
|
2795
|
+
components: [
|
|
2796
|
+
{
|
|
2797
|
+
name: 'vaultAddr',
|
|
2798
|
+
type: 'address',
|
|
2799
|
+
},
|
|
2800
|
+
{
|
|
2801
|
+
name: 'buffer',
|
|
2802
|
+
type: 'uint256',
|
|
2803
|
+
},
|
|
2804
|
+
],
|
|
1216
2805
|
},
|
|
1217
2806
|
],
|
|
1218
|
-
outputs: [],
|
|
1219
2807
|
},
|
|
1220
2808
|
{
|
|
1221
|
-
stateMutability: '
|
|
2809
|
+
stateMutability: 'view',
|
|
1222
2810
|
type: 'function',
|
|
1223
|
-
name: '
|
|
2811
|
+
name: 'pendingMinYieldWithdrawAmount',
|
|
1224
2812
|
inputs: [
|
|
1225
2813
|
{
|
|
1226
|
-
name: '
|
|
1227
|
-
type: 'address',
|
|
1228
|
-
},
|
|
1229
|
-
{
|
|
1230
|
-
name: '_buffer',
|
|
2814
|
+
name: 'arg0',
|
|
1231
2815
|
type: 'uint256',
|
|
1232
2816
|
},
|
|
1233
2817
|
],
|
|
1234
2818
|
outputs: [
|
|
1235
2819
|
{
|
|
1236
2820
|
name: '',
|
|
1237
|
-
type: '
|
|
2821
|
+
type: 'tuple',
|
|
2822
|
+
components: [
|
|
2823
|
+
{
|
|
2824
|
+
name: 'vaultAddr',
|
|
2825
|
+
type: 'address',
|
|
2826
|
+
},
|
|
2827
|
+
{
|
|
2828
|
+
name: 'amount',
|
|
2829
|
+
type: 'uint256',
|
|
2830
|
+
},
|
|
2831
|
+
],
|
|
1238
2832
|
},
|
|
1239
2833
|
],
|
|
1240
2834
|
},
|
|
1241
2835
|
{
|
|
1242
|
-
stateMutability: '
|
|
2836
|
+
stateMutability: 'view',
|
|
1243
2837
|
type: 'function',
|
|
1244
|
-
name: '
|
|
2838
|
+
name: 'pendingSnapShotPriceConfig',
|
|
1245
2839
|
inputs: [
|
|
1246
2840
|
{
|
|
1247
|
-
name: '
|
|
1248
|
-
type: 'address',
|
|
1249
|
-
},
|
|
1250
|
-
{
|
|
1251
|
-
name: '_amount',
|
|
2841
|
+
name: 'arg0',
|
|
1252
2842
|
type: 'uint256',
|
|
1253
2843
|
},
|
|
1254
2844
|
],
|
|
1255
2845
|
outputs: [
|
|
1256
2846
|
{
|
|
1257
2847
|
name: '',
|
|
1258
|
-
type: '
|
|
2848
|
+
type: 'tuple',
|
|
2849
|
+
components: [
|
|
2850
|
+
{
|
|
2851
|
+
name: 'legoId',
|
|
2852
|
+
type: 'uint256',
|
|
2853
|
+
},
|
|
2854
|
+
{
|
|
2855
|
+
name: 'config',
|
|
2856
|
+
type: 'tuple',
|
|
2857
|
+
components: [
|
|
2858
|
+
{
|
|
2859
|
+
name: 'minSnapshotDelay',
|
|
2860
|
+
type: 'uint256',
|
|
2861
|
+
},
|
|
2862
|
+
{
|
|
2863
|
+
name: 'maxNumSnapshots',
|
|
2864
|
+
type: 'uint256',
|
|
2865
|
+
},
|
|
2866
|
+
{
|
|
2867
|
+
name: 'maxUpsideDeviation',
|
|
2868
|
+
type: 'uint256',
|
|
2869
|
+
},
|
|
2870
|
+
{
|
|
2871
|
+
name: 'staleTime',
|
|
2872
|
+
type: 'uint256',
|
|
2873
|
+
},
|
|
2874
|
+
],
|
|
2875
|
+
},
|
|
2876
|
+
],
|
|
1259
2877
|
},
|
|
1260
2878
|
],
|
|
1261
2879
|
},
|
|
1262
2880
|
{
|
|
1263
|
-
stateMutability: '
|
|
2881
|
+
stateMutability: 'view',
|
|
1264
2882
|
type: 'function',
|
|
1265
|
-
name: '
|
|
2883
|
+
name: 'pendingApprovedVaultToken',
|
|
1266
2884
|
inputs: [
|
|
1267
2885
|
{
|
|
1268
|
-
name: '
|
|
2886
|
+
name: 'arg0',
|
|
1269
2887
|
type: 'uint256',
|
|
1270
2888
|
},
|
|
2889
|
+
],
|
|
2890
|
+
outputs: [
|
|
1271
2891
|
{
|
|
1272
|
-
name: '
|
|
1273
|
-
type: '
|
|
2892
|
+
name: '',
|
|
2893
|
+
type: 'tuple',
|
|
2894
|
+
components: [
|
|
2895
|
+
{
|
|
2896
|
+
name: 'vaultAddr',
|
|
2897
|
+
type: 'address',
|
|
2898
|
+
},
|
|
2899
|
+
{
|
|
2900
|
+
name: 'vaultToken',
|
|
2901
|
+
type: 'address',
|
|
2902
|
+
},
|
|
2903
|
+
{
|
|
2904
|
+
name: 'isApproved',
|
|
2905
|
+
type: 'bool',
|
|
2906
|
+
},
|
|
2907
|
+
{
|
|
2908
|
+
name: 'shouldMaxWithdraw',
|
|
2909
|
+
type: 'bool',
|
|
2910
|
+
},
|
|
2911
|
+
],
|
|
1274
2912
|
},
|
|
2913
|
+
],
|
|
2914
|
+
},
|
|
2915
|
+
{
|
|
2916
|
+
stateMutability: 'view',
|
|
2917
|
+
type: 'function',
|
|
2918
|
+
name: 'pendingApprovedVaultTokens',
|
|
2919
|
+
inputs: [
|
|
1275
2920
|
{
|
|
1276
|
-
name: '
|
|
2921
|
+
name: 'arg0',
|
|
1277
2922
|
type: 'uint256',
|
|
1278
2923
|
},
|
|
2924
|
+
],
|
|
2925
|
+
outputs: [
|
|
1279
2926
|
{
|
|
1280
|
-
name: '
|
|
1281
|
-
type: '
|
|
2927
|
+
name: '',
|
|
2928
|
+
type: 'tuple',
|
|
2929
|
+
components: [
|
|
2930
|
+
{
|
|
2931
|
+
name: 'vaultAddr',
|
|
2932
|
+
type: 'address',
|
|
2933
|
+
},
|
|
2934
|
+
{
|
|
2935
|
+
name: 'vaultTokens',
|
|
2936
|
+
type: 'address[]',
|
|
2937
|
+
},
|
|
2938
|
+
{
|
|
2939
|
+
name: 'isApproved',
|
|
2940
|
+
type: 'bool',
|
|
2941
|
+
},
|
|
2942
|
+
{
|
|
2943
|
+
name: 'shouldMaxWithdraw',
|
|
2944
|
+
type: 'bool',
|
|
2945
|
+
},
|
|
2946
|
+
],
|
|
1282
2947
|
},
|
|
2948
|
+
],
|
|
2949
|
+
},
|
|
2950
|
+
{
|
|
2951
|
+
stateMutability: 'view',
|
|
2952
|
+
type: 'function',
|
|
2953
|
+
name: 'pendingPerformanceFee',
|
|
2954
|
+
inputs: [
|
|
1283
2955
|
{
|
|
1284
|
-
name: '
|
|
2956
|
+
name: 'arg0',
|
|
1285
2957
|
type: 'uint256',
|
|
1286
2958
|
},
|
|
1287
2959
|
],
|
|
1288
2960
|
outputs: [
|
|
1289
2961
|
{
|
|
1290
2962
|
name: '',
|
|
1291
|
-
type: '
|
|
2963
|
+
type: 'tuple',
|
|
2964
|
+
components: [
|
|
2965
|
+
{
|
|
2966
|
+
name: 'vaultAddr',
|
|
2967
|
+
type: 'address',
|
|
2968
|
+
},
|
|
2969
|
+
{
|
|
2970
|
+
name: 'performanceFee',
|
|
2971
|
+
type: 'uint256',
|
|
2972
|
+
},
|
|
2973
|
+
],
|
|
1292
2974
|
},
|
|
1293
2975
|
],
|
|
1294
2976
|
},
|
|
1295
2977
|
{
|
|
1296
|
-
stateMutability: '
|
|
2978
|
+
stateMutability: 'view',
|
|
1297
2979
|
type: 'function',
|
|
1298
|
-
name: '
|
|
2980
|
+
name: 'pendingDefaultTargetVaultToken',
|
|
1299
2981
|
inputs: [
|
|
1300
2982
|
{
|
|
1301
|
-
name: '
|
|
1302
|
-
type: '
|
|
1303
|
-
},
|
|
1304
|
-
{
|
|
1305
|
-
name: '_vaultToken',
|
|
1306
|
-
type: 'address',
|
|
1307
|
-
},
|
|
1308
|
-
{
|
|
1309
|
-
name: '_isApproved',
|
|
1310
|
-
type: 'bool',
|
|
2983
|
+
name: 'arg0',
|
|
2984
|
+
type: 'uint256',
|
|
1311
2985
|
},
|
|
1312
2986
|
],
|
|
1313
2987
|
outputs: [
|
|
1314
2988
|
{
|
|
1315
2989
|
name: '',
|
|
1316
|
-
type: '
|
|
2990
|
+
type: 'tuple',
|
|
2991
|
+
components: [
|
|
2992
|
+
{
|
|
2993
|
+
name: 'vaultAddr',
|
|
2994
|
+
type: 'address',
|
|
2995
|
+
},
|
|
2996
|
+
{
|
|
2997
|
+
name: 'targetVaultToken',
|
|
2998
|
+
type: 'address',
|
|
2999
|
+
},
|
|
3000
|
+
],
|
|
1317
3001
|
},
|
|
1318
3002
|
],
|
|
1319
3003
|
},
|
|
1320
3004
|
{
|
|
1321
|
-
stateMutability: '
|
|
3005
|
+
stateMutability: 'view',
|
|
1322
3006
|
type: 'function',
|
|
1323
|
-
name: '
|
|
3007
|
+
name: 'pendingMaxDepositAmount',
|
|
1324
3008
|
inputs: [
|
|
1325
3009
|
{
|
|
1326
|
-
name: '
|
|
1327
|
-
type: 'address',
|
|
1328
|
-
},
|
|
1329
|
-
{
|
|
1330
|
-
name: '_performanceFee',
|
|
3010
|
+
name: 'arg0',
|
|
1331
3011
|
type: 'uint256',
|
|
1332
3012
|
},
|
|
1333
3013
|
],
|
|
1334
3014
|
outputs: [
|
|
1335
3015
|
{
|
|
1336
3016
|
name: '',
|
|
1337
|
-
type: '
|
|
3017
|
+
type: 'tuple',
|
|
3018
|
+
components: [
|
|
3019
|
+
{
|
|
3020
|
+
name: 'vaultAddr',
|
|
3021
|
+
type: 'address',
|
|
3022
|
+
},
|
|
3023
|
+
{
|
|
3024
|
+
name: 'maxDepositAmount',
|
|
3025
|
+
type: 'uint256',
|
|
3026
|
+
},
|
|
3027
|
+
],
|
|
1338
3028
|
},
|
|
1339
3029
|
],
|
|
1340
3030
|
},
|
|
1341
3031
|
{
|
|
1342
|
-
stateMutability: '
|
|
3032
|
+
stateMutability: 'view',
|
|
1343
3033
|
type: 'function',
|
|
1344
|
-
name: '
|
|
3034
|
+
name: 'pendingIsLeveragedVault',
|
|
1345
3035
|
inputs: [
|
|
1346
3036
|
{
|
|
1347
|
-
name: '
|
|
1348
|
-
type: '
|
|
1349
|
-
},
|
|
1350
|
-
{
|
|
1351
|
-
name: '_targetVaultToken',
|
|
1352
|
-
type: 'address',
|
|
3037
|
+
name: 'arg0',
|
|
3038
|
+
type: 'uint256',
|
|
1353
3039
|
},
|
|
1354
3040
|
],
|
|
1355
3041
|
outputs: [
|
|
1356
3042
|
{
|
|
1357
3043
|
name: '',
|
|
1358
|
-
type: '
|
|
3044
|
+
type: 'tuple',
|
|
3045
|
+
components: [
|
|
3046
|
+
{
|
|
3047
|
+
name: 'vaultAddr',
|
|
3048
|
+
type: 'address',
|
|
3049
|
+
},
|
|
3050
|
+
{
|
|
3051
|
+
name: 'isLeveragedVault',
|
|
3052
|
+
type: 'bool',
|
|
3053
|
+
},
|
|
3054
|
+
],
|
|
1359
3055
|
},
|
|
1360
3056
|
],
|
|
1361
3057
|
},
|
|
1362
3058
|
{
|
|
1363
|
-
stateMutability: '
|
|
3059
|
+
stateMutability: 'view',
|
|
1364
3060
|
type: 'function',
|
|
1365
|
-
name: '
|
|
3061
|
+
name: 'pendingCollateralVault',
|
|
1366
3062
|
inputs: [
|
|
1367
3063
|
{
|
|
1368
|
-
name: '
|
|
1369
|
-
type: 'address',
|
|
1370
|
-
},
|
|
1371
|
-
{
|
|
1372
|
-
name: '_maxDepositAmount',
|
|
3064
|
+
name: 'arg0',
|
|
1373
3065
|
type: 'uint256',
|
|
1374
3066
|
},
|
|
1375
3067
|
],
|
|
1376
3068
|
outputs: [
|
|
1377
3069
|
{
|
|
1378
3070
|
name: '',
|
|
1379
|
-
type: '
|
|
3071
|
+
type: 'tuple',
|
|
3072
|
+
components: [
|
|
3073
|
+
{
|
|
3074
|
+
name: 'vaultAddr',
|
|
3075
|
+
type: 'address',
|
|
3076
|
+
},
|
|
3077
|
+
{
|
|
3078
|
+
name: 'vaultToken',
|
|
3079
|
+
type: 'address',
|
|
3080
|
+
},
|
|
3081
|
+
{
|
|
3082
|
+
name: 'ripeVaultId',
|
|
3083
|
+
type: 'uint256',
|
|
3084
|
+
},
|
|
3085
|
+
{
|
|
3086
|
+
name: 'legoId',
|
|
3087
|
+
type: 'uint256',
|
|
3088
|
+
},
|
|
3089
|
+
{
|
|
3090
|
+
name: 'shouldMaxWithdraw',
|
|
3091
|
+
type: 'bool',
|
|
3092
|
+
},
|
|
3093
|
+
],
|
|
1380
3094
|
},
|
|
1381
3095
|
],
|
|
1382
3096
|
},
|
|
1383
3097
|
{
|
|
1384
|
-
stateMutability: '
|
|
3098
|
+
stateMutability: 'view',
|
|
1385
3099
|
type: 'function',
|
|
1386
|
-
name: '
|
|
3100
|
+
name: 'pendingLeverageVault',
|
|
1387
3101
|
inputs: [
|
|
1388
3102
|
{
|
|
1389
|
-
name: '
|
|
3103
|
+
name: 'arg0',
|
|
1390
3104
|
type: 'uint256',
|
|
1391
3105
|
},
|
|
1392
3106
|
],
|
|
1393
3107
|
outputs: [
|
|
1394
3108
|
{
|
|
1395
3109
|
name: '',
|
|
1396
|
-
type: '
|
|
3110
|
+
type: 'tuple',
|
|
3111
|
+
components: [
|
|
3112
|
+
{
|
|
3113
|
+
name: 'vaultAddr',
|
|
3114
|
+
type: 'address',
|
|
3115
|
+
},
|
|
3116
|
+
{
|
|
3117
|
+
name: 'vaultToken',
|
|
3118
|
+
type: 'address',
|
|
3119
|
+
},
|
|
3120
|
+
{
|
|
3121
|
+
name: 'legoId',
|
|
3122
|
+
type: 'uint256',
|
|
3123
|
+
},
|
|
3124
|
+
{
|
|
3125
|
+
name: 'ripeVaultId',
|
|
3126
|
+
type: 'uint256',
|
|
3127
|
+
},
|
|
3128
|
+
{
|
|
3129
|
+
name: 'shouldMaxWithdraw',
|
|
3130
|
+
type: 'bool',
|
|
3131
|
+
},
|
|
3132
|
+
],
|
|
1397
3133
|
},
|
|
1398
3134
|
],
|
|
1399
3135
|
},
|
|
1400
3136
|
{
|
|
1401
|
-
stateMutability: '
|
|
3137
|
+
stateMutability: 'view',
|
|
1402
3138
|
type: 'function',
|
|
1403
|
-
name: '
|
|
3139
|
+
name: 'pendingSlippages',
|
|
1404
3140
|
inputs: [
|
|
1405
3141
|
{
|
|
1406
|
-
name: '
|
|
3142
|
+
name: 'arg0',
|
|
1407
3143
|
type: 'uint256',
|
|
1408
3144
|
},
|
|
1409
3145
|
],
|
|
1410
3146
|
outputs: [
|
|
1411
3147
|
{
|
|
1412
3148
|
name: '',
|
|
1413
|
-
type: '
|
|
3149
|
+
type: 'tuple',
|
|
3150
|
+
components: [
|
|
3151
|
+
{
|
|
3152
|
+
name: 'vaultAddr',
|
|
3153
|
+
type: 'address',
|
|
3154
|
+
},
|
|
3155
|
+
{
|
|
3156
|
+
name: 'usdcSlippage',
|
|
3157
|
+
type: 'uint256',
|
|
3158
|
+
},
|
|
3159
|
+
{
|
|
3160
|
+
name: 'greenSlippage',
|
|
3161
|
+
type: 'uint256',
|
|
3162
|
+
},
|
|
3163
|
+
],
|
|
1414
3164
|
},
|
|
1415
3165
|
],
|
|
1416
3166
|
},
|
|
1417
3167
|
{
|
|
1418
3168
|
stateMutability: 'view',
|
|
1419
3169
|
type: 'function',
|
|
1420
|
-
name: '
|
|
3170
|
+
name: 'pendingLevgVaultHelper',
|
|
1421
3171
|
inputs: [
|
|
1422
3172
|
{
|
|
1423
3173
|
name: 'arg0',
|
|
@@ -1427,14 +3177,24 @@ export const abi = [
|
|
|
1427
3177
|
outputs: [
|
|
1428
3178
|
{
|
|
1429
3179
|
name: '',
|
|
1430
|
-
type: '
|
|
3180
|
+
type: 'tuple',
|
|
3181
|
+
components: [
|
|
3182
|
+
{
|
|
3183
|
+
name: 'vaultAddr',
|
|
3184
|
+
type: 'address',
|
|
3185
|
+
},
|
|
3186
|
+
{
|
|
3187
|
+
name: 'levgVaultHelper',
|
|
3188
|
+
type: 'address',
|
|
3189
|
+
},
|
|
3190
|
+
],
|
|
1431
3191
|
},
|
|
1432
3192
|
],
|
|
1433
3193
|
},
|
|
1434
3194
|
{
|
|
1435
3195
|
stateMutability: 'view',
|
|
1436
3196
|
type: 'function',
|
|
1437
|
-
name: '
|
|
3197
|
+
name: 'pendingMaxDebtRatio',
|
|
1438
3198
|
inputs: [
|
|
1439
3199
|
{
|
|
1440
3200
|
name: 'arg0',
|
|
@@ -1451,7 +3211,7 @@ export const abi = [
|
|
|
1451
3211
|
type: 'address',
|
|
1452
3212
|
},
|
|
1453
3213
|
{
|
|
1454
|
-
name: '
|
|
3214
|
+
name: 'ratio',
|
|
1455
3215
|
type: 'uint256',
|
|
1456
3216
|
},
|
|
1457
3217
|
],
|
|
@@ -1461,7 +3221,7 @@ export const abi = [
|
|
|
1461
3221
|
{
|
|
1462
3222
|
stateMutability: 'view',
|
|
1463
3223
|
type: 'function',
|
|
1464
|
-
name: '
|
|
3224
|
+
name: 'pendingAddManager',
|
|
1465
3225
|
inputs: [
|
|
1466
3226
|
{
|
|
1467
3227
|
name: 'arg0',
|
|
@@ -1478,8 +3238,8 @@ export const abi = [
|
|
|
1478
3238
|
type: 'address',
|
|
1479
3239
|
},
|
|
1480
3240
|
{
|
|
1481
|
-
name: '
|
|
1482
|
-
type: '
|
|
3241
|
+
name: 'manager',
|
|
3242
|
+
type: 'address',
|
|
1483
3243
|
},
|
|
1484
3244
|
],
|
|
1485
3245
|
},
|
|
@@ -1488,7 +3248,7 @@ export const abi = [
|
|
|
1488
3248
|
{
|
|
1489
3249
|
stateMutability: 'view',
|
|
1490
3250
|
type: 'function',
|
|
1491
|
-
name: '
|
|
3251
|
+
name: 'pendingRemoveManager',
|
|
1492
3252
|
inputs: [
|
|
1493
3253
|
{
|
|
1494
3254
|
name: 'arg0',
|
|
@@ -1501,30 +3261,12 @@ export const abi = [
|
|
|
1501
3261
|
type: 'tuple',
|
|
1502
3262
|
components: [
|
|
1503
3263
|
{
|
|
1504
|
-
name: '
|
|
1505
|
-
type: '
|
|
3264
|
+
name: 'vaultAddr',
|
|
3265
|
+
type: 'address',
|
|
1506
3266
|
},
|
|
1507
3267
|
{
|
|
1508
|
-
name: '
|
|
1509
|
-
type: '
|
|
1510
|
-
components: [
|
|
1511
|
-
{
|
|
1512
|
-
name: 'minSnapshotDelay',
|
|
1513
|
-
type: 'uint256',
|
|
1514
|
-
},
|
|
1515
|
-
{
|
|
1516
|
-
name: 'maxNumSnapshots',
|
|
1517
|
-
type: 'uint256',
|
|
1518
|
-
},
|
|
1519
|
-
{
|
|
1520
|
-
name: 'maxUpsideDeviation',
|
|
1521
|
-
type: 'uint256',
|
|
1522
|
-
},
|
|
1523
|
-
{
|
|
1524
|
-
name: 'staleTime',
|
|
1525
|
-
type: 'uint256',
|
|
1526
|
-
},
|
|
1527
|
-
],
|
|
3268
|
+
name: 'manager',
|
|
3269
|
+
type: 'address',
|
|
1528
3270
|
},
|
|
1529
3271
|
],
|
|
1530
3272
|
},
|
|
@@ -1533,7 +3275,7 @@ export const abi = [
|
|
|
1533
3275
|
{
|
|
1534
3276
|
stateMutability: 'view',
|
|
1535
3277
|
type: 'function',
|
|
1536
|
-
name: '
|
|
3278
|
+
name: 'pendingRegisterVaultTokenOnLego',
|
|
1537
3279
|
inputs: [
|
|
1538
3280
|
{
|
|
1539
3281
|
name: 'arg0',
|
|
@@ -1546,16 +3288,16 @@ export const abi = [
|
|
|
1546
3288
|
type: 'tuple',
|
|
1547
3289
|
components: [
|
|
1548
3290
|
{
|
|
1549
|
-
name: '
|
|
1550
|
-
type: '
|
|
3291
|
+
name: 'legoId',
|
|
3292
|
+
type: 'uint256',
|
|
1551
3293
|
},
|
|
1552
3294
|
{
|
|
1553
|
-
name: '
|
|
3295
|
+
name: 'asset',
|
|
1554
3296
|
type: 'address',
|
|
1555
3297
|
},
|
|
1556
3298
|
{
|
|
1557
|
-
name: '
|
|
1558
|
-
type: '
|
|
3299
|
+
name: 'vaultToken',
|
|
3300
|
+
type: 'address',
|
|
1559
3301
|
},
|
|
1560
3302
|
],
|
|
1561
3303
|
},
|
|
@@ -1564,7 +3306,7 @@ export const abi = [
|
|
|
1564
3306
|
{
|
|
1565
3307
|
stateMutability: 'view',
|
|
1566
3308
|
type: 'function',
|
|
1567
|
-
name: '
|
|
3309
|
+
name: 'pendingMorphoRewardsAddr',
|
|
1568
3310
|
inputs: [
|
|
1569
3311
|
{
|
|
1570
3312
|
name: 'arg0',
|
|
@@ -1577,12 +3319,12 @@ export const abi = [
|
|
|
1577
3319
|
type: 'tuple',
|
|
1578
3320
|
components: [
|
|
1579
3321
|
{
|
|
1580
|
-
name: '
|
|
1581
|
-
type: '
|
|
3322
|
+
name: 'legoId',
|
|
3323
|
+
type: 'uint256',
|
|
1582
3324
|
},
|
|
1583
3325
|
{
|
|
1584
|
-
name: '
|
|
1585
|
-
type: '
|
|
3326
|
+
name: 'rewardsAddr',
|
|
3327
|
+
type: 'address',
|
|
1586
3328
|
},
|
|
1587
3329
|
],
|
|
1588
3330
|
},
|
|
@@ -1591,7 +3333,7 @@ export const abi = [
|
|
|
1591
3333
|
{
|
|
1592
3334
|
stateMutability: 'view',
|
|
1593
3335
|
type: 'function',
|
|
1594
|
-
name: '
|
|
3336
|
+
name: 'pendingEulerRewardsAddr',
|
|
1595
3337
|
inputs: [
|
|
1596
3338
|
{
|
|
1597
3339
|
name: 'arg0',
|
|
@@ -1604,11 +3346,11 @@ export const abi = [
|
|
|
1604
3346
|
type: 'tuple',
|
|
1605
3347
|
components: [
|
|
1606
3348
|
{
|
|
1607
|
-
name: '
|
|
1608
|
-
type: '
|
|
3349
|
+
name: 'legoId',
|
|
3350
|
+
type: 'uint256',
|
|
1609
3351
|
},
|
|
1610
3352
|
{
|
|
1611
|
-
name: '
|
|
3353
|
+
name: 'rewardsAddr',
|
|
1612
3354
|
type: 'address',
|
|
1613
3355
|
},
|
|
1614
3356
|
],
|
|
@@ -1618,7 +3360,7 @@ export const abi = [
|
|
|
1618
3360
|
{
|
|
1619
3361
|
stateMutability: 'view',
|
|
1620
3362
|
type: 'function',
|
|
1621
|
-
name: '
|
|
3363
|
+
name: 'pendingCompRewardsAddr',
|
|
1622
3364
|
inputs: [
|
|
1623
3365
|
{
|
|
1624
3366
|
name: 'arg0',
|
|
@@ -1631,12 +3373,12 @@ export const abi = [
|
|
|
1631
3373
|
type: 'tuple',
|
|
1632
3374
|
components: [
|
|
1633
3375
|
{
|
|
1634
|
-
name: '
|
|
1635
|
-
type: '
|
|
3376
|
+
name: 'legoId',
|
|
3377
|
+
type: 'uint256',
|
|
1636
3378
|
},
|
|
1637
3379
|
{
|
|
1638
|
-
name: '
|
|
1639
|
-
type: '
|
|
3380
|
+
name: 'rewardsAddr',
|
|
3381
|
+
type: 'address',
|
|
1640
3382
|
},
|
|
1641
3383
|
],
|
|
1642
3384
|
},
|
|
@@ -1666,7 +3408,7 @@ export const abi = [
|
|
|
1666
3408
|
outputs: [],
|
|
1667
3409
|
},
|
|
1668
3410
|
];
|
|
1669
|
-
export const deployAddress = '
|
|
3411
|
+
export const deployAddress = '0xDd7507f7FC1845Ba0f07C3f0164D7b114C150117';
|
|
1670
3412
|
function getRequest(method, args, contractAddressOrOptions) {
|
|
1671
3413
|
const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
|
|
1672
3414
|
const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
|
|
@@ -1724,9 +3466,22 @@ export const call = {
|
|
|
1724
3466
|
pendingMinYieldWithdrawAmount: (...args) => getRequest('pendingMinYieldWithdrawAmount', args),
|
|
1725
3467
|
pendingSnapShotPriceConfig: (...args) => getRequest('pendingSnapShotPriceConfig', args),
|
|
1726
3468
|
pendingApprovedVaultToken: (...args) => getRequest('pendingApprovedVaultToken', args),
|
|
3469
|
+
pendingApprovedVaultTokens: (...args) => getRequest('pendingApprovedVaultTokens', args),
|
|
1727
3470
|
pendingPerformanceFee: (...args) => getRequest('pendingPerformanceFee', args),
|
|
1728
3471
|
pendingDefaultTargetVaultToken: (...args) => getRequest('pendingDefaultTargetVaultToken', args),
|
|
1729
3472
|
pendingMaxDepositAmount: (...args) => getRequest('pendingMaxDepositAmount', args),
|
|
3473
|
+
pendingIsLeveragedVault: (...args) => getRequest('pendingIsLeveragedVault', args),
|
|
3474
|
+
pendingCollateralVault: (...args) => getRequest('pendingCollateralVault', args),
|
|
3475
|
+
pendingLeverageVault: (...args) => getRequest('pendingLeverageVault', args),
|
|
3476
|
+
pendingSlippages: (...args) => getRequest('pendingSlippages', args),
|
|
3477
|
+
pendingLevgVaultHelper: (...args) => getRequest('pendingLevgVaultHelper', args),
|
|
3478
|
+
pendingMaxDebtRatio: (...args) => getRequest('pendingMaxDebtRatio', args),
|
|
3479
|
+
pendingAddManager: (...args) => getRequest('pendingAddManager', args),
|
|
3480
|
+
pendingRemoveManager: (...args) => getRequest('pendingRemoveManager', args),
|
|
3481
|
+
pendingRegisterVaultTokenOnLego: (...args) => getRequest('pendingRegisterVaultTokenOnLego', args),
|
|
3482
|
+
pendingMorphoRewardsAddr: (...args) => getRequest('pendingMorphoRewardsAddr', args),
|
|
3483
|
+
pendingEulerRewardsAddr: (...args) => getRequest('pendingEulerRewardsAddr', args),
|
|
3484
|
+
pendingCompRewardsAddr: (...args) => getRequest('pendingCompRewardsAddr', args),
|
|
1730
3485
|
};
|
|
1731
3486
|
function getMutation(functionName) {
|
|
1732
3487
|
return {
|
|
@@ -1751,13 +3506,34 @@ export const mutation = {
|
|
|
1751
3506
|
setCanWithdraw: getMutation('setCanWithdraw'),
|
|
1752
3507
|
setVaultOpsFrozen: getMutation('setVaultOpsFrozen'),
|
|
1753
3508
|
setShouldAutoDeposit: getMutation('setShouldAutoDeposit'),
|
|
3509
|
+
setShouldEnforceAllowlist: getMutation('setShouldEnforceAllowlist'),
|
|
3510
|
+
setAllowed: getMutation('setAllowed'),
|
|
3511
|
+
setAllowedBatch: getMutation('setAllowedBatch'),
|
|
3512
|
+
addPriceSnapshot: getMutation('addPriceSnapshot'),
|
|
3513
|
+
deregisterVaultTokenOnLego: getMutation('deregisterVaultTokenOnLego'),
|
|
3514
|
+
updateYieldPosition: getMutation('updateYieldPosition'),
|
|
3515
|
+
claimPerformanceFees: getMutation('claimPerformanceFees'),
|
|
3516
|
+
sweepLeftovers: getMutation('sweepLeftovers'),
|
|
1754
3517
|
setRedemptionBuffer: getMutation('setRedemptionBuffer'),
|
|
1755
3518
|
setMinYieldWithdrawAmount: getMutation('setMinYieldWithdrawAmount'),
|
|
1756
3519
|
setSnapShotPriceConfig: getMutation('setSnapShotPriceConfig'),
|
|
1757
3520
|
setApprovedVaultToken: getMutation('setApprovedVaultToken'),
|
|
3521
|
+
setApprovedVaultTokens: getMutation('setApprovedVaultTokens'),
|
|
1758
3522
|
setPerformanceFee: getMutation('setPerformanceFee'),
|
|
1759
3523
|
setDefaultTargetVaultToken: getMutation('setDefaultTargetVaultToken'),
|
|
1760
3524
|
setMaxDepositAmount: getMutation('setMaxDepositAmount'),
|
|
3525
|
+
setIsLeveragedVault: getMutation('setIsLeveragedVault'),
|
|
3526
|
+
setCollateralVault: getMutation('setCollateralVault'),
|
|
3527
|
+
setLeverageVault: getMutation('setLeverageVault'),
|
|
3528
|
+
setSlippagesAllowed: getMutation('setSlippagesAllowed'),
|
|
3529
|
+
setLevgVaultHelper: getMutation('setLevgVaultHelper'),
|
|
3530
|
+
setMaxDebtRatio: getMutation('setMaxDebtRatio'),
|
|
3531
|
+
addVaultManager: getMutation('addVaultManager'),
|
|
3532
|
+
removeVaultManager: getMutation('removeVaultManager'),
|
|
3533
|
+
registerVaultTokenOnLego: getMutation('registerVaultTokenOnLego'),
|
|
3534
|
+
setMorphoRewardsAddr: getMutation('setMorphoRewardsAddr'),
|
|
3535
|
+
setEulerRewardsAddr: getMutation('setEulerRewardsAddr'),
|
|
3536
|
+
setCompRewardsAddr: getMutation('setCompRewardsAddr'),
|
|
1761
3537
|
executePendingAction: getMutation('executePendingAction'),
|
|
1762
3538
|
cancelPendingAction: getMutation('cancelPendingAction'),
|
|
1763
3539
|
};
|
|
@@ -1795,9 +3571,22 @@ export function toSdk(publicClient, walletClient) {
|
|
|
1795
3571
|
pendingMinYieldWithdrawAmount: (...args) => singleQuery(publicClient, call.pendingMinYieldWithdrawAmount(...args)),
|
|
1796
3572
|
pendingSnapShotPriceConfig: (...args) => singleQuery(publicClient, call.pendingSnapShotPriceConfig(...args)),
|
|
1797
3573
|
pendingApprovedVaultToken: (...args) => singleQuery(publicClient, call.pendingApprovedVaultToken(...args)),
|
|
3574
|
+
pendingApprovedVaultTokens: (...args) => singleQuery(publicClient, call.pendingApprovedVaultTokens(...args)),
|
|
1798
3575
|
pendingPerformanceFee: (...args) => singleQuery(publicClient, call.pendingPerformanceFee(...args)),
|
|
1799
3576
|
pendingDefaultTargetVaultToken: (...args) => singleQuery(publicClient, call.pendingDefaultTargetVaultToken(...args)),
|
|
1800
3577
|
pendingMaxDepositAmount: (...args) => singleQuery(publicClient, call.pendingMaxDepositAmount(...args)),
|
|
3578
|
+
pendingIsLeveragedVault: (...args) => singleQuery(publicClient, call.pendingIsLeveragedVault(...args)),
|
|
3579
|
+
pendingCollateralVault: (...args) => singleQuery(publicClient, call.pendingCollateralVault(...args)),
|
|
3580
|
+
pendingLeverageVault: (...args) => singleQuery(publicClient, call.pendingLeverageVault(...args)),
|
|
3581
|
+
pendingSlippages: (...args) => singleQuery(publicClient, call.pendingSlippages(...args)),
|
|
3582
|
+
pendingLevgVaultHelper: (...args) => singleQuery(publicClient, call.pendingLevgVaultHelper(...args)),
|
|
3583
|
+
pendingMaxDebtRatio: (...args) => singleQuery(publicClient, call.pendingMaxDebtRatio(...args)),
|
|
3584
|
+
pendingAddManager: (...args) => singleQuery(publicClient, call.pendingAddManager(...args)),
|
|
3585
|
+
pendingRemoveManager: (...args) => singleQuery(publicClient, call.pendingRemoveManager(...args)),
|
|
3586
|
+
pendingRegisterVaultTokenOnLego: (...args) => singleQuery(publicClient, call.pendingRegisterVaultTokenOnLego(...args)),
|
|
3587
|
+
pendingMorphoRewardsAddr: (...args) => singleQuery(publicClient, call.pendingMorphoRewardsAddr(...args)),
|
|
3588
|
+
pendingEulerRewardsAddr: (...args) => singleQuery(publicClient, call.pendingEulerRewardsAddr(...args)),
|
|
3589
|
+
pendingCompRewardsAddr: (...args) => singleQuery(publicClient, call.pendingCompRewardsAddr(...args)),
|
|
1801
3590
|
// Mutations
|
|
1802
3591
|
startGovernanceChange: (...args) => mutate(walletClient, mutation.startGovernanceChange)(...args),
|
|
1803
3592
|
confirmGovernanceChange: (...args) => mutate(walletClient, mutation.confirmGovernanceChange)(...args),
|
|
@@ -1812,13 +3601,34 @@ export function toSdk(publicClient, walletClient) {
|
|
|
1812
3601
|
setCanWithdraw: (...args) => mutate(walletClient, mutation.setCanWithdraw)(...args),
|
|
1813
3602
|
setVaultOpsFrozen: (...args) => mutate(walletClient, mutation.setVaultOpsFrozen)(...args),
|
|
1814
3603
|
setShouldAutoDeposit: (...args) => mutate(walletClient, mutation.setShouldAutoDeposit)(...args),
|
|
3604
|
+
setShouldEnforceAllowlist: (...args) => mutate(walletClient, mutation.setShouldEnforceAllowlist)(...args),
|
|
3605
|
+
setAllowed: (...args) => mutate(walletClient, mutation.setAllowed)(...args),
|
|
3606
|
+
setAllowedBatch: (...args) => mutate(walletClient, mutation.setAllowedBatch)(...args),
|
|
3607
|
+
addPriceSnapshot: (...args) => mutate(walletClient, mutation.addPriceSnapshot)(...args),
|
|
3608
|
+
deregisterVaultTokenOnLego: (...args) => mutate(walletClient, mutation.deregisterVaultTokenOnLego)(...args),
|
|
3609
|
+
updateYieldPosition: (...args) => mutate(walletClient, mutation.updateYieldPosition)(...args),
|
|
3610
|
+
claimPerformanceFees: (...args) => mutate(walletClient, mutation.claimPerformanceFees)(...args),
|
|
3611
|
+
sweepLeftovers: (...args) => mutate(walletClient, mutation.sweepLeftovers)(...args),
|
|
1815
3612
|
setRedemptionBuffer: (...args) => mutate(walletClient, mutation.setRedemptionBuffer)(...args),
|
|
1816
3613
|
setMinYieldWithdrawAmount: (...args) => mutate(walletClient, mutation.setMinYieldWithdrawAmount)(...args),
|
|
1817
3614
|
setSnapShotPriceConfig: (...args) => mutate(walletClient, mutation.setSnapShotPriceConfig)(...args),
|
|
1818
3615
|
setApprovedVaultToken: (...args) => mutate(walletClient, mutation.setApprovedVaultToken)(...args),
|
|
3616
|
+
setApprovedVaultTokens: (...args) => mutate(walletClient, mutation.setApprovedVaultTokens)(...args),
|
|
1819
3617
|
setPerformanceFee: (...args) => mutate(walletClient, mutation.setPerformanceFee)(...args),
|
|
1820
3618
|
setDefaultTargetVaultToken: (...args) => mutate(walletClient, mutation.setDefaultTargetVaultToken)(...args),
|
|
1821
3619
|
setMaxDepositAmount: (...args) => mutate(walletClient, mutation.setMaxDepositAmount)(...args),
|
|
3620
|
+
setIsLeveragedVault: (...args) => mutate(walletClient, mutation.setIsLeveragedVault)(...args),
|
|
3621
|
+
setCollateralVault: (...args) => mutate(walletClient, mutation.setCollateralVault)(...args),
|
|
3622
|
+
setLeverageVault: (...args) => mutate(walletClient, mutation.setLeverageVault)(...args),
|
|
3623
|
+
setSlippagesAllowed: (...args) => mutate(walletClient, mutation.setSlippagesAllowed)(...args),
|
|
3624
|
+
setLevgVaultHelper: (...args) => mutate(walletClient, mutation.setLevgVaultHelper)(...args),
|
|
3625
|
+
setMaxDebtRatio: (...args) => mutate(walletClient, mutation.setMaxDebtRatio)(...args),
|
|
3626
|
+
addVaultManager: (...args) => mutate(walletClient, mutation.addVaultManager)(...args),
|
|
3627
|
+
removeVaultManager: (...args) => mutate(walletClient, mutation.removeVaultManager)(...args),
|
|
3628
|
+
registerVaultTokenOnLego: (...args) => mutate(walletClient, mutation.registerVaultTokenOnLego)(...args),
|
|
3629
|
+
setMorphoRewardsAddr: (...args) => mutate(walletClient, mutation.setMorphoRewardsAddr)(...args),
|
|
3630
|
+
setEulerRewardsAddr: (...args) => mutate(walletClient, mutation.setEulerRewardsAddr)(...args),
|
|
3631
|
+
setCompRewardsAddr: (...args) => mutate(walletClient, mutation.setCompRewardsAddr)(...args),
|
|
1822
3632
|
executePendingAction: (...args) => mutate(walletClient, mutation.executePendingAction)(...args),
|
|
1823
3633
|
cancelPendingAction: (...args) => mutate(walletClient, mutation.cancelPendingAction)(...args),
|
|
1824
3634
|
};
|