@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
|
@@ -119,11 +119,28 @@ export declare const abi: readonly [{
|
|
|
119
119
|
readonly anonymous: false;
|
|
120
120
|
readonly type: "event";
|
|
121
121
|
}, {
|
|
122
|
-
readonly name: "
|
|
122
|
+
readonly name: "IsLeveragedVaultSet";
|
|
123
123
|
readonly inputs: readonly [{
|
|
124
124
|
readonly name: "vaultAddr";
|
|
125
125
|
readonly type: "address";
|
|
126
126
|
readonly indexed: true;
|
|
127
|
+
}, {
|
|
128
|
+
readonly name: "isLeveragedVault";
|
|
129
|
+
readonly type: "bool";
|
|
130
|
+
readonly indexed: false;
|
|
131
|
+
}];
|
|
132
|
+
readonly anonymous: false;
|
|
133
|
+
readonly type: "event";
|
|
134
|
+
}, {
|
|
135
|
+
readonly name: "ApprovedVaultTokenSet";
|
|
136
|
+
readonly inputs: readonly [{
|
|
137
|
+
readonly name: "undyVaultAddr";
|
|
138
|
+
readonly type: "address";
|
|
139
|
+
readonly indexed: true;
|
|
140
|
+
}, {
|
|
141
|
+
readonly name: "underlyingAsset";
|
|
142
|
+
readonly type: "address";
|
|
143
|
+
readonly indexed: true;
|
|
127
144
|
}, {
|
|
128
145
|
readonly name: "vaultToken";
|
|
129
146
|
readonly type: "address";
|
|
@@ -132,6 +149,100 @@ export declare const abi: readonly [{
|
|
|
132
149
|
readonly name: "isApproved";
|
|
133
150
|
readonly type: "bool";
|
|
134
151
|
readonly indexed: false;
|
|
152
|
+
}, {
|
|
153
|
+
readonly name: "shouldMaxWithdraw";
|
|
154
|
+
readonly type: "bool";
|
|
155
|
+
readonly indexed: false;
|
|
156
|
+
}];
|
|
157
|
+
readonly anonymous: false;
|
|
158
|
+
readonly type: "event";
|
|
159
|
+
}, {
|
|
160
|
+
readonly name: "VaultTokenAdded";
|
|
161
|
+
readonly inputs: readonly [{
|
|
162
|
+
readonly name: "undyVaultAddr";
|
|
163
|
+
readonly type: "address";
|
|
164
|
+
readonly indexed: true;
|
|
165
|
+
}, {
|
|
166
|
+
readonly name: "underlyingAsset";
|
|
167
|
+
readonly type: "address";
|
|
168
|
+
readonly indexed: true;
|
|
169
|
+
}, {
|
|
170
|
+
readonly name: "vaultToken";
|
|
171
|
+
readonly type: "address";
|
|
172
|
+
readonly indexed: true;
|
|
173
|
+
}];
|
|
174
|
+
readonly anonymous: false;
|
|
175
|
+
readonly type: "event";
|
|
176
|
+
}, {
|
|
177
|
+
readonly name: "VaultTokenRemoved";
|
|
178
|
+
readonly inputs: readonly [{
|
|
179
|
+
readonly name: "undyVaultAddr";
|
|
180
|
+
readonly type: "address";
|
|
181
|
+
readonly indexed: true;
|
|
182
|
+
}, {
|
|
183
|
+
readonly name: "underlyingAsset";
|
|
184
|
+
readonly type: "address";
|
|
185
|
+
readonly indexed: true;
|
|
186
|
+
}, {
|
|
187
|
+
readonly name: "vaultToken";
|
|
188
|
+
readonly type: "address";
|
|
189
|
+
readonly indexed: true;
|
|
190
|
+
}];
|
|
191
|
+
readonly anonymous: false;
|
|
192
|
+
readonly type: "event";
|
|
193
|
+
}, {
|
|
194
|
+
readonly name: "AssetVaultTokenAdded";
|
|
195
|
+
readonly inputs: readonly [{
|
|
196
|
+
readonly name: "asset";
|
|
197
|
+
readonly type: "address";
|
|
198
|
+
readonly indexed: true;
|
|
199
|
+
}, {
|
|
200
|
+
readonly name: "vaultToken";
|
|
201
|
+
readonly type: "address";
|
|
202
|
+
readonly indexed: true;
|
|
203
|
+
}];
|
|
204
|
+
readonly anonymous: false;
|
|
205
|
+
readonly type: "event";
|
|
206
|
+
}, {
|
|
207
|
+
readonly name: "AssetVaultTokenRemoved";
|
|
208
|
+
readonly inputs: readonly [{
|
|
209
|
+
readonly name: "asset";
|
|
210
|
+
readonly type: "address";
|
|
211
|
+
readonly indexed: true;
|
|
212
|
+
}, {
|
|
213
|
+
readonly name: "vaultToken";
|
|
214
|
+
readonly type: "address";
|
|
215
|
+
readonly indexed: true;
|
|
216
|
+
}];
|
|
217
|
+
readonly anonymous: false;
|
|
218
|
+
readonly type: "event";
|
|
219
|
+
}, {
|
|
220
|
+
readonly name: "ShouldEnforceAllowlistSet";
|
|
221
|
+
readonly inputs: readonly [{
|
|
222
|
+
readonly name: "undyVault";
|
|
223
|
+
readonly type: "address";
|
|
224
|
+
readonly indexed: true;
|
|
225
|
+
}, {
|
|
226
|
+
readonly name: "shouldEnforce";
|
|
227
|
+
readonly type: "bool";
|
|
228
|
+
readonly indexed: false;
|
|
229
|
+
}];
|
|
230
|
+
readonly anonymous: false;
|
|
231
|
+
readonly type: "event";
|
|
232
|
+
}, {
|
|
233
|
+
readonly name: "AllowlistSet";
|
|
234
|
+
readonly inputs: readonly [{
|
|
235
|
+
readonly name: "undyVault";
|
|
236
|
+
readonly type: "address";
|
|
237
|
+
readonly indexed: true;
|
|
238
|
+
}, {
|
|
239
|
+
readonly name: "user";
|
|
240
|
+
readonly type: "address";
|
|
241
|
+
readonly indexed: true;
|
|
242
|
+
}, {
|
|
243
|
+
readonly name: "isAllowed";
|
|
244
|
+
readonly type: "bool";
|
|
245
|
+
readonly indexed: false;
|
|
135
246
|
}];
|
|
136
247
|
readonly anonymous: false;
|
|
137
248
|
readonly type: "event";
|
|
@@ -339,6 +450,89 @@ export declare const abi: readonly [{
|
|
|
339
450
|
}];
|
|
340
451
|
readonly anonymous: false;
|
|
341
452
|
readonly type: "event";
|
|
453
|
+
}, {
|
|
454
|
+
readonly name: "AddressDisablePending";
|
|
455
|
+
readonly inputs: readonly [{
|
|
456
|
+
readonly name: "regId";
|
|
457
|
+
readonly type: "uint256";
|
|
458
|
+
readonly indexed: false;
|
|
459
|
+
}, {
|
|
460
|
+
readonly name: "description";
|
|
461
|
+
readonly type: "string";
|
|
462
|
+
readonly indexed: false;
|
|
463
|
+
}, {
|
|
464
|
+
readonly name: "addr";
|
|
465
|
+
readonly type: "address";
|
|
466
|
+
readonly indexed: true;
|
|
467
|
+
}, {
|
|
468
|
+
readonly name: "version";
|
|
469
|
+
readonly type: "uint256";
|
|
470
|
+
readonly indexed: false;
|
|
471
|
+
}, {
|
|
472
|
+
readonly name: "confirmBlock";
|
|
473
|
+
readonly type: "uint256";
|
|
474
|
+
readonly indexed: false;
|
|
475
|
+
}, {
|
|
476
|
+
readonly name: "registry";
|
|
477
|
+
readonly type: "string";
|
|
478
|
+
readonly indexed: false;
|
|
479
|
+
}];
|
|
480
|
+
readonly anonymous: false;
|
|
481
|
+
readonly type: "event";
|
|
482
|
+
}, {
|
|
483
|
+
readonly name: "AddressDisableConfirmed";
|
|
484
|
+
readonly inputs: readonly [{
|
|
485
|
+
readonly name: "regId";
|
|
486
|
+
readonly type: "uint256";
|
|
487
|
+
readonly indexed: false;
|
|
488
|
+
}, {
|
|
489
|
+
readonly name: "description";
|
|
490
|
+
readonly type: "string";
|
|
491
|
+
readonly indexed: false;
|
|
492
|
+
}, {
|
|
493
|
+
readonly name: "addr";
|
|
494
|
+
readonly type: "address";
|
|
495
|
+
readonly indexed: true;
|
|
496
|
+
}, {
|
|
497
|
+
readonly name: "version";
|
|
498
|
+
readonly type: "uint256";
|
|
499
|
+
readonly indexed: false;
|
|
500
|
+
}, {
|
|
501
|
+
readonly name: "registry";
|
|
502
|
+
readonly type: "string";
|
|
503
|
+
readonly indexed: false;
|
|
504
|
+
}];
|
|
505
|
+
readonly anonymous: false;
|
|
506
|
+
readonly type: "event";
|
|
507
|
+
}, {
|
|
508
|
+
readonly name: "AddressDisableCancelled";
|
|
509
|
+
readonly inputs: readonly [{
|
|
510
|
+
readonly name: "regId";
|
|
511
|
+
readonly type: "uint256";
|
|
512
|
+
readonly indexed: false;
|
|
513
|
+
}, {
|
|
514
|
+
readonly name: "description";
|
|
515
|
+
readonly type: "string";
|
|
516
|
+
readonly indexed: false;
|
|
517
|
+
}, {
|
|
518
|
+
readonly name: "addr";
|
|
519
|
+
readonly type: "address";
|
|
520
|
+
readonly indexed: true;
|
|
521
|
+
}, {
|
|
522
|
+
readonly name: "initiatedBlock";
|
|
523
|
+
readonly type: "uint256";
|
|
524
|
+
readonly indexed: false;
|
|
525
|
+
}, {
|
|
526
|
+
readonly name: "confirmBlock";
|
|
527
|
+
readonly type: "uint256";
|
|
528
|
+
readonly indexed: false;
|
|
529
|
+
}, {
|
|
530
|
+
readonly name: "registry";
|
|
531
|
+
readonly type: "string";
|
|
532
|
+
readonly indexed: false;
|
|
533
|
+
}];
|
|
534
|
+
readonly anonymous: false;
|
|
535
|
+
readonly type: "event";
|
|
342
536
|
}, {
|
|
343
537
|
readonly stateMutability: "view";
|
|
344
538
|
readonly type: "function";
|
|
@@ -972,7 +1166,43 @@ export declare const abi: readonly [{
|
|
|
972
1166
|
readonly type: "function";
|
|
973
1167
|
readonly name: "isEarnVault";
|
|
974
1168
|
readonly inputs: readonly [{
|
|
975
|
-
readonly name: "
|
|
1169
|
+
readonly name: "_undyVaultAddr";
|
|
1170
|
+
readonly type: "address";
|
|
1171
|
+
}];
|
|
1172
|
+
readonly outputs: readonly [{
|
|
1173
|
+
readonly name: "";
|
|
1174
|
+
readonly type: "bool";
|
|
1175
|
+
}];
|
|
1176
|
+
}, {
|
|
1177
|
+
readonly stateMutability: "view";
|
|
1178
|
+
readonly type: "function";
|
|
1179
|
+
readonly name: "isLeveragedVault";
|
|
1180
|
+
readonly inputs: readonly [{
|
|
1181
|
+
readonly name: "_undyVaultAddr";
|
|
1182
|
+
readonly type: "address";
|
|
1183
|
+
}];
|
|
1184
|
+
readonly outputs: readonly [{
|
|
1185
|
+
readonly name: "";
|
|
1186
|
+
readonly type: "bool";
|
|
1187
|
+
}];
|
|
1188
|
+
}, {
|
|
1189
|
+
readonly stateMutability: "view";
|
|
1190
|
+
readonly type: "function";
|
|
1191
|
+
readonly name: "isBasicEarnVault";
|
|
1192
|
+
readonly inputs: readonly [{
|
|
1193
|
+
readonly name: "_undyVaultAddr";
|
|
1194
|
+
readonly type: "address";
|
|
1195
|
+
}];
|
|
1196
|
+
readonly outputs: readonly [{
|
|
1197
|
+
readonly name: "";
|
|
1198
|
+
readonly type: "bool";
|
|
1199
|
+
}];
|
|
1200
|
+
}, {
|
|
1201
|
+
readonly stateMutability: "view";
|
|
1202
|
+
readonly type: "function";
|
|
1203
|
+
readonly name: "hasConfig";
|
|
1204
|
+
readonly inputs: readonly [{
|
|
1205
|
+
readonly name: "_undyVaultAddr";
|
|
976
1206
|
readonly type: "address";
|
|
977
1207
|
}];
|
|
978
1208
|
readonly outputs: readonly [{
|
|
@@ -984,7 +1214,7 @@ export declare const abi: readonly [{
|
|
|
984
1214
|
readonly type: "function";
|
|
985
1215
|
readonly name: "startAddNewAddressToRegistry";
|
|
986
1216
|
readonly inputs: readonly [{
|
|
987
|
-
readonly name: "
|
|
1217
|
+
readonly name: "_undyVaultAddr";
|
|
988
1218
|
readonly type: "address";
|
|
989
1219
|
}, {
|
|
990
1220
|
readonly name: "_description";
|
|
@@ -999,8 +1229,41 @@ export declare const abi: readonly [{
|
|
|
999
1229
|
readonly type: "function";
|
|
1000
1230
|
readonly name: "confirmNewAddressToRegistry";
|
|
1001
1231
|
readonly inputs: readonly [{
|
|
1002
|
-
readonly name: "
|
|
1232
|
+
readonly name: "_undyVaultAddr";
|
|
1233
|
+
readonly type: "address";
|
|
1234
|
+
}];
|
|
1235
|
+
readonly outputs: readonly [{
|
|
1236
|
+
readonly name: "";
|
|
1237
|
+
readonly type: "uint256";
|
|
1238
|
+
}];
|
|
1239
|
+
}, {
|
|
1240
|
+
readonly stateMutability: "nonpayable";
|
|
1241
|
+
readonly type: "function";
|
|
1242
|
+
readonly name: "confirmNewAddressToRegistry";
|
|
1243
|
+
readonly inputs: readonly [{
|
|
1244
|
+
readonly name: "_undyVaultAddr";
|
|
1245
|
+
readonly type: "address";
|
|
1246
|
+
}, {
|
|
1247
|
+
readonly name: "_isLeveragedVault";
|
|
1248
|
+
readonly type: "bool";
|
|
1249
|
+
}];
|
|
1250
|
+
readonly outputs: readonly [{
|
|
1251
|
+
readonly name: "";
|
|
1252
|
+
readonly type: "uint256";
|
|
1253
|
+
}];
|
|
1254
|
+
}, {
|
|
1255
|
+
readonly stateMutability: "nonpayable";
|
|
1256
|
+
readonly type: "function";
|
|
1257
|
+
readonly name: "confirmNewAddressToRegistry";
|
|
1258
|
+
readonly inputs: readonly [{
|
|
1259
|
+
readonly name: "_undyVaultAddr";
|
|
1003
1260
|
readonly type: "address";
|
|
1261
|
+
}, {
|
|
1262
|
+
readonly name: "_isLeveragedVault";
|
|
1263
|
+
readonly type: "bool";
|
|
1264
|
+
}, {
|
|
1265
|
+
readonly name: "_shouldEnforceAllowlist";
|
|
1266
|
+
readonly type: "bool";
|
|
1004
1267
|
}];
|
|
1005
1268
|
readonly outputs: readonly [{
|
|
1006
1269
|
readonly name: "";
|
|
@@ -1011,8 +1274,14 @@ export declare const abi: readonly [{
|
|
|
1011
1274
|
readonly type: "function";
|
|
1012
1275
|
readonly name: "confirmNewAddressToRegistry";
|
|
1013
1276
|
readonly inputs: readonly [{
|
|
1014
|
-
readonly name: "
|
|
1277
|
+
readonly name: "_undyVaultAddr";
|
|
1015
1278
|
readonly type: "address";
|
|
1279
|
+
}, {
|
|
1280
|
+
readonly name: "_isLeveragedVault";
|
|
1281
|
+
readonly type: "bool";
|
|
1282
|
+
}, {
|
|
1283
|
+
readonly name: "_shouldEnforceAllowlist";
|
|
1284
|
+
readonly type: "bool";
|
|
1016
1285
|
}, {
|
|
1017
1286
|
readonly name: "_approvedVaultTokens";
|
|
1018
1287
|
readonly type: "address[]";
|
|
@@ -1026,8 +1295,14 @@ export declare const abi: readonly [{
|
|
|
1026
1295
|
readonly type: "function";
|
|
1027
1296
|
readonly name: "confirmNewAddressToRegistry";
|
|
1028
1297
|
readonly inputs: readonly [{
|
|
1029
|
-
readonly name: "
|
|
1298
|
+
readonly name: "_undyVaultAddr";
|
|
1030
1299
|
readonly type: "address";
|
|
1300
|
+
}, {
|
|
1301
|
+
readonly name: "_isLeveragedVault";
|
|
1302
|
+
readonly type: "bool";
|
|
1303
|
+
}, {
|
|
1304
|
+
readonly name: "_shouldEnforceAllowlist";
|
|
1305
|
+
readonly type: "bool";
|
|
1031
1306
|
}, {
|
|
1032
1307
|
readonly name: "_approvedVaultTokens";
|
|
1033
1308
|
readonly type: "address[]";
|
|
@@ -1044,8 +1319,14 @@ export declare const abi: readonly [{
|
|
|
1044
1319
|
readonly type: "function";
|
|
1045
1320
|
readonly name: "confirmNewAddressToRegistry";
|
|
1046
1321
|
readonly inputs: readonly [{
|
|
1047
|
-
readonly name: "
|
|
1322
|
+
readonly name: "_undyVaultAddr";
|
|
1048
1323
|
readonly type: "address";
|
|
1324
|
+
}, {
|
|
1325
|
+
readonly name: "_isLeveragedVault";
|
|
1326
|
+
readonly type: "bool";
|
|
1327
|
+
}, {
|
|
1328
|
+
readonly name: "_shouldEnforceAllowlist";
|
|
1329
|
+
readonly type: "bool";
|
|
1049
1330
|
}, {
|
|
1050
1331
|
readonly name: "_approvedVaultTokens";
|
|
1051
1332
|
readonly type: "address[]";
|
|
@@ -1065,8 +1346,14 @@ export declare const abi: readonly [{
|
|
|
1065
1346
|
readonly type: "function";
|
|
1066
1347
|
readonly name: "confirmNewAddressToRegistry";
|
|
1067
1348
|
readonly inputs: readonly [{
|
|
1068
|
-
readonly name: "
|
|
1349
|
+
readonly name: "_undyVaultAddr";
|
|
1069
1350
|
readonly type: "address";
|
|
1351
|
+
}, {
|
|
1352
|
+
readonly name: "_isLeveragedVault";
|
|
1353
|
+
readonly type: "bool";
|
|
1354
|
+
}, {
|
|
1355
|
+
readonly name: "_shouldEnforceAllowlist";
|
|
1356
|
+
readonly type: "bool";
|
|
1070
1357
|
}, {
|
|
1071
1358
|
readonly name: "_approvedVaultTokens";
|
|
1072
1359
|
readonly type: "address[]";
|
|
@@ -1089,8 +1376,14 @@ export declare const abi: readonly [{
|
|
|
1089
1376
|
readonly type: "function";
|
|
1090
1377
|
readonly name: "confirmNewAddressToRegistry";
|
|
1091
1378
|
readonly inputs: readonly [{
|
|
1092
|
-
readonly name: "
|
|
1379
|
+
readonly name: "_undyVaultAddr";
|
|
1093
1380
|
readonly type: "address";
|
|
1381
|
+
}, {
|
|
1382
|
+
readonly name: "_isLeveragedVault";
|
|
1383
|
+
readonly type: "bool";
|
|
1384
|
+
}, {
|
|
1385
|
+
readonly name: "_shouldEnforceAllowlist";
|
|
1386
|
+
readonly type: "bool";
|
|
1094
1387
|
}, {
|
|
1095
1388
|
readonly name: "_approvedVaultTokens";
|
|
1096
1389
|
readonly type: "address[]";
|
|
@@ -1116,8 +1409,14 @@ export declare const abi: readonly [{
|
|
|
1116
1409
|
readonly type: "function";
|
|
1117
1410
|
readonly name: "confirmNewAddressToRegistry";
|
|
1118
1411
|
readonly inputs: readonly [{
|
|
1119
|
-
readonly name: "
|
|
1412
|
+
readonly name: "_undyVaultAddr";
|
|
1120
1413
|
readonly type: "address";
|
|
1414
|
+
}, {
|
|
1415
|
+
readonly name: "_isLeveragedVault";
|
|
1416
|
+
readonly type: "bool";
|
|
1417
|
+
}, {
|
|
1418
|
+
readonly name: "_shouldEnforceAllowlist";
|
|
1419
|
+
readonly type: "bool";
|
|
1121
1420
|
}, {
|
|
1122
1421
|
readonly name: "_approvedVaultTokens";
|
|
1123
1422
|
readonly type: "address[]";
|
|
@@ -1146,11 +1445,17 @@ export declare const abi: readonly [{
|
|
|
1146
1445
|
readonly type: "function";
|
|
1147
1446
|
readonly name: "confirmNewAddressToRegistry";
|
|
1148
1447
|
readonly inputs: readonly [{
|
|
1149
|
-
readonly name: "
|
|
1448
|
+
readonly name: "_undyVaultAddr";
|
|
1150
1449
|
readonly type: "address";
|
|
1151
1450
|
}, {
|
|
1152
|
-
readonly name: "
|
|
1153
|
-
readonly type: "
|
|
1451
|
+
readonly name: "_isLeveragedVault";
|
|
1452
|
+
readonly type: "bool";
|
|
1453
|
+
}, {
|
|
1454
|
+
readonly name: "_shouldEnforceAllowlist";
|
|
1455
|
+
readonly type: "bool";
|
|
1456
|
+
}, {
|
|
1457
|
+
readonly name: "_approvedVaultTokens";
|
|
1458
|
+
readonly type: "address[]";
|
|
1154
1459
|
}, {
|
|
1155
1460
|
readonly name: "_maxDepositAmount";
|
|
1156
1461
|
readonly type: "uint256";
|
|
@@ -1179,8 +1484,14 @@ export declare const abi: readonly [{
|
|
|
1179
1484
|
readonly type: "function";
|
|
1180
1485
|
readonly name: "confirmNewAddressToRegistry";
|
|
1181
1486
|
readonly inputs: readonly [{
|
|
1182
|
-
readonly name: "
|
|
1487
|
+
readonly name: "_undyVaultAddr";
|
|
1183
1488
|
readonly type: "address";
|
|
1489
|
+
}, {
|
|
1490
|
+
readonly name: "_isLeveragedVault";
|
|
1491
|
+
readonly type: "bool";
|
|
1492
|
+
}, {
|
|
1493
|
+
readonly name: "_shouldEnforceAllowlist";
|
|
1494
|
+
readonly type: "bool";
|
|
1184
1495
|
}, {
|
|
1185
1496
|
readonly name: "_approvedVaultTokens";
|
|
1186
1497
|
readonly type: "address[]";
|
|
@@ -1215,8 +1526,14 @@ export declare const abi: readonly [{
|
|
|
1215
1526
|
readonly type: "function";
|
|
1216
1527
|
readonly name: "confirmNewAddressToRegistry";
|
|
1217
1528
|
readonly inputs: readonly [{
|
|
1218
|
-
readonly name: "
|
|
1529
|
+
readonly name: "_undyVaultAddr";
|
|
1219
1530
|
readonly type: "address";
|
|
1531
|
+
}, {
|
|
1532
|
+
readonly name: "_isLeveragedVault";
|
|
1533
|
+
readonly type: "bool";
|
|
1534
|
+
}, {
|
|
1535
|
+
readonly name: "_shouldEnforceAllowlist";
|
|
1536
|
+
readonly type: "bool";
|
|
1220
1537
|
}, {
|
|
1221
1538
|
readonly name: "_approvedVaultTokens";
|
|
1222
1539
|
readonly type: "address[]";
|
|
@@ -1254,8 +1571,14 @@ export declare const abi: readonly [{
|
|
|
1254
1571
|
readonly type: "function";
|
|
1255
1572
|
readonly name: "confirmNewAddressToRegistry";
|
|
1256
1573
|
readonly inputs: readonly [{
|
|
1257
|
-
readonly name: "
|
|
1574
|
+
readonly name: "_undyVaultAddr";
|
|
1258
1575
|
readonly type: "address";
|
|
1576
|
+
}, {
|
|
1577
|
+
readonly name: "_isLeveragedVault";
|
|
1578
|
+
readonly type: "bool";
|
|
1579
|
+
}, {
|
|
1580
|
+
readonly name: "_shouldEnforceAllowlist";
|
|
1581
|
+
readonly type: "bool";
|
|
1259
1582
|
}, {
|
|
1260
1583
|
readonly name: "_approvedVaultTokens";
|
|
1261
1584
|
readonly type: "address[]";
|
|
@@ -1296,19 +1619,55 @@ export declare const abi: readonly [{
|
|
|
1296
1619
|
readonly type: "function";
|
|
1297
1620
|
readonly name: "cancelNewAddressToRegistry";
|
|
1298
1621
|
readonly inputs: readonly [{
|
|
1299
|
-
readonly name: "
|
|
1622
|
+
readonly name: "_undyVaultAddr";
|
|
1300
1623
|
readonly type: "address";
|
|
1301
1624
|
}];
|
|
1302
1625
|
readonly outputs: readonly [{
|
|
1303
1626
|
readonly name: "";
|
|
1304
1627
|
readonly type: "bool";
|
|
1305
1628
|
}];
|
|
1629
|
+
}, {
|
|
1630
|
+
readonly stateMutability: "nonpayable";
|
|
1631
|
+
readonly type: "function";
|
|
1632
|
+
readonly name: "startAddressDisableInRegistry";
|
|
1633
|
+
readonly inputs: readonly [{
|
|
1634
|
+
readonly name: "_regId";
|
|
1635
|
+
readonly type: "uint256";
|
|
1636
|
+
}];
|
|
1637
|
+
readonly outputs: readonly [{
|
|
1638
|
+
readonly name: "";
|
|
1639
|
+
readonly type: "bool";
|
|
1640
|
+
}];
|
|
1641
|
+
}, {
|
|
1642
|
+
readonly stateMutability: "nonpayable";
|
|
1643
|
+
readonly type: "function";
|
|
1644
|
+
readonly name: "confirmAddressDisableInRegistry";
|
|
1645
|
+
readonly inputs: readonly [{
|
|
1646
|
+
readonly name: "_regId";
|
|
1647
|
+
readonly type: "uint256";
|
|
1648
|
+
}];
|
|
1649
|
+
readonly outputs: readonly [{
|
|
1650
|
+
readonly name: "";
|
|
1651
|
+
readonly type: "bool";
|
|
1652
|
+
}];
|
|
1653
|
+
}, {
|
|
1654
|
+
readonly stateMutability: "nonpayable";
|
|
1655
|
+
readonly type: "function";
|
|
1656
|
+
readonly name: "cancelAddressDisableInRegistry";
|
|
1657
|
+
readonly inputs: readonly [{
|
|
1658
|
+
readonly name: "_regId";
|
|
1659
|
+
readonly type: "uint256";
|
|
1660
|
+
}];
|
|
1661
|
+
readonly outputs: readonly [{
|
|
1662
|
+
readonly name: "";
|
|
1663
|
+
readonly type: "bool";
|
|
1664
|
+
}];
|
|
1306
1665
|
}, {
|
|
1307
1666
|
readonly stateMutability: "nonpayable";
|
|
1308
1667
|
readonly type: "function";
|
|
1309
1668
|
readonly name: "setCanDeposit";
|
|
1310
1669
|
readonly inputs: readonly [{
|
|
1311
|
-
readonly name: "
|
|
1670
|
+
readonly name: "_undyVaultAddr";
|
|
1312
1671
|
readonly type: "address";
|
|
1313
1672
|
}, {
|
|
1314
1673
|
readonly name: "_canDeposit";
|
|
@@ -1320,7 +1679,7 @@ export declare const abi: readonly [{
|
|
|
1320
1679
|
readonly type: "function";
|
|
1321
1680
|
readonly name: "setCanWithdraw";
|
|
1322
1681
|
readonly inputs: readonly [{
|
|
1323
|
-
readonly name: "
|
|
1682
|
+
readonly name: "_undyVaultAddr";
|
|
1324
1683
|
readonly type: "address";
|
|
1325
1684
|
}, {
|
|
1326
1685
|
readonly name: "_canWithdraw";
|
|
@@ -1332,7 +1691,7 @@ export declare const abi: readonly [{
|
|
|
1332
1691
|
readonly type: "function";
|
|
1333
1692
|
readonly name: "setMaxDepositAmount";
|
|
1334
1693
|
readonly inputs: readonly [{
|
|
1335
|
-
readonly name: "
|
|
1694
|
+
readonly name: "_undyVaultAddr";
|
|
1336
1695
|
readonly type: "address";
|
|
1337
1696
|
}, {
|
|
1338
1697
|
readonly name: "_maxDepositAmount";
|
|
@@ -1344,7 +1703,7 @@ export declare const abi: readonly [{
|
|
|
1344
1703
|
readonly type: "function";
|
|
1345
1704
|
readonly name: "setVaultOpsFrozen";
|
|
1346
1705
|
readonly inputs: readonly [{
|
|
1347
|
-
readonly name: "
|
|
1706
|
+
readonly name: "_undyVaultAddr";
|
|
1348
1707
|
readonly type: "address";
|
|
1349
1708
|
}, {
|
|
1350
1709
|
readonly name: "_isFrozen";
|
|
@@ -1356,7 +1715,7 @@ export declare const abi: readonly [{
|
|
|
1356
1715
|
readonly type: "function";
|
|
1357
1716
|
readonly name: "setShouldAutoDeposit";
|
|
1358
1717
|
readonly inputs: readonly [{
|
|
1359
|
-
readonly name: "
|
|
1718
|
+
readonly name: "_undyVaultAddr";
|
|
1360
1719
|
readonly type: "address";
|
|
1361
1720
|
}, {
|
|
1362
1721
|
readonly name: "_shouldAutoDeposit";
|
|
@@ -1368,7 +1727,7 @@ export declare const abi: readonly [{
|
|
|
1368
1727
|
readonly type: "function";
|
|
1369
1728
|
readonly name: "setMinYieldWithdrawAmount";
|
|
1370
1729
|
readonly inputs: readonly [{
|
|
1371
|
-
readonly name: "
|
|
1730
|
+
readonly name: "_undyVaultAddr";
|
|
1372
1731
|
readonly type: "address";
|
|
1373
1732
|
}, {
|
|
1374
1733
|
readonly name: "_amount";
|
|
@@ -1378,36 +1737,63 @@ export declare const abi: readonly [{
|
|
|
1378
1737
|
}, {
|
|
1379
1738
|
readonly stateMutability: "nonpayable";
|
|
1380
1739
|
readonly type: "function";
|
|
1381
|
-
readonly name: "
|
|
1740
|
+
readonly name: "setIsLeveragedVault";
|
|
1382
1741
|
readonly inputs: readonly [{
|
|
1383
|
-
readonly name: "
|
|
1742
|
+
readonly name: "_undyVaultAddr";
|
|
1384
1743
|
readonly type: "address";
|
|
1385
1744
|
}, {
|
|
1386
|
-
readonly name: "
|
|
1745
|
+
readonly name: "_isLeveragedVault";
|
|
1746
|
+
readonly type: "bool";
|
|
1747
|
+
}];
|
|
1748
|
+
readonly outputs: readonly [];
|
|
1749
|
+
}, {
|
|
1750
|
+
readonly stateMutability: "nonpayable";
|
|
1751
|
+
readonly type: "function";
|
|
1752
|
+
readonly name: "setShouldEnforceAllowlist";
|
|
1753
|
+
readonly inputs: readonly [{
|
|
1754
|
+
readonly name: "_undyVaultAddr";
|
|
1387
1755
|
readonly type: "address";
|
|
1388
1756
|
}, {
|
|
1389
|
-
readonly name: "
|
|
1757
|
+
readonly name: "_shouldEnforce";
|
|
1390
1758
|
readonly type: "bool";
|
|
1391
1759
|
}];
|
|
1392
1760
|
readonly outputs: readonly [];
|
|
1393
1761
|
}, {
|
|
1394
|
-
readonly stateMutability: "
|
|
1762
|
+
readonly stateMutability: "nonpayable";
|
|
1395
1763
|
readonly type: "function";
|
|
1396
|
-
readonly name: "
|
|
1764
|
+
readonly name: "setAllowed";
|
|
1397
1765
|
readonly inputs: readonly [{
|
|
1398
|
-
readonly name: "
|
|
1766
|
+
readonly name: "_undyVaultAddr";
|
|
1399
1767
|
readonly type: "address";
|
|
1768
|
+
}, {
|
|
1769
|
+
readonly name: "_user";
|
|
1770
|
+
readonly type: "address";
|
|
1771
|
+
}, {
|
|
1772
|
+
readonly name: "_isAllowed";
|
|
1773
|
+
readonly type: "bool";
|
|
1400
1774
|
}];
|
|
1401
|
-
readonly outputs: readonly [
|
|
1402
|
-
|
|
1775
|
+
readonly outputs: readonly [];
|
|
1776
|
+
}, {
|
|
1777
|
+
readonly stateMutability: "nonpayable";
|
|
1778
|
+
readonly type: "function";
|
|
1779
|
+
readonly name: "setAllowedBatch";
|
|
1780
|
+
readonly inputs: readonly [{
|
|
1781
|
+
readonly name: "_undyVaultAddr";
|
|
1782
|
+
readonly type: "address";
|
|
1783
|
+
}, {
|
|
1784
|
+
readonly name: "_users";
|
|
1785
|
+
readonly type: "address[]";
|
|
1786
|
+
}, {
|
|
1787
|
+
readonly name: "_isAllowed";
|
|
1403
1788
|
readonly type: "bool";
|
|
1404
1789
|
}];
|
|
1790
|
+
readonly outputs: readonly [];
|
|
1405
1791
|
}, {
|
|
1406
1792
|
readonly stateMutability: "nonpayable";
|
|
1407
1793
|
readonly type: "function";
|
|
1408
1794
|
readonly name: "setDefaultTargetVaultToken";
|
|
1409
1795
|
readonly inputs: readonly [{
|
|
1410
|
-
readonly name: "
|
|
1796
|
+
readonly name: "_undyVaultAddr";
|
|
1411
1797
|
readonly type: "address";
|
|
1412
1798
|
}, {
|
|
1413
1799
|
readonly name: "_targetVaultToken";
|
|
@@ -1419,7 +1805,7 @@ export declare const abi: readonly [{
|
|
|
1419
1805
|
readonly type: "function";
|
|
1420
1806
|
readonly name: "isValidDefaultTargetVaultToken";
|
|
1421
1807
|
readonly inputs: readonly [{
|
|
1422
|
-
readonly name: "
|
|
1808
|
+
readonly name: "_undyVaultAddr";
|
|
1423
1809
|
readonly type: "address";
|
|
1424
1810
|
}, {
|
|
1425
1811
|
readonly name: "_targetVaultToken";
|
|
@@ -1434,7 +1820,7 @@ export declare const abi: readonly [{
|
|
|
1434
1820
|
readonly type: "function";
|
|
1435
1821
|
readonly name: "setPerformanceFee";
|
|
1436
1822
|
readonly inputs: readonly [{
|
|
1437
|
-
readonly name: "
|
|
1823
|
+
readonly name: "_undyVaultAddr";
|
|
1438
1824
|
readonly type: "address";
|
|
1439
1825
|
}, {
|
|
1440
1826
|
readonly name: "_performanceFee";
|
|
@@ -1458,7 +1844,7 @@ export declare const abi: readonly [{
|
|
|
1458
1844
|
readonly type: "function";
|
|
1459
1845
|
readonly name: "setRedemptionBuffer";
|
|
1460
1846
|
readonly inputs: readonly [{
|
|
1461
|
-
readonly name: "
|
|
1847
|
+
readonly name: "_undyVaultAddr";
|
|
1462
1848
|
readonly type: "address";
|
|
1463
1849
|
}, {
|
|
1464
1850
|
readonly name: "_buffer";
|
|
@@ -1477,12 +1863,111 @@ export declare const abi: readonly [{
|
|
|
1477
1863
|
readonly name: "";
|
|
1478
1864
|
readonly type: "bool";
|
|
1479
1865
|
}];
|
|
1866
|
+
}, {
|
|
1867
|
+
readonly stateMutability: "nonpayable";
|
|
1868
|
+
readonly type: "function";
|
|
1869
|
+
readonly name: "setApprovedVaultToken";
|
|
1870
|
+
readonly inputs: readonly [{
|
|
1871
|
+
readonly name: "_undyVaultAddr";
|
|
1872
|
+
readonly type: "address";
|
|
1873
|
+
}, {
|
|
1874
|
+
readonly name: "_vaultToken";
|
|
1875
|
+
readonly type: "address";
|
|
1876
|
+
}, {
|
|
1877
|
+
readonly name: "_isApproved";
|
|
1878
|
+
readonly type: "bool";
|
|
1879
|
+
}, {
|
|
1880
|
+
readonly name: "_shouldMaxWithdraw";
|
|
1881
|
+
readonly type: "bool";
|
|
1882
|
+
}];
|
|
1883
|
+
readonly outputs: readonly [];
|
|
1884
|
+
}, {
|
|
1885
|
+
readonly stateMutability: "nonpayable";
|
|
1886
|
+
readonly type: "function";
|
|
1887
|
+
readonly name: "setApprovedVaultTokens";
|
|
1888
|
+
readonly inputs: readonly [{
|
|
1889
|
+
readonly name: "_undyVaultAddr";
|
|
1890
|
+
readonly type: "address";
|
|
1891
|
+
}, {
|
|
1892
|
+
readonly name: "_vaultTokens";
|
|
1893
|
+
readonly type: "address[]";
|
|
1894
|
+
}, {
|
|
1895
|
+
readonly name: "_isApproved";
|
|
1896
|
+
readonly type: "bool";
|
|
1897
|
+
}, {
|
|
1898
|
+
readonly name: "_shouldMaxWithdraw";
|
|
1899
|
+
readonly type: "bool";
|
|
1900
|
+
}];
|
|
1901
|
+
readonly outputs: readonly [];
|
|
1902
|
+
}, {
|
|
1903
|
+
readonly stateMutability: "view";
|
|
1904
|
+
readonly type: "function";
|
|
1905
|
+
readonly name: "getApprovedVaultTokens";
|
|
1906
|
+
readonly inputs: readonly [{
|
|
1907
|
+
readonly name: "_undyVaultAddr";
|
|
1908
|
+
readonly type: "address";
|
|
1909
|
+
}];
|
|
1910
|
+
readonly outputs: readonly [{
|
|
1911
|
+
readonly name: "";
|
|
1912
|
+
readonly type: "address[]";
|
|
1913
|
+
}];
|
|
1914
|
+
}, {
|
|
1915
|
+
readonly stateMutability: "view";
|
|
1916
|
+
readonly type: "function";
|
|
1917
|
+
readonly name: "getAssetVaultTokens";
|
|
1918
|
+
readonly inputs: readonly [{
|
|
1919
|
+
readonly name: "_asset";
|
|
1920
|
+
readonly type: "address";
|
|
1921
|
+
}];
|
|
1922
|
+
readonly outputs: readonly [{
|
|
1923
|
+
readonly name: "";
|
|
1924
|
+
readonly type: "address[]";
|
|
1925
|
+
}];
|
|
1926
|
+
}, {
|
|
1927
|
+
readonly stateMutability: "view";
|
|
1928
|
+
readonly type: "function";
|
|
1929
|
+
readonly name: "getNumApprovedVaultTokens";
|
|
1930
|
+
readonly inputs: readonly [{
|
|
1931
|
+
readonly name: "_undyVaultAddr";
|
|
1932
|
+
readonly type: "address";
|
|
1933
|
+
}];
|
|
1934
|
+
readonly outputs: readonly [{
|
|
1935
|
+
readonly name: "";
|
|
1936
|
+
readonly type: "uint256";
|
|
1937
|
+
}];
|
|
1938
|
+
}, {
|
|
1939
|
+
readonly stateMutability: "view";
|
|
1940
|
+
readonly type: "function";
|
|
1941
|
+
readonly name: "getNumAssetVaultTokens";
|
|
1942
|
+
readonly inputs: readonly [{
|
|
1943
|
+
readonly name: "_asset";
|
|
1944
|
+
readonly type: "address";
|
|
1945
|
+
}];
|
|
1946
|
+
readonly outputs: readonly [{
|
|
1947
|
+
readonly name: "";
|
|
1948
|
+
readonly type: "uint256";
|
|
1949
|
+
}];
|
|
1950
|
+
}, {
|
|
1951
|
+
readonly stateMutability: "view";
|
|
1952
|
+
readonly type: "function";
|
|
1953
|
+
readonly name: "isApprovedVaultTokenForAsset";
|
|
1954
|
+
readonly inputs: readonly [{
|
|
1955
|
+
readonly name: "_underlyingAsset";
|
|
1956
|
+
readonly type: "address";
|
|
1957
|
+
}, {
|
|
1958
|
+
readonly name: "_vaultToken";
|
|
1959
|
+
readonly type: "address";
|
|
1960
|
+
}];
|
|
1961
|
+
readonly outputs: readonly [{
|
|
1962
|
+
readonly name: "";
|
|
1963
|
+
readonly type: "bool";
|
|
1964
|
+
}];
|
|
1480
1965
|
}, {
|
|
1481
1966
|
readonly stateMutability: "view";
|
|
1482
1967
|
readonly type: "function";
|
|
1483
1968
|
readonly name: "canDeposit";
|
|
1484
1969
|
readonly inputs: readonly [{
|
|
1485
|
-
readonly name: "
|
|
1970
|
+
readonly name: "_undyVaultAddr";
|
|
1486
1971
|
readonly type: "address";
|
|
1487
1972
|
}];
|
|
1488
1973
|
readonly outputs: readonly [{
|
|
@@ -1494,7 +1979,7 @@ export declare const abi: readonly [{
|
|
|
1494
1979
|
readonly type: "function";
|
|
1495
1980
|
readonly name: "canWithdraw";
|
|
1496
1981
|
readonly inputs: readonly [{
|
|
1497
|
-
readonly name: "
|
|
1982
|
+
readonly name: "_undyVaultAddr";
|
|
1498
1983
|
readonly type: "address";
|
|
1499
1984
|
}];
|
|
1500
1985
|
readonly outputs: readonly [{
|
|
@@ -1506,7 +1991,7 @@ export declare const abi: readonly [{
|
|
|
1506
1991
|
readonly type: "function";
|
|
1507
1992
|
readonly name: "maxDepositAmount";
|
|
1508
1993
|
readonly inputs: readonly [{
|
|
1509
|
-
readonly name: "
|
|
1994
|
+
readonly name: "_undyVaultAddr";
|
|
1510
1995
|
readonly type: "address";
|
|
1511
1996
|
}];
|
|
1512
1997
|
readonly outputs: readonly [{
|
|
@@ -1518,7 +2003,7 @@ export declare const abi: readonly [{
|
|
|
1518
2003
|
readonly type: "function";
|
|
1519
2004
|
readonly name: "isVaultOpsFrozen";
|
|
1520
2005
|
readonly inputs: readonly [{
|
|
1521
|
-
readonly name: "
|
|
2006
|
+
readonly name: "_undyVaultAddr";
|
|
1522
2007
|
readonly type: "address";
|
|
1523
2008
|
}];
|
|
1524
2009
|
readonly outputs: readonly [{
|
|
@@ -1530,7 +2015,7 @@ export declare const abi: readonly [{
|
|
|
1530
2015
|
readonly type: "function";
|
|
1531
2016
|
readonly name: "redemptionBuffer";
|
|
1532
2017
|
readonly inputs: readonly [{
|
|
1533
|
-
readonly name: "
|
|
2018
|
+
readonly name: "_undyVaultAddr";
|
|
1534
2019
|
readonly type: "address";
|
|
1535
2020
|
}];
|
|
1536
2021
|
readonly outputs: readonly [{
|
|
@@ -1542,7 +2027,7 @@ export declare const abi: readonly [{
|
|
|
1542
2027
|
readonly type: "function";
|
|
1543
2028
|
readonly name: "minYieldWithdrawAmount";
|
|
1544
2029
|
readonly inputs: readonly [{
|
|
1545
|
-
readonly name: "
|
|
2030
|
+
readonly name: "_undyVaultAddr";
|
|
1546
2031
|
readonly type: "address";
|
|
1547
2032
|
}];
|
|
1548
2033
|
readonly outputs: readonly [{
|
|
@@ -1554,7 +2039,7 @@ export declare const abi: readonly [{
|
|
|
1554
2039
|
readonly type: "function";
|
|
1555
2040
|
readonly name: "redemptionConfig";
|
|
1556
2041
|
readonly inputs: readonly [{
|
|
1557
|
-
readonly name: "
|
|
2042
|
+
readonly name: "_undyVaultAddr";
|
|
1558
2043
|
readonly type: "address";
|
|
1559
2044
|
}];
|
|
1560
2045
|
readonly outputs: readonly [{
|
|
@@ -1569,7 +2054,7 @@ export declare const abi: readonly [{
|
|
|
1569
2054
|
readonly type: "function";
|
|
1570
2055
|
readonly name: "getPerformanceFee";
|
|
1571
2056
|
readonly inputs: readonly [{
|
|
1572
|
-
readonly name: "
|
|
2057
|
+
readonly name: "_undyVaultAddr";
|
|
1573
2058
|
readonly type: "address";
|
|
1574
2059
|
}];
|
|
1575
2060
|
readonly outputs: readonly [{
|
|
@@ -1581,7 +2066,7 @@ export declare const abi: readonly [{
|
|
|
1581
2066
|
readonly type: "function";
|
|
1582
2067
|
readonly name: "getDefaultTargetVaultToken";
|
|
1583
2068
|
readonly inputs: readonly [{
|
|
1584
|
-
readonly name: "
|
|
2069
|
+
readonly name: "_undyVaultAddr";
|
|
1585
2070
|
readonly type: "address";
|
|
1586
2071
|
}];
|
|
1587
2072
|
readonly outputs: readonly [{
|
|
@@ -1593,7 +2078,34 @@ export declare const abi: readonly [{
|
|
|
1593
2078
|
readonly type: "function";
|
|
1594
2079
|
readonly name: "shouldAutoDeposit";
|
|
1595
2080
|
readonly inputs: readonly [{
|
|
1596
|
-
readonly name: "
|
|
2081
|
+
readonly name: "_undyVaultAddr";
|
|
2082
|
+
readonly type: "address";
|
|
2083
|
+
}];
|
|
2084
|
+
readonly outputs: readonly [{
|
|
2085
|
+
readonly name: "";
|
|
2086
|
+
readonly type: "bool";
|
|
2087
|
+
}];
|
|
2088
|
+
}, {
|
|
2089
|
+
readonly stateMutability: "view";
|
|
2090
|
+
readonly type: "function";
|
|
2091
|
+
readonly name: "shouldEnforceAllowlist";
|
|
2092
|
+
readonly inputs: readonly [{
|
|
2093
|
+
readonly name: "_undyVaultAddr";
|
|
2094
|
+
readonly type: "address";
|
|
2095
|
+
}];
|
|
2096
|
+
readonly outputs: readonly [{
|
|
2097
|
+
readonly name: "";
|
|
2098
|
+
readonly type: "bool";
|
|
2099
|
+
}];
|
|
2100
|
+
}, {
|
|
2101
|
+
readonly stateMutability: "view";
|
|
2102
|
+
readonly type: "function";
|
|
2103
|
+
readonly name: "isUserAllowed";
|
|
2104
|
+
readonly inputs: readonly [{
|
|
2105
|
+
readonly name: "_undyVaultAddr";
|
|
2106
|
+
readonly type: "address";
|
|
2107
|
+
}, {
|
|
2108
|
+
readonly name: "_userAddr";
|
|
1597
2109
|
readonly type: "address";
|
|
1598
2110
|
}];
|
|
1599
2111
|
readonly outputs: readonly [{
|
|
@@ -1605,7 +2117,7 @@ export declare const abi: readonly [{
|
|
|
1605
2117
|
readonly type: "function";
|
|
1606
2118
|
readonly name: "isApprovedVaultTokenByAddr";
|
|
1607
2119
|
readonly inputs: readonly [{
|
|
1608
|
-
readonly name: "
|
|
2120
|
+
readonly name: "_undyVaultAddr";
|
|
1609
2121
|
readonly type: "address";
|
|
1610
2122
|
}, {
|
|
1611
2123
|
readonly name: "_vaultToken";
|
|
@@ -1620,7 +2132,7 @@ export declare const abi: readonly [{
|
|
|
1620
2132
|
readonly type: "function";
|
|
1621
2133
|
readonly name: "checkVaultApprovals";
|
|
1622
2134
|
readonly inputs: readonly [{
|
|
1623
|
-
readonly name: "
|
|
2135
|
+
readonly name: "_undyVaultAddr";
|
|
1624
2136
|
readonly type: "address";
|
|
1625
2137
|
}, {
|
|
1626
2138
|
readonly name: "_vaultToken";
|
|
@@ -1668,6 +2180,12 @@ export declare const abi: readonly [{
|
|
|
1668
2180
|
}, {
|
|
1669
2181
|
readonly name: "defaultTargetVaultToken";
|
|
1670
2182
|
readonly type: "address";
|
|
2183
|
+
}, {
|
|
2184
|
+
readonly name: "isLeveragedVault";
|
|
2185
|
+
readonly type: "bool";
|
|
2186
|
+
}, {
|
|
2187
|
+
readonly name: "shouldEnforceAllowlist";
|
|
2188
|
+
readonly type: "bool";
|
|
1671
2189
|
}];
|
|
1672
2190
|
}];
|
|
1673
2191
|
}, {
|
|
@@ -1675,7 +2193,7 @@ export declare const abi: readonly [{
|
|
|
1675
2193
|
readonly type: "function";
|
|
1676
2194
|
readonly name: "getVaultConfigByAddr";
|
|
1677
2195
|
readonly inputs: readonly [{
|
|
1678
|
-
readonly name: "
|
|
2196
|
+
readonly name: "_undyVaultAddr";
|
|
1679
2197
|
readonly type: "address";
|
|
1680
2198
|
}];
|
|
1681
2199
|
readonly outputs: readonly [{
|
|
@@ -1708,6 +2226,12 @@ export declare const abi: readonly [{
|
|
|
1708
2226
|
}, {
|
|
1709
2227
|
readonly name: "defaultTargetVaultToken";
|
|
1710
2228
|
readonly type: "address";
|
|
2229
|
+
}, {
|
|
2230
|
+
readonly name: "isLeveragedVault";
|
|
2231
|
+
readonly type: "bool";
|
|
2232
|
+
}, {
|
|
2233
|
+
readonly name: "shouldEnforceAllowlist";
|
|
2234
|
+
readonly type: "bool";
|
|
1711
2235
|
}];
|
|
1712
2236
|
}];
|
|
1713
2237
|
}, {
|
|
@@ -1764,7 +2288,7 @@ export declare const abi: readonly [{
|
|
|
1764
2288
|
readonly name: "_signer";
|
|
1765
2289
|
readonly type: "address";
|
|
1766
2290
|
}, {
|
|
1767
|
-
readonly name: "
|
|
2291
|
+
readonly name: "_undyVaultAddr";
|
|
1768
2292
|
readonly type: "address";
|
|
1769
2293
|
}];
|
|
1770
2294
|
readonly outputs: readonly [{
|
|
@@ -1834,7 +2358,31 @@ export declare const abi: readonly [{
|
|
|
1834
2358
|
readonly type: "function";
|
|
1835
2359
|
readonly name: "getDepositConfig";
|
|
1836
2360
|
readonly inputs: readonly [{
|
|
1837
|
-
readonly name: "
|
|
2361
|
+
readonly name: "_undyVaultAddr";
|
|
2362
|
+
readonly type: "address";
|
|
2363
|
+
}];
|
|
2364
|
+
readonly outputs: readonly [{
|
|
2365
|
+
readonly name: "";
|
|
2366
|
+
readonly type: "bool";
|
|
2367
|
+
}, {
|
|
2368
|
+
readonly name: "";
|
|
2369
|
+
readonly type: "uint256";
|
|
2370
|
+
}, {
|
|
2371
|
+
readonly name: "";
|
|
2372
|
+
readonly type: "bool";
|
|
2373
|
+
}, {
|
|
2374
|
+
readonly name: "";
|
|
2375
|
+
readonly type: "address";
|
|
2376
|
+
}];
|
|
2377
|
+
}, {
|
|
2378
|
+
readonly stateMutability: "view";
|
|
2379
|
+
readonly type: "function";
|
|
2380
|
+
readonly name: "getDepositConfig";
|
|
2381
|
+
readonly inputs: readonly [{
|
|
2382
|
+
readonly name: "_undyVaultAddr";
|
|
2383
|
+
readonly type: "address";
|
|
2384
|
+
}, {
|
|
2385
|
+
readonly name: "_user";
|
|
1838
2386
|
readonly type: "address";
|
|
1839
2387
|
}];
|
|
1840
2388
|
readonly outputs: readonly [{
|
|
@@ -1850,6 +2398,33 @@ export declare const abi: readonly [{
|
|
|
1850
2398
|
readonly name: "";
|
|
1851
2399
|
readonly type: "address";
|
|
1852
2400
|
}];
|
|
2401
|
+
}, {
|
|
2402
|
+
readonly stateMutability: "view";
|
|
2403
|
+
readonly type: "function";
|
|
2404
|
+
readonly name: "canUserDeposit";
|
|
2405
|
+
readonly inputs: readonly [{
|
|
2406
|
+
readonly name: "_undyVaultAddr";
|
|
2407
|
+
readonly type: "address";
|
|
2408
|
+
}];
|
|
2409
|
+
readonly outputs: readonly [{
|
|
2410
|
+
readonly name: "";
|
|
2411
|
+
readonly type: "bool";
|
|
2412
|
+
}];
|
|
2413
|
+
}, {
|
|
2414
|
+
readonly stateMutability: "view";
|
|
2415
|
+
readonly type: "function";
|
|
2416
|
+
readonly name: "canUserDeposit";
|
|
2417
|
+
readonly inputs: readonly [{
|
|
2418
|
+
readonly name: "_undyVaultAddr";
|
|
2419
|
+
readonly type: "address";
|
|
2420
|
+
}, {
|
|
2421
|
+
readonly name: "_user";
|
|
2422
|
+
readonly type: "address";
|
|
2423
|
+
}];
|
|
2424
|
+
readonly outputs: readonly [{
|
|
2425
|
+
readonly name: "";
|
|
2426
|
+
readonly type: "bool";
|
|
2427
|
+
}];
|
|
1853
2428
|
}, {
|
|
1854
2429
|
readonly stateMutability: "view";
|
|
1855
2430
|
readonly type: "function";
|
|
@@ -1888,6 +2463,12 @@ export declare const abi: readonly [{
|
|
|
1888
2463
|
}, {
|
|
1889
2464
|
readonly name: "defaultTargetVaultToken";
|
|
1890
2465
|
readonly type: "address";
|
|
2466
|
+
}, {
|
|
2467
|
+
readonly name: "isLeveragedVault";
|
|
2468
|
+
readonly type: "bool";
|
|
2469
|
+
}, {
|
|
2470
|
+
readonly name: "shouldEnforceAllowlist";
|
|
2471
|
+
readonly type: "bool";
|
|
1891
2472
|
}];
|
|
1892
2473
|
}];
|
|
1893
2474
|
}, {
|
|
@@ -1905,6 +2486,120 @@ export declare const abi: readonly [{
|
|
|
1905
2486
|
readonly name: "";
|
|
1906
2487
|
readonly type: "bool";
|
|
1907
2488
|
}];
|
|
2489
|
+
}, {
|
|
2490
|
+
readonly stateMutability: "view";
|
|
2491
|
+
readonly type: "function";
|
|
2492
|
+
readonly name: "approvedVaultTokens";
|
|
2493
|
+
readonly inputs: readonly [{
|
|
2494
|
+
readonly name: "arg0";
|
|
2495
|
+
readonly type: "address";
|
|
2496
|
+
}, {
|
|
2497
|
+
readonly name: "arg1";
|
|
2498
|
+
readonly type: "uint256";
|
|
2499
|
+
}];
|
|
2500
|
+
readonly outputs: readonly [{
|
|
2501
|
+
readonly name: "";
|
|
2502
|
+
readonly type: "address";
|
|
2503
|
+
}];
|
|
2504
|
+
}, {
|
|
2505
|
+
readonly stateMutability: "view";
|
|
2506
|
+
readonly type: "function";
|
|
2507
|
+
readonly name: "indexOfApprovedVaultToken";
|
|
2508
|
+
readonly inputs: readonly [{
|
|
2509
|
+
readonly name: "arg0";
|
|
2510
|
+
readonly type: "address";
|
|
2511
|
+
}, {
|
|
2512
|
+
readonly name: "arg1";
|
|
2513
|
+
readonly type: "address";
|
|
2514
|
+
}];
|
|
2515
|
+
readonly outputs: readonly [{
|
|
2516
|
+
readonly name: "";
|
|
2517
|
+
readonly type: "uint256";
|
|
2518
|
+
}];
|
|
2519
|
+
}, {
|
|
2520
|
+
readonly stateMutability: "view";
|
|
2521
|
+
readonly type: "function";
|
|
2522
|
+
readonly name: "numApprovedVaultTokens";
|
|
2523
|
+
readonly inputs: readonly [{
|
|
2524
|
+
readonly name: "arg0";
|
|
2525
|
+
readonly type: "address";
|
|
2526
|
+
}];
|
|
2527
|
+
readonly outputs: readonly [{
|
|
2528
|
+
readonly name: "";
|
|
2529
|
+
readonly type: "uint256";
|
|
2530
|
+
}];
|
|
2531
|
+
}, {
|
|
2532
|
+
readonly stateMutability: "view";
|
|
2533
|
+
readonly type: "function";
|
|
2534
|
+
readonly name: "assetVaultTokens";
|
|
2535
|
+
readonly inputs: readonly [{
|
|
2536
|
+
readonly name: "arg0";
|
|
2537
|
+
readonly type: "address";
|
|
2538
|
+
}, {
|
|
2539
|
+
readonly name: "arg1";
|
|
2540
|
+
readonly type: "uint256";
|
|
2541
|
+
}];
|
|
2542
|
+
readonly outputs: readonly [{
|
|
2543
|
+
readonly name: "";
|
|
2544
|
+
readonly type: "address";
|
|
2545
|
+
}];
|
|
2546
|
+
}, {
|
|
2547
|
+
readonly stateMutability: "view";
|
|
2548
|
+
readonly type: "function";
|
|
2549
|
+
readonly name: "indexOfAssetVaultToken";
|
|
2550
|
+
readonly inputs: readonly [{
|
|
2551
|
+
readonly name: "arg0";
|
|
2552
|
+
readonly type: "address";
|
|
2553
|
+
}, {
|
|
2554
|
+
readonly name: "arg1";
|
|
2555
|
+
readonly type: "address";
|
|
2556
|
+
}];
|
|
2557
|
+
readonly outputs: readonly [{
|
|
2558
|
+
readonly name: "";
|
|
2559
|
+
readonly type: "uint256";
|
|
2560
|
+
}];
|
|
2561
|
+
}, {
|
|
2562
|
+
readonly stateMutability: "view";
|
|
2563
|
+
readonly type: "function";
|
|
2564
|
+
readonly name: "numAssetVaultTokens";
|
|
2565
|
+
readonly inputs: readonly [{
|
|
2566
|
+
readonly name: "arg0";
|
|
2567
|
+
readonly type: "address";
|
|
2568
|
+
}];
|
|
2569
|
+
readonly outputs: readonly [{
|
|
2570
|
+
readonly name: "";
|
|
2571
|
+
readonly type: "uint256";
|
|
2572
|
+
}];
|
|
2573
|
+
}, {
|
|
2574
|
+
readonly stateMutability: "view";
|
|
2575
|
+
readonly type: "function";
|
|
2576
|
+
readonly name: "assetVaultTokenRefCount";
|
|
2577
|
+
readonly inputs: readonly [{
|
|
2578
|
+
readonly name: "arg0";
|
|
2579
|
+
readonly type: "address";
|
|
2580
|
+
}, {
|
|
2581
|
+
readonly name: "arg1";
|
|
2582
|
+
readonly type: "address";
|
|
2583
|
+
}];
|
|
2584
|
+
readonly outputs: readonly [{
|
|
2585
|
+
readonly name: "";
|
|
2586
|
+
readonly type: "uint256";
|
|
2587
|
+
}];
|
|
2588
|
+
}, {
|
|
2589
|
+
readonly stateMutability: "view";
|
|
2590
|
+
readonly type: "function";
|
|
2591
|
+
readonly name: "isAllowed";
|
|
2592
|
+
readonly inputs: readonly [{
|
|
2593
|
+
readonly name: "arg0";
|
|
2594
|
+
readonly type: "address";
|
|
2595
|
+
}, {
|
|
2596
|
+
readonly name: "arg1";
|
|
2597
|
+
readonly type: "address";
|
|
2598
|
+
}];
|
|
2599
|
+
readonly outputs: readonly [{
|
|
2600
|
+
readonly name: "";
|
|
2601
|
+
readonly type: "bool";
|
|
2602
|
+
}];
|
|
1908
2603
|
}, {
|
|
1909
2604
|
readonly stateMutability: "nonpayable";
|
|
1910
2605
|
readonly type: "constructor";
|
|
@@ -2002,23 +2697,32 @@ export type Contract = {
|
|
|
2002
2697
|
getUndyHq: () => Promise<`0x${string}`>;
|
|
2003
2698
|
canMintUndy: () => Promise<boolean>;
|
|
2004
2699
|
isPaused: () => Promise<boolean>;
|
|
2005
|
-
isEarnVault: (
|
|
2006
|
-
|
|
2007
|
-
|
|
2700
|
+
isEarnVault: (undyVaultAddr: `0x${string}`) => Promise<boolean>;
|
|
2701
|
+
isLeveragedVault: (undyVaultAddr: `0x${string}`) => Promise<boolean>;
|
|
2702
|
+
isBasicEarnVault: (undyVaultAddr: `0x${string}`) => Promise<boolean>;
|
|
2703
|
+
hasConfig: (undyVaultAddr: `0x${string}`) => Promise<boolean>;
|
|
2704
|
+
isValidDefaultTargetVaultToken: (undyVaultAddr: `0x${string}`, targetVaultToken: `0x${string}`) => Promise<boolean>;
|
|
2008
2705
|
isValidPerformanceFee: (performanceFee: bigint) => Promise<boolean>;
|
|
2009
2706
|
isValidRedemptionBuffer: (buffer: bigint) => Promise<boolean>;
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2707
|
+
getApprovedVaultTokens: (undyVaultAddr: `0x${string}`) => Promise<`0x${string}`[]>;
|
|
2708
|
+
getAssetVaultTokens: (asset: `0x${string}`) => Promise<`0x${string}`[]>;
|
|
2709
|
+
getNumApprovedVaultTokens: (undyVaultAddr: `0x${string}`) => Promise<bigint>;
|
|
2710
|
+
getNumAssetVaultTokens: (asset: `0x${string}`) => Promise<bigint>;
|
|
2711
|
+
isApprovedVaultTokenForAsset: (underlyingAsset: `0x${string}`, vaultToken: `0x${string}`) => Promise<boolean>;
|
|
2712
|
+
canDeposit: (undyVaultAddr: `0x${string}`) => Promise<boolean>;
|
|
2713
|
+
canWithdraw: (undyVaultAddr: `0x${string}`) => Promise<boolean>;
|
|
2714
|
+
maxDepositAmount: (undyVaultAddr: `0x${string}`) => Promise<bigint>;
|
|
2715
|
+
isVaultOpsFrozen: (undyVaultAddr: `0x${string}`) => Promise<boolean>;
|
|
2716
|
+
redemptionBuffer: (undyVaultAddr: `0x${string}`) => Promise<bigint>;
|
|
2717
|
+
minYieldWithdrawAmount: (undyVaultAddr: `0x${string}`) => Promise<bigint>;
|
|
2718
|
+
redemptionConfig: (undyVaultAddr: `0x${string}`) => Promise<[bigint, bigint]>;
|
|
2719
|
+
getPerformanceFee: (undyVaultAddr: `0x${string}`) => Promise<bigint>;
|
|
2720
|
+
getDefaultTargetVaultToken: (undyVaultAddr: `0x${string}`) => Promise<`0x${string}`>;
|
|
2721
|
+
shouldAutoDeposit: (undyVaultAddr: `0x${string}`) => Promise<boolean>;
|
|
2722
|
+
shouldEnforceAllowlist: (undyVaultAddr: `0x${string}`) => Promise<boolean>;
|
|
2723
|
+
isUserAllowed: (undyVaultAddr: `0x${string}`, userAddr: `0x${string}`) => Promise<boolean>;
|
|
2724
|
+
isApprovedVaultTokenByAddr: (undyVaultAddr: `0x${string}`, vaultToken: `0x${string}`) => Promise<boolean>;
|
|
2725
|
+
checkVaultApprovals: (undyVaultAddr: `0x${string}`, vaultToken: `0x${string}`) => Promise<boolean>;
|
|
2022
2726
|
getVaultConfig: (regId: bigint) => Promise<{
|
|
2023
2727
|
canDeposit: boolean;
|
|
2024
2728
|
canWithdraw: boolean;
|
|
@@ -2029,8 +2733,10 @@ export type Contract = {
|
|
|
2029
2733
|
performanceFee: bigint;
|
|
2030
2734
|
shouldAutoDeposit: boolean;
|
|
2031
2735
|
defaultTargetVaultToken: `0x${string}`;
|
|
2736
|
+
isLeveragedVault: boolean;
|
|
2737
|
+
shouldEnforceAllowlist: boolean;
|
|
2032
2738
|
}>;
|
|
2033
|
-
getVaultConfigByAddr: (
|
|
2739
|
+
getVaultConfigByAddr: (undyVaultAddr: `0x${string}`) => Promise<{
|
|
2034
2740
|
canDeposit: boolean;
|
|
2035
2741
|
canWithdraw: boolean;
|
|
2036
2742
|
maxDepositAmount: bigint;
|
|
@@ -2040,6 +2746,8 @@ export type Contract = {
|
|
|
2040
2746
|
performanceFee: bigint;
|
|
2041
2747
|
shouldAutoDeposit: boolean;
|
|
2042
2748
|
defaultTargetVaultToken: `0x${string}`;
|
|
2749
|
+
isLeveragedVault: boolean;
|
|
2750
|
+
shouldEnforceAllowlist: boolean;
|
|
2043
2751
|
}>;
|
|
2044
2752
|
getVaultActionDataBundle: (legoId: bigint, signer: `0x${string}`) => Promise<{
|
|
2045
2753
|
ledger: `0x${string}`;
|
|
@@ -2052,7 +2760,7 @@ export type Contract = {
|
|
|
2052
2760
|
legoId: bigint;
|
|
2053
2761
|
legoAddr: `0x${string}`;
|
|
2054
2762
|
}>;
|
|
2055
|
-
getVaultActionDataWithFrozenStatus: (legoId: bigint, signer: `0x${string}`,
|
|
2763
|
+
getVaultActionDataWithFrozenStatus: (legoId: bigint, signer: `0x${string}`, undyVaultAddr: `0x${string}`) => Promise<[
|
|
2056
2764
|
{
|
|
2057
2765
|
ledger: `0x${string}`;
|
|
2058
2766
|
missionControl: `0x${string}`;
|
|
@@ -2068,7 +2776,8 @@ export type Contract = {
|
|
|
2068
2776
|
]>;
|
|
2069
2777
|
getLegoDataFromVaultToken: (vaultToken: `0x${string}`) => Promise<[bigint, `0x${string}`]>;
|
|
2070
2778
|
getLegoAddrFromVaultToken: (vaultToken: `0x${string}`) => Promise<`0x${string}`>;
|
|
2071
|
-
getDepositConfig: (
|
|
2779
|
+
getDepositConfig: (undyVaultAddr: `0x${string}`, user?: `0x${string}`) => Promise<[boolean, bigint, boolean, `0x${string}`]>;
|
|
2780
|
+
canUserDeposit: (undyVaultAddr: `0x${string}`, user?: `0x${string}`) => Promise<boolean>;
|
|
2072
2781
|
vaultConfigs: (arg0: `0x${string}`) => Promise<{
|
|
2073
2782
|
canDeposit: boolean;
|
|
2074
2783
|
canWithdraw: boolean;
|
|
@@ -2079,8 +2788,18 @@ export type Contract = {
|
|
|
2079
2788
|
performanceFee: bigint;
|
|
2080
2789
|
shouldAutoDeposit: boolean;
|
|
2081
2790
|
defaultTargetVaultToken: `0x${string}`;
|
|
2791
|
+
isLeveragedVault: boolean;
|
|
2792
|
+
shouldEnforceAllowlist: boolean;
|
|
2082
2793
|
}>;
|
|
2083
2794
|
isApprovedVaultToken: (arg0: `0x${string}`, arg1: `0x${string}`) => Promise<boolean>;
|
|
2795
|
+
approvedVaultTokens: (arg0: `0x${string}`, arg1: bigint) => Promise<`0x${string}`>;
|
|
2796
|
+
indexOfApprovedVaultToken: (arg0: `0x${string}`, arg1: `0x${string}`) => Promise<bigint>;
|
|
2797
|
+
numApprovedVaultTokens: (arg0: `0x${string}`) => Promise<bigint>;
|
|
2798
|
+
assetVaultTokens: (arg0: `0x${string}`, arg1: bigint) => Promise<`0x${string}`>;
|
|
2799
|
+
indexOfAssetVaultToken: (arg0: `0x${string}`, arg1: `0x${string}`) => Promise<bigint>;
|
|
2800
|
+
numAssetVaultTokens: (arg0: `0x${string}`) => Promise<bigint>;
|
|
2801
|
+
assetVaultTokenRefCount: (arg0: `0x${string}`, arg1: `0x${string}`) => Promise<bigint>;
|
|
2802
|
+
isAllowed: (arg0: `0x${string}`, arg1: `0x${string}`) => Promise<boolean>;
|
|
2084
2803
|
};
|
|
2085
2804
|
mutations: {
|
|
2086
2805
|
startGovernanceChange: (newGov: `0x${string}`) => Promise<void>;
|
|
@@ -2094,19 +2813,27 @@ export type Contract = {
|
|
|
2094
2813
|
pause: (shouldPause: boolean) => Promise<void>;
|
|
2095
2814
|
recoverFunds: (recipient: `0x${string}`, asset: `0x${string}`) => Promise<void>;
|
|
2096
2815
|
recoverFundsMany: (recipient: `0x${string}`, assets: `0x${string}`[]) => Promise<void>;
|
|
2097
|
-
startAddNewAddressToRegistry: (
|
|
2098
|
-
confirmNewAddressToRegistry: (
|
|
2099
|
-
cancelNewAddressToRegistry: (
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2816
|
+
startAddNewAddressToRegistry: (undyVaultAddr: `0x${string}`, description: string) => Promise<boolean>;
|
|
2817
|
+
confirmNewAddressToRegistry: (undyVaultAddr: `0x${string}`, isLeveragedVault?: boolean, shouldEnforceAllowlist?: boolean, approvedVaultTokens?: `0x${string}`[], maxDepositAmount?: bigint, minYieldWithdrawAmount?: bigint, performanceFee?: bigint, defaultTargetVaultToken?: `0x${string}`, shouldAutoDeposit?: boolean, canDeposit?: boolean, canWithdraw?: boolean, isVaultOpsFrozen?: boolean, redemptionBuffer?: bigint) => Promise<bigint>;
|
|
2818
|
+
cancelNewAddressToRegistry: (undyVaultAddr: `0x${string}`) => Promise<boolean>;
|
|
2819
|
+
startAddressDisableInRegistry: (regId: bigint) => Promise<boolean>;
|
|
2820
|
+
confirmAddressDisableInRegistry: (regId: bigint) => Promise<boolean>;
|
|
2821
|
+
cancelAddressDisableInRegistry: (regId: bigint) => Promise<boolean>;
|
|
2822
|
+
setCanDeposit: (undyVaultAddr: `0x${string}`, canDeposit: boolean) => Promise<void>;
|
|
2823
|
+
setCanWithdraw: (undyVaultAddr: `0x${string}`, canWithdraw: boolean) => Promise<void>;
|
|
2824
|
+
setMaxDepositAmount: (undyVaultAddr: `0x${string}`, maxDepositAmount: bigint) => Promise<void>;
|
|
2825
|
+
setVaultOpsFrozen: (undyVaultAddr: `0x${string}`, isFrozen: boolean) => Promise<void>;
|
|
2826
|
+
setShouldAutoDeposit: (undyVaultAddr: `0x${string}`, shouldAutoDeposit: boolean) => Promise<void>;
|
|
2827
|
+
setMinYieldWithdrawAmount: (undyVaultAddr: `0x${string}`, amount: bigint) => Promise<void>;
|
|
2828
|
+
setIsLeveragedVault: (undyVaultAddr: `0x${string}`, isLeveragedVault: boolean) => Promise<void>;
|
|
2829
|
+
setShouldEnforceAllowlist: (undyVaultAddr: `0x${string}`, shouldEnforce: boolean) => Promise<void>;
|
|
2830
|
+
setAllowed: (undyVaultAddr: `0x${string}`, user: `0x${string}`, isAllowed: boolean) => Promise<void>;
|
|
2831
|
+
setAllowedBatch: (undyVaultAddr: `0x${string}`, users: `0x${string}`[], isAllowed: boolean) => Promise<void>;
|
|
2832
|
+
setDefaultTargetVaultToken: (undyVaultAddr: `0x${string}`, targetVaultToken: `0x${string}`) => Promise<void>;
|
|
2833
|
+
setPerformanceFee: (undyVaultAddr: `0x${string}`, performanceFee: bigint) => Promise<void>;
|
|
2834
|
+
setRedemptionBuffer: (undyVaultAddr: `0x${string}`, buffer: bigint) => Promise<void>;
|
|
2835
|
+
setApprovedVaultToken: (undyVaultAddr: `0x${string}`, vaultToken: `0x${string}`, isApproved: boolean, shouldMaxWithdraw: boolean) => Promise<void>;
|
|
2836
|
+
setApprovedVaultTokens: (undyVaultAddr: `0x${string}`, vaultTokens: `0x${string}`[], isApproved: boolean, shouldMaxWithdraw: boolean) => Promise<void>;
|
|
2110
2837
|
};
|
|
2111
2838
|
events: {
|
|
2112
2839
|
CanDepositSet: (vaultAddr: `0x${string}`, canDeposit: boolean) => Promise<void>;
|
|
@@ -2118,7 +2845,14 @@ export type Contract = {
|
|
|
2118
2845
|
PerformanceFeeSet: (vaultAddr: `0x${string}`, performanceFee: bigint) => Promise<void>;
|
|
2119
2846
|
DefaultTargetVaultTokenSet: (vaultAddr: `0x${string}`, targetVaultToken: `0x${string}`) => Promise<void>;
|
|
2120
2847
|
ShouldAutoDepositSet: (vaultAddr: `0x${string}`, shouldAutoDeposit: boolean) => Promise<void>;
|
|
2121
|
-
|
|
2848
|
+
IsLeveragedVaultSet: (vaultAddr: `0x${string}`, isLeveragedVault: boolean) => Promise<void>;
|
|
2849
|
+
ApprovedVaultTokenSet: (undyVaultAddr: `0x${string}`, underlyingAsset: `0x${string}`, vaultToken: `0x${string}`, isApproved: boolean, shouldMaxWithdraw: boolean) => Promise<void>;
|
|
2850
|
+
VaultTokenAdded: (undyVaultAddr: `0x${string}`, underlyingAsset: `0x${string}`, vaultToken: `0x${string}`) => Promise<void>;
|
|
2851
|
+
VaultTokenRemoved: (undyVaultAddr: `0x${string}`, underlyingAsset: `0x${string}`, vaultToken: `0x${string}`) => Promise<void>;
|
|
2852
|
+
AssetVaultTokenAdded: (asset: `0x${string}`, vaultToken: `0x${string}`) => Promise<void>;
|
|
2853
|
+
AssetVaultTokenRemoved: (asset: `0x${string}`, vaultToken: `0x${string}`) => Promise<void>;
|
|
2854
|
+
ShouldEnforceAllowlistSet: (undyVault: `0x${string}`, shouldEnforce: boolean) => Promise<void>;
|
|
2855
|
+
AllowlistSet: (undyVault: `0x${string}`, user: `0x${string}`, isAllowed: boolean) => Promise<void>;
|
|
2122
2856
|
GovChangeTimeLockModified: (prevTimeLock: bigint, newTimeLock: bigint) => Promise<void>;
|
|
2123
2857
|
RegistryTimeLockModified: (newTimeLock: bigint, prevTimeLock: bigint, registry: string) => Promise<void>;
|
|
2124
2858
|
GovChangeStarted: (prevGov: `0x${string}`, newGov: `0x${string}`, confirmBlock: bigint) => Promise<void>;
|
|
@@ -2131,6 +2865,9 @@ export type Contract = {
|
|
|
2131
2865
|
NewAddressPending: (addr: `0x${string}`, description: string, confirmBlock: bigint, registry: string) => Promise<void>;
|
|
2132
2866
|
NewAddressConfirmed: (addr: `0x${string}`, regId: bigint, description: string, registry: string) => Promise<void>;
|
|
2133
2867
|
NewAddressCancelled: (description: string, addr: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint, registry: string) => Promise<void>;
|
|
2868
|
+
AddressDisablePending: (regId: bigint, description: string, addr: `0x${string}`, version: bigint, confirmBlock: bigint, registry: string) => Promise<void>;
|
|
2869
|
+
AddressDisableConfirmed: (regId: bigint, description: string, addr: `0x${string}`, version: bigint, registry: string) => Promise<void>;
|
|
2870
|
+
AddressDisableCancelled: (regId: bigint, description: string, addr: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint, registry: string) => Promise<void>;
|
|
2134
2871
|
};
|
|
2135
2872
|
};
|
|
2136
2873
|
export type Calls = keyof Contract['calls'];
|
|
@@ -2210,10 +2947,17 @@ export type SDK = {
|
|
|
2210
2947
|
canMintUndy: (...args: ExtractArgs<Contract['calls']['canMintUndy']>) => Promise<CallReturn<'canMintUndy'>>;
|
|
2211
2948
|
isPaused: (...args: ExtractArgs<Contract['calls']['isPaused']>) => Promise<CallReturn<'isPaused'>>;
|
|
2212
2949
|
isEarnVault: (...args: ExtractArgs<Contract['calls']['isEarnVault']>) => Promise<CallReturn<'isEarnVault'>>;
|
|
2213
|
-
|
|
2950
|
+
isLeveragedVault: (...args: ExtractArgs<Contract['calls']['isLeveragedVault']>) => Promise<CallReturn<'isLeveragedVault'>>;
|
|
2951
|
+
isBasicEarnVault: (...args: ExtractArgs<Contract['calls']['isBasicEarnVault']>) => Promise<CallReturn<'isBasicEarnVault'>>;
|
|
2952
|
+
hasConfig: (...args: ExtractArgs<Contract['calls']['hasConfig']>) => Promise<CallReturn<'hasConfig'>>;
|
|
2214
2953
|
isValidDefaultTargetVaultToken: (...args: ExtractArgs<Contract['calls']['isValidDefaultTargetVaultToken']>) => Promise<CallReturn<'isValidDefaultTargetVaultToken'>>;
|
|
2215
2954
|
isValidPerformanceFee: (...args: ExtractArgs<Contract['calls']['isValidPerformanceFee']>) => Promise<CallReturn<'isValidPerformanceFee'>>;
|
|
2216
2955
|
isValidRedemptionBuffer: (...args: ExtractArgs<Contract['calls']['isValidRedemptionBuffer']>) => Promise<CallReturn<'isValidRedemptionBuffer'>>;
|
|
2956
|
+
getApprovedVaultTokens: (...args: ExtractArgs<Contract['calls']['getApprovedVaultTokens']>) => Promise<CallReturn<'getApprovedVaultTokens'>>;
|
|
2957
|
+
getAssetVaultTokens: (...args: ExtractArgs<Contract['calls']['getAssetVaultTokens']>) => Promise<CallReturn<'getAssetVaultTokens'>>;
|
|
2958
|
+
getNumApprovedVaultTokens: (...args: ExtractArgs<Contract['calls']['getNumApprovedVaultTokens']>) => Promise<CallReturn<'getNumApprovedVaultTokens'>>;
|
|
2959
|
+
getNumAssetVaultTokens: (...args: ExtractArgs<Contract['calls']['getNumAssetVaultTokens']>) => Promise<CallReturn<'getNumAssetVaultTokens'>>;
|
|
2960
|
+
isApprovedVaultTokenForAsset: (...args: ExtractArgs<Contract['calls']['isApprovedVaultTokenForAsset']>) => Promise<CallReturn<'isApprovedVaultTokenForAsset'>>;
|
|
2217
2961
|
canDeposit: (...args: ExtractArgs<Contract['calls']['canDeposit']>) => Promise<CallReturn<'canDeposit'>>;
|
|
2218
2962
|
canWithdraw: (...args: ExtractArgs<Contract['calls']['canWithdraw']>) => Promise<CallReturn<'canWithdraw'>>;
|
|
2219
2963
|
maxDepositAmount: (...args: ExtractArgs<Contract['calls']['maxDepositAmount']>) => Promise<CallReturn<'maxDepositAmount'>>;
|
|
@@ -2224,6 +2968,8 @@ export type SDK = {
|
|
|
2224
2968
|
getPerformanceFee: (...args: ExtractArgs<Contract['calls']['getPerformanceFee']>) => Promise<CallReturn<'getPerformanceFee'>>;
|
|
2225
2969
|
getDefaultTargetVaultToken: (...args: ExtractArgs<Contract['calls']['getDefaultTargetVaultToken']>) => Promise<CallReturn<'getDefaultTargetVaultToken'>>;
|
|
2226
2970
|
shouldAutoDeposit: (...args: ExtractArgs<Contract['calls']['shouldAutoDeposit']>) => Promise<CallReturn<'shouldAutoDeposit'>>;
|
|
2971
|
+
shouldEnforceAllowlist: (...args: ExtractArgs<Contract['calls']['shouldEnforceAllowlist']>) => Promise<CallReturn<'shouldEnforceAllowlist'>>;
|
|
2972
|
+
isUserAllowed: (...args: ExtractArgs<Contract['calls']['isUserAllowed']>) => Promise<CallReturn<'isUserAllowed'>>;
|
|
2227
2973
|
isApprovedVaultTokenByAddr: (...args: ExtractArgs<Contract['calls']['isApprovedVaultTokenByAddr']>) => Promise<CallReturn<'isApprovedVaultTokenByAddr'>>;
|
|
2228
2974
|
checkVaultApprovals: (...args: ExtractArgs<Contract['calls']['checkVaultApprovals']>) => Promise<CallReturn<'checkVaultApprovals'>>;
|
|
2229
2975
|
getVaultConfig: (...args: ExtractArgs<Contract['calls']['getVaultConfig']>) => Promise<CallReturn<'getVaultConfig'>>;
|
|
@@ -2233,8 +2979,17 @@ export type SDK = {
|
|
|
2233
2979
|
getLegoDataFromVaultToken: (...args: ExtractArgs<Contract['calls']['getLegoDataFromVaultToken']>) => Promise<CallReturn<'getLegoDataFromVaultToken'>>;
|
|
2234
2980
|
getLegoAddrFromVaultToken: (...args: ExtractArgs<Contract['calls']['getLegoAddrFromVaultToken']>) => Promise<CallReturn<'getLegoAddrFromVaultToken'>>;
|
|
2235
2981
|
getDepositConfig: (...args: ExtractArgs<Contract['calls']['getDepositConfig']>) => Promise<CallReturn<'getDepositConfig'>>;
|
|
2982
|
+
canUserDeposit: (...args: ExtractArgs<Contract['calls']['canUserDeposit']>) => Promise<CallReturn<'canUserDeposit'>>;
|
|
2236
2983
|
vaultConfigs: (...args: ExtractArgs<Contract['calls']['vaultConfigs']>) => Promise<CallReturn<'vaultConfigs'>>;
|
|
2237
2984
|
isApprovedVaultToken: (...args: ExtractArgs<Contract['calls']['isApprovedVaultToken']>) => Promise<CallReturn<'isApprovedVaultToken'>>;
|
|
2985
|
+
approvedVaultTokens: (...args: ExtractArgs<Contract['calls']['approvedVaultTokens']>) => Promise<CallReturn<'approvedVaultTokens'>>;
|
|
2986
|
+
indexOfApprovedVaultToken: (...args: ExtractArgs<Contract['calls']['indexOfApprovedVaultToken']>) => Promise<CallReturn<'indexOfApprovedVaultToken'>>;
|
|
2987
|
+
numApprovedVaultTokens: (...args: ExtractArgs<Contract['calls']['numApprovedVaultTokens']>) => Promise<CallReturn<'numApprovedVaultTokens'>>;
|
|
2988
|
+
assetVaultTokens: (...args: ExtractArgs<Contract['calls']['assetVaultTokens']>) => Promise<CallReturn<'assetVaultTokens'>>;
|
|
2989
|
+
indexOfAssetVaultToken: (...args: ExtractArgs<Contract['calls']['indexOfAssetVaultToken']>) => Promise<CallReturn<'indexOfAssetVaultToken'>>;
|
|
2990
|
+
numAssetVaultTokens: (...args: ExtractArgs<Contract['calls']['numAssetVaultTokens']>) => Promise<CallReturn<'numAssetVaultTokens'>>;
|
|
2991
|
+
assetVaultTokenRefCount: (...args: ExtractArgs<Contract['calls']['assetVaultTokenRefCount']>) => Promise<CallReturn<'assetVaultTokenRefCount'>>;
|
|
2992
|
+
isAllowed: (...args: ExtractArgs<Contract['calls']['isAllowed']>) => Promise<CallReturn<'isAllowed'>>;
|
|
2238
2993
|
startGovernanceChange: (...args: ExtractArgs<Contract['mutations']['startGovernanceChange']>) => Promise<Address>;
|
|
2239
2994
|
confirmGovernanceChange: (...args: ExtractArgs<Contract['mutations']['confirmGovernanceChange']>) => Promise<Address>;
|
|
2240
2995
|
cancelGovernanceChange: (...args: ExtractArgs<Contract['mutations']['cancelGovernanceChange']>) => Promise<Address>;
|
|
@@ -2249,16 +3004,24 @@ export type SDK = {
|
|
|
2249
3004
|
startAddNewAddressToRegistry: (...args: ExtractArgs<Contract['mutations']['startAddNewAddressToRegistry']>) => Promise<Address>;
|
|
2250
3005
|
confirmNewAddressToRegistry: (...args: ExtractArgs<Contract['mutations']['confirmNewAddressToRegistry']>) => Promise<Address>;
|
|
2251
3006
|
cancelNewAddressToRegistry: (...args: ExtractArgs<Contract['mutations']['cancelNewAddressToRegistry']>) => Promise<Address>;
|
|
3007
|
+
startAddressDisableInRegistry: (...args: ExtractArgs<Contract['mutations']['startAddressDisableInRegistry']>) => Promise<Address>;
|
|
3008
|
+
confirmAddressDisableInRegistry: (...args: ExtractArgs<Contract['mutations']['confirmAddressDisableInRegistry']>) => Promise<Address>;
|
|
3009
|
+
cancelAddressDisableInRegistry: (...args: ExtractArgs<Contract['mutations']['cancelAddressDisableInRegistry']>) => Promise<Address>;
|
|
2252
3010
|
setCanDeposit: (...args: ExtractArgs<Contract['mutations']['setCanDeposit']>) => Promise<Address>;
|
|
2253
3011
|
setCanWithdraw: (...args: ExtractArgs<Contract['mutations']['setCanWithdraw']>) => Promise<Address>;
|
|
2254
3012
|
setMaxDepositAmount: (...args: ExtractArgs<Contract['mutations']['setMaxDepositAmount']>) => Promise<Address>;
|
|
2255
3013
|
setVaultOpsFrozen: (...args: ExtractArgs<Contract['mutations']['setVaultOpsFrozen']>) => Promise<Address>;
|
|
2256
3014
|
setShouldAutoDeposit: (...args: ExtractArgs<Contract['mutations']['setShouldAutoDeposit']>) => Promise<Address>;
|
|
2257
3015
|
setMinYieldWithdrawAmount: (...args: ExtractArgs<Contract['mutations']['setMinYieldWithdrawAmount']>) => Promise<Address>;
|
|
2258
|
-
|
|
3016
|
+
setIsLeveragedVault: (...args: ExtractArgs<Contract['mutations']['setIsLeveragedVault']>) => Promise<Address>;
|
|
3017
|
+
setShouldEnforceAllowlist: (...args: ExtractArgs<Contract['mutations']['setShouldEnforceAllowlist']>) => Promise<Address>;
|
|
3018
|
+
setAllowed: (...args: ExtractArgs<Contract['mutations']['setAllowed']>) => Promise<Address>;
|
|
3019
|
+
setAllowedBatch: (...args: ExtractArgs<Contract['mutations']['setAllowedBatch']>) => Promise<Address>;
|
|
2259
3020
|
setDefaultTargetVaultToken: (...args: ExtractArgs<Contract['mutations']['setDefaultTargetVaultToken']>) => Promise<Address>;
|
|
2260
3021
|
setPerformanceFee: (...args: ExtractArgs<Contract['mutations']['setPerformanceFee']>) => Promise<Address>;
|
|
2261
3022
|
setRedemptionBuffer: (...args: ExtractArgs<Contract['mutations']['setRedemptionBuffer']>) => Promise<Address>;
|
|
3023
|
+
setApprovedVaultToken: (...args: ExtractArgs<Contract['mutations']['setApprovedVaultToken']>) => Promise<Address>;
|
|
3024
|
+
setApprovedVaultTokens: (...args: ExtractArgs<Contract['mutations']['setApprovedVaultTokens']>) => Promise<Address>;
|
|
2262
3025
|
};
|
|
2263
3026
|
export declare function toSdk(publicClient?: PublicClient, walletClient?: WalletClient): SDK;
|
|
2264
3027
|
export {};
|