@gitmyabi/vault 1.0.2 → 1.0.4

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.
@@ -1,43 +1,24 @@
1
1
  import type { Address, PublicClient, WalletClient } from 'viem';
2
2
  /**
3
- * IShared.SigData struct type
3
+ * IVault.DepositRequest struct type
4
4
  */
5
- export type IShared_SigData = {
6
- sig: bigint;
7
- nonce: bigint;
8
- kTimesGAddress: `0x${string}`;
5
+ export type IVault_DepositRequest = {
6
+ owner: `0x${string}`;
7
+ assets: bigint;
8
+ status: bigint;
9
9
  };
10
10
  /**
11
- * IShared.DeployFetchParams struct type
11
+ * IVault.WithdrawRequest struct type
12
12
  */
13
- export type IShared_DeployFetchParams = {
14
- swapID: `0x${string}`;
15
- token: `0x${string}`;
16
- };
17
- /**
18
- * IShared.FetchParams struct type
19
- */
20
- export type IShared_FetchParams = {
21
- fetchContract: `0x${string}`;
22
- token: `0x${string}`;
23
- };
24
- /**
25
- * IShared.TransferParams struct type
26
- */
27
- export type IShared_TransferParams = {
28
- token: `0x${string}`;
29
- recipient: `0x${string}`;
30
- amount: bigint;
31
- };
32
- /**
33
- * IMulticall.Call struct type
34
- */
35
- export type IMulticall_Call = {
36
- callType: bigint;
37
- target: `0x${string}`;
38
- value: bigint;
39
- callData: `0x${string}`;
40
- payload: `0x${string}`;
13
+ export type IVault_WithdrawRequest = {
14
+ owner: `0x${string}`;
15
+ shares: bigint;
16
+ costBasisValueSnapshot: bigint;
17
+ requestedAt: bigint;
18
+ claimableAt: bigint;
19
+ status: bigint;
20
+ assetsOut: bigint;
21
+ fee: bigint;
41
22
  };
42
23
  /**
43
24
  * Vault_json ABI
@@ -46,1064 +27,1490 @@ export type IMulticall_Call = {
46
27
  */
47
28
  export declare const Vault_jsonAbi: readonly [{
48
29
  readonly inputs: readonly [{
49
- readonly internalType: "contract IKeyManager";
50
- readonly name: "keyManager";
30
+ readonly internalType: "contract IERC20";
31
+ readonly name: "_asset";
32
+ readonly type: "address";
33
+ }, {
34
+ readonly internalType: "contract IOracle";
35
+ readonly name: "_oracle";
36
+ readonly type: "address";
37
+ }, {
38
+ readonly internalType: "address";
39
+ readonly name: "admin";
40
+ readonly type: "address";
41
+ }, {
42
+ readonly internalType: "address";
43
+ readonly name: "manager";
44
+ readonly type: "address";
45
+ }, {
46
+ readonly internalType: "address";
47
+ readonly name: "bot";
48
+ readonly type: "address";
49
+ }, {
50
+ readonly internalType: "address";
51
+ readonly name: "guardian";
51
52
  readonly type: "address";
53
+ }, {
54
+ readonly internalType: "address";
55
+ readonly name: "_feeRecipient";
56
+ readonly type: "address";
57
+ }, {
58
+ readonly internalType: "uint256";
59
+ readonly name: "_performanceFee";
60
+ readonly type: "uint256";
61
+ }, {
62
+ readonly internalType: "uint256";
63
+ readonly name: "_minDepositAssets";
64
+ readonly type: "uint256";
65
+ }, {
66
+ readonly internalType: "uint256";
67
+ readonly name: "_maxSettlementBatchSize";
68
+ readonly type: "uint256";
52
69
  }];
53
70
  readonly stateMutability: "nonpayable";
54
71
  readonly type: "constructor";
55
72
  }, {
56
- readonly anonymous: false;
73
+ readonly inputs: readonly [];
74
+ readonly name: "AccessControlBadConfirmation";
75
+ readonly type: "error";
76
+ }, {
57
77
  readonly inputs: readonly [{
58
- readonly indexed: false;
78
+ readonly internalType: "address";
79
+ readonly name: "account";
80
+ readonly type: "address";
81
+ }, {
59
82
  readonly internalType: "bytes32";
60
- readonly name: "swapID";
83
+ readonly name: "neededRole";
61
84
  readonly type: "bytes32";
62
- }, {
63
- readonly indexed: false;
64
- readonly internalType: "uint256";
65
- readonly name: "amount";
66
- readonly type: "uint256";
67
85
  }];
68
- readonly name: "AddGasNative";
69
- readonly type: "event";
86
+ readonly name: "AccessControlUnauthorizedAccount";
87
+ readonly type: "error";
88
+ }, {
89
+ readonly inputs: readonly [{
90
+ readonly internalType: "address";
91
+ readonly name: "target";
92
+ readonly type: "address";
93
+ }];
94
+ readonly name: "AddressEmptyCode";
95
+ readonly type: "error";
96
+ }, {
97
+ readonly inputs: readonly [];
98
+ readonly name: "AlreadyTracked";
99
+ readonly type: "error";
100
+ }, {
101
+ readonly inputs: readonly [];
102
+ readonly name: "DepositTooSmall";
103
+ readonly type: "error";
104
+ }, {
105
+ readonly inputs: readonly [];
106
+ readonly name: "EnforcedPause";
107
+ readonly type: "error";
108
+ }, {
109
+ readonly inputs: readonly [];
110
+ readonly name: "ExpectedPause";
111
+ readonly type: "error";
112
+ }, {
113
+ readonly inputs: readonly [];
114
+ readonly name: "FailedCall";
115
+ readonly type: "error";
70
116
  }, {
71
- readonly anonymous: false;
72
117
  readonly inputs: readonly [{
73
- readonly indexed: false;
74
- readonly internalType: "bytes32";
75
- readonly name: "swapID";
76
- readonly type: "bytes32";
77
- }, {
78
- readonly indexed: false;
79
118
  readonly internalType: "uint256";
80
- readonly name: "amount";
119
+ readonly name: "balance";
81
120
  readonly type: "uint256";
82
121
  }, {
83
- readonly indexed: false;
122
+ readonly internalType: "uint256";
123
+ readonly name: "needed";
124
+ readonly type: "uint256";
125
+ }];
126
+ readonly name: "InsufficientBalance";
127
+ readonly type: "error";
128
+ }, {
129
+ readonly inputs: readonly [];
130
+ readonly name: "InsufficientLiquidity";
131
+ readonly type: "error";
132
+ }, {
133
+ readonly inputs: readonly [];
134
+ readonly name: "InsufficientShares";
135
+ readonly type: "error";
136
+ }, {
137
+ readonly inputs: readonly [];
138
+ readonly name: "InvalidBatchSize";
139
+ readonly type: "error";
140
+ }, {
141
+ readonly inputs: readonly [];
142
+ readonly name: "InvalidFee";
143
+ readonly type: "error";
144
+ }, {
145
+ readonly inputs: readonly [];
146
+ readonly name: "NotRequestOwner";
147
+ readonly type: "error";
148
+ }, {
149
+ readonly inputs: readonly [];
150
+ readonly name: "NotTracked";
151
+ readonly type: "error";
152
+ }, {
153
+ readonly inputs: readonly [];
154
+ readonly name: "OnlyHPT";
155
+ readonly type: "error";
156
+ }, {
157
+ readonly inputs: readonly [];
158
+ readonly name: "ReentrancyGuardReentrantCall";
159
+ readonly type: "error";
160
+ }, {
161
+ readonly inputs: readonly [];
162
+ readonly name: "RequestNotOpen";
163
+ readonly type: "error";
164
+ }, {
165
+ readonly inputs: readonly [{
84
166
  readonly internalType: "address";
85
167
  readonly name: "token";
86
168
  readonly type: "address";
87
169
  }];
88
- readonly name: "AddGasToken";
89
- readonly type: "event";
170
+ readonly name: "SafeERC20FailedOperation";
171
+ readonly type: "error";
90
172
  }, {
91
- readonly anonymous: false;
92
173
  readonly inputs: readonly [{
93
- readonly indexed: false;
94
- readonly internalType: "bool";
95
- readonly name: "communityGuardDisabled";
96
- readonly type: "bool";
174
+ readonly internalType: "address";
175
+ readonly name: "target";
176
+ readonly type: "address";
97
177
  }];
98
- readonly name: "CommunityGuardDisabled";
99
- readonly type: "event";
178
+ readonly name: "TargetNotAllowed";
179
+ readonly type: "error";
100
180
  }, {
101
- readonly anonymous: false;
102
181
  readonly inputs: readonly [{
103
- readonly indexed: true;
104
- readonly internalType: "address payable";
105
- readonly name: "multicallAddress";
182
+ readonly internalType: "address";
183
+ readonly name: "token";
106
184
  readonly type: "address";
107
185
  }, {
108
- readonly indexed: false;
109
186
  readonly internalType: "uint256";
110
- readonly name: "amount";
187
+ readonly name: "balance";
188
+ readonly type: "uint256";
189
+ }];
190
+ readonly name: "TrackedTokenHasBalance";
191
+ readonly type: "error";
192
+ }, {
193
+ readonly inputs: readonly [];
194
+ readonly name: "WithdrawNotReady";
195
+ readonly type: "error";
196
+ }, {
197
+ readonly inputs: readonly [];
198
+ readonly name: "ZeroAmount";
199
+ readonly type: "error";
200
+ }, {
201
+ readonly anonymous: false;
202
+ readonly inputs: readonly [{
203
+ readonly indexed: true;
204
+ readonly internalType: "uint256";
205
+ readonly name: "depositId";
111
206
  readonly type: "uint256";
112
207
  }, {
113
208
  readonly indexed: true;
114
209
  readonly internalType: "address";
115
- readonly name: "token";
210
+ readonly name: "owner";
116
211
  readonly type: "address";
117
212
  }, {
118
213
  readonly indexed: false;
119
- readonly internalType: "bytes";
120
- readonly name: "reason";
121
- readonly type: "bytes";
214
+ readonly internalType: "uint256";
215
+ readonly name: "assets";
216
+ readonly type: "uint256";
122
217
  }];
123
- readonly name: "ExecuteActionsFailed";
218
+ readonly name: "DepositAutoRefunded";
124
219
  readonly type: "event";
125
220
  }, {
126
221
  readonly anonymous: false;
127
222
  readonly inputs: readonly [{
223
+ readonly indexed: true;
224
+ readonly internalType: "uint256";
225
+ readonly name: "depositId";
226
+ readonly type: "uint256";
227
+ }, {
128
228
  readonly indexed: true;
129
229
  readonly internalType: "address";
130
- readonly name: "sender";
230
+ readonly name: "owner";
131
231
  readonly type: "address";
132
232
  }, {
133
233
  readonly indexed: false;
134
234
  readonly internalType: "uint256";
135
- readonly name: "amount";
235
+ readonly name: "assets";
136
236
  readonly type: "uint256";
137
237
  }];
138
- readonly name: "FetchedNative";
139
- readonly type: "event";
140
- }, {
141
- readonly anonymous: false;
142
- readonly inputs: readonly [{
143
- readonly indexed: false;
144
- readonly internalType: "bool";
145
- readonly name: "suspended";
146
- readonly type: "bool";
147
- }];
148
- readonly name: "Suspended";
238
+ readonly name: "DepositCancelled";
149
239
  readonly type: "event";
150
240
  }, {
151
241
  readonly anonymous: false;
152
242
  readonly inputs: readonly [{
153
- readonly indexed: false;
154
- readonly internalType: "uint32";
155
- readonly name: "dstChain";
156
- readonly type: "uint32";
157
- }, {
158
- readonly indexed: false;
159
- readonly internalType: "bytes";
160
- readonly name: "dstAddress";
161
- readonly type: "bytes";
162
- }, {
163
- readonly indexed: false;
164
- readonly internalType: "uint32";
165
- readonly name: "dstToken";
166
- readonly type: "uint32";
167
- }, {
168
- readonly indexed: false;
243
+ readonly indexed: true;
169
244
  readonly internalType: "uint256";
170
- readonly name: "amount";
245
+ readonly name: "depositId";
171
246
  readonly type: "uint256";
172
247
  }, {
173
248
  readonly indexed: true;
174
249
  readonly internalType: "address";
175
- readonly name: "sender";
250
+ readonly name: "owner";
176
251
  readonly type: "address";
177
252
  }, {
178
253
  readonly indexed: false;
179
- readonly internalType: "bytes";
180
- readonly name: "cfParameters";
181
- readonly type: "bytes";
254
+ readonly internalType: "uint256";
255
+ readonly name: "assets";
256
+ readonly type: "uint256";
182
257
  }];
183
- readonly name: "SwapNative";
258
+ readonly name: "DepositRequested";
184
259
  readonly type: "event";
185
260
  }, {
186
261
  readonly anonymous: false;
187
262
  readonly inputs: readonly [{
188
- readonly indexed: false;
189
- readonly internalType: "uint32";
190
- readonly name: "dstChain";
191
- readonly type: "uint32";
192
- }, {
193
- readonly indexed: false;
194
- readonly internalType: "bytes";
195
- readonly name: "dstAddress";
196
- readonly type: "bytes";
197
- }, {
198
- readonly indexed: false;
199
- readonly internalType: "uint32";
200
- readonly name: "dstToken";
201
- readonly type: "uint32";
263
+ readonly indexed: true;
264
+ readonly internalType: "uint256";
265
+ readonly name: "depositId";
266
+ readonly type: "uint256";
202
267
  }, {
203
- readonly indexed: false;
268
+ readonly indexed: true;
204
269
  readonly internalType: "address";
205
- readonly name: "srcToken";
270
+ readonly name: "owner";
206
271
  readonly type: "address";
207
272
  }, {
208
273
  readonly indexed: false;
209
274
  readonly internalType: "uint256";
210
- readonly name: "amount";
275
+ readonly name: "netAssets";
211
276
  readonly type: "uint256";
212
- }, {
213
- readonly indexed: true;
214
- readonly internalType: "address";
215
- readonly name: "sender";
216
- readonly type: "address";
217
277
  }, {
218
278
  readonly indexed: false;
219
- readonly internalType: "bytes";
220
- readonly name: "cfParameters";
221
- readonly type: "bytes";
279
+ readonly internalType: "uint256";
280
+ readonly name: "shares";
281
+ readonly type: "uint256";
222
282
  }];
223
- readonly name: "SwapToken";
283
+ readonly name: "DepositSettled";
224
284
  readonly type: "event";
225
285
  }, {
226
286
  readonly anonymous: false;
227
287
  readonly inputs: readonly [{
228
- readonly indexed: true;
229
- readonly internalType: "address payable";
230
- readonly name: "recipient";
231
- readonly type: "address";
232
- }, {
233
288
  readonly indexed: false;
234
289
  readonly internalType: "uint256";
235
- readonly name: "amount";
290
+ readonly name: "size";
236
291
  readonly type: "uint256";
237
292
  }];
238
- readonly name: "TransferNativeFailed";
293
+ readonly name: "MaxSettlementBatchSizeSet";
239
294
  readonly type: "event";
240
295
  }, {
241
296
  readonly anonymous: false;
242
297
  readonly inputs: readonly [{
243
- readonly indexed: true;
244
- readonly internalType: "address payable";
245
- readonly name: "recipient";
246
- readonly type: "address";
247
- }, {
248
298
  readonly indexed: false;
249
299
  readonly internalType: "uint256";
250
300
  readonly name: "amount";
251
301
  readonly type: "uint256";
252
- }, {
302
+ }];
303
+ readonly name: "MinDepositAssetsSet";
304
+ readonly type: "event";
305
+ }, {
306
+ readonly anonymous: false;
307
+ readonly inputs: readonly [{
253
308
  readonly indexed: true;
254
309
  readonly internalType: "address";
255
- readonly name: "token";
310
+ readonly name: "oracle";
256
311
  readonly type: "address";
257
- }, {
258
- readonly indexed: false;
259
- readonly internalType: "bytes";
260
- readonly name: "reason";
261
- readonly type: "bytes";
262
312
  }];
263
- readonly name: "TransferTokenFailed";
313
+ readonly name: "OracleSet";
264
314
  readonly type: "event";
265
315
  }, {
266
316
  readonly anonymous: false;
267
317
  readonly inputs: readonly [{
268
318
  readonly indexed: false;
269
319
  readonly internalType: "address";
270
- readonly name: "keyManager";
320
+ readonly name: "account";
271
321
  readonly type: "address";
272
322
  }];
273
- readonly name: "UpdatedKeyManager";
323
+ readonly name: "Paused";
274
324
  readonly type: "event";
275
325
  }, {
276
326
  readonly anonymous: false;
277
327
  readonly inputs: readonly [{
278
- readonly indexed: false;
279
- readonly internalType: "uint32";
280
- readonly name: "dstChain";
281
- readonly type: "uint32";
282
- }, {
283
- readonly indexed: false;
284
- readonly internalType: "bytes";
285
- readonly name: "dstAddress";
286
- readonly type: "bytes";
287
- }, {
288
- readonly indexed: false;
289
- readonly internalType: "uint32";
290
- readonly name: "dstToken";
291
- readonly type: "uint32";
292
- }, {
293
- readonly indexed: false;
294
- readonly internalType: "uint256";
295
- readonly name: "amount";
296
- readonly type: "uint256";
297
- }, {
298
- readonly indexed: true;
299
- readonly internalType: "address";
300
- readonly name: "sender";
301
- readonly type: "address";
302
- }, {
303
- readonly indexed: false;
304
- readonly internalType: "bytes";
305
- readonly name: "message";
306
- readonly type: "bytes";
307
- }, {
308
328
  readonly indexed: false;
309
329
  readonly internalType: "uint256";
310
- readonly name: "gasAmount";
330
+ readonly name: "feeBps";
311
331
  readonly type: "uint256";
312
- }, {
313
- readonly indexed: false;
314
- readonly internalType: "bytes";
315
- readonly name: "cfParameters";
316
- readonly type: "bytes";
317
332
  }];
318
- readonly name: "XCallNative";
333
+ readonly name: "PerformanceFeeSet";
319
334
  readonly type: "event";
320
335
  }, {
321
336
  readonly anonymous: false;
322
337
  readonly inputs: readonly [{
323
- readonly indexed: false;
324
- readonly internalType: "uint32";
325
- readonly name: "dstChain";
326
- readonly type: "uint32";
327
- }, {
328
- readonly indexed: false;
329
- readonly internalType: "bytes";
330
- readonly name: "dstAddress";
331
- readonly type: "bytes";
332
- }, {
333
- readonly indexed: false;
334
- readonly internalType: "uint32";
335
- readonly name: "dstToken";
336
- readonly type: "uint32";
337
- }, {
338
- readonly indexed: false;
339
- readonly internalType: "address";
340
- readonly name: "srcToken";
341
- readonly type: "address";
342
- }, {
343
338
  readonly indexed: false;
344
339
  readonly internalType: "uint256";
345
- readonly name: "amount";
340
+ readonly name: "callCount";
346
341
  readonly type: "uint256";
347
- }, {
348
- readonly indexed: true;
349
- readonly internalType: "address";
350
- readonly name: "sender";
351
- readonly type: "address";
352
- }, {
353
- readonly indexed: false;
354
- readonly internalType: "bytes";
355
- readonly name: "message";
356
- readonly type: "bytes";
357
342
  }, {
358
343
  readonly indexed: false;
359
344
  readonly internalType: "uint256";
360
- readonly name: "gasAmount";
345
+ readonly name: "navBefore";
361
346
  readonly type: "uint256";
362
347
  }, {
363
348
  readonly indexed: false;
364
- readonly internalType: "bytes";
365
- readonly name: "cfParameters";
366
- readonly type: "bytes";
349
+ readonly internalType: "uint256";
350
+ readonly name: "navAfter";
351
+ readonly type: "uint256";
367
352
  }];
368
- readonly name: "XCallToken";
353
+ readonly name: "Rebalanced";
369
354
  readonly type: "event";
370
355
  }, {
356
+ readonly anonymous: false;
371
357
  readonly inputs: readonly [{
358
+ readonly indexed: true;
359
+ readonly internalType: "bytes32";
360
+ readonly name: "role";
361
+ readonly type: "bytes32";
362
+ }, {
363
+ readonly indexed: true;
364
+ readonly internalType: "bytes32";
365
+ readonly name: "previousAdminRole";
366
+ readonly type: "bytes32";
367
+ }, {
368
+ readonly indexed: true;
372
369
  readonly internalType: "bytes32";
373
- readonly name: "swapID";
370
+ readonly name: "newAdminRole";
374
371
  readonly type: "bytes32";
375
372
  }];
376
- readonly name: "addGasNative";
377
- readonly outputs: readonly [];
378
- readonly stateMutability: "payable";
379
- readonly type: "function";
373
+ readonly name: "RoleAdminChanged";
374
+ readonly type: "event";
380
375
  }, {
376
+ readonly anonymous: false;
381
377
  readonly inputs: readonly [{
378
+ readonly indexed: true;
382
379
  readonly internalType: "bytes32";
383
- readonly name: "swapID";
380
+ readonly name: "role";
384
381
  readonly type: "bytes32";
385
382
  }, {
386
- readonly internalType: "uint256";
387
- readonly name: "amount";
388
- readonly type: "uint256";
383
+ readonly indexed: true;
384
+ readonly internalType: "address";
385
+ readonly name: "account";
386
+ readonly type: "address";
389
387
  }, {
390
- readonly internalType: "contract IERC20";
391
- readonly name: "token";
388
+ readonly indexed: true;
389
+ readonly internalType: "address";
390
+ readonly name: "sender";
392
391
  readonly type: "address";
393
392
  }];
394
- readonly name: "addGasToken";
395
- readonly outputs: readonly [];
396
- readonly stateMutability: "nonpayable";
397
- readonly type: "function";
393
+ readonly name: "RoleGranted";
394
+ readonly type: "event";
398
395
  }, {
396
+ readonly anonymous: false;
399
397
  readonly inputs: readonly [{
400
- readonly components: readonly [{
401
- readonly internalType: "uint256";
402
- readonly name: "sig";
403
- readonly type: "uint256";
404
- }, {
405
- readonly internalType: "uint256";
406
- readonly name: "nonce";
407
- readonly type: "uint256";
408
- }, {
409
- readonly internalType: "address";
410
- readonly name: "kTimesGAddress";
411
- readonly type: "address";
412
- }];
413
- readonly internalType: "struct IShared.SigData";
414
- readonly name: "sigData";
415
- readonly type: "tuple";
398
+ readonly indexed: true;
399
+ readonly internalType: "bytes32";
400
+ readonly name: "role";
401
+ readonly type: "bytes32";
416
402
  }, {
417
- readonly components: readonly [{
418
- readonly internalType: "bytes32";
419
- readonly name: "swapID";
420
- readonly type: "bytes32";
421
- }, {
422
- readonly internalType: "address";
423
- readonly name: "token";
424
- readonly type: "address";
425
- }];
426
- readonly internalType: "struct IShared.DeployFetchParams[]";
427
- readonly name: "deployFetchParamsArray";
428
- readonly type: "tuple[]";
403
+ readonly indexed: true;
404
+ readonly internalType: "address";
405
+ readonly name: "account";
406
+ readonly type: "address";
429
407
  }, {
430
- readonly components: readonly [{
431
- readonly internalType: "address payable";
432
- readonly name: "fetchContract";
433
- readonly type: "address";
434
- }, {
435
- readonly internalType: "address";
436
- readonly name: "token";
437
- readonly type: "address";
438
- }];
439
- readonly internalType: "struct IShared.FetchParams[]";
440
- readonly name: "fetchParamsArray";
441
- readonly type: "tuple[]";
408
+ readonly indexed: true;
409
+ readonly internalType: "address";
410
+ readonly name: "sender";
411
+ readonly type: "address";
412
+ }];
413
+ readonly name: "RoleRevoked";
414
+ readonly type: "event";
415
+ }, {
416
+ readonly anonymous: false;
417
+ readonly inputs: readonly [{
418
+ readonly indexed: false;
419
+ readonly internalType: "uint256";
420
+ readonly name: "oraclePriceCount";
421
+ readonly type: "uint256";
422
+ }, {
423
+ readonly indexed: false;
424
+ readonly internalType: "uint256";
425
+ readonly name: "depositsSettled";
426
+ readonly type: "uint256";
427
+ }, {
428
+ readonly indexed: false;
429
+ readonly internalType: "uint256";
430
+ readonly name: "depositsRefunded";
431
+ readonly type: "uint256";
432
+ }, {
433
+ readonly indexed: false;
434
+ readonly internalType: "uint256";
435
+ readonly name: "withdrawalsProcessed";
436
+ readonly type: "uint256";
437
+ }];
438
+ readonly name: "Settled";
439
+ readonly type: "event";
440
+ }, {
441
+ readonly anonymous: false;
442
+ readonly inputs: readonly [{
443
+ readonly indexed: false;
444
+ readonly internalType: "uint256";
445
+ readonly name: "fee";
446
+ readonly type: "uint256";
447
+ }];
448
+ readonly name: "SettlementFeeSet";
449
+ readonly type: "event";
450
+ }, {
451
+ readonly anonymous: false;
452
+ readonly inputs: readonly [{
453
+ readonly indexed: true;
454
+ readonly internalType: "address";
455
+ readonly name: "target";
456
+ readonly type: "address";
457
+ }, {
458
+ readonly indexed: false;
459
+ readonly internalType: "bool";
460
+ readonly name: "allowed";
461
+ readonly type: "bool";
462
+ }];
463
+ readonly name: "TargetAllowed";
464
+ readonly type: "event";
465
+ }, {
466
+ readonly anonymous: false;
467
+ readonly inputs: readonly [{
468
+ readonly indexed: true;
469
+ readonly internalType: "address";
470
+ readonly name: "token";
471
+ readonly type: "address";
472
+ }];
473
+ readonly name: "TrackedTokenAdded";
474
+ readonly type: "event";
475
+ }, {
476
+ readonly anonymous: false;
477
+ readonly inputs: readonly [{
478
+ readonly indexed: true;
479
+ readonly internalType: "address";
480
+ readonly name: "token";
481
+ readonly type: "address";
482
+ }];
483
+ readonly name: "TrackedTokenRemoved";
484
+ readonly type: "event";
485
+ }, {
486
+ readonly anonymous: false;
487
+ readonly inputs: readonly [{
488
+ readonly indexed: false;
489
+ readonly internalType: "address";
490
+ readonly name: "account";
491
+ readonly type: "address";
492
+ }];
493
+ readonly name: "Unpaused";
494
+ readonly type: "event";
495
+ }, {
496
+ readonly anonymous: false;
497
+ readonly inputs: readonly [{
498
+ readonly indexed: true;
499
+ readonly internalType: "uint256";
500
+ readonly name: "requestId";
501
+ readonly type: "uint256";
502
+ }, {
503
+ readonly indexed: true;
504
+ readonly internalType: "address";
505
+ readonly name: "owner";
506
+ readonly type: "address";
507
+ }, {
508
+ readonly indexed: false;
509
+ readonly internalType: "uint256";
510
+ readonly name: "shares";
511
+ readonly type: "uint256";
512
+ }];
513
+ readonly name: "WithdrawCancelled";
514
+ readonly type: "event";
515
+ }, {
516
+ readonly anonymous: false;
517
+ readonly inputs: readonly [{
518
+ readonly indexed: true;
519
+ readonly internalType: "uint256";
520
+ readonly name: "requestId";
521
+ readonly type: "uint256";
522
+ }, {
523
+ readonly indexed: true;
524
+ readonly internalType: "address";
525
+ readonly name: "owner";
526
+ readonly type: "address";
527
+ }, {
528
+ readonly indexed: false;
529
+ readonly internalType: "uint256";
530
+ readonly name: "shares";
531
+ readonly type: "uint256";
532
+ }, {
533
+ readonly indexed: false;
534
+ readonly internalType: "uint256";
535
+ readonly name: "assetsPaid";
536
+ readonly type: "uint256";
537
+ }, {
538
+ readonly indexed: false;
539
+ readonly internalType: "uint256";
540
+ readonly name: "fee";
541
+ readonly type: "uint256";
542
+ }];
543
+ readonly name: "WithdrawClaimed";
544
+ readonly type: "event";
545
+ }, {
546
+ readonly anonymous: false;
547
+ readonly inputs: readonly [{
548
+ readonly indexed: true;
549
+ readonly internalType: "uint256";
550
+ readonly name: "requestId";
551
+ readonly type: "uint256";
552
+ }, {
553
+ readonly indexed: true;
554
+ readonly internalType: "address";
555
+ readonly name: "owner";
556
+ readonly type: "address";
557
+ }, {
558
+ readonly indexed: false;
559
+ readonly internalType: "uint256";
560
+ readonly name: "shares";
561
+ readonly type: "uint256";
562
+ }, {
563
+ readonly indexed: false;
564
+ readonly internalType: "uint64";
565
+ readonly name: "claimableAt";
566
+ readonly type: "uint64";
567
+ }];
568
+ readonly name: "WithdrawRequested";
569
+ readonly type: "event";
570
+ }, {
571
+ readonly anonymous: false;
572
+ readonly inputs: readonly [{
573
+ readonly indexed: true;
574
+ readonly internalType: "uint256";
575
+ readonly name: "requestId";
576
+ readonly type: "uint256";
577
+ }, {
578
+ readonly indexed: true;
579
+ readonly internalType: "address";
580
+ readonly name: "owner";
581
+ readonly type: "address";
582
+ }, {
583
+ readonly indexed: false;
584
+ readonly internalType: "uint256";
585
+ readonly name: "shares";
586
+ readonly type: "uint256";
587
+ }, {
588
+ readonly indexed: false;
589
+ readonly internalType: "uint256";
590
+ readonly name: "assetsOut";
591
+ readonly type: "uint256";
592
+ }, {
593
+ readonly indexed: false;
594
+ readonly internalType: "uint256";
595
+ readonly name: "fee";
596
+ readonly type: "uint256";
597
+ }];
598
+ readonly name: "WithdrawalSettled";
599
+ readonly type: "event";
600
+ }, {
601
+ readonly inputs: readonly [];
602
+ readonly name: "BOT_ROLE";
603
+ readonly outputs: readonly [{
604
+ readonly internalType: "bytes32";
605
+ readonly name: "";
606
+ readonly type: "bytes32";
607
+ }];
608
+ readonly stateMutability: "view";
609
+ readonly type: "function";
610
+ }, {
611
+ readonly inputs: readonly [];
612
+ readonly name: "BPS";
613
+ readonly outputs: readonly [{
614
+ readonly internalType: "uint256";
615
+ readonly name: "";
616
+ readonly type: "uint256";
617
+ }];
618
+ readonly stateMutability: "view";
619
+ readonly type: "function";
620
+ }, {
621
+ readonly inputs: readonly [];
622
+ readonly name: "DEFAULT_ADMIN_ROLE";
623
+ readonly outputs: readonly [{
624
+ readonly internalType: "bytes32";
625
+ readonly name: "";
626
+ readonly type: "bytes32";
627
+ }];
628
+ readonly stateMutability: "view";
629
+ readonly type: "function";
630
+ }, {
631
+ readonly inputs: readonly [];
632
+ readonly name: "GUARDIAN_ROLE";
633
+ readonly outputs: readonly [{
634
+ readonly internalType: "bytes32";
635
+ readonly name: "";
636
+ readonly type: "bytes32";
637
+ }];
638
+ readonly stateMutability: "view";
639
+ readonly type: "function";
640
+ }, {
641
+ readonly inputs: readonly [];
642
+ readonly name: "MANAGER_ROLE";
643
+ readonly outputs: readonly [{
644
+ readonly internalType: "bytes32";
645
+ readonly name: "";
646
+ readonly type: "bytes32";
647
+ }];
648
+ readonly stateMutability: "view";
649
+ readonly type: "function";
650
+ }, {
651
+ readonly inputs: readonly [];
652
+ readonly name: "MAX_FEE_BPS";
653
+ readonly outputs: readonly [{
654
+ readonly internalType: "uint256";
655
+ readonly name: "";
656
+ readonly type: "uint256";
657
+ }];
658
+ readonly stateMutability: "view";
659
+ readonly type: "function";
660
+ }, {
661
+ readonly inputs: readonly [];
662
+ readonly name: "SHARE_SCALE";
663
+ readonly outputs: readonly [{
664
+ readonly internalType: "uint256";
665
+ readonly name: "";
666
+ readonly type: "uint256";
667
+ }];
668
+ readonly stateMutability: "view";
669
+ readonly type: "function";
670
+ }, {
671
+ readonly inputs: readonly [{
672
+ readonly internalType: "address";
673
+ readonly name: "token";
674
+ readonly type: "address";
675
+ }];
676
+ readonly name: "addTrackedToken";
677
+ readonly outputs: readonly [];
678
+ readonly stateMutability: "nonpayable";
679
+ readonly type: "function";
680
+ }, {
681
+ readonly inputs: readonly [{
682
+ readonly internalType: "contract IERC20";
683
+ readonly name: "token";
684
+ readonly type: "address";
442
685
  }, {
686
+ readonly internalType: "address";
687
+ readonly name: "spender";
688
+ readonly type: "address";
689
+ }, {
690
+ readonly internalType: "uint256";
691
+ readonly name: "amount";
692
+ readonly type: "uint256";
693
+ }];
694
+ readonly name: "approveERC20";
695
+ readonly outputs: readonly [];
696
+ readonly stateMutability: "nonpayable";
697
+ readonly type: "function";
698
+ }, {
699
+ readonly inputs: readonly [{
700
+ readonly internalType: "address";
701
+ readonly name: "permit2";
702
+ readonly type: "address";
703
+ }, {
704
+ readonly internalType: "address";
705
+ readonly name: "token";
706
+ readonly type: "address";
707
+ }, {
708
+ readonly internalType: "address";
709
+ readonly name: "spender";
710
+ readonly type: "address";
711
+ }, {
712
+ readonly internalType: "uint160";
713
+ readonly name: "amount";
714
+ readonly type: "uint160";
715
+ }, {
716
+ readonly internalType: "uint48";
717
+ readonly name: "expiration";
718
+ readonly type: "uint48";
719
+ }];
720
+ readonly name: "approvePermit2";
721
+ readonly outputs: readonly [];
722
+ readonly stateMutability: "nonpayable";
723
+ readonly type: "function";
724
+ }, {
725
+ readonly inputs: readonly [];
726
+ readonly name: "asset";
727
+ readonly outputs: readonly [{
728
+ readonly internalType: "address";
729
+ readonly name: "";
730
+ readonly type: "address";
731
+ }];
732
+ readonly stateMutability: "view";
733
+ readonly type: "function";
734
+ }, {
735
+ readonly inputs: readonly [];
736
+ readonly name: "assetDecimals";
737
+ readonly outputs: readonly [{
738
+ readonly internalType: "uint8";
739
+ readonly name: "";
740
+ readonly type: "uint8";
741
+ }];
742
+ readonly stateMutability: "view";
743
+ readonly type: "function";
744
+ }, {
745
+ readonly inputs: readonly [];
746
+ readonly name: "assetToken";
747
+ readonly outputs: readonly [{
748
+ readonly internalType: "contract IERC20";
749
+ readonly name: "";
750
+ readonly type: "address";
751
+ }];
752
+ readonly stateMutability: "view";
753
+ readonly type: "function";
754
+ }, {
755
+ readonly inputs: readonly [{
756
+ readonly internalType: "uint256";
757
+ readonly name: "depositId";
758
+ readonly type: "uint256";
759
+ }];
760
+ readonly name: "cancelDepositRequest";
761
+ readonly outputs: readonly [];
762
+ readonly stateMutability: "nonpayable";
763
+ readonly type: "function";
764
+ }, {
765
+ readonly inputs: readonly [{
766
+ readonly internalType: "uint256";
767
+ readonly name: "maxCount";
768
+ readonly type: "uint256";
769
+ }];
770
+ readonly name: "cancelPendingDeposits";
771
+ readonly outputs: readonly [{
772
+ readonly internalType: "uint256";
773
+ readonly name: "cancelled";
774
+ readonly type: "uint256";
775
+ }];
776
+ readonly stateMutability: "nonpayable";
777
+ readonly type: "function";
778
+ }, {
779
+ readonly inputs: readonly [{
780
+ readonly internalType: "uint256";
781
+ readonly name: "requestId";
782
+ readonly type: "uint256";
783
+ }];
784
+ readonly name: "cancelWithdraw";
785
+ readonly outputs: readonly [];
786
+ readonly stateMutability: "nonpayable";
787
+ readonly type: "function";
788
+ }, {
789
+ readonly inputs: readonly [{
790
+ readonly internalType: "uint256";
791
+ readonly name: "requestId";
792
+ readonly type: "uint256";
793
+ }, {
794
+ readonly internalType: "contract IVault";
795
+ readonly name: "newVault";
796
+ readonly type: "address";
797
+ }];
798
+ readonly name: "claimAndDeposit";
799
+ readonly outputs: readonly [{
800
+ readonly internalType: "uint256";
801
+ readonly name: "depositId";
802
+ readonly type: "uint256";
803
+ }];
804
+ readonly stateMutability: "nonpayable";
805
+ readonly type: "function";
806
+ }, {
807
+ readonly inputs: readonly [{
808
+ readonly internalType: "uint256";
809
+ readonly name: "requestId";
810
+ readonly type: "uint256";
811
+ }];
812
+ readonly name: "claimWithdraw";
813
+ readonly outputs: readonly [];
814
+ readonly stateMutability: "nonpayable";
815
+ readonly type: "function";
816
+ }, {
817
+ readonly inputs: readonly [{
818
+ readonly internalType: "uint256";
819
+ readonly name: "requestId";
820
+ readonly type: "uint256";
821
+ }, {
822
+ readonly internalType: "address";
823
+ readonly name: "recipient";
824
+ readonly type: "address";
825
+ }];
826
+ readonly name: "claimWithdrawTo";
827
+ readonly outputs: readonly [];
828
+ readonly stateMutability: "nonpayable";
829
+ readonly type: "function";
830
+ }, {
831
+ readonly inputs: readonly [{
832
+ readonly internalType: "address";
833
+ readonly name: "user";
834
+ readonly type: "address";
835
+ }];
836
+ readonly name: "costBasisPerShare";
837
+ readonly outputs: readonly [{
838
+ readonly internalType: "uint256";
839
+ readonly name: "";
840
+ readonly type: "uint256";
841
+ }];
842
+ readonly stateMutability: "view";
843
+ readonly type: "function";
844
+ }, {
845
+ readonly inputs: readonly [{
846
+ readonly internalType: "address";
847
+ readonly name: "";
848
+ readonly type: "address";
849
+ }];
850
+ readonly name: "costBasisValue";
851
+ readonly outputs: readonly [{
852
+ readonly internalType: "uint256";
853
+ readonly name: "";
854
+ readonly type: "uint256";
855
+ }];
856
+ readonly stateMutability: "view";
857
+ readonly type: "function";
858
+ }, {
859
+ readonly inputs: readonly [];
860
+ readonly name: "depositQueueLength";
861
+ readonly outputs: readonly [{
862
+ readonly internalType: "uint256";
863
+ readonly name: "";
864
+ readonly type: "uint256";
865
+ }];
866
+ readonly stateMutability: "view";
867
+ readonly type: "function";
868
+ }, {
869
+ readonly inputs: readonly [];
870
+ readonly name: "feeRecipient";
871
+ readonly outputs: readonly [{
872
+ readonly internalType: "address";
873
+ readonly name: "";
874
+ readonly type: "address";
875
+ }];
876
+ readonly stateMutability: "view";
877
+ readonly type: "function";
878
+ }, {
879
+ readonly inputs: readonly [{
880
+ readonly internalType: "uint256";
881
+ readonly name: "depositId";
882
+ readonly type: "uint256";
883
+ }];
884
+ readonly name: "getDepositRequest";
885
+ readonly outputs: readonly [{
443
886
  readonly components: readonly [{
444
887
  readonly internalType: "address";
445
- readonly name: "token";
446
- readonly type: "address";
447
- }, {
448
- readonly internalType: "address payable";
449
- readonly name: "recipient";
888
+ readonly name: "owner";
450
889
  readonly type: "address";
451
890
  }, {
452
891
  readonly internalType: "uint256";
453
- readonly name: "amount";
892
+ readonly name: "assets";
454
893
  readonly type: "uint256";
894
+ }, {
895
+ readonly internalType: "enum IVault.DepositStatus";
896
+ readonly name: "status";
897
+ readonly type: "uint8";
455
898
  }];
456
- readonly internalType: "struct IShared.TransferParams[]";
457
- readonly name: "transferParamsArray";
458
- readonly type: "tuple[]";
899
+ readonly internalType: "struct IVault.DepositRequest";
900
+ readonly name: "";
901
+ readonly type: "tuple";
459
902
  }];
460
- readonly name: "allBatch";
461
- readonly outputs: readonly [];
462
- readonly stateMutability: "nonpayable";
903
+ readonly stateMutability: "view";
463
904
  readonly type: "function";
464
905
  }, {
465
906
  readonly inputs: readonly [{
907
+ readonly internalType: "uint256";
908
+ readonly name: "requestId";
909
+ readonly type: "uint256";
910
+ }];
911
+ readonly name: "getRequest";
912
+ readonly outputs: readonly [{
466
913
  readonly components: readonly [{
914
+ readonly internalType: "address";
915
+ readonly name: "owner";
916
+ readonly type: "address";
917
+ }, {
467
918
  readonly internalType: "uint256";
468
- readonly name: "sig";
919
+ readonly name: "shares";
469
920
  readonly type: "uint256";
470
921
  }, {
471
922
  readonly internalType: "uint256";
472
- readonly name: "nonce";
923
+ readonly name: "costBasisValueSnapshot";
473
924
  readonly type: "uint256";
474
925
  }, {
475
- readonly internalType: "address";
476
- readonly name: "kTimesGAddress";
477
- readonly type: "address";
478
- }];
479
- readonly internalType: "struct IShared.SigData";
480
- readonly name: "sigData";
481
- readonly type: "tuple";
482
- }, {
483
- readonly components: readonly [{
484
- readonly internalType: "address payable";
485
- readonly name: "fetchContract";
486
- readonly type: "address";
926
+ readonly internalType: "uint64";
927
+ readonly name: "requestedAt";
928
+ readonly type: "uint64";
487
929
  }, {
488
- readonly internalType: "address";
489
- readonly name: "token";
490
- readonly type: "address";
491
- }];
492
- readonly internalType: "struct IShared.FetchParams[]";
493
- readonly name: "fetchParamsArray";
494
- readonly type: "tuple[]";
495
- }, {
496
- readonly components: readonly [{
497
- readonly internalType: "address";
498
- readonly name: "token";
499
- readonly type: "address";
930
+ readonly internalType: "uint64";
931
+ readonly name: "claimableAt";
932
+ readonly type: "uint64";
500
933
  }, {
501
- readonly internalType: "address payable";
502
- readonly name: "recipient";
503
- readonly type: "address";
934
+ readonly internalType: "enum IVault.WithdrawStatus";
935
+ readonly name: "status";
936
+ readonly type: "uint8";
504
937
  }, {
505
938
  readonly internalType: "uint256";
506
- readonly name: "amount";
507
- readonly type: "uint256";
508
- }];
509
- readonly internalType: "struct IShared.TransferParams[]";
510
- readonly name: "transferParamsArray";
511
- readonly type: "tuple[]";
512
- }];
513
- readonly name: "allBatchV2";
514
- readonly outputs: readonly [];
515
- readonly stateMutability: "nonpayable";
516
- readonly type: "function";
517
- }, {
518
- readonly inputs: readonly [{
519
- readonly components: readonly [{
520
- readonly internalType: "uint256";
521
- readonly name: "sig";
939
+ readonly name: "assetsOut";
522
940
  readonly type: "uint256";
523
941
  }, {
524
942
  readonly internalType: "uint256";
525
- readonly name: "nonce";
943
+ readonly name: "fee";
526
944
  readonly type: "uint256";
527
- }, {
528
- readonly internalType: "address";
529
- readonly name: "kTimesGAddress";
530
- readonly type: "address";
531
945
  }];
532
- readonly internalType: "struct IShared.SigData";
533
- readonly name: "sigData";
946
+ readonly internalType: "struct IVault.WithdrawRequest";
947
+ readonly name: "";
534
948
  readonly type: "tuple";
949
+ }];
950
+ readonly stateMutability: "view";
951
+ readonly type: "function";
952
+ }, {
953
+ readonly inputs: readonly [{
954
+ readonly internalType: "bytes32";
955
+ readonly name: "role";
956
+ readonly type: "bytes32";
957
+ }];
958
+ readonly name: "getRoleAdmin";
959
+ readonly outputs: readonly [{
960
+ readonly internalType: "bytes32";
961
+ readonly name: "";
962
+ readonly type: "bytes32";
963
+ }];
964
+ readonly stateMutability: "view";
965
+ readonly type: "function";
966
+ }, {
967
+ readonly inputs: readonly [{
968
+ readonly internalType: "bytes32";
969
+ readonly name: "role";
970
+ readonly type: "bytes32";
535
971
  }, {
536
- readonly components: readonly [{
537
- readonly internalType: "bytes32";
538
- readonly name: "swapID";
539
- readonly type: "bytes32";
540
- }, {
541
- readonly internalType: "address";
542
- readonly name: "token";
543
- readonly type: "address";
544
- }];
545
- readonly internalType: "struct IShared.DeployFetchParams[]";
546
- readonly name: "deployFetchParamsArray";
547
- readonly type: "tuple[]";
972
+ readonly internalType: "address";
973
+ readonly name: "account";
974
+ readonly type: "address";
548
975
  }];
549
- readonly name: "deployAndFetchBatch";
976
+ readonly name: "grantRole";
550
977
  readonly outputs: readonly [];
551
978
  readonly stateMutability: "nonpayable";
552
979
  readonly type: "function";
980
+ }, {
981
+ readonly inputs: readonly [{
982
+ readonly internalType: "bytes32";
983
+ readonly name: "role";
984
+ readonly type: "bytes32";
985
+ }, {
986
+ readonly internalType: "address";
987
+ readonly name: "account";
988
+ readonly type: "address";
989
+ }];
990
+ readonly name: "hasRole";
991
+ readonly outputs: readonly [{
992
+ readonly internalType: "bool";
993
+ readonly name: "";
994
+ readonly type: "bool";
995
+ }];
996
+ readonly stateMutability: "view";
997
+ readonly type: "function";
998
+ }, {
999
+ readonly inputs: readonly [];
1000
+ readonly name: "hasSettleReadyWork";
1001
+ readonly outputs: readonly [{
1002
+ readonly internalType: "bool";
1003
+ readonly name: "";
1004
+ readonly type: "bool";
1005
+ }];
1006
+ readonly stateMutability: "view";
1007
+ readonly type: "function";
1008
+ }, {
1009
+ readonly inputs: readonly [{
1010
+ readonly internalType: "address";
1011
+ readonly name: "";
1012
+ readonly type: "address";
1013
+ }];
1014
+ readonly name: "isTracked";
1015
+ readonly outputs: readonly [{
1016
+ readonly internalType: "bool";
1017
+ readonly name: "";
1018
+ readonly type: "bool";
1019
+ }];
1020
+ readonly stateMutability: "view";
1021
+ readonly type: "function";
1022
+ }, {
1023
+ readonly inputs: readonly [];
1024
+ readonly name: "maxSettlementBatchSize";
1025
+ readonly outputs: readonly [{
1026
+ readonly internalType: "uint256";
1027
+ readonly name: "";
1028
+ readonly type: "uint256";
1029
+ }];
1030
+ readonly stateMutability: "view";
1031
+ readonly type: "function";
553
1032
  }, {
554
1033
  readonly inputs: readonly [];
555
- readonly name: "disableCommunityGuard";
1034
+ readonly name: "minDepositAssets";
1035
+ readonly outputs: readonly [{
1036
+ readonly internalType: "uint256";
1037
+ readonly name: "";
1038
+ readonly type: "uint256";
1039
+ }];
1040
+ readonly stateMutability: "view";
1041
+ readonly type: "function";
1042
+ }, {
1043
+ readonly inputs: readonly [{
1044
+ readonly internalType: "address";
1045
+ readonly name: "from";
1046
+ readonly type: "address";
1047
+ }, {
1048
+ readonly internalType: "address";
1049
+ readonly name: "to";
1050
+ readonly type: "address";
1051
+ }, {
1052
+ readonly internalType: "uint256";
1053
+ readonly name: "value";
1054
+ readonly type: "uint256";
1055
+ }];
1056
+ readonly name: "onShareTransfer";
556
1057
  readonly outputs: readonly [];
557
1058
  readonly stateMutability: "nonpayable";
558
1059
  readonly type: "function";
559
1060
  }, {
560
1061
  readonly inputs: readonly [];
561
- readonly name: "enableCommunityGuard";
1062
+ readonly name: "oracle";
1063
+ readonly outputs: readonly [{
1064
+ readonly internalType: "address";
1065
+ readonly name: "";
1066
+ readonly type: "address";
1067
+ }];
1068
+ readonly stateMutability: "view";
1069
+ readonly type: "function";
1070
+ }, {
1071
+ readonly inputs: readonly [];
1072
+ readonly name: "oracleContract";
1073
+ readonly outputs: readonly [{
1074
+ readonly internalType: "contract IOracle";
1075
+ readonly name: "";
1076
+ readonly type: "address";
1077
+ }];
1078
+ readonly stateMutability: "view";
1079
+ readonly type: "function";
1080
+ }, {
1081
+ readonly inputs: readonly [];
1082
+ readonly name: "pause";
562
1083
  readonly outputs: readonly [];
563
1084
  readonly stateMutability: "nonpayable";
564
1085
  readonly type: "function";
1086
+ }, {
1087
+ readonly inputs: readonly [];
1088
+ readonly name: "paused";
1089
+ readonly outputs: readonly [{
1090
+ readonly internalType: "bool";
1091
+ readonly name: "";
1092
+ readonly type: "bool";
1093
+ }];
1094
+ readonly stateMutability: "view";
1095
+ readonly type: "function";
1096
+ }, {
1097
+ readonly inputs: readonly [];
1098
+ readonly name: "pendingDepositTotal";
1099
+ readonly outputs: readonly [{
1100
+ readonly internalType: "uint256";
1101
+ readonly name: "";
1102
+ readonly type: "uint256";
1103
+ }];
1104
+ readonly stateMutability: "view";
1105
+ readonly type: "function";
1106
+ }, {
1107
+ readonly inputs: readonly [];
1108
+ readonly name: "pendingSettlementWithdrawShares";
1109
+ readonly outputs: readonly [{
1110
+ readonly internalType: "uint256";
1111
+ readonly name: "";
1112
+ readonly type: "uint256";
1113
+ }];
1114
+ readonly stateMutability: "view";
1115
+ readonly type: "function";
1116
+ }, {
1117
+ readonly inputs: readonly [];
1118
+ readonly name: "pendingWithdrawShares";
1119
+ readonly outputs: readonly [{
1120
+ readonly internalType: "uint256";
1121
+ readonly name: "";
1122
+ readonly type: "uint256";
1123
+ }];
1124
+ readonly stateMutability: "view";
1125
+ readonly type: "function";
1126
+ }, {
1127
+ readonly inputs: readonly [];
1128
+ readonly name: "performanceFee";
1129
+ readonly outputs: readonly [{
1130
+ readonly internalType: "uint256";
1131
+ readonly name: "";
1132
+ readonly type: "uint256";
1133
+ }];
1134
+ readonly stateMutability: "view";
1135
+ readonly type: "function";
565
1136
  }, {
566
1137
  readonly inputs: readonly [{
567
- readonly components: readonly [{
568
- readonly internalType: "uint256";
569
- readonly name: "sig";
570
- readonly type: "uint256";
571
- }, {
572
- readonly internalType: "uint256";
573
- readonly name: "nonce";
574
- readonly type: "uint256";
575
- }, {
576
- readonly internalType: "address";
577
- readonly name: "kTimesGAddress";
578
- readonly type: "address";
579
- }];
580
- readonly internalType: "struct IShared.SigData";
581
- readonly name: "sigData";
582
- readonly type: "tuple";
583
- }, {
584
- readonly components: readonly [{
585
- readonly internalType: "address";
586
- readonly name: "token";
587
- readonly type: "address";
588
- }, {
589
- readonly internalType: "address payable";
590
- readonly name: "recipient";
591
- readonly type: "address";
592
- }, {
593
- readonly internalType: "uint256";
594
- readonly name: "amount";
595
- readonly type: "uint256";
596
- }];
597
- readonly internalType: "struct IShared.TransferParams";
598
- readonly name: "transferParams";
599
- readonly type: "tuple";
1138
+ readonly internalType: "uint256";
1139
+ readonly name: "assets";
1140
+ readonly type: "uint256";
1141
+ }];
1142
+ readonly name: "previewDeposit";
1143
+ readonly outputs: readonly [{
1144
+ readonly internalType: "uint256";
1145
+ readonly name: "";
1146
+ readonly type: "uint256";
1147
+ }];
1148
+ readonly stateMutability: "view";
1149
+ readonly type: "function";
1150
+ }, {
1151
+ readonly inputs: readonly [{
1152
+ readonly internalType: "uint256";
1153
+ readonly name: "sharesIn";
1154
+ readonly type: "uint256";
600
1155
  }, {
601
- readonly components: readonly [{
602
- readonly internalType: "enum IMulticall.CallType";
603
- readonly name: "callType";
604
- readonly type: "uint8";
605
- }, {
606
- readonly internalType: "address";
607
- readonly name: "target";
608
- readonly type: "address";
609
- }, {
610
- readonly internalType: "uint256";
611
- readonly name: "value";
612
- readonly type: "uint256";
613
- }, {
614
- readonly internalType: "bytes";
615
- readonly name: "callData";
616
- readonly type: "bytes";
617
- }, {
618
- readonly internalType: "bytes";
619
- readonly name: "payload";
620
- readonly type: "bytes";
621
- }];
622
- readonly internalType: "struct IMulticall.Call[]";
623
- readonly name: "calls";
624
- readonly type: "tuple[]";
1156
+ readonly internalType: "address";
1157
+ readonly name: "owner";
1158
+ readonly type: "address";
1159
+ }];
1160
+ readonly name: "previewWithdraw";
1161
+ readonly outputs: readonly [{
1162
+ readonly internalType: "uint256";
1163
+ readonly name: "estimatedAssets";
1164
+ readonly type: "uint256";
625
1165
  }, {
626
1166
  readonly internalType: "uint256";
627
- readonly name: "gasMulticall";
1167
+ readonly name: "estimatedFee";
1168
+ readonly type: "uint256";
1169
+ }];
1170
+ readonly stateMutability: "view";
1171
+ readonly type: "function";
1172
+ }, {
1173
+ readonly inputs: readonly [];
1174
+ readonly name: "pricePerShare";
1175
+ readonly outputs: readonly [{
1176
+ readonly internalType: "uint256";
1177
+ readonly name: "";
1178
+ readonly type: "uint256";
1179
+ }];
1180
+ readonly stateMutability: "view";
1181
+ readonly type: "function";
1182
+ }, {
1183
+ readonly inputs: readonly [];
1184
+ readonly name: "queueLength";
1185
+ readonly outputs: readonly [{
1186
+ readonly internalType: "uint256";
1187
+ readonly name: "";
628
1188
  readonly type: "uint256";
629
1189
  }];
630
- readonly name: "executeActions";
631
- readonly outputs: readonly [];
632
- readonly stateMutability: "nonpayable";
1190
+ readonly stateMutability: "view";
633
1191
  readonly type: "function";
634
1192
  }, {
635
1193
  readonly inputs: readonly [{
636
- readonly components: readonly [{
637
- readonly internalType: "uint256";
638
- readonly name: "sig";
639
- readonly type: "uint256";
640
- }, {
641
- readonly internalType: "uint256";
642
- readonly name: "nonce";
643
- readonly type: "uint256";
644
- }, {
645
- readonly internalType: "address";
646
- readonly name: "kTimesGAddress";
647
- readonly type: "address";
648
- }];
649
- readonly internalType: "struct IShared.SigData";
650
- readonly name: "sigData";
651
- readonly type: "tuple";
652
- }, {
653
- readonly internalType: "address";
654
- readonly name: "recipient";
655
- readonly type: "address";
656
- }, {
657
- readonly internalType: "uint32";
658
- readonly name: "srcChain";
659
- readonly type: "uint32";
660
- }, {
661
- readonly internalType: "bytes";
662
- readonly name: "srcAddress";
663
- readonly type: "bytes";
1194
+ readonly internalType: "address[]";
1195
+ readonly name: "targets";
1196
+ readonly type: "address[]";
664
1197
  }, {
665
- readonly internalType: "bytes";
666
- readonly name: "message";
667
- readonly type: "bytes";
1198
+ readonly internalType: "bytes[]";
1199
+ readonly name: "calldatas";
1200
+ readonly type: "bytes[]";
668
1201
  }];
669
- readonly name: "executexCall";
1202
+ readonly name: "rebalance";
670
1203
  readonly outputs: readonly [];
671
1204
  readonly stateMutability: "nonpayable";
672
1205
  readonly type: "function";
673
1206
  }, {
674
1207
  readonly inputs: readonly [{
675
- readonly components: readonly [{
676
- readonly internalType: "uint256";
677
- readonly name: "sig";
678
- readonly type: "uint256";
679
- }, {
680
- readonly internalType: "uint256";
681
- readonly name: "nonce";
682
- readonly type: "uint256";
683
- }, {
684
- readonly internalType: "address";
685
- readonly name: "kTimesGAddress";
686
- readonly type: "address";
687
- }];
688
- readonly internalType: "struct IShared.SigData";
689
- readonly name: "sigData";
690
- readonly type: "tuple";
691
- }, {
692
- readonly components: readonly [{
693
- readonly internalType: "address";
694
- readonly name: "token";
695
- readonly type: "address";
696
- }, {
697
- readonly internalType: "address payable";
698
- readonly name: "recipient";
699
- readonly type: "address";
700
- }, {
701
- readonly internalType: "uint256";
702
- readonly name: "amount";
703
- readonly type: "uint256";
704
- }];
705
- readonly internalType: "struct IShared.TransferParams";
706
- readonly name: "transferParams";
707
- readonly type: "tuple";
708
- }, {
709
- readonly internalType: "uint32";
710
- readonly name: "srcChain";
711
- readonly type: "uint32";
712
- }, {
713
- readonly internalType: "bytes";
714
- readonly name: "srcAddress";
715
- readonly type: "bytes";
716
- }, {
717
- readonly internalType: "bytes";
718
- readonly name: "message";
719
- readonly type: "bytes";
1208
+ readonly internalType: "address";
1209
+ readonly name: "token";
1210
+ readonly type: "address";
720
1211
  }];
721
- readonly name: "executexSwapAndCall";
1212
+ readonly name: "removeTrackedToken";
722
1213
  readonly outputs: readonly [];
723
1214
  readonly stateMutability: "nonpayable";
724
1215
  readonly type: "function";
725
1216
  }, {
726
1217
  readonly inputs: readonly [{
727
- readonly components: readonly [{
728
- readonly internalType: "uint256";
729
- readonly name: "sig";
730
- readonly type: "uint256";
731
- }, {
732
- readonly internalType: "uint256";
733
- readonly name: "nonce";
734
- readonly type: "uint256";
735
- }, {
736
- readonly internalType: "address";
737
- readonly name: "kTimesGAddress";
738
- readonly type: "address";
739
- }];
740
- readonly internalType: "struct IShared.SigData";
741
- readonly name: "sigData";
742
- readonly type: "tuple";
1218
+ readonly internalType: "bytes32";
1219
+ readonly name: "role";
1220
+ readonly type: "bytes32";
743
1221
  }, {
744
- readonly components: readonly [{
745
- readonly internalType: "address payable";
746
- readonly name: "fetchContract";
747
- readonly type: "address";
748
- }, {
749
- readonly internalType: "address";
750
- readonly name: "token";
751
- readonly type: "address";
752
- }];
753
- readonly internalType: "struct IShared.FetchParams[]";
754
- readonly name: "fetchParamsArray";
755
- readonly type: "tuple[]";
1222
+ readonly internalType: "address";
1223
+ readonly name: "callerConfirmation";
1224
+ readonly type: "address";
756
1225
  }];
757
- readonly name: "fetchBatch";
1226
+ readonly name: "renounceRole";
758
1227
  readonly outputs: readonly [];
759
1228
  readonly stateMutability: "nonpayable";
760
1229
  readonly type: "function";
761
1230
  }, {
762
- readonly inputs: readonly [];
763
- readonly name: "getCommunityGuardDisabled";
1231
+ readonly inputs: readonly [{
1232
+ readonly internalType: "uint256";
1233
+ readonly name: "assets";
1234
+ readonly type: "uint256";
1235
+ }];
1236
+ readonly name: "requestDeposit";
764
1237
  readonly outputs: readonly [{
765
- readonly internalType: "bool";
766
- readonly name: "";
767
- readonly type: "bool";
1238
+ readonly internalType: "uint256";
1239
+ readonly name: "depositId";
1240
+ readonly type: "uint256";
768
1241
  }];
769
- readonly stateMutability: "view";
1242
+ readonly stateMutability: "nonpayable";
770
1243
  readonly type: "function";
771
1244
  }, {
772
- readonly inputs: readonly [];
773
- readonly name: "getCommunityKey";
774
- readonly outputs: readonly [{
1245
+ readonly inputs: readonly [{
1246
+ readonly internalType: "uint256";
1247
+ readonly name: "assets";
1248
+ readonly type: "uint256";
1249
+ }, {
775
1250
  readonly internalType: "address";
776
- readonly name: "";
1251
+ readonly name: "recipient";
777
1252
  readonly type: "address";
778
1253
  }];
779
- readonly stateMutability: "view";
1254
+ readonly name: "requestDepositFor";
1255
+ readonly outputs: readonly [{
1256
+ readonly internalType: "uint256";
1257
+ readonly name: "depositId";
1258
+ readonly type: "uint256";
1259
+ }];
1260
+ readonly stateMutability: "nonpayable";
780
1261
  readonly type: "function";
781
1262
  }, {
782
- readonly inputs: readonly [];
783
- readonly name: "getGovernor";
1263
+ readonly inputs: readonly [{
1264
+ readonly internalType: "uint256";
1265
+ readonly name: "sharesIn";
1266
+ readonly type: "uint256";
1267
+ }];
1268
+ readonly name: "requestWithdraw";
784
1269
  readonly outputs: readonly [{
1270
+ readonly internalType: "uint256";
1271
+ readonly name: "requestId";
1272
+ readonly type: "uint256";
1273
+ }];
1274
+ readonly stateMutability: "nonpayable";
1275
+ readonly type: "function";
1276
+ }, {
1277
+ readonly inputs: readonly [{
1278
+ readonly internalType: "bytes32";
1279
+ readonly name: "role";
1280
+ readonly type: "bytes32";
1281
+ }, {
785
1282
  readonly internalType: "address";
786
- readonly name: "";
1283
+ readonly name: "account";
787
1284
  readonly type: "address";
788
1285
  }];
789
- readonly stateMutability: "view";
1286
+ readonly name: "revokeRole";
1287
+ readonly outputs: readonly [];
1288
+ readonly stateMutability: "nonpayable";
790
1289
  readonly type: "function";
791
1290
  }, {
792
- readonly inputs: readonly [];
793
- readonly name: "getKeyManager";
794
- readonly outputs: readonly [{
795
- readonly internalType: "contract IKeyManager";
796
- readonly name: "";
1291
+ readonly inputs: readonly [{
1292
+ readonly internalType: "address";
1293
+ readonly name: "recipient";
797
1294
  readonly type: "address";
798
1295
  }];
799
- readonly stateMutability: "view";
1296
+ readonly name: "setFeeRecipient";
1297
+ readonly outputs: readonly [];
1298
+ readonly stateMutability: "nonpayable";
800
1299
  readonly type: "function";
801
1300
  }, {
802
- readonly inputs: readonly [];
803
- readonly name: "getSuspendedState";
804
- readonly outputs: readonly [{
805
- readonly internalType: "bool";
806
- readonly name: "";
807
- readonly type: "bool";
1301
+ readonly inputs: readonly [{
1302
+ readonly internalType: "uint256";
1303
+ readonly name: "size";
1304
+ readonly type: "uint256";
808
1305
  }];
809
- readonly stateMutability: "view";
1306
+ readonly name: "setMaxSettlementBatchSize";
1307
+ readonly outputs: readonly [];
1308
+ readonly stateMutability: "nonpayable";
810
1309
  readonly type: "function";
811
1310
  }, {
812
1311
  readonly inputs: readonly [{
813
- readonly internalType: "address[]";
814
- readonly name: "tokens";
815
- readonly type: "address[]";
1312
+ readonly internalType: "uint256";
1313
+ readonly name: "amount";
1314
+ readonly type: "uint256";
816
1315
  }];
817
- readonly name: "govWithdraw";
1316
+ readonly name: "setMinDepositAssets";
818
1317
  readonly outputs: readonly [];
819
1318
  readonly stateMutability: "nonpayable";
820
1319
  readonly type: "function";
821
1320
  }, {
822
- readonly inputs: readonly [];
823
- readonly name: "resume";
1321
+ readonly inputs: readonly [{
1322
+ readonly internalType: "contract IOracle";
1323
+ readonly name: "_oracle";
1324
+ readonly type: "address";
1325
+ }];
1326
+ readonly name: "setOracle";
824
1327
  readonly outputs: readonly [];
825
1328
  readonly stateMutability: "nonpayable";
826
1329
  readonly type: "function";
827
1330
  }, {
828
- readonly inputs: readonly [];
829
- readonly name: "suspend";
1331
+ readonly inputs: readonly [{
1332
+ readonly internalType: "uint256";
1333
+ readonly name: "feeBps";
1334
+ readonly type: "uint256";
1335
+ }];
1336
+ readonly name: "setPerformanceFee";
830
1337
  readonly outputs: readonly [];
831
1338
  readonly stateMutability: "nonpayable";
832
1339
  readonly type: "function";
833
1340
  }, {
834
1341
  readonly inputs: readonly [{
835
- readonly components: readonly [{
836
- readonly internalType: "uint256";
837
- readonly name: "sig";
838
- readonly type: "uint256";
839
- }, {
840
- readonly internalType: "uint256";
841
- readonly name: "nonce";
842
- readonly type: "uint256";
843
- }, {
844
- readonly internalType: "address";
845
- readonly name: "kTimesGAddress";
846
- readonly type: "address";
847
- }];
848
- readonly internalType: "struct IShared.SigData";
849
- readonly name: "sigData";
850
- readonly type: "tuple";
851
- }, {
852
- readonly components: readonly [{
853
- readonly internalType: "address";
854
- readonly name: "token";
855
- readonly type: "address";
856
- }, {
857
- readonly internalType: "address payable";
858
- readonly name: "recipient";
859
- readonly type: "address";
860
- }, {
861
- readonly internalType: "uint256";
862
- readonly name: "amount";
863
- readonly type: "uint256";
864
- }];
865
- readonly internalType: "struct IShared.TransferParams";
866
- readonly name: "transferParams";
867
- readonly type: "tuple";
1342
+ readonly internalType: "uint256";
1343
+ readonly name: "fee";
1344
+ readonly type: "uint256";
868
1345
  }];
869
- readonly name: "transfer";
1346
+ readonly name: "setSettlementFee";
870
1347
  readonly outputs: readonly [];
871
1348
  readonly stateMutability: "nonpayable";
872
1349
  readonly type: "function";
873
1350
  }, {
874
1351
  readonly inputs: readonly [{
875
- readonly components: readonly [{
876
- readonly internalType: "uint256";
877
- readonly name: "sig";
878
- readonly type: "uint256";
879
- }, {
880
- readonly internalType: "uint256";
881
- readonly name: "nonce";
882
- readonly type: "uint256";
883
- }, {
884
- readonly internalType: "address";
885
- readonly name: "kTimesGAddress";
886
- readonly type: "address";
887
- }];
888
- readonly internalType: "struct IShared.SigData";
889
- readonly name: "sigData";
890
- readonly type: "tuple";
1352
+ readonly internalType: "address";
1353
+ readonly name: "target";
1354
+ readonly type: "address";
891
1355
  }, {
892
- readonly components: readonly [{
893
- readonly internalType: "address";
894
- readonly name: "token";
895
- readonly type: "address";
896
- }, {
897
- readonly internalType: "address payable";
898
- readonly name: "recipient";
899
- readonly type: "address";
900
- }, {
901
- readonly internalType: "uint256";
902
- readonly name: "amount";
903
- readonly type: "uint256";
904
- }];
905
- readonly internalType: "struct IShared.TransferParams[]";
906
- readonly name: "transferParamsArray";
907
- readonly type: "tuple[]";
1356
+ readonly internalType: "bool";
1357
+ readonly name: "allowed";
1358
+ readonly type: "bool";
908
1359
  }];
909
- readonly name: "transferBatch";
1360
+ readonly name: "setTargetAllowed";
910
1361
  readonly outputs: readonly [];
911
1362
  readonly stateMutability: "nonpayable";
912
1363
  readonly type: "function";
913
1364
  }, {
914
1365
  readonly inputs: readonly [{
915
- readonly components: readonly [{
916
- readonly internalType: "uint256";
917
- readonly name: "sig";
918
- readonly type: "uint256";
919
- }, {
920
- readonly internalType: "uint256";
921
- readonly name: "nonce";
922
- readonly type: "uint256";
923
- }, {
924
- readonly internalType: "address";
925
- readonly name: "kTimesGAddress";
926
- readonly type: "address";
927
- }];
928
- readonly internalType: "struct IShared.SigData";
929
- readonly name: "sigData";
930
- readonly type: "tuple";
1366
+ readonly internalType: "address[]";
1367
+ readonly name: "tokens";
1368
+ readonly type: "address[]";
931
1369
  }, {
932
- readonly components: readonly [{
933
- readonly internalType: "address";
934
- readonly name: "token";
935
- readonly type: "address";
936
- }, {
937
- readonly internalType: "address payable";
938
- readonly name: "recipient";
939
- readonly type: "address";
940
- }, {
941
- readonly internalType: "uint256";
942
- readonly name: "amount";
943
- readonly type: "uint256";
944
- }];
945
- readonly internalType: "struct IShared.TransferParams";
946
- readonly name: "transferParams";
947
- readonly type: "tuple";
1370
+ readonly internalType: "uint128[]";
1371
+ readonly name: "prices";
1372
+ readonly type: "uint128[]";
1373
+ }];
1374
+ readonly name: "settle";
1375
+ readonly outputs: readonly [];
1376
+ readonly stateMutability: "nonpayable";
1377
+ readonly type: "function";
1378
+ }, {
1379
+ readonly inputs: readonly [];
1380
+ readonly name: "settledWithdrawalLiabilityTotal";
1381
+ readonly outputs: readonly [{
1382
+ readonly internalType: "uint256";
1383
+ readonly name: "";
1384
+ readonly type: "uint256";
1385
+ }];
1386
+ readonly stateMutability: "view";
1387
+ readonly type: "function";
1388
+ }, {
1389
+ readonly inputs: readonly [];
1390
+ readonly name: "settlementFeeAssets";
1391
+ readonly outputs: readonly [{
1392
+ readonly internalType: "uint256";
1393
+ readonly name: "";
1394
+ readonly type: "uint256";
1395
+ }];
1396
+ readonly stateMutability: "view";
1397
+ readonly type: "function";
1398
+ }, {
1399
+ readonly inputs: readonly [];
1400
+ readonly name: "shareToken";
1401
+ readonly outputs: readonly [{
1402
+ readonly internalType: "contract HPT";
1403
+ readonly name: "";
1404
+ readonly type: "address";
948
1405
  }];
949
- readonly name: "transferFallback";
950
- readonly outputs: readonly [];
951
- readonly stateMutability: "nonpayable";
1406
+ readonly stateMutability: "view";
952
1407
  readonly type: "function";
953
1408
  }, {
954
- readonly inputs: readonly [{
955
- readonly components: readonly [{
956
- readonly internalType: "uint256";
957
- readonly name: "sig";
958
- readonly type: "uint256";
959
- }, {
960
- readonly internalType: "uint256";
961
- readonly name: "nonce";
962
- readonly type: "uint256";
963
- }, {
964
- readonly internalType: "address";
965
- readonly name: "kTimesGAddress";
966
- readonly type: "address";
967
- }];
968
- readonly internalType: "struct IShared.SigData";
969
- readonly name: "sigData";
970
- readonly type: "tuple";
971
- }, {
972
- readonly internalType: "contract IKeyManager";
973
- readonly name: "keyManager";
1409
+ readonly inputs: readonly [];
1410
+ readonly name: "shares";
1411
+ readonly outputs: readonly [{
1412
+ readonly internalType: "address";
1413
+ readonly name: "";
974
1414
  readonly type: "address";
975
- }, {
1415
+ }];
1416
+ readonly stateMutability: "view";
1417
+ readonly type: "function";
1418
+ }, {
1419
+ readonly inputs: readonly [{
1420
+ readonly internalType: "bytes4";
1421
+ readonly name: "interfaceId";
1422
+ readonly type: "bytes4";
1423
+ }];
1424
+ readonly name: "supportsInterface";
1425
+ readonly outputs: readonly [{
976
1426
  readonly internalType: "bool";
977
- readonly name: "omitChecks";
1427
+ readonly name: "";
978
1428
  readonly type: "bool";
979
1429
  }];
980
- readonly name: "updateKeyManager";
981
- readonly outputs: readonly [];
982
- readonly stateMutability: "nonpayable";
1430
+ readonly stateMutability: "view";
983
1431
  readonly type: "function";
984
1432
  }, {
985
1433
  readonly inputs: readonly [{
986
- readonly internalType: "uint32";
987
- readonly name: "dstChain";
988
- readonly type: "uint32";
989
- }, {
990
- readonly internalType: "bytes";
991
- readonly name: "dstAddress";
992
- readonly type: "bytes";
993
- }, {
994
- readonly internalType: "uint32";
995
- readonly name: "dstToken";
996
- readonly type: "uint32";
997
- }, {
998
- readonly internalType: "bytes";
999
- readonly name: "message";
1000
- readonly type: "bytes";
1001
- }, {
1002
- readonly internalType: "uint256";
1003
- readonly name: "gasAmount";
1004
- readonly type: "uint256";
1005
- }, {
1006
- readonly internalType: "bytes";
1007
- readonly name: "cfParameters";
1008
- readonly type: "bytes";
1434
+ readonly internalType: "address";
1435
+ readonly name: "";
1436
+ readonly type: "address";
1009
1437
  }];
1010
- readonly name: "xCallNative";
1011
- readonly outputs: readonly [];
1012
- readonly stateMutability: "payable";
1438
+ readonly name: "targetAllowed";
1439
+ readonly outputs: readonly [{
1440
+ readonly internalType: "bool";
1441
+ readonly name: "";
1442
+ readonly type: "bool";
1443
+ }];
1444
+ readonly stateMutability: "view";
1013
1445
  readonly type: "function";
1014
1446
  }, {
1015
1447
  readonly inputs: readonly [{
1016
- readonly internalType: "uint32";
1017
- readonly name: "dstChain";
1018
- readonly type: "uint32";
1019
- }, {
1020
- readonly internalType: "bytes";
1021
- readonly name: "dstAddress";
1022
- readonly type: "bytes";
1023
- }, {
1024
- readonly internalType: "uint32";
1025
- readonly name: "dstToken";
1026
- readonly type: "uint32";
1027
- }, {
1028
- readonly internalType: "bytes";
1029
- readonly name: "message";
1030
- readonly type: "bytes";
1031
- }, {
1032
- readonly internalType: "uint256";
1033
- readonly name: "gasAmount";
1034
- readonly type: "uint256";
1035
- }, {
1036
- readonly internalType: "contract IERC20";
1037
- readonly name: "srcToken";
1448
+ readonly internalType: "address";
1449
+ readonly name: "";
1038
1450
  readonly type: "address";
1039
- }, {
1451
+ }];
1452
+ readonly name: "tokenDecimals";
1453
+ readonly outputs: readonly [{
1454
+ readonly internalType: "uint8";
1455
+ readonly name: "";
1456
+ readonly type: "uint8";
1457
+ }];
1458
+ readonly stateMutability: "view";
1459
+ readonly type: "function";
1460
+ }, {
1461
+ readonly inputs: readonly [];
1462
+ readonly name: "totalAssets";
1463
+ readonly outputs: readonly [{
1040
1464
  readonly internalType: "uint256";
1041
- readonly name: "amount";
1465
+ readonly name: "";
1042
1466
  readonly type: "uint256";
1043
- }, {
1044
- readonly internalType: "bytes";
1045
- readonly name: "cfParameters";
1046
- readonly type: "bytes";
1047
1467
  }];
1048
- readonly name: "xCallToken";
1468
+ readonly stateMutability: "view";
1469
+ readonly type: "function";
1470
+ }, {
1471
+ readonly inputs: readonly [];
1472
+ readonly name: "trackedTokens";
1473
+ readonly outputs: readonly [{
1474
+ readonly internalType: "address[]";
1475
+ readonly name: "";
1476
+ readonly type: "address[]";
1477
+ }];
1478
+ readonly stateMutability: "view";
1479
+ readonly type: "function";
1480
+ }, {
1481
+ readonly inputs: readonly [];
1482
+ readonly name: "unpause";
1049
1483
  readonly outputs: readonly [];
1050
1484
  readonly stateMutability: "nonpayable";
1051
1485
  readonly type: "function";
1052
1486
  }, {
1053
1487
  readonly inputs: readonly [{
1054
- readonly internalType: "uint32";
1055
- readonly name: "dstChain";
1056
- readonly type: "uint32";
1057
- }, {
1058
- readonly internalType: "bytes";
1059
- readonly name: "dstAddress";
1060
- readonly type: "bytes";
1061
- }, {
1062
- readonly internalType: "uint32";
1063
- readonly name: "dstToken";
1064
- readonly type: "uint32";
1065
- }, {
1066
- readonly internalType: "bytes";
1067
- readonly name: "cfParameters";
1068
- readonly type: "bytes";
1488
+ readonly internalType: "address";
1489
+ readonly name: "user";
1490
+ readonly type: "address";
1069
1491
  }];
1070
- readonly name: "xSwapNative";
1071
- readonly outputs: readonly [];
1072
- readonly stateMutability: "payable";
1492
+ readonly name: "userDepositIds";
1493
+ readonly outputs: readonly [{
1494
+ readonly internalType: "uint256[]";
1495
+ readonly name: "";
1496
+ readonly type: "uint256[]";
1497
+ }];
1498
+ readonly stateMutability: "view";
1073
1499
  readonly type: "function";
1074
1500
  }, {
1075
1501
  readonly inputs: readonly [{
1076
- readonly internalType: "uint32";
1077
- readonly name: "dstChain";
1078
- readonly type: "uint32";
1079
- }, {
1080
- readonly internalType: "bytes";
1081
- readonly name: "dstAddress";
1082
- readonly type: "bytes";
1083
- }, {
1084
- readonly internalType: "uint32";
1085
- readonly name: "dstToken";
1086
- readonly type: "uint32";
1087
- }, {
1088
- readonly internalType: "contract IERC20";
1089
- readonly name: "srcToken";
1502
+ readonly internalType: "address";
1503
+ readonly name: "user";
1090
1504
  readonly type: "address";
1091
- }, {
1092
- readonly internalType: "uint256";
1093
- readonly name: "amount";
1094
- readonly type: "uint256";
1095
- }, {
1096
- readonly internalType: "bytes";
1097
- readonly name: "cfParameters";
1098
- readonly type: "bytes";
1099
1505
  }];
1100
- readonly name: "xSwapToken";
1101
- readonly outputs: readonly [];
1102
- readonly stateMutability: "nonpayable";
1506
+ readonly name: "userRequestIds";
1507
+ readonly outputs: readonly [{
1508
+ readonly internalType: "uint256[]";
1509
+ readonly name: "";
1510
+ readonly type: "uint256[]";
1511
+ }];
1512
+ readonly stateMutability: "view";
1103
1513
  readonly type: "function";
1104
- }, {
1105
- readonly stateMutability: "payable";
1106
- readonly type: "receive";
1107
1514
  }];
1108
1515
  /**
1109
1516
  * Type-safe ABI for Vault_json
@@ -1162,36 +1569,333 @@ export declare class Vault_json {
1162
1569
  */
1163
1570
  getContract(): Vault_jsonContract;
1164
1571
  /**
1165
- * getCommunityGuardDisabled
1166
- * view
1572
+ * BOT_ROLE
1573
+ * view
1574
+ */
1575
+ BOT_ROLE(): Promise<`0x${string}`>;
1576
+ /**
1577
+ * BPS
1578
+ * view
1579
+ */
1580
+ BPS(): Promise<bigint>;
1581
+ /**
1582
+ * DEFAULT_ADMIN_ROLE
1583
+ * view
1584
+ */
1585
+ DEFAULT_ADMIN_ROLE(): Promise<`0x${string}`>;
1586
+ /**
1587
+ * GUARDIAN_ROLE
1588
+ * view
1589
+ */
1590
+ GUARDIAN_ROLE(): Promise<`0x${string}`>;
1591
+ /**
1592
+ * MANAGER_ROLE
1593
+ * view
1594
+ */
1595
+ MANAGER_ROLE(): Promise<`0x${string}`>;
1596
+ /**
1597
+ * MAX_FEE_BPS
1598
+ * view
1599
+ */
1600
+ MAX_FEE_BPS(): Promise<bigint>;
1601
+ /**
1602
+ * SHARE_SCALE
1603
+ * view
1604
+ */
1605
+ SHARE_SCALE(): Promise<bigint>;
1606
+ /**
1607
+ * asset
1608
+ * view
1609
+ */
1610
+ asset(): Promise<`0x${string}`>;
1611
+ /**
1612
+ * assetDecimals
1613
+ * view
1614
+ */
1615
+ assetDecimals(): Promise<bigint>;
1616
+ /**
1617
+ * assetToken
1618
+ * view
1619
+ */
1620
+ assetToken(): Promise<`0x${string}`>;
1621
+ /**
1622
+ * costBasisPerShare
1623
+ * view
1624
+ */
1625
+ costBasisPerShare(user: `0x${string}`): Promise<bigint>;
1626
+ /**
1627
+ * costBasisValue
1628
+ * view
1629
+ */
1630
+ costBasisValue(arg0: `0x${string}`): Promise<bigint>;
1631
+ /**
1632
+ * depositQueueLength
1633
+ * view
1634
+ */
1635
+ depositQueueLength(): Promise<bigint>;
1636
+ /**
1637
+ * feeRecipient
1638
+ * view
1639
+ */
1640
+ feeRecipient(): Promise<`0x${string}`>;
1641
+ /**
1642
+ * getDepositRequest
1643
+ * view
1644
+ */
1645
+ getDepositRequest(depositId: bigint): Promise<IVault_DepositRequest>;
1646
+ /**
1647
+ * getRequest
1648
+ * view
1649
+ */
1650
+ getRequest(requestId: bigint): Promise<IVault_WithdrawRequest>;
1651
+ /**
1652
+ * getRoleAdmin
1653
+ * view
1654
+ */
1655
+ getRoleAdmin(role: `0x${string}`): Promise<`0x${string}`>;
1656
+ /**
1657
+ * hasRole
1658
+ * view
1659
+ */
1660
+ hasRole(role: `0x${string}`, account: `0x${string}`): Promise<boolean>;
1661
+ /**
1662
+ * hasSettleReadyWork
1663
+ * view
1664
+ */
1665
+ hasSettleReadyWork(): Promise<boolean>;
1666
+ /**
1667
+ * isTracked
1668
+ * view
1669
+ */
1670
+ isTracked(arg0: `0x${string}`): Promise<boolean>;
1671
+ /**
1672
+ * maxSettlementBatchSize
1673
+ * view
1674
+ */
1675
+ maxSettlementBatchSize(): Promise<bigint>;
1676
+ /**
1677
+ * minDepositAssets
1678
+ * view
1679
+ */
1680
+ minDepositAssets(): Promise<bigint>;
1681
+ /**
1682
+ * oracle
1683
+ * view
1684
+ */
1685
+ oracle(): Promise<`0x${string}`>;
1686
+ /**
1687
+ * oracleContract
1688
+ * view
1689
+ */
1690
+ oracleContract(): Promise<`0x${string}`>;
1691
+ /**
1692
+ * paused
1693
+ * view
1694
+ */
1695
+ paused(): Promise<boolean>;
1696
+ /**
1697
+ * pendingDepositTotal
1698
+ * view
1699
+ */
1700
+ pendingDepositTotal(): Promise<bigint>;
1701
+ /**
1702
+ * pendingSettlementWithdrawShares
1703
+ * view
1704
+ */
1705
+ pendingSettlementWithdrawShares(): Promise<bigint>;
1706
+ /**
1707
+ * pendingWithdrawShares
1708
+ * view
1709
+ */
1710
+ pendingWithdrawShares(): Promise<bigint>;
1711
+ /**
1712
+ * performanceFee
1713
+ * view
1714
+ */
1715
+ performanceFee(): Promise<bigint>;
1716
+ /**
1717
+ * previewDeposit
1718
+ * view
1719
+ */
1720
+ previewDeposit(assets: bigint): Promise<bigint>;
1721
+ /**
1722
+ * previewWithdraw
1723
+ * view
1724
+ */
1725
+ previewWithdraw(sharesIn: bigint, owner: `0x${string}`): Promise<[bigint, bigint]>;
1726
+ /**
1727
+ * pricePerShare
1728
+ * view
1729
+ */
1730
+ pricePerShare(): Promise<bigint>;
1731
+ /**
1732
+ * queueLength
1733
+ * view
1734
+ */
1735
+ queueLength(): Promise<bigint>;
1736
+ /**
1737
+ * settledWithdrawalLiabilityTotal
1738
+ * view
1739
+ */
1740
+ settledWithdrawalLiabilityTotal(): Promise<bigint>;
1741
+ /**
1742
+ * settlementFeeAssets
1743
+ * view
1744
+ */
1745
+ settlementFeeAssets(): Promise<bigint>;
1746
+ /**
1747
+ * shareToken
1748
+ * view
1749
+ */
1750
+ shareToken(): Promise<`0x${string}`>;
1751
+ /**
1752
+ * shares
1753
+ * view
1754
+ */
1755
+ shares(): Promise<`0x${string}`>;
1756
+ /**
1757
+ * supportsInterface
1758
+ * view
1759
+ */
1760
+ supportsInterface(interfaceId: `0x${string}`): Promise<boolean>;
1761
+ /**
1762
+ * targetAllowed
1763
+ * view
1764
+ */
1765
+ targetAllowed(arg0: `0x${string}`): Promise<boolean>;
1766
+ /**
1767
+ * tokenDecimals
1768
+ * view
1769
+ */
1770
+ tokenDecimals(arg0: `0x${string}`): Promise<bigint>;
1771
+ /**
1772
+ * totalAssets
1773
+ * view
1774
+ */
1775
+ totalAssets(): Promise<bigint>;
1776
+ /**
1777
+ * trackedTokens
1778
+ * view
1779
+ */
1780
+ trackedTokens(): Promise<`0x${string}`[]>;
1781
+ /**
1782
+ * userDepositIds
1783
+ * view
1784
+ */
1785
+ userDepositIds(user: `0x${string}`): Promise<bigint[]>;
1786
+ /**
1787
+ * userRequestIds
1788
+ * view
1789
+ */
1790
+ userRequestIds(user: `0x${string}`): Promise<bigint[]>;
1791
+ /**
1792
+ * addTrackedToken
1793
+ * nonpayable
1794
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1795
+ */
1796
+ addTrackedToken(token: `0x${string}`, options?: {
1797
+ accessList?: import('viem').AccessList;
1798
+ authorizationList?: import('viem').AuthorizationList;
1799
+ chain?: import('viem').Chain | null;
1800
+ dataSuffix?: `0x${string}`;
1801
+ gas?: bigint;
1802
+ gasPrice?: bigint;
1803
+ maxFeePerGas?: bigint;
1804
+ maxPriorityFeePerGas?: bigint;
1805
+ nonce?: number;
1806
+ value?: bigint;
1807
+ }): Promise<`0x${string}`>;
1808
+ /**
1809
+ * approveERC20
1810
+ * nonpayable
1811
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1167
1812
  */
1168
- getCommunityGuardDisabled(): Promise<boolean>;
1813
+ approveERC20(token: `0x${string}`, spender: `0x${string}`, amount: bigint, options?: {
1814
+ accessList?: import('viem').AccessList;
1815
+ authorizationList?: import('viem').AuthorizationList;
1816
+ chain?: import('viem').Chain | null;
1817
+ dataSuffix?: `0x${string}`;
1818
+ gas?: bigint;
1819
+ gasPrice?: bigint;
1820
+ maxFeePerGas?: bigint;
1821
+ maxPriorityFeePerGas?: bigint;
1822
+ nonce?: number;
1823
+ value?: bigint;
1824
+ }): Promise<`0x${string}`>;
1169
1825
  /**
1170
- * getCommunityKey
1171
- * view
1826
+ * approvePermit2
1827
+ * nonpayable
1828
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1172
1829
  */
1173
- getCommunityKey(): Promise<`0x${string}`>;
1830
+ approvePermit2(permit2: `0x${string}`, token: `0x${string}`, spender: `0x${string}`, amount: bigint, expiration: bigint, options?: {
1831
+ accessList?: import('viem').AccessList;
1832
+ authorizationList?: import('viem').AuthorizationList;
1833
+ chain?: import('viem').Chain | null;
1834
+ dataSuffix?: `0x${string}`;
1835
+ gas?: bigint;
1836
+ gasPrice?: bigint;
1837
+ maxFeePerGas?: bigint;
1838
+ maxPriorityFeePerGas?: bigint;
1839
+ nonce?: number;
1840
+ value?: bigint;
1841
+ }): Promise<`0x${string}`>;
1174
1842
  /**
1175
- * getGovernor
1176
- * view
1843
+ * cancelDepositRequest
1844
+ * nonpayable
1845
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1177
1846
  */
1178
- getGovernor(): Promise<`0x${string}`>;
1847
+ cancelDepositRequest(depositId: bigint, options?: {
1848
+ accessList?: import('viem').AccessList;
1849
+ authorizationList?: import('viem').AuthorizationList;
1850
+ chain?: import('viem').Chain | null;
1851
+ dataSuffix?: `0x${string}`;
1852
+ gas?: bigint;
1853
+ gasPrice?: bigint;
1854
+ maxFeePerGas?: bigint;
1855
+ maxPriorityFeePerGas?: bigint;
1856
+ nonce?: number;
1857
+ value?: bigint;
1858
+ }): Promise<`0x${string}`>;
1179
1859
  /**
1180
- * getKeyManager
1181
- * view
1860
+ * cancelPendingDeposits
1861
+ * nonpayable
1862
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1182
1863
  */
1183
- getKeyManager(): Promise<`0x${string}`>;
1864
+ cancelPendingDeposits(maxCount: bigint, options?: {
1865
+ accessList?: import('viem').AccessList;
1866
+ authorizationList?: import('viem').AuthorizationList;
1867
+ chain?: import('viem').Chain | null;
1868
+ dataSuffix?: `0x${string}`;
1869
+ gas?: bigint;
1870
+ gasPrice?: bigint;
1871
+ maxFeePerGas?: bigint;
1872
+ maxPriorityFeePerGas?: bigint;
1873
+ nonce?: number;
1874
+ value?: bigint;
1875
+ }): Promise<`0x${string}`>;
1184
1876
  /**
1185
- * getSuspendedState
1186
- * view
1877
+ * cancelWithdraw
1878
+ * nonpayable
1879
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1187
1880
  */
1188
- getSuspendedState(): Promise<boolean>;
1881
+ cancelWithdraw(requestId: bigint, options?: {
1882
+ accessList?: import('viem').AccessList;
1883
+ authorizationList?: import('viem').AuthorizationList;
1884
+ chain?: import('viem').Chain | null;
1885
+ dataSuffix?: `0x${string}`;
1886
+ gas?: bigint;
1887
+ gasPrice?: bigint;
1888
+ maxFeePerGas?: bigint;
1889
+ maxPriorityFeePerGas?: bigint;
1890
+ nonce?: number;
1891
+ value?: bigint;
1892
+ }): Promise<`0x${string}`>;
1189
1893
  /**
1190
- * addGasNative
1191
- * payable
1894
+ * claimAndDeposit
1895
+ * nonpayable
1192
1896
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1193
1897
  */
1194
- addGasNative(swapID: `0x${string}`, options?: {
1898
+ claimAndDeposit(requestId: bigint, newVault: `0x${string}`, options?: {
1195
1899
  accessList?: import('viem').AccessList;
1196
1900
  authorizationList?: import('viem').AuthorizationList;
1197
1901
  chain?: import('viem').Chain | null;
@@ -1204,11 +1908,11 @@ export declare class Vault_json {
1204
1908
  value?: bigint;
1205
1909
  }): Promise<`0x${string}`>;
1206
1910
  /**
1207
- * addGasToken
1911
+ * claimWithdraw
1208
1912
  * nonpayable
1209
1913
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1210
1914
  */
1211
- addGasToken(swapID: `0x${string}`, amount: bigint, token: `0x${string}`, options?: {
1915
+ claimWithdraw(requestId: bigint, options?: {
1212
1916
  accessList?: import('viem').AccessList;
1213
1917
  authorizationList?: import('viem').AuthorizationList;
1214
1918
  chain?: import('viem').Chain | null;
@@ -1221,11 +1925,11 @@ export declare class Vault_json {
1221
1925
  value?: bigint;
1222
1926
  }): Promise<`0x${string}`>;
1223
1927
  /**
1224
- * allBatch
1928
+ * claimWithdrawTo
1225
1929
  * nonpayable
1226
1930
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1227
1931
  */
1228
- allBatch(sigData: IShared_SigData, deployFetchParamsArray: IShared_DeployFetchParams[], fetchParamsArray: IShared_FetchParams[], transferParamsArray: IShared_TransferParams[], options?: {
1932
+ claimWithdrawTo(requestId: bigint, recipient: `0x${string}`, options?: {
1229
1933
  accessList?: import('viem').AccessList;
1230
1934
  authorizationList?: import('viem').AuthorizationList;
1231
1935
  chain?: import('viem').Chain | null;
@@ -1238,11 +1942,11 @@ export declare class Vault_json {
1238
1942
  value?: bigint;
1239
1943
  }): Promise<`0x${string}`>;
1240
1944
  /**
1241
- * allBatchV2
1945
+ * grantRole
1242
1946
  * nonpayable
1243
1947
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1244
1948
  */
1245
- allBatchV2(sigData: IShared_SigData, fetchParamsArray: IShared_FetchParams[], transferParamsArray: IShared_TransferParams[], options?: {
1949
+ grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
1246
1950
  accessList?: import('viem').AccessList;
1247
1951
  authorizationList?: import('viem').AuthorizationList;
1248
1952
  chain?: import('viem').Chain | null;
@@ -1255,11 +1959,11 @@ export declare class Vault_json {
1255
1959
  value?: bigint;
1256
1960
  }): Promise<`0x${string}`>;
1257
1961
  /**
1258
- * deployAndFetchBatch
1962
+ * onShareTransfer
1259
1963
  * nonpayable
1260
1964
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1261
1965
  */
1262
- deployAndFetchBatch(sigData: IShared_SigData, deployFetchParamsArray: IShared_DeployFetchParams[], options?: {
1966
+ onShareTransfer(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
1263
1967
  accessList?: import('viem').AccessList;
1264
1968
  authorizationList?: import('viem').AuthorizationList;
1265
1969
  chain?: import('viem').Chain | null;
@@ -1272,11 +1976,11 @@ export declare class Vault_json {
1272
1976
  value?: bigint;
1273
1977
  }): Promise<`0x${string}`>;
1274
1978
  /**
1275
- * disableCommunityGuard
1979
+ * pause
1276
1980
  * nonpayable
1277
1981
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1278
1982
  */
1279
- disableCommunityGuard(options?: {
1983
+ pause(options?: {
1280
1984
  accessList?: import('viem').AccessList;
1281
1985
  authorizationList?: import('viem').AuthorizationList;
1282
1986
  chain?: import('viem').Chain | null;
@@ -1289,11 +1993,11 @@ export declare class Vault_json {
1289
1993
  value?: bigint;
1290
1994
  }): Promise<`0x${string}`>;
1291
1995
  /**
1292
- * enableCommunityGuard
1996
+ * rebalance
1293
1997
  * nonpayable
1294
1998
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1295
1999
  */
1296
- enableCommunityGuard(options?: {
2000
+ rebalance(targets: `0x${string}`[], calldatas: `0x${string}`[], options?: {
1297
2001
  accessList?: import('viem').AccessList;
1298
2002
  authorizationList?: import('viem').AuthorizationList;
1299
2003
  chain?: import('viem').Chain | null;
@@ -1306,11 +2010,11 @@ export declare class Vault_json {
1306
2010
  value?: bigint;
1307
2011
  }): Promise<`0x${string}`>;
1308
2012
  /**
1309
- * executeActions
2013
+ * removeTrackedToken
1310
2014
  * nonpayable
1311
2015
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1312
2016
  */
1313
- executeActions(sigData: IShared_SigData, transferParams: IShared_TransferParams, calls: IMulticall_Call[], gasMulticall: bigint, options?: {
2017
+ removeTrackedToken(token: `0x${string}`, options?: {
1314
2018
  accessList?: import('viem').AccessList;
1315
2019
  authorizationList?: import('viem').AuthorizationList;
1316
2020
  chain?: import('viem').Chain | null;
@@ -1323,11 +2027,11 @@ export declare class Vault_json {
1323
2027
  value?: bigint;
1324
2028
  }): Promise<`0x${string}`>;
1325
2029
  /**
1326
- * executexCall
2030
+ * renounceRole
1327
2031
  * nonpayable
1328
2032
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1329
2033
  */
1330
- executexCall(sigData: IShared_SigData, recipient: `0x${string}`, srcChain: bigint, srcAddress: `0x${string}`, message: `0x${string}`, options?: {
2034
+ renounceRole(role: `0x${string}`, callerConfirmation: `0x${string}`, options?: {
1331
2035
  accessList?: import('viem').AccessList;
1332
2036
  authorizationList?: import('viem').AuthorizationList;
1333
2037
  chain?: import('viem').Chain | null;
@@ -1340,11 +2044,11 @@ export declare class Vault_json {
1340
2044
  value?: bigint;
1341
2045
  }): Promise<`0x${string}`>;
1342
2046
  /**
1343
- * executexSwapAndCall
2047
+ * requestDeposit
1344
2048
  * nonpayable
1345
2049
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1346
2050
  */
1347
- executexSwapAndCall(sigData: IShared_SigData, transferParams: IShared_TransferParams, srcChain: bigint, srcAddress: `0x${string}`, message: `0x${string}`, options?: {
2051
+ requestDeposit(assets: bigint, options?: {
1348
2052
  accessList?: import('viem').AccessList;
1349
2053
  authorizationList?: import('viem').AuthorizationList;
1350
2054
  chain?: import('viem').Chain | null;
@@ -1357,11 +2061,11 @@ export declare class Vault_json {
1357
2061
  value?: bigint;
1358
2062
  }): Promise<`0x${string}`>;
1359
2063
  /**
1360
- * fetchBatch
2064
+ * requestDepositFor
1361
2065
  * nonpayable
1362
2066
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1363
2067
  */
1364
- fetchBatch(sigData: IShared_SigData, fetchParamsArray: IShared_FetchParams[], options?: {
2068
+ requestDepositFor(assets: bigint, recipient: `0x${string}`, options?: {
1365
2069
  accessList?: import('viem').AccessList;
1366
2070
  authorizationList?: import('viem').AuthorizationList;
1367
2071
  chain?: import('viem').Chain | null;
@@ -1374,11 +2078,11 @@ export declare class Vault_json {
1374
2078
  value?: bigint;
1375
2079
  }): Promise<`0x${string}`>;
1376
2080
  /**
1377
- * govWithdraw
2081
+ * requestWithdraw
1378
2082
  * nonpayable
1379
2083
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1380
2084
  */
1381
- govWithdraw(tokens: `0x${string}`[], options?: {
2085
+ requestWithdraw(sharesIn: bigint, options?: {
1382
2086
  accessList?: import('viem').AccessList;
1383
2087
  authorizationList?: import('viem').AuthorizationList;
1384
2088
  chain?: import('viem').Chain | null;
@@ -1391,11 +2095,11 @@ export declare class Vault_json {
1391
2095
  value?: bigint;
1392
2096
  }): Promise<`0x${string}`>;
1393
2097
  /**
1394
- * resume
2098
+ * revokeRole
1395
2099
  * nonpayable
1396
2100
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1397
2101
  */
1398
- resume(options?: {
2102
+ revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
1399
2103
  accessList?: import('viem').AccessList;
1400
2104
  authorizationList?: import('viem').AuthorizationList;
1401
2105
  chain?: import('viem').Chain | null;
@@ -1408,11 +2112,11 @@ export declare class Vault_json {
1408
2112
  value?: bigint;
1409
2113
  }): Promise<`0x${string}`>;
1410
2114
  /**
1411
- * suspend
2115
+ * setFeeRecipient
1412
2116
  * nonpayable
1413
2117
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1414
2118
  */
1415
- suspend(options?: {
2119
+ setFeeRecipient(recipient: `0x${string}`, options?: {
1416
2120
  accessList?: import('viem').AccessList;
1417
2121
  authorizationList?: import('viem').AuthorizationList;
1418
2122
  chain?: import('viem').Chain | null;
@@ -1425,11 +2129,11 @@ export declare class Vault_json {
1425
2129
  value?: bigint;
1426
2130
  }): Promise<`0x${string}`>;
1427
2131
  /**
1428
- * transfer
2132
+ * setMaxSettlementBatchSize
1429
2133
  * nonpayable
1430
2134
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1431
2135
  */
1432
- transfer(sigData: IShared_SigData, transferParams: IShared_TransferParams, options?: {
2136
+ setMaxSettlementBatchSize(size: bigint, options?: {
1433
2137
  accessList?: import('viem').AccessList;
1434
2138
  authorizationList?: import('viem').AuthorizationList;
1435
2139
  chain?: import('viem').Chain | null;
@@ -1442,11 +2146,11 @@ export declare class Vault_json {
1442
2146
  value?: bigint;
1443
2147
  }): Promise<`0x${string}`>;
1444
2148
  /**
1445
- * transferBatch
2149
+ * setMinDepositAssets
1446
2150
  * nonpayable
1447
2151
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1448
2152
  */
1449
- transferBatch(sigData: IShared_SigData, transferParamsArray: IShared_TransferParams[], options?: {
2153
+ setMinDepositAssets(amount: bigint, options?: {
1450
2154
  accessList?: import('viem').AccessList;
1451
2155
  authorizationList?: import('viem').AuthorizationList;
1452
2156
  chain?: import('viem').Chain | null;
@@ -1459,11 +2163,11 @@ export declare class Vault_json {
1459
2163
  value?: bigint;
1460
2164
  }): Promise<`0x${string}`>;
1461
2165
  /**
1462
- * transferFallback
2166
+ * setOracle
1463
2167
  * nonpayable
1464
2168
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1465
2169
  */
1466
- transferFallback(sigData: IShared_SigData, transferParams: IShared_TransferParams, options?: {
2170
+ setOracle(_oracle: `0x${string}`, options?: {
1467
2171
  accessList?: import('viem').AccessList;
1468
2172
  authorizationList?: import('viem').AuthorizationList;
1469
2173
  chain?: import('viem').Chain | null;
@@ -1476,11 +2180,11 @@ export declare class Vault_json {
1476
2180
  value?: bigint;
1477
2181
  }): Promise<`0x${string}`>;
1478
2182
  /**
1479
- * updateKeyManager
2183
+ * setPerformanceFee
1480
2184
  * nonpayable
1481
2185
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1482
2186
  */
1483
- updateKeyManager(sigData: IShared_SigData, keyManager: `0x${string}`, omitChecks: boolean, options?: {
2187
+ setPerformanceFee(feeBps: bigint, options?: {
1484
2188
  accessList?: import('viem').AccessList;
1485
2189
  authorizationList?: import('viem').AuthorizationList;
1486
2190
  chain?: import('viem').Chain | null;
@@ -1493,11 +2197,11 @@ export declare class Vault_json {
1493
2197
  value?: bigint;
1494
2198
  }): Promise<`0x${string}`>;
1495
2199
  /**
1496
- * xCallNative
1497
- * payable
2200
+ * setSettlementFee
2201
+ * nonpayable
1498
2202
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1499
2203
  */
1500
- xCallNative(dstChain: bigint, dstAddress: `0x${string}`, dstToken: bigint, message: `0x${string}`, gasAmount: bigint, cfParameters: `0x${string}`, options?: {
2204
+ setSettlementFee(fee: bigint, options?: {
1501
2205
  accessList?: import('viem').AccessList;
1502
2206
  authorizationList?: import('viem').AuthorizationList;
1503
2207
  chain?: import('viem').Chain | null;
@@ -1510,11 +2214,11 @@ export declare class Vault_json {
1510
2214
  value?: bigint;
1511
2215
  }): Promise<`0x${string}`>;
1512
2216
  /**
1513
- * xCallToken
2217
+ * setTargetAllowed
1514
2218
  * nonpayable
1515
2219
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1516
2220
  */
1517
- xCallToken(dstChain: bigint, dstAddress: `0x${string}`, dstToken: bigint, message: `0x${string}`, gasAmount: bigint, srcToken: `0x${string}`, amount: bigint, cfParameters: `0x${string}`, options?: {
2221
+ setTargetAllowed(target: `0x${string}`, allowed: boolean, options?: {
1518
2222
  accessList?: import('viem').AccessList;
1519
2223
  authorizationList?: import('viem').AuthorizationList;
1520
2224
  chain?: import('viem').Chain | null;
@@ -1527,11 +2231,11 @@ export declare class Vault_json {
1527
2231
  value?: bigint;
1528
2232
  }): Promise<`0x${string}`>;
1529
2233
  /**
1530
- * xSwapNative
1531
- * payable
2234
+ * settle
2235
+ * nonpayable
1532
2236
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1533
2237
  */
1534
- xSwapNative(dstChain: bigint, dstAddress: `0x${string}`, dstToken: bigint, cfParameters: `0x${string}`, options?: {
2238
+ settle(tokens: `0x${string}`[], prices: bigint[], options?: {
1535
2239
  accessList?: import('viem').AccessList;
1536
2240
  authorizationList?: import('viem').AuthorizationList;
1537
2241
  chain?: import('viem').Chain | null;
@@ -1544,11 +2248,11 @@ export declare class Vault_json {
1544
2248
  value?: bigint;
1545
2249
  }): Promise<`0x${string}`>;
1546
2250
  /**
1547
- * xSwapToken
2251
+ * unpause
1548
2252
  * nonpayable
1549
2253
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1550
2254
  */
1551
- xSwapToken(dstChain: bigint, dstAddress: `0x${string}`, dstToken: bigint, srcToken: `0x${string}`, amount: bigint, cfParameters: `0x${string}`, options?: {
2255
+ unpause(options?: {
1552
2256
  accessList?: import('viem').AccessList;
1553
2257
  authorizationList?: import('viem').AuthorizationList;
1554
2258
  chain?: import('viem').Chain | null;
@@ -1570,11 +2274,28 @@ export declare class Vault_json {
1570
2274
  */
1571
2275
  get simulate(): {
1572
2276
  /**
1573
- * Simulate addGasNative
2277
+ * Simulate addTrackedToken
2278
+ * Returns gas estimate and result without sending transaction
2279
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2280
+ */
2281
+ addTrackedToken(token: `0x${string}`, options?: {
2282
+ accessList?: import("viem").AccessList;
2283
+ authorizationList?: import("viem").AuthorizationList;
2284
+ chain?: import("viem").Chain | null;
2285
+ dataSuffix?: `0x${string}`;
2286
+ gas?: bigint;
2287
+ gasPrice?: bigint;
2288
+ maxFeePerGas?: bigint;
2289
+ maxPriorityFeePerGas?: bigint;
2290
+ nonce?: number;
2291
+ value?: bigint;
2292
+ }): Promise<void>;
2293
+ /**
2294
+ * Simulate approveERC20
1574
2295
  * Returns gas estimate and result without sending transaction
1575
2296
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1576
2297
  */
1577
- addGasNative(swapID: `0x${string}`, options?: {
2298
+ approveERC20(token: `0x${string}`, spender: `0x${string}`, amount: bigint, options?: {
1578
2299
  accessList?: import("viem").AccessList;
1579
2300
  authorizationList?: import("viem").AuthorizationList;
1580
2301
  chain?: import("viem").Chain | null;
@@ -1587,11 +2308,11 @@ export declare class Vault_json {
1587
2308
  value?: bigint;
1588
2309
  }): Promise<void>;
1589
2310
  /**
1590
- * Simulate addGasToken
2311
+ * Simulate approvePermit2
1591
2312
  * Returns gas estimate and result without sending transaction
1592
2313
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1593
2314
  */
1594
- addGasToken(swapID: `0x${string}`, amount: bigint, token: `0x${string}`, options?: {
2315
+ approvePermit2(permit2: `0x${string}`, token: `0x${string}`, spender: `0x${string}`, amount: bigint, expiration: bigint, options?: {
1595
2316
  accessList?: import("viem").AccessList;
1596
2317
  authorizationList?: import("viem").AuthorizationList;
1597
2318
  chain?: import("viem").Chain | null;
@@ -1604,11 +2325,11 @@ export declare class Vault_json {
1604
2325
  value?: bigint;
1605
2326
  }): Promise<void>;
1606
2327
  /**
1607
- * Simulate allBatch
2328
+ * Simulate cancelDepositRequest
1608
2329
  * Returns gas estimate and result without sending transaction
1609
2330
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1610
2331
  */
1611
- allBatch(sigData: IShared_SigData, deployFetchParamsArray: IShared_DeployFetchParams[], fetchParamsArray: IShared_FetchParams[], transferParamsArray: IShared_TransferParams[], options?: {
2332
+ cancelDepositRequest(depositId: bigint, options?: {
1612
2333
  accessList?: import("viem").AccessList;
1613
2334
  authorizationList?: import("viem").AuthorizationList;
1614
2335
  chain?: import("viem").Chain | null;
@@ -1621,11 +2342,28 @@ export declare class Vault_json {
1621
2342
  value?: bigint;
1622
2343
  }): Promise<void>;
1623
2344
  /**
1624
- * Simulate allBatchV2
2345
+ * Simulate cancelPendingDeposits
2346
+ * Returns gas estimate and result without sending transaction
2347
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2348
+ */
2349
+ cancelPendingDeposits(maxCount: bigint, options?: {
2350
+ accessList?: import("viem").AccessList;
2351
+ authorizationList?: import("viem").AuthorizationList;
2352
+ chain?: import("viem").Chain | null;
2353
+ dataSuffix?: `0x${string}`;
2354
+ gas?: bigint;
2355
+ gasPrice?: bigint;
2356
+ maxFeePerGas?: bigint;
2357
+ maxPriorityFeePerGas?: bigint;
2358
+ nonce?: number;
2359
+ value?: bigint;
2360
+ }): Promise<bigint>;
2361
+ /**
2362
+ * Simulate cancelWithdraw
1625
2363
  * Returns gas estimate and result without sending transaction
1626
2364
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1627
2365
  */
1628
- allBatchV2(sigData: IShared_SigData, fetchParamsArray: IShared_FetchParams[], transferParamsArray: IShared_TransferParams[], options?: {
2366
+ cancelWithdraw(requestId: bigint, options?: {
1629
2367
  accessList?: import("viem").AccessList;
1630
2368
  authorizationList?: import("viem").AuthorizationList;
1631
2369
  chain?: import("viem").Chain | null;
@@ -1638,11 +2376,28 @@ export declare class Vault_json {
1638
2376
  value?: bigint;
1639
2377
  }): Promise<void>;
1640
2378
  /**
1641
- * Simulate deployAndFetchBatch
2379
+ * Simulate claimAndDeposit
2380
+ * Returns gas estimate and result without sending transaction
2381
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2382
+ */
2383
+ claimAndDeposit(requestId: bigint, newVault: `0x${string}`, options?: {
2384
+ accessList?: import("viem").AccessList;
2385
+ authorizationList?: import("viem").AuthorizationList;
2386
+ chain?: import("viem").Chain | null;
2387
+ dataSuffix?: `0x${string}`;
2388
+ gas?: bigint;
2389
+ gasPrice?: bigint;
2390
+ maxFeePerGas?: bigint;
2391
+ maxPriorityFeePerGas?: bigint;
2392
+ nonce?: number;
2393
+ value?: bigint;
2394
+ }): Promise<bigint>;
2395
+ /**
2396
+ * Simulate claimWithdraw
1642
2397
  * Returns gas estimate and result without sending transaction
1643
2398
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1644
2399
  */
1645
- deployAndFetchBatch(sigData: IShared_SigData, deployFetchParamsArray: IShared_DeployFetchParams[], options?: {
2400
+ claimWithdraw(requestId: bigint, options?: {
1646
2401
  accessList?: import("viem").AccessList;
1647
2402
  authorizationList?: import("viem").AuthorizationList;
1648
2403
  chain?: import("viem").Chain | null;
@@ -1655,11 +2410,11 @@ export declare class Vault_json {
1655
2410
  value?: bigint;
1656
2411
  }): Promise<void>;
1657
2412
  /**
1658
- * Simulate disableCommunityGuard
2413
+ * Simulate claimWithdrawTo
1659
2414
  * Returns gas estimate and result without sending transaction
1660
2415
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1661
2416
  */
1662
- disableCommunityGuard(options?: {
2417
+ claimWithdrawTo(requestId: bigint, recipient: `0x${string}`, options?: {
1663
2418
  accessList?: import("viem").AccessList;
1664
2419
  authorizationList?: import("viem").AuthorizationList;
1665
2420
  chain?: import("viem").Chain | null;
@@ -1672,11 +2427,11 @@ export declare class Vault_json {
1672
2427
  value?: bigint;
1673
2428
  }): Promise<void>;
1674
2429
  /**
1675
- * Simulate enableCommunityGuard
2430
+ * Simulate grantRole
1676
2431
  * Returns gas estimate and result without sending transaction
1677
2432
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1678
2433
  */
1679
- enableCommunityGuard(options?: {
2434
+ grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
1680
2435
  accessList?: import("viem").AccessList;
1681
2436
  authorizationList?: import("viem").AuthorizationList;
1682
2437
  chain?: import("viem").Chain | null;
@@ -1689,11 +2444,11 @@ export declare class Vault_json {
1689
2444
  value?: bigint;
1690
2445
  }): Promise<void>;
1691
2446
  /**
1692
- * Simulate executeActions
2447
+ * Simulate onShareTransfer
1693
2448
  * Returns gas estimate and result without sending transaction
1694
2449
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1695
2450
  */
1696
- executeActions(sigData: IShared_SigData, transferParams: IShared_TransferParams, calls: IMulticall_Call[], gasMulticall: bigint, options?: {
2451
+ onShareTransfer(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
1697
2452
  accessList?: import("viem").AccessList;
1698
2453
  authorizationList?: import("viem").AuthorizationList;
1699
2454
  chain?: import("viem").Chain | null;
@@ -1706,11 +2461,11 @@ export declare class Vault_json {
1706
2461
  value?: bigint;
1707
2462
  }): Promise<void>;
1708
2463
  /**
1709
- * Simulate executexCall
2464
+ * Simulate pause
1710
2465
  * Returns gas estimate and result without sending transaction
1711
2466
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1712
2467
  */
1713
- executexCall(sigData: IShared_SigData, recipient: `0x${string}`, srcChain: bigint, srcAddress: `0x${string}`, message: `0x${string}`, options?: {
2468
+ pause(options?: {
1714
2469
  accessList?: import("viem").AccessList;
1715
2470
  authorizationList?: import("viem").AuthorizationList;
1716
2471
  chain?: import("viem").Chain | null;
@@ -1723,11 +2478,11 @@ export declare class Vault_json {
1723
2478
  value?: bigint;
1724
2479
  }): Promise<void>;
1725
2480
  /**
1726
- * Simulate executexSwapAndCall
2481
+ * Simulate rebalance
1727
2482
  * Returns gas estimate and result without sending transaction
1728
2483
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1729
2484
  */
1730
- executexSwapAndCall(sigData: IShared_SigData, transferParams: IShared_TransferParams, srcChain: bigint, srcAddress: `0x${string}`, message: `0x${string}`, options?: {
2485
+ rebalance(targets: `0x${string}`[], calldatas: `0x${string}`[], options?: {
1731
2486
  accessList?: import("viem").AccessList;
1732
2487
  authorizationList?: import("viem").AuthorizationList;
1733
2488
  chain?: import("viem").Chain | null;
@@ -1740,11 +2495,11 @@ export declare class Vault_json {
1740
2495
  value?: bigint;
1741
2496
  }): Promise<void>;
1742
2497
  /**
1743
- * Simulate fetchBatch
2498
+ * Simulate removeTrackedToken
1744
2499
  * Returns gas estimate and result without sending transaction
1745
2500
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1746
2501
  */
1747
- fetchBatch(sigData: IShared_SigData, fetchParamsArray: IShared_FetchParams[], options?: {
2502
+ removeTrackedToken(token: `0x${string}`, options?: {
1748
2503
  accessList?: import("viem").AccessList;
1749
2504
  authorizationList?: import("viem").AuthorizationList;
1750
2505
  chain?: import("viem").Chain | null;
@@ -1757,11 +2512,11 @@ export declare class Vault_json {
1757
2512
  value?: bigint;
1758
2513
  }): Promise<void>;
1759
2514
  /**
1760
- * Simulate govWithdraw
2515
+ * Simulate renounceRole
1761
2516
  * Returns gas estimate and result without sending transaction
1762
2517
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1763
2518
  */
1764
- govWithdraw(tokens: `0x${string}`[], options?: {
2519
+ renounceRole(role: `0x${string}`, callerConfirmation: `0x${string}`, options?: {
1765
2520
  accessList?: import("viem").AccessList;
1766
2521
  authorizationList?: import("viem").AuthorizationList;
1767
2522
  chain?: import("viem").Chain | null;
@@ -1774,11 +2529,62 @@ export declare class Vault_json {
1774
2529
  value?: bigint;
1775
2530
  }): Promise<void>;
1776
2531
  /**
1777
- * Simulate resume
2532
+ * Simulate requestDeposit
2533
+ * Returns gas estimate and result without sending transaction
2534
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2535
+ */
2536
+ requestDeposit(assets: bigint, options?: {
2537
+ accessList?: import("viem").AccessList;
2538
+ authorizationList?: import("viem").AuthorizationList;
2539
+ chain?: import("viem").Chain | null;
2540
+ dataSuffix?: `0x${string}`;
2541
+ gas?: bigint;
2542
+ gasPrice?: bigint;
2543
+ maxFeePerGas?: bigint;
2544
+ maxPriorityFeePerGas?: bigint;
2545
+ nonce?: number;
2546
+ value?: bigint;
2547
+ }): Promise<bigint>;
2548
+ /**
2549
+ * Simulate requestDepositFor
2550
+ * Returns gas estimate and result without sending transaction
2551
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2552
+ */
2553
+ requestDepositFor(assets: bigint, recipient: `0x${string}`, options?: {
2554
+ accessList?: import("viem").AccessList;
2555
+ authorizationList?: import("viem").AuthorizationList;
2556
+ chain?: import("viem").Chain | null;
2557
+ dataSuffix?: `0x${string}`;
2558
+ gas?: bigint;
2559
+ gasPrice?: bigint;
2560
+ maxFeePerGas?: bigint;
2561
+ maxPriorityFeePerGas?: bigint;
2562
+ nonce?: number;
2563
+ value?: bigint;
2564
+ }): Promise<bigint>;
2565
+ /**
2566
+ * Simulate requestWithdraw
2567
+ * Returns gas estimate and result without sending transaction
2568
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2569
+ */
2570
+ requestWithdraw(sharesIn: bigint, options?: {
2571
+ accessList?: import("viem").AccessList;
2572
+ authorizationList?: import("viem").AuthorizationList;
2573
+ chain?: import("viem").Chain | null;
2574
+ dataSuffix?: `0x${string}`;
2575
+ gas?: bigint;
2576
+ gasPrice?: bigint;
2577
+ maxFeePerGas?: bigint;
2578
+ maxPriorityFeePerGas?: bigint;
2579
+ nonce?: number;
2580
+ value?: bigint;
2581
+ }): Promise<bigint>;
2582
+ /**
2583
+ * Simulate revokeRole
1778
2584
  * Returns gas estimate and result without sending transaction
1779
2585
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1780
2586
  */
1781
- resume(options?: {
2587
+ revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
1782
2588
  accessList?: import("viem").AccessList;
1783
2589
  authorizationList?: import("viem").AuthorizationList;
1784
2590
  chain?: import("viem").Chain | null;
@@ -1791,11 +2597,11 @@ export declare class Vault_json {
1791
2597
  value?: bigint;
1792
2598
  }): Promise<void>;
1793
2599
  /**
1794
- * Simulate suspend
2600
+ * Simulate setFeeRecipient
1795
2601
  * Returns gas estimate and result without sending transaction
1796
2602
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1797
2603
  */
1798
- suspend(options?: {
2604
+ setFeeRecipient(recipient: `0x${string}`, options?: {
1799
2605
  accessList?: import("viem").AccessList;
1800
2606
  authorizationList?: import("viem").AuthorizationList;
1801
2607
  chain?: import("viem").Chain | null;
@@ -1808,11 +2614,11 @@ export declare class Vault_json {
1808
2614
  value?: bigint;
1809
2615
  }): Promise<void>;
1810
2616
  /**
1811
- * Simulate transfer
2617
+ * Simulate setMaxSettlementBatchSize
1812
2618
  * Returns gas estimate and result without sending transaction
1813
2619
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1814
2620
  */
1815
- transfer(sigData: IShared_SigData, transferParams: IShared_TransferParams, options?: {
2621
+ setMaxSettlementBatchSize(size: bigint, options?: {
1816
2622
  accessList?: import("viem").AccessList;
1817
2623
  authorizationList?: import("viem").AuthorizationList;
1818
2624
  chain?: import("viem").Chain | null;
@@ -1825,11 +2631,11 @@ export declare class Vault_json {
1825
2631
  value?: bigint;
1826
2632
  }): Promise<void>;
1827
2633
  /**
1828
- * Simulate transferBatch
2634
+ * Simulate setMinDepositAssets
1829
2635
  * Returns gas estimate and result without sending transaction
1830
2636
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1831
2637
  */
1832
- transferBatch(sigData: IShared_SigData, transferParamsArray: IShared_TransferParams[], options?: {
2638
+ setMinDepositAssets(amount: bigint, options?: {
1833
2639
  accessList?: import("viem").AccessList;
1834
2640
  authorizationList?: import("viem").AuthorizationList;
1835
2641
  chain?: import("viem").Chain | null;
@@ -1842,11 +2648,11 @@ export declare class Vault_json {
1842
2648
  value?: bigint;
1843
2649
  }): Promise<void>;
1844
2650
  /**
1845
- * Simulate transferFallback
2651
+ * Simulate setOracle
1846
2652
  * Returns gas estimate and result without sending transaction
1847
2653
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1848
2654
  */
1849
- transferFallback(sigData: IShared_SigData, transferParams: IShared_TransferParams, options?: {
2655
+ setOracle(_oracle: `0x${string}`, options?: {
1850
2656
  accessList?: import("viem").AccessList;
1851
2657
  authorizationList?: import("viem").AuthorizationList;
1852
2658
  chain?: import("viem").Chain | null;
@@ -1859,11 +2665,11 @@ export declare class Vault_json {
1859
2665
  value?: bigint;
1860
2666
  }): Promise<void>;
1861
2667
  /**
1862
- * Simulate updateKeyManager
2668
+ * Simulate setPerformanceFee
1863
2669
  * Returns gas estimate and result without sending transaction
1864
2670
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1865
2671
  */
1866
- updateKeyManager(sigData: IShared_SigData, keyManager: `0x${string}`, omitChecks: boolean, options?: {
2672
+ setPerformanceFee(feeBps: bigint, options?: {
1867
2673
  accessList?: import("viem").AccessList;
1868
2674
  authorizationList?: import("viem").AuthorizationList;
1869
2675
  chain?: import("viem").Chain | null;
@@ -1876,11 +2682,11 @@ export declare class Vault_json {
1876
2682
  value?: bigint;
1877
2683
  }): Promise<void>;
1878
2684
  /**
1879
- * Simulate xCallNative
2685
+ * Simulate setSettlementFee
1880
2686
  * Returns gas estimate and result without sending transaction
1881
2687
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1882
2688
  */
1883
- xCallNative(dstChain: bigint, dstAddress: `0x${string}`, dstToken: bigint, message: `0x${string}`, gasAmount: bigint, cfParameters: `0x${string}`, options?: {
2689
+ setSettlementFee(fee: bigint, options?: {
1884
2690
  accessList?: import("viem").AccessList;
1885
2691
  authorizationList?: import("viem").AuthorizationList;
1886
2692
  chain?: import("viem").Chain | null;
@@ -1893,11 +2699,11 @@ export declare class Vault_json {
1893
2699
  value?: bigint;
1894
2700
  }): Promise<void>;
1895
2701
  /**
1896
- * Simulate xCallToken
2702
+ * Simulate setTargetAllowed
1897
2703
  * Returns gas estimate and result without sending transaction
1898
2704
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1899
2705
  */
1900
- xCallToken(dstChain: bigint, dstAddress: `0x${string}`, dstToken: bigint, message: `0x${string}`, gasAmount: bigint, srcToken: `0x${string}`, amount: bigint, cfParameters: `0x${string}`, options?: {
2706
+ setTargetAllowed(target: `0x${string}`, allowed: boolean, options?: {
1901
2707
  accessList?: import("viem").AccessList;
1902
2708
  authorizationList?: import("viem").AuthorizationList;
1903
2709
  chain?: import("viem").Chain | null;
@@ -1910,11 +2716,11 @@ export declare class Vault_json {
1910
2716
  value?: bigint;
1911
2717
  }): Promise<void>;
1912
2718
  /**
1913
- * Simulate xSwapNative
2719
+ * Simulate settle
1914
2720
  * Returns gas estimate and result without sending transaction
1915
2721
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1916
2722
  */
1917
- xSwapNative(dstChain: bigint, dstAddress: `0x${string}`, dstToken: bigint, cfParameters: `0x${string}`, options?: {
2723
+ settle(tokens: `0x${string}`[], prices: bigint[], options?: {
1918
2724
  accessList?: import("viem").AccessList;
1919
2725
  authorizationList?: import("viem").AuthorizationList;
1920
2726
  chain?: import("viem").Chain | null;
@@ -1927,11 +2733,11 @@ export declare class Vault_json {
1927
2733
  value?: bigint;
1928
2734
  }): Promise<void>;
1929
2735
  /**
1930
- * Simulate xSwapToken
2736
+ * Simulate unpause
1931
2737
  * Returns gas estimate and result without sending transaction
1932
2738
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1933
2739
  */
1934
- xSwapToken(dstChain: bigint, dstAddress: `0x${string}`, dstToken: bigint, srcToken: `0x${string}`, amount: bigint, cfParameters: `0x${string}`, options?: {
2740
+ unpause(options?: {
1935
2741
  accessList?: import("viem").AccessList;
1936
2742
  authorizationList?: import("viem").AuthorizationList;
1937
2743
  chain?: import("viem").Chain | null;
@@ -1958,176 +2764,289 @@ export declare class Vault_json {
1958
2764
  */
1959
2765
  get watch(): {
1960
2766
  /**
1961
- * Watch AddGasNative events
2767
+ * Watch DepositAutoRefunded events
1962
2768
  * @param callback Function to call when event is emitted
1963
2769
  * @param filter Optional filter for indexed parameters
1964
2770
  * @returns Unwatch function to stop listening
1965
2771
  */
1966
- AddGasNative: (callback: (event: {
1967
- swapID: `0x${string}`;
1968
- amount: bigint;
1969
- }) => void) => () => void;
2772
+ DepositAutoRefunded: (callback: (event: {
2773
+ depositId: bigint;
2774
+ owner: `0x${string}`;
2775
+ assets: bigint;
2776
+ }) => void, filter?: {
2777
+ depositId: bigint;
2778
+ owner: `0x${string}`;
2779
+ }) => () => void;
1970
2780
  /**
1971
- * Watch AddGasToken events
2781
+ * Watch DepositCancelled events
1972
2782
  * @param callback Function to call when event is emitted
1973
2783
  * @param filter Optional filter for indexed parameters
1974
2784
  * @returns Unwatch function to stop listening
1975
2785
  */
1976
- AddGasToken: (callback: (event: {
1977
- swapID: `0x${string}`;
1978
- amount: bigint;
1979
- token: `0x${string}`;
1980
- }) => void) => () => void;
2786
+ DepositCancelled: (callback: (event: {
2787
+ depositId: bigint;
2788
+ owner: `0x${string}`;
2789
+ assets: bigint;
2790
+ }) => void, filter?: {
2791
+ depositId: bigint;
2792
+ owner: `0x${string}`;
2793
+ }) => () => void;
1981
2794
  /**
1982
- * Watch CommunityGuardDisabled events
2795
+ * Watch DepositRequested events
1983
2796
  * @param callback Function to call when event is emitted
1984
2797
  * @param filter Optional filter for indexed parameters
1985
2798
  * @returns Unwatch function to stop listening
1986
2799
  */
1987
- CommunityGuardDisabled: (callback: (event: {
1988
- communityGuardDisabled: boolean;
1989
- }) => void) => () => void;
2800
+ DepositRequested: (callback: (event: {
2801
+ depositId: bigint;
2802
+ owner: `0x${string}`;
2803
+ assets: bigint;
2804
+ }) => void, filter?: {
2805
+ depositId: bigint;
2806
+ owner: `0x${string}`;
2807
+ }) => () => void;
1990
2808
  /**
1991
- * Watch ExecuteActionsFailed events
2809
+ * Watch DepositSettled events
1992
2810
  * @param callback Function to call when event is emitted
1993
2811
  * @param filter Optional filter for indexed parameters
1994
2812
  * @returns Unwatch function to stop listening
1995
2813
  */
1996
- ExecuteActionsFailed: (callback: (event: {
1997
- multicallAddress: `0x${string}`;
1998
- token: `0x${string}`;
1999
- amount: bigint;
2000
- reason: `0x${string}`;
2814
+ DepositSettled: (callback: (event: {
2815
+ depositId: bigint;
2816
+ owner: `0x${string}`;
2817
+ netAssets: bigint;
2818
+ shares: bigint;
2001
2819
  }) => void, filter?: {
2002
- multicallAddress: `0x${string}`;
2003
- token: `0x${string}`;
2820
+ depositId: bigint;
2821
+ owner: `0x${string}`;
2004
2822
  }) => () => void;
2005
2823
  /**
2006
- * Watch FetchedNative events
2824
+ * Watch MaxSettlementBatchSizeSet events
2007
2825
  * @param callback Function to call when event is emitted
2008
2826
  * @param filter Optional filter for indexed parameters
2009
2827
  * @returns Unwatch function to stop listening
2010
2828
  */
2011
- FetchedNative: (callback: (event: {
2012
- sender: `0x${string}`;
2829
+ MaxSettlementBatchSizeSet: (callback: (event: {
2830
+ size: bigint;
2831
+ }) => void) => () => void;
2832
+ /**
2833
+ * Watch MinDepositAssetsSet events
2834
+ * @param callback Function to call when event is emitted
2835
+ * @param filter Optional filter for indexed parameters
2836
+ * @returns Unwatch function to stop listening
2837
+ */
2838
+ MinDepositAssetsSet: (callback: (event: {
2013
2839
  amount: bigint;
2840
+ }) => void) => () => void;
2841
+ /**
2842
+ * Watch OracleSet events
2843
+ * @param callback Function to call when event is emitted
2844
+ * @param filter Optional filter for indexed parameters
2845
+ * @returns Unwatch function to stop listening
2846
+ */
2847
+ OracleSet: (callback: (event: {
2848
+ oracle: `0x${string}`;
2014
2849
  }) => void, filter?: {
2015
- sender: `0x${string}`;
2850
+ oracle: `0x${string}`;
2016
2851
  }) => () => void;
2017
2852
  /**
2018
- * Watch Suspended events
2853
+ * Watch Paused events
2019
2854
  * @param callback Function to call when event is emitted
2020
2855
  * @param filter Optional filter for indexed parameters
2021
2856
  * @returns Unwatch function to stop listening
2022
2857
  */
2023
- Suspended: (callback: (event: {
2024
- suspended: boolean;
2858
+ Paused: (callback: (event: {
2859
+ account: `0x${string}`;
2025
2860
  }) => void) => () => void;
2026
2861
  /**
2027
- * Watch SwapNative events
2862
+ * Watch PerformanceFeeSet events
2028
2863
  * @param callback Function to call when event is emitted
2029
2864
  * @param filter Optional filter for indexed parameters
2030
2865
  * @returns Unwatch function to stop listening
2031
2866
  */
2032
- SwapNative: (callback: (event: {
2867
+ PerformanceFeeSet: (callback: (event: {
2868
+ feeBps: bigint;
2869
+ }) => void) => () => void;
2870
+ /**
2871
+ * Watch Rebalanced events
2872
+ * @param callback Function to call when event is emitted
2873
+ * @param filter Optional filter for indexed parameters
2874
+ * @returns Unwatch function to stop listening
2875
+ */
2876
+ Rebalanced: (callback: (event: {
2877
+ callCount: bigint;
2878
+ navBefore: bigint;
2879
+ navAfter: bigint;
2880
+ }) => void) => () => void;
2881
+ /**
2882
+ * Watch RoleAdminChanged events
2883
+ * @param callback Function to call when event is emitted
2884
+ * @param filter Optional filter for indexed parameters
2885
+ * @returns Unwatch function to stop listening
2886
+ */
2887
+ RoleAdminChanged: (callback: (event: {
2888
+ role: `0x${string}`;
2889
+ previousAdminRole: `0x${string}`;
2890
+ newAdminRole: `0x${string}`;
2891
+ }) => void, filter?: {
2892
+ role: `0x${string}`;
2893
+ previousAdminRole: `0x${string}`;
2894
+ newAdminRole: `0x${string}`;
2895
+ }) => () => void;
2896
+ /**
2897
+ * Watch RoleGranted events
2898
+ * @param callback Function to call when event is emitted
2899
+ * @param filter Optional filter for indexed parameters
2900
+ * @returns Unwatch function to stop listening
2901
+ */
2902
+ RoleGranted: (callback: (event: {
2903
+ role: `0x${string}`;
2904
+ account: `0x${string}`;
2033
2905
  sender: `0x${string}`;
2034
- dstChain: bigint;
2035
- dstAddress: `0x${string}`;
2036
- dstToken: bigint;
2037
- amount: bigint;
2038
- cfParameters: `0x${string}`;
2039
2906
  }) => void, filter?: {
2907
+ role: `0x${string}`;
2908
+ account: `0x${string}`;
2040
2909
  sender: `0x${string}`;
2041
2910
  }) => () => void;
2042
2911
  /**
2043
- * Watch SwapToken events
2912
+ * Watch RoleRevoked events
2044
2913
  * @param callback Function to call when event is emitted
2045
2914
  * @param filter Optional filter for indexed parameters
2046
2915
  * @returns Unwatch function to stop listening
2047
2916
  */
2048
- SwapToken: (callback: (event: {
2917
+ RoleRevoked: (callback: (event: {
2918
+ role: `0x${string}`;
2919
+ account: `0x${string}`;
2049
2920
  sender: `0x${string}`;
2050
- dstChain: bigint;
2051
- dstAddress: `0x${string}`;
2052
- dstToken: bigint;
2053
- srcToken: `0x${string}`;
2054
- amount: bigint;
2055
- cfParameters: `0x${string}`;
2056
2921
  }) => void, filter?: {
2922
+ role: `0x${string}`;
2923
+ account: `0x${string}`;
2057
2924
  sender: `0x${string}`;
2058
2925
  }) => () => void;
2059
2926
  /**
2060
- * Watch TransferNativeFailed events
2927
+ * Watch Settled events
2061
2928
  * @param callback Function to call when event is emitted
2062
2929
  * @param filter Optional filter for indexed parameters
2063
2930
  * @returns Unwatch function to stop listening
2064
2931
  */
2065
- TransferNativeFailed: (callback: (event: {
2066
- recipient: `0x${string}`;
2067
- amount: bigint;
2932
+ Settled: (callback: (event: {
2933
+ oraclePriceCount: bigint;
2934
+ depositsSettled: bigint;
2935
+ depositsRefunded: bigint;
2936
+ withdrawalsProcessed: bigint;
2937
+ }) => void) => () => void;
2938
+ /**
2939
+ * Watch SettlementFeeSet events
2940
+ * @param callback Function to call when event is emitted
2941
+ * @param filter Optional filter for indexed parameters
2942
+ * @returns Unwatch function to stop listening
2943
+ */
2944
+ SettlementFeeSet: (callback: (event: {
2945
+ fee: bigint;
2946
+ }) => void) => () => void;
2947
+ /**
2948
+ * Watch TargetAllowed events
2949
+ * @param callback Function to call when event is emitted
2950
+ * @param filter Optional filter for indexed parameters
2951
+ * @returns Unwatch function to stop listening
2952
+ */
2953
+ TargetAllowed: (callback: (event: {
2954
+ target: `0x${string}`;
2955
+ allowed: boolean;
2068
2956
  }) => void, filter?: {
2069
- recipient: `0x${string}`;
2957
+ target: `0x${string}`;
2070
2958
  }) => () => void;
2071
2959
  /**
2072
- * Watch TransferTokenFailed events
2960
+ * Watch TrackedTokenAdded events
2073
2961
  * @param callback Function to call when event is emitted
2074
2962
  * @param filter Optional filter for indexed parameters
2075
2963
  * @returns Unwatch function to stop listening
2076
2964
  */
2077
- TransferTokenFailed: (callback: (event: {
2078
- recipient: `0x${string}`;
2965
+ TrackedTokenAdded: (callback: (event: {
2966
+ token: `0x${string}`;
2967
+ }) => void, filter?: {
2968
+ token: `0x${string}`;
2969
+ }) => () => void;
2970
+ /**
2971
+ * Watch TrackedTokenRemoved events
2972
+ * @param callback Function to call when event is emitted
2973
+ * @param filter Optional filter for indexed parameters
2974
+ * @returns Unwatch function to stop listening
2975
+ */
2976
+ TrackedTokenRemoved: (callback: (event: {
2079
2977
  token: `0x${string}`;
2080
- amount: bigint;
2081
- reason: `0x${string}`;
2082
2978
  }) => void, filter?: {
2083
- recipient: `0x${string}`;
2084
2979
  token: `0x${string}`;
2085
2980
  }) => () => void;
2086
2981
  /**
2087
- * Watch UpdatedKeyManager events
2982
+ * Watch Unpaused events
2088
2983
  * @param callback Function to call when event is emitted
2089
2984
  * @param filter Optional filter for indexed parameters
2090
2985
  * @returns Unwatch function to stop listening
2091
2986
  */
2092
- UpdatedKeyManager: (callback: (event: {
2093
- keyManager: `0x${string}`;
2987
+ Unpaused: (callback: (event: {
2988
+ account: `0x${string}`;
2094
2989
  }) => void) => () => void;
2095
2990
  /**
2096
- * Watch XCallNative events
2991
+ * Watch WithdrawCancelled events
2097
2992
  * @param callback Function to call when event is emitted
2098
2993
  * @param filter Optional filter for indexed parameters
2099
2994
  * @returns Unwatch function to stop listening
2100
2995
  */
2101
- XCallNative: (callback: (event: {
2102
- sender: `0x${string}`;
2103
- dstChain: bigint;
2104
- dstAddress: `0x${string}`;
2105
- dstToken: bigint;
2106
- amount: bigint;
2107
- message: `0x${string}`;
2108
- gasAmount: bigint;
2109
- cfParameters: `0x${string}`;
2996
+ WithdrawCancelled: (callback: (event: {
2997
+ requestId: bigint;
2998
+ owner: `0x${string}`;
2999
+ shares: bigint;
2110
3000
  }) => void, filter?: {
2111
- sender: `0x${string}`;
3001
+ requestId: bigint;
3002
+ owner: `0x${string}`;
2112
3003
  }) => () => void;
2113
3004
  /**
2114
- * Watch XCallToken events
3005
+ * Watch WithdrawClaimed events
2115
3006
  * @param callback Function to call when event is emitted
2116
3007
  * @param filter Optional filter for indexed parameters
2117
3008
  * @returns Unwatch function to stop listening
2118
3009
  */
2119
- XCallToken: (callback: (event: {
2120
- sender: `0x${string}`;
2121
- dstChain: bigint;
2122
- dstAddress: `0x${string}`;
2123
- dstToken: bigint;
2124
- srcToken: `0x${string}`;
2125
- amount: bigint;
2126
- message: `0x${string}`;
2127
- gasAmount: bigint;
2128
- cfParameters: `0x${string}`;
3010
+ WithdrawClaimed: (callback: (event: {
3011
+ requestId: bigint;
3012
+ owner: `0x${string}`;
3013
+ shares: bigint;
3014
+ assetsPaid: bigint;
3015
+ fee: bigint;
2129
3016
  }) => void, filter?: {
2130
- sender: `0x${string}`;
3017
+ requestId: bigint;
3018
+ owner: `0x${string}`;
3019
+ }) => () => void;
3020
+ /**
3021
+ * Watch WithdrawRequested events
3022
+ * @param callback Function to call when event is emitted
3023
+ * @param filter Optional filter for indexed parameters
3024
+ * @returns Unwatch function to stop listening
3025
+ */
3026
+ WithdrawRequested: (callback: (event: {
3027
+ requestId: bigint;
3028
+ owner: `0x${string}`;
3029
+ shares: bigint;
3030
+ claimableAt: bigint;
3031
+ }) => void, filter?: {
3032
+ requestId: bigint;
3033
+ owner: `0x${string}`;
3034
+ }) => () => void;
3035
+ /**
3036
+ * Watch WithdrawalSettled events
3037
+ * @param callback Function to call when event is emitted
3038
+ * @param filter Optional filter for indexed parameters
3039
+ * @returns Unwatch function to stop listening
3040
+ */
3041
+ WithdrawalSettled: (callback: (event: {
3042
+ requestId: bigint;
3043
+ owner: `0x${string}`;
3044
+ shares: bigint;
3045
+ assetsOut: bigint;
3046
+ fee: bigint;
3047
+ }) => void, filter?: {
3048
+ requestId: bigint;
3049
+ owner: `0x${string}`;
2131
3050
  }) => () => void;
2132
3051
  };
2133
3052
  }