@underscore-finance/sdk 1.1.2 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +33 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -7
- package/package.json +2 -2
|
@@ -48,50 +48,6 @@ export const abi = [
|
|
|
48
48
|
anonymous: false,
|
|
49
49
|
type: 'event',
|
|
50
50
|
},
|
|
51
|
-
{
|
|
52
|
-
name: 'PendingTrialFundsChange',
|
|
53
|
-
inputs: [
|
|
54
|
-
{
|
|
55
|
-
name: 'trialAsset',
|
|
56
|
-
type: 'address',
|
|
57
|
-
indexed: false,
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
name: 'trialAmount',
|
|
61
|
-
type: 'uint256',
|
|
62
|
-
indexed: false,
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
name: 'confirmationBlock',
|
|
66
|
-
type: 'uint256',
|
|
67
|
-
indexed: false,
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
name: 'actionId',
|
|
71
|
-
type: 'uint256',
|
|
72
|
-
indexed: false,
|
|
73
|
-
},
|
|
74
|
-
],
|
|
75
|
-
anonymous: false,
|
|
76
|
-
type: 'event',
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
name: 'TrialFundsSet',
|
|
80
|
-
inputs: [
|
|
81
|
-
{
|
|
82
|
-
name: 'trialAsset',
|
|
83
|
-
type: 'address',
|
|
84
|
-
indexed: false,
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
name: 'trialAmount',
|
|
88
|
-
type: 'uint256',
|
|
89
|
-
indexed: false,
|
|
90
|
-
},
|
|
91
|
-
],
|
|
92
|
-
anonymous: false,
|
|
93
|
-
type: 'event',
|
|
94
|
-
},
|
|
95
51
|
{
|
|
96
52
|
name: 'PendingWalletCreationLimitsChange',
|
|
97
53
|
inputs: [
|
|
@@ -180,40 +136,6 @@ export const abi = [
|
|
|
180
136
|
anonymous: false,
|
|
181
137
|
type: 'event',
|
|
182
138
|
},
|
|
183
|
-
{
|
|
184
|
-
name: 'PendingDefaultStaleBlocksChange',
|
|
185
|
-
inputs: [
|
|
186
|
-
{
|
|
187
|
-
name: 'defaultStaleBlocks',
|
|
188
|
-
type: 'uint256',
|
|
189
|
-
indexed: false,
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
name: 'confirmationBlock',
|
|
193
|
-
type: 'uint256',
|
|
194
|
-
indexed: false,
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
name: 'actionId',
|
|
198
|
-
type: 'uint256',
|
|
199
|
-
indexed: false,
|
|
200
|
-
},
|
|
201
|
-
],
|
|
202
|
-
anonymous: false,
|
|
203
|
-
type: 'event',
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
name: 'DefaultStaleBlocksSet',
|
|
207
|
-
inputs: [
|
|
208
|
-
{
|
|
209
|
-
name: 'defaultStaleBlocks',
|
|
210
|
-
type: 'uint256',
|
|
211
|
-
indexed: false,
|
|
212
|
-
},
|
|
213
|
-
],
|
|
214
|
-
anonymous: false,
|
|
215
|
-
type: 'event',
|
|
216
|
-
},
|
|
217
139
|
{
|
|
218
140
|
name: 'PendingTxFeesChange',
|
|
219
141
|
inputs: [
|
|
@@ -346,7 +268,7 @@ export const abi = [
|
|
|
346
268
|
indexed: false,
|
|
347
269
|
},
|
|
348
270
|
{
|
|
349
|
-
name: '
|
|
271
|
+
name: 'defaultYieldBonusAsset',
|
|
350
272
|
type: 'address',
|
|
351
273
|
indexed: false,
|
|
352
274
|
},
|
|
@@ -388,7 +310,7 @@ export const abi = [
|
|
|
388
310
|
indexed: false,
|
|
389
311
|
},
|
|
390
312
|
{
|
|
391
|
-
name: '
|
|
313
|
+
name: 'defaultYieldBonusAsset',
|
|
392
314
|
type: 'address',
|
|
393
315
|
indexed: false,
|
|
394
316
|
},
|
|
@@ -448,16 +370,6 @@ export const abi = [
|
|
|
448
370
|
type: 'address',
|
|
449
371
|
indexed: false,
|
|
450
372
|
},
|
|
451
|
-
{
|
|
452
|
-
name: 'legoId',
|
|
453
|
-
type: 'uint256',
|
|
454
|
-
indexed: false,
|
|
455
|
-
},
|
|
456
|
-
{
|
|
457
|
-
name: 'staleBlocks',
|
|
458
|
-
type: 'uint256',
|
|
459
|
-
indexed: false,
|
|
460
|
-
},
|
|
461
373
|
{
|
|
462
374
|
name: 'txFeesSwapFee',
|
|
463
375
|
type: 'uint256',
|
|
@@ -488,21 +400,6 @@ export const abi = [
|
|
|
488
400
|
type: 'uint256',
|
|
489
401
|
indexed: false,
|
|
490
402
|
},
|
|
491
|
-
{
|
|
492
|
-
name: 'isYieldAsset',
|
|
493
|
-
type: 'bool',
|
|
494
|
-
indexed: false,
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
name: 'isRebasing',
|
|
498
|
-
type: 'bool',
|
|
499
|
-
indexed: false,
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
name: 'underlyingAsset',
|
|
503
|
-
type: 'address',
|
|
504
|
-
indexed: false,
|
|
505
|
-
},
|
|
506
403
|
{
|
|
507
404
|
name: 'maxYieldIncrease',
|
|
508
405
|
type: 'uint256',
|
|
@@ -524,7 +421,7 @@ export const abi = [
|
|
|
524
421
|
indexed: false,
|
|
525
422
|
},
|
|
526
423
|
{
|
|
527
|
-
name: '
|
|
424
|
+
name: 'bonusAsset',
|
|
528
425
|
type: 'address',
|
|
529
426
|
indexed: false,
|
|
530
427
|
},
|
|
@@ -595,97 +492,151 @@ export const abi = [
|
|
|
595
492
|
indexed: false,
|
|
596
493
|
},
|
|
597
494
|
{
|
|
598
|
-
name: '
|
|
495
|
+
name: 'txFeesSwapFee',
|
|
599
496
|
type: 'uint256',
|
|
600
497
|
indexed: false,
|
|
601
498
|
},
|
|
602
499
|
{
|
|
603
|
-
name: '
|
|
500
|
+
name: 'txFeesStableSwapFee',
|
|
604
501
|
type: 'uint256',
|
|
605
502
|
indexed: false,
|
|
606
503
|
},
|
|
607
504
|
{
|
|
608
|
-
name: '
|
|
505
|
+
name: 'txFeesRewardsFee',
|
|
609
506
|
type: 'uint256',
|
|
610
507
|
indexed: false,
|
|
611
508
|
},
|
|
612
509
|
{
|
|
613
|
-
name: '
|
|
510
|
+
name: 'ambassadorRevShareSwapRatio',
|
|
614
511
|
type: 'uint256',
|
|
615
512
|
indexed: false,
|
|
616
513
|
},
|
|
617
514
|
{
|
|
618
|
-
name: '
|
|
515
|
+
name: 'ambassadorRevShareRewardsRatio',
|
|
619
516
|
type: 'uint256',
|
|
620
517
|
indexed: false,
|
|
621
518
|
},
|
|
622
519
|
{
|
|
623
|
-
name: '
|
|
520
|
+
name: 'ambassadorRevShareYieldRatio',
|
|
624
521
|
type: 'uint256',
|
|
625
522
|
indexed: false,
|
|
626
523
|
},
|
|
627
524
|
{
|
|
628
|
-
name: '
|
|
525
|
+
name: 'maxYieldIncrease',
|
|
629
526
|
type: 'uint256',
|
|
630
527
|
indexed: false,
|
|
631
528
|
},
|
|
632
529
|
{
|
|
633
|
-
name: '
|
|
530
|
+
name: 'performanceFee',
|
|
634
531
|
type: 'uint256',
|
|
635
532
|
indexed: false,
|
|
636
533
|
},
|
|
637
534
|
{
|
|
638
|
-
name: '
|
|
639
|
-
type: '
|
|
535
|
+
name: 'ambassadorBonusRatio',
|
|
536
|
+
type: 'uint256',
|
|
640
537
|
indexed: false,
|
|
641
538
|
},
|
|
642
539
|
{
|
|
643
|
-
name: '
|
|
644
|
-
type: '
|
|
540
|
+
name: 'bonusRatio',
|
|
541
|
+
type: 'uint256',
|
|
542
|
+
indexed: false,
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
name: 'bonusAsset',
|
|
546
|
+
type: 'address',
|
|
645
547
|
indexed: false,
|
|
646
548
|
},
|
|
549
|
+
],
|
|
550
|
+
anonymous: false,
|
|
551
|
+
type: 'event',
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
name: 'PendingAssetTxFeesChange',
|
|
555
|
+
inputs: [
|
|
647
556
|
{
|
|
648
|
-
name: '
|
|
557
|
+
name: 'asset',
|
|
649
558
|
type: 'address',
|
|
650
559
|
indexed: false,
|
|
651
560
|
},
|
|
652
561
|
{
|
|
653
|
-
name: '
|
|
562
|
+
name: 'swapFee',
|
|
654
563
|
type: 'uint256',
|
|
655
564
|
indexed: false,
|
|
656
565
|
},
|
|
657
566
|
{
|
|
658
|
-
name: '
|
|
567
|
+
name: 'stableSwapFee',
|
|
659
568
|
type: 'uint256',
|
|
660
569
|
indexed: false,
|
|
661
570
|
},
|
|
662
571
|
{
|
|
663
|
-
name: '
|
|
572
|
+
name: 'rewardsFee',
|
|
664
573
|
type: 'uint256',
|
|
665
574
|
indexed: false,
|
|
666
575
|
},
|
|
667
576
|
{
|
|
668
|
-
name: '
|
|
577
|
+
name: 'confirmationBlock',
|
|
578
|
+
type: 'uint256',
|
|
579
|
+
indexed: false,
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
name: 'actionId',
|
|
669
583
|
type: 'uint256',
|
|
670
584
|
indexed: false,
|
|
671
585
|
},
|
|
586
|
+
],
|
|
587
|
+
anonymous: false,
|
|
588
|
+
type: 'event',
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
name: 'AssetTxFeesSet',
|
|
592
|
+
inputs: [
|
|
672
593
|
{
|
|
673
|
-
name: '
|
|
594
|
+
name: 'asset',
|
|
674
595
|
type: 'address',
|
|
675
596
|
indexed: false,
|
|
676
597
|
},
|
|
598
|
+
{
|
|
599
|
+
name: 'swapFee',
|
|
600
|
+
type: 'uint256',
|
|
601
|
+
indexed: false,
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
name: 'stableSwapFee',
|
|
605
|
+
type: 'uint256',
|
|
606
|
+
indexed: false,
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
name: 'rewardsFee',
|
|
610
|
+
type: 'uint256',
|
|
611
|
+
indexed: false,
|
|
612
|
+
},
|
|
677
613
|
],
|
|
678
614
|
anonymous: false,
|
|
679
615
|
type: 'event',
|
|
680
616
|
},
|
|
681
617
|
{
|
|
682
|
-
name: '
|
|
618
|
+
name: 'PendingAssetAmbassadorRevShareChange',
|
|
683
619
|
inputs: [
|
|
684
620
|
{
|
|
685
|
-
name: '
|
|
621
|
+
name: 'asset',
|
|
686
622
|
type: 'address',
|
|
687
623
|
indexed: false,
|
|
688
624
|
},
|
|
625
|
+
{
|
|
626
|
+
name: 'swapRatio',
|
|
627
|
+
type: 'uint256',
|
|
628
|
+
indexed: false,
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
name: 'rewardsRatio',
|
|
632
|
+
type: 'uint256',
|
|
633
|
+
indexed: false,
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
name: 'yieldRatio',
|
|
637
|
+
type: 'uint256',
|
|
638
|
+
indexed: false,
|
|
639
|
+
},
|
|
689
640
|
{
|
|
690
641
|
name: 'confirmationBlock',
|
|
691
642
|
type: 'uint256',
|
|
@@ -701,28 +652,63 @@ export const abi = [
|
|
|
701
652
|
type: 'event',
|
|
702
653
|
},
|
|
703
654
|
{
|
|
704
|
-
name: '
|
|
655
|
+
name: 'AssetAmbassadorRevShareSet',
|
|
705
656
|
inputs: [
|
|
706
657
|
{
|
|
707
|
-
name: '
|
|
658
|
+
name: 'asset',
|
|
708
659
|
type: 'address',
|
|
709
660
|
indexed: false,
|
|
710
661
|
},
|
|
662
|
+
{
|
|
663
|
+
name: 'swapRatio',
|
|
664
|
+
type: 'uint256',
|
|
665
|
+
indexed: false,
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
name: 'rewardsRatio',
|
|
669
|
+
type: 'uint256',
|
|
670
|
+
indexed: false,
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
name: 'yieldRatio',
|
|
674
|
+
type: 'uint256',
|
|
675
|
+
indexed: false,
|
|
676
|
+
},
|
|
711
677
|
],
|
|
712
678
|
anonymous: false,
|
|
713
679
|
type: 'event',
|
|
714
680
|
},
|
|
715
681
|
{
|
|
716
|
-
name: '
|
|
682
|
+
name: 'PendingAssetYieldConfigChange',
|
|
717
683
|
inputs: [
|
|
718
684
|
{
|
|
719
|
-
name: '
|
|
685
|
+
name: 'asset',
|
|
686
|
+
type: 'address',
|
|
687
|
+
indexed: false,
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
name: 'maxYieldIncrease',
|
|
691
|
+
type: 'uint256',
|
|
692
|
+
indexed: false,
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
name: 'performanceFee',
|
|
720
696
|
type: 'uint256',
|
|
721
697
|
indexed: false,
|
|
722
698
|
},
|
|
723
699
|
{
|
|
724
|
-
name: '
|
|
725
|
-
type: '
|
|
700
|
+
name: 'ambassadorBonusRatio',
|
|
701
|
+
type: 'uint256',
|
|
702
|
+
indexed: false,
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
name: 'bonusRatio',
|
|
706
|
+
type: 'uint256',
|
|
707
|
+
indexed: false,
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
name: 'bonusAsset',
|
|
711
|
+
type: 'address',
|
|
726
712
|
indexed: false,
|
|
727
713
|
},
|
|
728
714
|
{
|
|
@@ -740,16 +726,36 @@ export const abi = [
|
|
|
740
726
|
type: 'event',
|
|
741
727
|
},
|
|
742
728
|
{
|
|
743
|
-
name: '
|
|
729
|
+
name: 'AssetYieldConfigSet',
|
|
744
730
|
inputs: [
|
|
745
731
|
{
|
|
746
|
-
name: '
|
|
732
|
+
name: 'asset',
|
|
733
|
+
type: 'address',
|
|
734
|
+
indexed: false,
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
name: 'maxYieldIncrease',
|
|
738
|
+
type: 'uint256',
|
|
739
|
+
indexed: false,
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
name: 'performanceFee',
|
|
747
743
|
type: 'uint256',
|
|
748
744
|
indexed: false,
|
|
749
745
|
},
|
|
750
746
|
{
|
|
751
|
-
name: '
|
|
752
|
-
type: '
|
|
747
|
+
name: 'ambassadorBonusRatio',
|
|
748
|
+
type: 'uint256',
|
|
749
|
+
indexed: false,
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
name: 'bonusRatio',
|
|
753
|
+
type: 'uint256',
|
|
754
|
+
indexed: false,
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
name: 'bonusAsset',
|
|
758
|
+
type: 'address',
|
|
753
759
|
indexed: false,
|
|
754
760
|
},
|
|
755
761
|
],
|
|
@@ -813,6 +819,26 @@ export const abi = [
|
|
|
813
819
|
type: 'uint256',
|
|
814
820
|
indexed: false,
|
|
815
821
|
},
|
|
822
|
+
{
|
|
823
|
+
name: 'mustHaveUsdValueOnSwaps',
|
|
824
|
+
type: 'bool',
|
|
825
|
+
indexed: false,
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
name: 'maxNumSwapsPerPeriod',
|
|
829
|
+
type: 'uint256',
|
|
830
|
+
indexed: false,
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
name: 'maxSlippageOnSwaps',
|
|
834
|
+
type: 'uint256',
|
|
835
|
+
indexed: false,
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
name: 'onlyApprovedYieldOpps',
|
|
839
|
+
type: 'bool',
|
|
840
|
+
indexed: false,
|
|
841
|
+
},
|
|
816
842
|
{
|
|
817
843
|
name: 'confirmationBlock',
|
|
818
844
|
type: 'uint256',
|
|
@@ -977,8 +1003,13 @@ export const abi = [
|
|
|
977
1003
|
type: 'event',
|
|
978
1004
|
},
|
|
979
1005
|
{
|
|
980
|
-
name: '
|
|
1006
|
+
name: 'RipeRewardsConfigSetFromSwitchboard',
|
|
981
1007
|
inputs: [
|
|
1008
|
+
{
|
|
1009
|
+
name: 'ripeStakeRatio',
|
|
1010
|
+
type: 'uint256',
|
|
1011
|
+
indexed: false,
|
|
1012
|
+
},
|
|
982
1013
|
{
|
|
983
1014
|
name: 'ripeLockDuration',
|
|
984
1015
|
type: 'uint256',
|
|
@@ -989,10 +1020,71 @@ export const abi = [
|
|
|
989
1020
|
type: 'event',
|
|
990
1021
|
},
|
|
991
1022
|
{
|
|
992
|
-
name: '
|
|
1023
|
+
name: 'PendingAgentWrapperSenderAdd',
|
|
993
1024
|
inputs: [
|
|
994
1025
|
{
|
|
995
|
-
name: '
|
|
1026
|
+
name: 'agentWrapper',
|
|
1027
|
+
type: 'address',
|
|
1028
|
+
indexed: true,
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
name: 'agentSender',
|
|
1032
|
+
type: 'address',
|
|
1033
|
+
indexed: true,
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
name: 'confirmationBlock',
|
|
1037
|
+
type: 'uint256',
|
|
1038
|
+
indexed: false,
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
name: 'actionId',
|
|
1042
|
+
type: 'uint256',
|
|
1043
|
+
indexed: false,
|
|
1044
|
+
},
|
|
1045
|
+
],
|
|
1046
|
+
anonymous: false,
|
|
1047
|
+
type: 'event',
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
name: 'AgentWrapperSenderAdded',
|
|
1051
|
+
inputs: [
|
|
1052
|
+
{
|
|
1053
|
+
name: 'agentWrapper',
|
|
1054
|
+
type: 'address',
|
|
1055
|
+
indexed: true,
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
name: 'agentSender',
|
|
1059
|
+
type: 'address',
|
|
1060
|
+
indexed: true,
|
|
1061
|
+
},
|
|
1062
|
+
],
|
|
1063
|
+
anonymous: false,
|
|
1064
|
+
type: 'event',
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
name: 'AgentWrapperSenderRemoved',
|
|
1068
|
+
inputs: [
|
|
1069
|
+
{
|
|
1070
|
+
name: 'agentWrapper',
|
|
1071
|
+
type: 'address',
|
|
1072
|
+
indexed: true,
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
name: 'agentSender',
|
|
1076
|
+
type: 'address',
|
|
1077
|
+
indexed: true,
|
|
1078
|
+
},
|
|
1079
|
+
],
|
|
1080
|
+
anonymous: false,
|
|
1081
|
+
type: 'event',
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
name: 'GovChangeTimeLockModified',
|
|
1085
|
+
inputs: [
|
|
1086
|
+
{
|
|
1087
|
+
name: 'prevTimeLock',
|
|
996
1088
|
type: 'uint256',
|
|
997
1089
|
indexed: false,
|
|
998
1090
|
},
|
|
@@ -1193,6 +1285,10 @@ export const abi = [
|
|
|
1193
1285
|
name: 'billing',
|
|
1194
1286
|
type: 'address',
|
|
1195
1287
|
},
|
|
1288
|
+
{
|
|
1289
|
+
name: 'vaultRegistry',
|
|
1290
|
+
type: 'address',
|
|
1291
|
+
},
|
|
1196
1292
|
],
|
|
1197
1293
|
},
|
|
1198
1294
|
],
|
|
@@ -1713,27 +1809,6 @@ export const abi = [
|
|
|
1713
1809
|
},
|
|
1714
1810
|
],
|
|
1715
1811
|
},
|
|
1716
|
-
{
|
|
1717
|
-
stateMutability: 'nonpayable',
|
|
1718
|
-
type: 'function',
|
|
1719
|
-
name: 'setTrialFunds',
|
|
1720
|
-
inputs: [
|
|
1721
|
-
{
|
|
1722
|
-
name: '_trialAsset',
|
|
1723
|
-
type: 'address',
|
|
1724
|
-
},
|
|
1725
|
-
{
|
|
1726
|
-
name: '_trialAmount',
|
|
1727
|
-
type: 'uint256',
|
|
1728
|
-
},
|
|
1729
|
-
],
|
|
1730
|
-
outputs: [
|
|
1731
|
-
{
|
|
1732
|
-
name: '',
|
|
1733
|
-
type: 'uint256',
|
|
1734
|
-
},
|
|
1735
|
-
],
|
|
1736
|
-
},
|
|
1737
1812
|
{
|
|
1738
1813
|
stateMutability: 'nonpayable',
|
|
1739
1814
|
type: 'function',
|
|
@@ -1776,23 +1851,6 @@ export const abi = [
|
|
|
1776
1851
|
},
|
|
1777
1852
|
],
|
|
1778
1853
|
},
|
|
1779
|
-
{
|
|
1780
|
-
stateMutability: 'nonpayable',
|
|
1781
|
-
type: 'function',
|
|
1782
|
-
name: 'setDefaultStaleBlocks',
|
|
1783
|
-
inputs: [
|
|
1784
|
-
{
|
|
1785
|
-
name: '_defaultStaleBlocks',
|
|
1786
|
-
type: 'uint256',
|
|
1787
|
-
},
|
|
1788
|
-
],
|
|
1789
|
-
outputs: [
|
|
1790
|
-
{
|
|
1791
|
-
name: '',
|
|
1792
|
-
type: 'uint256',
|
|
1793
|
-
},
|
|
1794
|
-
],
|
|
1795
|
-
},
|
|
1796
1854
|
{
|
|
1797
1855
|
stateMutability: 'nonpayable',
|
|
1798
1856
|
type: 'function',
|
|
@@ -1865,7 +1923,7 @@ export const abi = [
|
|
|
1865
1923
|
type: 'uint256',
|
|
1866
1924
|
},
|
|
1867
1925
|
{
|
|
1868
|
-
name: '
|
|
1926
|
+
name: '_defaultYieldBonusAsset',
|
|
1869
1927
|
type: 'address',
|
|
1870
1928
|
},
|
|
1871
1929
|
],
|
|
@@ -1906,14 +1964,6 @@ export const abi = [
|
|
|
1906
1964
|
name: '_asset',
|
|
1907
1965
|
type: 'address',
|
|
1908
1966
|
},
|
|
1909
|
-
{
|
|
1910
|
-
name: '_legoId',
|
|
1911
|
-
type: 'uint256',
|
|
1912
|
-
},
|
|
1913
|
-
{
|
|
1914
|
-
name: '_staleBlocks',
|
|
1915
|
-
type: 'uint256',
|
|
1916
|
-
},
|
|
1917
1967
|
{
|
|
1918
1968
|
name: '_txFeesSwapFee',
|
|
1919
1969
|
type: 'uint256',
|
|
@@ -1938,18 +1988,6 @@ export const abi = [
|
|
|
1938
1988
|
name: '_ambassadorRevShareYieldRatio',
|
|
1939
1989
|
type: 'uint256',
|
|
1940
1990
|
},
|
|
1941
|
-
{
|
|
1942
|
-
name: '_isYieldAsset',
|
|
1943
|
-
type: 'bool',
|
|
1944
|
-
},
|
|
1945
|
-
{
|
|
1946
|
-
name: '_isRebasing',
|
|
1947
|
-
type: 'bool',
|
|
1948
|
-
},
|
|
1949
|
-
{
|
|
1950
|
-
name: '_underlyingAsset',
|
|
1951
|
-
type: 'address',
|
|
1952
|
-
},
|
|
1953
1991
|
{
|
|
1954
1992
|
name: '_maxYieldIncrease',
|
|
1955
1993
|
type: 'uint256',
|
|
@@ -1967,7 +2005,7 @@ export const abi = [
|
|
|
1967
2005
|
type: 'uint256',
|
|
1968
2006
|
},
|
|
1969
2007
|
{
|
|
1970
|
-
name: '
|
|
2008
|
+
name: '_bonusAsset',
|
|
1971
2009
|
type: 'address',
|
|
1972
2010
|
},
|
|
1973
2011
|
],
|
|
@@ -1981,15 +2019,23 @@ export const abi = [
|
|
|
1981
2019
|
{
|
|
1982
2020
|
stateMutability: 'nonpayable',
|
|
1983
2021
|
type: 'function',
|
|
1984
|
-
name: '
|
|
2022
|
+
name: 'setAssetTxFees',
|
|
1985
2023
|
inputs: [
|
|
1986
2024
|
{
|
|
1987
2025
|
name: '_asset',
|
|
1988
2026
|
type: 'address',
|
|
1989
2027
|
},
|
|
1990
2028
|
{
|
|
1991
|
-
name: '
|
|
1992
|
-
type: '
|
|
2029
|
+
name: '_swapFee',
|
|
2030
|
+
type: 'uint256',
|
|
2031
|
+
},
|
|
2032
|
+
{
|
|
2033
|
+
name: '_stableSwapFee',
|
|
2034
|
+
type: 'uint256',
|
|
2035
|
+
},
|
|
2036
|
+
{
|
|
2037
|
+
name: '_rewardsFee',
|
|
2038
|
+
type: 'uint256',
|
|
1993
2039
|
},
|
|
1994
2040
|
],
|
|
1995
2041
|
outputs: [
|
|
@@ -2002,12 +2048,24 @@ export const abi = [
|
|
|
2002
2048
|
{
|
|
2003
2049
|
stateMutability: 'nonpayable',
|
|
2004
2050
|
type: 'function',
|
|
2005
|
-
name: '
|
|
2051
|
+
name: 'setAssetAmbassadorRevShare',
|
|
2006
2052
|
inputs: [
|
|
2007
2053
|
{
|
|
2008
|
-
name: '
|
|
2054
|
+
name: '_asset',
|
|
2009
2055
|
type: 'address',
|
|
2010
2056
|
},
|
|
2057
|
+
{
|
|
2058
|
+
name: '_swapRatio',
|
|
2059
|
+
type: 'uint256',
|
|
2060
|
+
},
|
|
2061
|
+
{
|
|
2062
|
+
name: '_rewardsRatio',
|
|
2063
|
+
type: 'uint256',
|
|
2064
|
+
},
|
|
2065
|
+
{
|
|
2066
|
+
name: '_yieldRatio',
|
|
2067
|
+
type: 'uint256',
|
|
2068
|
+
},
|
|
2011
2069
|
],
|
|
2012
2070
|
outputs: [
|
|
2013
2071
|
{
|
|
@@ -2019,14 +2077,51 @@ export const abi = [
|
|
|
2019
2077
|
{
|
|
2020
2078
|
stateMutability: 'nonpayable',
|
|
2021
2079
|
type: 'function',
|
|
2022
|
-
name: '
|
|
2080
|
+
name: 'setAssetYieldConfig',
|
|
2023
2081
|
inputs: [
|
|
2024
2082
|
{
|
|
2025
|
-
name: '
|
|
2083
|
+
name: '_asset',
|
|
2084
|
+
type: 'address',
|
|
2085
|
+
},
|
|
2086
|
+
{
|
|
2087
|
+
name: '_maxYieldIncrease',
|
|
2026
2088
|
type: 'uint256',
|
|
2027
2089
|
},
|
|
2028
2090
|
{
|
|
2029
|
-
name: '
|
|
2091
|
+
name: '_performanceFee',
|
|
2092
|
+
type: 'uint256',
|
|
2093
|
+
},
|
|
2094
|
+
{
|
|
2095
|
+
name: '_ambassadorBonusRatio',
|
|
2096
|
+
type: 'uint256',
|
|
2097
|
+
},
|
|
2098
|
+
{
|
|
2099
|
+
name: '_bonusRatio',
|
|
2100
|
+
type: 'uint256',
|
|
2101
|
+
},
|
|
2102
|
+
{
|
|
2103
|
+
name: '_bonusAsset',
|
|
2104
|
+
type: 'address',
|
|
2105
|
+
},
|
|
2106
|
+
],
|
|
2107
|
+
outputs: [
|
|
2108
|
+
{
|
|
2109
|
+
name: '',
|
|
2110
|
+
type: 'uint256',
|
|
2111
|
+
},
|
|
2112
|
+
],
|
|
2113
|
+
},
|
|
2114
|
+
{
|
|
2115
|
+
stateMutability: 'nonpayable',
|
|
2116
|
+
type: 'function',
|
|
2117
|
+
name: 'setIsStablecoin',
|
|
2118
|
+
inputs: [
|
|
2119
|
+
{
|
|
2120
|
+
name: '_asset',
|
|
2121
|
+
type: 'address',
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
name: '_isStablecoin',
|
|
2030
2125
|
type: 'bool',
|
|
2031
2126
|
},
|
|
2032
2127
|
],
|
|
@@ -2058,6 +2153,31 @@ export const abi = [
|
|
|
2058
2153
|
},
|
|
2059
2154
|
],
|
|
2060
2155
|
},
|
|
2156
|
+
{
|
|
2157
|
+
stateMutability: 'nonpayable',
|
|
2158
|
+
type: 'function',
|
|
2159
|
+
name: 'setAgentWrapperSender',
|
|
2160
|
+
inputs: [
|
|
2161
|
+
{
|
|
2162
|
+
name: '_agentWrapper',
|
|
2163
|
+
type: 'address',
|
|
2164
|
+
},
|
|
2165
|
+
{
|
|
2166
|
+
name: '_agentSender',
|
|
2167
|
+
type: 'address',
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
name: '_shouldAdd',
|
|
2171
|
+
type: 'bool',
|
|
2172
|
+
},
|
|
2173
|
+
],
|
|
2174
|
+
outputs: [
|
|
2175
|
+
{
|
|
2176
|
+
name: '',
|
|
2177
|
+
type: 'uint256',
|
|
2178
|
+
},
|
|
2179
|
+
],
|
|
2180
|
+
},
|
|
2061
2181
|
{
|
|
2062
2182
|
stateMutability: 'nonpayable',
|
|
2063
2183
|
type: 'function',
|
|
@@ -2071,6 +2191,22 @@ export const abi = [
|
|
|
2071
2191
|
name: '_managerActivationLength',
|
|
2072
2192
|
type: 'uint256',
|
|
2073
2193
|
},
|
|
2194
|
+
{
|
|
2195
|
+
name: '_mustHaveUsdValueOnSwaps',
|
|
2196
|
+
type: 'bool',
|
|
2197
|
+
},
|
|
2198
|
+
{
|
|
2199
|
+
name: '_maxNumSwapsPerPeriod',
|
|
2200
|
+
type: 'uint256',
|
|
2201
|
+
},
|
|
2202
|
+
{
|
|
2203
|
+
name: '_maxSlippageOnSwaps',
|
|
2204
|
+
type: 'uint256',
|
|
2205
|
+
},
|
|
2206
|
+
{
|
|
2207
|
+
name: '_onlyApprovedYieldOpps',
|
|
2208
|
+
type: 'bool',
|
|
2209
|
+
},
|
|
2074
2210
|
],
|
|
2075
2211
|
outputs: [
|
|
2076
2212
|
{
|
|
@@ -2156,8 +2292,12 @@ export const abi = [
|
|
|
2156
2292
|
{
|
|
2157
2293
|
stateMutability: 'nonpayable',
|
|
2158
2294
|
type: 'function',
|
|
2159
|
-
name: '
|
|
2295
|
+
name: 'setRipeRewardsConfig',
|
|
2160
2296
|
inputs: [
|
|
2297
|
+
{
|
|
2298
|
+
name: '_ripeStakeRatio',
|
|
2299
|
+
type: 'uint256',
|
|
2300
|
+
},
|
|
2161
2301
|
{
|
|
2162
2302
|
name: '_ripeLockDuration',
|
|
2163
2303
|
type: 'uint256',
|
|
@@ -2239,14 +2379,6 @@ export const abi = [
|
|
|
2239
2379
|
name: 'configTemplate',
|
|
2240
2380
|
type: 'address',
|
|
2241
2381
|
},
|
|
2242
|
-
{
|
|
2243
|
-
name: 'trialAsset',
|
|
2244
|
-
type: 'address',
|
|
2245
|
-
},
|
|
2246
|
-
{
|
|
2247
|
-
name: 'trialAmount',
|
|
2248
|
-
type: 'uint256',
|
|
2249
|
-
},
|
|
2250
2382
|
{
|
|
2251
2383
|
name: 'numUserWalletsAllowed',
|
|
2252
2384
|
type: 'uint256',
|
|
@@ -2263,14 +2395,14 @@ export const abi = [
|
|
|
2263
2395
|
name: 'maxKeyActionTimeLock',
|
|
2264
2396
|
type: 'uint256',
|
|
2265
2397
|
},
|
|
2266
|
-
{
|
|
2267
|
-
name: 'defaultStaleBlocks',
|
|
2268
|
-
type: 'uint256',
|
|
2269
|
-
},
|
|
2270
2398
|
{
|
|
2271
2399
|
name: 'depositRewardsAsset',
|
|
2272
2400
|
type: 'address',
|
|
2273
2401
|
},
|
|
2402
|
+
{
|
|
2403
|
+
name: 'lootClaimCoolOffPeriod',
|
|
2404
|
+
type: 'uint256',
|
|
2405
|
+
},
|
|
2274
2406
|
{
|
|
2275
2407
|
name: 'txFees',
|
|
2276
2408
|
type: 'tuple',
|
|
@@ -2308,28 +2440,30 @@ export const abi = [
|
|
|
2308
2440
|
],
|
|
2309
2441
|
},
|
|
2310
2442
|
{
|
|
2311
|
-
name: '
|
|
2312
|
-
type: '
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2443
|
+
name: 'yieldConfig',
|
|
2444
|
+
type: 'tuple',
|
|
2445
|
+
components: [
|
|
2446
|
+
{
|
|
2447
|
+
name: 'maxYieldIncrease',
|
|
2448
|
+
type: 'uint256',
|
|
2449
|
+
},
|
|
2450
|
+
{
|
|
2451
|
+
name: 'performanceFee',
|
|
2452
|
+
type: 'uint256',
|
|
2453
|
+
},
|
|
2454
|
+
{
|
|
2455
|
+
name: 'ambassadorBonusRatio',
|
|
2456
|
+
type: 'uint256',
|
|
2457
|
+
},
|
|
2458
|
+
{
|
|
2459
|
+
name: 'bonusRatio',
|
|
2460
|
+
type: 'uint256',
|
|
2461
|
+
},
|
|
2462
|
+
{
|
|
2463
|
+
name: 'bonusAsset',
|
|
2464
|
+
type: 'address',
|
|
2465
|
+
},
|
|
2466
|
+
],
|
|
2333
2467
|
},
|
|
2334
2468
|
],
|
|
2335
2469
|
},
|
|
@@ -2359,16 +2493,8 @@ export const abi = [
|
|
|
2359
2493
|
type: 'tuple',
|
|
2360
2494
|
components: [
|
|
2361
2495
|
{
|
|
2362
|
-
name: '
|
|
2363
|
-
type: '
|
|
2364
|
-
},
|
|
2365
|
-
{
|
|
2366
|
-
name: 'decimals',
|
|
2367
|
-
type: 'uint256',
|
|
2368
|
-
},
|
|
2369
|
-
{
|
|
2370
|
-
name: 'staleBlocks',
|
|
2371
|
-
type: 'uint256',
|
|
2496
|
+
name: 'hasConfig',
|
|
2497
|
+
type: 'bool',
|
|
2372
2498
|
},
|
|
2373
2499
|
{
|
|
2374
2500
|
name: 'txFees',
|
|
@@ -2410,18 +2536,6 @@ export const abi = [
|
|
|
2410
2536
|
name: 'yieldConfig',
|
|
2411
2537
|
type: 'tuple',
|
|
2412
2538
|
components: [
|
|
2413
|
-
{
|
|
2414
|
-
name: 'isYieldAsset',
|
|
2415
|
-
type: 'bool',
|
|
2416
|
-
},
|
|
2417
|
-
{
|
|
2418
|
-
name: 'isRebasing',
|
|
2419
|
-
type: 'bool',
|
|
2420
|
-
},
|
|
2421
|
-
{
|
|
2422
|
-
name: 'underlyingAsset',
|
|
2423
|
-
type: 'address',
|
|
2424
|
-
},
|
|
2425
2539
|
{
|
|
2426
2540
|
name: 'maxYieldIncrease',
|
|
2427
2541
|
type: 'uint256',
|
|
@@ -2439,7 +2553,7 @@ export const abi = [
|
|
|
2439
2553
|
type: 'uint256',
|
|
2440
2554
|
},
|
|
2441
2555
|
{
|
|
2442
|
-
name: '
|
|
2556
|
+
name: 'bonusAsset',
|
|
2443
2557
|
type: 'address',
|
|
2444
2558
|
},
|
|
2445
2559
|
],
|
|
@@ -2453,7 +2567,7 @@ export const abi = [
|
|
|
2453
2567
|
{
|
|
2454
2568
|
stateMutability: 'view',
|
|
2455
2569
|
type: 'function',
|
|
2456
|
-
name: '
|
|
2570
|
+
name: 'pendingAssetTxFees',
|
|
2457
2571
|
inputs: [
|
|
2458
2572
|
{
|
|
2459
2573
|
name: 'arg0',
|
|
@@ -2466,17 +2580,136 @@ export const abi = [
|
|
|
2466
2580
|
type: 'tuple',
|
|
2467
2581
|
components: [
|
|
2468
2582
|
{
|
|
2469
|
-
name: '
|
|
2583
|
+
name: 'asset',
|
|
2470
2584
|
type: 'address',
|
|
2471
2585
|
},
|
|
2472
2586
|
{
|
|
2473
|
-
name: '
|
|
2474
|
-
type: '
|
|
2587
|
+
name: 'txFees',
|
|
2588
|
+
type: 'tuple',
|
|
2589
|
+
components: [
|
|
2590
|
+
{
|
|
2591
|
+
name: 'swapFee',
|
|
2592
|
+
type: 'uint256',
|
|
2593
|
+
},
|
|
2594
|
+
{
|
|
2595
|
+
name: 'stableSwapFee',
|
|
2596
|
+
type: 'uint256',
|
|
2597
|
+
},
|
|
2598
|
+
{
|
|
2599
|
+
name: 'rewardsFee',
|
|
2600
|
+
type: 'uint256',
|
|
2601
|
+
},
|
|
2602
|
+
],
|
|
2475
2603
|
},
|
|
2604
|
+
],
|
|
2605
|
+
},
|
|
2606
|
+
],
|
|
2607
|
+
},
|
|
2608
|
+
{
|
|
2609
|
+
stateMutability: 'view',
|
|
2610
|
+
type: 'function',
|
|
2611
|
+
name: 'pendingAssetAmbassadorRevShare',
|
|
2612
|
+
inputs: [
|
|
2613
|
+
{
|
|
2614
|
+
name: 'arg0',
|
|
2615
|
+
type: 'uint256',
|
|
2616
|
+
},
|
|
2617
|
+
],
|
|
2618
|
+
outputs: [
|
|
2619
|
+
{
|
|
2620
|
+
name: '',
|
|
2621
|
+
type: 'tuple',
|
|
2622
|
+
components: [
|
|
2476
2623
|
{
|
|
2477
|
-
name: '
|
|
2478
|
-
type: '
|
|
2624
|
+
name: 'asset',
|
|
2625
|
+
type: 'address',
|
|
2479
2626
|
},
|
|
2627
|
+
{
|
|
2628
|
+
name: 'ambassadorRevShare',
|
|
2629
|
+
type: 'tuple',
|
|
2630
|
+
components: [
|
|
2631
|
+
{
|
|
2632
|
+
name: 'swapRatio',
|
|
2633
|
+
type: 'uint256',
|
|
2634
|
+
},
|
|
2635
|
+
{
|
|
2636
|
+
name: 'rewardsRatio',
|
|
2637
|
+
type: 'uint256',
|
|
2638
|
+
},
|
|
2639
|
+
{
|
|
2640
|
+
name: 'yieldRatio',
|
|
2641
|
+
type: 'uint256',
|
|
2642
|
+
},
|
|
2643
|
+
],
|
|
2644
|
+
},
|
|
2645
|
+
],
|
|
2646
|
+
},
|
|
2647
|
+
],
|
|
2648
|
+
},
|
|
2649
|
+
{
|
|
2650
|
+
stateMutability: 'view',
|
|
2651
|
+
type: 'function',
|
|
2652
|
+
name: 'pendingAssetYieldConfig',
|
|
2653
|
+
inputs: [
|
|
2654
|
+
{
|
|
2655
|
+
name: 'arg0',
|
|
2656
|
+
type: 'uint256',
|
|
2657
|
+
},
|
|
2658
|
+
],
|
|
2659
|
+
outputs: [
|
|
2660
|
+
{
|
|
2661
|
+
name: '',
|
|
2662
|
+
type: 'tuple',
|
|
2663
|
+
components: [
|
|
2664
|
+
{
|
|
2665
|
+
name: 'asset',
|
|
2666
|
+
type: 'address',
|
|
2667
|
+
},
|
|
2668
|
+
{
|
|
2669
|
+
name: 'yieldConfig',
|
|
2670
|
+
type: 'tuple',
|
|
2671
|
+
components: [
|
|
2672
|
+
{
|
|
2673
|
+
name: 'maxYieldIncrease',
|
|
2674
|
+
type: 'uint256',
|
|
2675
|
+
},
|
|
2676
|
+
{
|
|
2677
|
+
name: 'performanceFee',
|
|
2678
|
+
type: 'uint256',
|
|
2679
|
+
},
|
|
2680
|
+
{
|
|
2681
|
+
name: 'ambassadorBonusRatio',
|
|
2682
|
+
type: 'uint256',
|
|
2683
|
+
},
|
|
2684
|
+
{
|
|
2685
|
+
name: 'bonusRatio',
|
|
2686
|
+
type: 'uint256',
|
|
2687
|
+
},
|
|
2688
|
+
{
|
|
2689
|
+
name: 'bonusAsset',
|
|
2690
|
+
type: 'address',
|
|
2691
|
+
},
|
|
2692
|
+
],
|
|
2693
|
+
},
|
|
2694
|
+
],
|
|
2695
|
+
},
|
|
2696
|
+
],
|
|
2697
|
+
},
|
|
2698
|
+
{
|
|
2699
|
+
stateMutability: 'view',
|
|
2700
|
+
type: 'function',
|
|
2701
|
+
name: 'pendingAgentConfig',
|
|
2702
|
+
inputs: [
|
|
2703
|
+
{
|
|
2704
|
+
name: 'arg0',
|
|
2705
|
+
type: 'uint256',
|
|
2706
|
+
},
|
|
2707
|
+
],
|
|
2708
|
+
outputs: [
|
|
2709
|
+
{
|
|
2710
|
+
name: '',
|
|
2711
|
+
type: 'tuple',
|
|
2712
|
+
components: [
|
|
2480
2713
|
{
|
|
2481
2714
|
name: 'startingAgent',
|
|
2482
2715
|
type: 'address',
|
|
@@ -2512,6 +2745,22 @@ export const abi = [
|
|
|
2512
2745
|
name: 'managerActivationLength',
|
|
2513
2746
|
type: 'uint256',
|
|
2514
2747
|
},
|
|
2748
|
+
{
|
|
2749
|
+
name: 'mustHaveUsdValueOnSwaps',
|
|
2750
|
+
type: 'bool',
|
|
2751
|
+
},
|
|
2752
|
+
{
|
|
2753
|
+
name: 'maxNumSwapsPerPeriod',
|
|
2754
|
+
type: 'uint256',
|
|
2755
|
+
},
|
|
2756
|
+
{
|
|
2757
|
+
name: 'maxSlippageOnSwaps',
|
|
2758
|
+
type: 'uint256',
|
|
2759
|
+
},
|
|
2760
|
+
{
|
|
2761
|
+
name: 'onlyApprovedYieldOpps',
|
|
2762
|
+
type: 'bool',
|
|
2763
|
+
},
|
|
2515
2764
|
],
|
|
2516
2765
|
},
|
|
2517
2766
|
],
|
|
@@ -2570,6 +2819,33 @@ export const abi = [
|
|
|
2570
2819
|
},
|
|
2571
2820
|
],
|
|
2572
2821
|
},
|
|
2822
|
+
{
|
|
2823
|
+
stateMutability: 'view',
|
|
2824
|
+
type: 'function',
|
|
2825
|
+
name: 'pendingAgentWrapperSender',
|
|
2826
|
+
inputs: [
|
|
2827
|
+
{
|
|
2828
|
+
name: 'arg0',
|
|
2829
|
+
type: 'uint256',
|
|
2830
|
+
},
|
|
2831
|
+
],
|
|
2832
|
+
outputs: [
|
|
2833
|
+
{
|
|
2834
|
+
name: '',
|
|
2835
|
+
type: 'tuple',
|
|
2836
|
+
components: [
|
|
2837
|
+
{
|
|
2838
|
+
name: 'agentWrapper',
|
|
2839
|
+
type: 'address',
|
|
2840
|
+
},
|
|
2841
|
+
{
|
|
2842
|
+
name: 'agentSender',
|
|
2843
|
+
type: 'address',
|
|
2844
|
+
},
|
|
2845
|
+
],
|
|
2846
|
+
},
|
|
2847
|
+
],
|
|
2848
|
+
},
|
|
2573
2849
|
{
|
|
2574
2850
|
stateMutability: 'nonpayable',
|
|
2575
2851
|
type: 'constructor',
|
|
@@ -2594,7 +2870,7 @@ export const abi = [
|
|
|
2594
2870
|
outputs: [],
|
|
2595
2871
|
},
|
|
2596
2872
|
];
|
|
2597
|
-
export const deployAddress = '
|
|
2873
|
+
export const deployAddress = '0xB7d32916c8E7F74f70aF7ECFcb35B04358E50bAc';
|
|
2598
2874
|
function getRequest(method, args, contractAddressOrOptions) {
|
|
2599
2875
|
const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
|
|
2600
2876
|
const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
|
|
@@ -2650,10 +2926,14 @@ export const call = {
|
|
|
2650
2926
|
actionType: (...args) => getRequest('actionType', args),
|
|
2651
2927
|
pendingUserWalletConfig: (...args) => getRequest('pendingUserWalletConfig', args),
|
|
2652
2928
|
pendingAssetConfig: (...args) => getRequest('pendingAssetConfig', args),
|
|
2929
|
+
pendingAssetTxFees: (...args) => getRequest('pendingAssetTxFees', args),
|
|
2930
|
+
pendingAssetAmbassadorRevShare: (...args) => getRequest('pendingAssetAmbassadorRevShare', args),
|
|
2931
|
+
pendingAssetYieldConfig: (...args) => getRequest('pendingAssetYieldConfig', args),
|
|
2653
2932
|
pendingAgentConfig: (...args) => getRequest('pendingAgentConfig', args),
|
|
2654
2933
|
pendingManagerConfig: (...args) => getRequest('pendingManagerConfig', args),
|
|
2655
2934
|
pendingPayeeConfig: (...args) => getRequest('pendingPayeeConfig', args),
|
|
2656
2935
|
pendingAddrToBool: (...args) => getRequest('pendingAddrToBool', args),
|
|
2936
|
+
pendingAgentWrapperSender: (...args) => getRequest('pendingAgentWrapperSender', args),
|
|
2657
2937
|
};
|
|
2658
2938
|
function getMutation(functionName) {
|
|
2659
2939
|
return {
|
|
@@ -2675,25 +2955,25 @@ export const mutation = {
|
|
|
2675
2955
|
setExpiration: getMutation('setExpiration'),
|
|
2676
2956
|
setActionTimeLockAfterSetup: getMutation('setActionTimeLockAfterSetup'),
|
|
2677
2957
|
setUserWalletTemplates: getMutation('setUserWalletTemplates'),
|
|
2678
|
-
setTrialFunds: getMutation('setTrialFunds'),
|
|
2679
2958
|
setWalletCreationLimits: getMutation('setWalletCreationLimits'),
|
|
2680
2959
|
setKeyActionTimelockBounds: getMutation('setKeyActionTimelockBounds'),
|
|
2681
|
-
setDefaultStaleBlocks: getMutation('setDefaultStaleBlocks'),
|
|
2682
2960
|
setTxFees: getMutation('setTxFees'),
|
|
2683
2961
|
setAmbassadorRevShare: getMutation('setAmbassadorRevShare'),
|
|
2684
2962
|
setDefaultYieldParams: getMutation('setDefaultYieldParams'),
|
|
2685
2963
|
setLootParams: getMutation('setLootParams'),
|
|
2686
2964
|
setAssetConfig: getMutation('setAssetConfig'),
|
|
2965
|
+
setAssetTxFees: getMutation('setAssetTxFees'),
|
|
2966
|
+
setAssetAmbassadorRevShare: getMutation('setAssetAmbassadorRevShare'),
|
|
2967
|
+
setAssetYieldConfig: getMutation('setAssetYieldConfig'),
|
|
2687
2968
|
setIsStablecoin: getMutation('setIsStablecoin'),
|
|
2688
|
-
setAgentTemplate: getMutation('setAgentTemplate'),
|
|
2689
|
-
setAgentCreationLimits: getMutation('setAgentCreationLimits'),
|
|
2690
2969
|
setStarterAgentParams: getMutation('setStarterAgentParams'),
|
|
2970
|
+
setAgentWrapperSender: getMutation('setAgentWrapperSender'),
|
|
2691
2971
|
setManagerConfig: getMutation('setManagerConfig'),
|
|
2692
2972
|
setPayeeConfig: getMutation('setPayeeConfig'),
|
|
2693
2973
|
setCanPerformSecurityAction: getMutation('setCanPerformSecurityAction'),
|
|
2694
2974
|
setCreatorWhitelist: getMutation('setCreatorWhitelist'),
|
|
2695
2975
|
setLockedSigner: getMutation('setLockedSigner'),
|
|
2696
|
-
|
|
2976
|
+
setRipeRewardsConfig: getMutation('setRipeRewardsConfig'),
|
|
2697
2977
|
executePendingAction: getMutation('executePendingAction'),
|
|
2698
2978
|
cancelPendingAction: getMutation('cancelPendingAction'),
|
|
2699
2979
|
};
|
|
@@ -2729,10 +3009,14 @@ export function toSdk(publicClient, walletClient) {
|
|
|
2729
3009
|
actionType: (...args) => singleQuery(publicClient, call.actionType(...args)),
|
|
2730
3010
|
pendingUserWalletConfig: (...args) => singleQuery(publicClient, call.pendingUserWalletConfig(...args)),
|
|
2731
3011
|
pendingAssetConfig: (...args) => singleQuery(publicClient, call.pendingAssetConfig(...args)),
|
|
3012
|
+
pendingAssetTxFees: (...args) => singleQuery(publicClient, call.pendingAssetTxFees(...args)),
|
|
3013
|
+
pendingAssetAmbassadorRevShare: (...args) => singleQuery(publicClient, call.pendingAssetAmbassadorRevShare(...args)),
|
|
3014
|
+
pendingAssetYieldConfig: (...args) => singleQuery(publicClient, call.pendingAssetYieldConfig(...args)),
|
|
2732
3015
|
pendingAgentConfig: (...args) => singleQuery(publicClient, call.pendingAgentConfig(...args)),
|
|
2733
3016
|
pendingManagerConfig: (...args) => singleQuery(publicClient, call.pendingManagerConfig(...args)),
|
|
2734
3017
|
pendingPayeeConfig: (...args) => singleQuery(publicClient, call.pendingPayeeConfig(...args)),
|
|
2735
3018
|
pendingAddrToBool: (...args) => singleQuery(publicClient, call.pendingAddrToBool(...args)),
|
|
3019
|
+
pendingAgentWrapperSender: (...args) => singleQuery(publicClient, call.pendingAgentWrapperSender(...args)),
|
|
2736
3020
|
// Mutations
|
|
2737
3021
|
startGovernanceChange: (...args) => mutate(walletClient, mutation.startGovernanceChange)(...args),
|
|
2738
3022
|
confirmGovernanceChange: (...args) => mutate(walletClient, mutation.confirmGovernanceChange)(...args),
|
|
@@ -2744,25 +3028,25 @@ export function toSdk(publicClient, walletClient) {
|
|
|
2744
3028
|
setExpiration: (...args) => mutate(walletClient, mutation.setExpiration)(...args),
|
|
2745
3029
|
setActionTimeLockAfterSetup: (...args) => mutate(walletClient, mutation.setActionTimeLockAfterSetup)(...args),
|
|
2746
3030
|
setUserWalletTemplates: (...args) => mutate(walletClient, mutation.setUserWalletTemplates)(...args),
|
|
2747
|
-
setTrialFunds: (...args) => mutate(walletClient, mutation.setTrialFunds)(...args),
|
|
2748
3031
|
setWalletCreationLimits: (...args) => mutate(walletClient, mutation.setWalletCreationLimits)(...args),
|
|
2749
3032
|
setKeyActionTimelockBounds: (...args) => mutate(walletClient, mutation.setKeyActionTimelockBounds)(...args),
|
|
2750
|
-
setDefaultStaleBlocks: (...args) => mutate(walletClient, mutation.setDefaultStaleBlocks)(...args),
|
|
2751
3033
|
setTxFees: (...args) => mutate(walletClient, mutation.setTxFees)(...args),
|
|
2752
3034
|
setAmbassadorRevShare: (...args) => mutate(walletClient, mutation.setAmbassadorRevShare)(...args),
|
|
2753
3035
|
setDefaultYieldParams: (...args) => mutate(walletClient, mutation.setDefaultYieldParams)(...args),
|
|
2754
3036
|
setLootParams: (...args) => mutate(walletClient, mutation.setLootParams)(...args),
|
|
2755
3037
|
setAssetConfig: (...args) => mutate(walletClient, mutation.setAssetConfig)(...args),
|
|
3038
|
+
setAssetTxFees: (...args) => mutate(walletClient, mutation.setAssetTxFees)(...args),
|
|
3039
|
+
setAssetAmbassadorRevShare: (...args) => mutate(walletClient, mutation.setAssetAmbassadorRevShare)(...args),
|
|
3040
|
+
setAssetYieldConfig: (...args) => mutate(walletClient, mutation.setAssetYieldConfig)(...args),
|
|
2756
3041
|
setIsStablecoin: (...args) => mutate(walletClient, mutation.setIsStablecoin)(...args),
|
|
2757
|
-
setAgentTemplate: (...args) => mutate(walletClient, mutation.setAgentTemplate)(...args),
|
|
2758
|
-
setAgentCreationLimits: (...args) => mutate(walletClient, mutation.setAgentCreationLimits)(...args),
|
|
2759
3042
|
setStarterAgentParams: (...args) => mutate(walletClient, mutation.setStarterAgentParams)(...args),
|
|
3043
|
+
setAgentWrapperSender: (...args) => mutate(walletClient, mutation.setAgentWrapperSender)(...args),
|
|
2760
3044
|
setManagerConfig: (...args) => mutate(walletClient, mutation.setManagerConfig)(...args),
|
|
2761
3045
|
setPayeeConfig: (...args) => mutate(walletClient, mutation.setPayeeConfig)(...args),
|
|
2762
3046
|
setCanPerformSecurityAction: (...args) => mutate(walletClient, mutation.setCanPerformSecurityAction)(...args),
|
|
2763
3047
|
setCreatorWhitelist: (...args) => mutate(walletClient, mutation.setCreatorWhitelist)(...args),
|
|
2764
3048
|
setLockedSigner: (...args) => mutate(walletClient, mutation.setLockedSigner)(...args),
|
|
2765
|
-
|
|
3049
|
+
setRipeRewardsConfig: (...args) => mutate(walletClient, mutation.setRipeRewardsConfig)(...args),
|
|
2766
3050
|
executePendingAction: (...args) => mutate(walletClient, mutation.executePendingAction)(...args),
|
|
2767
3051
|
cancelPendingAction: (...args) => mutate(walletClient, mutation.cancelPendingAction)(...args),
|
|
2768
3052
|
};
|