@gitmyabi/vault 1.0.0
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/README.md +108 -0
- package/contracts/Vault_json.d.ts +3488 -0
- package/contracts/Vault_json.js +3881 -0
- package/contracts/Vault_json.ts +4687 -0
- package/contracts/index.d.ts +2 -0
- package/contracts/index.js +7 -0
- package/contracts/index.ts +3 -0
- package/index.d.ts +1 -0
- package/index.js +19 -0
- package/package.json +43 -0
|
@@ -0,0 +1,3488 @@
|
|
|
1
|
+
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
|
+
/**
|
|
3
|
+
* IFeeDispatcher.FeeRecipient struct type
|
|
4
|
+
*/
|
|
5
|
+
export type IFeeDispatcher_FeeRecipient = {
|
|
6
|
+
recipient: `0x${string}`;
|
|
7
|
+
depositFeeSplit: bigint;
|
|
8
|
+
rewardFeeSplit: bigint;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Vault.InitializationParams struct type
|
|
12
|
+
*/
|
|
13
|
+
export type Vault_InitializationParams = {
|
|
14
|
+
asset_: `0x${string}`;
|
|
15
|
+
name_: string;
|
|
16
|
+
symbol_: string;
|
|
17
|
+
transferable_: boolean;
|
|
18
|
+
connectorRegistry_: `0x${string}`;
|
|
19
|
+
connectorName_: `0x${string}`;
|
|
20
|
+
depositFee_: bigint;
|
|
21
|
+
rewardFee_: bigint;
|
|
22
|
+
initialDefaultAdmin_: `0x${string}`;
|
|
23
|
+
initialFeeManager_: `0x${string}`;
|
|
24
|
+
initialSanctionsManager_: `0x${string}`;
|
|
25
|
+
initialClaimManager_: `0x${string}`;
|
|
26
|
+
initialPauser_: `0x${string}`;
|
|
27
|
+
initialUnpauser_: `0x${string}`;
|
|
28
|
+
initialDelay_: bigint;
|
|
29
|
+
offset_: bigint;
|
|
30
|
+
minTotalSupply_: bigint;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Vault.UpgradeParams struct type
|
|
34
|
+
*/
|
|
35
|
+
export type Vault_UpgradeParams = {
|
|
36
|
+
recipients_: IFeeDispatcher_FeeRecipient[];
|
|
37
|
+
feeDispatcher_: `0x${string}`;
|
|
38
|
+
additionalRewardsStrategy_: bigint;
|
|
39
|
+
blockList_: `0x${string}`;
|
|
40
|
+
pendingDepositFee_: bigint;
|
|
41
|
+
pendingRewardFee_: bigint;
|
|
42
|
+
connectorRegistry_: `0x${string}`;
|
|
43
|
+
initialFeeCollector_: `0x${string}`;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Vault_json ABI
|
|
47
|
+
*
|
|
48
|
+
* This ABI is typed using viem's type system for full type safety.
|
|
49
|
+
*/
|
|
50
|
+
export declare const Vault_jsonAbi: readonly [{
|
|
51
|
+
readonly inputs: readonly [{
|
|
52
|
+
readonly internalType: "address";
|
|
53
|
+
readonly name: "externalAccessControl_";
|
|
54
|
+
readonly type: "address";
|
|
55
|
+
}, {
|
|
56
|
+
readonly internalType: "address";
|
|
57
|
+
readonly name: "vaultFactory_";
|
|
58
|
+
readonly type: "address";
|
|
59
|
+
}];
|
|
60
|
+
readonly stateMutability: "nonpayable";
|
|
61
|
+
readonly type: "constructor";
|
|
62
|
+
}, {
|
|
63
|
+
readonly inputs: readonly [];
|
|
64
|
+
readonly name: "AccessControlBadConfirmation";
|
|
65
|
+
readonly type: "error";
|
|
66
|
+
}, {
|
|
67
|
+
readonly inputs: readonly [{
|
|
68
|
+
readonly internalType: "uint48";
|
|
69
|
+
readonly name: "schedule";
|
|
70
|
+
readonly type: "uint48";
|
|
71
|
+
}];
|
|
72
|
+
readonly name: "AccessControlEnforcedDefaultAdminDelay";
|
|
73
|
+
readonly type: "error";
|
|
74
|
+
}, {
|
|
75
|
+
readonly inputs: readonly [];
|
|
76
|
+
readonly name: "AccessControlEnforcedDefaultAdminRules";
|
|
77
|
+
readonly type: "error";
|
|
78
|
+
}, {
|
|
79
|
+
readonly inputs: readonly [{
|
|
80
|
+
readonly internalType: "address";
|
|
81
|
+
readonly name: "defaultAdmin";
|
|
82
|
+
readonly type: "address";
|
|
83
|
+
}];
|
|
84
|
+
readonly name: "AccessControlInvalidDefaultAdmin";
|
|
85
|
+
readonly type: "error";
|
|
86
|
+
}, {
|
|
87
|
+
readonly inputs: readonly [{
|
|
88
|
+
readonly internalType: "address";
|
|
89
|
+
readonly name: "account";
|
|
90
|
+
readonly type: "address";
|
|
91
|
+
}, {
|
|
92
|
+
readonly internalType: "bytes32";
|
|
93
|
+
readonly name: "neededRole";
|
|
94
|
+
readonly type: "bytes32";
|
|
95
|
+
}];
|
|
96
|
+
readonly name: "AccessControlUnauthorizedAccount";
|
|
97
|
+
readonly type: "error";
|
|
98
|
+
}, {
|
|
99
|
+
readonly inputs: readonly [{
|
|
100
|
+
readonly internalType: "address";
|
|
101
|
+
readonly name: "addr";
|
|
102
|
+
readonly type: "address";
|
|
103
|
+
}];
|
|
104
|
+
readonly name: "AddressBlocked";
|
|
105
|
+
readonly type: "error";
|
|
106
|
+
}, {
|
|
107
|
+
readonly inputs: readonly [{
|
|
108
|
+
readonly internalType: "address";
|
|
109
|
+
readonly name: "target";
|
|
110
|
+
readonly type: "address";
|
|
111
|
+
}];
|
|
112
|
+
readonly name: "AddressEmptyCode";
|
|
113
|
+
readonly type: "error";
|
|
114
|
+
}, {
|
|
115
|
+
readonly inputs: readonly [{
|
|
116
|
+
readonly internalType: "address";
|
|
117
|
+
readonly name: "account";
|
|
118
|
+
readonly type: "address";
|
|
119
|
+
}];
|
|
120
|
+
readonly name: "AddressInsufficientBalance";
|
|
121
|
+
readonly type: "error";
|
|
122
|
+
}, {
|
|
123
|
+
readonly inputs: readonly [{
|
|
124
|
+
readonly internalType: "address";
|
|
125
|
+
readonly name: "addr";
|
|
126
|
+
readonly type: "address";
|
|
127
|
+
}];
|
|
128
|
+
readonly name: "AddressNotContract";
|
|
129
|
+
readonly type: "error";
|
|
130
|
+
}, {
|
|
131
|
+
readonly inputs: readonly [{
|
|
132
|
+
readonly internalType: "address";
|
|
133
|
+
readonly name: "addr";
|
|
134
|
+
readonly type: "address";
|
|
135
|
+
}];
|
|
136
|
+
readonly name: "AddressNotInternallySanctionedOnly";
|
|
137
|
+
readonly type: "error";
|
|
138
|
+
}, {
|
|
139
|
+
readonly inputs: readonly [];
|
|
140
|
+
readonly name: "AmountZero";
|
|
141
|
+
readonly type: "error";
|
|
142
|
+
}, {
|
|
143
|
+
readonly inputs: readonly [];
|
|
144
|
+
readonly name: "DepositPaused";
|
|
145
|
+
readonly type: "error";
|
|
146
|
+
}, {
|
|
147
|
+
readonly inputs: readonly [{
|
|
148
|
+
readonly internalType: "address";
|
|
149
|
+
readonly name: "spender";
|
|
150
|
+
readonly type: "address";
|
|
151
|
+
}, {
|
|
152
|
+
readonly internalType: "uint256";
|
|
153
|
+
readonly name: "allowance";
|
|
154
|
+
readonly type: "uint256";
|
|
155
|
+
}, {
|
|
156
|
+
readonly internalType: "uint256";
|
|
157
|
+
readonly name: "needed";
|
|
158
|
+
readonly type: "uint256";
|
|
159
|
+
}];
|
|
160
|
+
readonly name: "ERC20InsufficientAllowance";
|
|
161
|
+
readonly type: "error";
|
|
162
|
+
}, {
|
|
163
|
+
readonly inputs: readonly [{
|
|
164
|
+
readonly internalType: "address";
|
|
165
|
+
readonly name: "sender";
|
|
166
|
+
readonly type: "address";
|
|
167
|
+
}, {
|
|
168
|
+
readonly internalType: "uint256";
|
|
169
|
+
readonly name: "balance";
|
|
170
|
+
readonly type: "uint256";
|
|
171
|
+
}, {
|
|
172
|
+
readonly internalType: "uint256";
|
|
173
|
+
readonly name: "needed";
|
|
174
|
+
readonly type: "uint256";
|
|
175
|
+
}];
|
|
176
|
+
readonly name: "ERC20InsufficientBalance";
|
|
177
|
+
readonly type: "error";
|
|
178
|
+
}, {
|
|
179
|
+
readonly inputs: readonly [{
|
|
180
|
+
readonly internalType: "address";
|
|
181
|
+
readonly name: "approver";
|
|
182
|
+
readonly type: "address";
|
|
183
|
+
}];
|
|
184
|
+
readonly name: "ERC20InvalidApprover";
|
|
185
|
+
readonly type: "error";
|
|
186
|
+
}, {
|
|
187
|
+
readonly inputs: readonly [{
|
|
188
|
+
readonly internalType: "address";
|
|
189
|
+
readonly name: "receiver";
|
|
190
|
+
readonly type: "address";
|
|
191
|
+
}];
|
|
192
|
+
readonly name: "ERC20InvalidReceiver";
|
|
193
|
+
readonly type: "error";
|
|
194
|
+
}, {
|
|
195
|
+
readonly inputs: readonly [{
|
|
196
|
+
readonly internalType: "address";
|
|
197
|
+
readonly name: "sender";
|
|
198
|
+
readonly type: "address";
|
|
199
|
+
}];
|
|
200
|
+
readonly name: "ERC20InvalidSender";
|
|
201
|
+
readonly type: "error";
|
|
202
|
+
}, {
|
|
203
|
+
readonly inputs: readonly [{
|
|
204
|
+
readonly internalType: "address";
|
|
205
|
+
readonly name: "spender";
|
|
206
|
+
readonly type: "address";
|
|
207
|
+
}];
|
|
208
|
+
readonly name: "ERC20InvalidSpender";
|
|
209
|
+
readonly type: "error";
|
|
210
|
+
}, {
|
|
211
|
+
readonly inputs: readonly [{
|
|
212
|
+
readonly internalType: "address";
|
|
213
|
+
readonly name: "receiver";
|
|
214
|
+
readonly type: "address";
|
|
215
|
+
}, {
|
|
216
|
+
readonly internalType: "uint256";
|
|
217
|
+
readonly name: "assets";
|
|
218
|
+
readonly type: "uint256";
|
|
219
|
+
}, {
|
|
220
|
+
readonly internalType: "uint256";
|
|
221
|
+
readonly name: "max";
|
|
222
|
+
readonly type: "uint256";
|
|
223
|
+
}];
|
|
224
|
+
readonly name: "ERC4626ExceededMaxDeposit";
|
|
225
|
+
readonly type: "error";
|
|
226
|
+
}, {
|
|
227
|
+
readonly inputs: readonly [{
|
|
228
|
+
readonly internalType: "address";
|
|
229
|
+
readonly name: "receiver";
|
|
230
|
+
readonly type: "address";
|
|
231
|
+
}, {
|
|
232
|
+
readonly internalType: "uint256";
|
|
233
|
+
readonly name: "shares";
|
|
234
|
+
readonly type: "uint256";
|
|
235
|
+
}, {
|
|
236
|
+
readonly internalType: "uint256";
|
|
237
|
+
readonly name: "max";
|
|
238
|
+
readonly type: "uint256";
|
|
239
|
+
}];
|
|
240
|
+
readonly name: "ERC4626ExceededMaxMint";
|
|
241
|
+
readonly type: "error";
|
|
242
|
+
}, {
|
|
243
|
+
readonly inputs: readonly [{
|
|
244
|
+
readonly internalType: "address";
|
|
245
|
+
readonly name: "owner";
|
|
246
|
+
readonly type: "address";
|
|
247
|
+
}, {
|
|
248
|
+
readonly internalType: "uint256";
|
|
249
|
+
readonly name: "shares";
|
|
250
|
+
readonly type: "uint256";
|
|
251
|
+
}, {
|
|
252
|
+
readonly internalType: "uint256";
|
|
253
|
+
readonly name: "max";
|
|
254
|
+
readonly type: "uint256";
|
|
255
|
+
}];
|
|
256
|
+
readonly name: "ERC4626ExceededMaxRedeem";
|
|
257
|
+
readonly type: "error";
|
|
258
|
+
}, {
|
|
259
|
+
readonly inputs: readonly [{
|
|
260
|
+
readonly internalType: "address";
|
|
261
|
+
readonly name: "owner";
|
|
262
|
+
readonly type: "address";
|
|
263
|
+
}, {
|
|
264
|
+
readonly internalType: "uint256";
|
|
265
|
+
readonly name: "assets";
|
|
266
|
+
readonly type: "uint256";
|
|
267
|
+
}, {
|
|
268
|
+
readonly internalType: "uint256";
|
|
269
|
+
readonly name: "max";
|
|
270
|
+
readonly type: "uint256";
|
|
271
|
+
}];
|
|
272
|
+
readonly name: "ERC4626ExceededMaxWithdraw";
|
|
273
|
+
readonly type: "error";
|
|
274
|
+
}, {
|
|
275
|
+
readonly inputs: readonly [];
|
|
276
|
+
readonly name: "FailedInnerCall";
|
|
277
|
+
readonly type: "error";
|
|
278
|
+
}, {
|
|
279
|
+
readonly inputs: readonly [];
|
|
280
|
+
readonly name: "InsufficientLiquidity";
|
|
281
|
+
readonly type: "error";
|
|
282
|
+
}, {
|
|
283
|
+
readonly inputs: readonly [{
|
|
284
|
+
readonly internalType: "bytes32";
|
|
285
|
+
readonly name: "name";
|
|
286
|
+
readonly type: "bytes32";
|
|
287
|
+
}];
|
|
288
|
+
readonly name: "InvalidConnectorName";
|
|
289
|
+
readonly type: "error";
|
|
290
|
+
}, {
|
|
291
|
+
readonly inputs: readonly [];
|
|
292
|
+
readonly name: "InvalidInitialization";
|
|
293
|
+
readonly type: "error";
|
|
294
|
+
}, {
|
|
295
|
+
readonly inputs: readonly [];
|
|
296
|
+
readonly name: "MathOverflowedMulDiv";
|
|
297
|
+
readonly type: "error";
|
|
298
|
+
}, {
|
|
299
|
+
readonly inputs: readonly [];
|
|
300
|
+
readonly name: "MinimumTotalSupplyNotReached";
|
|
301
|
+
readonly type: "error";
|
|
302
|
+
}, {
|
|
303
|
+
readonly inputs: readonly [];
|
|
304
|
+
readonly name: "NoAdditionalRewardsClaimed";
|
|
305
|
+
readonly type: "error";
|
|
306
|
+
}, {
|
|
307
|
+
readonly inputs: readonly [];
|
|
308
|
+
readonly name: "NoAdditionalRewardsStrategy";
|
|
309
|
+
readonly type: "error";
|
|
310
|
+
}, {
|
|
311
|
+
readonly inputs: readonly [{
|
|
312
|
+
readonly internalType: "address";
|
|
313
|
+
readonly name: "addr";
|
|
314
|
+
readonly type: "address";
|
|
315
|
+
}];
|
|
316
|
+
readonly name: "NotConfiguredFactory";
|
|
317
|
+
readonly type: "error";
|
|
318
|
+
}, {
|
|
319
|
+
readonly inputs: readonly [];
|
|
320
|
+
readonly name: "NotInitializing";
|
|
321
|
+
readonly type: "error";
|
|
322
|
+
}, {
|
|
323
|
+
readonly inputs: readonly [];
|
|
324
|
+
readonly name: "NotTransferable";
|
|
325
|
+
readonly type: "error";
|
|
326
|
+
}, {
|
|
327
|
+
readonly inputs: readonly [];
|
|
328
|
+
readonly name: "NothingToCollect";
|
|
329
|
+
readonly type: "error";
|
|
330
|
+
}, {
|
|
331
|
+
readonly inputs: readonly [{
|
|
332
|
+
readonly internalType: "uint8";
|
|
333
|
+
readonly name: "offset";
|
|
334
|
+
readonly type: "uint8";
|
|
335
|
+
}];
|
|
336
|
+
readonly name: "OffsetTooHigh";
|
|
337
|
+
readonly type: "error";
|
|
338
|
+
}, {
|
|
339
|
+
readonly inputs: readonly [];
|
|
340
|
+
readonly name: "PreviewZero";
|
|
341
|
+
readonly type: "error";
|
|
342
|
+
}, {
|
|
343
|
+
readonly inputs: readonly [];
|
|
344
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
345
|
+
readonly type: "error";
|
|
346
|
+
}, {
|
|
347
|
+
readonly inputs: readonly [{
|
|
348
|
+
readonly internalType: "uint256";
|
|
349
|
+
readonly name: "shares";
|
|
350
|
+
readonly type: "uint256";
|
|
351
|
+
}];
|
|
352
|
+
readonly name: "RemainderNotZero";
|
|
353
|
+
readonly type: "error";
|
|
354
|
+
}, {
|
|
355
|
+
readonly inputs: readonly [{
|
|
356
|
+
readonly internalType: "uint8";
|
|
357
|
+
readonly name: "bits";
|
|
358
|
+
readonly type: "uint8";
|
|
359
|
+
}, {
|
|
360
|
+
readonly internalType: "uint256";
|
|
361
|
+
readonly name: "value";
|
|
362
|
+
readonly type: "uint256";
|
|
363
|
+
}];
|
|
364
|
+
readonly name: "SafeCastOverflowedUintDowncast";
|
|
365
|
+
readonly type: "error";
|
|
366
|
+
}, {
|
|
367
|
+
readonly inputs: readonly [{
|
|
368
|
+
readonly internalType: "address";
|
|
369
|
+
readonly name: "token";
|
|
370
|
+
readonly type: "address";
|
|
371
|
+
}];
|
|
372
|
+
readonly name: "SafeERC20FailedOperation";
|
|
373
|
+
readonly type: "error";
|
|
374
|
+
}, {
|
|
375
|
+
readonly inputs: readonly [{
|
|
376
|
+
readonly internalType: "uint256";
|
|
377
|
+
readonly name: "totalAssets";
|
|
378
|
+
readonly type: "uint256";
|
|
379
|
+
}, {
|
|
380
|
+
readonly internalType: "uint256";
|
|
381
|
+
readonly name: "newTotalAssets";
|
|
382
|
+
readonly type: "uint256";
|
|
383
|
+
}];
|
|
384
|
+
readonly name: "TotalAssetsDecreased";
|
|
385
|
+
readonly type: "error";
|
|
386
|
+
}, {
|
|
387
|
+
readonly inputs: readonly [{
|
|
388
|
+
readonly internalType: "uint256";
|
|
389
|
+
readonly name: "depositFee";
|
|
390
|
+
readonly type: "uint256";
|
|
391
|
+
}];
|
|
392
|
+
readonly name: "WrongDepositFee";
|
|
393
|
+
readonly type: "error";
|
|
394
|
+
}, {
|
|
395
|
+
readonly inputs: readonly [{
|
|
396
|
+
readonly internalType: "uint256";
|
|
397
|
+
readonly name: "rewardFee";
|
|
398
|
+
readonly type: "uint256";
|
|
399
|
+
}];
|
|
400
|
+
readonly name: "WrongRewardFee";
|
|
401
|
+
readonly type: "error";
|
|
402
|
+
}, {
|
|
403
|
+
readonly anonymous: false;
|
|
404
|
+
readonly inputs: readonly [{
|
|
405
|
+
readonly indexed: false;
|
|
406
|
+
readonly internalType: "enum Vault.AdditionalRewardsStrategy";
|
|
407
|
+
readonly name: "newAdditionalRewardsStrategy";
|
|
408
|
+
readonly type: "uint8";
|
|
409
|
+
}];
|
|
410
|
+
readonly name: "AdditionalRewardsStrategyUpdated";
|
|
411
|
+
readonly type: "event";
|
|
412
|
+
}, {
|
|
413
|
+
readonly anonymous: false;
|
|
414
|
+
readonly inputs: readonly [{
|
|
415
|
+
readonly indexed: true;
|
|
416
|
+
readonly internalType: "address";
|
|
417
|
+
readonly name: "owner";
|
|
418
|
+
readonly type: "address";
|
|
419
|
+
}, {
|
|
420
|
+
readonly indexed: true;
|
|
421
|
+
readonly internalType: "address";
|
|
422
|
+
readonly name: "spender";
|
|
423
|
+
readonly type: "address";
|
|
424
|
+
}, {
|
|
425
|
+
readonly indexed: false;
|
|
426
|
+
readonly internalType: "uint256";
|
|
427
|
+
readonly name: "value";
|
|
428
|
+
readonly type: "uint256";
|
|
429
|
+
}];
|
|
430
|
+
readonly name: "Approval";
|
|
431
|
+
readonly type: "event";
|
|
432
|
+
}, {
|
|
433
|
+
readonly anonymous: false;
|
|
434
|
+
readonly inputs: readonly [{
|
|
435
|
+
readonly indexed: false;
|
|
436
|
+
readonly internalType: "contract IERC20";
|
|
437
|
+
readonly name: "asset";
|
|
438
|
+
readonly type: "address";
|
|
439
|
+
}];
|
|
440
|
+
readonly name: "AssetInitialized";
|
|
441
|
+
readonly type: "event";
|
|
442
|
+
}, {
|
|
443
|
+
readonly anonymous: false;
|
|
444
|
+
readonly inputs: readonly [{
|
|
445
|
+
readonly indexed: false;
|
|
446
|
+
readonly internalType: "contract BlockList";
|
|
447
|
+
readonly name: "newBlockList";
|
|
448
|
+
readonly type: "address";
|
|
449
|
+
}];
|
|
450
|
+
readonly name: "BlockListUpdated";
|
|
451
|
+
readonly type: "event";
|
|
452
|
+
}, {
|
|
453
|
+
readonly anonymous: false;
|
|
454
|
+
readonly inputs: readonly [{
|
|
455
|
+
readonly indexed: false;
|
|
456
|
+
readonly internalType: "bytes32";
|
|
457
|
+
readonly name: "newConnectorName";
|
|
458
|
+
readonly type: "bytes32";
|
|
459
|
+
}];
|
|
460
|
+
readonly name: "ConnectorNameUpdated";
|
|
461
|
+
readonly type: "event";
|
|
462
|
+
}, {
|
|
463
|
+
readonly anonymous: false;
|
|
464
|
+
readonly inputs: readonly [{
|
|
465
|
+
readonly indexed: false;
|
|
466
|
+
readonly internalType: "contract IConnectorRegistry";
|
|
467
|
+
readonly name: "newConnectorRegistry";
|
|
468
|
+
readonly type: "address";
|
|
469
|
+
}];
|
|
470
|
+
readonly name: "ConnectorRegistryUpdated";
|
|
471
|
+
readonly type: "event";
|
|
472
|
+
}, {
|
|
473
|
+
readonly anonymous: false;
|
|
474
|
+
readonly inputs: readonly [];
|
|
475
|
+
readonly name: "DefaultAdminDelayChangeCanceled";
|
|
476
|
+
readonly type: "event";
|
|
477
|
+
}, {
|
|
478
|
+
readonly anonymous: false;
|
|
479
|
+
readonly inputs: readonly [{
|
|
480
|
+
readonly indexed: false;
|
|
481
|
+
readonly internalType: "uint48";
|
|
482
|
+
readonly name: "newDelay";
|
|
483
|
+
readonly type: "uint48";
|
|
484
|
+
}, {
|
|
485
|
+
readonly indexed: false;
|
|
486
|
+
readonly internalType: "uint48";
|
|
487
|
+
readonly name: "effectSchedule";
|
|
488
|
+
readonly type: "uint48";
|
|
489
|
+
}];
|
|
490
|
+
readonly name: "DefaultAdminDelayChangeScheduled";
|
|
491
|
+
readonly type: "event";
|
|
492
|
+
}, {
|
|
493
|
+
readonly anonymous: false;
|
|
494
|
+
readonly inputs: readonly [];
|
|
495
|
+
readonly name: "DefaultAdminTransferCanceled";
|
|
496
|
+
readonly type: "event";
|
|
497
|
+
}, {
|
|
498
|
+
readonly anonymous: false;
|
|
499
|
+
readonly inputs: readonly [{
|
|
500
|
+
readonly indexed: true;
|
|
501
|
+
readonly internalType: "address";
|
|
502
|
+
readonly name: "newAdmin";
|
|
503
|
+
readonly type: "address";
|
|
504
|
+
}, {
|
|
505
|
+
readonly indexed: false;
|
|
506
|
+
readonly internalType: "uint48";
|
|
507
|
+
readonly name: "acceptSchedule";
|
|
508
|
+
readonly type: "uint48";
|
|
509
|
+
}];
|
|
510
|
+
readonly name: "DefaultAdminTransferScheduled";
|
|
511
|
+
readonly type: "event";
|
|
512
|
+
}, {
|
|
513
|
+
readonly anonymous: false;
|
|
514
|
+
readonly inputs: readonly [{
|
|
515
|
+
readonly indexed: true;
|
|
516
|
+
readonly internalType: "address";
|
|
517
|
+
readonly name: "sender";
|
|
518
|
+
readonly type: "address";
|
|
519
|
+
}, {
|
|
520
|
+
readonly indexed: true;
|
|
521
|
+
readonly internalType: "address";
|
|
522
|
+
readonly name: "owner";
|
|
523
|
+
readonly type: "address";
|
|
524
|
+
}, {
|
|
525
|
+
readonly indexed: false;
|
|
526
|
+
readonly internalType: "uint256";
|
|
527
|
+
readonly name: "assets";
|
|
528
|
+
readonly type: "uint256";
|
|
529
|
+
}, {
|
|
530
|
+
readonly indexed: false;
|
|
531
|
+
readonly internalType: "uint256";
|
|
532
|
+
readonly name: "shares";
|
|
533
|
+
readonly type: "uint256";
|
|
534
|
+
}];
|
|
535
|
+
readonly name: "Deposit";
|
|
536
|
+
readonly type: "event";
|
|
537
|
+
}, {
|
|
538
|
+
readonly anonymous: false;
|
|
539
|
+
readonly inputs: readonly [{
|
|
540
|
+
readonly indexed: false;
|
|
541
|
+
readonly internalType: "uint256";
|
|
542
|
+
readonly name: "newDepositFee";
|
|
543
|
+
readonly type: "uint256";
|
|
544
|
+
}];
|
|
545
|
+
readonly name: "DepositFeeUpdated";
|
|
546
|
+
readonly type: "event";
|
|
547
|
+
}, {
|
|
548
|
+
readonly anonymous: false;
|
|
549
|
+
readonly inputs: readonly [{
|
|
550
|
+
readonly indexed: false;
|
|
551
|
+
readonly internalType: "address";
|
|
552
|
+
readonly name: "feeDispatcher";
|
|
553
|
+
readonly type: "address";
|
|
554
|
+
}];
|
|
555
|
+
readonly name: "FeeDispatcherInitialized";
|
|
556
|
+
readonly type: "event";
|
|
557
|
+
}, {
|
|
558
|
+
readonly anonymous: false;
|
|
559
|
+
readonly inputs: readonly [{
|
|
560
|
+
readonly indexed: false;
|
|
561
|
+
readonly internalType: "uint64";
|
|
562
|
+
readonly name: "version";
|
|
563
|
+
readonly type: "uint64";
|
|
564
|
+
}];
|
|
565
|
+
readonly name: "Initialized";
|
|
566
|
+
readonly type: "event";
|
|
567
|
+
}, {
|
|
568
|
+
readonly anonymous: false;
|
|
569
|
+
readonly inputs: readonly [{
|
|
570
|
+
readonly indexed: false;
|
|
571
|
+
readonly internalType: "uint256";
|
|
572
|
+
readonly name: "newMinTotalSupply";
|
|
573
|
+
readonly type: "uint256";
|
|
574
|
+
}];
|
|
575
|
+
readonly name: "MinTotalSupplyInitialized";
|
|
576
|
+
readonly type: "event";
|
|
577
|
+
}, {
|
|
578
|
+
readonly anonymous: false;
|
|
579
|
+
readonly inputs: readonly [{
|
|
580
|
+
readonly indexed: false;
|
|
581
|
+
readonly internalType: "string";
|
|
582
|
+
readonly name: "name";
|
|
583
|
+
readonly type: "string";
|
|
584
|
+
}];
|
|
585
|
+
readonly name: "NameInitialized";
|
|
586
|
+
readonly type: "event";
|
|
587
|
+
}, {
|
|
588
|
+
readonly anonymous: false;
|
|
589
|
+
readonly inputs: readonly [{
|
|
590
|
+
readonly indexed: false;
|
|
591
|
+
readonly internalType: "uint8";
|
|
592
|
+
readonly name: "offset";
|
|
593
|
+
readonly type: "uint8";
|
|
594
|
+
}];
|
|
595
|
+
readonly name: "OffsetInitialized";
|
|
596
|
+
readonly type: "event";
|
|
597
|
+
}, {
|
|
598
|
+
readonly anonymous: false;
|
|
599
|
+
readonly inputs: readonly [{
|
|
600
|
+
readonly indexed: false;
|
|
601
|
+
readonly internalType: "uint256";
|
|
602
|
+
readonly name: "newRewardFee";
|
|
603
|
+
readonly type: "uint256";
|
|
604
|
+
}];
|
|
605
|
+
readonly name: "RewardFeeUpdated";
|
|
606
|
+
readonly type: "event";
|
|
607
|
+
}, {
|
|
608
|
+
readonly anonymous: false;
|
|
609
|
+
readonly inputs: readonly [{
|
|
610
|
+
readonly indexed: true;
|
|
611
|
+
readonly internalType: "address";
|
|
612
|
+
readonly name: "rewardsAsset";
|
|
613
|
+
readonly type: "address";
|
|
614
|
+
}, {
|
|
615
|
+
readonly indexed: false;
|
|
616
|
+
readonly internalType: "uint256";
|
|
617
|
+
readonly name: "amount";
|
|
618
|
+
readonly type: "uint256";
|
|
619
|
+
}];
|
|
620
|
+
readonly name: "RewardsClaimed";
|
|
621
|
+
readonly type: "event";
|
|
622
|
+
}, {
|
|
623
|
+
readonly anonymous: false;
|
|
624
|
+
readonly inputs: readonly [{
|
|
625
|
+
readonly indexed: true;
|
|
626
|
+
readonly internalType: "bytes32";
|
|
627
|
+
readonly name: "role";
|
|
628
|
+
readonly type: "bytes32";
|
|
629
|
+
}, {
|
|
630
|
+
readonly indexed: true;
|
|
631
|
+
readonly internalType: "bytes32";
|
|
632
|
+
readonly name: "previousAdminRole";
|
|
633
|
+
readonly type: "bytes32";
|
|
634
|
+
}, {
|
|
635
|
+
readonly indexed: true;
|
|
636
|
+
readonly internalType: "bytes32";
|
|
637
|
+
readonly name: "newAdminRole";
|
|
638
|
+
readonly type: "bytes32";
|
|
639
|
+
}];
|
|
640
|
+
readonly name: "RoleAdminChanged";
|
|
641
|
+
readonly type: "event";
|
|
642
|
+
}, {
|
|
643
|
+
readonly anonymous: false;
|
|
644
|
+
readonly inputs: readonly [{
|
|
645
|
+
readonly indexed: true;
|
|
646
|
+
readonly internalType: "bytes32";
|
|
647
|
+
readonly name: "role";
|
|
648
|
+
readonly type: "bytes32";
|
|
649
|
+
}, {
|
|
650
|
+
readonly indexed: true;
|
|
651
|
+
readonly internalType: "address";
|
|
652
|
+
readonly name: "account";
|
|
653
|
+
readonly type: "address";
|
|
654
|
+
}, {
|
|
655
|
+
readonly indexed: true;
|
|
656
|
+
readonly internalType: "address";
|
|
657
|
+
readonly name: "sender";
|
|
658
|
+
readonly type: "address";
|
|
659
|
+
}];
|
|
660
|
+
readonly name: "RoleGranted";
|
|
661
|
+
readonly type: "event";
|
|
662
|
+
}, {
|
|
663
|
+
readonly anonymous: false;
|
|
664
|
+
readonly inputs: readonly [{
|
|
665
|
+
readonly indexed: true;
|
|
666
|
+
readonly internalType: "bytes32";
|
|
667
|
+
readonly name: "role";
|
|
668
|
+
readonly type: "bytes32";
|
|
669
|
+
}, {
|
|
670
|
+
readonly indexed: true;
|
|
671
|
+
readonly internalType: "address";
|
|
672
|
+
readonly name: "account";
|
|
673
|
+
readonly type: "address";
|
|
674
|
+
}, {
|
|
675
|
+
readonly indexed: true;
|
|
676
|
+
readonly internalType: "address";
|
|
677
|
+
readonly name: "sender";
|
|
678
|
+
readonly type: "address";
|
|
679
|
+
}];
|
|
680
|
+
readonly name: "RoleRevoked";
|
|
681
|
+
readonly type: "event";
|
|
682
|
+
}, {
|
|
683
|
+
readonly anonymous: false;
|
|
684
|
+
readonly inputs: readonly [{
|
|
685
|
+
readonly indexed: false;
|
|
686
|
+
readonly internalType: "string";
|
|
687
|
+
readonly name: "symbol";
|
|
688
|
+
readonly type: "string";
|
|
689
|
+
}];
|
|
690
|
+
readonly name: "SymbolInitialized";
|
|
691
|
+
readonly type: "event";
|
|
692
|
+
}, {
|
|
693
|
+
readonly anonymous: false;
|
|
694
|
+
readonly inputs: readonly [{
|
|
695
|
+
readonly indexed: true;
|
|
696
|
+
readonly internalType: "address";
|
|
697
|
+
readonly name: "from";
|
|
698
|
+
readonly type: "address";
|
|
699
|
+
}, {
|
|
700
|
+
readonly indexed: true;
|
|
701
|
+
readonly internalType: "address";
|
|
702
|
+
readonly name: "to";
|
|
703
|
+
readonly type: "address";
|
|
704
|
+
}, {
|
|
705
|
+
readonly indexed: false;
|
|
706
|
+
readonly internalType: "uint256";
|
|
707
|
+
readonly name: "value";
|
|
708
|
+
readonly type: "uint256";
|
|
709
|
+
}];
|
|
710
|
+
readonly name: "Transfer";
|
|
711
|
+
readonly type: "event";
|
|
712
|
+
}, {
|
|
713
|
+
readonly anonymous: false;
|
|
714
|
+
readonly inputs: readonly [{
|
|
715
|
+
readonly indexed: false;
|
|
716
|
+
readonly internalType: "bool";
|
|
717
|
+
readonly name: "newTransferableFlag";
|
|
718
|
+
readonly type: "bool";
|
|
719
|
+
}];
|
|
720
|
+
readonly name: "TransferableUpdated";
|
|
721
|
+
readonly type: "event";
|
|
722
|
+
}, {
|
|
723
|
+
readonly anonymous: false;
|
|
724
|
+
readonly inputs: readonly [{
|
|
725
|
+
readonly indexed: true;
|
|
726
|
+
readonly internalType: "address";
|
|
727
|
+
readonly name: "sender";
|
|
728
|
+
readonly type: "address";
|
|
729
|
+
}, {
|
|
730
|
+
readonly indexed: true;
|
|
731
|
+
readonly internalType: "address";
|
|
732
|
+
readonly name: "receiver";
|
|
733
|
+
readonly type: "address";
|
|
734
|
+
}, {
|
|
735
|
+
readonly indexed: true;
|
|
736
|
+
readonly internalType: "address";
|
|
737
|
+
readonly name: "owner";
|
|
738
|
+
readonly type: "address";
|
|
739
|
+
}, {
|
|
740
|
+
readonly indexed: false;
|
|
741
|
+
readonly internalType: "uint256";
|
|
742
|
+
readonly name: "assets";
|
|
743
|
+
readonly type: "uint256";
|
|
744
|
+
}, {
|
|
745
|
+
readonly indexed: false;
|
|
746
|
+
readonly internalType: "uint256";
|
|
747
|
+
readonly name: "shares";
|
|
748
|
+
readonly type: "uint256";
|
|
749
|
+
}];
|
|
750
|
+
readonly name: "Withdraw";
|
|
751
|
+
readonly type: "event";
|
|
752
|
+
}, {
|
|
753
|
+
readonly inputs: readonly [];
|
|
754
|
+
readonly name: "CLAIM_MANAGER_ROLE";
|
|
755
|
+
readonly outputs: readonly [{
|
|
756
|
+
readonly internalType: "bytes32";
|
|
757
|
+
readonly name: "";
|
|
758
|
+
readonly type: "bytes32";
|
|
759
|
+
}];
|
|
760
|
+
readonly stateMutability: "view";
|
|
761
|
+
readonly type: "function";
|
|
762
|
+
}, {
|
|
763
|
+
readonly inputs: readonly [];
|
|
764
|
+
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
765
|
+
readonly outputs: readonly [{
|
|
766
|
+
readonly internalType: "bytes32";
|
|
767
|
+
readonly name: "";
|
|
768
|
+
readonly type: "bytes32";
|
|
769
|
+
}];
|
|
770
|
+
readonly stateMutability: "view";
|
|
771
|
+
readonly type: "function";
|
|
772
|
+
}, {
|
|
773
|
+
readonly inputs: readonly [];
|
|
774
|
+
readonly name: "FEE_COLLECTOR_ROLE";
|
|
775
|
+
readonly outputs: readonly [{
|
|
776
|
+
readonly internalType: "bytes32";
|
|
777
|
+
readonly name: "";
|
|
778
|
+
readonly type: "bytes32";
|
|
779
|
+
}];
|
|
780
|
+
readonly stateMutability: "view";
|
|
781
|
+
readonly type: "function";
|
|
782
|
+
}, {
|
|
783
|
+
readonly inputs: readonly [];
|
|
784
|
+
readonly name: "FEE_MANAGER_ROLE";
|
|
785
|
+
readonly outputs: readonly [{
|
|
786
|
+
readonly internalType: "bytes32";
|
|
787
|
+
readonly name: "";
|
|
788
|
+
readonly type: "bytes32";
|
|
789
|
+
}];
|
|
790
|
+
readonly stateMutability: "view";
|
|
791
|
+
readonly type: "function";
|
|
792
|
+
}, {
|
|
793
|
+
readonly inputs: readonly [];
|
|
794
|
+
readonly name: "PAUSER_ROLE";
|
|
795
|
+
readonly outputs: readonly [{
|
|
796
|
+
readonly internalType: "bytes32";
|
|
797
|
+
readonly name: "";
|
|
798
|
+
readonly type: "bytes32";
|
|
799
|
+
}];
|
|
800
|
+
readonly stateMutability: "view";
|
|
801
|
+
readonly type: "function";
|
|
802
|
+
}, {
|
|
803
|
+
readonly inputs: readonly [];
|
|
804
|
+
readonly name: "SANCTIONS_MANAGER_ROLE";
|
|
805
|
+
readonly outputs: readonly [{
|
|
806
|
+
readonly internalType: "bytes32";
|
|
807
|
+
readonly name: "";
|
|
808
|
+
readonly type: "bytes32";
|
|
809
|
+
}];
|
|
810
|
+
readonly stateMutability: "view";
|
|
811
|
+
readonly type: "function";
|
|
812
|
+
}, {
|
|
813
|
+
readonly inputs: readonly [];
|
|
814
|
+
readonly name: "SPENDER_ROLE";
|
|
815
|
+
readonly outputs: readonly [{
|
|
816
|
+
readonly internalType: "bytes32";
|
|
817
|
+
readonly name: "";
|
|
818
|
+
readonly type: "bytes32";
|
|
819
|
+
}];
|
|
820
|
+
readonly stateMutability: "view";
|
|
821
|
+
readonly type: "function";
|
|
822
|
+
}, {
|
|
823
|
+
readonly inputs: readonly [];
|
|
824
|
+
readonly name: "UNPAUSER_ROLE";
|
|
825
|
+
readonly outputs: readonly [{
|
|
826
|
+
readonly internalType: "bytes32";
|
|
827
|
+
readonly name: "";
|
|
828
|
+
readonly type: "bytes32";
|
|
829
|
+
}];
|
|
830
|
+
readonly stateMutability: "view";
|
|
831
|
+
readonly type: "function";
|
|
832
|
+
}, {
|
|
833
|
+
readonly inputs: readonly [];
|
|
834
|
+
readonly name: "acceptDefaultAdminTransfer";
|
|
835
|
+
readonly outputs: readonly [];
|
|
836
|
+
readonly stateMutability: "nonpayable";
|
|
837
|
+
readonly type: "function";
|
|
838
|
+
}, {
|
|
839
|
+
readonly inputs: readonly [];
|
|
840
|
+
readonly name: "additionalRewardsStrategy";
|
|
841
|
+
readonly outputs: readonly [{
|
|
842
|
+
readonly internalType: "enum Vault.AdditionalRewardsStrategy";
|
|
843
|
+
readonly name: "";
|
|
844
|
+
readonly type: "uint8";
|
|
845
|
+
}];
|
|
846
|
+
readonly stateMutability: "view";
|
|
847
|
+
readonly type: "function";
|
|
848
|
+
}, {
|
|
849
|
+
readonly inputs: readonly [{
|
|
850
|
+
readonly internalType: "address";
|
|
851
|
+
readonly name: "owner";
|
|
852
|
+
readonly type: "address";
|
|
853
|
+
}, {
|
|
854
|
+
readonly internalType: "address";
|
|
855
|
+
readonly name: "spender";
|
|
856
|
+
readonly type: "address";
|
|
857
|
+
}];
|
|
858
|
+
readonly name: "allowance";
|
|
859
|
+
readonly outputs: readonly [{
|
|
860
|
+
readonly internalType: "uint256";
|
|
861
|
+
readonly name: "";
|
|
862
|
+
readonly type: "uint256";
|
|
863
|
+
}];
|
|
864
|
+
readonly stateMutability: "view";
|
|
865
|
+
readonly type: "function";
|
|
866
|
+
}, {
|
|
867
|
+
readonly inputs: readonly [{
|
|
868
|
+
readonly internalType: "address";
|
|
869
|
+
readonly name: "spender";
|
|
870
|
+
readonly type: "address";
|
|
871
|
+
}, {
|
|
872
|
+
readonly internalType: "uint256";
|
|
873
|
+
readonly name: "value";
|
|
874
|
+
readonly type: "uint256";
|
|
875
|
+
}];
|
|
876
|
+
readonly name: "approve";
|
|
877
|
+
readonly outputs: readonly [{
|
|
878
|
+
readonly internalType: "bool";
|
|
879
|
+
readonly name: "";
|
|
880
|
+
readonly type: "bool";
|
|
881
|
+
}];
|
|
882
|
+
readonly stateMutability: "nonpayable";
|
|
883
|
+
readonly type: "function";
|
|
884
|
+
}, {
|
|
885
|
+
readonly inputs: readonly [];
|
|
886
|
+
readonly name: "asset";
|
|
887
|
+
readonly outputs: readonly [{
|
|
888
|
+
readonly internalType: "address";
|
|
889
|
+
readonly name: "";
|
|
890
|
+
readonly type: "address";
|
|
891
|
+
}];
|
|
892
|
+
readonly stateMutability: "view";
|
|
893
|
+
readonly type: "function";
|
|
894
|
+
}, {
|
|
895
|
+
readonly inputs: readonly [{
|
|
896
|
+
readonly internalType: "address";
|
|
897
|
+
readonly name: "account";
|
|
898
|
+
readonly type: "address";
|
|
899
|
+
}];
|
|
900
|
+
readonly name: "balanceOf";
|
|
901
|
+
readonly outputs: readonly [{
|
|
902
|
+
readonly internalType: "uint256";
|
|
903
|
+
readonly name: "";
|
|
904
|
+
readonly type: "uint256";
|
|
905
|
+
}];
|
|
906
|
+
readonly stateMutability: "view";
|
|
907
|
+
readonly type: "function";
|
|
908
|
+
}, {
|
|
909
|
+
readonly inputs: readonly [{
|
|
910
|
+
readonly internalType: "address";
|
|
911
|
+
readonly name: "newAdmin";
|
|
912
|
+
readonly type: "address";
|
|
913
|
+
}];
|
|
914
|
+
readonly name: "beginDefaultAdminTransfer";
|
|
915
|
+
readonly outputs: readonly [];
|
|
916
|
+
readonly stateMutability: "nonpayable";
|
|
917
|
+
readonly type: "function";
|
|
918
|
+
}, {
|
|
919
|
+
readonly inputs: readonly [];
|
|
920
|
+
readonly name: "blockList";
|
|
921
|
+
readonly outputs: readonly [{
|
|
922
|
+
readonly internalType: "contract BlockList";
|
|
923
|
+
readonly name: "";
|
|
924
|
+
readonly type: "address";
|
|
925
|
+
}];
|
|
926
|
+
readonly stateMutability: "view";
|
|
927
|
+
readonly type: "function";
|
|
928
|
+
}, {
|
|
929
|
+
readonly inputs: readonly [];
|
|
930
|
+
readonly name: "cancelDefaultAdminTransfer";
|
|
931
|
+
readonly outputs: readonly [];
|
|
932
|
+
readonly stateMutability: "nonpayable";
|
|
933
|
+
readonly type: "function";
|
|
934
|
+
}, {
|
|
935
|
+
readonly inputs: readonly [{
|
|
936
|
+
readonly internalType: "uint48";
|
|
937
|
+
readonly name: "newDelay";
|
|
938
|
+
readonly type: "uint48";
|
|
939
|
+
}];
|
|
940
|
+
readonly name: "changeDefaultAdminDelay";
|
|
941
|
+
readonly outputs: readonly [];
|
|
942
|
+
readonly stateMutability: "nonpayable";
|
|
943
|
+
readonly type: "function";
|
|
944
|
+
}, {
|
|
945
|
+
readonly inputs: readonly [{
|
|
946
|
+
readonly internalType: "address";
|
|
947
|
+
readonly name: "rewardsAsset";
|
|
948
|
+
readonly type: "address";
|
|
949
|
+
}, {
|
|
950
|
+
readonly internalType: "bytes";
|
|
951
|
+
readonly name: "payload";
|
|
952
|
+
readonly type: "bytes";
|
|
953
|
+
}];
|
|
954
|
+
readonly name: "claimAdditionalRewards";
|
|
955
|
+
readonly outputs: readonly [];
|
|
956
|
+
readonly stateMutability: "nonpayable";
|
|
957
|
+
readonly type: "function";
|
|
958
|
+
}, {
|
|
959
|
+
readonly inputs: readonly [];
|
|
960
|
+
readonly name: "collectRewardFees";
|
|
961
|
+
readonly outputs: readonly [];
|
|
962
|
+
readonly stateMutability: "nonpayable";
|
|
963
|
+
readonly type: "function";
|
|
964
|
+
}, {
|
|
965
|
+
readonly inputs: readonly [];
|
|
966
|
+
readonly name: "collectableRewardFees";
|
|
967
|
+
readonly outputs: readonly [{
|
|
968
|
+
readonly internalType: "uint256";
|
|
969
|
+
readonly name: "";
|
|
970
|
+
readonly type: "uint256";
|
|
971
|
+
}];
|
|
972
|
+
readonly stateMutability: "view";
|
|
973
|
+
readonly type: "function";
|
|
974
|
+
}, {
|
|
975
|
+
readonly inputs: readonly [];
|
|
976
|
+
readonly name: "connectorName";
|
|
977
|
+
readonly outputs: readonly [{
|
|
978
|
+
readonly internalType: "bytes32";
|
|
979
|
+
readonly name: "";
|
|
980
|
+
readonly type: "bytes32";
|
|
981
|
+
}];
|
|
982
|
+
readonly stateMutability: "view";
|
|
983
|
+
readonly type: "function";
|
|
984
|
+
}, {
|
|
985
|
+
readonly inputs: readonly [];
|
|
986
|
+
readonly name: "connectorRegistry";
|
|
987
|
+
readonly outputs: readonly [{
|
|
988
|
+
readonly internalType: "contract IConnectorRegistry";
|
|
989
|
+
readonly name: "";
|
|
990
|
+
readonly type: "address";
|
|
991
|
+
}];
|
|
992
|
+
readonly stateMutability: "view";
|
|
993
|
+
readonly type: "function";
|
|
994
|
+
}, {
|
|
995
|
+
readonly inputs: readonly [{
|
|
996
|
+
readonly internalType: "uint256";
|
|
997
|
+
readonly name: "shares";
|
|
998
|
+
readonly type: "uint256";
|
|
999
|
+
}];
|
|
1000
|
+
readonly name: "convertToAssets";
|
|
1001
|
+
readonly outputs: readonly [{
|
|
1002
|
+
readonly internalType: "uint256";
|
|
1003
|
+
readonly name: "";
|
|
1004
|
+
readonly type: "uint256";
|
|
1005
|
+
}];
|
|
1006
|
+
readonly stateMutability: "view";
|
|
1007
|
+
readonly type: "function";
|
|
1008
|
+
}, {
|
|
1009
|
+
readonly inputs: readonly [{
|
|
1010
|
+
readonly internalType: "uint256";
|
|
1011
|
+
readonly name: "assets";
|
|
1012
|
+
readonly type: "uint256";
|
|
1013
|
+
}];
|
|
1014
|
+
readonly name: "convertToShares";
|
|
1015
|
+
readonly outputs: readonly [{
|
|
1016
|
+
readonly internalType: "uint256";
|
|
1017
|
+
readonly name: "";
|
|
1018
|
+
readonly type: "uint256";
|
|
1019
|
+
}];
|
|
1020
|
+
readonly stateMutability: "view";
|
|
1021
|
+
readonly type: "function";
|
|
1022
|
+
}, {
|
|
1023
|
+
readonly inputs: readonly [];
|
|
1024
|
+
readonly name: "decimals";
|
|
1025
|
+
readonly outputs: readonly [{
|
|
1026
|
+
readonly internalType: "uint8";
|
|
1027
|
+
readonly name: "";
|
|
1028
|
+
readonly type: "uint8";
|
|
1029
|
+
}];
|
|
1030
|
+
readonly stateMutability: "view";
|
|
1031
|
+
readonly type: "function";
|
|
1032
|
+
}, {
|
|
1033
|
+
readonly inputs: readonly [];
|
|
1034
|
+
readonly name: "defaultAdmin";
|
|
1035
|
+
readonly outputs: readonly [{
|
|
1036
|
+
readonly internalType: "address";
|
|
1037
|
+
readonly name: "";
|
|
1038
|
+
readonly type: "address";
|
|
1039
|
+
}];
|
|
1040
|
+
readonly stateMutability: "view";
|
|
1041
|
+
readonly type: "function";
|
|
1042
|
+
}, {
|
|
1043
|
+
readonly inputs: readonly [];
|
|
1044
|
+
readonly name: "defaultAdminDelay";
|
|
1045
|
+
readonly outputs: readonly [{
|
|
1046
|
+
readonly internalType: "uint48";
|
|
1047
|
+
readonly name: "";
|
|
1048
|
+
readonly type: "uint48";
|
|
1049
|
+
}];
|
|
1050
|
+
readonly stateMutability: "view";
|
|
1051
|
+
readonly type: "function";
|
|
1052
|
+
}, {
|
|
1053
|
+
readonly inputs: readonly [];
|
|
1054
|
+
readonly name: "defaultAdminDelayIncreaseWait";
|
|
1055
|
+
readonly outputs: readonly [{
|
|
1056
|
+
readonly internalType: "uint48";
|
|
1057
|
+
readonly name: "";
|
|
1058
|
+
readonly type: "uint48";
|
|
1059
|
+
}];
|
|
1060
|
+
readonly stateMutability: "view";
|
|
1061
|
+
readonly type: "function";
|
|
1062
|
+
}, {
|
|
1063
|
+
readonly inputs: readonly [{
|
|
1064
|
+
readonly internalType: "bytes";
|
|
1065
|
+
readonly name: "data";
|
|
1066
|
+
readonly type: "bytes";
|
|
1067
|
+
}];
|
|
1068
|
+
readonly name: "delegateToFactory";
|
|
1069
|
+
readonly outputs: readonly [{
|
|
1070
|
+
readonly internalType: "bytes";
|
|
1071
|
+
readonly name: "";
|
|
1072
|
+
readonly type: "bytes";
|
|
1073
|
+
}];
|
|
1074
|
+
readonly stateMutability: "nonpayable";
|
|
1075
|
+
readonly type: "function";
|
|
1076
|
+
}, {
|
|
1077
|
+
readonly inputs: readonly [{
|
|
1078
|
+
readonly internalType: "uint256";
|
|
1079
|
+
readonly name: "assets";
|
|
1080
|
+
readonly type: "uint256";
|
|
1081
|
+
}, {
|
|
1082
|
+
readonly internalType: "address";
|
|
1083
|
+
readonly name: "receiver";
|
|
1084
|
+
readonly type: "address";
|
|
1085
|
+
}];
|
|
1086
|
+
readonly name: "deposit";
|
|
1087
|
+
readonly outputs: readonly [{
|
|
1088
|
+
readonly internalType: "uint256";
|
|
1089
|
+
readonly name: "";
|
|
1090
|
+
readonly type: "uint256";
|
|
1091
|
+
}];
|
|
1092
|
+
readonly stateMutability: "nonpayable";
|
|
1093
|
+
readonly type: "function";
|
|
1094
|
+
}, {
|
|
1095
|
+
readonly inputs: readonly [];
|
|
1096
|
+
readonly name: "depositFee";
|
|
1097
|
+
readonly outputs: readonly [{
|
|
1098
|
+
readonly internalType: "uint256";
|
|
1099
|
+
readonly name: "";
|
|
1100
|
+
readonly type: "uint256";
|
|
1101
|
+
}];
|
|
1102
|
+
readonly stateMutability: "view";
|
|
1103
|
+
readonly type: "function";
|
|
1104
|
+
}, {
|
|
1105
|
+
readonly inputs: readonly [];
|
|
1106
|
+
readonly name: "dispatchFees";
|
|
1107
|
+
readonly outputs: readonly [];
|
|
1108
|
+
readonly stateMutability: "nonpayable";
|
|
1109
|
+
readonly type: "function";
|
|
1110
|
+
}, {
|
|
1111
|
+
readonly inputs: readonly [{
|
|
1112
|
+
readonly internalType: "address";
|
|
1113
|
+
readonly name: "recipient";
|
|
1114
|
+
readonly type: "address";
|
|
1115
|
+
}];
|
|
1116
|
+
readonly name: "feeRecipient";
|
|
1117
|
+
readonly outputs: readonly [{
|
|
1118
|
+
readonly components: readonly [{
|
|
1119
|
+
readonly internalType: "address";
|
|
1120
|
+
readonly name: "recipient";
|
|
1121
|
+
readonly type: "address";
|
|
1122
|
+
}, {
|
|
1123
|
+
readonly internalType: "uint256";
|
|
1124
|
+
readonly name: "depositFeeSplit";
|
|
1125
|
+
readonly type: "uint256";
|
|
1126
|
+
}, {
|
|
1127
|
+
readonly internalType: "uint256";
|
|
1128
|
+
readonly name: "rewardFeeSplit";
|
|
1129
|
+
readonly type: "uint256";
|
|
1130
|
+
}];
|
|
1131
|
+
readonly internalType: "struct IFeeDispatcher.FeeRecipient";
|
|
1132
|
+
readonly name: "";
|
|
1133
|
+
readonly type: "tuple";
|
|
1134
|
+
}];
|
|
1135
|
+
readonly stateMutability: "view";
|
|
1136
|
+
readonly type: "function";
|
|
1137
|
+
}, {
|
|
1138
|
+
readonly inputs: readonly [{
|
|
1139
|
+
readonly internalType: "uint256";
|
|
1140
|
+
readonly name: "index";
|
|
1141
|
+
readonly type: "uint256";
|
|
1142
|
+
}];
|
|
1143
|
+
readonly name: "feeRecipientAt";
|
|
1144
|
+
readonly outputs: readonly [{
|
|
1145
|
+
readonly components: readonly [{
|
|
1146
|
+
readonly internalType: "address";
|
|
1147
|
+
readonly name: "recipient";
|
|
1148
|
+
readonly type: "address";
|
|
1149
|
+
}, {
|
|
1150
|
+
readonly internalType: "uint256";
|
|
1151
|
+
readonly name: "depositFeeSplit";
|
|
1152
|
+
readonly type: "uint256";
|
|
1153
|
+
}, {
|
|
1154
|
+
readonly internalType: "uint256";
|
|
1155
|
+
readonly name: "rewardFeeSplit";
|
|
1156
|
+
readonly type: "uint256";
|
|
1157
|
+
}];
|
|
1158
|
+
readonly internalType: "struct IFeeDispatcher.FeeRecipient";
|
|
1159
|
+
readonly name: "";
|
|
1160
|
+
readonly type: "tuple";
|
|
1161
|
+
}];
|
|
1162
|
+
readonly stateMutability: "view";
|
|
1163
|
+
readonly type: "function";
|
|
1164
|
+
}, {
|
|
1165
|
+
readonly inputs: readonly [];
|
|
1166
|
+
readonly name: "feeRecipients";
|
|
1167
|
+
readonly outputs: readonly [{
|
|
1168
|
+
readonly components: readonly [{
|
|
1169
|
+
readonly internalType: "address";
|
|
1170
|
+
readonly name: "recipient";
|
|
1171
|
+
readonly type: "address";
|
|
1172
|
+
}, {
|
|
1173
|
+
readonly internalType: "uint256";
|
|
1174
|
+
readonly name: "depositFeeSplit";
|
|
1175
|
+
readonly type: "uint256";
|
|
1176
|
+
}, {
|
|
1177
|
+
readonly internalType: "uint256";
|
|
1178
|
+
readonly name: "rewardFeeSplit";
|
|
1179
|
+
readonly type: "uint256";
|
|
1180
|
+
}];
|
|
1181
|
+
readonly internalType: "struct IFeeDispatcher.FeeRecipient[]";
|
|
1182
|
+
readonly name: "";
|
|
1183
|
+
readonly type: "tuple[]";
|
|
1184
|
+
}];
|
|
1185
|
+
readonly stateMutability: "view";
|
|
1186
|
+
readonly type: "function";
|
|
1187
|
+
}, {
|
|
1188
|
+
readonly inputs: readonly [{
|
|
1189
|
+
readonly internalType: "address";
|
|
1190
|
+
readonly name: "blockedUser";
|
|
1191
|
+
readonly type: "address";
|
|
1192
|
+
}];
|
|
1193
|
+
readonly name: "forceWithdraw";
|
|
1194
|
+
readonly outputs: readonly [{
|
|
1195
|
+
readonly internalType: "uint256";
|
|
1196
|
+
readonly name: "";
|
|
1197
|
+
readonly type: "uint256";
|
|
1198
|
+
}];
|
|
1199
|
+
readonly stateMutability: "nonpayable";
|
|
1200
|
+
readonly type: "function";
|
|
1201
|
+
}, {
|
|
1202
|
+
readonly inputs: readonly [{
|
|
1203
|
+
readonly internalType: "bytes32";
|
|
1204
|
+
readonly name: "role";
|
|
1205
|
+
readonly type: "bytes32";
|
|
1206
|
+
}];
|
|
1207
|
+
readonly name: "getRoleAdmin";
|
|
1208
|
+
readonly outputs: readonly [{
|
|
1209
|
+
readonly internalType: "bytes32";
|
|
1210
|
+
readonly name: "";
|
|
1211
|
+
readonly type: "bytes32";
|
|
1212
|
+
}];
|
|
1213
|
+
readonly stateMutability: "view";
|
|
1214
|
+
readonly type: "function";
|
|
1215
|
+
}, {
|
|
1216
|
+
readonly inputs: readonly [{
|
|
1217
|
+
readonly internalType: "bytes32";
|
|
1218
|
+
readonly name: "role";
|
|
1219
|
+
readonly type: "bytes32";
|
|
1220
|
+
}, {
|
|
1221
|
+
readonly internalType: "address";
|
|
1222
|
+
readonly name: "account";
|
|
1223
|
+
readonly type: "address";
|
|
1224
|
+
}];
|
|
1225
|
+
readonly name: "grantRole";
|
|
1226
|
+
readonly outputs: readonly [];
|
|
1227
|
+
readonly stateMutability: "nonpayable";
|
|
1228
|
+
readonly type: "function";
|
|
1229
|
+
}, {
|
|
1230
|
+
readonly inputs: readonly [{
|
|
1231
|
+
readonly internalType: "bytes32";
|
|
1232
|
+
readonly name: "role";
|
|
1233
|
+
readonly type: "bytes32";
|
|
1234
|
+
}, {
|
|
1235
|
+
readonly internalType: "address";
|
|
1236
|
+
readonly name: "account";
|
|
1237
|
+
readonly type: "address";
|
|
1238
|
+
}];
|
|
1239
|
+
readonly name: "hasRole";
|
|
1240
|
+
readonly outputs: readonly [{
|
|
1241
|
+
readonly internalType: "bool";
|
|
1242
|
+
readonly name: "";
|
|
1243
|
+
readonly type: "bool";
|
|
1244
|
+
}];
|
|
1245
|
+
readonly stateMutability: "view";
|
|
1246
|
+
readonly type: "function";
|
|
1247
|
+
}, {
|
|
1248
|
+
readonly inputs: readonly [{
|
|
1249
|
+
readonly components: readonly [{
|
|
1250
|
+
readonly internalType: "contract IERC20";
|
|
1251
|
+
readonly name: "asset_";
|
|
1252
|
+
readonly type: "address";
|
|
1253
|
+
}, {
|
|
1254
|
+
readonly internalType: "string";
|
|
1255
|
+
readonly name: "name_";
|
|
1256
|
+
readonly type: "string";
|
|
1257
|
+
}, {
|
|
1258
|
+
readonly internalType: "string";
|
|
1259
|
+
readonly name: "symbol_";
|
|
1260
|
+
readonly type: "string";
|
|
1261
|
+
}, {
|
|
1262
|
+
readonly internalType: "bool";
|
|
1263
|
+
readonly name: "transferable_";
|
|
1264
|
+
readonly type: "bool";
|
|
1265
|
+
}, {
|
|
1266
|
+
readonly internalType: "contract IConnectorRegistry";
|
|
1267
|
+
readonly name: "connectorRegistry_";
|
|
1268
|
+
readonly type: "address";
|
|
1269
|
+
}, {
|
|
1270
|
+
readonly internalType: "bytes32";
|
|
1271
|
+
readonly name: "connectorName_";
|
|
1272
|
+
readonly type: "bytes32";
|
|
1273
|
+
}, {
|
|
1274
|
+
readonly internalType: "uint256";
|
|
1275
|
+
readonly name: "depositFee_";
|
|
1276
|
+
readonly type: "uint256";
|
|
1277
|
+
}, {
|
|
1278
|
+
readonly internalType: "uint256";
|
|
1279
|
+
readonly name: "rewardFee_";
|
|
1280
|
+
readonly type: "uint256";
|
|
1281
|
+
}, {
|
|
1282
|
+
readonly internalType: "address";
|
|
1283
|
+
readonly name: "initialDefaultAdmin_";
|
|
1284
|
+
readonly type: "address";
|
|
1285
|
+
}, {
|
|
1286
|
+
readonly internalType: "address";
|
|
1287
|
+
readonly name: "initialFeeManager_";
|
|
1288
|
+
readonly type: "address";
|
|
1289
|
+
}, {
|
|
1290
|
+
readonly internalType: "address";
|
|
1291
|
+
readonly name: "initialSanctionsManager_";
|
|
1292
|
+
readonly type: "address";
|
|
1293
|
+
}, {
|
|
1294
|
+
readonly internalType: "address";
|
|
1295
|
+
readonly name: "initialClaimManager_";
|
|
1296
|
+
readonly type: "address";
|
|
1297
|
+
}, {
|
|
1298
|
+
readonly internalType: "address";
|
|
1299
|
+
readonly name: "initialPauser_";
|
|
1300
|
+
readonly type: "address";
|
|
1301
|
+
}, {
|
|
1302
|
+
readonly internalType: "address";
|
|
1303
|
+
readonly name: "initialUnpauser_";
|
|
1304
|
+
readonly type: "address";
|
|
1305
|
+
}, {
|
|
1306
|
+
readonly internalType: "uint48";
|
|
1307
|
+
readonly name: "initialDelay_";
|
|
1308
|
+
readonly type: "uint48";
|
|
1309
|
+
}, {
|
|
1310
|
+
readonly internalType: "uint8";
|
|
1311
|
+
readonly name: "offset_";
|
|
1312
|
+
readonly type: "uint8";
|
|
1313
|
+
}, {
|
|
1314
|
+
readonly internalType: "uint256";
|
|
1315
|
+
readonly name: "minTotalSupply_";
|
|
1316
|
+
readonly type: "uint256";
|
|
1317
|
+
}];
|
|
1318
|
+
readonly internalType: "struct Vault.InitializationParams";
|
|
1319
|
+
readonly name: "initializationParams";
|
|
1320
|
+
readonly type: "tuple";
|
|
1321
|
+
}, {
|
|
1322
|
+
readonly components: readonly [{
|
|
1323
|
+
readonly components: readonly [{
|
|
1324
|
+
readonly internalType: "address";
|
|
1325
|
+
readonly name: "recipient";
|
|
1326
|
+
readonly type: "address";
|
|
1327
|
+
}, {
|
|
1328
|
+
readonly internalType: "uint256";
|
|
1329
|
+
readonly name: "depositFeeSplit";
|
|
1330
|
+
readonly type: "uint256";
|
|
1331
|
+
}, {
|
|
1332
|
+
readonly internalType: "uint256";
|
|
1333
|
+
readonly name: "rewardFeeSplit";
|
|
1334
|
+
readonly type: "uint256";
|
|
1335
|
+
}];
|
|
1336
|
+
readonly internalType: "struct IFeeDispatcher.FeeRecipient[]";
|
|
1337
|
+
readonly name: "recipients_";
|
|
1338
|
+
readonly type: "tuple[]";
|
|
1339
|
+
}, {
|
|
1340
|
+
readonly internalType: "address";
|
|
1341
|
+
readonly name: "feeDispatcher_";
|
|
1342
|
+
readonly type: "address";
|
|
1343
|
+
}, {
|
|
1344
|
+
readonly internalType: "enum Vault.AdditionalRewardsStrategy";
|
|
1345
|
+
readonly name: "additionalRewardsStrategy_";
|
|
1346
|
+
readonly type: "uint8";
|
|
1347
|
+
}, {
|
|
1348
|
+
readonly internalType: "contract BlockList";
|
|
1349
|
+
readonly name: "blockList_";
|
|
1350
|
+
readonly type: "address";
|
|
1351
|
+
}, {
|
|
1352
|
+
readonly internalType: "uint256";
|
|
1353
|
+
readonly name: "pendingDepositFee_";
|
|
1354
|
+
readonly type: "uint256";
|
|
1355
|
+
}, {
|
|
1356
|
+
readonly internalType: "uint256";
|
|
1357
|
+
readonly name: "pendingRewardFee_";
|
|
1358
|
+
readonly type: "uint256";
|
|
1359
|
+
}, {
|
|
1360
|
+
readonly internalType: "contract IConnectorRegistry";
|
|
1361
|
+
readonly name: "connectorRegistry_";
|
|
1362
|
+
readonly type: "address";
|
|
1363
|
+
}, {
|
|
1364
|
+
readonly internalType: "address";
|
|
1365
|
+
readonly name: "initialFeeCollector_";
|
|
1366
|
+
readonly type: "address";
|
|
1367
|
+
}];
|
|
1368
|
+
readonly internalType: "struct Vault.UpgradeParams";
|
|
1369
|
+
readonly name: "upgradeParams";
|
|
1370
|
+
readonly type: "tuple";
|
|
1371
|
+
}];
|
|
1372
|
+
readonly name: "initialize";
|
|
1373
|
+
readonly outputs: readonly [];
|
|
1374
|
+
readonly stateMutability: "nonpayable";
|
|
1375
|
+
readonly type: "function";
|
|
1376
|
+
}, {
|
|
1377
|
+
readonly inputs: readonly [{
|
|
1378
|
+
readonly internalType: "address";
|
|
1379
|
+
readonly name: "";
|
|
1380
|
+
readonly type: "address";
|
|
1381
|
+
}];
|
|
1382
|
+
readonly name: "maxDeposit";
|
|
1383
|
+
readonly outputs: readonly [{
|
|
1384
|
+
readonly internalType: "uint256";
|
|
1385
|
+
readonly name: "";
|
|
1386
|
+
readonly type: "uint256";
|
|
1387
|
+
}];
|
|
1388
|
+
readonly stateMutability: "view";
|
|
1389
|
+
readonly type: "function";
|
|
1390
|
+
}, {
|
|
1391
|
+
readonly inputs: readonly [{
|
|
1392
|
+
readonly internalType: "address";
|
|
1393
|
+
readonly name: "";
|
|
1394
|
+
readonly type: "address";
|
|
1395
|
+
}];
|
|
1396
|
+
readonly name: "maxMint";
|
|
1397
|
+
readonly outputs: readonly [{
|
|
1398
|
+
readonly internalType: "uint256";
|
|
1399
|
+
readonly name: "";
|
|
1400
|
+
readonly type: "uint256";
|
|
1401
|
+
}];
|
|
1402
|
+
readonly stateMutability: "view";
|
|
1403
|
+
readonly type: "function";
|
|
1404
|
+
}, {
|
|
1405
|
+
readonly inputs: readonly [{
|
|
1406
|
+
readonly internalType: "address";
|
|
1407
|
+
readonly name: "owner";
|
|
1408
|
+
readonly type: "address";
|
|
1409
|
+
}];
|
|
1410
|
+
readonly name: "maxRedeem";
|
|
1411
|
+
readonly outputs: readonly [{
|
|
1412
|
+
readonly internalType: "uint256";
|
|
1413
|
+
readonly name: "";
|
|
1414
|
+
readonly type: "uint256";
|
|
1415
|
+
}];
|
|
1416
|
+
readonly stateMutability: "view";
|
|
1417
|
+
readonly type: "function";
|
|
1418
|
+
}, {
|
|
1419
|
+
readonly inputs: readonly [{
|
|
1420
|
+
readonly internalType: "address";
|
|
1421
|
+
readonly name: "owner";
|
|
1422
|
+
readonly type: "address";
|
|
1423
|
+
}];
|
|
1424
|
+
readonly name: "maxWithdraw";
|
|
1425
|
+
readonly outputs: readonly [{
|
|
1426
|
+
readonly internalType: "uint256";
|
|
1427
|
+
readonly name: "";
|
|
1428
|
+
readonly type: "uint256";
|
|
1429
|
+
}];
|
|
1430
|
+
readonly stateMutability: "view";
|
|
1431
|
+
readonly type: "function";
|
|
1432
|
+
}, {
|
|
1433
|
+
readonly inputs: readonly [{
|
|
1434
|
+
readonly internalType: "uint256";
|
|
1435
|
+
readonly name: "shares";
|
|
1436
|
+
readonly type: "uint256";
|
|
1437
|
+
}, {
|
|
1438
|
+
readonly internalType: "address";
|
|
1439
|
+
readonly name: "receiver";
|
|
1440
|
+
readonly type: "address";
|
|
1441
|
+
}];
|
|
1442
|
+
readonly name: "mint";
|
|
1443
|
+
readonly outputs: readonly [{
|
|
1444
|
+
readonly internalType: "uint256";
|
|
1445
|
+
readonly name: "";
|
|
1446
|
+
readonly type: "uint256";
|
|
1447
|
+
}];
|
|
1448
|
+
readonly stateMutability: "nonpayable";
|
|
1449
|
+
readonly type: "function";
|
|
1450
|
+
}, {
|
|
1451
|
+
readonly inputs: readonly [];
|
|
1452
|
+
readonly name: "name";
|
|
1453
|
+
readonly outputs: readonly [{
|
|
1454
|
+
readonly internalType: "string";
|
|
1455
|
+
readonly name: "";
|
|
1456
|
+
readonly type: "string";
|
|
1457
|
+
}];
|
|
1458
|
+
readonly stateMutability: "view";
|
|
1459
|
+
readonly type: "function";
|
|
1460
|
+
}, {
|
|
1461
|
+
readonly inputs: readonly [];
|
|
1462
|
+
readonly name: "owner";
|
|
1463
|
+
readonly outputs: readonly [{
|
|
1464
|
+
readonly internalType: "address";
|
|
1465
|
+
readonly name: "";
|
|
1466
|
+
readonly type: "address";
|
|
1467
|
+
}];
|
|
1468
|
+
readonly stateMutability: "view";
|
|
1469
|
+
readonly type: "function";
|
|
1470
|
+
}, {
|
|
1471
|
+
readonly inputs: readonly [];
|
|
1472
|
+
readonly name: "pauseDeposit";
|
|
1473
|
+
readonly outputs: readonly [];
|
|
1474
|
+
readonly stateMutability: "nonpayable";
|
|
1475
|
+
readonly type: "function";
|
|
1476
|
+
}, {
|
|
1477
|
+
readonly inputs: readonly [];
|
|
1478
|
+
readonly name: "pendingDefaultAdmin";
|
|
1479
|
+
readonly outputs: readonly [{
|
|
1480
|
+
readonly internalType: "address";
|
|
1481
|
+
readonly name: "newAdmin";
|
|
1482
|
+
readonly type: "address";
|
|
1483
|
+
}, {
|
|
1484
|
+
readonly internalType: "uint48";
|
|
1485
|
+
readonly name: "schedule";
|
|
1486
|
+
readonly type: "uint48";
|
|
1487
|
+
}];
|
|
1488
|
+
readonly stateMutability: "view";
|
|
1489
|
+
readonly type: "function";
|
|
1490
|
+
}, {
|
|
1491
|
+
readonly inputs: readonly [];
|
|
1492
|
+
readonly name: "pendingDefaultAdminDelay";
|
|
1493
|
+
readonly outputs: readonly [{
|
|
1494
|
+
readonly internalType: "uint48";
|
|
1495
|
+
readonly name: "newDelay";
|
|
1496
|
+
readonly type: "uint48";
|
|
1497
|
+
}, {
|
|
1498
|
+
readonly internalType: "uint48";
|
|
1499
|
+
readonly name: "schedule";
|
|
1500
|
+
readonly type: "uint48";
|
|
1501
|
+
}];
|
|
1502
|
+
readonly stateMutability: "view";
|
|
1503
|
+
readonly type: "function";
|
|
1504
|
+
}, {
|
|
1505
|
+
readonly inputs: readonly [];
|
|
1506
|
+
readonly name: "pendingDepositFee";
|
|
1507
|
+
readonly outputs: readonly [{
|
|
1508
|
+
readonly internalType: "uint256";
|
|
1509
|
+
readonly name: "";
|
|
1510
|
+
readonly type: "uint256";
|
|
1511
|
+
}];
|
|
1512
|
+
readonly stateMutability: "view";
|
|
1513
|
+
readonly type: "function";
|
|
1514
|
+
}, {
|
|
1515
|
+
readonly inputs: readonly [];
|
|
1516
|
+
readonly name: "pendingRewardFee";
|
|
1517
|
+
readonly outputs: readonly [{
|
|
1518
|
+
readonly internalType: "uint256";
|
|
1519
|
+
readonly name: "";
|
|
1520
|
+
readonly type: "uint256";
|
|
1521
|
+
}];
|
|
1522
|
+
readonly stateMutability: "view";
|
|
1523
|
+
readonly type: "function";
|
|
1524
|
+
}, {
|
|
1525
|
+
readonly inputs: readonly [{
|
|
1526
|
+
readonly internalType: "uint256";
|
|
1527
|
+
readonly name: "assets";
|
|
1528
|
+
readonly type: "uint256";
|
|
1529
|
+
}];
|
|
1530
|
+
readonly name: "previewDeposit";
|
|
1531
|
+
readonly outputs: readonly [{
|
|
1532
|
+
readonly internalType: "uint256";
|
|
1533
|
+
readonly name: "";
|
|
1534
|
+
readonly type: "uint256";
|
|
1535
|
+
}];
|
|
1536
|
+
readonly stateMutability: "view";
|
|
1537
|
+
readonly type: "function";
|
|
1538
|
+
}, {
|
|
1539
|
+
readonly inputs: readonly [{
|
|
1540
|
+
readonly internalType: "uint256";
|
|
1541
|
+
readonly name: "shares";
|
|
1542
|
+
readonly type: "uint256";
|
|
1543
|
+
}];
|
|
1544
|
+
readonly name: "previewMint";
|
|
1545
|
+
readonly outputs: readonly [{
|
|
1546
|
+
readonly internalType: "uint256";
|
|
1547
|
+
readonly name: "";
|
|
1548
|
+
readonly type: "uint256";
|
|
1549
|
+
}];
|
|
1550
|
+
readonly stateMutability: "view";
|
|
1551
|
+
readonly type: "function";
|
|
1552
|
+
}, {
|
|
1553
|
+
readonly inputs: readonly [{
|
|
1554
|
+
readonly internalType: "uint256";
|
|
1555
|
+
readonly name: "shares";
|
|
1556
|
+
readonly type: "uint256";
|
|
1557
|
+
}];
|
|
1558
|
+
readonly name: "previewRedeem";
|
|
1559
|
+
readonly outputs: readonly [{
|
|
1560
|
+
readonly internalType: "uint256";
|
|
1561
|
+
readonly name: "";
|
|
1562
|
+
readonly type: "uint256";
|
|
1563
|
+
}];
|
|
1564
|
+
readonly stateMutability: "view";
|
|
1565
|
+
readonly type: "function";
|
|
1566
|
+
}, {
|
|
1567
|
+
readonly inputs: readonly [{
|
|
1568
|
+
readonly internalType: "uint256";
|
|
1569
|
+
readonly name: "assets";
|
|
1570
|
+
readonly type: "uint256";
|
|
1571
|
+
}];
|
|
1572
|
+
readonly name: "previewWithdraw";
|
|
1573
|
+
readonly outputs: readonly [{
|
|
1574
|
+
readonly internalType: "uint256";
|
|
1575
|
+
readonly name: "";
|
|
1576
|
+
readonly type: "uint256";
|
|
1577
|
+
}];
|
|
1578
|
+
readonly stateMutability: "view";
|
|
1579
|
+
readonly type: "function";
|
|
1580
|
+
}, {
|
|
1581
|
+
readonly inputs: readonly [{
|
|
1582
|
+
readonly internalType: "uint256";
|
|
1583
|
+
readonly name: "shares";
|
|
1584
|
+
readonly type: "uint256";
|
|
1585
|
+
}, {
|
|
1586
|
+
readonly internalType: "address";
|
|
1587
|
+
readonly name: "receiver";
|
|
1588
|
+
readonly type: "address";
|
|
1589
|
+
}, {
|
|
1590
|
+
readonly internalType: "address";
|
|
1591
|
+
readonly name: "owner";
|
|
1592
|
+
readonly type: "address";
|
|
1593
|
+
}];
|
|
1594
|
+
readonly name: "redeem";
|
|
1595
|
+
readonly outputs: readonly [{
|
|
1596
|
+
readonly internalType: "uint256";
|
|
1597
|
+
readonly name: "";
|
|
1598
|
+
readonly type: "uint256";
|
|
1599
|
+
}];
|
|
1600
|
+
readonly stateMutability: "nonpayable";
|
|
1601
|
+
readonly type: "function";
|
|
1602
|
+
}, {
|
|
1603
|
+
readonly inputs: readonly [{
|
|
1604
|
+
readonly internalType: "bytes32";
|
|
1605
|
+
readonly name: "role";
|
|
1606
|
+
readonly type: "bytes32";
|
|
1607
|
+
}, {
|
|
1608
|
+
readonly internalType: "address";
|
|
1609
|
+
readonly name: "account";
|
|
1610
|
+
readonly type: "address";
|
|
1611
|
+
}];
|
|
1612
|
+
readonly name: "renounceRole";
|
|
1613
|
+
readonly outputs: readonly [];
|
|
1614
|
+
readonly stateMutability: "nonpayable";
|
|
1615
|
+
readonly type: "function";
|
|
1616
|
+
}, {
|
|
1617
|
+
readonly inputs: readonly [{
|
|
1618
|
+
readonly internalType: "bytes32";
|
|
1619
|
+
readonly name: "role";
|
|
1620
|
+
readonly type: "bytes32";
|
|
1621
|
+
}, {
|
|
1622
|
+
readonly internalType: "address";
|
|
1623
|
+
readonly name: "account";
|
|
1624
|
+
readonly type: "address";
|
|
1625
|
+
}];
|
|
1626
|
+
readonly name: "revokeRole";
|
|
1627
|
+
readonly outputs: readonly [];
|
|
1628
|
+
readonly stateMutability: "nonpayable";
|
|
1629
|
+
readonly type: "function";
|
|
1630
|
+
}, {
|
|
1631
|
+
readonly inputs: readonly [];
|
|
1632
|
+
readonly name: "rewardFee";
|
|
1633
|
+
readonly outputs: readonly [{
|
|
1634
|
+
readonly internalType: "uint256";
|
|
1635
|
+
readonly name: "";
|
|
1636
|
+
readonly type: "uint256";
|
|
1637
|
+
}];
|
|
1638
|
+
readonly stateMutability: "view";
|
|
1639
|
+
readonly type: "function";
|
|
1640
|
+
}, {
|
|
1641
|
+
readonly inputs: readonly [];
|
|
1642
|
+
readonly name: "rollbackDefaultAdminDelay";
|
|
1643
|
+
readonly outputs: readonly [];
|
|
1644
|
+
readonly stateMutability: "nonpayable";
|
|
1645
|
+
readonly type: "function";
|
|
1646
|
+
}, {
|
|
1647
|
+
readonly inputs: readonly [{
|
|
1648
|
+
readonly internalType: "enum Vault.AdditionalRewardsStrategy";
|
|
1649
|
+
readonly name: "strategy";
|
|
1650
|
+
readonly type: "uint8";
|
|
1651
|
+
}];
|
|
1652
|
+
readonly name: "setAdditionalRewardsStrategy";
|
|
1653
|
+
readonly outputs: readonly [];
|
|
1654
|
+
readonly stateMutability: "nonpayable";
|
|
1655
|
+
readonly type: "function";
|
|
1656
|
+
}, {
|
|
1657
|
+
readonly inputs: readonly [{
|
|
1658
|
+
readonly internalType: "contract BlockList";
|
|
1659
|
+
readonly name: "newBlockList";
|
|
1660
|
+
readonly type: "address";
|
|
1661
|
+
}];
|
|
1662
|
+
readonly name: "setBlockList";
|
|
1663
|
+
readonly outputs: readonly [];
|
|
1664
|
+
readonly stateMutability: "nonpayable";
|
|
1665
|
+
readonly type: "function";
|
|
1666
|
+
}, {
|
|
1667
|
+
readonly inputs: readonly [{
|
|
1668
|
+
readonly internalType: "uint256";
|
|
1669
|
+
readonly name: "newDepositFee";
|
|
1670
|
+
readonly type: "uint256";
|
|
1671
|
+
}];
|
|
1672
|
+
readonly name: "setDepositFee";
|
|
1673
|
+
readonly outputs: readonly [];
|
|
1674
|
+
readonly stateMutability: "nonpayable";
|
|
1675
|
+
readonly type: "function";
|
|
1676
|
+
}, {
|
|
1677
|
+
readonly inputs: readonly [{
|
|
1678
|
+
readonly components: readonly [{
|
|
1679
|
+
readonly internalType: "address";
|
|
1680
|
+
readonly name: "recipient";
|
|
1681
|
+
readonly type: "address";
|
|
1682
|
+
}, {
|
|
1683
|
+
readonly internalType: "uint256";
|
|
1684
|
+
readonly name: "depositFeeSplit";
|
|
1685
|
+
readonly type: "uint256";
|
|
1686
|
+
}, {
|
|
1687
|
+
readonly internalType: "uint256";
|
|
1688
|
+
readonly name: "rewardFeeSplit";
|
|
1689
|
+
readonly type: "uint256";
|
|
1690
|
+
}];
|
|
1691
|
+
readonly internalType: "struct IFeeDispatcher.FeeRecipient[]";
|
|
1692
|
+
readonly name: "recipients";
|
|
1693
|
+
readonly type: "tuple[]";
|
|
1694
|
+
}];
|
|
1695
|
+
readonly name: "setFeeRecipients";
|
|
1696
|
+
readonly outputs: readonly [];
|
|
1697
|
+
readonly stateMutability: "nonpayable";
|
|
1698
|
+
readonly type: "function";
|
|
1699
|
+
}, {
|
|
1700
|
+
readonly inputs: readonly [{
|
|
1701
|
+
readonly internalType: "uint256";
|
|
1702
|
+
readonly name: "newRewardFee";
|
|
1703
|
+
readonly type: "uint256";
|
|
1704
|
+
}];
|
|
1705
|
+
readonly name: "setRewardFee";
|
|
1706
|
+
readonly outputs: readonly [];
|
|
1707
|
+
readonly stateMutability: "nonpayable";
|
|
1708
|
+
readonly type: "function";
|
|
1709
|
+
}, {
|
|
1710
|
+
readonly inputs: readonly [{
|
|
1711
|
+
readonly internalType: "bytes4";
|
|
1712
|
+
readonly name: "interfaceId";
|
|
1713
|
+
readonly type: "bytes4";
|
|
1714
|
+
}];
|
|
1715
|
+
readonly name: "supportsInterface";
|
|
1716
|
+
readonly outputs: readonly [{
|
|
1717
|
+
readonly internalType: "bool";
|
|
1718
|
+
readonly name: "";
|
|
1719
|
+
readonly type: "bool";
|
|
1720
|
+
}];
|
|
1721
|
+
readonly stateMutability: "view";
|
|
1722
|
+
readonly type: "function";
|
|
1723
|
+
}, {
|
|
1724
|
+
readonly inputs: readonly [];
|
|
1725
|
+
readonly name: "symbol";
|
|
1726
|
+
readonly outputs: readonly [{
|
|
1727
|
+
readonly internalType: "string";
|
|
1728
|
+
readonly name: "";
|
|
1729
|
+
readonly type: "string";
|
|
1730
|
+
}];
|
|
1731
|
+
readonly stateMutability: "view";
|
|
1732
|
+
readonly type: "function";
|
|
1733
|
+
}, {
|
|
1734
|
+
readonly inputs: readonly [];
|
|
1735
|
+
readonly name: "totalAssets";
|
|
1736
|
+
readonly outputs: readonly [{
|
|
1737
|
+
readonly internalType: "uint256";
|
|
1738
|
+
readonly name: "";
|
|
1739
|
+
readonly type: "uint256";
|
|
1740
|
+
}];
|
|
1741
|
+
readonly stateMutability: "view";
|
|
1742
|
+
readonly type: "function";
|
|
1743
|
+
}, {
|
|
1744
|
+
readonly inputs: readonly [];
|
|
1745
|
+
readonly name: "totalSupply";
|
|
1746
|
+
readonly outputs: readonly [{
|
|
1747
|
+
readonly internalType: "uint256";
|
|
1748
|
+
readonly name: "";
|
|
1749
|
+
readonly type: "uint256";
|
|
1750
|
+
}];
|
|
1751
|
+
readonly stateMutability: "view";
|
|
1752
|
+
readonly type: "function";
|
|
1753
|
+
}, {
|
|
1754
|
+
readonly inputs: readonly [{
|
|
1755
|
+
readonly internalType: "address";
|
|
1756
|
+
readonly name: "to";
|
|
1757
|
+
readonly type: "address";
|
|
1758
|
+
}, {
|
|
1759
|
+
readonly internalType: "uint256";
|
|
1760
|
+
readonly name: "value";
|
|
1761
|
+
readonly type: "uint256";
|
|
1762
|
+
}];
|
|
1763
|
+
readonly name: "transfer";
|
|
1764
|
+
readonly outputs: readonly [{
|
|
1765
|
+
readonly internalType: "bool";
|
|
1766
|
+
readonly name: "";
|
|
1767
|
+
readonly type: "bool";
|
|
1768
|
+
}];
|
|
1769
|
+
readonly stateMutability: "nonpayable";
|
|
1770
|
+
readonly type: "function";
|
|
1771
|
+
}, {
|
|
1772
|
+
readonly inputs: readonly [{
|
|
1773
|
+
readonly internalType: "address";
|
|
1774
|
+
readonly name: "from";
|
|
1775
|
+
readonly type: "address";
|
|
1776
|
+
}, {
|
|
1777
|
+
readonly internalType: "address";
|
|
1778
|
+
readonly name: "to";
|
|
1779
|
+
readonly type: "address";
|
|
1780
|
+
}, {
|
|
1781
|
+
readonly internalType: "uint256";
|
|
1782
|
+
readonly name: "value";
|
|
1783
|
+
readonly type: "uint256";
|
|
1784
|
+
}];
|
|
1785
|
+
readonly name: "transferFrom";
|
|
1786
|
+
readonly outputs: readonly [{
|
|
1787
|
+
readonly internalType: "bool";
|
|
1788
|
+
readonly name: "";
|
|
1789
|
+
readonly type: "bool";
|
|
1790
|
+
}];
|
|
1791
|
+
readonly stateMutability: "nonpayable";
|
|
1792
|
+
readonly type: "function";
|
|
1793
|
+
}, {
|
|
1794
|
+
readonly inputs: readonly [];
|
|
1795
|
+
readonly name: "transferable";
|
|
1796
|
+
readonly outputs: readonly [{
|
|
1797
|
+
readonly internalType: "bool";
|
|
1798
|
+
readonly name: "";
|
|
1799
|
+
readonly type: "bool";
|
|
1800
|
+
}];
|
|
1801
|
+
readonly stateMutability: "view";
|
|
1802
|
+
readonly type: "function";
|
|
1803
|
+
}, {
|
|
1804
|
+
readonly inputs: readonly [];
|
|
1805
|
+
readonly name: "unpauseDeposit";
|
|
1806
|
+
readonly outputs: readonly [];
|
|
1807
|
+
readonly stateMutability: "nonpayable";
|
|
1808
|
+
readonly type: "function";
|
|
1809
|
+
}, {
|
|
1810
|
+
readonly inputs: readonly [{
|
|
1811
|
+
readonly components: readonly [{
|
|
1812
|
+
readonly components: readonly [{
|
|
1813
|
+
readonly internalType: "address";
|
|
1814
|
+
readonly name: "recipient";
|
|
1815
|
+
readonly type: "address";
|
|
1816
|
+
}, {
|
|
1817
|
+
readonly internalType: "uint256";
|
|
1818
|
+
readonly name: "depositFeeSplit";
|
|
1819
|
+
readonly type: "uint256";
|
|
1820
|
+
}, {
|
|
1821
|
+
readonly internalType: "uint256";
|
|
1822
|
+
readonly name: "rewardFeeSplit";
|
|
1823
|
+
readonly type: "uint256";
|
|
1824
|
+
}];
|
|
1825
|
+
readonly internalType: "struct IFeeDispatcher.FeeRecipient[]";
|
|
1826
|
+
readonly name: "recipients_";
|
|
1827
|
+
readonly type: "tuple[]";
|
|
1828
|
+
}, {
|
|
1829
|
+
readonly internalType: "address";
|
|
1830
|
+
readonly name: "feeDispatcher_";
|
|
1831
|
+
readonly type: "address";
|
|
1832
|
+
}, {
|
|
1833
|
+
readonly internalType: "enum Vault.AdditionalRewardsStrategy";
|
|
1834
|
+
readonly name: "additionalRewardsStrategy_";
|
|
1835
|
+
readonly type: "uint8";
|
|
1836
|
+
}, {
|
|
1837
|
+
readonly internalType: "contract BlockList";
|
|
1838
|
+
readonly name: "blockList_";
|
|
1839
|
+
readonly type: "address";
|
|
1840
|
+
}, {
|
|
1841
|
+
readonly internalType: "uint256";
|
|
1842
|
+
readonly name: "pendingDepositFee_";
|
|
1843
|
+
readonly type: "uint256";
|
|
1844
|
+
}, {
|
|
1845
|
+
readonly internalType: "uint256";
|
|
1846
|
+
readonly name: "pendingRewardFee_";
|
|
1847
|
+
readonly type: "uint256";
|
|
1848
|
+
}, {
|
|
1849
|
+
readonly internalType: "contract IConnectorRegistry";
|
|
1850
|
+
readonly name: "connectorRegistry_";
|
|
1851
|
+
readonly type: "address";
|
|
1852
|
+
}, {
|
|
1853
|
+
readonly internalType: "address";
|
|
1854
|
+
readonly name: "initialFeeCollector_";
|
|
1855
|
+
readonly type: "address";
|
|
1856
|
+
}];
|
|
1857
|
+
readonly internalType: "struct Vault.UpgradeParams";
|
|
1858
|
+
readonly name: "upgradeParams";
|
|
1859
|
+
readonly type: "tuple";
|
|
1860
|
+
}];
|
|
1861
|
+
readonly name: "upgrade";
|
|
1862
|
+
readonly outputs: readonly [];
|
|
1863
|
+
readonly stateMutability: "nonpayable";
|
|
1864
|
+
readonly type: "function";
|
|
1865
|
+
}, {
|
|
1866
|
+
readonly inputs: readonly [];
|
|
1867
|
+
readonly name: "vaultFactory";
|
|
1868
|
+
readonly outputs: readonly [{
|
|
1869
|
+
readonly internalType: "address";
|
|
1870
|
+
readonly name: "";
|
|
1871
|
+
readonly type: "address";
|
|
1872
|
+
}];
|
|
1873
|
+
readonly stateMutability: "view";
|
|
1874
|
+
readonly type: "function";
|
|
1875
|
+
}, {
|
|
1876
|
+
readonly inputs: readonly [{
|
|
1877
|
+
readonly internalType: "uint256";
|
|
1878
|
+
readonly name: "assets";
|
|
1879
|
+
readonly type: "uint256";
|
|
1880
|
+
}, {
|
|
1881
|
+
readonly internalType: "address";
|
|
1882
|
+
readonly name: "receiver";
|
|
1883
|
+
readonly type: "address";
|
|
1884
|
+
}, {
|
|
1885
|
+
readonly internalType: "address";
|
|
1886
|
+
readonly name: "owner";
|
|
1887
|
+
readonly type: "address";
|
|
1888
|
+
}];
|
|
1889
|
+
readonly name: "withdraw";
|
|
1890
|
+
readonly outputs: readonly [{
|
|
1891
|
+
readonly internalType: "uint256";
|
|
1892
|
+
readonly name: "";
|
|
1893
|
+
readonly type: "uint256";
|
|
1894
|
+
}];
|
|
1895
|
+
readonly stateMutability: "nonpayable";
|
|
1896
|
+
readonly type: "function";
|
|
1897
|
+
}];
|
|
1898
|
+
/**
|
|
1899
|
+
* Type-safe ABI for Vault_json
|
|
1900
|
+
*/
|
|
1901
|
+
export type Vault_jsonAbi = typeof Vault_jsonAbi;
|
|
1902
|
+
/**
|
|
1903
|
+
* Contract instance type for Vault_json
|
|
1904
|
+
*/
|
|
1905
|
+
export type Vault_jsonContract = any;
|
|
1906
|
+
/**
|
|
1907
|
+
* Vault_json Contract Class
|
|
1908
|
+
*
|
|
1909
|
+
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
1910
|
+
*
|
|
1911
|
+
* @example
|
|
1912
|
+
* ```typescript
|
|
1913
|
+
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
1914
|
+
* import { mainnet } from 'viem/chains';
|
|
1915
|
+
* import { Vault_json } from 'Vault_json';
|
|
1916
|
+
*
|
|
1917
|
+
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
1918
|
+
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
1919
|
+
*
|
|
1920
|
+
* const contract = new Vault_json('0x...', { publicClient, walletClient });
|
|
1921
|
+
*
|
|
1922
|
+
* // Read functions
|
|
1923
|
+
* const result = await contract.balanceOf('0x...');
|
|
1924
|
+
*
|
|
1925
|
+
* // Write functions
|
|
1926
|
+
* const hash = await contract.transfer('0x...', 1000n);
|
|
1927
|
+
*
|
|
1928
|
+
* // Simulate transactions (dry-run)
|
|
1929
|
+
* const simulation = await contract.simulate.transfer('0x...', 1000n);
|
|
1930
|
+
* console.log('Gas estimate:', simulation.request.gas);
|
|
1931
|
+
*
|
|
1932
|
+
* // Watch events
|
|
1933
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
1934
|
+
* console.log('Transfer event:', event);
|
|
1935
|
+
* });
|
|
1936
|
+
* ```
|
|
1937
|
+
*/
|
|
1938
|
+
export declare class Vault_json {
|
|
1939
|
+
private contract;
|
|
1940
|
+
private contractAddress;
|
|
1941
|
+
private publicClient;
|
|
1942
|
+
constructor(address: Address, clients: {
|
|
1943
|
+
publicClient: PublicClient;
|
|
1944
|
+
walletClient?: WalletClient;
|
|
1945
|
+
});
|
|
1946
|
+
/**
|
|
1947
|
+
* Get the contract address
|
|
1948
|
+
*/
|
|
1949
|
+
get address(): Address;
|
|
1950
|
+
/**
|
|
1951
|
+
* Get the underlying viem contract instance
|
|
1952
|
+
*/
|
|
1953
|
+
getContract(): Vault_jsonContract;
|
|
1954
|
+
/**
|
|
1955
|
+
* CLAIM_MANAGER_ROLE
|
|
1956
|
+
* view
|
|
1957
|
+
*/
|
|
1958
|
+
CLAIM_MANAGER_ROLE(): Promise<`0x${string}`>;
|
|
1959
|
+
/**
|
|
1960
|
+
* DEFAULT_ADMIN_ROLE
|
|
1961
|
+
* view
|
|
1962
|
+
*/
|
|
1963
|
+
DEFAULT_ADMIN_ROLE(): Promise<`0x${string}`>;
|
|
1964
|
+
/**
|
|
1965
|
+
* FEE_COLLECTOR_ROLE
|
|
1966
|
+
* view
|
|
1967
|
+
*/
|
|
1968
|
+
FEE_COLLECTOR_ROLE(): Promise<`0x${string}`>;
|
|
1969
|
+
/**
|
|
1970
|
+
* FEE_MANAGER_ROLE
|
|
1971
|
+
* view
|
|
1972
|
+
*/
|
|
1973
|
+
FEE_MANAGER_ROLE(): Promise<`0x${string}`>;
|
|
1974
|
+
/**
|
|
1975
|
+
* PAUSER_ROLE
|
|
1976
|
+
* view
|
|
1977
|
+
*/
|
|
1978
|
+
PAUSER_ROLE(): Promise<`0x${string}`>;
|
|
1979
|
+
/**
|
|
1980
|
+
* SANCTIONS_MANAGER_ROLE
|
|
1981
|
+
* view
|
|
1982
|
+
*/
|
|
1983
|
+
SANCTIONS_MANAGER_ROLE(): Promise<`0x${string}`>;
|
|
1984
|
+
/**
|
|
1985
|
+
* SPENDER_ROLE
|
|
1986
|
+
* view
|
|
1987
|
+
*/
|
|
1988
|
+
SPENDER_ROLE(): Promise<`0x${string}`>;
|
|
1989
|
+
/**
|
|
1990
|
+
* UNPAUSER_ROLE
|
|
1991
|
+
* view
|
|
1992
|
+
*/
|
|
1993
|
+
UNPAUSER_ROLE(): Promise<`0x${string}`>;
|
|
1994
|
+
/**
|
|
1995
|
+
* additionalRewardsStrategy
|
|
1996
|
+
* view
|
|
1997
|
+
*/
|
|
1998
|
+
additionalRewardsStrategy(): Promise<bigint>;
|
|
1999
|
+
/**
|
|
2000
|
+
* allowance
|
|
2001
|
+
* view
|
|
2002
|
+
*/
|
|
2003
|
+
allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
|
|
2004
|
+
/**
|
|
2005
|
+
* asset
|
|
2006
|
+
* view
|
|
2007
|
+
*/
|
|
2008
|
+
asset(): Promise<`0x${string}`>;
|
|
2009
|
+
/**
|
|
2010
|
+
* balanceOf
|
|
2011
|
+
* view
|
|
2012
|
+
*/
|
|
2013
|
+
balanceOf(account: `0x${string}`): Promise<bigint>;
|
|
2014
|
+
/**
|
|
2015
|
+
* blockList
|
|
2016
|
+
* view
|
|
2017
|
+
*/
|
|
2018
|
+
blockList(): Promise<`0x${string}`>;
|
|
2019
|
+
/**
|
|
2020
|
+
* collectableRewardFees
|
|
2021
|
+
* view
|
|
2022
|
+
*/
|
|
2023
|
+
collectableRewardFees(): Promise<bigint>;
|
|
2024
|
+
/**
|
|
2025
|
+
* connectorName
|
|
2026
|
+
* view
|
|
2027
|
+
*/
|
|
2028
|
+
connectorName(): Promise<`0x${string}`>;
|
|
2029
|
+
/**
|
|
2030
|
+
* connectorRegistry
|
|
2031
|
+
* view
|
|
2032
|
+
*/
|
|
2033
|
+
connectorRegistry(): Promise<`0x${string}`>;
|
|
2034
|
+
/**
|
|
2035
|
+
* convertToAssets
|
|
2036
|
+
* view
|
|
2037
|
+
*/
|
|
2038
|
+
convertToAssets(shares: bigint): Promise<bigint>;
|
|
2039
|
+
/**
|
|
2040
|
+
* convertToShares
|
|
2041
|
+
* view
|
|
2042
|
+
*/
|
|
2043
|
+
convertToShares(assets: bigint): Promise<bigint>;
|
|
2044
|
+
/**
|
|
2045
|
+
* decimals
|
|
2046
|
+
* view
|
|
2047
|
+
*/
|
|
2048
|
+
decimals(): Promise<bigint>;
|
|
2049
|
+
/**
|
|
2050
|
+
* defaultAdmin
|
|
2051
|
+
* view
|
|
2052
|
+
*/
|
|
2053
|
+
defaultAdmin(): Promise<`0x${string}`>;
|
|
2054
|
+
/**
|
|
2055
|
+
* defaultAdminDelay
|
|
2056
|
+
* view
|
|
2057
|
+
*/
|
|
2058
|
+
defaultAdminDelay(): Promise<bigint>;
|
|
2059
|
+
/**
|
|
2060
|
+
* defaultAdminDelayIncreaseWait
|
|
2061
|
+
* view
|
|
2062
|
+
*/
|
|
2063
|
+
defaultAdminDelayIncreaseWait(): Promise<bigint>;
|
|
2064
|
+
/**
|
|
2065
|
+
* depositFee
|
|
2066
|
+
* view
|
|
2067
|
+
*/
|
|
2068
|
+
depositFee(): Promise<bigint>;
|
|
2069
|
+
/**
|
|
2070
|
+
* feeRecipient
|
|
2071
|
+
* view
|
|
2072
|
+
*/
|
|
2073
|
+
feeRecipient(recipient: `0x${string}`): Promise<IFeeDispatcher_FeeRecipient>;
|
|
2074
|
+
/**
|
|
2075
|
+
* feeRecipientAt
|
|
2076
|
+
* view
|
|
2077
|
+
*/
|
|
2078
|
+
feeRecipientAt(index: bigint): Promise<IFeeDispatcher_FeeRecipient>;
|
|
2079
|
+
/**
|
|
2080
|
+
* feeRecipients
|
|
2081
|
+
* view
|
|
2082
|
+
*/
|
|
2083
|
+
feeRecipients(): Promise<IFeeDispatcher_FeeRecipient[]>;
|
|
2084
|
+
/**
|
|
2085
|
+
* getRoleAdmin
|
|
2086
|
+
* view
|
|
2087
|
+
*/
|
|
2088
|
+
getRoleAdmin(role: `0x${string}`): Promise<`0x${string}`>;
|
|
2089
|
+
/**
|
|
2090
|
+
* hasRole
|
|
2091
|
+
* view
|
|
2092
|
+
*/
|
|
2093
|
+
hasRole(role: `0x${string}`, account: `0x${string}`): Promise<boolean>;
|
|
2094
|
+
/**
|
|
2095
|
+
* maxDeposit
|
|
2096
|
+
* view
|
|
2097
|
+
*/
|
|
2098
|
+
maxDeposit(arg0: `0x${string}`): Promise<bigint>;
|
|
2099
|
+
/**
|
|
2100
|
+
* maxMint
|
|
2101
|
+
* view
|
|
2102
|
+
*/
|
|
2103
|
+
maxMint(arg0: `0x${string}`): Promise<bigint>;
|
|
2104
|
+
/**
|
|
2105
|
+
* maxRedeem
|
|
2106
|
+
* view
|
|
2107
|
+
*/
|
|
2108
|
+
maxRedeem(owner: `0x${string}`): Promise<bigint>;
|
|
2109
|
+
/**
|
|
2110
|
+
* maxWithdraw
|
|
2111
|
+
* view
|
|
2112
|
+
*/
|
|
2113
|
+
maxWithdraw(owner: `0x${string}`): Promise<bigint>;
|
|
2114
|
+
/**
|
|
2115
|
+
* name
|
|
2116
|
+
* view
|
|
2117
|
+
*/
|
|
2118
|
+
name(): Promise<string>;
|
|
2119
|
+
/**
|
|
2120
|
+
* owner
|
|
2121
|
+
* view
|
|
2122
|
+
*/
|
|
2123
|
+
owner(): Promise<`0x${string}`>;
|
|
2124
|
+
/**
|
|
2125
|
+
* pendingDefaultAdmin
|
|
2126
|
+
* view
|
|
2127
|
+
*/
|
|
2128
|
+
pendingDefaultAdmin(): Promise<[`0x${string}`, bigint]>;
|
|
2129
|
+
/**
|
|
2130
|
+
* pendingDefaultAdminDelay
|
|
2131
|
+
* view
|
|
2132
|
+
*/
|
|
2133
|
+
pendingDefaultAdminDelay(): Promise<[bigint, bigint]>;
|
|
2134
|
+
/**
|
|
2135
|
+
* pendingDepositFee
|
|
2136
|
+
* view
|
|
2137
|
+
*/
|
|
2138
|
+
pendingDepositFee(): Promise<bigint>;
|
|
2139
|
+
/**
|
|
2140
|
+
* pendingRewardFee
|
|
2141
|
+
* view
|
|
2142
|
+
*/
|
|
2143
|
+
pendingRewardFee(): Promise<bigint>;
|
|
2144
|
+
/**
|
|
2145
|
+
* previewDeposit
|
|
2146
|
+
* view
|
|
2147
|
+
*/
|
|
2148
|
+
previewDeposit(assets: bigint): Promise<bigint>;
|
|
2149
|
+
/**
|
|
2150
|
+
* previewMint
|
|
2151
|
+
* view
|
|
2152
|
+
*/
|
|
2153
|
+
previewMint(shares: bigint): Promise<bigint>;
|
|
2154
|
+
/**
|
|
2155
|
+
* previewRedeem
|
|
2156
|
+
* view
|
|
2157
|
+
*/
|
|
2158
|
+
previewRedeem(shares: bigint): Promise<bigint>;
|
|
2159
|
+
/**
|
|
2160
|
+
* previewWithdraw
|
|
2161
|
+
* view
|
|
2162
|
+
*/
|
|
2163
|
+
previewWithdraw(assets: bigint): Promise<bigint>;
|
|
2164
|
+
/**
|
|
2165
|
+
* rewardFee
|
|
2166
|
+
* view
|
|
2167
|
+
*/
|
|
2168
|
+
rewardFee(): Promise<bigint>;
|
|
2169
|
+
/**
|
|
2170
|
+
* supportsInterface
|
|
2171
|
+
* view
|
|
2172
|
+
*/
|
|
2173
|
+
supportsInterface(interfaceId: `0x${string}`): Promise<boolean>;
|
|
2174
|
+
/**
|
|
2175
|
+
* symbol
|
|
2176
|
+
* view
|
|
2177
|
+
*/
|
|
2178
|
+
symbol(): Promise<string>;
|
|
2179
|
+
/**
|
|
2180
|
+
* totalAssets
|
|
2181
|
+
* view
|
|
2182
|
+
*/
|
|
2183
|
+
totalAssets(): Promise<bigint>;
|
|
2184
|
+
/**
|
|
2185
|
+
* totalSupply
|
|
2186
|
+
* view
|
|
2187
|
+
*/
|
|
2188
|
+
totalSupply(): Promise<bigint>;
|
|
2189
|
+
/**
|
|
2190
|
+
* transferable
|
|
2191
|
+
* view
|
|
2192
|
+
*/
|
|
2193
|
+
transferable(): Promise<boolean>;
|
|
2194
|
+
/**
|
|
2195
|
+
* vaultFactory
|
|
2196
|
+
* view
|
|
2197
|
+
*/
|
|
2198
|
+
vaultFactory(): Promise<`0x${string}`>;
|
|
2199
|
+
/**
|
|
2200
|
+
* acceptDefaultAdminTransfer
|
|
2201
|
+
* nonpayable
|
|
2202
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2203
|
+
*/
|
|
2204
|
+
acceptDefaultAdminTransfer(options?: {
|
|
2205
|
+
accessList?: import('viem').AccessList;
|
|
2206
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2207
|
+
chain?: import('viem').Chain | null;
|
|
2208
|
+
dataSuffix?: `0x${string}`;
|
|
2209
|
+
gas?: bigint;
|
|
2210
|
+
gasPrice?: bigint;
|
|
2211
|
+
maxFeePerGas?: bigint;
|
|
2212
|
+
maxPriorityFeePerGas?: bigint;
|
|
2213
|
+
nonce?: number;
|
|
2214
|
+
value?: bigint;
|
|
2215
|
+
}): Promise<`0x${string}`>;
|
|
2216
|
+
/**
|
|
2217
|
+
* approve
|
|
2218
|
+
* nonpayable
|
|
2219
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2220
|
+
*/
|
|
2221
|
+
approve(spender: `0x${string}`, value: bigint, options?: {
|
|
2222
|
+
accessList?: import('viem').AccessList;
|
|
2223
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2224
|
+
chain?: import('viem').Chain | null;
|
|
2225
|
+
dataSuffix?: `0x${string}`;
|
|
2226
|
+
gas?: bigint;
|
|
2227
|
+
gasPrice?: bigint;
|
|
2228
|
+
maxFeePerGas?: bigint;
|
|
2229
|
+
maxPriorityFeePerGas?: bigint;
|
|
2230
|
+
nonce?: number;
|
|
2231
|
+
value?: bigint;
|
|
2232
|
+
}): Promise<`0x${string}`>;
|
|
2233
|
+
/**
|
|
2234
|
+
* beginDefaultAdminTransfer
|
|
2235
|
+
* nonpayable
|
|
2236
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2237
|
+
*/
|
|
2238
|
+
beginDefaultAdminTransfer(newAdmin: `0x${string}`, options?: {
|
|
2239
|
+
accessList?: import('viem').AccessList;
|
|
2240
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2241
|
+
chain?: import('viem').Chain | null;
|
|
2242
|
+
dataSuffix?: `0x${string}`;
|
|
2243
|
+
gas?: bigint;
|
|
2244
|
+
gasPrice?: bigint;
|
|
2245
|
+
maxFeePerGas?: bigint;
|
|
2246
|
+
maxPriorityFeePerGas?: bigint;
|
|
2247
|
+
nonce?: number;
|
|
2248
|
+
value?: bigint;
|
|
2249
|
+
}): Promise<`0x${string}`>;
|
|
2250
|
+
/**
|
|
2251
|
+
* cancelDefaultAdminTransfer
|
|
2252
|
+
* nonpayable
|
|
2253
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2254
|
+
*/
|
|
2255
|
+
cancelDefaultAdminTransfer(options?: {
|
|
2256
|
+
accessList?: import('viem').AccessList;
|
|
2257
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2258
|
+
chain?: import('viem').Chain | null;
|
|
2259
|
+
dataSuffix?: `0x${string}`;
|
|
2260
|
+
gas?: bigint;
|
|
2261
|
+
gasPrice?: bigint;
|
|
2262
|
+
maxFeePerGas?: bigint;
|
|
2263
|
+
maxPriorityFeePerGas?: bigint;
|
|
2264
|
+
nonce?: number;
|
|
2265
|
+
value?: bigint;
|
|
2266
|
+
}): Promise<`0x${string}`>;
|
|
2267
|
+
/**
|
|
2268
|
+
* changeDefaultAdminDelay
|
|
2269
|
+
* nonpayable
|
|
2270
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2271
|
+
*/
|
|
2272
|
+
changeDefaultAdminDelay(newDelay: bigint, options?: {
|
|
2273
|
+
accessList?: import('viem').AccessList;
|
|
2274
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2275
|
+
chain?: import('viem').Chain | null;
|
|
2276
|
+
dataSuffix?: `0x${string}`;
|
|
2277
|
+
gas?: bigint;
|
|
2278
|
+
gasPrice?: bigint;
|
|
2279
|
+
maxFeePerGas?: bigint;
|
|
2280
|
+
maxPriorityFeePerGas?: bigint;
|
|
2281
|
+
nonce?: number;
|
|
2282
|
+
value?: bigint;
|
|
2283
|
+
}): Promise<`0x${string}`>;
|
|
2284
|
+
/**
|
|
2285
|
+
* claimAdditionalRewards
|
|
2286
|
+
* nonpayable
|
|
2287
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2288
|
+
*/
|
|
2289
|
+
claimAdditionalRewards(rewardsAsset: `0x${string}`, payload: `0x${string}`, options?: {
|
|
2290
|
+
accessList?: import('viem').AccessList;
|
|
2291
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2292
|
+
chain?: import('viem').Chain | null;
|
|
2293
|
+
dataSuffix?: `0x${string}`;
|
|
2294
|
+
gas?: bigint;
|
|
2295
|
+
gasPrice?: bigint;
|
|
2296
|
+
maxFeePerGas?: bigint;
|
|
2297
|
+
maxPriorityFeePerGas?: bigint;
|
|
2298
|
+
nonce?: number;
|
|
2299
|
+
value?: bigint;
|
|
2300
|
+
}): Promise<`0x${string}`>;
|
|
2301
|
+
/**
|
|
2302
|
+
* collectRewardFees
|
|
2303
|
+
* nonpayable
|
|
2304
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2305
|
+
*/
|
|
2306
|
+
collectRewardFees(options?: {
|
|
2307
|
+
accessList?: import('viem').AccessList;
|
|
2308
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2309
|
+
chain?: import('viem').Chain | null;
|
|
2310
|
+
dataSuffix?: `0x${string}`;
|
|
2311
|
+
gas?: bigint;
|
|
2312
|
+
gasPrice?: bigint;
|
|
2313
|
+
maxFeePerGas?: bigint;
|
|
2314
|
+
maxPriorityFeePerGas?: bigint;
|
|
2315
|
+
nonce?: number;
|
|
2316
|
+
value?: bigint;
|
|
2317
|
+
}): Promise<`0x${string}`>;
|
|
2318
|
+
/**
|
|
2319
|
+
* delegateToFactory
|
|
2320
|
+
* nonpayable
|
|
2321
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2322
|
+
*/
|
|
2323
|
+
delegateToFactory(data: `0x${string}`, options?: {
|
|
2324
|
+
accessList?: import('viem').AccessList;
|
|
2325
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2326
|
+
chain?: import('viem').Chain | null;
|
|
2327
|
+
dataSuffix?: `0x${string}`;
|
|
2328
|
+
gas?: bigint;
|
|
2329
|
+
gasPrice?: bigint;
|
|
2330
|
+
maxFeePerGas?: bigint;
|
|
2331
|
+
maxPriorityFeePerGas?: bigint;
|
|
2332
|
+
nonce?: number;
|
|
2333
|
+
value?: bigint;
|
|
2334
|
+
}): Promise<`0x${string}`>;
|
|
2335
|
+
/**
|
|
2336
|
+
* deposit
|
|
2337
|
+
* nonpayable
|
|
2338
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2339
|
+
*/
|
|
2340
|
+
deposit(assets: bigint, receiver: `0x${string}`, options?: {
|
|
2341
|
+
accessList?: import('viem').AccessList;
|
|
2342
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2343
|
+
chain?: import('viem').Chain | null;
|
|
2344
|
+
dataSuffix?: `0x${string}`;
|
|
2345
|
+
gas?: bigint;
|
|
2346
|
+
gasPrice?: bigint;
|
|
2347
|
+
maxFeePerGas?: bigint;
|
|
2348
|
+
maxPriorityFeePerGas?: bigint;
|
|
2349
|
+
nonce?: number;
|
|
2350
|
+
value?: bigint;
|
|
2351
|
+
}): Promise<`0x${string}`>;
|
|
2352
|
+
/**
|
|
2353
|
+
* dispatchFees
|
|
2354
|
+
* nonpayable
|
|
2355
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2356
|
+
*/
|
|
2357
|
+
dispatchFees(options?: {
|
|
2358
|
+
accessList?: import('viem').AccessList;
|
|
2359
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2360
|
+
chain?: import('viem').Chain | null;
|
|
2361
|
+
dataSuffix?: `0x${string}`;
|
|
2362
|
+
gas?: bigint;
|
|
2363
|
+
gasPrice?: bigint;
|
|
2364
|
+
maxFeePerGas?: bigint;
|
|
2365
|
+
maxPriorityFeePerGas?: bigint;
|
|
2366
|
+
nonce?: number;
|
|
2367
|
+
value?: bigint;
|
|
2368
|
+
}): Promise<`0x${string}`>;
|
|
2369
|
+
/**
|
|
2370
|
+
* forceWithdraw
|
|
2371
|
+
* nonpayable
|
|
2372
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2373
|
+
*/
|
|
2374
|
+
forceWithdraw(blockedUser: `0x${string}`, options?: {
|
|
2375
|
+
accessList?: import('viem').AccessList;
|
|
2376
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2377
|
+
chain?: import('viem').Chain | null;
|
|
2378
|
+
dataSuffix?: `0x${string}`;
|
|
2379
|
+
gas?: bigint;
|
|
2380
|
+
gasPrice?: bigint;
|
|
2381
|
+
maxFeePerGas?: bigint;
|
|
2382
|
+
maxPriorityFeePerGas?: bigint;
|
|
2383
|
+
nonce?: number;
|
|
2384
|
+
value?: bigint;
|
|
2385
|
+
}): Promise<`0x${string}`>;
|
|
2386
|
+
/**
|
|
2387
|
+
* grantRole
|
|
2388
|
+
* nonpayable
|
|
2389
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2390
|
+
*/
|
|
2391
|
+
grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
|
|
2392
|
+
accessList?: import('viem').AccessList;
|
|
2393
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2394
|
+
chain?: import('viem').Chain | null;
|
|
2395
|
+
dataSuffix?: `0x${string}`;
|
|
2396
|
+
gas?: bigint;
|
|
2397
|
+
gasPrice?: bigint;
|
|
2398
|
+
maxFeePerGas?: bigint;
|
|
2399
|
+
maxPriorityFeePerGas?: bigint;
|
|
2400
|
+
nonce?: number;
|
|
2401
|
+
value?: bigint;
|
|
2402
|
+
}): Promise<`0x${string}`>;
|
|
2403
|
+
/**
|
|
2404
|
+
* initialize
|
|
2405
|
+
* nonpayable
|
|
2406
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2407
|
+
*/
|
|
2408
|
+
initialize(initializationParams: Vault_InitializationParams, upgradeParams: Vault_UpgradeParams, options?: {
|
|
2409
|
+
accessList?: import('viem').AccessList;
|
|
2410
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2411
|
+
chain?: import('viem').Chain | null;
|
|
2412
|
+
dataSuffix?: `0x${string}`;
|
|
2413
|
+
gas?: bigint;
|
|
2414
|
+
gasPrice?: bigint;
|
|
2415
|
+
maxFeePerGas?: bigint;
|
|
2416
|
+
maxPriorityFeePerGas?: bigint;
|
|
2417
|
+
nonce?: number;
|
|
2418
|
+
value?: bigint;
|
|
2419
|
+
}): Promise<`0x${string}`>;
|
|
2420
|
+
/**
|
|
2421
|
+
* mint
|
|
2422
|
+
* nonpayable
|
|
2423
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2424
|
+
*/
|
|
2425
|
+
mint(shares: bigint, receiver: `0x${string}`, options?: {
|
|
2426
|
+
accessList?: import('viem').AccessList;
|
|
2427
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2428
|
+
chain?: import('viem').Chain | null;
|
|
2429
|
+
dataSuffix?: `0x${string}`;
|
|
2430
|
+
gas?: bigint;
|
|
2431
|
+
gasPrice?: bigint;
|
|
2432
|
+
maxFeePerGas?: bigint;
|
|
2433
|
+
maxPriorityFeePerGas?: bigint;
|
|
2434
|
+
nonce?: number;
|
|
2435
|
+
value?: bigint;
|
|
2436
|
+
}): Promise<`0x${string}`>;
|
|
2437
|
+
/**
|
|
2438
|
+
* pauseDeposit
|
|
2439
|
+
* nonpayable
|
|
2440
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2441
|
+
*/
|
|
2442
|
+
pauseDeposit(options?: {
|
|
2443
|
+
accessList?: import('viem').AccessList;
|
|
2444
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2445
|
+
chain?: import('viem').Chain | null;
|
|
2446
|
+
dataSuffix?: `0x${string}`;
|
|
2447
|
+
gas?: bigint;
|
|
2448
|
+
gasPrice?: bigint;
|
|
2449
|
+
maxFeePerGas?: bigint;
|
|
2450
|
+
maxPriorityFeePerGas?: bigint;
|
|
2451
|
+
nonce?: number;
|
|
2452
|
+
value?: bigint;
|
|
2453
|
+
}): Promise<`0x${string}`>;
|
|
2454
|
+
/**
|
|
2455
|
+
* redeem
|
|
2456
|
+
* nonpayable
|
|
2457
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2458
|
+
*/
|
|
2459
|
+
redeem(shares: bigint, receiver: `0x${string}`, owner: `0x${string}`, options?: {
|
|
2460
|
+
accessList?: import('viem').AccessList;
|
|
2461
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2462
|
+
chain?: import('viem').Chain | null;
|
|
2463
|
+
dataSuffix?: `0x${string}`;
|
|
2464
|
+
gas?: bigint;
|
|
2465
|
+
gasPrice?: bigint;
|
|
2466
|
+
maxFeePerGas?: bigint;
|
|
2467
|
+
maxPriorityFeePerGas?: bigint;
|
|
2468
|
+
nonce?: number;
|
|
2469
|
+
value?: bigint;
|
|
2470
|
+
}): Promise<`0x${string}`>;
|
|
2471
|
+
/**
|
|
2472
|
+
* renounceRole
|
|
2473
|
+
* nonpayable
|
|
2474
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2475
|
+
*/
|
|
2476
|
+
renounceRole(role: `0x${string}`, account: `0x${string}`, options?: {
|
|
2477
|
+
accessList?: import('viem').AccessList;
|
|
2478
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2479
|
+
chain?: import('viem').Chain | null;
|
|
2480
|
+
dataSuffix?: `0x${string}`;
|
|
2481
|
+
gas?: bigint;
|
|
2482
|
+
gasPrice?: bigint;
|
|
2483
|
+
maxFeePerGas?: bigint;
|
|
2484
|
+
maxPriorityFeePerGas?: bigint;
|
|
2485
|
+
nonce?: number;
|
|
2486
|
+
value?: bigint;
|
|
2487
|
+
}): Promise<`0x${string}`>;
|
|
2488
|
+
/**
|
|
2489
|
+
* revokeRole
|
|
2490
|
+
* nonpayable
|
|
2491
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2492
|
+
*/
|
|
2493
|
+
revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
|
|
2494
|
+
accessList?: import('viem').AccessList;
|
|
2495
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2496
|
+
chain?: import('viem').Chain | null;
|
|
2497
|
+
dataSuffix?: `0x${string}`;
|
|
2498
|
+
gas?: bigint;
|
|
2499
|
+
gasPrice?: bigint;
|
|
2500
|
+
maxFeePerGas?: bigint;
|
|
2501
|
+
maxPriorityFeePerGas?: bigint;
|
|
2502
|
+
nonce?: number;
|
|
2503
|
+
value?: bigint;
|
|
2504
|
+
}): Promise<`0x${string}`>;
|
|
2505
|
+
/**
|
|
2506
|
+
* rollbackDefaultAdminDelay
|
|
2507
|
+
* nonpayable
|
|
2508
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2509
|
+
*/
|
|
2510
|
+
rollbackDefaultAdminDelay(options?: {
|
|
2511
|
+
accessList?: import('viem').AccessList;
|
|
2512
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2513
|
+
chain?: import('viem').Chain | null;
|
|
2514
|
+
dataSuffix?: `0x${string}`;
|
|
2515
|
+
gas?: bigint;
|
|
2516
|
+
gasPrice?: bigint;
|
|
2517
|
+
maxFeePerGas?: bigint;
|
|
2518
|
+
maxPriorityFeePerGas?: bigint;
|
|
2519
|
+
nonce?: number;
|
|
2520
|
+
value?: bigint;
|
|
2521
|
+
}): Promise<`0x${string}`>;
|
|
2522
|
+
/**
|
|
2523
|
+
* setAdditionalRewardsStrategy
|
|
2524
|
+
* nonpayable
|
|
2525
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2526
|
+
*/
|
|
2527
|
+
setAdditionalRewardsStrategy(strategy: bigint, options?: {
|
|
2528
|
+
accessList?: import('viem').AccessList;
|
|
2529
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2530
|
+
chain?: import('viem').Chain | null;
|
|
2531
|
+
dataSuffix?: `0x${string}`;
|
|
2532
|
+
gas?: bigint;
|
|
2533
|
+
gasPrice?: bigint;
|
|
2534
|
+
maxFeePerGas?: bigint;
|
|
2535
|
+
maxPriorityFeePerGas?: bigint;
|
|
2536
|
+
nonce?: number;
|
|
2537
|
+
value?: bigint;
|
|
2538
|
+
}): Promise<`0x${string}`>;
|
|
2539
|
+
/**
|
|
2540
|
+
* setBlockList
|
|
2541
|
+
* nonpayable
|
|
2542
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2543
|
+
*/
|
|
2544
|
+
setBlockList(newBlockList: `0x${string}`, options?: {
|
|
2545
|
+
accessList?: import('viem').AccessList;
|
|
2546
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2547
|
+
chain?: import('viem').Chain | null;
|
|
2548
|
+
dataSuffix?: `0x${string}`;
|
|
2549
|
+
gas?: bigint;
|
|
2550
|
+
gasPrice?: bigint;
|
|
2551
|
+
maxFeePerGas?: bigint;
|
|
2552
|
+
maxPriorityFeePerGas?: bigint;
|
|
2553
|
+
nonce?: number;
|
|
2554
|
+
value?: bigint;
|
|
2555
|
+
}): Promise<`0x${string}`>;
|
|
2556
|
+
/**
|
|
2557
|
+
* setDepositFee
|
|
2558
|
+
* nonpayable
|
|
2559
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2560
|
+
*/
|
|
2561
|
+
setDepositFee(newDepositFee: bigint, options?: {
|
|
2562
|
+
accessList?: import('viem').AccessList;
|
|
2563
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2564
|
+
chain?: import('viem').Chain | null;
|
|
2565
|
+
dataSuffix?: `0x${string}`;
|
|
2566
|
+
gas?: bigint;
|
|
2567
|
+
gasPrice?: bigint;
|
|
2568
|
+
maxFeePerGas?: bigint;
|
|
2569
|
+
maxPriorityFeePerGas?: bigint;
|
|
2570
|
+
nonce?: number;
|
|
2571
|
+
value?: bigint;
|
|
2572
|
+
}): Promise<`0x${string}`>;
|
|
2573
|
+
/**
|
|
2574
|
+
* setFeeRecipients
|
|
2575
|
+
* nonpayable
|
|
2576
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2577
|
+
*/
|
|
2578
|
+
setFeeRecipients(recipients: IFeeDispatcher_FeeRecipient[], options?: {
|
|
2579
|
+
accessList?: import('viem').AccessList;
|
|
2580
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2581
|
+
chain?: import('viem').Chain | null;
|
|
2582
|
+
dataSuffix?: `0x${string}`;
|
|
2583
|
+
gas?: bigint;
|
|
2584
|
+
gasPrice?: bigint;
|
|
2585
|
+
maxFeePerGas?: bigint;
|
|
2586
|
+
maxPriorityFeePerGas?: bigint;
|
|
2587
|
+
nonce?: number;
|
|
2588
|
+
value?: bigint;
|
|
2589
|
+
}): Promise<`0x${string}`>;
|
|
2590
|
+
/**
|
|
2591
|
+
* setRewardFee
|
|
2592
|
+
* nonpayable
|
|
2593
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2594
|
+
*/
|
|
2595
|
+
setRewardFee(newRewardFee: bigint, options?: {
|
|
2596
|
+
accessList?: import('viem').AccessList;
|
|
2597
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2598
|
+
chain?: import('viem').Chain | null;
|
|
2599
|
+
dataSuffix?: `0x${string}`;
|
|
2600
|
+
gas?: bigint;
|
|
2601
|
+
gasPrice?: bigint;
|
|
2602
|
+
maxFeePerGas?: bigint;
|
|
2603
|
+
maxPriorityFeePerGas?: bigint;
|
|
2604
|
+
nonce?: number;
|
|
2605
|
+
value?: bigint;
|
|
2606
|
+
}): Promise<`0x${string}`>;
|
|
2607
|
+
/**
|
|
2608
|
+
* transfer
|
|
2609
|
+
* nonpayable
|
|
2610
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2611
|
+
*/
|
|
2612
|
+
transfer(to: `0x${string}`, value: bigint, options?: {
|
|
2613
|
+
accessList?: import('viem').AccessList;
|
|
2614
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2615
|
+
chain?: import('viem').Chain | null;
|
|
2616
|
+
dataSuffix?: `0x${string}`;
|
|
2617
|
+
gas?: bigint;
|
|
2618
|
+
gasPrice?: bigint;
|
|
2619
|
+
maxFeePerGas?: bigint;
|
|
2620
|
+
maxPriorityFeePerGas?: bigint;
|
|
2621
|
+
nonce?: number;
|
|
2622
|
+
value?: bigint;
|
|
2623
|
+
}): Promise<`0x${string}`>;
|
|
2624
|
+
/**
|
|
2625
|
+
* transferFrom
|
|
2626
|
+
* nonpayable
|
|
2627
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2628
|
+
*/
|
|
2629
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
|
|
2630
|
+
accessList?: import('viem').AccessList;
|
|
2631
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2632
|
+
chain?: import('viem').Chain | null;
|
|
2633
|
+
dataSuffix?: `0x${string}`;
|
|
2634
|
+
gas?: bigint;
|
|
2635
|
+
gasPrice?: bigint;
|
|
2636
|
+
maxFeePerGas?: bigint;
|
|
2637
|
+
maxPriorityFeePerGas?: bigint;
|
|
2638
|
+
nonce?: number;
|
|
2639
|
+
value?: bigint;
|
|
2640
|
+
}): Promise<`0x${string}`>;
|
|
2641
|
+
/**
|
|
2642
|
+
* unpauseDeposit
|
|
2643
|
+
* nonpayable
|
|
2644
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2645
|
+
*/
|
|
2646
|
+
unpauseDeposit(options?: {
|
|
2647
|
+
accessList?: import('viem').AccessList;
|
|
2648
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2649
|
+
chain?: import('viem').Chain | null;
|
|
2650
|
+
dataSuffix?: `0x${string}`;
|
|
2651
|
+
gas?: bigint;
|
|
2652
|
+
gasPrice?: bigint;
|
|
2653
|
+
maxFeePerGas?: bigint;
|
|
2654
|
+
maxPriorityFeePerGas?: bigint;
|
|
2655
|
+
nonce?: number;
|
|
2656
|
+
value?: bigint;
|
|
2657
|
+
}): Promise<`0x${string}`>;
|
|
2658
|
+
/**
|
|
2659
|
+
* upgrade
|
|
2660
|
+
* nonpayable
|
|
2661
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2662
|
+
*/
|
|
2663
|
+
upgrade(upgradeParams: Vault_UpgradeParams, options?: {
|
|
2664
|
+
accessList?: import('viem').AccessList;
|
|
2665
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2666
|
+
chain?: import('viem').Chain | null;
|
|
2667
|
+
dataSuffix?: `0x${string}`;
|
|
2668
|
+
gas?: bigint;
|
|
2669
|
+
gasPrice?: bigint;
|
|
2670
|
+
maxFeePerGas?: bigint;
|
|
2671
|
+
maxPriorityFeePerGas?: bigint;
|
|
2672
|
+
nonce?: number;
|
|
2673
|
+
value?: bigint;
|
|
2674
|
+
}): Promise<`0x${string}`>;
|
|
2675
|
+
/**
|
|
2676
|
+
* withdraw
|
|
2677
|
+
* nonpayable
|
|
2678
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2679
|
+
*/
|
|
2680
|
+
withdraw(assets: bigint, receiver: `0x${string}`, owner: `0x${string}`, options?: {
|
|
2681
|
+
accessList?: import('viem').AccessList;
|
|
2682
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2683
|
+
chain?: import('viem').Chain | null;
|
|
2684
|
+
dataSuffix?: `0x${string}`;
|
|
2685
|
+
gas?: bigint;
|
|
2686
|
+
gasPrice?: bigint;
|
|
2687
|
+
maxFeePerGas?: bigint;
|
|
2688
|
+
maxPriorityFeePerGas?: bigint;
|
|
2689
|
+
nonce?: number;
|
|
2690
|
+
value?: bigint;
|
|
2691
|
+
}): Promise<`0x${string}`>;
|
|
2692
|
+
/**
|
|
2693
|
+
* Simulate contract write operations (dry-run without sending transaction)
|
|
2694
|
+
*
|
|
2695
|
+
* @example
|
|
2696
|
+
* const result = await contract.simulate.transfer('0x...', 1000n);
|
|
2697
|
+
* console.log('Gas estimate:', result.request.gas);
|
|
2698
|
+
* console.log('Would succeed:', result.result);
|
|
2699
|
+
*/
|
|
2700
|
+
get simulate(): {
|
|
2701
|
+
/**
|
|
2702
|
+
* Simulate acceptDefaultAdminTransfer
|
|
2703
|
+
* Returns gas estimate and result without sending transaction
|
|
2704
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2705
|
+
*/
|
|
2706
|
+
acceptDefaultAdminTransfer(options?: {
|
|
2707
|
+
accessList?: import("viem").AccessList;
|
|
2708
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2709
|
+
chain?: import("viem").Chain | null;
|
|
2710
|
+
dataSuffix?: `0x${string}`;
|
|
2711
|
+
gas?: bigint;
|
|
2712
|
+
gasPrice?: bigint;
|
|
2713
|
+
maxFeePerGas?: bigint;
|
|
2714
|
+
maxPriorityFeePerGas?: bigint;
|
|
2715
|
+
nonce?: number;
|
|
2716
|
+
value?: bigint;
|
|
2717
|
+
}): Promise<void>;
|
|
2718
|
+
/**
|
|
2719
|
+
* Simulate approve
|
|
2720
|
+
* Returns gas estimate and result without sending transaction
|
|
2721
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2722
|
+
*/
|
|
2723
|
+
approve(spender: `0x${string}`, value: bigint, options?: {
|
|
2724
|
+
accessList?: import("viem").AccessList;
|
|
2725
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2726
|
+
chain?: import("viem").Chain | null;
|
|
2727
|
+
dataSuffix?: `0x${string}`;
|
|
2728
|
+
gas?: bigint;
|
|
2729
|
+
gasPrice?: bigint;
|
|
2730
|
+
maxFeePerGas?: bigint;
|
|
2731
|
+
maxPriorityFeePerGas?: bigint;
|
|
2732
|
+
nonce?: number;
|
|
2733
|
+
value?: bigint;
|
|
2734
|
+
}): Promise<boolean>;
|
|
2735
|
+
/**
|
|
2736
|
+
* Simulate beginDefaultAdminTransfer
|
|
2737
|
+
* Returns gas estimate and result without sending transaction
|
|
2738
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2739
|
+
*/
|
|
2740
|
+
beginDefaultAdminTransfer(newAdmin: `0x${string}`, options?: {
|
|
2741
|
+
accessList?: import("viem").AccessList;
|
|
2742
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2743
|
+
chain?: import("viem").Chain | null;
|
|
2744
|
+
dataSuffix?: `0x${string}`;
|
|
2745
|
+
gas?: bigint;
|
|
2746
|
+
gasPrice?: bigint;
|
|
2747
|
+
maxFeePerGas?: bigint;
|
|
2748
|
+
maxPriorityFeePerGas?: bigint;
|
|
2749
|
+
nonce?: number;
|
|
2750
|
+
value?: bigint;
|
|
2751
|
+
}): Promise<void>;
|
|
2752
|
+
/**
|
|
2753
|
+
* Simulate cancelDefaultAdminTransfer
|
|
2754
|
+
* Returns gas estimate and result without sending transaction
|
|
2755
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2756
|
+
*/
|
|
2757
|
+
cancelDefaultAdminTransfer(options?: {
|
|
2758
|
+
accessList?: import("viem").AccessList;
|
|
2759
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2760
|
+
chain?: import("viem").Chain | null;
|
|
2761
|
+
dataSuffix?: `0x${string}`;
|
|
2762
|
+
gas?: bigint;
|
|
2763
|
+
gasPrice?: bigint;
|
|
2764
|
+
maxFeePerGas?: bigint;
|
|
2765
|
+
maxPriorityFeePerGas?: bigint;
|
|
2766
|
+
nonce?: number;
|
|
2767
|
+
value?: bigint;
|
|
2768
|
+
}): Promise<void>;
|
|
2769
|
+
/**
|
|
2770
|
+
* Simulate changeDefaultAdminDelay
|
|
2771
|
+
* Returns gas estimate and result without sending transaction
|
|
2772
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2773
|
+
*/
|
|
2774
|
+
changeDefaultAdminDelay(newDelay: bigint, options?: {
|
|
2775
|
+
accessList?: import("viem").AccessList;
|
|
2776
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2777
|
+
chain?: import("viem").Chain | null;
|
|
2778
|
+
dataSuffix?: `0x${string}`;
|
|
2779
|
+
gas?: bigint;
|
|
2780
|
+
gasPrice?: bigint;
|
|
2781
|
+
maxFeePerGas?: bigint;
|
|
2782
|
+
maxPriorityFeePerGas?: bigint;
|
|
2783
|
+
nonce?: number;
|
|
2784
|
+
value?: bigint;
|
|
2785
|
+
}): Promise<void>;
|
|
2786
|
+
/**
|
|
2787
|
+
* Simulate claimAdditionalRewards
|
|
2788
|
+
* Returns gas estimate and result without sending transaction
|
|
2789
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2790
|
+
*/
|
|
2791
|
+
claimAdditionalRewards(rewardsAsset: `0x${string}`, payload: `0x${string}`, options?: {
|
|
2792
|
+
accessList?: import("viem").AccessList;
|
|
2793
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2794
|
+
chain?: import("viem").Chain | null;
|
|
2795
|
+
dataSuffix?: `0x${string}`;
|
|
2796
|
+
gas?: bigint;
|
|
2797
|
+
gasPrice?: bigint;
|
|
2798
|
+
maxFeePerGas?: bigint;
|
|
2799
|
+
maxPriorityFeePerGas?: bigint;
|
|
2800
|
+
nonce?: number;
|
|
2801
|
+
value?: bigint;
|
|
2802
|
+
}): Promise<void>;
|
|
2803
|
+
/**
|
|
2804
|
+
* Simulate collectRewardFees
|
|
2805
|
+
* Returns gas estimate and result without sending transaction
|
|
2806
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2807
|
+
*/
|
|
2808
|
+
collectRewardFees(options?: {
|
|
2809
|
+
accessList?: import("viem").AccessList;
|
|
2810
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2811
|
+
chain?: import("viem").Chain | null;
|
|
2812
|
+
dataSuffix?: `0x${string}`;
|
|
2813
|
+
gas?: bigint;
|
|
2814
|
+
gasPrice?: bigint;
|
|
2815
|
+
maxFeePerGas?: bigint;
|
|
2816
|
+
maxPriorityFeePerGas?: bigint;
|
|
2817
|
+
nonce?: number;
|
|
2818
|
+
value?: bigint;
|
|
2819
|
+
}): Promise<void>;
|
|
2820
|
+
/**
|
|
2821
|
+
* Simulate delegateToFactory
|
|
2822
|
+
* Returns gas estimate and result without sending transaction
|
|
2823
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2824
|
+
*/
|
|
2825
|
+
delegateToFactory(data: `0x${string}`, options?: {
|
|
2826
|
+
accessList?: import("viem").AccessList;
|
|
2827
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2828
|
+
chain?: import("viem").Chain | null;
|
|
2829
|
+
dataSuffix?: `0x${string}`;
|
|
2830
|
+
gas?: bigint;
|
|
2831
|
+
gasPrice?: bigint;
|
|
2832
|
+
maxFeePerGas?: bigint;
|
|
2833
|
+
maxPriorityFeePerGas?: bigint;
|
|
2834
|
+
nonce?: number;
|
|
2835
|
+
value?: bigint;
|
|
2836
|
+
}): Promise<`0x${string}`>;
|
|
2837
|
+
/**
|
|
2838
|
+
* Simulate deposit
|
|
2839
|
+
* Returns gas estimate and result without sending transaction
|
|
2840
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2841
|
+
*/
|
|
2842
|
+
deposit(assets: bigint, receiver: `0x${string}`, options?: {
|
|
2843
|
+
accessList?: import("viem").AccessList;
|
|
2844
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2845
|
+
chain?: import("viem").Chain | null;
|
|
2846
|
+
dataSuffix?: `0x${string}`;
|
|
2847
|
+
gas?: bigint;
|
|
2848
|
+
gasPrice?: bigint;
|
|
2849
|
+
maxFeePerGas?: bigint;
|
|
2850
|
+
maxPriorityFeePerGas?: bigint;
|
|
2851
|
+
nonce?: number;
|
|
2852
|
+
value?: bigint;
|
|
2853
|
+
}): Promise<bigint>;
|
|
2854
|
+
/**
|
|
2855
|
+
* Simulate dispatchFees
|
|
2856
|
+
* Returns gas estimate and result without sending transaction
|
|
2857
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2858
|
+
*/
|
|
2859
|
+
dispatchFees(options?: {
|
|
2860
|
+
accessList?: import("viem").AccessList;
|
|
2861
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2862
|
+
chain?: import("viem").Chain | null;
|
|
2863
|
+
dataSuffix?: `0x${string}`;
|
|
2864
|
+
gas?: bigint;
|
|
2865
|
+
gasPrice?: bigint;
|
|
2866
|
+
maxFeePerGas?: bigint;
|
|
2867
|
+
maxPriorityFeePerGas?: bigint;
|
|
2868
|
+
nonce?: number;
|
|
2869
|
+
value?: bigint;
|
|
2870
|
+
}): Promise<void>;
|
|
2871
|
+
/**
|
|
2872
|
+
* Simulate forceWithdraw
|
|
2873
|
+
* Returns gas estimate and result without sending transaction
|
|
2874
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2875
|
+
*/
|
|
2876
|
+
forceWithdraw(blockedUser: `0x${string}`, options?: {
|
|
2877
|
+
accessList?: import("viem").AccessList;
|
|
2878
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2879
|
+
chain?: import("viem").Chain | null;
|
|
2880
|
+
dataSuffix?: `0x${string}`;
|
|
2881
|
+
gas?: bigint;
|
|
2882
|
+
gasPrice?: bigint;
|
|
2883
|
+
maxFeePerGas?: bigint;
|
|
2884
|
+
maxPriorityFeePerGas?: bigint;
|
|
2885
|
+
nonce?: number;
|
|
2886
|
+
value?: bigint;
|
|
2887
|
+
}): Promise<bigint>;
|
|
2888
|
+
/**
|
|
2889
|
+
* Simulate grantRole
|
|
2890
|
+
* Returns gas estimate and result without sending transaction
|
|
2891
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2892
|
+
*/
|
|
2893
|
+
grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
|
|
2894
|
+
accessList?: import("viem").AccessList;
|
|
2895
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2896
|
+
chain?: import("viem").Chain | null;
|
|
2897
|
+
dataSuffix?: `0x${string}`;
|
|
2898
|
+
gas?: bigint;
|
|
2899
|
+
gasPrice?: bigint;
|
|
2900
|
+
maxFeePerGas?: bigint;
|
|
2901
|
+
maxPriorityFeePerGas?: bigint;
|
|
2902
|
+
nonce?: number;
|
|
2903
|
+
value?: bigint;
|
|
2904
|
+
}): Promise<void>;
|
|
2905
|
+
/**
|
|
2906
|
+
* Simulate initialize
|
|
2907
|
+
* Returns gas estimate and result without sending transaction
|
|
2908
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2909
|
+
*/
|
|
2910
|
+
initialize(initializationParams: Vault_InitializationParams, upgradeParams: Vault_UpgradeParams, options?: {
|
|
2911
|
+
accessList?: import("viem").AccessList;
|
|
2912
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2913
|
+
chain?: import("viem").Chain | null;
|
|
2914
|
+
dataSuffix?: `0x${string}`;
|
|
2915
|
+
gas?: bigint;
|
|
2916
|
+
gasPrice?: bigint;
|
|
2917
|
+
maxFeePerGas?: bigint;
|
|
2918
|
+
maxPriorityFeePerGas?: bigint;
|
|
2919
|
+
nonce?: number;
|
|
2920
|
+
value?: bigint;
|
|
2921
|
+
}): Promise<void>;
|
|
2922
|
+
/**
|
|
2923
|
+
* Simulate mint
|
|
2924
|
+
* Returns gas estimate and result without sending transaction
|
|
2925
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2926
|
+
*/
|
|
2927
|
+
mint(shares: bigint, receiver: `0x${string}`, options?: {
|
|
2928
|
+
accessList?: import("viem").AccessList;
|
|
2929
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2930
|
+
chain?: import("viem").Chain | null;
|
|
2931
|
+
dataSuffix?: `0x${string}`;
|
|
2932
|
+
gas?: bigint;
|
|
2933
|
+
gasPrice?: bigint;
|
|
2934
|
+
maxFeePerGas?: bigint;
|
|
2935
|
+
maxPriorityFeePerGas?: bigint;
|
|
2936
|
+
nonce?: number;
|
|
2937
|
+
value?: bigint;
|
|
2938
|
+
}): Promise<bigint>;
|
|
2939
|
+
/**
|
|
2940
|
+
* Simulate pauseDeposit
|
|
2941
|
+
* Returns gas estimate and result without sending transaction
|
|
2942
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2943
|
+
*/
|
|
2944
|
+
pauseDeposit(options?: {
|
|
2945
|
+
accessList?: import("viem").AccessList;
|
|
2946
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2947
|
+
chain?: import("viem").Chain | null;
|
|
2948
|
+
dataSuffix?: `0x${string}`;
|
|
2949
|
+
gas?: bigint;
|
|
2950
|
+
gasPrice?: bigint;
|
|
2951
|
+
maxFeePerGas?: bigint;
|
|
2952
|
+
maxPriorityFeePerGas?: bigint;
|
|
2953
|
+
nonce?: number;
|
|
2954
|
+
value?: bigint;
|
|
2955
|
+
}): Promise<void>;
|
|
2956
|
+
/**
|
|
2957
|
+
* Simulate redeem
|
|
2958
|
+
* Returns gas estimate and result without sending transaction
|
|
2959
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2960
|
+
*/
|
|
2961
|
+
redeem(shares: bigint, receiver: `0x${string}`, owner: `0x${string}`, options?: {
|
|
2962
|
+
accessList?: import("viem").AccessList;
|
|
2963
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2964
|
+
chain?: import("viem").Chain | null;
|
|
2965
|
+
dataSuffix?: `0x${string}`;
|
|
2966
|
+
gas?: bigint;
|
|
2967
|
+
gasPrice?: bigint;
|
|
2968
|
+
maxFeePerGas?: bigint;
|
|
2969
|
+
maxPriorityFeePerGas?: bigint;
|
|
2970
|
+
nonce?: number;
|
|
2971
|
+
value?: bigint;
|
|
2972
|
+
}): Promise<bigint>;
|
|
2973
|
+
/**
|
|
2974
|
+
* Simulate renounceRole
|
|
2975
|
+
* Returns gas estimate and result without sending transaction
|
|
2976
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2977
|
+
*/
|
|
2978
|
+
renounceRole(role: `0x${string}`, account: `0x${string}`, options?: {
|
|
2979
|
+
accessList?: import("viem").AccessList;
|
|
2980
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2981
|
+
chain?: import("viem").Chain | null;
|
|
2982
|
+
dataSuffix?: `0x${string}`;
|
|
2983
|
+
gas?: bigint;
|
|
2984
|
+
gasPrice?: bigint;
|
|
2985
|
+
maxFeePerGas?: bigint;
|
|
2986
|
+
maxPriorityFeePerGas?: bigint;
|
|
2987
|
+
nonce?: number;
|
|
2988
|
+
value?: bigint;
|
|
2989
|
+
}): Promise<void>;
|
|
2990
|
+
/**
|
|
2991
|
+
* Simulate revokeRole
|
|
2992
|
+
* Returns gas estimate and result without sending transaction
|
|
2993
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2994
|
+
*/
|
|
2995
|
+
revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
|
|
2996
|
+
accessList?: import("viem").AccessList;
|
|
2997
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2998
|
+
chain?: import("viem").Chain | null;
|
|
2999
|
+
dataSuffix?: `0x${string}`;
|
|
3000
|
+
gas?: bigint;
|
|
3001
|
+
gasPrice?: bigint;
|
|
3002
|
+
maxFeePerGas?: bigint;
|
|
3003
|
+
maxPriorityFeePerGas?: bigint;
|
|
3004
|
+
nonce?: number;
|
|
3005
|
+
value?: bigint;
|
|
3006
|
+
}): Promise<void>;
|
|
3007
|
+
/**
|
|
3008
|
+
* Simulate rollbackDefaultAdminDelay
|
|
3009
|
+
* Returns gas estimate and result without sending transaction
|
|
3010
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3011
|
+
*/
|
|
3012
|
+
rollbackDefaultAdminDelay(options?: {
|
|
3013
|
+
accessList?: import("viem").AccessList;
|
|
3014
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3015
|
+
chain?: import("viem").Chain | null;
|
|
3016
|
+
dataSuffix?: `0x${string}`;
|
|
3017
|
+
gas?: bigint;
|
|
3018
|
+
gasPrice?: bigint;
|
|
3019
|
+
maxFeePerGas?: bigint;
|
|
3020
|
+
maxPriorityFeePerGas?: bigint;
|
|
3021
|
+
nonce?: number;
|
|
3022
|
+
value?: bigint;
|
|
3023
|
+
}): Promise<void>;
|
|
3024
|
+
/**
|
|
3025
|
+
* Simulate setAdditionalRewardsStrategy
|
|
3026
|
+
* Returns gas estimate and result without sending transaction
|
|
3027
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3028
|
+
*/
|
|
3029
|
+
setAdditionalRewardsStrategy(strategy: bigint, options?: {
|
|
3030
|
+
accessList?: import("viem").AccessList;
|
|
3031
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3032
|
+
chain?: import("viem").Chain | null;
|
|
3033
|
+
dataSuffix?: `0x${string}`;
|
|
3034
|
+
gas?: bigint;
|
|
3035
|
+
gasPrice?: bigint;
|
|
3036
|
+
maxFeePerGas?: bigint;
|
|
3037
|
+
maxPriorityFeePerGas?: bigint;
|
|
3038
|
+
nonce?: number;
|
|
3039
|
+
value?: bigint;
|
|
3040
|
+
}): Promise<void>;
|
|
3041
|
+
/**
|
|
3042
|
+
* Simulate setBlockList
|
|
3043
|
+
* Returns gas estimate and result without sending transaction
|
|
3044
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3045
|
+
*/
|
|
3046
|
+
setBlockList(newBlockList: `0x${string}`, options?: {
|
|
3047
|
+
accessList?: import("viem").AccessList;
|
|
3048
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3049
|
+
chain?: import("viem").Chain | null;
|
|
3050
|
+
dataSuffix?: `0x${string}`;
|
|
3051
|
+
gas?: bigint;
|
|
3052
|
+
gasPrice?: bigint;
|
|
3053
|
+
maxFeePerGas?: bigint;
|
|
3054
|
+
maxPriorityFeePerGas?: bigint;
|
|
3055
|
+
nonce?: number;
|
|
3056
|
+
value?: bigint;
|
|
3057
|
+
}): Promise<void>;
|
|
3058
|
+
/**
|
|
3059
|
+
* Simulate setDepositFee
|
|
3060
|
+
* Returns gas estimate and result without sending transaction
|
|
3061
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3062
|
+
*/
|
|
3063
|
+
setDepositFee(newDepositFee: bigint, options?: {
|
|
3064
|
+
accessList?: import("viem").AccessList;
|
|
3065
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3066
|
+
chain?: import("viem").Chain | null;
|
|
3067
|
+
dataSuffix?: `0x${string}`;
|
|
3068
|
+
gas?: bigint;
|
|
3069
|
+
gasPrice?: bigint;
|
|
3070
|
+
maxFeePerGas?: bigint;
|
|
3071
|
+
maxPriorityFeePerGas?: bigint;
|
|
3072
|
+
nonce?: number;
|
|
3073
|
+
value?: bigint;
|
|
3074
|
+
}): Promise<void>;
|
|
3075
|
+
/**
|
|
3076
|
+
* Simulate setFeeRecipients
|
|
3077
|
+
* Returns gas estimate and result without sending transaction
|
|
3078
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3079
|
+
*/
|
|
3080
|
+
setFeeRecipients(recipients: IFeeDispatcher_FeeRecipient[], options?: {
|
|
3081
|
+
accessList?: import("viem").AccessList;
|
|
3082
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3083
|
+
chain?: import("viem").Chain | null;
|
|
3084
|
+
dataSuffix?: `0x${string}`;
|
|
3085
|
+
gas?: bigint;
|
|
3086
|
+
gasPrice?: bigint;
|
|
3087
|
+
maxFeePerGas?: bigint;
|
|
3088
|
+
maxPriorityFeePerGas?: bigint;
|
|
3089
|
+
nonce?: number;
|
|
3090
|
+
value?: bigint;
|
|
3091
|
+
}): Promise<void>;
|
|
3092
|
+
/**
|
|
3093
|
+
* Simulate setRewardFee
|
|
3094
|
+
* Returns gas estimate and result without sending transaction
|
|
3095
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3096
|
+
*/
|
|
3097
|
+
setRewardFee(newRewardFee: bigint, options?: {
|
|
3098
|
+
accessList?: import("viem").AccessList;
|
|
3099
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3100
|
+
chain?: import("viem").Chain | null;
|
|
3101
|
+
dataSuffix?: `0x${string}`;
|
|
3102
|
+
gas?: bigint;
|
|
3103
|
+
gasPrice?: bigint;
|
|
3104
|
+
maxFeePerGas?: bigint;
|
|
3105
|
+
maxPriorityFeePerGas?: bigint;
|
|
3106
|
+
nonce?: number;
|
|
3107
|
+
value?: bigint;
|
|
3108
|
+
}): Promise<void>;
|
|
3109
|
+
/**
|
|
3110
|
+
* Simulate transfer
|
|
3111
|
+
* Returns gas estimate and result without sending transaction
|
|
3112
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3113
|
+
*/
|
|
3114
|
+
transfer(to: `0x${string}`, value: bigint, options?: {
|
|
3115
|
+
accessList?: import("viem").AccessList;
|
|
3116
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3117
|
+
chain?: import("viem").Chain | null;
|
|
3118
|
+
dataSuffix?: `0x${string}`;
|
|
3119
|
+
gas?: bigint;
|
|
3120
|
+
gasPrice?: bigint;
|
|
3121
|
+
maxFeePerGas?: bigint;
|
|
3122
|
+
maxPriorityFeePerGas?: bigint;
|
|
3123
|
+
nonce?: number;
|
|
3124
|
+
value?: bigint;
|
|
3125
|
+
}): Promise<boolean>;
|
|
3126
|
+
/**
|
|
3127
|
+
* Simulate transferFrom
|
|
3128
|
+
* Returns gas estimate and result without sending transaction
|
|
3129
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3130
|
+
*/
|
|
3131
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
|
|
3132
|
+
accessList?: import("viem").AccessList;
|
|
3133
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3134
|
+
chain?: import("viem").Chain | null;
|
|
3135
|
+
dataSuffix?: `0x${string}`;
|
|
3136
|
+
gas?: bigint;
|
|
3137
|
+
gasPrice?: bigint;
|
|
3138
|
+
maxFeePerGas?: bigint;
|
|
3139
|
+
maxPriorityFeePerGas?: bigint;
|
|
3140
|
+
nonce?: number;
|
|
3141
|
+
value?: bigint;
|
|
3142
|
+
}): Promise<boolean>;
|
|
3143
|
+
/**
|
|
3144
|
+
* Simulate unpauseDeposit
|
|
3145
|
+
* Returns gas estimate and result without sending transaction
|
|
3146
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3147
|
+
*/
|
|
3148
|
+
unpauseDeposit(options?: {
|
|
3149
|
+
accessList?: import("viem").AccessList;
|
|
3150
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3151
|
+
chain?: import("viem").Chain | null;
|
|
3152
|
+
dataSuffix?: `0x${string}`;
|
|
3153
|
+
gas?: bigint;
|
|
3154
|
+
gasPrice?: bigint;
|
|
3155
|
+
maxFeePerGas?: bigint;
|
|
3156
|
+
maxPriorityFeePerGas?: bigint;
|
|
3157
|
+
nonce?: number;
|
|
3158
|
+
value?: bigint;
|
|
3159
|
+
}): Promise<void>;
|
|
3160
|
+
/**
|
|
3161
|
+
* Simulate upgrade
|
|
3162
|
+
* Returns gas estimate and result without sending transaction
|
|
3163
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3164
|
+
*/
|
|
3165
|
+
upgrade(upgradeParams: Vault_UpgradeParams, options?: {
|
|
3166
|
+
accessList?: import("viem").AccessList;
|
|
3167
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3168
|
+
chain?: import("viem").Chain | null;
|
|
3169
|
+
dataSuffix?: `0x${string}`;
|
|
3170
|
+
gas?: bigint;
|
|
3171
|
+
gasPrice?: bigint;
|
|
3172
|
+
maxFeePerGas?: bigint;
|
|
3173
|
+
maxPriorityFeePerGas?: bigint;
|
|
3174
|
+
nonce?: number;
|
|
3175
|
+
value?: bigint;
|
|
3176
|
+
}): Promise<void>;
|
|
3177
|
+
/**
|
|
3178
|
+
* Simulate withdraw
|
|
3179
|
+
* Returns gas estimate and result without sending transaction
|
|
3180
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3181
|
+
*/
|
|
3182
|
+
withdraw(assets: bigint, receiver: `0x${string}`, owner: `0x${string}`, options?: {
|
|
3183
|
+
accessList?: import("viem").AccessList;
|
|
3184
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3185
|
+
chain?: import("viem").Chain | null;
|
|
3186
|
+
dataSuffix?: `0x${string}`;
|
|
3187
|
+
gas?: bigint;
|
|
3188
|
+
gasPrice?: bigint;
|
|
3189
|
+
maxFeePerGas?: bigint;
|
|
3190
|
+
maxPriorityFeePerGas?: bigint;
|
|
3191
|
+
nonce?: number;
|
|
3192
|
+
value?: bigint;
|
|
3193
|
+
}): Promise<bigint>;
|
|
3194
|
+
};
|
|
3195
|
+
/**
|
|
3196
|
+
* Watch contract events
|
|
3197
|
+
*
|
|
3198
|
+
* @example
|
|
3199
|
+
* // Watch all Transfer events
|
|
3200
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
3201
|
+
* console.log('Transfer:', event);
|
|
3202
|
+
* });
|
|
3203
|
+
*
|
|
3204
|
+
* // Stop watching
|
|
3205
|
+
* unwatch();
|
|
3206
|
+
*/
|
|
3207
|
+
get watch(): {
|
|
3208
|
+
/**
|
|
3209
|
+
* Watch AdditionalRewardsStrategyUpdated events
|
|
3210
|
+
* @param callback Function to call when event is emitted
|
|
3211
|
+
* @param filter Optional filter for indexed parameters
|
|
3212
|
+
* @returns Unwatch function to stop listening
|
|
3213
|
+
*/
|
|
3214
|
+
AdditionalRewardsStrategyUpdated: (callback: (event: {
|
|
3215
|
+
newAdditionalRewardsStrategy: bigint;
|
|
3216
|
+
}) => void) => () => void;
|
|
3217
|
+
/**
|
|
3218
|
+
* Watch Approval events
|
|
3219
|
+
* @param callback Function to call when event is emitted
|
|
3220
|
+
* @param filter Optional filter for indexed parameters
|
|
3221
|
+
* @returns Unwatch function to stop listening
|
|
3222
|
+
*/
|
|
3223
|
+
Approval: (callback: (event: {
|
|
3224
|
+
owner: `0x${string}`;
|
|
3225
|
+
spender: `0x${string}`;
|
|
3226
|
+
value: bigint;
|
|
3227
|
+
}) => void, filter?: {
|
|
3228
|
+
owner: `0x${string}`;
|
|
3229
|
+
spender: `0x${string}`;
|
|
3230
|
+
}) => () => void;
|
|
3231
|
+
/**
|
|
3232
|
+
* Watch AssetInitialized events
|
|
3233
|
+
* @param callback Function to call when event is emitted
|
|
3234
|
+
* @param filter Optional filter for indexed parameters
|
|
3235
|
+
* @returns Unwatch function to stop listening
|
|
3236
|
+
*/
|
|
3237
|
+
AssetInitialized: (callback: (event: {
|
|
3238
|
+
asset: `0x${string}`;
|
|
3239
|
+
}) => void) => () => void;
|
|
3240
|
+
/**
|
|
3241
|
+
* Watch BlockListUpdated events
|
|
3242
|
+
* @param callback Function to call when event is emitted
|
|
3243
|
+
* @param filter Optional filter for indexed parameters
|
|
3244
|
+
* @returns Unwatch function to stop listening
|
|
3245
|
+
*/
|
|
3246
|
+
BlockListUpdated: (callback: (event: {
|
|
3247
|
+
newBlockList: `0x${string}`;
|
|
3248
|
+
}) => void) => () => void;
|
|
3249
|
+
/**
|
|
3250
|
+
* Watch ConnectorNameUpdated events
|
|
3251
|
+
* @param callback Function to call when event is emitted
|
|
3252
|
+
* @param filter Optional filter for indexed parameters
|
|
3253
|
+
* @returns Unwatch function to stop listening
|
|
3254
|
+
*/
|
|
3255
|
+
ConnectorNameUpdated: (callback: (event: {
|
|
3256
|
+
newConnectorName: `0x${string}`;
|
|
3257
|
+
}) => void) => () => void;
|
|
3258
|
+
/**
|
|
3259
|
+
* Watch ConnectorRegistryUpdated events
|
|
3260
|
+
* @param callback Function to call when event is emitted
|
|
3261
|
+
* @param filter Optional filter for indexed parameters
|
|
3262
|
+
* @returns Unwatch function to stop listening
|
|
3263
|
+
*/
|
|
3264
|
+
ConnectorRegistryUpdated: (callback: (event: {
|
|
3265
|
+
newConnectorRegistry: `0x${string}`;
|
|
3266
|
+
}) => void) => () => void;
|
|
3267
|
+
/**
|
|
3268
|
+
* Watch DefaultAdminDelayChangeCanceled events
|
|
3269
|
+
* @param callback Function to call when event is emitted
|
|
3270
|
+
* @param filter Optional filter for indexed parameters
|
|
3271
|
+
* @returns Unwatch function to stop listening
|
|
3272
|
+
*/
|
|
3273
|
+
DefaultAdminDelayChangeCanceled: (callback: (event: {}) => void) => () => void;
|
|
3274
|
+
/**
|
|
3275
|
+
* Watch DefaultAdminDelayChangeScheduled events
|
|
3276
|
+
* @param callback Function to call when event is emitted
|
|
3277
|
+
* @param filter Optional filter for indexed parameters
|
|
3278
|
+
* @returns Unwatch function to stop listening
|
|
3279
|
+
*/
|
|
3280
|
+
DefaultAdminDelayChangeScheduled: (callback: (event: {
|
|
3281
|
+
newDelay: bigint;
|
|
3282
|
+
effectSchedule: bigint;
|
|
3283
|
+
}) => void) => () => void;
|
|
3284
|
+
/**
|
|
3285
|
+
* Watch DefaultAdminTransferCanceled events
|
|
3286
|
+
* @param callback Function to call when event is emitted
|
|
3287
|
+
* @param filter Optional filter for indexed parameters
|
|
3288
|
+
* @returns Unwatch function to stop listening
|
|
3289
|
+
*/
|
|
3290
|
+
DefaultAdminTransferCanceled: (callback: (event: {}) => void) => () => void;
|
|
3291
|
+
/**
|
|
3292
|
+
* Watch DefaultAdminTransferScheduled events
|
|
3293
|
+
* @param callback Function to call when event is emitted
|
|
3294
|
+
* @param filter Optional filter for indexed parameters
|
|
3295
|
+
* @returns Unwatch function to stop listening
|
|
3296
|
+
*/
|
|
3297
|
+
DefaultAdminTransferScheduled: (callback: (event: {
|
|
3298
|
+
newAdmin: `0x${string}`;
|
|
3299
|
+
acceptSchedule: bigint;
|
|
3300
|
+
}) => void, filter?: {
|
|
3301
|
+
newAdmin: `0x${string}`;
|
|
3302
|
+
}) => () => void;
|
|
3303
|
+
/**
|
|
3304
|
+
* Watch Deposit events
|
|
3305
|
+
* @param callback Function to call when event is emitted
|
|
3306
|
+
* @param filter Optional filter for indexed parameters
|
|
3307
|
+
* @returns Unwatch function to stop listening
|
|
3308
|
+
*/
|
|
3309
|
+
Deposit: (callback: (event: {
|
|
3310
|
+
sender: `0x${string}`;
|
|
3311
|
+
owner: `0x${string}`;
|
|
3312
|
+
assets: bigint;
|
|
3313
|
+
shares: bigint;
|
|
3314
|
+
}) => void, filter?: {
|
|
3315
|
+
sender: `0x${string}`;
|
|
3316
|
+
owner: `0x${string}`;
|
|
3317
|
+
}) => () => void;
|
|
3318
|
+
/**
|
|
3319
|
+
* Watch DepositFeeUpdated events
|
|
3320
|
+
* @param callback Function to call when event is emitted
|
|
3321
|
+
* @param filter Optional filter for indexed parameters
|
|
3322
|
+
* @returns Unwatch function to stop listening
|
|
3323
|
+
*/
|
|
3324
|
+
DepositFeeUpdated: (callback: (event: {
|
|
3325
|
+
newDepositFee: bigint;
|
|
3326
|
+
}) => void) => () => void;
|
|
3327
|
+
/**
|
|
3328
|
+
* Watch FeeDispatcherInitialized events
|
|
3329
|
+
* @param callback Function to call when event is emitted
|
|
3330
|
+
* @param filter Optional filter for indexed parameters
|
|
3331
|
+
* @returns Unwatch function to stop listening
|
|
3332
|
+
*/
|
|
3333
|
+
FeeDispatcherInitialized: (callback: (event: {
|
|
3334
|
+
feeDispatcher: `0x${string}`;
|
|
3335
|
+
}) => void) => () => void;
|
|
3336
|
+
/**
|
|
3337
|
+
* Watch Initialized events
|
|
3338
|
+
* @param callback Function to call when event is emitted
|
|
3339
|
+
* @param filter Optional filter for indexed parameters
|
|
3340
|
+
* @returns Unwatch function to stop listening
|
|
3341
|
+
*/
|
|
3342
|
+
Initialized: (callback: (event: {
|
|
3343
|
+
version: bigint;
|
|
3344
|
+
}) => void) => () => void;
|
|
3345
|
+
/**
|
|
3346
|
+
* Watch MinTotalSupplyInitialized events
|
|
3347
|
+
* @param callback Function to call when event is emitted
|
|
3348
|
+
* @param filter Optional filter for indexed parameters
|
|
3349
|
+
* @returns Unwatch function to stop listening
|
|
3350
|
+
*/
|
|
3351
|
+
MinTotalSupplyInitialized: (callback: (event: {
|
|
3352
|
+
newMinTotalSupply: bigint;
|
|
3353
|
+
}) => void) => () => void;
|
|
3354
|
+
/**
|
|
3355
|
+
* Watch NameInitialized events
|
|
3356
|
+
* @param callback Function to call when event is emitted
|
|
3357
|
+
* @param filter Optional filter for indexed parameters
|
|
3358
|
+
* @returns Unwatch function to stop listening
|
|
3359
|
+
*/
|
|
3360
|
+
NameInitialized: (callback: (event: {
|
|
3361
|
+
name: string;
|
|
3362
|
+
}) => void) => () => void;
|
|
3363
|
+
/**
|
|
3364
|
+
* Watch OffsetInitialized events
|
|
3365
|
+
* @param callback Function to call when event is emitted
|
|
3366
|
+
* @param filter Optional filter for indexed parameters
|
|
3367
|
+
* @returns Unwatch function to stop listening
|
|
3368
|
+
*/
|
|
3369
|
+
OffsetInitialized: (callback: (event: {
|
|
3370
|
+
offset: bigint;
|
|
3371
|
+
}) => void) => () => void;
|
|
3372
|
+
/**
|
|
3373
|
+
* Watch RewardFeeUpdated events
|
|
3374
|
+
* @param callback Function to call when event is emitted
|
|
3375
|
+
* @param filter Optional filter for indexed parameters
|
|
3376
|
+
* @returns Unwatch function to stop listening
|
|
3377
|
+
*/
|
|
3378
|
+
RewardFeeUpdated: (callback: (event: {
|
|
3379
|
+
newRewardFee: bigint;
|
|
3380
|
+
}) => void) => () => void;
|
|
3381
|
+
/**
|
|
3382
|
+
* Watch RewardsClaimed events
|
|
3383
|
+
* @param callback Function to call when event is emitted
|
|
3384
|
+
* @param filter Optional filter for indexed parameters
|
|
3385
|
+
* @returns Unwatch function to stop listening
|
|
3386
|
+
*/
|
|
3387
|
+
RewardsClaimed: (callback: (event: {
|
|
3388
|
+
rewardsAsset: `0x${string}`;
|
|
3389
|
+
amount: bigint;
|
|
3390
|
+
}) => void, filter?: {
|
|
3391
|
+
rewardsAsset: `0x${string}`;
|
|
3392
|
+
}) => () => void;
|
|
3393
|
+
/**
|
|
3394
|
+
* Watch RoleAdminChanged events
|
|
3395
|
+
* @param callback Function to call when event is emitted
|
|
3396
|
+
* @param filter Optional filter for indexed parameters
|
|
3397
|
+
* @returns Unwatch function to stop listening
|
|
3398
|
+
*/
|
|
3399
|
+
RoleAdminChanged: (callback: (event: {
|
|
3400
|
+
role: `0x${string}`;
|
|
3401
|
+
previousAdminRole: `0x${string}`;
|
|
3402
|
+
newAdminRole: `0x${string}`;
|
|
3403
|
+
}) => void, filter?: {
|
|
3404
|
+
role: `0x${string}`;
|
|
3405
|
+
previousAdminRole: `0x${string}`;
|
|
3406
|
+
newAdminRole: `0x${string}`;
|
|
3407
|
+
}) => () => void;
|
|
3408
|
+
/**
|
|
3409
|
+
* Watch RoleGranted events
|
|
3410
|
+
* @param callback Function to call when event is emitted
|
|
3411
|
+
* @param filter Optional filter for indexed parameters
|
|
3412
|
+
* @returns Unwatch function to stop listening
|
|
3413
|
+
*/
|
|
3414
|
+
RoleGranted: (callback: (event: {
|
|
3415
|
+
role: `0x${string}`;
|
|
3416
|
+
account: `0x${string}`;
|
|
3417
|
+
sender: `0x${string}`;
|
|
3418
|
+
}) => void, filter?: {
|
|
3419
|
+
role: `0x${string}`;
|
|
3420
|
+
account: `0x${string}`;
|
|
3421
|
+
sender: `0x${string}`;
|
|
3422
|
+
}) => () => void;
|
|
3423
|
+
/**
|
|
3424
|
+
* Watch RoleRevoked events
|
|
3425
|
+
* @param callback Function to call when event is emitted
|
|
3426
|
+
* @param filter Optional filter for indexed parameters
|
|
3427
|
+
* @returns Unwatch function to stop listening
|
|
3428
|
+
*/
|
|
3429
|
+
RoleRevoked: (callback: (event: {
|
|
3430
|
+
role: `0x${string}`;
|
|
3431
|
+
account: `0x${string}`;
|
|
3432
|
+
sender: `0x${string}`;
|
|
3433
|
+
}) => void, filter?: {
|
|
3434
|
+
role: `0x${string}`;
|
|
3435
|
+
account: `0x${string}`;
|
|
3436
|
+
sender: `0x${string}`;
|
|
3437
|
+
}) => () => void;
|
|
3438
|
+
/**
|
|
3439
|
+
* Watch SymbolInitialized events
|
|
3440
|
+
* @param callback Function to call when event is emitted
|
|
3441
|
+
* @param filter Optional filter for indexed parameters
|
|
3442
|
+
* @returns Unwatch function to stop listening
|
|
3443
|
+
*/
|
|
3444
|
+
SymbolInitialized: (callback: (event: {
|
|
3445
|
+
symbol: string;
|
|
3446
|
+
}) => void) => () => void;
|
|
3447
|
+
/**
|
|
3448
|
+
* Watch Transfer events
|
|
3449
|
+
* @param callback Function to call when event is emitted
|
|
3450
|
+
* @param filter Optional filter for indexed parameters
|
|
3451
|
+
* @returns Unwatch function to stop listening
|
|
3452
|
+
*/
|
|
3453
|
+
Transfer: (callback: (event: {
|
|
3454
|
+
from: `0x${string}`;
|
|
3455
|
+
to: `0x${string}`;
|
|
3456
|
+
value: bigint;
|
|
3457
|
+
}) => void, filter?: {
|
|
3458
|
+
from: `0x${string}`;
|
|
3459
|
+
to: `0x${string}`;
|
|
3460
|
+
}) => () => void;
|
|
3461
|
+
/**
|
|
3462
|
+
* Watch TransferableUpdated events
|
|
3463
|
+
* @param callback Function to call when event is emitted
|
|
3464
|
+
* @param filter Optional filter for indexed parameters
|
|
3465
|
+
* @returns Unwatch function to stop listening
|
|
3466
|
+
*/
|
|
3467
|
+
TransferableUpdated: (callback: (event: {
|
|
3468
|
+
newTransferableFlag: boolean;
|
|
3469
|
+
}) => void) => () => void;
|
|
3470
|
+
/**
|
|
3471
|
+
* Watch Withdraw events
|
|
3472
|
+
* @param callback Function to call when event is emitted
|
|
3473
|
+
* @param filter Optional filter for indexed parameters
|
|
3474
|
+
* @returns Unwatch function to stop listening
|
|
3475
|
+
*/
|
|
3476
|
+
Withdraw: (callback: (event: {
|
|
3477
|
+
sender: `0x${string}`;
|
|
3478
|
+
receiver: `0x${string}`;
|
|
3479
|
+
owner: `0x${string}`;
|
|
3480
|
+
assets: bigint;
|
|
3481
|
+
shares: bigint;
|
|
3482
|
+
}) => void, filter?: {
|
|
3483
|
+
sender: `0x${string}`;
|
|
3484
|
+
receiver: `0x${string}`;
|
|
3485
|
+
owner: `0x${string}`;
|
|
3486
|
+
}) => () => void;
|
|
3487
|
+
};
|
|
3488
|
+
}
|