@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
|
@@ -35,40 +35,6 @@ export declare const abi: readonly [{
|
|
|
35
35
|
}];
|
|
36
36
|
readonly anonymous: false;
|
|
37
37
|
readonly type: "event";
|
|
38
|
-
}, {
|
|
39
|
-
readonly name: "PendingTrialFundsChange";
|
|
40
|
-
readonly inputs: readonly [{
|
|
41
|
-
readonly name: "trialAsset";
|
|
42
|
-
readonly type: "address";
|
|
43
|
-
readonly indexed: false;
|
|
44
|
-
}, {
|
|
45
|
-
readonly name: "trialAmount";
|
|
46
|
-
readonly type: "uint256";
|
|
47
|
-
readonly indexed: false;
|
|
48
|
-
}, {
|
|
49
|
-
readonly name: "confirmationBlock";
|
|
50
|
-
readonly type: "uint256";
|
|
51
|
-
readonly indexed: false;
|
|
52
|
-
}, {
|
|
53
|
-
readonly name: "actionId";
|
|
54
|
-
readonly type: "uint256";
|
|
55
|
-
readonly indexed: false;
|
|
56
|
-
}];
|
|
57
|
-
readonly anonymous: false;
|
|
58
|
-
readonly type: "event";
|
|
59
|
-
}, {
|
|
60
|
-
readonly name: "TrialFundsSet";
|
|
61
|
-
readonly inputs: readonly [{
|
|
62
|
-
readonly name: "trialAsset";
|
|
63
|
-
readonly type: "address";
|
|
64
|
-
readonly indexed: false;
|
|
65
|
-
}, {
|
|
66
|
-
readonly name: "trialAmount";
|
|
67
|
-
readonly type: "uint256";
|
|
68
|
-
readonly indexed: false;
|
|
69
|
-
}];
|
|
70
|
-
readonly anonymous: false;
|
|
71
|
-
readonly type: "event";
|
|
72
38
|
}, {
|
|
73
39
|
readonly name: "PendingWalletCreationLimitsChange";
|
|
74
40
|
readonly inputs: readonly [{
|
|
@@ -137,32 +103,6 @@ export declare const abi: readonly [{
|
|
|
137
103
|
}];
|
|
138
104
|
readonly anonymous: false;
|
|
139
105
|
readonly type: "event";
|
|
140
|
-
}, {
|
|
141
|
-
readonly name: "PendingDefaultStaleBlocksChange";
|
|
142
|
-
readonly inputs: readonly [{
|
|
143
|
-
readonly name: "defaultStaleBlocks";
|
|
144
|
-
readonly type: "uint256";
|
|
145
|
-
readonly indexed: false;
|
|
146
|
-
}, {
|
|
147
|
-
readonly name: "confirmationBlock";
|
|
148
|
-
readonly type: "uint256";
|
|
149
|
-
readonly indexed: false;
|
|
150
|
-
}, {
|
|
151
|
-
readonly name: "actionId";
|
|
152
|
-
readonly type: "uint256";
|
|
153
|
-
readonly indexed: false;
|
|
154
|
-
}];
|
|
155
|
-
readonly anonymous: false;
|
|
156
|
-
readonly type: "event";
|
|
157
|
-
}, {
|
|
158
|
-
readonly name: "DefaultStaleBlocksSet";
|
|
159
|
-
readonly inputs: readonly [{
|
|
160
|
-
readonly name: "defaultStaleBlocks";
|
|
161
|
-
readonly type: "uint256";
|
|
162
|
-
readonly indexed: false;
|
|
163
|
-
}];
|
|
164
|
-
readonly anonymous: false;
|
|
165
|
-
readonly type: "event";
|
|
166
106
|
}, {
|
|
167
107
|
readonly name: "PendingTxFeesChange";
|
|
168
108
|
readonly inputs: readonly [{
|
|
@@ -266,7 +206,7 @@ export declare const abi: readonly [{
|
|
|
266
206
|
readonly type: "uint256";
|
|
267
207
|
readonly indexed: false;
|
|
268
208
|
}, {
|
|
269
|
-
readonly name: "
|
|
209
|
+
readonly name: "defaultYieldBonusAsset";
|
|
270
210
|
readonly type: "address";
|
|
271
211
|
readonly indexed: false;
|
|
272
212
|
}, {
|
|
@@ -299,7 +239,7 @@ export declare const abi: readonly [{
|
|
|
299
239
|
readonly type: "uint256";
|
|
300
240
|
readonly indexed: false;
|
|
301
241
|
}, {
|
|
302
|
-
readonly name: "
|
|
242
|
+
readonly name: "defaultYieldBonusAsset";
|
|
303
243
|
readonly type: "address";
|
|
304
244
|
readonly indexed: false;
|
|
305
245
|
}];
|
|
@@ -345,14 +285,6 @@ export declare const abi: readonly [{
|
|
|
345
285
|
readonly name: "asset";
|
|
346
286
|
readonly type: "address";
|
|
347
287
|
readonly indexed: false;
|
|
348
|
-
}, {
|
|
349
|
-
readonly name: "legoId";
|
|
350
|
-
readonly type: "uint256";
|
|
351
|
-
readonly indexed: false;
|
|
352
|
-
}, {
|
|
353
|
-
readonly name: "staleBlocks";
|
|
354
|
-
readonly type: "uint256";
|
|
355
|
-
readonly indexed: false;
|
|
356
288
|
}, {
|
|
357
289
|
readonly name: "txFeesSwapFee";
|
|
358
290
|
readonly type: "uint256";
|
|
@@ -377,18 +309,6 @@ export declare const abi: readonly [{
|
|
|
377
309
|
readonly name: "ambassadorRevShareYieldRatio";
|
|
378
310
|
readonly type: "uint256";
|
|
379
311
|
readonly indexed: false;
|
|
380
|
-
}, {
|
|
381
|
-
readonly name: "isYieldAsset";
|
|
382
|
-
readonly type: "bool";
|
|
383
|
-
readonly indexed: false;
|
|
384
|
-
}, {
|
|
385
|
-
readonly name: "isRebasing";
|
|
386
|
-
readonly type: "bool";
|
|
387
|
-
readonly indexed: false;
|
|
388
|
-
}, {
|
|
389
|
-
readonly name: "underlyingAsset";
|
|
390
|
-
readonly type: "address";
|
|
391
|
-
readonly indexed: false;
|
|
392
312
|
}, {
|
|
393
313
|
readonly name: "maxYieldIncrease";
|
|
394
314
|
readonly type: "uint256";
|
|
@@ -406,7 +326,7 @@ export declare const abi: readonly [{
|
|
|
406
326
|
readonly type: "uint256";
|
|
407
327
|
readonly indexed: false;
|
|
408
328
|
}, {
|
|
409
|
-
readonly name: "
|
|
329
|
+
readonly name: "bonusAsset";
|
|
410
330
|
readonly type: "address";
|
|
411
331
|
readonly indexed: false;
|
|
412
332
|
}, {
|
|
@@ -460,14 +380,6 @@ export declare const abi: readonly [{
|
|
|
460
380
|
readonly name: "asset";
|
|
461
381
|
readonly type: "address";
|
|
462
382
|
readonly indexed: false;
|
|
463
|
-
}, {
|
|
464
|
-
readonly name: "legoId";
|
|
465
|
-
readonly type: "uint256";
|
|
466
|
-
readonly indexed: false;
|
|
467
|
-
}, {
|
|
468
|
-
readonly name: "staleBlocks";
|
|
469
|
-
readonly type: "uint256";
|
|
470
|
-
readonly indexed: false;
|
|
471
383
|
}, {
|
|
472
384
|
readonly name: "txFeesSwapFee";
|
|
473
385
|
readonly type: "uint256";
|
|
@@ -493,46 +405,96 @@ export declare const abi: readonly [{
|
|
|
493
405
|
readonly type: "uint256";
|
|
494
406
|
readonly indexed: false;
|
|
495
407
|
}, {
|
|
496
|
-
readonly name: "
|
|
497
|
-
readonly type: "
|
|
408
|
+
readonly name: "maxYieldIncrease";
|
|
409
|
+
readonly type: "uint256";
|
|
498
410
|
readonly indexed: false;
|
|
499
411
|
}, {
|
|
500
|
-
readonly name: "
|
|
501
|
-
readonly type: "
|
|
412
|
+
readonly name: "performanceFee";
|
|
413
|
+
readonly type: "uint256";
|
|
414
|
+
readonly indexed: false;
|
|
415
|
+
}, {
|
|
416
|
+
readonly name: "ambassadorBonusRatio";
|
|
417
|
+
readonly type: "uint256";
|
|
418
|
+
readonly indexed: false;
|
|
419
|
+
}, {
|
|
420
|
+
readonly name: "bonusRatio";
|
|
421
|
+
readonly type: "uint256";
|
|
502
422
|
readonly indexed: false;
|
|
503
423
|
}, {
|
|
504
|
-
readonly name: "
|
|
424
|
+
readonly name: "bonusAsset";
|
|
425
|
+
readonly type: "address";
|
|
426
|
+
readonly indexed: false;
|
|
427
|
+
}];
|
|
428
|
+
readonly anonymous: false;
|
|
429
|
+
readonly type: "event";
|
|
430
|
+
}, {
|
|
431
|
+
readonly name: "PendingAssetTxFeesChange";
|
|
432
|
+
readonly inputs: readonly [{
|
|
433
|
+
readonly name: "asset";
|
|
505
434
|
readonly type: "address";
|
|
506
435
|
readonly indexed: false;
|
|
507
436
|
}, {
|
|
508
|
-
readonly name: "
|
|
437
|
+
readonly name: "swapFee";
|
|
509
438
|
readonly type: "uint256";
|
|
510
439
|
readonly indexed: false;
|
|
511
440
|
}, {
|
|
512
|
-
readonly name: "
|
|
441
|
+
readonly name: "stableSwapFee";
|
|
513
442
|
readonly type: "uint256";
|
|
514
443
|
readonly indexed: false;
|
|
515
444
|
}, {
|
|
516
|
-
readonly name: "
|
|
445
|
+
readonly name: "rewardsFee";
|
|
517
446
|
readonly type: "uint256";
|
|
518
447
|
readonly indexed: false;
|
|
519
448
|
}, {
|
|
520
|
-
readonly name: "
|
|
449
|
+
readonly name: "confirmationBlock";
|
|
521
450
|
readonly type: "uint256";
|
|
522
451
|
readonly indexed: false;
|
|
523
452
|
}, {
|
|
524
|
-
readonly name: "
|
|
453
|
+
readonly name: "actionId";
|
|
454
|
+
readonly type: "uint256";
|
|
455
|
+
readonly indexed: false;
|
|
456
|
+
}];
|
|
457
|
+
readonly anonymous: false;
|
|
458
|
+
readonly type: "event";
|
|
459
|
+
}, {
|
|
460
|
+
readonly name: "AssetTxFeesSet";
|
|
461
|
+
readonly inputs: readonly [{
|
|
462
|
+
readonly name: "asset";
|
|
525
463
|
readonly type: "address";
|
|
526
464
|
readonly indexed: false;
|
|
465
|
+
}, {
|
|
466
|
+
readonly name: "swapFee";
|
|
467
|
+
readonly type: "uint256";
|
|
468
|
+
readonly indexed: false;
|
|
469
|
+
}, {
|
|
470
|
+
readonly name: "stableSwapFee";
|
|
471
|
+
readonly type: "uint256";
|
|
472
|
+
readonly indexed: false;
|
|
473
|
+
}, {
|
|
474
|
+
readonly name: "rewardsFee";
|
|
475
|
+
readonly type: "uint256";
|
|
476
|
+
readonly indexed: false;
|
|
527
477
|
}];
|
|
528
478
|
readonly anonymous: false;
|
|
529
479
|
readonly type: "event";
|
|
530
480
|
}, {
|
|
531
|
-
readonly name: "
|
|
481
|
+
readonly name: "PendingAssetAmbassadorRevShareChange";
|
|
532
482
|
readonly inputs: readonly [{
|
|
533
|
-
readonly name: "
|
|
483
|
+
readonly name: "asset";
|
|
534
484
|
readonly type: "address";
|
|
535
485
|
readonly indexed: false;
|
|
486
|
+
}, {
|
|
487
|
+
readonly name: "swapRatio";
|
|
488
|
+
readonly type: "uint256";
|
|
489
|
+
readonly indexed: false;
|
|
490
|
+
}, {
|
|
491
|
+
readonly name: "rewardsRatio";
|
|
492
|
+
readonly type: "uint256";
|
|
493
|
+
readonly indexed: false;
|
|
494
|
+
}, {
|
|
495
|
+
readonly name: "yieldRatio";
|
|
496
|
+
readonly type: "uint256";
|
|
497
|
+
readonly indexed: false;
|
|
536
498
|
}, {
|
|
537
499
|
readonly name: "confirmationBlock";
|
|
538
500
|
readonly type: "uint256";
|
|
@@ -545,23 +507,51 @@ export declare const abi: readonly [{
|
|
|
545
507
|
readonly anonymous: false;
|
|
546
508
|
readonly type: "event";
|
|
547
509
|
}, {
|
|
548
|
-
readonly name: "
|
|
510
|
+
readonly name: "AssetAmbassadorRevShareSet";
|
|
549
511
|
readonly inputs: readonly [{
|
|
550
|
-
readonly name: "
|
|
512
|
+
readonly name: "asset";
|
|
551
513
|
readonly type: "address";
|
|
552
514
|
readonly indexed: false;
|
|
515
|
+
}, {
|
|
516
|
+
readonly name: "swapRatio";
|
|
517
|
+
readonly type: "uint256";
|
|
518
|
+
readonly indexed: false;
|
|
519
|
+
}, {
|
|
520
|
+
readonly name: "rewardsRatio";
|
|
521
|
+
readonly type: "uint256";
|
|
522
|
+
readonly indexed: false;
|
|
523
|
+
}, {
|
|
524
|
+
readonly name: "yieldRatio";
|
|
525
|
+
readonly type: "uint256";
|
|
526
|
+
readonly indexed: false;
|
|
553
527
|
}];
|
|
554
528
|
readonly anonymous: false;
|
|
555
529
|
readonly type: "event";
|
|
556
530
|
}, {
|
|
557
|
-
readonly name: "
|
|
531
|
+
readonly name: "PendingAssetYieldConfigChange";
|
|
558
532
|
readonly inputs: readonly [{
|
|
559
|
-
readonly name: "
|
|
533
|
+
readonly name: "asset";
|
|
534
|
+
readonly type: "address";
|
|
535
|
+
readonly indexed: false;
|
|
536
|
+
}, {
|
|
537
|
+
readonly name: "maxYieldIncrease";
|
|
560
538
|
readonly type: "uint256";
|
|
561
539
|
readonly indexed: false;
|
|
562
540
|
}, {
|
|
563
|
-
readonly name: "
|
|
564
|
-
readonly type: "
|
|
541
|
+
readonly name: "performanceFee";
|
|
542
|
+
readonly type: "uint256";
|
|
543
|
+
readonly indexed: false;
|
|
544
|
+
}, {
|
|
545
|
+
readonly name: "ambassadorBonusRatio";
|
|
546
|
+
readonly type: "uint256";
|
|
547
|
+
readonly indexed: false;
|
|
548
|
+
}, {
|
|
549
|
+
readonly name: "bonusRatio";
|
|
550
|
+
readonly type: "uint256";
|
|
551
|
+
readonly indexed: false;
|
|
552
|
+
}, {
|
|
553
|
+
readonly name: "bonusAsset";
|
|
554
|
+
readonly type: "address";
|
|
565
555
|
readonly indexed: false;
|
|
566
556
|
}, {
|
|
567
557
|
readonly name: "confirmationBlock";
|
|
@@ -575,14 +565,30 @@ export declare const abi: readonly [{
|
|
|
575
565
|
readonly anonymous: false;
|
|
576
566
|
readonly type: "event";
|
|
577
567
|
}, {
|
|
578
|
-
readonly name: "
|
|
568
|
+
readonly name: "AssetYieldConfigSet";
|
|
579
569
|
readonly inputs: readonly [{
|
|
580
|
-
readonly name: "
|
|
570
|
+
readonly name: "asset";
|
|
571
|
+
readonly type: "address";
|
|
572
|
+
readonly indexed: false;
|
|
573
|
+
}, {
|
|
574
|
+
readonly name: "maxYieldIncrease";
|
|
581
575
|
readonly type: "uint256";
|
|
582
576
|
readonly indexed: false;
|
|
583
577
|
}, {
|
|
584
|
-
readonly name: "
|
|
585
|
-
readonly type: "
|
|
578
|
+
readonly name: "performanceFee";
|
|
579
|
+
readonly type: "uint256";
|
|
580
|
+
readonly indexed: false;
|
|
581
|
+
}, {
|
|
582
|
+
readonly name: "ambassadorBonusRatio";
|
|
583
|
+
readonly type: "uint256";
|
|
584
|
+
readonly indexed: false;
|
|
585
|
+
}, {
|
|
586
|
+
readonly name: "bonusRatio";
|
|
587
|
+
readonly type: "uint256";
|
|
588
|
+
readonly indexed: false;
|
|
589
|
+
}, {
|
|
590
|
+
readonly name: "bonusAsset";
|
|
591
|
+
readonly type: "address";
|
|
586
592
|
readonly indexed: false;
|
|
587
593
|
}];
|
|
588
594
|
readonly anonymous: false;
|
|
@@ -631,6 +637,22 @@ export declare const abi: readonly [{
|
|
|
631
637
|
readonly name: "managerActivationLength";
|
|
632
638
|
readonly type: "uint256";
|
|
633
639
|
readonly indexed: false;
|
|
640
|
+
}, {
|
|
641
|
+
readonly name: "mustHaveUsdValueOnSwaps";
|
|
642
|
+
readonly type: "bool";
|
|
643
|
+
readonly indexed: false;
|
|
644
|
+
}, {
|
|
645
|
+
readonly name: "maxNumSwapsPerPeriod";
|
|
646
|
+
readonly type: "uint256";
|
|
647
|
+
readonly indexed: false;
|
|
648
|
+
}, {
|
|
649
|
+
readonly name: "maxSlippageOnSwaps";
|
|
650
|
+
readonly type: "uint256";
|
|
651
|
+
readonly indexed: false;
|
|
652
|
+
}, {
|
|
653
|
+
readonly name: "onlyApprovedYieldOpps";
|
|
654
|
+
readonly type: "bool";
|
|
655
|
+
readonly indexed: false;
|
|
634
656
|
}, {
|
|
635
657
|
readonly name: "confirmationBlock";
|
|
636
658
|
readonly type: "uint256";
|
|
@@ -758,14 +780,65 @@ export declare const abi: readonly [{
|
|
|
758
780
|
readonly anonymous: false;
|
|
759
781
|
readonly type: "event";
|
|
760
782
|
}, {
|
|
761
|
-
readonly name: "
|
|
783
|
+
readonly name: "RipeRewardsConfigSetFromSwitchboard";
|
|
762
784
|
readonly inputs: readonly [{
|
|
785
|
+
readonly name: "ripeStakeRatio";
|
|
786
|
+
readonly type: "uint256";
|
|
787
|
+
readonly indexed: false;
|
|
788
|
+
}, {
|
|
763
789
|
readonly name: "ripeLockDuration";
|
|
764
790
|
readonly type: "uint256";
|
|
765
791
|
readonly indexed: false;
|
|
766
792
|
}];
|
|
767
793
|
readonly anonymous: false;
|
|
768
794
|
readonly type: "event";
|
|
795
|
+
}, {
|
|
796
|
+
readonly name: "PendingAgentWrapperSenderAdd";
|
|
797
|
+
readonly inputs: readonly [{
|
|
798
|
+
readonly name: "agentWrapper";
|
|
799
|
+
readonly type: "address";
|
|
800
|
+
readonly indexed: true;
|
|
801
|
+
}, {
|
|
802
|
+
readonly name: "agentSender";
|
|
803
|
+
readonly type: "address";
|
|
804
|
+
readonly indexed: true;
|
|
805
|
+
}, {
|
|
806
|
+
readonly name: "confirmationBlock";
|
|
807
|
+
readonly type: "uint256";
|
|
808
|
+
readonly indexed: false;
|
|
809
|
+
}, {
|
|
810
|
+
readonly name: "actionId";
|
|
811
|
+
readonly type: "uint256";
|
|
812
|
+
readonly indexed: false;
|
|
813
|
+
}];
|
|
814
|
+
readonly anonymous: false;
|
|
815
|
+
readonly type: "event";
|
|
816
|
+
}, {
|
|
817
|
+
readonly name: "AgentWrapperSenderAdded";
|
|
818
|
+
readonly inputs: readonly [{
|
|
819
|
+
readonly name: "agentWrapper";
|
|
820
|
+
readonly type: "address";
|
|
821
|
+
readonly indexed: true;
|
|
822
|
+
}, {
|
|
823
|
+
readonly name: "agentSender";
|
|
824
|
+
readonly type: "address";
|
|
825
|
+
readonly indexed: true;
|
|
826
|
+
}];
|
|
827
|
+
readonly anonymous: false;
|
|
828
|
+
readonly type: "event";
|
|
829
|
+
}, {
|
|
830
|
+
readonly name: "AgentWrapperSenderRemoved";
|
|
831
|
+
readonly inputs: readonly [{
|
|
832
|
+
readonly name: "agentWrapper";
|
|
833
|
+
readonly type: "address";
|
|
834
|
+
readonly indexed: true;
|
|
835
|
+
}, {
|
|
836
|
+
readonly name: "agentSender";
|
|
837
|
+
readonly type: "address";
|
|
838
|
+
readonly indexed: true;
|
|
839
|
+
}];
|
|
840
|
+
readonly anonymous: false;
|
|
841
|
+
readonly type: "event";
|
|
769
842
|
}, {
|
|
770
843
|
readonly name: "GovChangeTimeLockModified";
|
|
771
844
|
readonly inputs: readonly [{
|
|
@@ -923,6 +996,9 @@ export declare const abi: readonly [{
|
|
|
923
996
|
}, {
|
|
924
997
|
readonly name: "billing";
|
|
925
998
|
readonly type: "address";
|
|
999
|
+
}, {
|
|
1000
|
+
readonly name: "vaultRegistry";
|
|
1001
|
+
readonly type: "address";
|
|
926
1002
|
}];
|
|
927
1003
|
}];
|
|
928
1004
|
}, {
|
|
@@ -1302,21 +1378,6 @@ export declare const abi: readonly [{
|
|
|
1302
1378
|
readonly name: "";
|
|
1303
1379
|
readonly type: "uint256";
|
|
1304
1380
|
}];
|
|
1305
|
-
}, {
|
|
1306
|
-
readonly stateMutability: "nonpayable";
|
|
1307
|
-
readonly type: "function";
|
|
1308
|
-
readonly name: "setTrialFunds";
|
|
1309
|
-
readonly inputs: readonly [{
|
|
1310
|
-
readonly name: "_trialAsset";
|
|
1311
|
-
readonly type: "address";
|
|
1312
|
-
}, {
|
|
1313
|
-
readonly name: "_trialAmount";
|
|
1314
|
-
readonly type: "uint256";
|
|
1315
|
-
}];
|
|
1316
|
-
readonly outputs: readonly [{
|
|
1317
|
-
readonly name: "";
|
|
1318
|
-
readonly type: "uint256";
|
|
1319
|
-
}];
|
|
1320
1381
|
}, {
|
|
1321
1382
|
readonly stateMutability: "nonpayable";
|
|
1322
1383
|
readonly type: "function";
|
|
@@ -1350,19 +1411,7 @@ export declare const abi: readonly [{
|
|
|
1350
1411
|
}, {
|
|
1351
1412
|
readonly stateMutability: "nonpayable";
|
|
1352
1413
|
readonly type: "function";
|
|
1353
|
-
readonly name: "
|
|
1354
|
-
readonly inputs: readonly [{
|
|
1355
|
-
readonly name: "_defaultStaleBlocks";
|
|
1356
|
-
readonly type: "uint256";
|
|
1357
|
-
}];
|
|
1358
|
-
readonly outputs: readonly [{
|
|
1359
|
-
readonly name: "";
|
|
1360
|
-
readonly type: "uint256";
|
|
1361
|
-
}];
|
|
1362
|
-
}, {
|
|
1363
|
-
readonly stateMutability: "nonpayable";
|
|
1364
|
-
readonly type: "function";
|
|
1365
|
-
readonly name: "setTxFees";
|
|
1414
|
+
readonly name: "setTxFees";
|
|
1366
1415
|
readonly inputs: readonly [{
|
|
1367
1416
|
readonly name: "_swapFee";
|
|
1368
1417
|
readonly type: "uint256";
|
|
@@ -1412,7 +1461,7 @@ export declare const abi: readonly [{
|
|
|
1412
1461
|
readonly name: "_defaultYieldBonusRatio";
|
|
1413
1462
|
readonly type: "uint256";
|
|
1414
1463
|
}, {
|
|
1415
|
-
readonly name: "
|
|
1464
|
+
readonly name: "_defaultYieldBonusAsset";
|
|
1416
1465
|
readonly type: "address";
|
|
1417
1466
|
}];
|
|
1418
1467
|
readonly outputs: readonly [{
|
|
@@ -1441,12 +1490,6 @@ export declare const abi: readonly [{
|
|
|
1441
1490
|
readonly inputs: readonly [{
|
|
1442
1491
|
readonly name: "_asset";
|
|
1443
1492
|
readonly type: "address";
|
|
1444
|
-
}, {
|
|
1445
|
-
readonly name: "_legoId";
|
|
1446
|
-
readonly type: "uint256";
|
|
1447
|
-
}, {
|
|
1448
|
-
readonly name: "_staleBlocks";
|
|
1449
|
-
readonly type: "uint256";
|
|
1450
1493
|
}, {
|
|
1451
1494
|
readonly name: "_txFeesSwapFee";
|
|
1452
1495
|
readonly type: "uint256";
|
|
@@ -1465,15 +1508,6 @@ export declare const abi: readonly [{
|
|
|
1465
1508
|
}, {
|
|
1466
1509
|
readonly name: "_ambassadorRevShareYieldRatio";
|
|
1467
1510
|
readonly type: "uint256";
|
|
1468
|
-
}, {
|
|
1469
|
-
readonly name: "_isYieldAsset";
|
|
1470
|
-
readonly type: "bool";
|
|
1471
|
-
}, {
|
|
1472
|
-
readonly name: "_isRebasing";
|
|
1473
|
-
readonly type: "bool";
|
|
1474
|
-
}, {
|
|
1475
|
-
readonly name: "_underlyingAsset";
|
|
1476
|
-
readonly type: "address";
|
|
1477
1511
|
}, {
|
|
1478
1512
|
readonly name: "_maxYieldIncrease";
|
|
1479
1513
|
readonly type: "uint256";
|
|
@@ -1487,7 +1521,7 @@ export declare const abi: readonly [{
|
|
|
1487
1521
|
readonly name: "_bonusRatio";
|
|
1488
1522
|
readonly type: "uint256";
|
|
1489
1523
|
}, {
|
|
1490
|
-
readonly name: "
|
|
1524
|
+
readonly name: "_bonusAsset";
|
|
1491
1525
|
readonly type: "address";
|
|
1492
1526
|
}];
|
|
1493
1527
|
readonly outputs: readonly [{
|
|
@@ -1497,13 +1531,19 @@ export declare const abi: readonly [{
|
|
|
1497
1531
|
}, {
|
|
1498
1532
|
readonly stateMutability: "nonpayable";
|
|
1499
1533
|
readonly type: "function";
|
|
1500
|
-
readonly name: "
|
|
1534
|
+
readonly name: "setAssetTxFees";
|
|
1501
1535
|
readonly inputs: readonly [{
|
|
1502
1536
|
readonly name: "_asset";
|
|
1503
1537
|
readonly type: "address";
|
|
1504
1538
|
}, {
|
|
1505
|
-
readonly name: "
|
|
1506
|
-
readonly type: "
|
|
1539
|
+
readonly name: "_swapFee";
|
|
1540
|
+
readonly type: "uint256";
|
|
1541
|
+
}, {
|
|
1542
|
+
readonly name: "_stableSwapFee";
|
|
1543
|
+
readonly type: "uint256";
|
|
1544
|
+
}, {
|
|
1545
|
+
readonly name: "_rewardsFee";
|
|
1546
|
+
readonly type: "uint256";
|
|
1507
1547
|
}];
|
|
1508
1548
|
readonly outputs: readonly [{
|
|
1509
1549
|
readonly name: "";
|
|
@@ -1512,10 +1552,19 @@ export declare const abi: readonly [{
|
|
|
1512
1552
|
}, {
|
|
1513
1553
|
readonly stateMutability: "nonpayable";
|
|
1514
1554
|
readonly type: "function";
|
|
1515
|
-
readonly name: "
|
|
1555
|
+
readonly name: "setAssetAmbassadorRevShare";
|
|
1516
1556
|
readonly inputs: readonly [{
|
|
1517
|
-
readonly name: "
|
|
1557
|
+
readonly name: "_asset";
|
|
1518
1558
|
readonly type: "address";
|
|
1559
|
+
}, {
|
|
1560
|
+
readonly name: "_swapRatio";
|
|
1561
|
+
readonly type: "uint256";
|
|
1562
|
+
}, {
|
|
1563
|
+
readonly name: "_rewardsRatio";
|
|
1564
|
+
readonly type: "uint256";
|
|
1565
|
+
}, {
|
|
1566
|
+
readonly name: "_yieldRatio";
|
|
1567
|
+
readonly type: "uint256";
|
|
1519
1568
|
}];
|
|
1520
1569
|
readonly outputs: readonly [{
|
|
1521
1570
|
readonly name: "";
|
|
@@ -1524,12 +1573,39 @@ export declare const abi: readonly [{
|
|
|
1524
1573
|
}, {
|
|
1525
1574
|
readonly stateMutability: "nonpayable";
|
|
1526
1575
|
readonly type: "function";
|
|
1527
|
-
readonly name: "
|
|
1576
|
+
readonly name: "setAssetYieldConfig";
|
|
1528
1577
|
readonly inputs: readonly [{
|
|
1529
|
-
readonly name: "
|
|
1578
|
+
readonly name: "_asset";
|
|
1579
|
+
readonly type: "address";
|
|
1580
|
+
}, {
|
|
1581
|
+
readonly name: "_maxYieldIncrease";
|
|
1530
1582
|
readonly type: "uint256";
|
|
1531
1583
|
}, {
|
|
1532
|
-
readonly name: "
|
|
1584
|
+
readonly name: "_performanceFee";
|
|
1585
|
+
readonly type: "uint256";
|
|
1586
|
+
}, {
|
|
1587
|
+
readonly name: "_ambassadorBonusRatio";
|
|
1588
|
+
readonly type: "uint256";
|
|
1589
|
+
}, {
|
|
1590
|
+
readonly name: "_bonusRatio";
|
|
1591
|
+
readonly type: "uint256";
|
|
1592
|
+
}, {
|
|
1593
|
+
readonly name: "_bonusAsset";
|
|
1594
|
+
readonly type: "address";
|
|
1595
|
+
}];
|
|
1596
|
+
readonly outputs: readonly [{
|
|
1597
|
+
readonly name: "";
|
|
1598
|
+
readonly type: "uint256";
|
|
1599
|
+
}];
|
|
1600
|
+
}, {
|
|
1601
|
+
readonly stateMutability: "nonpayable";
|
|
1602
|
+
readonly type: "function";
|
|
1603
|
+
readonly name: "setIsStablecoin";
|
|
1604
|
+
readonly inputs: readonly [{
|
|
1605
|
+
readonly name: "_asset";
|
|
1606
|
+
readonly type: "address";
|
|
1607
|
+
}, {
|
|
1608
|
+
readonly name: "_isStablecoin";
|
|
1533
1609
|
readonly type: "bool";
|
|
1534
1610
|
}];
|
|
1535
1611
|
readonly outputs: readonly [{
|
|
@@ -1551,6 +1627,24 @@ export declare const abi: readonly [{
|
|
|
1551
1627
|
readonly name: "";
|
|
1552
1628
|
readonly type: "uint256";
|
|
1553
1629
|
}];
|
|
1630
|
+
}, {
|
|
1631
|
+
readonly stateMutability: "nonpayable";
|
|
1632
|
+
readonly type: "function";
|
|
1633
|
+
readonly name: "setAgentWrapperSender";
|
|
1634
|
+
readonly inputs: readonly [{
|
|
1635
|
+
readonly name: "_agentWrapper";
|
|
1636
|
+
readonly type: "address";
|
|
1637
|
+
}, {
|
|
1638
|
+
readonly name: "_agentSender";
|
|
1639
|
+
readonly type: "address";
|
|
1640
|
+
}, {
|
|
1641
|
+
readonly name: "_shouldAdd";
|
|
1642
|
+
readonly type: "bool";
|
|
1643
|
+
}];
|
|
1644
|
+
readonly outputs: readonly [{
|
|
1645
|
+
readonly name: "";
|
|
1646
|
+
readonly type: "uint256";
|
|
1647
|
+
}];
|
|
1554
1648
|
}, {
|
|
1555
1649
|
readonly stateMutability: "nonpayable";
|
|
1556
1650
|
readonly type: "function";
|
|
@@ -1561,6 +1655,18 @@ export declare const abi: readonly [{
|
|
|
1561
1655
|
}, {
|
|
1562
1656
|
readonly name: "_managerActivationLength";
|
|
1563
1657
|
readonly type: "uint256";
|
|
1658
|
+
}, {
|
|
1659
|
+
readonly name: "_mustHaveUsdValueOnSwaps";
|
|
1660
|
+
readonly type: "bool";
|
|
1661
|
+
}, {
|
|
1662
|
+
readonly name: "_maxNumSwapsPerPeriod";
|
|
1663
|
+
readonly type: "uint256";
|
|
1664
|
+
}, {
|
|
1665
|
+
readonly name: "_maxSlippageOnSwaps";
|
|
1666
|
+
readonly type: "uint256";
|
|
1667
|
+
}, {
|
|
1668
|
+
readonly name: "_onlyApprovedYieldOpps";
|
|
1669
|
+
readonly type: "bool";
|
|
1564
1670
|
}];
|
|
1565
1671
|
readonly outputs: readonly [{
|
|
1566
1672
|
readonly name: "";
|
|
@@ -1623,8 +1729,11 @@ export declare const abi: readonly [{
|
|
|
1623
1729
|
}, {
|
|
1624
1730
|
readonly stateMutability: "nonpayable";
|
|
1625
1731
|
readonly type: "function";
|
|
1626
|
-
readonly name: "
|
|
1732
|
+
readonly name: "setRipeRewardsConfig";
|
|
1627
1733
|
readonly inputs: readonly [{
|
|
1734
|
+
readonly name: "_ripeStakeRatio";
|
|
1735
|
+
readonly type: "uint256";
|
|
1736
|
+
}, {
|
|
1628
1737
|
readonly name: "_ripeLockDuration";
|
|
1629
1738
|
readonly type: "uint256";
|
|
1630
1739
|
}];
|
|
@@ -1682,12 +1791,6 @@ export declare const abi: readonly [{
|
|
|
1682
1791
|
}, {
|
|
1683
1792
|
readonly name: "configTemplate";
|
|
1684
1793
|
readonly type: "address";
|
|
1685
|
-
}, {
|
|
1686
|
-
readonly name: "trialAsset";
|
|
1687
|
-
readonly type: "address";
|
|
1688
|
-
}, {
|
|
1689
|
-
readonly name: "trialAmount";
|
|
1690
|
-
readonly type: "uint256";
|
|
1691
1794
|
}, {
|
|
1692
1795
|
readonly name: "numUserWalletsAllowed";
|
|
1693
1796
|
readonly type: "uint256";
|
|
@@ -1700,12 +1803,12 @@ export declare const abi: readonly [{
|
|
|
1700
1803
|
}, {
|
|
1701
1804
|
readonly name: "maxKeyActionTimeLock";
|
|
1702
1805
|
readonly type: "uint256";
|
|
1703
|
-
}, {
|
|
1704
|
-
readonly name: "defaultStaleBlocks";
|
|
1705
|
-
readonly type: "uint256";
|
|
1706
1806
|
}, {
|
|
1707
1807
|
readonly name: "depositRewardsAsset";
|
|
1708
1808
|
readonly type: "address";
|
|
1809
|
+
}, {
|
|
1810
|
+
readonly name: "lootClaimCoolOffPeriod";
|
|
1811
|
+
readonly type: "uint256";
|
|
1709
1812
|
}, {
|
|
1710
1813
|
readonly name: "txFees";
|
|
1711
1814
|
readonly type: "tuple";
|
|
@@ -1733,23 +1836,24 @@ export declare const abi: readonly [{
|
|
|
1733
1836
|
readonly type: "uint256";
|
|
1734
1837
|
}];
|
|
1735
1838
|
}, {
|
|
1736
|
-
readonly name: "
|
|
1737
|
-
readonly type: "
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1839
|
+
readonly name: "yieldConfig";
|
|
1840
|
+
readonly type: "tuple";
|
|
1841
|
+
readonly components: readonly [{
|
|
1842
|
+
readonly name: "maxYieldIncrease";
|
|
1843
|
+
readonly type: "uint256";
|
|
1844
|
+
}, {
|
|
1845
|
+
readonly name: "performanceFee";
|
|
1846
|
+
readonly type: "uint256";
|
|
1847
|
+
}, {
|
|
1848
|
+
readonly name: "ambassadorBonusRatio";
|
|
1849
|
+
readonly type: "uint256";
|
|
1850
|
+
}, {
|
|
1851
|
+
readonly name: "bonusRatio";
|
|
1852
|
+
readonly type: "uint256";
|
|
1853
|
+
}, {
|
|
1854
|
+
readonly name: "bonusAsset";
|
|
1855
|
+
readonly type: "address";
|
|
1856
|
+
}];
|
|
1753
1857
|
}];
|
|
1754
1858
|
}];
|
|
1755
1859
|
}, {
|
|
@@ -1770,14 +1874,8 @@ export declare const abi: readonly [{
|
|
|
1770
1874
|
readonly name: "config";
|
|
1771
1875
|
readonly type: "tuple";
|
|
1772
1876
|
readonly components: readonly [{
|
|
1773
|
-
readonly name: "
|
|
1774
|
-
readonly type: "
|
|
1775
|
-
}, {
|
|
1776
|
-
readonly name: "decimals";
|
|
1777
|
-
readonly type: "uint256";
|
|
1778
|
-
}, {
|
|
1779
|
-
readonly name: "staleBlocks";
|
|
1780
|
-
readonly type: "uint256";
|
|
1877
|
+
readonly name: "hasConfig";
|
|
1878
|
+
readonly type: "bool";
|
|
1781
1879
|
}, {
|
|
1782
1880
|
readonly name: "txFees";
|
|
1783
1881
|
readonly type: "tuple";
|
|
@@ -1808,15 +1906,6 @@ export declare const abi: readonly [{
|
|
|
1808
1906
|
readonly name: "yieldConfig";
|
|
1809
1907
|
readonly type: "tuple";
|
|
1810
1908
|
readonly components: readonly [{
|
|
1811
|
-
readonly name: "isYieldAsset";
|
|
1812
|
-
readonly type: "bool";
|
|
1813
|
-
}, {
|
|
1814
|
-
readonly name: "isRebasing";
|
|
1815
|
-
readonly type: "bool";
|
|
1816
|
-
}, {
|
|
1817
|
-
readonly name: "underlyingAsset";
|
|
1818
|
-
readonly type: "address";
|
|
1819
|
-
}, {
|
|
1820
1909
|
readonly name: "maxYieldIncrease";
|
|
1821
1910
|
readonly type: "uint256";
|
|
1822
1911
|
}, {
|
|
@@ -1829,7 +1918,7 @@ export declare const abi: readonly [{
|
|
|
1829
1918
|
readonly name: "bonusRatio";
|
|
1830
1919
|
readonly type: "uint256";
|
|
1831
1920
|
}, {
|
|
1832
|
-
readonly name: "
|
|
1921
|
+
readonly name: "bonusAsset";
|
|
1833
1922
|
readonly type: "address";
|
|
1834
1923
|
}];
|
|
1835
1924
|
}];
|
|
@@ -1838,7 +1927,7 @@ export declare const abi: readonly [{
|
|
|
1838
1927
|
}, {
|
|
1839
1928
|
readonly stateMutability: "view";
|
|
1840
1929
|
readonly type: "function";
|
|
1841
|
-
readonly name: "
|
|
1930
|
+
readonly name: "pendingAssetTxFees";
|
|
1842
1931
|
readonly inputs: readonly [{
|
|
1843
1932
|
readonly name: "arg0";
|
|
1844
1933
|
readonly type: "uint256";
|
|
@@ -1847,15 +1936,99 @@ export declare const abi: readonly [{
|
|
|
1847
1936
|
readonly name: "";
|
|
1848
1937
|
readonly type: "tuple";
|
|
1849
1938
|
readonly components: readonly [{
|
|
1850
|
-
readonly name: "
|
|
1939
|
+
readonly name: "asset";
|
|
1851
1940
|
readonly type: "address";
|
|
1852
1941
|
}, {
|
|
1853
|
-
readonly name: "
|
|
1854
|
-
readonly type: "
|
|
1942
|
+
readonly name: "txFees";
|
|
1943
|
+
readonly type: "tuple";
|
|
1944
|
+
readonly components: readonly [{
|
|
1945
|
+
readonly name: "swapFee";
|
|
1946
|
+
readonly type: "uint256";
|
|
1947
|
+
}, {
|
|
1948
|
+
readonly name: "stableSwapFee";
|
|
1949
|
+
readonly type: "uint256";
|
|
1950
|
+
}, {
|
|
1951
|
+
readonly name: "rewardsFee";
|
|
1952
|
+
readonly type: "uint256";
|
|
1953
|
+
}];
|
|
1954
|
+
}];
|
|
1955
|
+
}];
|
|
1956
|
+
}, {
|
|
1957
|
+
readonly stateMutability: "view";
|
|
1958
|
+
readonly type: "function";
|
|
1959
|
+
readonly name: "pendingAssetAmbassadorRevShare";
|
|
1960
|
+
readonly inputs: readonly [{
|
|
1961
|
+
readonly name: "arg0";
|
|
1962
|
+
readonly type: "uint256";
|
|
1963
|
+
}];
|
|
1964
|
+
readonly outputs: readonly [{
|
|
1965
|
+
readonly name: "";
|
|
1966
|
+
readonly type: "tuple";
|
|
1967
|
+
readonly components: readonly [{
|
|
1968
|
+
readonly name: "asset";
|
|
1969
|
+
readonly type: "address";
|
|
1855
1970
|
}, {
|
|
1856
|
-
readonly name: "
|
|
1857
|
-
readonly type: "
|
|
1971
|
+
readonly name: "ambassadorRevShare";
|
|
1972
|
+
readonly type: "tuple";
|
|
1973
|
+
readonly components: readonly [{
|
|
1974
|
+
readonly name: "swapRatio";
|
|
1975
|
+
readonly type: "uint256";
|
|
1976
|
+
}, {
|
|
1977
|
+
readonly name: "rewardsRatio";
|
|
1978
|
+
readonly type: "uint256";
|
|
1979
|
+
}, {
|
|
1980
|
+
readonly name: "yieldRatio";
|
|
1981
|
+
readonly type: "uint256";
|
|
1982
|
+
}];
|
|
1983
|
+
}];
|
|
1984
|
+
}];
|
|
1985
|
+
}, {
|
|
1986
|
+
readonly stateMutability: "view";
|
|
1987
|
+
readonly type: "function";
|
|
1988
|
+
readonly name: "pendingAssetYieldConfig";
|
|
1989
|
+
readonly inputs: readonly [{
|
|
1990
|
+
readonly name: "arg0";
|
|
1991
|
+
readonly type: "uint256";
|
|
1992
|
+
}];
|
|
1993
|
+
readonly outputs: readonly [{
|
|
1994
|
+
readonly name: "";
|
|
1995
|
+
readonly type: "tuple";
|
|
1996
|
+
readonly components: readonly [{
|
|
1997
|
+
readonly name: "asset";
|
|
1998
|
+
readonly type: "address";
|
|
1858
1999
|
}, {
|
|
2000
|
+
readonly name: "yieldConfig";
|
|
2001
|
+
readonly type: "tuple";
|
|
2002
|
+
readonly components: readonly [{
|
|
2003
|
+
readonly name: "maxYieldIncrease";
|
|
2004
|
+
readonly type: "uint256";
|
|
2005
|
+
}, {
|
|
2006
|
+
readonly name: "performanceFee";
|
|
2007
|
+
readonly type: "uint256";
|
|
2008
|
+
}, {
|
|
2009
|
+
readonly name: "ambassadorBonusRatio";
|
|
2010
|
+
readonly type: "uint256";
|
|
2011
|
+
}, {
|
|
2012
|
+
readonly name: "bonusRatio";
|
|
2013
|
+
readonly type: "uint256";
|
|
2014
|
+
}, {
|
|
2015
|
+
readonly name: "bonusAsset";
|
|
2016
|
+
readonly type: "address";
|
|
2017
|
+
}];
|
|
2018
|
+
}];
|
|
2019
|
+
}];
|
|
2020
|
+
}, {
|
|
2021
|
+
readonly stateMutability: "view";
|
|
2022
|
+
readonly type: "function";
|
|
2023
|
+
readonly name: "pendingAgentConfig";
|
|
2024
|
+
readonly inputs: readonly [{
|
|
2025
|
+
readonly name: "arg0";
|
|
2026
|
+
readonly type: "uint256";
|
|
2027
|
+
}];
|
|
2028
|
+
readonly outputs: readonly [{
|
|
2029
|
+
readonly name: "";
|
|
2030
|
+
readonly type: "tuple";
|
|
2031
|
+
readonly components: readonly [{
|
|
1859
2032
|
readonly name: "startingAgent";
|
|
1860
2033
|
readonly type: "address";
|
|
1861
2034
|
}, {
|
|
@@ -1880,6 +2053,18 @@ export declare const abi: readonly [{
|
|
|
1880
2053
|
}, {
|
|
1881
2054
|
readonly name: "managerActivationLength";
|
|
1882
2055
|
readonly type: "uint256";
|
|
2056
|
+
}, {
|
|
2057
|
+
readonly name: "mustHaveUsdValueOnSwaps";
|
|
2058
|
+
readonly type: "bool";
|
|
2059
|
+
}, {
|
|
2060
|
+
readonly name: "maxNumSwapsPerPeriod";
|
|
2061
|
+
readonly type: "uint256";
|
|
2062
|
+
}, {
|
|
2063
|
+
readonly name: "maxSlippageOnSwaps";
|
|
2064
|
+
readonly type: "uint256";
|
|
2065
|
+
}, {
|
|
2066
|
+
readonly name: "onlyApprovedYieldOpps";
|
|
2067
|
+
readonly type: "bool";
|
|
1883
2068
|
}];
|
|
1884
2069
|
}];
|
|
1885
2070
|
}, {
|
|
@@ -1920,6 +2105,25 @@ export declare const abi: readonly [{
|
|
|
1920
2105
|
readonly type: "bool";
|
|
1921
2106
|
}];
|
|
1922
2107
|
}];
|
|
2108
|
+
}, {
|
|
2109
|
+
readonly stateMutability: "view";
|
|
2110
|
+
readonly type: "function";
|
|
2111
|
+
readonly name: "pendingAgentWrapperSender";
|
|
2112
|
+
readonly inputs: readonly [{
|
|
2113
|
+
readonly name: "arg0";
|
|
2114
|
+
readonly type: "uint256";
|
|
2115
|
+
}];
|
|
2116
|
+
readonly outputs: readonly [{
|
|
2117
|
+
readonly name: "";
|
|
2118
|
+
readonly type: "tuple";
|
|
2119
|
+
readonly components: readonly [{
|
|
2120
|
+
readonly name: "agentWrapper";
|
|
2121
|
+
readonly type: "address";
|
|
2122
|
+
}, {
|
|
2123
|
+
readonly name: "agentSender";
|
|
2124
|
+
readonly type: "address";
|
|
2125
|
+
}];
|
|
2126
|
+
}];
|
|
1923
2127
|
}, {
|
|
1924
2128
|
readonly stateMutability: "nonpayable";
|
|
1925
2129
|
readonly type: "constructor";
|
|
@@ -1953,6 +2157,7 @@ export type Contract = {
|
|
|
1953
2157
|
appraiser: `0x${string}`;
|
|
1954
2158
|
walletBackpack: `0x${string}`;
|
|
1955
2159
|
billing: `0x${string}`;
|
|
2160
|
+
vaultRegistry: `0x${string}`;
|
|
1956
2161
|
}>;
|
|
1957
2162
|
getUndyHq: () => Promise<`0x${string}`>;
|
|
1958
2163
|
getUndyHqFromGov: () => Promise<`0x${string}`>;
|
|
@@ -1989,14 +2194,12 @@ export type Contract = {
|
|
|
1989
2194
|
pendingUserWalletConfig: (arg0: bigint) => Promise<{
|
|
1990
2195
|
walletTemplate: `0x${string}`;
|
|
1991
2196
|
configTemplate: `0x${string}`;
|
|
1992
|
-
trialAsset: `0x${string}`;
|
|
1993
|
-
trialAmount: bigint;
|
|
1994
2197
|
numUserWalletsAllowed: bigint;
|
|
1995
2198
|
enforceCreatorWhitelist: boolean;
|
|
1996
2199
|
minKeyActionTimeLock: bigint;
|
|
1997
2200
|
maxKeyActionTimeLock: bigint;
|
|
1998
|
-
defaultStaleBlocks: bigint;
|
|
1999
2201
|
depositRewardsAsset: `0x${string}`;
|
|
2202
|
+
lootClaimCoolOffPeriod: bigint;
|
|
2000
2203
|
txFees: {
|
|
2001
2204
|
swapFee: bigint;
|
|
2002
2205
|
stableSwapFee: bigint;
|
|
@@ -2007,19 +2210,18 @@ export type Contract = {
|
|
|
2007
2210
|
rewardsRatio: bigint;
|
|
2008
2211
|
yieldRatio: bigint;
|
|
2009
2212
|
};
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2213
|
+
yieldConfig: {
|
|
2214
|
+
maxYieldIncrease: bigint;
|
|
2215
|
+
performanceFee: bigint;
|
|
2216
|
+
ambassadorBonusRatio: bigint;
|
|
2217
|
+
bonusRatio: bigint;
|
|
2218
|
+
bonusAsset: `0x${string}`;
|
|
2219
|
+
};
|
|
2016
2220
|
}>;
|
|
2017
2221
|
pendingAssetConfig: (arg0: bigint) => Promise<{
|
|
2018
2222
|
asset: `0x${string}`;
|
|
2019
2223
|
config: {
|
|
2020
|
-
|
|
2021
|
-
decimals: bigint;
|
|
2022
|
-
staleBlocks: bigint;
|
|
2224
|
+
hasConfig: boolean;
|
|
2023
2225
|
txFees: {
|
|
2024
2226
|
swapFee: bigint;
|
|
2025
2227
|
stableSwapFee: bigint;
|
|
@@ -2031,27 +2233,51 @@ export type Contract = {
|
|
|
2031
2233
|
yieldRatio: bigint;
|
|
2032
2234
|
};
|
|
2033
2235
|
yieldConfig: {
|
|
2034
|
-
isYieldAsset: boolean;
|
|
2035
|
-
isRebasing: boolean;
|
|
2036
|
-
underlyingAsset: `0x${string}`;
|
|
2037
2236
|
maxYieldIncrease: bigint;
|
|
2038
2237
|
performanceFee: bigint;
|
|
2039
2238
|
ambassadorBonusRatio: bigint;
|
|
2040
2239
|
bonusRatio: bigint;
|
|
2041
|
-
|
|
2240
|
+
bonusAsset: `0x${string}`;
|
|
2042
2241
|
};
|
|
2043
2242
|
};
|
|
2044
2243
|
}>;
|
|
2244
|
+
pendingAssetTxFees: (arg0: bigint) => Promise<{
|
|
2245
|
+
asset: `0x${string}`;
|
|
2246
|
+
txFees: {
|
|
2247
|
+
swapFee: bigint;
|
|
2248
|
+
stableSwapFee: bigint;
|
|
2249
|
+
rewardsFee: bigint;
|
|
2250
|
+
};
|
|
2251
|
+
}>;
|
|
2252
|
+
pendingAssetAmbassadorRevShare: (arg0: bigint) => Promise<{
|
|
2253
|
+
asset: `0x${string}`;
|
|
2254
|
+
ambassadorRevShare: {
|
|
2255
|
+
swapRatio: bigint;
|
|
2256
|
+
rewardsRatio: bigint;
|
|
2257
|
+
yieldRatio: bigint;
|
|
2258
|
+
};
|
|
2259
|
+
}>;
|
|
2260
|
+
pendingAssetYieldConfig: (arg0: bigint) => Promise<{
|
|
2261
|
+
asset: `0x${string}`;
|
|
2262
|
+
yieldConfig: {
|
|
2263
|
+
maxYieldIncrease: bigint;
|
|
2264
|
+
performanceFee: bigint;
|
|
2265
|
+
ambassadorBonusRatio: bigint;
|
|
2266
|
+
bonusRatio: bigint;
|
|
2267
|
+
bonusAsset: `0x${string}`;
|
|
2268
|
+
};
|
|
2269
|
+
}>;
|
|
2045
2270
|
pendingAgentConfig: (arg0: bigint) => Promise<{
|
|
2046
|
-
agentTemplate: `0x${string}`;
|
|
2047
|
-
numAgentsAllowed: bigint;
|
|
2048
|
-
enforceCreatorWhitelist: boolean;
|
|
2049
2271
|
startingAgent: `0x${string}`;
|
|
2050
2272
|
startingAgentActivationLength: bigint;
|
|
2051
2273
|
}>;
|
|
2052
2274
|
pendingManagerConfig: (arg0: bigint) => Promise<{
|
|
2053
2275
|
managerPeriod: bigint;
|
|
2054
2276
|
managerActivationLength: bigint;
|
|
2277
|
+
mustHaveUsdValueOnSwaps: boolean;
|
|
2278
|
+
maxNumSwapsPerPeriod: bigint;
|
|
2279
|
+
maxSlippageOnSwaps: bigint;
|
|
2280
|
+
onlyApprovedYieldOpps: boolean;
|
|
2055
2281
|
}>;
|
|
2056
2282
|
pendingPayeeConfig: (arg0: bigint) => Promise<{
|
|
2057
2283
|
payeePeriod: bigint;
|
|
@@ -2061,6 +2287,10 @@ export type Contract = {
|
|
|
2061
2287
|
addr: `0x${string}`;
|
|
2062
2288
|
isAllowed: boolean;
|
|
2063
2289
|
}>;
|
|
2290
|
+
pendingAgentWrapperSender: (arg0: bigint) => Promise<{
|
|
2291
|
+
agentWrapper: `0x${string}`;
|
|
2292
|
+
agentSender: `0x${string}`;
|
|
2293
|
+
}>;
|
|
2064
2294
|
};
|
|
2065
2295
|
mutations: {
|
|
2066
2296
|
startGovernanceChange: (newGov: `0x${string}`) => Promise<void>;
|
|
@@ -2073,58 +2303,56 @@ export type Contract = {
|
|
|
2073
2303
|
setExpiration: (expiration: bigint) => Promise<boolean>;
|
|
2074
2304
|
setActionTimeLockAfterSetup: (newTimeLock?: bigint) => Promise<boolean>;
|
|
2075
2305
|
setUserWalletTemplates: (walletTemplate: `0x${string}`, configTemplate: `0x${string}`) => Promise<bigint>;
|
|
2076
|
-
setTrialFunds: (trialAsset: `0x${string}`, trialAmount: bigint) => Promise<bigint>;
|
|
2077
2306
|
setWalletCreationLimits: (numUserWalletsAllowed: bigint, enforceCreatorWhitelist: boolean) => Promise<bigint>;
|
|
2078
2307
|
setKeyActionTimelockBounds: (minKeyActionTimeLock: bigint, maxKeyActionTimeLock: bigint) => Promise<bigint>;
|
|
2079
|
-
setDefaultStaleBlocks: (defaultStaleBlocks: bigint) => Promise<bigint>;
|
|
2080
2308
|
setTxFees: (swapFee: bigint, stableSwapFee: bigint, rewardsFee: bigint) => Promise<bigint>;
|
|
2081
2309
|
setAmbassadorRevShare: (swapRatio: bigint, rewardsRatio: bigint, yieldRatio: bigint) => Promise<bigint>;
|
|
2082
|
-
setDefaultYieldParams: (defaultYieldMaxIncrease: bigint, defaultYieldPerformanceFee: bigint, defaultYieldAmbassadorBonusRatio: bigint, defaultYieldBonusRatio: bigint,
|
|
2310
|
+
setDefaultYieldParams: (defaultYieldMaxIncrease: bigint, defaultYieldPerformanceFee: bigint, defaultYieldAmbassadorBonusRatio: bigint, defaultYieldBonusRatio: bigint, defaultYieldBonusAsset: `0x${string}`) => Promise<bigint>;
|
|
2083
2311
|
setLootParams: (depositRewardsAsset: `0x${string}`, lootClaimCoolOffPeriod: bigint) => Promise<bigint>;
|
|
2084
|
-
setAssetConfig: (asset: `0x${string}`,
|
|
2312
|
+
setAssetConfig: (asset: `0x${string}`, txFeesSwapFee: bigint, txFeesStableSwapFee: bigint, txFeesRewardsFee: bigint, ambassadorRevShareSwapRatio: bigint, ambassadorRevShareRewardsRatio: bigint, ambassadorRevShareYieldRatio: bigint, maxYieldIncrease: bigint, performanceFee: bigint, ambassadorBonusRatio: bigint, bonusRatio: bigint, bonusAsset: `0x${string}`) => Promise<bigint>;
|
|
2313
|
+
setAssetTxFees: (asset: `0x${string}`, swapFee: bigint, stableSwapFee: bigint, rewardsFee: bigint) => Promise<bigint>;
|
|
2314
|
+
setAssetAmbassadorRevShare: (asset: `0x${string}`, swapRatio: bigint, rewardsRatio: bigint, yieldRatio: bigint) => Promise<bigint>;
|
|
2315
|
+
setAssetYieldConfig: (asset: `0x${string}`, maxYieldIncrease: bigint, performanceFee: bigint, ambassadorBonusRatio: bigint, bonusRatio: bigint, bonusAsset: `0x${string}`) => Promise<bigint>;
|
|
2085
2316
|
setIsStablecoin: (asset: `0x${string}`, isStablecoin: boolean) => Promise<bigint>;
|
|
2086
|
-
setAgentTemplate: (agentTemplate: `0x${string}`) => Promise<bigint>;
|
|
2087
|
-
setAgentCreationLimits: (numAgentsAllowed: bigint, enforceCreatorWhitelist: boolean) => Promise<bigint>;
|
|
2088
2317
|
setStarterAgentParams: (startingAgent: `0x${string}`, startingAgentActivationLength: bigint) => Promise<bigint>;
|
|
2089
|
-
|
|
2318
|
+
setAgentWrapperSender: (agentWrapper: `0x${string}`, agentSender: `0x${string}`, shouldAdd: boolean) => Promise<bigint>;
|
|
2319
|
+
setManagerConfig: (managerPeriod: bigint, managerActivationLength: bigint, mustHaveUsdValueOnSwaps: boolean, maxNumSwapsPerPeriod: bigint, maxSlippageOnSwaps: bigint, onlyApprovedYieldOpps: boolean) => Promise<bigint>;
|
|
2090
2320
|
setPayeeConfig: (payeePeriod: bigint, payeeActivationLength: bigint) => Promise<bigint>;
|
|
2091
2321
|
setCanPerformSecurityAction: (signer: `0x${string}`, canPerform: boolean) => Promise<bigint>;
|
|
2092
2322
|
setCreatorWhitelist: (creator: `0x${string}`, isWhitelisted: boolean) => Promise<void>;
|
|
2093
2323
|
setLockedSigner: (signer: `0x${string}`, isLocked: boolean) => Promise<void>;
|
|
2094
|
-
|
|
2324
|
+
setRipeRewardsConfig: (ripeStakeRatio: bigint, ripeLockDuration: bigint) => Promise<void>;
|
|
2095
2325
|
executePendingAction: (aid: bigint) => Promise<boolean>;
|
|
2096
2326
|
cancelPendingAction: (aid: bigint) => Promise<boolean>;
|
|
2097
2327
|
};
|
|
2098
2328
|
events: {
|
|
2099
2329
|
PendingUserWalletTemplatesChange: (walletTemplate: `0x${string}`, configTemplate: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2100
2330
|
UserWalletTemplatesSet: (walletTemplate: `0x${string}`, configTemplate: `0x${string}`) => Promise<void>;
|
|
2101
|
-
PendingTrialFundsChange: (trialAsset: `0x${string}`, trialAmount: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2102
|
-
TrialFundsSet: (trialAsset: `0x${string}`, trialAmount: bigint) => Promise<void>;
|
|
2103
2331
|
PendingWalletCreationLimitsChange: (numUserWalletsAllowed: bigint, enforceCreatorWhitelist: boolean, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2104
2332
|
WalletCreationLimitsSet: (numUserWalletsAllowed: bigint, enforceCreatorWhitelist: boolean) => Promise<void>;
|
|
2105
2333
|
PendingKeyActionTimelockBoundsChange: (minKeyActionTimeLock: bigint, maxKeyActionTimeLock: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2106
2334
|
KeyActionTimelockBoundsSet: (minKeyActionTimeLock: bigint, maxKeyActionTimeLock: bigint) => Promise<void>;
|
|
2107
|
-
PendingDefaultStaleBlocksChange: (defaultStaleBlocks: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2108
|
-
DefaultStaleBlocksSet: (defaultStaleBlocks: bigint) => Promise<void>;
|
|
2109
2335
|
PendingTxFeesChange: (swapFee: bigint, stableSwapFee: bigint, rewardsFee: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2110
2336
|
TxFeesSet: (swapFee: bigint, stableSwapFee: bigint, rewardsFee: bigint) => Promise<void>;
|
|
2111
2337
|
PendingAmbassadorRevShareChange: (swapRatio: bigint, rewardsRatio: bigint, yieldRatio: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2112
2338
|
AmbassadorRevShareSet: (swapRatio: bigint, rewardsRatio: bigint, yieldRatio: bigint) => Promise<void>;
|
|
2113
|
-
PendingDefaultYieldParamsChange: (defaultYieldMaxIncrease: bigint, defaultYieldPerformanceFee: bigint, defaultYieldAmbassadorBonusRatio: bigint, defaultYieldBonusRatio: bigint,
|
|
2114
|
-
DefaultYieldParamsSet: (defaultYieldMaxIncrease: bigint, defaultYieldPerformanceFee: bigint, defaultYieldAmbassadorBonusRatio: bigint, defaultYieldBonusRatio: bigint,
|
|
2339
|
+
PendingDefaultYieldParamsChange: (defaultYieldMaxIncrease: bigint, defaultYieldPerformanceFee: bigint, defaultYieldAmbassadorBonusRatio: bigint, defaultYieldBonusRatio: bigint, defaultYieldBonusAsset: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2340
|
+
DefaultYieldParamsSet: (defaultYieldMaxIncrease: bigint, defaultYieldPerformanceFee: bigint, defaultYieldAmbassadorBonusRatio: bigint, defaultYieldBonusRatio: bigint, defaultYieldBonusAsset: `0x${string}`) => Promise<void>;
|
|
2115
2341
|
PendingLootParamsChange: (depositRewardsAsset: `0x${string}`, lootClaimCoolOffPeriod: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2116
2342
|
LootParamsSet: (depositRewardsAsset: `0x${string}`, lootClaimCoolOffPeriod: bigint) => Promise<void>;
|
|
2117
|
-
PendingAssetConfigChange: (asset: `0x${string}`,
|
|
2343
|
+
PendingAssetConfigChange: (asset: `0x${string}`, txFeesSwapFee: bigint, txFeesStableSwapFee: bigint, txFeesRewardsFee: bigint, ambassadorRevShareSwapRatio: bigint, ambassadorRevShareRewardsRatio: bigint, ambassadorRevShareYieldRatio: bigint, maxYieldIncrease: bigint, performanceFee: bigint, ambassadorBonusRatio: bigint, bonusRatio: bigint, bonusAsset: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2118
2344
|
PendingIsStablecoinChange: (asset: `0x${string}`, isStablecoin: boolean, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2119
2345
|
IsStablecoinSet: (asset: `0x${string}`, isStablecoin: boolean) => Promise<void>;
|
|
2120
|
-
AssetConfigSet: (asset: `0x${string}`,
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2346
|
+
AssetConfigSet: (asset: `0x${string}`, txFeesSwapFee: bigint, txFeesStableSwapFee: bigint, txFeesRewardsFee: bigint, ambassadorRevShareSwapRatio: bigint, ambassadorRevShareRewardsRatio: bigint, ambassadorRevShareYieldRatio: bigint, maxYieldIncrease: bigint, performanceFee: bigint, ambassadorBonusRatio: bigint, bonusRatio: bigint, bonusAsset: `0x${string}`) => Promise<void>;
|
|
2347
|
+
PendingAssetTxFeesChange: (asset: `0x${string}`, swapFee: bigint, stableSwapFee: bigint, rewardsFee: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2348
|
+
AssetTxFeesSet: (asset: `0x${string}`, swapFee: bigint, stableSwapFee: bigint, rewardsFee: bigint) => Promise<void>;
|
|
2349
|
+
PendingAssetAmbassadorRevShareChange: (asset: `0x${string}`, swapRatio: bigint, rewardsRatio: bigint, yieldRatio: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2350
|
+
AssetAmbassadorRevShareSet: (asset: `0x${string}`, swapRatio: bigint, rewardsRatio: bigint, yieldRatio: bigint) => Promise<void>;
|
|
2351
|
+
PendingAssetYieldConfigChange: (asset: `0x${string}`, maxYieldIncrease: bigint, performanceFee: bigint, ambassadorBonusRatio: bigint, bonusRatio: bigint, bonusAsset: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2352
|
+
AssetYieldConfigSet: (asset: `0x${string}`, maxYieldIncrease: bigint, performanceFee: bigint, ambassadorBonusRatio: bigint, bonusRatio: bigint, bonusAsset: `0x${string}`) => Promise<void>;
|
|
2125
2353
|
PendingStarterAgentParamsChange: (startingAgent: `0x${string}`, startingAgentActivationLength: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2126
2354
|
StarterAgentParamsSet: (startingAgent: `0x${string}`, startingAgentActivationLength: bigint) => Promise<void>;
|
|
2127
|
-
PendingManagerConfigChange: (managerPeriod: bigint, managerActivationLength: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2355
|
+
PendingManagerConfigChange: (managerPeriod: bigint, managerActivationLength: bigint, mustHaveUsdValueOnSwaps: boolean, maxNumSwapsPerPeriod: bigint, maxSlippageOnSwaps: bigint, onlyApprovedYieldOpps: boolean, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2128
2356
|
PendingPayeeConfigChange: (payeePeriod: bigint, payeeActivationLength: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2129
2357
|
PendingCanPerformSecurityAction: (signer: `0x${string}`, canPerform: boolean, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2130
2358
|
CreatorWhitelistSet: (creator: `0x${string}`, isWhitelisted: boolean, caller: `0x${string}`) => Promise<void>;
|
|
@@ -2132,7 +2360,10 @@ export type Contract = {
|
|
|
2132
2360
|
PayeeConfigSet: (payeePeriod: bigint, payeeActivationLength: bigint) => Promise<void>;
|
|
2133
2361
|
CanPerformSecurityAction: (signer: `0x${string}`, canPerform: boolean) => Promise<void>;
|
|
2134
2362
|
LockedSignerSet: (signer: `0x${string}`, isLocked: boolean, caller: `0x${string}`) => Promise<void>;
|
|
2135
|
-
|
|
2363
|
+
RipeRewardsConfigSetFromSwitchboard: (ripeStakeRatio: bigint, ripeLockDuration: bigint) => Promise<void>;
|
|
2364
|
+
PendingAgentWrapperSenderAdd: (agentWrapper: `0x${string}`, agentSender: `0x${string}`, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
2365
|
+
AgentWrapperSenderAdded: (agentWrapper: `0x${string}`, agentSender: `0x${string}`) => Promise<void>;
|
|
2366
|
+
AgentWrapperSenderRemoved: (agentWrapper: `0x${string}`, agentSender: `0x${string}`) => Promise<void>;
|
|
2136
2367
|
GovChangeTimeLockModified: (prevTimeLock: bigint, newTimeLock: bigint) => Promise<void>;
|
|
2137
2368
|
ExpirationSet: (expiration: bigint) => Promise<void>;
|
|
2138
2369
|
ActionTimeLockSet: (newTimeLock: bigint, prevTimeLock: bigint) => Promise<void>;
|
|
@@ -2208,10 +2439,14 @@ export type SDK = {
|
|
|
2208
2439
|
actionType: (...args: ExtractArgs<Contract['calls']['actionType']>) => Promise<CallReturn<'actionType'>>;
|
|
2209
2440
|
pendingUserWalletConfig: (...args: ExtractArgs<Contract['calls']['pendingUserWalletConfig']>) => Promise<CallReturn<'pendingUserWalletConfig'>>;
|
|
2210
2441
|
pendingAssetConfig: (...args: ExtractArgs<Contract['calls']['pendingAssetConfig']>) => Promise<CallReturn<'pendingAssetConfig'>>;
|
|
2442
|
+
pendingAssetTxFees: (...args: ExtractArgs<Contract['calls']['pendingAssetTxFees']>) => Promise<CallReturn<'pendingAssetTxFees'>>;
|
|
2443
|
+
pendingAssetAmbassadorRevShare: (...args: ExtractArgs<Contract['calls']['pendingAssetAmbassadorRevShare']>) => Promise<CallReturn<'pendingAssetAmbassadorRevShare'>>;
|
|
2444
|
+
pendingAssetYieldConfig: (...args: ExtractArgs<Contract['calls']['pendingAssetYieldConfig']>) => Promise<CallReturn<'pendingAssetYieldConfig'>>;
|
|
2211
2445
|
pendingAgentConfig: (...args: ExtractArgs<Contract['calls']['pendingAgentConfig']>) => Promise<CallReturn<'pendingAgentConfig'>>;
|
|
2212
2446
|
pendingManagerConfig: (...args: ExtractArgs<Contract['calls']['pendingManagerConfig']>) => Promise<CallReturn<'pendingManagerConfig'>>;
|
|
2213
2447
|
pendingPayeeConfig: (...args: ExtractArgs<Contract['calls']['pendingPayeeConfig']>) => Promise<CallReturn<'pendingPayeeConfig'>>;
|
|
2214
2448
|
pendingAddrToBool: (...args: ExtractArgs<Contract['calls']['pendingAddrToBool']>) => Promise<CallReturn<'pendingAddrToBool'>>;
|
|
2449
|
+
pendingAgentWrapperSender: (...args: ExtractArgs<Contract['calls']['pendingAgentWrapperSender']>) => Promise<CallReturn<'pendingAgentWrapperSender'>>;
|
|
2215
2450
|
startGovernanceChange: (...args: ExtractArgs<Contract['mutations']['startGovernanceChange']>) => Promise<Address>;
|
|
2216
2451
|
confirmGovernanceChange: (...args: ExtractArgs<Contract['mutations']['confirmGovernanceChange']>) => Promise<Address>;
|
|
2217
2452
|
cancelGovernanceChange: (...args: ExtractArgs<Contract['mutations']['cancelGovernanceChange']>) => Promise<Address>;
|
|
@@ -2222,25 +2457,25 @@ export type SDK = {
|
|
|
2222
2457
|
setExpiration: (...args: ExtractArgs<Contract['mutations']['setExpiration']>) => Promise<Address>;
|
|
2223
2458
|
setActionTimeLockAfterSetup: (...args: ExtractArgs<Contract['mutations']['setActionTimeLockAfterSetup']>) => Promise<Address>;
|
|
2224
2459
|
setUserWalletTemplates: (...args: ExtractArgs<Contract['mutations']['setUserWalletTemplates']>) => Promise<Address>;
|
|
2225
|
-
setTrialFunds: (...args: ExtractArgs<Contract['mutations']['setTrialFunds']>) => Promise<Address>;
|
|
2226
2460
|
setWalletCreationLimits: (...args: ExtractArgs<Contract['mutations']['setWalletCreationLimits']>) => Promise<Address>;
|
|
2227
2461
|
setKeyActionTimelockBounds: (...args: ExtractArgs<Contract['mutations']['setKeyActionTimelockBounds']>) => Promise<Address>;
|
|
2228
|
-
setDefaultStaleBlocks: (...args: ExtractArgs<Contract['mutations']['setDefaultStaleBlocks']>) => Promise<Address>;
|
|
2229
2462
|
setTxFees: (...args: ExtractArgs<Contract['mutations']['setTxFees']>) => Promise<Address>;
|
|
2230
2463
|
setAmbassadorRevShare: (...args: ExtractArgs<Contract['mutations']['setAmbassadorRevShare']>) => Promise<Address>;
|
|
2231
2464
|
setDefaultYieldParams: (...args: ExtractArgs<Contract['mutations']['setDefaultYieldParams']>) => Promise<Address>;
|
|
2232
2465
|
setLootParams: (...args: ExtractArgs<Contract['mutations']['setLootParams']>) => Promise<Address>;
|
|
2233
2466
|
setAssetConfig: (...args: ExtractArgs<Contract['mutations']['setAssetConfig']>) => Promise<Address>;
|
|
2467
|
+
setAssetTxFees: (...args: ExtractArgs<Contract['mutations']['setAssetTxFees']>) => Promise<Address>;
|
|
2468
|
+
setAssetAmbassadorRevShare: (...args: ExtractArgs<Contract['mutations']['setAssetAmbassadorRevShare']>) => Promise<Address>;
|
|
2469
|
+
setAssetYieldConfig: (...args: ExtractArgs<Contract['mutations']['setAssetYieldConfig']>) => Promise<Address>;
|
|
2234
2470
|
setIsStablecoin: (...args: ExtractArgs<Contract['mutations']['setIsStablecoin']>) => Promise<Address>;
|
|
2235
|
-
setAgentTemplate: (...args: ExtractArgs<Contract['mutations']['setAgentTemplate']>) => Promise<Address>;
|
|
2236
|
-
setAgentCreationLimits: (...args: ExtractArgs<Contract['mutations']['setAgentCreationLimits']>) => Promise<Address>;
|
|
2237
2471
|
setStarterAgentParams: (...args: ExtractArgs<Contract['mutations']['setStarterAgentParams']>) => Promise<Address>;
|
|
2472
|
+
setAgentWrapperSender: (...args: ExtractArgs<Contract['mutations']['setAgentWrapperSender']>) => Promise<Address>;
|
|
2238
2473
|
setManagerConfig: (...args: ExtractArgs<Contract['mutations']['setManagerConfig']>) => Promise<Address>;
|
|
2239
2474
|
setPayeeConfig: (...args: ExtractArgs<Contract['mutations']['setPayeeConfig']>) => Promise<Address>;
|
|
2240
2475
|
setCanPerformSecurityAction: (...args: ExtractArgs<Contract['mutations']['setCanPerformSecurityAction']>) => Promise<Address>;
|
|
2241
2476
|
setCreatorWhitelist: (...args: ExtractArgs<Contract['mutations']['setCreatorWhitelist']>) => Promise<Address>;
|
|
2242
2477
|
setLockedSigner: (...args: ExtractArgs<Contract['mutations']['setLockedSigner']>) => Promise<Address>;
|
|
2243
|
-
|
|
2478
|
+
setRipeRewardsConfig: (...args: ExtractArgs<Contract['mutations']['setRipeRewardsConfig']>) => Promise<Address>;
|
|
2244
2479
|
executePendingAction: (...args: ExtractArgs<Contract['mutations']['executePendingAction']>) => Promise<Address>;
|
|
2245
2480
|
cancelPendingAction: (...args: ExtractArgs<Contract['mutations']['cancelPendingAction']>) => Promise<Address>;
|
|
2246
2481
|
};
|