@gitmyabi/tokenizedvault 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +108 -0
- package/contracts/TokenizedVault_json.d.ts +2997 -0
- package/contracts/TokenizedVault_json.js +3170 -0
- package/contracts/TokenizedVault_json.ts +3971 -0
- package/contracts/TransparentUpgradeableProxy_json.d.ts +401 -0
- package/contracts/TransparentUpgradeableProxy_json.js +398 -0
- package/contracts/TransparentUpgradeableProxy_json.ts +542 -0
- package/contracts/index.d.ts +4 -0
- package/contracts/index.js +10 -0
- package/contracts/index.ts +5 -0
- package/index.d.ts +1 -0
- package/index.js +19 -0
- package/package.json +43 -0
|
@@ -0,0 +1,2997 @@
|
|
|
1
|
+
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
|
+
/**
|
|
3
|
+
* ITokenizedVault.ConfigInfo struct type
|
|
4
|
+
*/
|
|
5
|
+
export type ITokenizedVault_ConfigInfo = {
|
|
6
|
+
maxDepositAmount: bigint;
|
|
7
|
+
maxWithdrawalAmount: bigint;
|
|
8
|
+
instantRedemptionFee: bigint;
|
|
9
|
+
lagDuration: bigint;
|
|
10
|
+
withdrawalFee: bigint;
|
|
11
|
+
watermarkTimeWindow: bigint;
|
|
12
|
+
maxChangePercent: bigint;
|
|
13
|
+
managementFeePercent: bigint;
|
|
14
|
+
performanceFeeRate: bigint;
|
|
15
|
+
sendersWhitelistAddress: `0x${string}`;
|
|
16
|
+
operatorAddress: `0x${string}`;
|
|
17
|
+
scheduledCallerAddress: `0x${string}`;
|
|
18
|
+
lpTokenAddress: `0x${string}`;
|
|
19
|
+
referenceAsset: `0x${string}`;
|
|
20
|
+
futureOwnerAddress: `0x${string}`;
|
|
21
|
+
assetsWhitelistAddress: `0x${string}`;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* IFeeCollectorsAware.CollectorDefinition struct type
|
|
25
|
+
*/
|
|
26
|
+
export type IFeeCollectorsAware_CollectorDefinition = {
|
|
27
|
+
collectorAddress: `0x${string}`;
|
|
28
|
+
percentage: bigint;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* TokenizedVault_json ABI
|
|
32
|
+
*
|
|
33
|
+
* This ABI is typed using viem's type system for full type safety.
|
|
34
|
+
*/
|
|
35
|
+
export declare const TokenizedVault_jsonAbi: readonly [{
|
|
36
|
+
readonly inputs: readonly [];
|
|
37
|
+
readonly stateMutability: "nonpayable";
|
|
38
|
+
readonly type: "constructor";
|
|
39
|
+
}, {
|
|
40
|
+
readonly inputs: readonly [];
|
|
41
|
+
readonly name: "AccountNotWhitelisted";
|
|
42
|
+
readonly type: "error";
|
|
43
|
+
}, {
|
|
44
|
+
readonly inputs: readonly [];
|
|
45
|
+
readonly name: "AlreadyConfigured";
|
|
46
|
+
readonly type: "error";
|
|
47
|
+
}, {
|
|
48
|
+
readonly inputs: readonly [];
|
|
49
|
+
readonly name: "AmountTooLow";
|
|
50
|
+
readonly type: "error";
|
|
51
|
+
}, {
|
|
52
|
+
readonly inputs: readonly [];
|
|
53
|
+
readonly name: "AssetNotWhitelisted";
|
|
54
|
+
readonly type: "error";
|
|
55
|
+
}, {
|
|
56
|
+
readonly inputs: readonly [{
|
|
57
|
+
readonly internalType: "uint256";
|
|
58
|
+
readonly name: "fee";
|
|
59
|
+
readonly type: "uint256";
|
|
60
|
+
}, {
|
|
61
|
+
readonly internalType: "uint256";
|
|
62
|
+
readonly name: "remaining";
|
|
63
|
+
readonly type: "uint256";
|
|
64
|
+
}];
|
|
65
|
+
readonly name: "CollectableFeesExceeded";
|
|
66
|
+
readonly type: "error";
|
|
67
|
+
}, {
|
|
68
|
+
readonly inputs: readonly [];
|
|
69
|
+
readonly name: "DepositCapReached";
|
|
70
|
+
readonly type: "error";
|
|
71
|
+
}, {
|
|
72
|
+
readonly inputs: readonly [];
|
|
73
|
+
readonly name: "DepositsPaused";
|
|
74
|
+
readonly type: "error";
|
|
75
|
+
}, {
|
|
76
|
+
readonly inputs: readonly [];
|
|
77
|
+
readonly name: "FeeAmountTooLow";
|
|
78
|
+
readonly type: "error";
|
|
79
|
+
}, {
|
|
80
|
+
readonly inputs: readonly [];
|
|
81
|
+
readonly name: "FeesMustSum100";
|
|
82
|
+
readonly type: "error";
|
|
83
|
+
}, {
|
|
84
|
+
readonly inputs: readonly [];
|
|
85
|
+
readonly name: "HighWatermarkDurationError";
|
|
86
|
+
readonly type: "error";
|
|
87
|
+
}, {
|
|
88
|
+
readonly inputs: readonly [];
|
|
89
|
+
readonly name: "HighWatermarkViolation";
|
|
90
|
+
readonly type: "error";
|
|
91
|
+
}, {
|
|
92
|
+
readonly inputs: readonly [];
|
|
93
|
+
readonly name: "InsufficientShares";
|
|
94
|
+
readonly type: "error";
|
|
95
|
+
}, {
|
|
96
|
+
readonly inputs: readonly [];
|
|
97
|
+
readonly name: "InvalidAccountType";
|
|
98
|
+
readonly type: "error";
|
|
99
|
+
}, {
|
|
100
|
+
readonly inputs: readonly [];
|
|
101
|
+
readonly name: "InvalidAddress";
|
|
102
|
+
readonly type: "error";
|
|
103
|
+
}, {
|
|
104
|
+
readonly inputs: readonly [];
|
|
105
|
+
readonly name: "InvalidAmount";
|
|
106
|
+
readonly type: "error";
|
|
107
|
+
}, {
|
|
108
|
+
readonly inputs: readonly [];
|
|
109
|
+
readonly name: "InvalidDepositLimit";
|
|
110
|
+
readonly type: "error";
|
|
111
|
+
}, {
|
|
112
|
+
readonly inputs: readonly [];
|
|
113
|
+
readonly name: "InvalidExternalAssets";
|
|
114
|
+
readonly type: "error";
|
|
115
|
+
}, {
|
|
116
|
+
readonly inputs: readonly [];
|
|
117
|
+
readonly name: "InvalidLagDuration";
|
|
118
|
+
readonly type: "error";
|
|
119
|
+
}, {
|
|
120
|
+
readonly inputs: readonly [];
|
|
121
|
+
readonly name: "InvalidReceiver";
|
|
122
|
+
readonly type: "error";
|
|
123
|
+
}, {
|
|
124
|
+
readonly inputs: readonly [];
|
|
125
|
+
readonly name: "InvalidTimestamp";
|
|
126
|
+
readonly type: "error";
|
|
127
|
+
}, {
|
|
128
|
+
readonly inputs: readonly [];
|
|
129
|
+
readonly name: "InvalidWithdrawalLimit";
|
|
130
|
+
readonly type: "error";
|
|
131
|
+
}, {
|
|
132
|
+
readonly inputs: readonly [];
|
|
133
|
+
readonly name: "LimitRequired";
|
|
134
|
+
readonly type: "error";
|
|
135
|
+
}, {
|
|
136
|
+
readonly inputs: readonly [];
|
|
137
|
+
readonly name: "MaxAllowedChangeReached";
|
|
138
|
+
readonly type: "error";
|
|
139
|
+
}, {
|
|
140
|
+
readonly inputs: readonly [];
|
|
141
|
+
readonly name: "MaxDepositAmountReached";
|
|
142
|
+
readonly type: "error";
|
|
143
|
+
}, {
|
|
144
|
+
readonly inputs: readonly [];
|
|
145
|
+
readonly name: "MissingFeeCollectors";
|
|
146
|
+
readonly type: "error";
|
|
147
|
+
}, {
|
|
148
|
+
readonly inputs: readonly [];
|
|
149
|
+
readonly name: "NoSharesForReceiver";
|
|
150
|
+
readonly type: "error";
|
|
151
|
+
}, {
|
|
152
|
+
readonly inputs: readonly [];
|
|
153
|
+
readonly name: "NotConfigured";
|
|
154
|
+
readonly type: "error";
|
|
155
|
+
}, {
|
|
156
|
+
readonly inputs: readonly [];
|
|
157
|
+
readonly name: "NothingToProcess";
|
|
158
|
+
readonly type: "error";
|
|
159
|
+
}, {
|
|
160
|
+
readonly inputs: readonly [];
|
|
161
|
+
readonly name: "OnlyOwnerOrOperator";
|
|
162
|
+
readonly type: "error";
|
|
163
|
+
}, {
|
|
164
|
+
readonly inputs: readonly [];
|
|
165
|
+
readonly name: "OperatorOnly";
|
|
166
|
+
readonly type: "error";
|
|
167
|
+
}, {
|
|
168
|
+
readonly inputs: readonly [];
|
|
169
|
+
readonly name: "OwnerAddressRequired";
|
|
170
|
+
readonly type: "error";
|
|
171
|
+
}, {
|
|
172
|
+
readonly inputs: readonly [];
|
|
173
|
+
readonly name: "OwnerOnly";
|
|
174
|
+
readonly type: "error";
|
|
175
|
+
}, {
|
|
176
|
+
readonly inputs: readonly [];
|
|
177
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
178
|
+
readonly type: "error";
|
|
179
|
+
}, {
|
|
180
|
+
readonly inputs: readonly [];
|
|
181
|
+
readonly name: "ReferenceAssetMismatch";
|
|
182
|
+
readonly type: "error";
|
|
183
|
+
}, {
|
|
184
|
+
readonly inputs: readonly [];
|
|
185
|
+
readonly name: "SenderNotWhitelisted";
|
|
186
|
+
readonly type: "error";
|
|
187
|
+
}, {
|
|
188
|
+
readonly inputs: readonly [];
|
|
189
|
+
readonly name: "TokenDecimalsMismatch";
|
|
190
|
+
readonly type: "error";
|
|
191
|
+
}, {
|
|
192
|
+
readonly inputs: readonly [];
|
|
193
|
+
readonly name: "TooEarly";
|
|
194
|
+
readonly type: "error";
|
|
195
|
+
}, {
|
|
196
|
+
readonly inputs: readonly [];
|
|
197
|
+
readonly name: "Unauthorized";
|
|
198
|
+
readonly type: "error";
|
|
199
|
+
}, {
|
|
200
|
+
readonly inputs: readonly [];
|
|
201
|
+
readonly name: "VaultNotTimelocked";
|
|
202
|
+
readonly type: "error";
|
|
203
|
+
}, {
|
|
204
|
+
readonly inputs: readonly [];
|
|
205
|
+
readonly name: "WhitelistLimitReached";
|
|
206
|
+
readonly type: "error";
|
|
207
|
+
}, {
|
|
208
|
+
readonly inputs: readonly [];
|
|
209
|
+
readonly name: "WithdrawalLimitReached";
|
|
210
|
+
readonly type: "error";
|
|
211
|
+
}, {
|
|
212
|
+
readonly inputs: readonly [];
|
|
213
|
+
readonly name: "WithdrawalsPaused";
|
|
214
|
+
readonly type: "error";
|
|
215
|
+
}, {
|
|
216
|
+
readonly inputs: readonly [];
|
|
217
|
+
readonly name: "ZeroAddressError";
|
|
218
|
+
readonly type: "error";
|
|
219
|
+
}, {
|
|
220
|
+
readonly anonymous: false;
|
|
221
|
+
readonly inputs: readonly [];
|
|
222
|
+
readonly name: "ContractConfigured";
|
|
223
|
+
readonly type: "event";
|
|
224
|
+
}, {
|
|
225
|
+
readonly anonymous: false;
|
|
226
|
+
readonly inputs: readonly [{
|
|
227
|
+
readonly indexed: false;
|
|
228
|
+
readonly internalType: "address";
|
|
229
|
+
readonly name: "assetIn";
|
|
230
|
+
readonly type: "address";
|
|
231
|
+
}, {
|
|
232
|
+
readonly indexed: false;
|
|
233
|
+
readonly internalType: "uint256";
|
|
234
|
+
readonly name: "amountIn";
|
|
235
|
+
readonly type: "uint256";
|
|
236
|
+
}, {
|
|
237
|
+
readonly indexed: false;
|
|
238
|
+
readonly internalType: "uint256";
|
|
239
|
+
readonly name: "shares";
|
|
240
|
+
readonly type: "uint256";
|
|
241
|
+
}, {
|
|
242
|
+
readonly indexed: true;
|
|
243
|
+
readonly internalType: "address";
|
|
244
|
+
readonly name: "senderAddr";
|
|
245
|
+
readonly type: "address";
|
|
246
|
+
}, {
|
|
247
|
+
readonly indexed: true;
|
|
248
|
+
readonly internalType: "address";
|
|
249
|
+
readonly name: "receiverAddr";
|
|
250
|
+
readonly type: "address";
|
|
251
|
+
}];
|
|
252
|
+
readonly name: "Deposit";
|
|
253
|
+
readonly type: "event";
|
|
254
|
+
}, {
|
|
255
|
+
readonly anonymous: false;
|
|
256
|
+
readonly inputs: readonly [{
|
|
257
|
+
readonly indexed: false;
|
|
258
|
+
readonly internalType: "bool";
|
|
259
|
+
readonly name: "bDepositsPaused";
|
|
260
|
+
readonly type: "bool";
|
|
261
|
+
}, {
|
|
262
|
+
readonly indexed: false;
|
|
263
|
+
readonly internalType: "bool";
|
|
264
|
+
readonly name: "bWithdrawalsPaused";
|
|
265
|
+
readonly type: "bool";
|
|
266
|
+
}];
|
|
267
|
+
readonly name: "DepositWithdrawalStatusChanged";
|
|
268
|
+
readonly type: "event";
|
|
269
|
+
}, {
|
|
270
|
+
readonly anonymous: false;
|
|
271
|
+
readonly inputs: readonly [];
|
|
272
|
+
readonly name: "FeesCollected";
|
|
273
|
+
readonly type: "event";
|
|
274
|
+
}, {
|
|
275
|
+
readonly anonymous: false;
|
|
276
|
+
readonly inputs: readonly [{
|
|
277
|
+
readonly indexed: false;
|
|
278
|
+
readonly internalType: "uint8";
|
|
279
|
+
readonly name: "version";
|
|
280
|
+
readonly type: "uint8";
|
|
281
|
+
}];
|
|
282
|
+
readonly name: "Initialized";
|
|
283
|
+
readonly type: "event";
|
|
284
|
+
}, {
|
|
285
|
+
readonly anonymous: false;
|
|
286
|
+
readonly inputs: readonly [{
|
|
287
|
+
readonly indexed: false;
|
|
288
|
+
readonly internalType: "uint256";
|
|
289
|
+
readonly name: "managementFeeAmount";
|
|
290
|
+
readonly type: "uint256";
|
|
291
|
+
}];
|
|
292
|
+
readonly name: "ManagementFeeCharged";
|
|
293
|
+
readonly type: "event";
|
|
294
|
+
}, {
|
|
295
|
+
readonly anonymous: false;
|
|
296
|
+
readonly inputs: readonly [{
|
|
297
|
+
readonly indexed: false;
|
|
298
|
+
readonly internalType: "uint256";
|
|
299
|
+
readonly name: "newManagementFeePercent";
|
|
300
|
+
readonly type: "uint256";
|
|
301
|
+
}];
|
|
302
|
+
readonly name: "ManagementFeeUpdated";
|
|
303
|
+
readonly type: "event";
|
|
304
|
+
}, {
|
|
305
|
+
readonly anonymous: false;
|
|
306
|
+
readonly inputs: readonly [{
|
|
307
|
+
readonly indexed: false;
|
|
308
|
+
readonly internalType: "uint256";
|
|
309
|
+
readonly name: "newValue";
|
|
310
|
+
readonly type: "uint256";
|
|
311
|
+
}];
|
|
312
|
+
readonly name: "MaxChangePercentUpdated";
|
|
313
|
+
readonly type: "event";
|
|
314
|
+
}, {
|
|
315
|
+
readonly anonymous: false;
|
|
316
|
+
readonly inputs: readonly [{
|
|
317
|
+
readonly indexed: false;
|
|
318
|
+
readonly internalType: "address";
|
|
319
|
+
readonly name: "receiverAddr";
|
|
320
|
+
readonly type: "address";
|
|
321
|
+
}];
|
|
322
|
+
readonly name: "OnEmergencyWithdraw";
|
|
323
|
+
readonly type: "event";
|
|
324
|
+
}, {
|
|
325
|
+
readonly anonymous: false;
|
|
326
|
+
readonly inputs: readonly [{
|
|
327
|
+
readonly indexed: true;
|
|
328
|
+
readonly internalType: "address";
|
|
329
|
+
readonly name: "previousOwner";
|
|
330
|
+
readonly type: "address";
|
|
331
|
+
}, {
|
|
332
|
+
readonly indexed: true;
|
|
333
|
+
readonly internalType: "address";
|
|
334
|
+
readonly name: "newOwner";
|
|
335
|
+
readonly type: "address";
|
|
336
|
+
}];
|
|
337
|
+
readonly name: "OwnershipTransferStarted";
|
|
338
|
+
readonly type: "event";
|
|
339
|
+
}, {
|
|
340
|
+
readonly anonymous: false;
|
|
341
|
+
readonly inputs: readonly [{
|
|
342
|
+
readonly indexed: true;
|
|
343
|
+
readonly internalType: "address";
|
|
344
|
+
readonly name: "previousOwner";
|
|
345
|
+
readonly type: "address";
|
|
346
|
+
}, {
|
|
347
|
+
readonly indexed: true;
|
|
348
|
+
readonly internalType: "address";
|
|
349
|
+
readonly name: "newOwner";
|
|
350
|
+
readonly type: "address";
|
|
351
|
+
}];
|
|
352
|
+
readonly name: "OwnershipTransferred";
|
|
353
|
+
readonly type: "event";
|
|
354
|
+
}, {
|
|
355
|
+
readonly anonymous: false;
|
|
356
|
+
readonly inputs: readonly [{
|
|
357
|
+
readonly indexed: false;
|
|
358
|
+
readonly internalType: "address";
|
|
359
|
+
readonly name: "newWhitelistAddr";
|
|
360
|
+
readonly type: "address";
|
|
361
|
+
}];
|
|
362
|
+
readonly name: "SendersWhitelistUpdated";
|
|
363
|
+
readonly type: "event";
|
|
364
|
+
}, {
|
|
365
|
+
readonly anonymous: false;
|
|
366
|
+
readonly inputs: readonly [{
|
|
367
|
+
readonly indexed: false;
|
|
368
|
+
readonly internalType: "address";
|
|
369
|
+
readonly name: "subAccountAddr";
|
|
370
|
+
readonly type: "address";
|
|
371
|
+
}];
|
|
372
|
+
readonly name: "SubAccountDisabled";
|
|
373
|
+
readonly type: "event";
|
|
374
|
+
}, {
|
|
375
|
+
readonly anonymous: false;
|
|
376
|
+
readonly inputs: readonly [{
|
|
377
|
+
readonly indexed: false;
|
|
378
|
+
readonly internalType: "address";
|
|
379
|
+
readonly name: "subAccountAddr";
|
|
380
|
+
readonly type: "address";
|
|
381
|
+
}];
|
|
382
|
+
readonly name: "SubAccountEnabled";
|
|
383
|
+
readonly type: "event";
|
|
384
|
+
}, {
|
|
385
|
+
readonly anonymous: false;
|
|
386
|
+
readonly inputs: readonly [{
|
|
387
|
+
readonly indexed: true;
|
|
388
|
+
readonly internalType: "address";
|
|
389
|
+
readonly name: "sender";
|
|
390
|
+
readonly type: "address";
|
|
391
|
+
}, {
|
|
392
|
+
readonly indexed: true;
|
|
393
|
+
readonly internalType: "address";
|
|
394
|
+
readonly name: "receiver";
|
|
395
|
+
readonly type: "address";
|
|
396
|
+
}, {
|
|
397
|
+
readonly indexed: true;
|
|
398
|
+
readonly internalType: "address";
|
|
399
|
+
readonly name: "owner";
|
|
400
|
+
readonly type: "address";
|
|
401
|
+
}, {
|
|
402
|
+
readonly indexed: false;
|
|
403
|
+
readonly internalType: "uint256";
|
|
404
|
+
readonly name: "assets";
|
|
405
|
+
readonly type: "uint256";
|
|
406
|
+
}, {
|
|
407
|
+
readonly indexed: false;
|
|
408
|
+
readonly internalType: "uint256";
|
|
409
|
+
readonly name: "shares";
|
|
410
|
+
readonly type: "uint256";
|
|
411
|
+
}];
|
|
412
|
+
readonly name: "Withdraw";
|
|
413
|
+
readonly type: "event";
|
|
414
|
+
}, {
|
|
415
|
+
readonly anonymous: false;
|
|
416
|
+
readonly inputs: readonly [{
|
|
417
|
+
readonly indexed: false;
|
|
418
|
+
readonly internalType: "uint256";
|
|
419
|
+
readonly name: "assetsAmount";
|
|
420
|
+
readonly type: "uint256";
|
|
421
|
+
}, {
|
|
422
|
+
readonly indexed: true;
|
|
423
|
+
readonly internalType: "address";
|
|
424
|
+
readonly name: "receiverAddr";
|
|
425
|
+
readonly type: "address";
|
|
426
|
+
}];
|
|
427
|
+
readonly name: "WithdrawalProcessed";
|
|
428
|
+
readonly type: "event";
|
|
429
|
+
}, {
|
|
430
|
+
readonly anonymous: false;
|
|
431
|
+
readonly inputs: readonly [{
|
|
432
|
+
readonly indexed: false;
|
|
433
|
+
readonly internalType: "uint256";
|
|
434
|
+
readonly name: "shares";
|
|
435
|
+
readonly type: "uint256";
|
|
436
|
+
}, {
|
|
437
|
+
readonly indexed: true;
|
|
438
|
+
readonly internalType: "address";
|
|
439
|
+
readonly name: "holderAddr";
|
|
440
|
+
readonly type: "address";
|
|
441
|
+
}, {
|
|
442
|
+
readonly indexed: true;
|
|
443
|
+
readonly internalType: "address";
|
|
444
|
+
readonly name: "receiverAddr";
|
|
445
|
+
readonly type: "address";
|
|
446
|
+
}];
|
|
447
|
+
readonly name: "WithdrawalRequested";
|
|
448
|
+
readonly type: "event";
|
|
449
|
+
}, {
|
|
450
|
+
readonly inputs: readonly [];
|
|
451
|
+
readonly name: "acceptOwnership";
|
|
452
|
+
readonly outputs: readonly [];
|
|
453
|
+
readonly stateMutability: "nonpayable";
|
|
454
|
+
readonly type: "function";
|
|
455
|
+
}, {
|
|
456
|
+
readonly inputs: readonly [];
|
|
457
|
+
readonly name: "asset";
|
|
458
|
+
readonly outputs: readonly [{
|
|
459
|
+
readonly internalType: "address";
|
|
460
|
+
readonly name: "";
|
|
461
|
+
readonly type: "address";
|
|
462
|
+
}];
|
|
463
|
+
readonly stateMutability: "view";
|
|
464
|
+
readonly type: "function";
|
|
465
|
+
}, {
|
|
466
|
+
readonly inputs: readonly [];
|
|
467
|
+
readonly name: "assetsUpdatedOn";
|
|
468
|
+
readonly outputs: readonly [{
|
|
469
|
+
readonly internalType: "uint256";
|
|
470
|
+
readonly name: "";
|
|
471
|
+
readonly type: "uint256";
|
|
472
|
+
}];
|
|
473
|
+
readonly stateMutability: "view";
|
|
474
|
+
readonly type: "function";
|
|
475
|
+
}, {
|
|
476
|
+
readonly inputs: readonly [];
|
|
477
|
+
readonly name: "assetsWhitelistAddress";
|
|
478
|
+
readonly outputs: readonly [{
|
|
479
|
+
readonly internalType: "address";
|
|
480
|
+
readonly name: "";
|
|
481
|
+
readonly type: "address";
|
|
482
|
+
}];
|
|
483
|
+
readonly stateMutability: "view";
|
|
484
|
+
readonly type: "function";
|
|
485
|
+
}, {
|
|
486
|
+
readonly inputs: readonly [];
|
|
487
|
+
readonly name: "chargeManagementFee";
|
|
488
|
+
readonly outputs: readonly [];
|
|
489
|
+
readonly stateMutability: "nonpayable";
|
|
490
|
+
readonly type: "function";
|
|
491
|
+
}, {
|
|
492
|
+
readonly inputs: readonly [];
|
|
493
|
+
readonly name: "chargePerformanceFees";
|
|
494
|
+
readonly outputs: readonly [];
|
|
495
|
+
readonly stateMutability: "nonpayable";
|
|
496
|
+
readonly type: "function";
|
|
497
|
+
}, {
|
|
498
|
+
readonly inputs: readonly [{
|
|
499
|
+
readonly internalType: "uint256";
|
|
500
|
+
readonly name: "year";
|
|
501
|
+
readonly type: "uint256";
|
|
502
|
+
}, {
|
|
503
|
+
readonly internalType: "uint256";
|
|
504
|
+
readonly name: "month";
|
|
505
|
+
readonly type: "uint256";
|
|
506
|
+
}, {
|
|
507
|
+
readonly internalType: "uint256";
|
|
508
|
+
readonly name: "day";
|
|
509
|
+
readonly type: "uint256";
|
|
510
|
+
}, {
|
|
511
|
+
readonly internalType: "address";
|
|
512
|
+
readonly name: "receiverAddr";
|
|
513
|
+
readonly type: "address";
|
|
514
|
+
}];
|
|
515
|
+
readonly name: "claim";
|
|
516
|
+
readonly outputs: readonly [{
|
|
517
|
+
readonly internalType: "uint256";
|
|
518
|
+
readonly name: "";
|
|
519
|
+
readonly type: "uint256";
|
|
520
|
+
}, {
|
|
521
|
+
readonly internalType: "uint256";
|
|
522
|
+
readonly name: "";
|
|
523
|
+
readonly type: "uint256";
|
|
524
|
+
}];
|
|
525
|
+
readonly stateMutability: "nonpayable";
|
|
526
|
+
readonly type: "function";
|
|
527
|
+
}, {
|
|
528
|
+
readonly inputs: readonly [];
|
|
529
|
+
readonly name: "collectFees";
|
|
530
|
+
readonly outputs: readonly [];
|
|
531
|
+
readonly stateMutability: "nonpayable";
|
|
532
|
+
readonly type: "function";
|
|
533
|
+
}, {
|
|
534
|
+
readonly inputs: readonly [{
|
|
535
|
+
readonly components: readonly [{
|
|
536
|
+
readonly internalType: "uint256";
|
|
537
|
+
readonly name: "maxDepositAmount";
|
|
538
|
+
readonly type: "uint256";
|
|
539
|
+
}, {
|
|
540
|
+
readonly internalType: "uint256";
|
|
541
|
+
readonly name: "maxWithdrawalAmount";
|
|
542
|
+
readonly type: "uint256";
|
|
543
|
+
}, {
|
|
544
|
+
readonly internalType: "uint256";
|
|
545
|
+
readonly name: "instantRedemptionFee";
|
|
546
|
+
readonly type: "uint256";
|
|
547
|
+
}, {
|
|
548
|
+
readonly internalType: "uint256";
|
|
549
|
+
readonly name: "lagDuration";
|
|
550
|
+
readonly type: "uint256";
|
|
551
|
+
}, {
|
|
552
|
+
readonly internalType: "uint256";
|
|
553
|
+
readonly name: "withdrawalFee";
|
|
554
|
+
readonly type: "uint256";
|
|
555
|
+
}, {
|
|
556
|
+
readonly internalType: "uint256";
|
|
557
|
+
readonly name: "watermarkTimeWindow";
|
|
558
|
+
readonly type: "uint256";
|
|
559
|
+
}, {
|
|
560
|
+
readonly internalType: "uint256";
|
|
561
|
+
readonly name: "maxChangePercent";
|
|
562
|
+
readonly type: "uint256";
|
|
563
|
+
}, {
|
|
564
|
+
readonly internalType: "uint256";
|
|
565
|
+
readonly name: "managementFeePercent";
|
|
566
|
+
readonly type: "uint256";
|
|
567
|
+
}, {
|
|
568
|
+
readonly internalType: "uint256";
|
|
569
|
+
readonly name: "performanceFeeRate";
|
|
570
|
+
readonly type: "uint256";
|
|
571
|
+
}, {
|
|
572
|
+
readonly internalType: "address";
|
|
573
|
+
readonly name: "sendersWhitelistAddress";
|
|
574
|
+
readonly type: "address";
|
|
575
|
+
}, {
|
|
576
|
+
readonly internalType: "address";
|
|
577
|
+
readonly name: "operatorAddress";
|
|
578
|
+
readonly type: "address";
|
|
579
|
+
}, {
|
|
580
|
+
readonly internalType: "address";
|
|
581
|
+
readonly name: "scheduledCallerAddress";
|
|
582
|
+
readonly type: "address";
|
|
583
|
+
}, {
|
|
584
|
+
readonly internalType: "address";
|
|
585
|
+
readonly name: "lpTokenAddress";
|
|
586
|
+
readonly type: "address";
|
|
587
|
+
}, {
|
|
588
|
+
readonly internalType: "address";
|
|
589
|
+
readonly name: "referenceAsset";
|
|
590
|
+
readonly type: "address";
|
|
591
|
+
}, {
|
|
592
|
+
readonly internalType: "address";
|
|
593
|
+
readonly name: "futureOwnerAddress";
|
|
594
|
+
readonly type: "address";
|
|
595
|
+
}, {
|
|
596
|
+
readonly internalType: "address";
|
|
597
|
+
readonly name: "assetsWhitelistAddress";
|
|
598
|
+
readonly type: "address";
|
|
599
|
+
}];
|
|
600
|
+
readonly internalType: "struct ITokenizedVault.ConfigInfo";
|
|
601
|
+
readonly name: "newConfig";
|
|
602
|
+
readonly type: "tuple";
|
|
603
|
+
}];
|
|
604
|
+
readonly name: "configure";
|
|
605
|
+
readonly outputs: readonly [];
|
|
606
|
+
readonly stateMutability: "nonpayable";
|
|
607
|
+
readonly type: "function";
|
|
608
|
+
}, {
|
|
609
|
+
readonly inputs: readonly [{
|
|
610
|
+
readonly internalType: "address";
|
|
611
|
+
readonly name: "assetIn";
|
|
612
|
+
readonly type: "address";
|
|
613
|
+
}, {
|
|
614
|
+
readonly internalType: "uint256";
|
|
615
|
+
readonly name: "amountIn";
|
|
616
|
+
readonly type: "uint256";
|
|
617
|
+
}, {
|
|
618
|
+
readonly internalType: "address";
|
|
619
|
+
readonly name: "receiverAddr";
|
|
620
|
+
readonly type: "address";
|
|
621
|
+
}];
|
|
622
|
+
readonly name: "deposit";
|
|
623
|
+
readonly outputs: readonly [{
|
|
624
|
+
readonly internalType: "uint256";
|
|
625
|
+
readonly name: "shares";
|
|
626
|
+
readonly type: "uint256";
|
|
627
|
+
}];
|
|
628
|
+
readonly stateMutability: "nonpayable";
|
|
629
|
+
readonly type: "function";
|
|
630
|
+
}, {
|
|
631
|
+
readonly inputs: readonly [];
|
|
632
|
+
readonly name: "depositCap";
|
|
633
|
+
readonly outputs: readonly [{
|
|
634
|
+
readonly internalType: "uint256";
|
|
635
|
+
readonly name: "";
|
|
636
|
+
readonly type: "uint256";
|
|
637
|
+
}];
|
|
638
|
+
readonly stateMutability: "view";
|
|
639
|
+
readonly type: "function";
|
|
640
|
+
}, {
|
|
641
|
+
readonly inputs: readonly [{
|
|
642
|
+
readonly internalType: "address";
|
|
643
|
+
readonly name: "inputAssetAddr";
|
|
644
|
+
readonly type: "address";
|
|
645
|
+
}, {
|
|
646
|
+
readonly internalType: "uint256";
|
|
647
|
+
readonly name: "depositAmount";
|
|
648
|
+
readonly type: "uint256";
|
|
649
|
+
}, {
|
|
650
|
+
readonly internalType: "address";
|
|
651
|
+
readonly name: "subAccountAddr";
|
|
652
|
+
readonly type: "address";
|
|
653
|
+
}];
|
|
654
|
+
readonly name: "depositToSubaccount";
|
|
655
|
+
readonly outputs: readonly [];
|
|
656
|
+
readonly stateMutability: "nonpayable";
|
|
657
|
+
readonly type: "function";
|
|
658
|
+
}, {
|
|
659
|
+
readonly inputs: readonly [{
|
|
660
|
+
readonly internalType: "address";
|
|
661
|
+
readonly name: "assetIn";
|
|
662
|
+
readonly type: "address";
|
|
663
|
+
}, {
|
|
664
|
+
readonly internalType: "uint256";
|
|
665
|
+
readonly name: "amountIn";
|
|
666
|
+
readonly type: "uint256";
|
|
667
|
+
}, {
|
|
668
|
+
readonly internalType: "address";
|
|
669
|
+
readonly name: "receiverAddr";
|
|
670
|
+
readonly type: "address";
|
|
671
|
+
}, {
|
|
672
|
+
readonly internalType: "uint256";
|
|
673
|
+
readonly name: "deadline";
|
|
674
|
+
readonly type: "uint256";
|
|
675
|
+
}, {
|
|
676
|
+
readonly internalType: "bytes32";
|
|
677
|
+
readonly name: "r";
|
|
678
|
+
readonly type: "bytes32";
|
|
679
|
+
}, {
|
|
680
|
+
readonly internalType: "bytes32";
|
|
681
|
+
readonly name: "s";
|
|
682
|
+
readonly type: "bytes32";
|
|
683
|
+
}, {
|
|
684
|
+
readonly internalType: "uint8";
|
|
685
|
+
readonly name: "v";
|
|
686
|
+
readonly type: "uint8";
|
|
687
|
+
}];
|
|
688
|
+
readonly name: "depositWithPermit";
|
|
689
|
+
readonly outputs: readonly [{
|
|
690
|
+
readonly internalType: "uint256";
|
|
691
|
+
readonly name: "shares";
|
|
692
|
+
readonly type: "uint256";
|
|
693
|
+
}];
|
|
694
|
+
readonly stateMutability: "nonpayable";
|
|
695
|
+
readonly type: "function";
|
|
696
|
+
}, {
|
|
697
|
+
readonly inputs: readonly [];
|
|
698
|
+
readonly name: "depositsPaused";
|
|
699
|
+
readonly outputs: readonly [{
|
|
700
|
+
readonly internalType: "bool";
|
|
701
|
+
readonly name: "";
|
|
702
|
+
readonly type: "bool";
|
|
703
|
+
}];
|
|
704
|
+
readonly stateMutability: "view";
|
|
705
|
+
readonly type: "function";
|
|
706
|
+
}, {
|
|
707
|
+
readonly inputs: readonly [{
|
|
708
|
+
readonly internalType: "address";
|
|
709
|
+
readonly name: "addr";
|
|
710
|
+
readonly type: "address";
|
|
711
|
+
}];
|
|
712
|
+
readonly name: "disableSubAccount";
|
|
713
|
+
readonly outputs: readonly [];
|
|
714
|
+
readonly stateMutability: "nonpayable";
|
|
715
|
+
readonly type: "function";
|
|
716
|
+
}, {
|
|
717
|
+
readonly inputs: readonly [{
|
|
718
|
+
readonly internalType: "address";
|
|
719
|
+
readonly name: "receiverAddr";
|
|
720
|
+
readonly type: "address";
|
|
721
|
+
}];
|
|
722
|
+
readonly name: "emergencyWithdraw";
|
|
723
|
+
readonly outputs: readonly [];
|
|
724
|
+
readonly stateMutability: "nonpayable";
|
|
725
|
+
readonly type: "function";
|
|
726
|
+
}, {
|
|
727
|
+
readonly inputs: readonly [{
|
|
728
|
+
readonly internalType: "address";
|
|
729
|
+
readonly name: "addr";
|
|
730
|
+
readonly type: "address";
|
|
731
|
+
}, {
|
|
732
|
+
readonly internalType: "uint8";
|
|
733
|
+
readonly name: "accountType";
|
|
734
|
+
readonly type: "uint8";
|
|
735
|
+
}];
|
|
736
|
+
readonly name: "enableSubAccount";
|
|
737
|
+
readonly outputs: readonly [];
|
|
738
|
+
readonly stateMutability: "nonpayable";
|
|
739
|
+
readonly type: "function";
|
|
740
|
+
}, {
|
|
741
|
+
readonly inputs: readonly [];
|
|
742
|
+
readonly name: "externalAssets";
|
|
743
|
+
readonly outputs: readonly [{
|
|
744
|
+
readonly internalType: "uint256";
|
|
745
|
+
readonly name: "";
|
|
746
|
+
readonly type: "uint256";
|
|
747
|
+
}];
|
|
748
|
+
readonly stateMutability: "view";
|
|
749
|
+
readonly type: "function";
|
|
750
|
+
}, {
|
|
751
|
+
readonly inputs: readonly [{
|
|
752
|
+
readonly internalType: "uint256";
|
|
753
|
+
readonly name: "";
|
|
754
|
+
readonly type: "uint256";
|
|
755
|
+
}];
|
|
756
|
+
readonly name: "feeCollectors";
|
|
757
|
+
readonly outputs: readonly [{
|
|
758
|
+
readonly internalType: "address";
|
|
759
|
+
readonly name: "collectorAddress";
|
|
760
|
+
readonly type: "address";
|
|
761
|
+
}, {
|
|
762
|
+
readonly internalType: "uint256";
|
|
763
|
+
readonly name: "percentage";
|
|
764
|
+
readonly type: "uint256";
|
|
765
|
+
}];
|
|
766
|
+
readonly stateMutability: "view";
|
|
767
|
+
readonly type: "function";
|
|
768
|
+
}, {
|
|
769
|
+
readonly inputs: readonly [];
|
|
770
|
+
readonly name: "feesTimestamp";
|
|
771
|
+
readonly outputs: readonly [{
|
|
772
|
+
readonly internalType: "uint256";
|
|
773
|
+
readonly name: "";
|
|
774
|
+
readonly type: "uint256";
|
|
775
|
+
}];
|
|
776
|
+
readonly stateMutability: "view";
|
|
777
|
+
readonly type: "function";
|
|
778
|
+
}, {
|
|
779
|
+
readonly inputs: readonly [{
|
|
780
|
+
readonly internalType: "uint256";
|
|
781
|
+
readonly name: "year";
|
|
782
|
+
readonly type: "uint256";
|
|
783
|
+
}, {
|
|
784
|
+
readonly internalType: "uint256";
|
|
785
|
+
readonly name: "month";
|
|
786
|
+
readonly type: "uint256";
|
|
787
|
+
}, {
|
|
788
|
+
readonly internalType: "uint256";
|
|
789
|
+
readonly name: "day";
|
|
790
|
+
readonly type: "uint256";
|
|
791
|
+
}, {
|
|
792
|
+
readonly internalType: "address";
|
|
793
|
+
readonly name: "receiverAddr";
|
|
794
|
+
readonly type: "address";
|
|
795
|
+
}];
|
|
796
|
+
readonly name: "getBurnableAmountByReceiver";
|
|
797
|
+
readonly outputs: readonly [{
|
|
798
|
+
readonly internalType: "uint256";
|
|
799
|
+
readonly name: "";
|
|
800
|
+
readonly type: "uint256";
|
|
801
|
+
}];
|
|
802
|
+
readonly stateMutability: "view";
|
|
803
|
+
readonly type: "function";
|
|
804
|
+
}, {
|
|
805
|
+
readonly inputs: readonly [{
|
|
806
|
+
readonly internalType: "uint256";
|
|
807
|
+
readonly name: "externalAssetsAmount";
|
|
808
|
+
readonly type: "uint256";
|
|
809
|
+
}];
|
|
810
|
+
readonly name: "getChangePercentage";
|
|
811
|
+
readonly outputs: readonly [{
|
|
812
|
+
readonly internalType: "uint256";
|
|
813
|
+
readonly name: "";
|
|
814
|
+
readonly type: "uint256";
|
|
815
|
+
}];
|
|
816
|
+
readonly stateMutability: "view";
|
|
817
|
+
readonly type: "function";
|
|
818
|
+
}, {
|
|
819
|
+
readonly inputs: readonly [];
|
|
820
|
+
readonly name: "getFeeCollectors";
|
|
821
|
+
readonly outputs: readonly [{
|
|
822
|
+
readonly components: readonly [{
|
|
823
|
+
readonly internalType: "address";
|
|
824
|
+
readonly name: "collectorAddress";
|
|
825
|
+
readonly type: "address";
|
|
826
|
+
}, {
|
|
827
|
+
readonly internalType: "uint256";
|
|
828
|
+
readonly name: "percentage";
|
|
829
|
+
readonly type: "uint256";
|
|
830
|
+
}];
|
|
831
|
+
readonly internalType: "struct IFeeCollectorsAware.CollectorDefinition[]";
|
|
832
|
+
readonly name: "";
|
|
833
|
+
readonly type: "tuple[]";
|
|
834
|
+
}];
|
|
835
|
+
readonly stateMutability: "view";
|
|
836
|
+
readonly type: "function";
|
|
837
|
+
}, {
|
|
838
|
+
readonly inputs: readonly [];
|
|
839
|
+
readonly name: "getMaxAllowedChange";
|
|
840
|
+
readonly outputs: readonly [{
|
|
841
|
+
readonly internalType: "uint256";
|
|
842
|
+
readonly name: "";
|
|
843
|
+
readonly type: "uint256";
|
|
844
|
+
}];
|
|
845
|
+
readonly stateMutability: "view";
|
|
846
|
+
readonly type: "function";
|
|
847
|
+
}, {
|
|
848
|
+
readonly inputs: readonly [];
|
|
849
|
+
readonly name: "getPerformanceFeeRecipients";
|
|
850
|
+
readonly outputs: readonly [{
|
|
851
|
+
readonly components: readonly [{
|
|
852
|
+
readonly internalType: "address";
|
|
853
|
+
readonly name: "collectorAddress";
|
|
854
|
+
readonly type: "address";
|
|
855
|
+
}, {
|
|
856
|
+
readonly internalType: "uint256";
|
|
857
|
+
readonly name: "percentage";
|
|
858
|
+
readonly type: "uint256";
|
|
859
|
+
}];
|
|
860
|
+
readonly internalType: "struct IFeeCollectorsAware.CollectorDefinition[]";
|
|
861
|
+
readonly name: "";
|
|
862
|
+
readonly type: "tuple[]";
|
|
863
|
+
}];
|
|
864
|
+
readonly stateMutability: "view";
|
|
865
|
+
readonly type: "function";
|
|
866
|
+
}, {
|
|
867
|
+
readonly inputs: readonly [{
|
|
868
|
+
readonly internalType: "uint256";
|
|
869
|
+
readonly name: "year";
|
|
870
|
+
readonly type: "uint256";
|
|
871
|
+
}, {
|
|
872
|
+
readonly internalType: "uint256";
|
|
873
|
+
readonly name: "month";
|
|
874
|
+
readonly type: "uint256";
|
|
875
|
+
}, {
|
|
876
|
+
readonly internalType: "uint256";
|
|
877
|
+
readonly name: "day";
|
|
878
|
+
readonly type: "uint256";
|
|
879
|
+
}];
|
|
880
|
+
readonly name: "getRequirementByDate";
|
|
881
|
+
readonly outputs: readonly [{
|
|
882
|
+
readonly internalType: "uint256";
|
|
883
|
+
readonly name: "shares";
|
|
884
|
+
readonly type: "uint256";
|
|
885
|
+
}];
|
|
886
|
+
readonly stateMutability: "view";
|
|
887
|
+
readonly type: "function";
|
|
888
|
+
}, {
|
|
889
|
+
readonly inputs: readonly [{
|
|
890
|
+
readonly internalType: "uint256";
|
|
891
|
+
readonly name: "year";
|
|
892
|
+
readonly type: "uint256";
|
|
893
|
+
}, {
|
|
894
|
+
readonly internalType: "uint256";
|
|
895
|
+
readonly name: "month";
|
|
896
|
+
readonly type: "uint256";
|
|
897
|
+
}, {
|
|
898
|
+
readonly internalType: "uint256";
|
|
899
|
+
readonly name: "day";
|
|
900
|
+
readonly type: "uint256";
|
|
901
|
+
}];
|
|
902
|
+
readonly name: "getScheduledTransactionsByDate";
|
|
903
|
+
readonly outputs: readonly [{
|
|
904
|
+
readonly internalType: "uint256";
|
|
905
|
+
readonly name: "totalTransactions";
|
|
906
|
+
readonly type: "uint256";
|
|
907
|
+
}, {
|
|
908
|
+
readonly internalType: "uint256";
|
|
909
|
+
readonly name: "executionEpoch";
|
|
910
|
+
readonly type: "uint256";
|
|
911
|
+
}];
|
|
912
|
+
readonly stateMutability: "view";
|
|
913
|
+
readonly type: "function";
|
|
914
|
+
}, {
|
|
915
|
+
readonly inputs: readonly [];
|
|
916
|
+
readonly name: "getSharePrice";
|
|
917
|
+
readonly outputs: readonly [{
|
|
918
|
+
readonly internalType: "uint256";
|
|
919
|
+
readonly name: "";
|
|
920
|
+
readonly type: "uint256";
|
|
921
|
+
}];
|
|
922
|
+
readonly stateMutability: "view";
|
|
923
|
+
readonly type: "function";
|
|
924
|
+
}, {
|
|
925
|
+
readonly inputs: readonly [];
|
|
926
|
+
readonly name: "getTotalAssets";
|
|
927
|
+
readonly outputs: readonly [{
|
|
928
|
+
readonly internalType: "uint256";
|
|
929
|
+
readonly name: "";
|
|
930
|
+
readonly type: "uint256";
|
|
931
|
+
}];
|
|
932
|
+
readonly stateMutability: "view";
|
|
933
|
+
readonly type: "function";
|
|
934
|
+
}, {
|
|
935
|
+
readonly inputs: readonly [];
|
|
936
|
+
readonly name: "getWithdrawalEpoch";
|
|
937
|
+
readonly outputs: readonly [{
|
|
938
|
+
readonly internalType: "uint256";
|
|
939
|
+
readonly name: "year";
|
|
940
|
+
readonly type: "uint256";
|
|
941
|
+
}, {
|
|
942
|
+
readonly internalType: "uint256";
|
|
943
|
+
readonly name: "month";
|
|
944
|
+
readonly type: "uint256";
|
|
945
|
+
}, {
|
|
946
|
+
readonly internalType: "uint256";
|
|
947
|
+
readonly name: "day";
|
|
948
|
+
readonly type: "uint256";
|
|
949
|
+
}, {
|
|
950
|
+
readonly internalType: "uint256";
|
|
951
|
+
readonly name: "claimableEpoch";
|
|
952
|
+
readonly type: "uint256";
|
|
953
|
+
}];
|
|
954
|
+
readonly stateMutability: "view";
|
|
955
|
+
readonly type: "function";
|
|
956
|
+
}, {
|
|
957
|
+
readonly inputs: readonly [];
|
|
958
|
+
readonly name: "globalLiabilityShares";
|
|
959
|
+
readonly outputs: readonly [{
|
|
960
|
+
readonly internalType: "uint256";
|
|
961
|
+
readonly name: "";
|
|
962
|
+
readonly type: "uint256";
|
|
963
|
+
}];
|
|
964
|
+
readonly stateMutability: "view";
|
|
965
|
+
readonly type: "function";
|
|
966
|
+
}, {
|
|
967
|
+
readonly inputs: readonly [];
|
|
968
|
+
readonly name: "highWatermark";
|
|
969
|
+
readonly outputs: readonly [{
|
|
970
|
+
readonly internalType: "uint256";
|
|
971
|
+
readonly name: "";
|
|
972
|
+
readonly type: "uint256";
|
|
973
|
+
}];
|
|
974
|
+
readonly stateMutability: "view";
|
|
975
|
+
readonly type: "function";
|
|
976
|
+
}, {
|
|
977
|
+
readonly inputs: readonly [{
|
|
978
|
+
readonly internalType: "address";
|
|
979
|
+
readonly name: "ownerAddr";
|
|
980
|
+
readonly type: "address";
|
|
981
|
+
}];
|
|
982
|
+
readonly name: "initialize";
|
|
983
|
+
readonly outputs: readonly [];
|
|
984
|
+
readonly stateMutability: "nonpayable";
|
|
985
|
+
readonly type: "function";
|
|
986
|
+
}, {
|
|
987
|
+
readonly inputs: readonly [{
|
|
988
|
+
readonly internalType: "uint256";
|
|
989
|
+
readonly name: "shares";
|
|
990
|
+
readonly type: "uint256";
|
|
991
|
+
}, {
|
|
992
|
+
readonly internalType: "address";
|
|
993
|
+
readonly name: "receiverAddr";
|
|
994
|
+
readonly type: "address";
|
|
995
|
+
}];
|
|
996
|
+
readonly name: "instantRedeem";
|
|
997
|
+
readonly outputs: readonly [];
|
|
998
|
+
readonly stateMutability: "nonpayable";
|
|
999
|
+
readonly type: "function";
|
|
1000
|
+
}, {
|
|
1001
|
+
readonly inputs: readonly [];
|
|
1002
|
+
readonly name: "instantRedemptionFee";
|
|
1003
|
+
readonly outputs: readonly [{
|
|
1004
|
+
readonly internalType: "uint256";
|
|
1005
|
+
readonly name: "";
|
|
1006
|
+
readonly type: "uint256";
|
|
1007
|
+
}];
|
|
1008
|
+
readonly stateMutability: "view";
|
|
1009
|
+
readonly type: "function";
|
|
1010
|
+
}, {
|
|
1011
|
+
readonly inputs: readonly [];
|
|
1012
|
+
readonly name: "keepFeeInVault";
|
|
1013
|
+
readonly outputs: readonly [{
|
|
1014
|
+
readonly internalType: "bool";
|
|
1015
|
+
readonly name: "";
|
|
1016
|
+
readonly type: "bool";
|
|
1017
|
+
}];
|
|
1018
|
+
readonly stateMutability: "view";
|
|
1019
|
+
readonly type: "function";
|
|
1020
|
+
}, {
|
|
1021
|
+
readonly inputs: readonly [];
|
|
1022
|
+
readonly name: "lagDuration";
|
|
1023
|
+
readonly outputs: readonly [{
|
|
1024
|
+
readonly internalType: "uint256";
|
|
1025
|
+
readonly name: "";
|
|
1026
|
+
readonly type: "uint256";
|
|
1027
|
+
}];
|
|
1028
|
+
readonly stateMutability: "view";
|
|
1029
|
+
readonly type: "function";
|
|
1030
|
+
}, {
|
|
1031
|
+
readonly inputs: readonly [];
|
|
1032
|
+
readonly name: "lpTokenAddress";
|
|
1033
|
+
readonly outputs: readonly [{
|
|
1034
|
+
readonly internalType: "address";
|
|
1035
|
+
readonly name: "";
|
|
1036
|
+
readonly type: "address";
|
|
1037
|
+
}];
|
|
1038
|
+
readonly stateMutability: "view";
|
|
1039
|
+
readonly type: "function";
|
|
1040
|
+
}, {
|
|
1041
|
+
readonly inputs: readonly [];
|
|
1042
|
+
readonly name: "managementFeePercent";
|
|
1043
|
+
readonly outputs: readonly [{
|
|
1044
|
+
readonly internalType: "uint256";
|
|
1045
|
+
readonly name: "";
|
|
1046
|
+
readonly type: "uint256";
|
|
1047
|
+
}];
|
|
1048
|
+
readonly stateMutability: "view";
|
|
1049
|
+
readonly type: "function";
|
|
1050
|
+
}, {
|
|
1051
|
+
readonly inputs: readonly [];
|
|
1052
|
+
readonly name: "maxChangePercent";
|
|
1053
|
+
readonly outputs: readonly [{
|
|
1054
|
+
readonly internalType: "uint256";
|
|
1055
|
+
readonly name: "";
|
|
1056
|
+
readonly type: "uint256";
|
|
1057
|
+
}];
|
|
1058
|
+
readonly stateMutability: "view";
|
|
1059
|
+
readonly type: "function";
|
|
1060
|
+
}, {
|
|
1061
|
+
readonly inputs: readonly [];
|
|
1062
|
+
readonly name: "maxDepositAmount";
|
|
1063
|
+
readonly outputs: readonly [{
|
|
1064
|
+
readonly internalType: "uint256";
|
|
1065
|
+
readonly name: "";
|
|
1066
|
+
readonly type: "uint256";
|
|
1067
|
+
}];
|
|
1068
|
+
readonly stateMutability: "view";
|
|
1069
|
+
readonly type: "function";
|
|
1070
|
+
}, {
|
|
1071
|
+
readonly inputs: readonly [];
|
|
1072
|
+
readonly name: "maxWithdrawalAmount";
|
|
1073
|
+
readonly outputs: readonly [{
|
|
1074
|
+
readonly internalType: "uint256";
|
|
1075
|
+
readonly name: "";
|
|
1076
|
+
readonly type: "uint256";
|
|
1077
|
+
}];
|
|
1078
|
+
readonly stateMutability: "view";
|
|
1079
|
+
readonly type: "function";
|
|
1080
|
+
}, {
|
|
1081
|
+
readonly inputs: readonly [];
|
|
1082
|
+
readonly name: "operatorAddress";
|
|
1083
|
+
readonly outputs: readonly [{
|
|
1084
|
+
readonly internalType: "address";
|
|
1085
|
+
readonly name: "";
|
|
1086
|
+
readonly type: "address";
|
|
1087
|
+
}];
|
|
1088
|
+
readonly stateMutability: "view";
|
|
1089
|
+
readonly type: "function";
|
|
1090
|
+
}, {
|
|
1091
|
+
readonly inputs: readonly [];
|
|
1092
|
+
readonly name: "owner";
|
|
1093
|
+
readonly outputs: readonly [{
|
|
1094
|
+
readonly internalType: "address";
|
|
1095
|
+
readonly name: "";
|
|
1096
|
+
readonly type: "address";
|
|
1097
|
+
}];
|
|
1098
|
+
readonly stateMutability: "view";
|
|
1099
|
+
readonly type: "function";
|
|
1100
|
+
}, {
|
|
1101
|
+
readonly inputs: readonly [{
|
|
1102
|
+
readonly internalType: "bool";
|
|
1103
|
+
readonly name: "bPauseDeposits";
|
|
1104
|
+
readonly type: "bool";
|
|
1105
|
+
}, {
|
|
1106
|
+
readonly internalType: "bool";
|
|
1107
|
+
readonly name: "bPauseWithdrawals";
|
|
1108
|
+
readonly type: "bool";
|
|
1109
|
+
}];
|
|
1110
|
+
readonly name: "pauseDepositsAndWithdrawals";
|
|
1111
|
+
readonly outputs: readonly [];
|
|
1112
|
+
readonly stateMutability: "nonpayable";
|
|
1113
|
+
readonly type: "function";
|
|
1114
|
+
}, {
|
|
1115
|
+
readonly inputs: readonly [];
|
|
1116
|
+
readonly name: "pendingOwner";
|
|
1117
|
+
readonly outputs: readonly [{
|
|
1118
|
+
readonly internalType: "address";
|
|
1119
|
+
readonly name: "";
|
|
1120
|
+
readonly type: "address";
|
|
1121
|
+
}];
|
|
1122
|
+
readonly stateMutability: "view";
|
|
1123
|
+
readonly type: "function";
|
|
1124
|
+
}, {
|
|
1125
|
+
readonly inputs: readonly [];
|
|
1126
|
+
readonly name: "performanceFeeRate";
|
|
1127
|
+
readonly outputs: readonly [{
|
|
1128
|
+
readonly internalType: "uint256";
|
|
1129
|
+
readonly name: "";
|
|
1130
|
+
readonly type: "uint256";
|
|
1131
|
+
}];
|
|
1132
|
+
readonly stateMutability: "view";
|
|
1133
|
+
readonly type: "function";
|
|
1134
|
+
}, {
|
|
1135
|
+
readonly inputs: readonly [{
|
|
1136
|
+
readonly internalType: "uint256";
|
|
1137
|
+
readonly name: "";
|
|
1138
|
+
readonly type: "uint256";
|
|
1139
|
+
}];
|
|
1140
|
+
readonly name: "performanceFeeRecipients";
|
|
1141
|
+
readonly outputs: readonly [{
|
|
1142
|
+
readonly internalType: "address";
|
|
1143
|
+
readonly name: "collectorAddress";
|
|
1144
|
+
readonly type: "address";
|
|
1145
|
+
}, {
|
|
1146
|
+
readonly internalType: "uint256";
|
|
1147
|
+
readonly name: "percentage";
|
|
1148
|
+
readonly type: "uint256";
|
|
1149
|
+
}];
|
|
1150
|
+
readonly stateMutability: "view";
|
|
1151
|
+
readonly type: "function";
|
|
1152
|
+
}, {
|
|
1153
|
+
readonly inputs: readonly [{
|
|
1154
|
+
readonly internalType: "address";
|
|
1155
|
+
readonly name: "assetIn";
|
|
1156
|
+
readonly type: "address";
|
|
1157
|
+
}, {
|
|
1158
|
+
readonly internalType: "uint256";
|
|
1159
|
+
readonly name: "amountIn";
|
|
1160
|
+
readonly type: "uint256";
|
|
1161
|
+
}];
|
|
1162
|
+
readonly name: "previewDeposit";
|
|
1163
|
+
readonly outputs: readonly [{
|
|
1164
|
+
readonly internalType: "uint256";
|
|
1165
|
+
readonly name: "";
|
|
1166
|
+
readonly type: "uint256";
|
|
1167
|
+
}, {
|
|
1168
|
+
readonly internalType: "uint256";
|
|
1169
|
+
readonly name: "";
|
|
1170
|
+
readonly type: "uint256";
|
|
1171
|
+
}];
|
|
1172
|
+
readonly stateMutability: "view";
|
|
1173
|
+
readonly type: "function";
|
|
1174
|
+
}, {
|
|
1175
|
+
readonly inputs: readonly [{
|
|
1176
|
+
readonly internalType: "uint256";
|
|
1177
|
+
readonly name: "shares";
|
|
1178
|
+
readonly type: "uint256";
|
|
1179
|
+
}, {
|
|
1180
|
+
readonly internalType: "bool";
|
|
1181
|
+
readonly name: "isInstant";
|
|
1182
|
+
readonly type: "bool";
|
|
1183
|
+
}];
|
|
1184
|
+
readonly name: "previewRedemption";
|
|
1185
|
+
readonly outputs: readonly [{
|
|
1186
|
+
readonly internalType: "uint256";
|
|
1187
|
+
readonly name: "assetsAmount";
|
|
1188
|
+
readonly type: "uint256";
|
|
1189
|
+
}, {
|
|
1190
|
+
readonly internalType: "uint256";
|
|
1191
|
+
readonly name: "assetsAfterFee";
|
|
1192
|
+
readonly type: "uint256";
|
|
1193
|
+
}];
|
|
1194
|
+
readonly stateMutability: "view";
|
|
1195
|
+
readonly type: "function";
|
|
1196
|
+
}, {
|
|
1197
|
+
readonly inputs: readonly [{
|
|
1198
|
+
readonly internalType: "uint256";
|
|
1199
|
+
readonly name: "year";
|
|
1200
|
+
readonly type: "uint256";
|
|
1201
|
+
}, {
|
|
1202
|
+
readonly internalType: "uint256";
|
|
1203
|
+
readonly name: "month";
|
|
1204
|
+
readonly type: "uint256";
|
|
1205
|
+
}, {
|
|
1206
|
+
readonly internalType: "uint256";
|
|
1207
|
+
readonly name: "day";
|
|
1208
|
+
readonly type: "uint256";
|
|
1209
|
+
}, {
|
|
1210
|
+
readonly internalType: "uint256";
|
|
1211
|
+
readonly name: "maxLimit";
|
|
1212
|
+
readonly type: "uint256";
|
|
1213
|
+
}];
|
|
1214
|
+
readonly name: "processAllClaimsByDate";
|
|
1215
|
+
readonly outputs: readonly [];
|
|
1216
|
+
readonly stateMutability: "nonpayable";
|
|
1217
|
+
readonly type: "function";
|
|
1218
|
+
}, {
|
|
1219
|
+
readonly inputs: readonly [{
|
|
1220
|
+
readonly internalType: "uint256";
|
|
1221
|
+
readonly name: "shares";
|
|
1222
|
+
readonly type: "uint256";
|
|
1223
|
+
}, {
|
|
1224
|
+
readonly internalType: "address";
|
|
1225
|
+
readonly name: "receiverAddr";
|
|
1226
|
+
readonly type: "address";
|
|
1227
|
+
}];
|
|
1228
|
+
readonly name: "requestRedeem";
|
|
1229
|
+
readonly outputs: readonly [{
|
|
1230
|
+
readonly internalType: "uint256";
|
|
1231
|
+
readonly name: "claimableEpoch";
|
|
1232
|
+
readonly type: "uint256";
|
|
1233
|
+
}, {
|
|
1234
|
+
readonly internalType: "uint256";
|
|
1235
|
+
readonly name: "year";
|
|
1236
|
+
readonly type: "uint256";
|
|
1237
|
+
}, {
|
|
1238
|
+
readonly internalType: "uint256";
|
|
1239
|
+
readonly name: "month";
|
|
1240
|
+
readonly type: "uint256";
|
|
1241
|
+
}, {
|
|
1242
|
+
readonly internalType: "uint256";
|
|
1243
|
+
readonly name: "day";
|
|
1244
|
+
readonly type: "uint256";
|
|
1245
|
+
}];
|
|
1246
|
+
readonly stateMutability: "nonpayable";
|
|
1247
|
+
readonly type: "function";
|
|
1248
|
+
}, {
|
|
1249
|
+
readonly inputs: readonly [];
|
|
1250
|
+
readonly name: "scheduledCallerAddress";
|
|
1251
|
+
readonly outputs: readonly [{
|
|
1252
|
+
readonly internalType: "address";
|
|
1253
|
+
readonly name: "";
|
|
1254
|
+
readonly type: "address";
|
|
1255
|
+
}];
|
|
1256
|
+
readonly stateMutability: "view";
|
|
1257
|
+
readonly type: "function";
|
|
1258
|
+
}, {
|
|
1259
|
+
readonly inputs: readonly [];
|
|
1260
|
+
readonly name: "sendersWhitelistAddress";
|
|
1261
|
+
readonly outputs: readonly [{
|
|
1262
|
+
readonly internalType: "address";
|
|
1263
|
+
readonly name: "";
|
|
1264
|
+
readonly type: "address";
|
|
1265
|
+
}];
|
|
1266
|
+
readonly stateMutability: "view";
|
|
1267
|
+
readonly type: "function";
|
|
1268
|
+
}, {
|
|
1269
|
+
readonly inputs: readonly [];
|
|
1270
|
+
readonly name: "totalCollectableFees";
|
|
1271
|
+
readonly outputs: readonly [{
|
|
1272
|
+
readonly internalType: "uint256";
|
|
1273
|
+
readonly name: "";
|
|
1274
|
+
readonly type: "uint256";
|
|
1275
|
+
}];
|
|
1276
|
+
readonly stateMutability: "view";
|
|
1277
|
+
readonly type: "function";
|
|
1278
|
+
}, {
|
|
1279
|
+
readonly inputs: readonly [{
|
|
1280
|
+
readonly internalType: "address";
|
|
1281
|
+
readonly name: "newOwner";
|
|
1282
|
+
readonly type: "address";
|
|
1283
|
+
}];
|
|
1284
|
+
readonly name: "transferOwnership";
|
|
1285
|
+
readonly outputs: readonly [];
|
|
1286
|
+
readonly stateMutability: "nonpayable";
|
|
1287
|
+
readonly type: "function";
|
|
1288
|
+
}, {
|
|
1289
|
+
readonly inputs: readonly [{
|
|
1290
|
+
readonly internalType: "address";
|
|
1291
|
+
readonly name: "newWhitelistAddr";
|
|
1292
|
+
readonly type: "address";
|
|
1293
|
+
}];
|
|
1294
|
+
readonly name: "updateAssetsWhitelist";
|
|
1295
|
+
readonly outputs: readonly [];
|
|
1296
|
+
readonly stateMutability: "nonpayable";
|
|
1297
|
+
readonly type: "function";
|
|
1298
|
+
}, {
|
|
1299
|
+
readonly inputs: readonly [{
|
|
1300
|
+
readonly components: readonly [{
|
|
1301
|
+
readonly internalType: "address";
|
|
1302
|
+
readonly name: "collectorAddress";
|
|
1303
|
+
readonly type: "address";
|
|
1304
|
+
}, {
|
|
1305
|
+
readonly internalType: "uint256";
|
|
1306
|
+
readonly name: "percentage";
|
|
1307
|
+
readonly type: "uint256";
|
|
1308
|
+
}];
|
|
1309
|
+
readonly internalType: "struct IFeeCollectorsAware.CollectorDefinition[]";
|
|
1310
|
+
readonly name: "collectors";
|
|
1311
|
+
readonly type: "tuple[]";
|
|
1312
|
+
}];
|
|
1313
|
+
readonly name: "updateFeeCollectors";
|
|
1314
|
+
readonly outputs: readonly [];
|
|
1315
|
+
readonly stateMutability: "nonpayable";
|
|
1316
|
+
readonly type: "function";
|
|
1317
|
+
}, {
|
|
1318
|
+
readonly inputs: readonly [{
|
|
1319
|
+
readonly internalType: "uint256";
|
|
1320
|
+
readonly name: "newValue";
|
|
1321
|
+
readonly type: "uint256";
|
|
1322
|
+
}, {
|
|
1323
|
+
readonly internalType: "bool";
|
|
1324
|
+
readonly name: "pKeepFeeInVault";
|
|
1325
|
+
readonly type: "bool";
|
|
1326
|
+
}];
|
|
1327
|
+
readonly name: "updateInstantRedemptionFee";
|
|
1328
|
+
readonly outputs: readonly [];
|
|
1329
|
+
readonly stateMutability: "nonpayable";
|
|
1330
|
+
readonly type: "function";
|
|
1331
|
+
}, {
|
|
1332
|
+
readonly inputs: readonly [{
|
|
1333
|
+
readonly internalType: "uint256";
|
|
1334
|
+
readonly name: "newMaxDepositAmount";
|
|
1335
|
+
readonly type: "uint256";
|
|
1336
|
+
}, {
|
|
1337
|
+
readonly internalType: "uint256";
|
|
1338
|
+
readonly name: "newMaxWithdrawalAmount";
|
|
1339
|
+
readonly type: "uint256";
|
|
1340
|
+
}, {
|
|
1341
|
+
readonly internalType: "uint256";
|
|
1342
|
+
readonly name: "newDepositCap";
|
|
1343
|
+
readonly type: "uint256";
|
|
1344
|
+
}];
|
|
1345
|
+
readonly name: "updateLimits";
|
|
1346
|
+
readonly outputs: readonly [];
|
|
1347
|
+
readonly stateMutability: "nonpayable";
|
|
1348
|
+
readonly type: "function";
|
|
1349
|
+
}, {
|
|
1350
|
+
readonly inputs: readonly [{
|
|
1351
|
+
readonly internalType: "uint256";
|
|
1352
|
+
readonly name: "newManagementFeePercent";
|
|
1353
|
+
readonly type: "uint256";
|
|
1354
|
+
}];
|
|
1355
|
+
readonly name: "updateManagementFee";
|
|
1356
|
+
readonly outputs: readonly [];
|
|
1357
|
+
readonly stateMutability: "nonpayable";
|
|
1358
|
+
readonly type: "function";
|
|
1359
|
+
}, {
|
|
1360
|
+
readonly inputs: readonly [{
|
|
1361
|
+
readonly internalType: "uint256";
|
|
1362
|
+
readonly name: "newValue";
|
|
1363
|
+
readonly type: "uint256";
|
|
1364
|
+
}];
|
|
1365
|
+
readonly name: "updateMaxChangePercent";
|
|
1366
|
+
readonly outputs: readonly [];
|
|
1367
|
+
readonly stateMutability: "nonpayable";
|
|
1368
|
+
readonly type: "function";
|
|
1369
|
+
}, {
|
|
1370
|
+
readonly inputs: readonly [{
|
|
1371
|
+
readonly internalType: "uint256";
|
|
1372
|
+
readonly name: "newValue";
|
|
1373
|
+
readonly type: "uint256";
|
|
1374
|
+
}];
|
|
1375
|
+
readonly name: "updatePerformanceFee";
|
|
1376
|
+
readonly outputs: readonly [];
|
|
1377
|
+
readonly stateMutability: "nonpayable";
|
|
1378
|
+
readonly type: "function";
|
|
1379
|
+
}, {
|
|
1380
|
+
readonly inputs: readonly [{
|
|
1381
|
+
readonly components: readonly [{
|
|
1382
|
+
readonly internalType: "address";
|
|
1383
|
+
readonly name: "collectorAddress";
|
|
1384
|
+
readonly type: "address";
|
|
1385
|
+
}, {
|
|
1386
|
+
readonly internalType: "uint256";
|
|
1387
|
+
readonly name: "percentage";
|
|
1388
|
+
readonly type: "uint256";
|
|
1389
|
+
}];
|
|
1390
|
+
readonly internalType: "struct IFeeCollectorsAware.CollectorDefinition[]";
|
|
1391
|
+
readonly name: "collectors";
|
|
1392
|
+
readonly type: "tuple[]";
|
|
1393
|
+
}];
|
|
1394
|
+
readonly name: "updatePerformanceFeeCollectors";
|
|
1395
|
+
readonly outputs: readonly [];
|
|
1396
|
+
readonly stateMutability: "nonpayable";
|
|
1397
|
+
readonly type: "function";
|
|
1398
|
+
}, {
|
|
1399
|
+
readonly inputs: readonly [{
|
|
1400
|
+
readonly internalType: "address";
|
|
1401
|
+
readonly name: "newWhitelistAddr";
|
|
1402
|
+
readonly type: "address";
|
|
1403
|
+
}];
|
|
1404
|
+
readonly name: "updateSendersWhitelist";
|
|
1405
|
+
readonly outputs: readonly [];
|
|
1406
|
+
readonly stateMutability: "nonpayable";
|
|
1407
|
+
readonly type: "function";
|
|
1408
|
+
}, {
|
|
1409
|
+
readonly inputs: readonly [{
|
|
1410
|
+
readonly internalType: "uint256";
|
|
1411
|
+
readonly name: "newDuration";
|
|
1412
|
+
readonly type: "uint256";
|
|
1413
|
+
}];
|
|
1414
|
+
readonly name: "updateTimelockDuration";
|
|
1415
|
+
readonly outputs: readonly [];
|
|
1416
|
+
readonly stateMutability: "nonpayable";
|
|
1417
|
+
readonly type: "function";
|
|
1418
|
+
}, {
|
|
1419
|
+
readonly inputs: readonly [{
|
|
1420
|
+
readonly internalType: "uint256";
|
|
1421
|
+
readonly name: "externalAssetsAmount";
|
|
1422
|
+
readonly type: "uint256";
|
|
1423
|
+
}];
|
|
1424
|
+
readonly name: "updateTotalAssets";
|
|
1425
|
+
readonly outputs: readonly [];
|
|
1426
|
+
readonly stateMutability: "nonpayable";
|
|
1427
|
+
readonly type: "function";
|
|
1428
|
+
}, {
|
|
1429
|
+
readonly inputs: readonly [];
|
|
1430
|
+
readonly name: "watermarkTimeWindow";
|
|
1431
|
+
readonly outputs: readonly [{
|
|
1432
|
+
readonly internalType: "uint256";
|
|
1433
|
+
readonly name: "";
|
|
1434
|
+
readonly type: "uint256";
|
|
1435
|
+
}];
|
|
1436
|
+
readonly stateMutability: "view";
|
|
1437
|
+
readonly type: "function";
|
|
1438
|
+
}, {
|
|
1439
|
+
readonly inputs: readonly [];
|
|
1440
|
+
readonly name: "watermarkUpdatedOn";
|
|
1441
|
+
readonly outputs: readonly [{
|
|
1442
|
+
readonly internalType: "uint256";
|
|
1443
|
+
readonly name: "";
|
|
1444
|
+
readonly type: "uint256";
|
|
1445
|
+
}];
|
|
1446
|
+
readonly stateMutability: "view";
|
|
1447
|
+
readonly type: "function";
|
|
1448
|
+
}, {
|
|
1449
|
+
readonly inputs: readonly [{
|
|
1450
|
+
readonly internalType: "address";
|
|
1451
|
+
readonly name: "";
|
|
1452
|
+
readonly type: "address";
|
|
1453
|
+
}];
|
|
1454
|
+
readonly name: "whitelistedSubAccounts";
|
|
1455
|
+
readonly outputs: readonly [{
|
|
1456
|
+
readonly internalType: "uint8";
|
|
1457
|
+
readonly name: "";
|
|
1458
|
+
readonly type: "uint8";
|
|
1459
|
+
}];
|
|
1460
|
+
readonly stateMutability: "view";
|
|
1461
|
+
readonly type: "function";
|
|
1462
|
+
}, {
|
|
1463
|
+
readonly inputs: readonly [{
|
|
1464
|
+
readonly internalType: "address";
|
|
1465
|
+
readonly name: "inputAssetAddr";
|
|
1466
|
+
readonly type: "address";
|
|
1467
|
+
}, {
|
|
1468
|
+
readonly internalType: "uint256";
|
|
1469
|
+
readonly name: "amount";
|
|
1470
|
+
readonly type: "uint256";
|
|
1471
|
+
}, {
|
|
1472
|
+
readonly internalType: "address";
|
|
1473
|
+
readonly name: "subAccountAddr";
|
|
1474
|
+
readonly type: "address";
|
|
1475
|
+
}];
|
|
1476
|
+
readonly name: "withdrawFromSubaccount";
|
|
1477
|
+
readonly outputs: readonly [];
|
|
1478
|
+
readonly stateMutability: "nonpayable";
|
|
1479
|
+
readonly type: "function";
|
|
1480
|
+
}, {
|
|
1481
|
+
readonly inputs: readonly [];
|
|
1482
|
+
readonly name: "withdrawalFee";
|
|
1483
|
+
readonly outputs: readonly [{
|
|
1484
|
+
readonly internalType: "uint256";
|
|
1485
|
+
readonly name: "";
|
|
1486
|
+
readonly type: "uint256";
|
|
1487
|
+
}];
|
|
1488
|
+
readonly stateMutability: "view";
|
|
1489
|
+
readonly type: "function";
|
|
1490
|
+
}, {
|
|
1491
|
+
readonly inputs: readonly [];
|
|
1492
|
+
readonly name: "withdrawalsPaused";
|
|
1493
|
+
readonly outputs: readonly [{
|
|
1494
|
+
readonly internalType: "bool";
|
|
1495
|
+
readonly name: "";
|
|
1496
|
+
readonly type: "bool";
|
|
1497
|
+
}];
|
|
1498
|
+
readonly stateMutability: "view";
|
|
1499
|
+
readonly type: "function";
|
|
1500
|
+
}];
|
|
1501
|
+
/**
|
|
1502
|
+
* Type-safe ABI for TokenizedVault_json
|
|
1503
|
+
*/
|
|
1504
|
+
export type TokenizedVault_jsonAbi = typeof TokenizedVault_jsonAbi;
|
|
1505
|
+
/**
|
|
1506
|
+
* Contract instance type for TokenizedVault_json
|
|
1507
|
+
*/
|
|
1508
|
+
export type TokenizedVault_jsonContract = any;
|
|
1509
|
+
/**
|
|
1510
|
+
* TokenizedVault_json Contract Class
|
|
1511
|
+
*
|
|
1512
|
+
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
1513
|
+
*
|
|
1514
|
+
* @example
|
|
1515
|
+
* ```typescript
|
|
1516
|
+
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
1517
|
+
* import { mainnet } from 'viem/chains';
|
|
1518
|
+
* import { TokenizedVault_json } from 'TokenizedVault_json';
|
|
1519
|
+
*
|
|
1520
|
+
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
1521
|
+
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
1522
|
+
*
|
|
1523
|
+
* const contract = new TokenizedVault_json('0x...', { publicClient, walletClient });
|
|
1524
|
+
*
|
|
1525
|
+
* // Read functions
|
|
1526
|
+
* const result = await contract.balanceOf('0x...');
|
|
1527
|
+
*
|
|
1528
|
+
* // Write functions
|
|
1529
|
+
* const hash = await contract.transfer('0x...', 1000n);
|
|
1530
|
+
*
|
|
1531
|
+
* // Simulate transactions (dry-run)
|
|
1532
|
+
* const simulation = await contract.simulate.transfer('0x...', 1000n);
|
|
1533
|
+
* console.log('Gas estimate:', simulation.request.gas);
|
|
1534
|
+
*
|
|
1535
|
+
* // Watch events
|
|
1536
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
1537
|
+
* console.log('Transfer event:', event);
|
|
1538
|
+
* });
|
|
1539
|
+
* ```
|
|
1540
|
+
*/
|
|
1541
|
+
export declare class TokenizedVault_json {
|
|
1542
|
+
private contract;
|
|
1543
|
+
private contractAddress;
|
|
1544
|
+
private publicClient;
|
|
1545
|
+
constructor(address: Address, clients: {
|
|
1546
|
+
publicClient: PublicClient;
|
|
1547
|
+
walletClient?: WalletClient;
|
|
1548
|
+
});
|
|
1549
|
+
/**
|
|
1550
|
+
* Get the contract address
|
|
1551
|
+
*/
|
|
1552
|
+
get address(): Address;
|
|
1553
|
+
/**
|
|
1554
|
+
* Get the underlying viem contract instance
|
|
1555
|
+
*/
|
|
1556
|
+
getContract(): TokenizedVault_jsonContract;
|
|
1557
|
+
/**
|
|
1558
|
+
* asset
|
|
1559
|
+
* view
|
|
1560
|
+
*/
|
|
1561
|
+
asset(): Promise<`0x${string}`>;
|
|
1562
|
+
/**
|
|
1563
|
+
* assetsUpdatedOn
|
|
1564
|
+
* view
|
|
1565
|
+
*/
|
|
1566
|
+
assetsUpdatedOn(): Promise<bigint>;
|
|
1567
|
+
/**
|
|
1568
|
+
* assetsWhitelistAddress
|
|
1569
|
+
* view
|
|
1570
|
+
*/
|
|
1571
|
+
assetsWhitelistAddress(): Promise<`0x${string}`>;
|
|
1572
|
+
/**
|
|
1573
|
+
* depositCap
|
|
1574
|
+
* view
|
|
1575
|
+
*/
|
|
1576
|
+
depositCap(): Promise<bigint>;
|
|
1577
|
+
/**
|
|
1578
|
+
* depositsPaused
|
|
1579
|
+
* view
|
|
1580
|
+
*/
|
|
1581
|
+
depositsPaused(): Promise<boolean>;
|
|
1582
|
+
/**
|
|
1583
|
+
* externalAssets
|
|
1584
|
+
* view
|
|
1585
|
+
*/
|
|
1586
|
+
externalAssets(): Promise<bigint>;
|
|
1587
|
+
/**
|
|
1588
|
+
* feeCollectors
|
|
1589
|
+
* view
|
|
1590
|
+
*/
|
|
1591
|
+
feeCollectors(arg0: bigint): Promise<[`0x${string}`, bigint]>;
|
|
1592
|
+
/**
|
|
1593
|
+
* feesTimestamp
|
|
1594
|
+
* view
|
|
1595
|
+
*/
|
|
1596
|
+
feesTimestamp(): Promise<bigint>;
|
|
1597
|
+
/**
|
|
1598
|
+
* getBurnableAmountByReceiver
|
|
1599
|
+
* view
|
|
1600
|
+
*/
|
|
1601
|
+
getBurnableAmountByReceiver(year: bigint, month: bigint, day: bigint, receiverAddr: `0x${string}`): Promise<bigint>;
|
|
1602
|
+
/**
|
|
1603
|
+
* getChangePercentage
|
|
1604
|
+
* view
|
|
1605
|
+
*/
|
|
1606
|
+
getChangePercentage(externalAssetsAmount: bigint): Promise<bigint>;
|
|
1607
|
+
/**
|
|
1608
|
+
* getFeeCollectors
|
|
1609
|
+
* view
|
|
1610
|
+
*/
|
|
1611
|
+
getFeeCollectors(): Promise<IFeeCollectorsAware_CollectorDefinition[]>;
|
|
1612
|
+
/**
|
|
1613
|
+
* getMaxAllowedChange
|
|
1614
|
+
* view
|
|
1615
|
+
*/
|
|
1616
|
+
getMaxAllowedChange(): Promise<bigint>;
|
|
1617
|
+
/**
|
|
1618
|
+
* getPerformanceFeeRecipients
|
|
1619
|
+
* view
|
|
1620
|
+
*/
|
|
1621
|
+
getPerformanceFeeRecipients(): Promise<IFeeCollectorsAware_CollectorDefinition[]>;
|
|
1622
|
+
/**
|
|
1623
|
+
* getRequirementByDate
|
|
1624
|
+
* view
|
|
1625
|
+
*/
|
|
1626
|
+
getRequirementByDate(year: bigint, month: bigint, day: bigint): Promise<bigint>;
|
|
1627
|
+
/**
|
|
1628
|
+
* getScheduledTransactionsByDate
|
|
1629
|
+
* view
|
|
1630
|
+
*/
|
|
1631
|
+
getScheduledTransactionsByDate(year: bigint, month: bigint, day: bigint): Promise<[bigint, bigint]>;
|
|
1632
|
+
/**
|
|
1633
|
+
* getSharePrice
|
|
1634
|
+
* view
|
|
1635
|
+
*/
|
|
1636
|
+
getSharePrice(): Promise<bigint>;
|
|
1637
|
+
/**
|
|
1638
|
+
* getTotalAssets
|
|
1639
|
+
* view
|
|
1640
|
+
*/
|
|
1641
|
+
getTotalAssets(): Promise<bigint>;
|
|
1642
|
+
/**
|
|
1643
|
+
* getWithdrawalEpoch
|
|
1644
|
+
* view
|
|
1645
|
+
*/
|
|
1646
|
+
getWithdrawalEpoch(): Promise<[bigint, bigint, bigint, bigint]>;
|
|
1647
|
+
/**
|
|
1648
|
+
* globalLiabilityShares
|
|
1649
|
+
* view
|
|
1650
|
+
*/
|
|
1651
|
+
globalLiabilityShares(): Promise<bigint>;
|
|
1652
|
+
/**
|
|
1653
|
+
* highWatermark
|
|
1654
|
+
* view
|
|
1655
|
+
*/
|
|
1656
|
+
highWatermark(): Promise<bigint>;
|
|
1657
|
+
/**
|
|
1658
|
+
* instantRedemptionFee
|
|
1659
|
+
* view
|
|
1660
|
+
*/
|
|
1661
|
+
instantRedemptionFee(): Promise<bigint>;
|
|
1662
|
+
/**
|
|
1663
|
+
* keepFeeInVault
|
|
1664
|
+
* view
|
|
1665
|
+
*/
|
|
1666
|
+
keepFeeInVault(): Promise<boolean>;
|
|
1667
|
+
/**
|
|
1668
|
+
* lagDuration
|
|
1669
|
+
* view
|
|
1670
|
+
*/
|
|
1671
|
+
lagDuration(): Promise<bigint>;
|
|
1672
|
+
/**
|
|
1673
|
+
* lpTokenAddress
|
|
1674
|
+
* view
|
|
1675
|
+
*/
|
|
1676
|
+
lpTokenAddress(): Promise<`0x${string}`>;
|
|
1677
|
+
/**
|
|
1678
|
+
* managementFeePercent
|
|
1679
|
+
* view
|
|
1680
|
+
*/
|
|
1681
|
+
managementFeePercent(): Promise<bigint>;
|
|
1682
|
+
/**
|
|
1683
|
+
* maxChangePercent
|
|
1684
|
+
* view
|
|
1685
|
+
*/
|
|
1686
|
+
maxChangePercent(): Promise<bigint>;
|
|
1687
|
+
/**
|
|
1688
|
+
* maxDepositAmount
|
|
1689
|
+
* view
|
|
1690
|
+
*/
|
|
1691
|
+
maxDepositAmount(): Promise<bigint>;
|
|
1692
|
+
/**
|
|
1693
|
+
* maxWithdrawalAmount
|
|
1694
|
+
* view
|
|
1695
|
+
*/
|
|
1696
|
+
maxWithdrawalAmount(): Promise<bigint>;
|
|
1697
|
+
/**
|
|
1698
|
+
* operatorAddress
|
|
1699
|
+
* view
|
|
1700
|
+
*/
|
|
1701
|
+
operatorAddress(): Promise<`0x${string}`>;
|
|
1702
|
+
/**
|
|
1703
|
+
* owner
|
|
1704
|
+
* view
|
|
1705
|
+
*/
|
|
1706
|
+
owner(): Promise<`0x${string}`>;
|
|
1707
|
+
/**
|
|
1708
|
+
* pendingOwner
|
|
1709
|
+
* view
|
|
1710
|
+
*/
|
|
1711
|
+
pendingOwner(): Promise<`0x${string}`>;
|
|
1712
|
+
/**
|
|
1713
|
+
* performanceFeeRate
|
|
1714
|
+
* view
|
|
1715
|
+
*/
|
|
1716
|
+
performanceFeeRate(): Promise<bigint>;
|
|
1717
|
+
/**
|
|
1718
|
+
* performanceFeeRecipients
|
|
1719
|
+
* view
|
|
1720
|
+
*/
|
|
1721
|
+
performanceFeeRecipients(arg0: bigint): Promise<[`0x${string}`, bigint]>;
|
|
1722
|
+
/**
|
|
1723
|
+
* previewDeposit
|
|
1724
|
+
* view
|
|
1725
|
+
*/
|
|
1726
|
+
previewDeposit(assetIn: `0x${string}`, amountIn: bigint): Promise<[bigint, bigint]>;
|
|
1727
|
+
/**
|
|
1728
|
+
* previewRedemption
|
|
1729
|
+
* view
|
|
1730
|
+
*/
|
|
1731
|
+
previewRedemption(shares: bigint, isInstant: boolean): Promise<[bigint, bigint]>;
|
|
1732
|
+
/**
|
|
1733
|
+
* scheduledCallerAddress
|
|
1734
|
+
* view
|
|
1735
|
+
*/
|
|
1736
|
+
scheduledCallerAddress(): Promise<`0x${string}`>;
|
|
1737
|
+
/**
|
|
1738
|
+
* sendersWhitelistAddress
|
|
1739
|
+
* view
|
|
1740
|
+
*/
|
|
1741
|
+
sendersWhitelistAddress(): Promise<`0x${string}`>;
|
|
1742
|
+
/**
|
|
1743
|
+
* totalCollectableFees
|
|
1744
|
+
* view
|
|
1745
|
+
*/
|
|
1746
|
+
totalCollectableFees(): Promise<bigint>;
|
|
1747
|
+
/**
|
|
1748
|
+
* watermarkTimeWindow
|
|
1749
|
+
* view
|
|
1750
|
+
*/
|
|
1751
|
+
watermarkTimeWindow(): Promise<bigint>;
|
|
1752
|
+
/**
|
|
1753
|
+
* watermarkUpdatedOn
|
|
1754
|
+
* view
|
|
1755
|
+
*/
|
|
1756
|
+
watermarkUpdatedOn(): Promise<bigint>;
|
|
1757
|
+
/**
|
|
1758
|
+
* whitelistedSubAccounts
|
|
1759
|
+
* view
|
|
1760
|
+
*/
|
|
1761
|
+
whitelistedSubAccounts(arg0: `0x${string}`): Promise<bigint>;
|
|
1762
|
+
/**
|
|
1763
|
+
* withdrawalFee
|
|
1764
|
+
* view
|
|
1765
|
+
*/
|
|
1766
|
+
withdrawalFee(): Promise<bigint>;
|
|
1767
|
+
/**
|
|
1768
|
+
* withdrawalsPaused
|
|
1769
|
+
* view
|
|
1770
|
+
*/
|
|
1771
|
+
withdrawalsPaused(): Promise<boolean>;
|
|
1772
|
+
/**
|
|
1773
|
+
* acceptOwnership
|
|
1774
|
+
* nonpayable
|
|
1775
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1776
|
+
*/
|
|
1777
|
+
acceptOwnership(options?: {
|
|
1778
|
+
accessList?: import('viem').AccessList;
|
|
1779
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1780
|
+
chain?: import('viem').Chain | null;
|
|
1781
|
+
dataSuffix?: `0x${string}`;
|
|
1782
|
+
gas?: bigint;
|
|
1783
|
+
gasPrice?: bigint;
|
|
1784
|
+
maxFeePerGas?: bigint;
|
|
1785
|
+
maxPriorityFeePerGas?: bigint;
|
|
1786
|
+
nonce?: number;
|
|
1787
|
+
value?: bigint;
|
|
1788
|
+
}): Promise<`0x${string}`>;
|
|
1789
|
+
/**
|
|
1790
|
+
* chargeManagementFee
|
|
1791
|
+
* nonpayable
|
|
1792
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1793
|
+
*/
|
|
1794
|
+
chargeManagementFee(options?: {
|
|
1795
|
+
accessList?: import('viem').AccessList;
|
|
1796
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1797
|
+
chain?: import('viem').Chain | null;
|
|
1798
|
+
dataSuffix?: `0x${string}`;
|
|
1799
|
+
gas?: bigint;
|
|
1800
|
+
gasPrice?: bigint;
|
|
1801
|
+
maxFeePerGas?: bigint;
|
|
1802
|
+
maxPriorityFeePerGas?: bigint;
|
|
1803
|
+
nonce?: number;
|
|
1804
|
+
value?: bigint;
|
|
1805
|
+
}): Promise<`0x${string}`>;
|
|
1806
|
+
/**
|
|
1807
|
+
* chargePerformanceFees
|
|
1808
|
+
* nonpayable
|
|
1809
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1810
|
+
*/
|
|
1811
|
+
chargePerformanceFees(options?: {
|
|
1812
|
+
accessList?: import('viem').AccessList;
|
|
1813
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1814
|
+
chain?: import('viem').Chain | null;
|
|
1815
|
+
dataSuffix?: `0x${string}`;
|
|
1816
|
+
gas?: bigint;
|
|
1817
|
+
gasPrice?: bigint;
|
|
1818
|
+
maxFeePerGas?: bigint;
|
|
1819
|
+
maxPriorityFeePerGas?: bigint;
|
|
1820
|
+
nonce?: number;
|
|
1821
|
+
value?: bigint;
|
|
1822
|
+
}): Promise<`0x${string}`>;
|
|
1823
|
+
/**
|
|
1824
|
+
* claim
|
|
1825
|
+
* nonpayable
|
|
1826
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1827
|
+
*/
|
|
1828
|
+
claim(year: bigint, month: bigint, day: bigint, receiverAddr: `0x${string}`, options?: {
|
|
1829
|
+
accessList?: import('viem').AccessList;
|
|
1830
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1831
|
+
chain?: import('viem').Chain | null;
|
|
1832
|
+
dataSuffix?: `0x${string}`;
|
|
1833
|
+
gas?: bigint;
|
|
1834
|
+
gasPrice?: bigint;
|
|
1835
|
+
maxFeePerGas?: bigint;
|
|
1836
|
+
maxPriorityFeePerGas?: bigint;
|
|
1837
|
+
nonce?: number;
|
|
1838
|
+
value?: bigint;
|
|
1839
|
+
}): Promise<`0x${string}`>;
|
|
1840
|
+
/**
|
|
1841
|
+
* collectFees
|
|
1842
|
+
* nonpayable
|
|
1843
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1844
|
+
*/
|
|
1845
|
+
collectFees(options?: {
|
|
1846
|
+
accessList?: import('viem').AccessList;
|
|
1847
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1848
|
+
chain?: import('viem').Chain | null;
|
|
1849
|
+
dataSuffix?: `0x${string}`;
|
|
1850
|
+
gas?: bigint;
|
|
1851
|
+
gasPrice?: bigint;
|
|
1852
|
+
maxFeePerGas?: bigint;
|
|
1853
|
+
maxPriorityFeePerGas?: bigint;
|
|
1854
|
+
nonce?: number;
|
|
1855
|
+
value?: bigint;
|
|
1856
|
+
}): Promise<`0x${string}`>;
|
|
1857
|
+
/**
|
|
1858
|
+
* configure
|
|
1859
|
+
* nonpayable
|
|
1860
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1861
|
+
*/
|
|
1862
|
+
configure(newConfig: ITokenizedVault_ConfigInfo, options?: {
|
|
1863
|
+
accessList?: import('viem').AccessList;
|
|
1864
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1865
|
+
chain?: import('viem').Chain | null;
|
|
1866
|
+
dataSuffix?: `0x${string}`;
|
|
1867
|
+
gas?: bigint;
|
|
1868
|
+
gasPrice?: bigint;
|
|
1869
|
+
maxFeePerGas?: bigint;
|
|
1870
|
+
maxPriorityFeePerGas?: bigint;
|
|
1871
|
+
nonce?: number;
|
|
1872
|
+
value?: bigint;
|
|
1873
|
+
}): Promise<`0x${string}`>;
|
|
1874
|
+
/**
|
|
1875
|
+
* deposit
|
|
1876
|
+
* nonpayable
|
|
1877
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1878
|
+
*/
|
|
1879
|
+
deposit(assetIn: `0x${string}`, amountIn: bigint, receiverAddr: `0x${string}`, options?: {
|
|
1880
|
+
accessList?: import('viem').AccessList;
|
|
1881
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1882
|
+
chain?: import('viem').Chain | null;
|
|
1883
|
+
dataSuffix?: `0x${string}`;
|
|
1884
|
+
gas?: bigint;
|
|
1885
|
+
gasPrice?: bigint;
|
|
1886
|
+
maxFeePerGas?: bigint;
|
|
1887
|
+
maxPriorityFeePerGas?: bigint;
|
|
1888
|
+
nonce?: number;
|
|
1889
|
+
value?: bigint;
|
|
1890
|
+
}): Promise<`0x${string}`>;
|
|
1891
|
+
/**
|
|
1892
|
+
* depositToSubaccount
|
|
1893
|
+
* nonpayable
|
|
1894
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1895
|
+
*/
|
|
1896
|
+
depositToSubaccount(inputAssetAddr: `0x${string}`, depositAmount: bigint, subAccountAddr: `0x${string}`, options?: {
|
|
1897
|
+
accessList?: import('viem').AccessList;
|
|
1898
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1899
|
+
chain?: import('viem').Chain | null;
|
|
1900
|
+
dataSuffix?: `0x${string}`;
|
|
1901
|
+
gas?: bigint;
|
|
1902
|
+
gasPrice?: bigint;
|
|
1903
|
+
maxFeePerGas?: bigint;
|
|
1904
|
+
maxPriorityFeePerGas?: bigint;
|
|
1905
|
+
nonce?: number;
|
|
1906
|
+
value?: bigint;
|
|
1907
|
+
}): Promise<`0x${string}`>;
|
|
1908
|
+
/**
|
|
1909
|
+
* depositWithPermit
|
|
1910
|
+
* nonpayable
|
|
1911
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1912
|
+
*/
|
|
1913
|
+
depositWithPermit(assetIn: `0x${string}`, amountIn: bigint, receiverAddr: `0x${string}`, deadline: bigint, r: `0x${string}`, s: `0x${string}`, v: bigint, options?: {
|
|
1914
|
+
accessList?: import('viem').AccessList;
|
|
1915
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1916
|
+
chain?: import('viem').Chain | null;
|
|
1917
|
+
dataSuffix?: `0x${string}`;
|
|
1918
|
+
gas?: bigint;
|
|
1919
|
+
gasPrice?: bigint;
|
|
1920
|
+
maxFeePerGas?: bigint;
|
|
1921
|
+
maxPriorityFeePerGas?: bigint;
|
|
1922
|
+
nonce?: number;
|
|
1923
|
+
value?: bigint;
|
|
1924
|
+
}): Promise<`0x${string}`>;
|
|
1925
|
+
/**
|
|
1926
|
+
* disableSubAccount
|
|
1927
|
+
* nonpayable
|
|
1928
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1929
|
+
*/
|
|
1930
|
+
disableSubAccount(addr: `0x${string}`, options?: {
|
|
1931
|
+
accessList?: import('viem').AccessList;
|
|
1932
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1933
|
+
chain?: import('viem').Chain | null;
|
|
1934
|
+
dataSuffix?: `0x${string}`;
|
|
1935
|
+
gas?: bigint;
|
|
1936
|
+
gasPrice?: bigint;
|
|
1937
|
+
maxFeePerGas?: bigint;
|
|
1938
|
+
maxPriorityFeePerGas?: bigint;
|
|
1939
|
+
nonce?: number;
|
|
1940
|
+
value?: bigint;
|
|
1941
|
+
}): Promise<`0x${string}`>;
|
|
1942
|
+
/**
|
|
1943
|
+
* emergencyWithdraw
|
|
1944
|
+
* nonpayable
|
|
1945
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1946
|
+
*/
|
|
1947
|
+
emergencyWithdraw(receiverAddr: `0x${string}`, options?: {
|
|
1948
|
+
accessList?: import('viem').AccessList;
|
|
1949
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1950
|
+
chain?: import('viem').Chain | null;
|
|
1951
|
+
dataSuffix?: `0x${string}`;
|
|
1952
|
+
gas?: bigint;
|
|
1953
|
+
gasPrice?: bigint;
|
|
1954
|
+
maxFeePerGas?: bigint;
|
|
1955
|
+
maxPriorityFeePerGas?: bigint;
|
|
1956
|
+
nonce?: number;
|
|
1957
|
+
value?: bigint;
|
|
1958
|
+
}): Promise<`0x${string}`>;
|
|
1959
|
+
/**
|
|
1960
|
+
* enableSubAccount
|
|
1961
|
+
* nonpayable
|
|
1962
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1963
|
+
*/
|
|
1964
|
+
enableSubAccount(addr: `0x${string}`, accountType: bigint, options?: {
|
|
1965
|
+
accessList?: import('viem').AccessList;
|
|
1966
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1967
|
+
chain?: import('viem').Chain | null;
|
|
1968
|
+
dataSuffix?: `0x${string}`;
|
|
1969
|
+
gas?: bigint;
|
|
1970
|
+
gasPrice?: bigint;
|
|
1971
|
+
maxFeePerGas?: bigint;
|
|
1972
|
+
maxPriorityFeePerGas?: bigint;
|
|
1973
|
+
nonce?: number;
|
|
1974
|
+
value?: bigint;
|
|
1975
|
+
}): Promise<`0x${string}`>;
|
|
1976
|
+
/**
|
|
1977
|
+
* initialize
|
|
1978
|
+
* nonpayable
|
|
1979
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1980
|
+
*/
|
|
1981
|
+
initialize(ownerAddr: `0x${string}`, options?: {
|
|
1982
|
+
accessList?: import('viem').AccessList;
|
|
1983
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1984
|
+
chain?: import('viem').Chain | null;
|
|
1985
|
+
dataSuffix?: `0x${string}`;
|
|
1986
|
+
gas?: bigint;
|
|
1987
|
+
gasPrice?: bigint;
|
|
1988
|
+
maxFeePerGas?: bigint;
|
|
1989
|
+
maxPriorityFeePerGas?: bigint;
|
|
1990
|
+
nonce?: number;
|
|
1991
|
+
value?: bigint;
|
|
1992
|
+
}): Promise<`0x${string}`>;
|
|
1993
|
+
/**
|
|
1994
|
+
* instantRedeem
|
|
1995
|
+
* nonpayable
|
|
1996
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1997
|
+
*/
|
|
1998
|
+
instantRedeem(shares: bigint, receiverAddr: `0x${string}`, options?: {
|
|
1999
|
+
accessList?: import('viem').AccessList;
|
|
2000
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2001
|
+
chain?: import('viem').Chain | null;
|
|
2002
|
+
dataSuffix?: `0x${string}`;
|
|
2003
|
+
gas?: bigint;
|
|
2004
|
+
gasPrice?: bigint;
|
|
2005
|
+
maxFeePerGas?: bigint;
|
|
2006
|
+
maxPriorityFeePerGas?: bigint;
|
|
2007
|
+
nonce?: number;
|
|
2008
|
+
value?: bigint;
|
|
2009
|
+
}): Promise<`0x${string}`>;
|
|
2010
|
+
/**
|
|
2011
|
+
* pauseDepositsAndWithdrawals
|
|
2012
|
+
* nonpayable
|
|
2013
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2014
|
+
*/
|
|
2015
|
+
pauseDepositsAndWithdrawals(bPauseDeposits: boolean, bPauseWithdrawals: boolean, options?: {
|
|
2016
|
+
accessList?: import('viem').AccessList;
|
|
2017
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2018
|
+
chain?: import('viem').Chain | null;
|
|
2019
|
+
dataSuffix?: `0x${string}`;
|
|
2020
|
+
gas?: bigint;
|
|
2021
|
+
gasPrice?: bigint;
|
|
2022
|
+
maxFeePerGas?: bigint;
|
|
2023
|
+
maxPriorityFeePerGas?: bigint;
|
|
2024
|
+
nonce?: number;
|
|
2025
|
+
value?: bigint;
|
|
2026
|
+
}): Promise<`0x${string}`>;
|
|
2027
|
+
/**
|
|
2028
|
+
* processAllClaimsByDate
|
|
2029
|
+
* nonpayable
|
|
2030
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2031
|
+
*/
|
|
2032
|
+
processAllClaimsByDate(year: bigint, month: bigint, day: bigint, maxLimit: bigint, options?: {
|
|
2033
|
+
accessList?: import('viem').AccessList;
|
|
2034
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2035
|
+
chain?: import('viem').Chain | null;
|
|
2036
|
+
dataSuffix?: `0x${string}`;
|
|
2037
|
+
gas?: bigint;
|
|
2038
|
+
gasPrice?: bigint;
|
|
2039
|
+
maxFeePerGas?: bigint;
|
|
2040
|
+
maxPriorityFeePerGas?: bigint;
|
|
2041
|
+
nonce?: number;
|
|
2042
|
+
value?: bigint;
|
|
2043
|
+
}): Promise<`0x${string}`>;
|
|
2044
|
+
/**
|
|
2045
|
+
* requestRedeem
|
|
2046
|
+
* nonpayable
|
|
2047
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2048
|
+
*/
|
|
2049
|
+
requestRedeem(shares: bigint, receiverAddr: `0x${string}`, options?: {
|
|
2050
|
+
accessList?: import('viem').AccessList;
|
|
2051
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2052
|
+
chain?: import('viem').Chain | null;
|
|
2053
|
+
dataSuffix?: `0x${string}`;
|
|
2054
|
+
gas?: bigint;
|
|
2055
|
+
gasPrice?: bigint;
|
|
2056
|
+
maxFeePerGas?: bigint;
|
|
2057
|
+
maxPriorityFeePerGas?: bigint;
|
|
2058
|
+
nonce?: number;
|
|
2059
|
+
value?: bigint;
|
|
2060
|
+
}): Promise<`0x${string}`>;
|
|
2061
|
+
/**
|
|
2062
|
+
* transferOwnership
|
|
2063
|
+
* nonpayable
|
|
2064
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2065
|
+
*/
|
|
2066
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
2067
|
+
accessList?: import('viem').AccessList;
|
|
2068
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2069
|
+
chain?: import('viem').Chain | null;
|
|
2070
|
+
dataSuffix?: `0x${string}`;
|
|
2071
|
+
gas?: bigint;
|
|
2072
|
+
gasPrice?: bigint;
|
|
2073
|
+
maxFeePerGas?: bigint;
|
|
2074
|
+
maxPriorityFeePerGas?: bigint;
|
|
2075
|
+
nonce?: number;
|
|
2076
|
+
value?: bigint;
|
|
2077
|
+
}): Promise<`0x${string}`>;
|
|
2078
|
+
/**
|
|
2079
|
+
* updateAssetsWhitelist
|
|
2080
|
+
* nonpayable
|
|
2081
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2082
|
+
*/
|
|
2083
|
+
updateAssetsWhitelist(newWhitelistAddr: `0x${string}`, options?: {
|
|
2084
|
+
accessList?: import('viem').AccessList;
|
|
2085
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2086
|
+
chain?: import('viem').Chain | null;
|
|
2087
|
+
dataSuffix?: `0x${string}`;
|
|
2088
|
+
gas?: bigint;
|
|
2089
|
+
gasPrice?: bigint;
|
|
2090
|
+
maxFeePerGas?: bigint;
|
|
2091
|
+
maxPriorityFeePerGas?: bigint;
|
|
2092
|
+
nonce?: number;
|
|
2093
|
+
value?: bigint;
|
|
2094
|
+
}): Promise<`0x${string}`>;
|
|
2095
|
+
/**
|
|
2096
|
+
* updateFeeCollectors
|
|
2097
|
+
* nonpayable
|
|
2098
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2099
|
+
*/
|
|
2100
|
+
updateFeeCollectors(collectors: IFeeCollectorsAware_CollectorDefinition[], options?: {
|
|
2101
|
+
accessList?: import('viem').AccessList;
|
|
2102
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2103
|
+
chain?: import('viem').Chain | null;
|
|
2104
|
+
dataSuffix?: `0x${string}`;
|
|
2105
|
+
gas?: bigint;
|
|
2106
|
+
gasPrice?: bigint;
|
|
2107
|
+
maxFeePerGas?: bigint;
|
|
2108
|
+
maxPriorityFeePerGas?: bigint;
|
|
2109
|
+
nonce?: number;
|
|
2110
|
+
value?: bigint;
|
|
2111
|
+
}): Promise<`0x${string}`>;
|
|
2112
|
+
/**
|
|
2113
|
+
* updateInstantRedemptionFee
|
|
2114
|
+
* nonpayable
|
|
2115
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2116
|
+
*/
|
|
2117
|
+
updateInstantRedemptionFee(newValue: bigint, pKeepFeeInVault: boolean, options?: {
|
|
2118
|
+
accessList?: import('viem').AccessList;
|
|
2119
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2120
|
+
chain?: import('viem').Chain | null;
|
|
2121
|
+
dataSuffix?: `0x${string}`;
|
|
2122
|
+
gas?: bigint;
|
|
2123
|
+
gasPrice?: bigint;
|
|
2124
|
+
maxFeePerGas?: bigint;
|
|
2125
|
+
maxPriorityFeePerGas?: bigint;
|
|
2126
|
+
nonce?: number;
|
|
2127
|
+
value?: bigint;
|
|
2128
|
+
}): Promise<`0x${string}`>;
|
|
2129
|
+
/**
|
|
2130
|
+
* updateLimits
|
|
2131
|
+
* nonpayable
|
|
2132
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2133
|
+
*/
|
|
2134
|
+
updateLimits(newMaxDepositAmount: bigint, newMaxWithdrawalAmount: bigint, newDepositCap: bigint, options?: {
|
|
2135
|
+
accessList?: import('viem').AccessList;
|
|
2136
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2137
|
+
chain?: import('viem').Chain | null;
|
|
2138
|
+
dataSuffix?: `0x${string}`;
|
|
2139
|
+
gas?: bigint;
|
|
2140
|
+
gasPrice?: bigint;
|
|
2141
|
+
maxFeePerGas?: bigint;
|
|
2142
|
+
maxPriorityFeePerGas?: bigint;
|
|
2143
|
+
nonce?: number;
|
|
2144
|
+
value?: bigint;
|
|
2145
|
+
}): Promise<`0x${string}`>;
|
|
2146
|
+
/**
|
|
2147
|
+
* updateManagementFee
|
|
2148
|
+
* nonpayable
|
|
2149
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2150
|
+
*/
|
|
2151
|
+
updateManagementFee(newManagementFeePercent: bigint, options?: {
|
|
2152
|
+
accessList?: import('viem').AccessList;
|
|
2153
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2154
|
+
chain?: import('viem').Chain | null;
|
|
2155
|
+
dataSuffix?: `0x${string}`;
|
|
2156
|
+
gas?: bigint;
|
|
2157
|
+
gasPrice?: bigint;
|
|
2158
|
+
maxFeePerGas?: bigint;
|
|
2159
|
+
maxPriorityFeePerGas?: bigint;
|
|
2160
|
+
nonce?: number;
|
|
2161
|
+
value?: bigint;
|
|
2162
|
+
}): Promise<`0x${string}`>;
|
|
2163
|
+
/**
|
|
2164
|
+
* updateMaxChangePercent
|
|
2165
|
+
* nonpayable
|
|
2166
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2167
|
+
*/
|
|
2168
|
+
updateMaxChangePercent(newValue: bigint, options?: {
|
|
2169
|
+
accessList?: import('viem').AccessList;
|
|
2170
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2171
|
+
chain?: import('viem').Chain | null;
|
|
2172
|
+
dataSuffix?: `0x${string}`;
|
|
2173
|
+
gas?: bigint;
|
|
2174
|
+
gasPrice?: bigint;
|
|
2175
|
+
maxFeePerGas?: bigint;
|
|
2176
|
+
maxPriorityFeePerGas?: bigint;
|
|
2177
|
+
nonce?: number;
|
|
2178
|
+
value?: bigint;
|
|
2179
|
+
}): Promise<`0x${string}`>;
|
|
2180
|
+
/**
|
|
2181
|
+
* updatePerformanceFee
|
|
2182
|
+
* nonpayable
|
|
2183
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2184
|
+
*/
|
|
2185
|
+
updatePerformanceFee(newValue: bigint, options?: {
|
|
2186
|
+
accessList?: import('viem').AccessList;
|
|
2187
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2188
|
+
chain?: import('viem').Chain | null;
|
|
2189
|
+
dataSuffix?: `0x${string}`;
|
|
2190
|
+
gas?: bigint;
|
|
2191
|
+
gasPrice?: bigint;
|
|
2192
|
+
maxFeePerGas?: bigint;
|
|
2193
|
+
maxPriorityFeePerGas?: bigint;
|
|
2194
|
+
nonce?: number;
|
|
2195
|
+
value?: bigint;
|
|
2196
|
+
}): Promise<`0x${string}`>;
|
|
2197
|
+
/**
|
|
2198
|
+
* updatePerformanceFeeCollectors
|
|
2199
|
+
* nonpayable
|
|
2200
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2201
|
+
*/
|
|
2202
|
+
updatePerformanceFeeCollectors(collectors: IFeeCollectorsAware_CollectorDefinition[], options?: {
|
|
2203
|
+
accessList?: import('viem').AccessList;
|
|
2204
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2205
|
+
chain?: import('viem').Chain | null;
|
|
2206
|
+
dataSuffix?: `0x${string}`;
|
|
2207
|
+
gas?: bigint;
|
|
2208
|
+
gasPrice?: bigint;
|
|
2209
|
+
maxFeePerGas?: bigint;
|
|
2210
|
+
maxPriorityFeePerGas?: bigint;
|
|
2211
|
+
nonce?: number;
|
|
2212
|
+
value?: bigint;
|
|
2213
|
+
}): Promise<`0x${string}`>;
|
|
2214
|
+
/**
|
|
2215
|
+
* updateSendersWhitelist
|
|
2216
|
+
* nonpayable
|
|
2217
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2218
|
+
*/
|
|
2219
|
+
updateSendersWhitelist(newWhitelistAddr: `0x${string}`, options?: {
|
|
2220
|
+
accessList?: import('viem').AccessList;
|
|
2221
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2222
|
+
chain?: import('viem').Chain | null;
|
|
2223
|
+
dataSuffix?: `0x${string}`;
|
|
2224
|
+
gas?: bigint;
|
|
2225
|
+
gasPrice?: bigint;
|
|
2226
|
+
maxFeePerGas?: bigint;
|
|
2227
|
+
maxPriorityFeePerGas?: bigint;
|
|
2228
|
+
nonce?: number;
|
|
2229
|
+
value?: bigint;
|
|
2230
|
+
}): Promise<`0x${string}`>;
|
|
2231
|
+
/**
|
|
2232
|
+
* updateTimelockDuration
|
|
2233
|
+
* nonpayable
|
|
2234
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2235
|
+
*/
|
|
2236
|
+
updateTimelockDuration(newDuration: bigint, options?: {
|
|
2237
|
+
accessList?: import('viem').AccessList;
|
|
2238
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2239
|
+
chain?: import('viem').Chain | null;
|
|
2240
|
+
dataSuffix?: `0x${string}`;
|
|
2241
|
+
gas?: bigint;
|
|
2242
|
+
gasPrice?: bigint;
|
|
2243
|
+
maxFeePerGas?: bigint;
|
|
2244
|
+
maxPriorityFeePerGas?: bigint;
|
|
2245
|
+
nonce?: number;
|
|
2246
|
+
value?: bigint;
|
|
2247
|
+
}): Promise<`0x${string}`>;
|
|
2248
|
+
/**
|
|
2249
|
+
* updateTotalAssets
|
|
2250
|
+
* nonpayable
|
|
2251
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2252
|
+
*/
|
|
2253
|
+
updateTotalAssets(externalAssetsAmount: bigint, options?: {
|
|
2254
|
+
accessList?: import('viem').AccessList;
|
|
2255
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2256
|
+
chain?: import('viem').Chain | null;
|
|
2257
|
+
dataSuffix?: `0x${string}`;
|
|
2258
|
+
gas?: bigint;
|
|
2259
|
+
gasPrice?: bigint;
|
|
2260
|
+
maxFeePerGas?: bigint;
|
|
2261
|
+
maxPriorityFeePerGas?: bigint;
|
|
2262
|
+
nonce?: number;
|
|
2263
|
+
value?: bigint;
|
|
2264
|
+
}): Promise<`0x${string}`>;
|
|
2265
|
+
/**
|
|
2266
|
+
* withdrawFromSubaccount
|
|
2267
|
+
* nonpayable
|
|
2268
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2269
|
+
*/
|
|
2270
|
+
withdrawFromSubaccount(inputAssetAddr: `0x${string}`, amount: bigint, subAccountAddr: `0x${string}`, options?: {
|
|
2271
|
+
accessList?: import('viem').AccessList;
|
|
2272
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2273
|
+
chain?: import('viem').Chain | null;
|
|
2274
|
+
dataSuffix?: `0x${string}`;
|
|
2275
|
+
gas?: bigint;
|
|
2276
|
+
gasPrice?: bigint;
|
|
2277
|
+
maxFeePerGas?: bigint;
|
|
2278
|
+
maxPriorityFeePerGas?: bigint;
|
|
2279
|
+
nonce?: number;
|
|
2280
|
+
value?: bigint;
|
|
2281
|
+
}): Promise<`0x${string}`>;
|
|
2282
|
+
/**
|
|
2283
|
+
* Simulate contract write operations (dry-run without sending transaction)
|
|
2284
|
+
*
|
|
2285
|
+
* @example
|
|
2286
|
+
* const result = await contract.simulate.transfer('0x...', 1000n);
|
|
2287
|
+
* console.log('Gas estimate:', result.request.gas);
|
|
2288
|
+
* console.log('Would succeed:', result.result);
|
|
2289
|
+
*/
|
|
2290
|
+
get simulate(): {
|
|
2291
|
+
/**
|
|
2292
|
+
* Simulate acceptOwnership
|
|
2293
|
+
* Returns gas estimate and result without sending transaction
|
|
2294
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2295
|
+
*/
|
|
2296
|
+
acceptOwnership(options?: {
|
|
2297
|
+
accessList?: import("viem").AccessList;
|
|
2298
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2299
|
+
chain?: import("viem").Chain | null;
|
|
2300
|
+
dataSuffix?: `0x${string}`;
|
|
2301
|
+
gas?: bigint;
|
|
2302
|
+
gasPrice?: bigint;
|
|
2303
|
+
maxFeePerGas?: bigint;
|
|
2304
|
+
maxPriorityFeePerGas?: bigint;
|
|
2305
|
+
nonce?: number;
|
|
2306
|
+
value?: bigint;
|
|
2307
|
+
}): Promise<void>;
|
|
2308
|
+
/**
|
|
2309
|
+
* Simulate chargeManagementFee
|
|
2310
|
+
* Returns gas estimate and result without sending transaction
|
|
2311
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2312
|
+
*/
|
|
2313
|
+
chargeManagementFee(options?: {
|
|
2314
|
+
accessList?: import("viem").AccessList;
|
|
2315
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2316
|
+
chain?: import("viem").Chain | null;
|
|
2317
|
+
dataSuffix?: `0x${string}`;
|
|
2318
|
+
gas?: bigint;
|
|
2319
|
+
gasPrice?: bigint;
|
|
2320
|
+
maxFeePerGas?: bigint;
|
|
2321
|
+
maxPriorityFeePerGas?: bigint;
|
|
2322
|
+
nonce?: number;
|
|
2323
|
+
value?: bigint;
|
|
2324
|
+
}): Promise<void>;
|
|
2325
|
+
/**
|
|
2326
|
+
* Simulate chargePerformanceFees
|
|
2327
|
+
* Returns gas estimate and result without sending transaction
|
|
2328
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2329
|
+
*/
|
|
2330
|
+
chargePerformanceFees(options?: {
|
|
2331
|
+
accessList?: import("viem").AccessList;
|
|
2332
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2333
|
+
chain?: import("viem").Chain | null;
|
|
2334
|
+
dataSuffix?: `0x${string}`;
|
|
2335
|
+
gas?: bigint;
|
|
2336
|
+
gasPrice?: bigint;
|
|
2337
|
+
maxFeePerGas?: bigint;
|
|
2338
|
+
maxPriorityFeePerGas?: bigint;
|
|
2339
|
+
nonce?: number;
|
|
2340
|
+
value?: bigint;
|
|
2341
|
+
}): Promise<void>;
|
|
2342
|
+
/**
|
|
2343
|
+
* Simulate claim
|
|
2344
|
+
* Returns gas estimate and result without sending transaction
|
|
2345
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2346
|
+
*/
|
|
2347
|
+
claim(year: bigint, month: bigint, day: bigint, receiverAddr: `0x${string}`, options?: {
|
|
2348
|
+
accessList?: import("viem").AccessList;
|
|
2349
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2350
|
+
chain?: import("viem").Chain | null;
|
|
2351
|
+
dataSuffix?: `0x${string}`;
|
|
2352
|
+
gas?: bigint;
|
|
2353
|
+
gasPrice?: bigint;
|
|
2354
|
+
maxFeePerGas?: bigint;
|
|
2355
|
+
maxPriorityFeePerGas?: bigint;
|
|
2356
|
+
nonce?: number;
|
|
2357
|
+
value?: bigint;
|
|
2358
|
+
}): Promise<[bigint, bigint]>;
|
|
2359
|
+
/**
|
|
2360
|
+
* Simulate collectFees
|
|
2361
|
+
* Returns gas estimate and result without sending transaction
|
|
2362
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2363
|
+
*/
|
|
2364
|
+
collectFees(options?: {
|
|
2365
|
+
accessList?: import("viem").AccessList;
|
|
2366
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2367
|
+
chain?: import("viem").Chain | null;
|
|
2368
|
+
dataSuffix?: `0x${string}`;
|
|
2369
|
+
gas?: bigint;
|
|
2370
|
+
gasPrice?: bigint;
|
|
2371
|
+
maxFeePerGas?: bigint;
|
|
2372
|
+
maxPriorityFeePerGas?: bigint;
|
|
2373
|
+
nonce?: number;
|
|
2374
|
+
value?: bigint;
|
|
2375
|
+
}): Promise<void>;
|
|
2376
|
+
/**
|
|
2377
|
+
* Simulate configure
|
|
2378
|
+
* Returns gas estimate and result without sending transaction
|
|
2379
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2380
|
+
*/
|
|
2381
|
+
configure(newConfig: ITokenizedVault_ConfigInfo, options?: {
|
|
2382
|
+
accessList?: import("viem").AccessList;
|
|
2383
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2384
|
+
chain?: import("viem").Chain | null;
|
|
2385
|
+
dataSuffix?: `0x${string}`;
|
|
2386
|
+
gas?: bigint;
|
|
2387
|
+
gasPrice?: bigint;
|
|
2388
|
+
maxFeePerGas?: bigint;
|
|
2389
|
+
maxPriorityFeePerGas?: bigint;
|
|
2390
|
+
nonce?: number;
|
|
2391
|
+
value?: bigint;
|
|
2392
|
+
}): Promise<void>;
|
|
2393
|
+
/**
|
|
2394
|
+
* Simulate deposit
|
|
2395
|
+
* Returns gas estimate and result without sending transaction
|
|
2396
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2397
|
+
*/
|
|
2398
|
+
deposit(assetIn: `0x${string}`, amountIn: bigint, receiverAddr: `0x${string}`, options?: {
|
|
2399
|
+
accessList?: import("viem").AccessList;
|
|
2400
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2401
|
+
chain?: import("viem").Chain | null;
|
|
2402
|
+
dataSuffix?: `0x${string}`;
|
|
2403
|
+
gas?: bigint;
|
|
2404
|
+
gasPrice?: bigint;
|
|
2405
|
+
maxFeePerGas?: bigint;
|
|
2406
|
+
maxPriorityFeePerGas?: bigint;
|
|
2407
|
+
nonce?: number;
|
|
2408
|
+
value?: bigint;
|
|
2409
|
+
}): Promise<bigint>;
|
|
2410
|
+
/**
|
|
2411
|
+
* Simulate depositToSubaccount
|
|
2412
|
+
* Returns gas estimate and result without sending transaction
|
|
2413
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2414
|
+
*/
|
|
2415
|
+
depositToSubaccount(inputAssetAddr: `0x${string}`, depositAmount: bigint, subAccountAddr: `0x${string}`, options?: {
|
|
2416
|
+
accessList?: import("viem").AccessList;
|
|
2417
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2418
|
+
chain?: import("viem").Chain | null;
|
|
2419
|
+
dataSuffix?: `0x${string}`;
|
|
2420
|
+
gas?: bigint;
|
|
2421
|
+
gasPrice?: bigint;
|
|
2422
|
+
maxFeePerGas?: bigint;
|
|
2423
|
+
maxPriorityFeePerGas?: bigint;
|
|
2424
|
+
nonce?: number;
|
|
2425
|
+
value?: bigint;
|
|
2426
|
+
}): Promise<void>;
|
|
2427
|
+
/**
|
|
2428
|
+
* Simulate depositWithPermit
|
|
2429
|
+
* Returns gas estimate and result without sending transaction
|
|
2430
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2431
|
+
*/
|
|
2432
|
+
depositWithPermit(assetIn: `0x${string}`, amountIn: bigint, receiverAddr: `0x${string}`, deadline: bigint, r: `0x${string}`, s: `0x${string}`, v: bigint, options?: {
|
|
2433
|
+
accessList?: import("viem").AccessList;
|
|
2434
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2435
|
+
chain?: import("viem").Chain | null;
|
|
2436
|
+
dataSuffix?: `0x${string}`;
|
|
2437
|
+
gas?: bigint;
|
|
2438
|
+
gasPrice?: bigint;
|
|
2439
|
+
maxFeePerGas?: bigint;
|
|
2440
|
+
maxPriorityFeePerGas?: bigint;
|
|
2441
|
+
nonce?: number;
|
|
2442
|
+
value?: bigint;
|
|
2443
|
+
}): Promise<bigint>;
|
|
2444
|
+
/**
|
|
2445
|
+
* Simulate disableSubAccount
|
|
2446
|
+
* Returns gas estimate and result without sending transaction
|
|
2447
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2448
|
+
*/
|
|
2449
|
+
disableSubAccount(addr: `0x${string}`, options?: {
|
|
2450
|
+
accessList?: import("viem").AccessList;
|
|
2451
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2452
|
+
chain?: import("viem").Chain | null;
|
|
2453
|
+
dataSuffix?: `0x${string}`;
|
|
2454
|
+
gas?: bigint;
|
|
2455
|
+
gasPrice?: bigint;
|
|
2456
|
+
maxFeePerGas?: bigint;
|
|
2457
|
+
maxPriorityFeePerGas?: bigint;
|
|
2458
|
+
nonce?: number;
|
|
2459
|
+
value?: bigint;
|
|
2460
|
+
}): Promise<void>;
|
|
2461
|
+
/**
|
|
2462
|
+
* Simulate emergencyWithdraw
|
|
2463
|
+
* Returns gas estimate and result without sending transaction
|
|
2464
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2465
|
+
*/
|
|
2466
|
+
emergencyWithdraw(receiverAddr: `0x${string}`, options?: {
|
|
2467
|
+
accessList?: import("viem").AccessList;
|
|
2468
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2469
|
+
chain?: import("viem").Chain | null;
|
|
2470
|
+
dataSuffix?: `0x${string}`;
|
|
2471
|
+
gas?: bigint;
|
|
2472
|
+
gasPrice?: bigint;
|
|
2473
|
+
maxFeePerGas?: bigint;
|
|
2474
|
+
maxPriorityFeePerGas?: bigint;
|
|
2475
|
+
nonce?: number;
|
|
2476
|
+
value?: bigint;
|
|
2477
|
+
}): Promise<void>;
|
|
2478
|
+
/**
|
|
2479
|
+
* Simulate enableSubAccount
|
|
2480
|
+
* Returns gas estimate and result without sending transaction
|
|
2481
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2482
|
+
*/
|
|
2483
|
+
enableSubAccount(addr: `0x${string}`, accountType: bigint, options?: {
|
|
2484
|
+
accessList?: import("viem").AccessList;
|
|
2485
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2486
|
+
chain?: import("viem").Chain | null;
|
|
2487
|
+
dataSuffix?: `0x${string}`;
|
|
2488
|
+
gas?: bigint;
|
|
2489
|
+
gasPrice?: bigint;
|
|
2490
|
+
maxFeePerGas?: bigint;
|
|
2491
|
+
maxPriorityFeePerGas?: bigint;
|
|
2492
|
+
nonce?: number;
|
|
2493
|
+
value?: bigint;
|
|
2494
|
+
}): Promise<void>;
|
|
2495
|
+
/**
|
|
2496
|
+
* Simulate initialize
|
|
2497
|
+
* Returns gas estimate and result without sending transaction
|
|
2498
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2499
|
+
*/
|
|
2500
|
+
initialize(ownerAddr: `0x${string}`, options?: {
|
|
2501
|
+
accessList?: import("viem").AccessList;
|
|
2502
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2503
|
+
chain?: import("viem").Chain | null;
|
|
2504
|
+
dataSuffix?: `0x${string}`;
|
|
2505
|
+
gas?: bigint;
|
|
2506
|
+
gasPrice?: bigint;
|
|
2507
|
+
maxFeePerGas?: bigint;
|
|
2508
|
+
maxPriorityFeePerGas?: bigint;
|
|
2509
|
+
nonce?: number;
|
|
2510
|
+
value?: bigint;
|
|
2511
|
+
}): Promise<void>;
|
|
2512
|
+
/**
|
|
2513
|
+
* Simulate instantRedeem
|
|
2514
|
+
* Returns gas estimate and result without sending transaction
|
|
2515
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2516
|
+
*/
|
|
2517
|
+
instantRedeem(shares: bigint, receiverAddr: `0x${string}`, options?: {
|
|
2518
|
+
accessList?: import("viem").AccessList;
|
|
2519
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2520
|
+
chain?: import("viem").Chain | null;
|
|
2521
|
+
dataSuffix?: `0x${string}`;
|
|
2522
|
+
gas?: bigint;
|
|
2523
|
+
gasPrice?: bigint;
|
|
2524
|
+
maxFeePerGas?: bigint;
|
|
2525
|
+
maxPriorityFeePerGas?: bigint;
|
|
2526
|
+
nonce?: number;
|
|
2527
|
+
value?: bigint;
|
|
2528
|
+
}): Promise<void>;
|
|
2529
|
+
/**
|
|
2530
|
+
* Simulate pauseDepositsAndWithdrawals
|
|
2531
|
+
* Returns gas estimate and result without sending transaction
|
|
2532
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2533
|
+
*/
|
|
2534
|
+
pauseDepositsAndWithdrawals(bPauseDeposits: boolean, bPauseWithdrawals: boolean, options?: {
|
|
2535
|
+
accessList?: import("viem").AccessList;
|
|
2536
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2537
|
+
chain?: import("viem").Chain | null;
|
|
2538
|
+
dataSuffix?: `0x${string}`;
|
|
2539
|
+
gas?: bigint;
|
|
2540
|
+
gasPrice?: bigint;
|
|
2541
|
+
maxFeePerGas?: bigint;
|
|
2542
|
+
maxPriorityFeePerGas?: bigint;
|
|
2543
|
+
nonce?: number;
|
|
2544
|
+
value?: bigint;
|
|
2545
|
+
}): Promise<void>;
|
|
2546
|
+
/**
|
|
2547
|
+
* Simulate processAllClaimsByDate
|
|
2548
|
+
* Returns gas estimate and result without sending transaction
|
|
2549
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2550
|
+
*/
|
|
2551
|
+
processAllClaimsByDate(year: bigint, month: bigint, day: bigint, maxLimit: bigint, options?: {
|
|
2552
|
+
accessList?: import("viem").AccessList;
|
|
2553
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2554
|
+
chain?: import("viem").Chain | null;
|
|
2555
|
+
dataSuffix?: `0x${string}`;
|
|
2556
|
+
gas?: bigint;
|
|
2557
|
+
gasPrice?: bigint;
|
|
2558
|
+
maxFeePerGas?: bigint;
|
|
2559
|
+
maxPriorityFeePerGas?: bigint;
|
|
2560
|
+
nonce?: number;
|
|
2561
|
+
value?: bigint;
|
|
2562
|
+
}): Promise<void>;
|
|
2563
|
+
/**
|
|
2564
|
+
* Simulate requestRedeem
|
|
2565
|
+
* Returns gas estimate and result without sending transaction
|
|
2566
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2567
|
+
*/
|
|
2568
|
+
requestRedeem(shares: bigint, receiverAddr: `0x${string}`, options?: {
|
|
2569
|
+
accessList?: import("viem").AccessList;
|
|
2570
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2571
|
+
chain?: import("viem").Chain | null;
|
|
2572
|
+
dataSuffix?: `0x${string}`;
|
|
2573
|
+
gas?: bigint;
|
|
2574
|
+
gasPrice?: bigint;
|
|
2575
|
+
maxFeePerGas?: bigint;
|
|
2576
|
+
maxPriorityFeePerGas?: bigint;
|
|
2577
|
+
nonce?: number;
|
|
2578
|
+
value?: bigint;
|
|
2579
|
+
}): Promise<[bigint, bigint, bigint, bigint]>;
|
|
2580
|
+
/**
|
|
2581
|
+
* Simulate transferOwnership
|
|
2582
|
+
* Returns gas estimate and result without sending transaction
|
|
2583
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2584
|
+
*/
|
|
2585
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
2586
|
+
accessList?: import("viem").AccessList;
|
|
2587
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2588
|
+
chain?: import("viem").Chain | null;
|
|
2589
|
+
dataSuffix?: `0x${string}`;
|
|
2590
|
+
gas?: bigint;
|
|
2591
|
+
gasPrice?: bigint;
|
|
2592
|
+
maxFeePerGas?: bigint;
|
|
2593
|
+
maxPriorityFeePerGas?: bigint;
|
|
2594
|
+
nonce?: number;
|
|
2595
|
+
value?: bigint;
|
|
2596
|
+
}): Promise<void>;
|
|
2597
|
+
/**
|
|
2598
|
+
* Simulate updateAssetsWhitelist
|
|
2599
|
+
* Returns gas estimate and result without sending transaction
|
|
2600
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2601
|
+
*/
|
|
2602
|
+
updateAssetsWhitelist(newWhitelistAddr: `0x${string}`, options?: {
|
|
2603
|
+
accessList?: import("viem").AccessList;
|
|
2604
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2605
|
+
chain?: import("viem").Chain | null;
|
|
2606
|
+
dataSuffix?: `0x${string}`;
|
|
2607
|
+
gas?: bigint;
|
|
2608
|
+
gasPrice?: bigint;
|
|
2609
|
+
maxFeePerGas?: bigint;
|
|
2610
|
+
maxPriorityFeePerGas?: bigint;
|
|
2611
|
+
nonce?: number;
|
|
2612
|
+
value?: bigint;
|
|
2613
|
+
}): Promise<void>;
|
|
2614
|
+
/**
|
|
2615
|
+
* Simulate updateFeeCollectors
|
|
2616
|
+
* Returns gas estimate and result without sending transaction
|
|
2617
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2618
|
+
*/
|
|
2619
|
+
updateFeeCollectors(collectors: IFeeCollectorsAware_CollectorDefinition[], options?: {
|
|
2620
|
+
accessList?: import("viem").AccessList;
|
|
2621
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2622
|
+
chain?: import("viem").Chain | null;
|
|
2623
|
+
dataSuffix?: `0x${string}`;
|
|
2624
|
+
gas?: bigint;
|
|
2625
|
+
gasPrice?: bigint;
|
|
2626
|
+
maxFeePerGas?: bigint;
|
|
2627
|
+
maxPriorityFeePerGas?: bigint;
|
|
2628
|
+
nonce?: number;
|
|
2629
|
+
value?: bigint;
|
|
2630
|
+
}): Promise<void>;
|
|
2631
|
+
/**
|
|
2632
|
+
* Simulate updateInstantRedemptionFee
|
|
2633
|
+
* Returns gas estimate and result without sending transaction
|
|
2634
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2635
|
+
*/
|
|
2636
|
+
updateInstantRedemptionFee(newValue: bigint, pKeepFeeInVault: boolean, options?: {
|
|
2637
|
+
accessList?: import("viem").AccessList;
|
|
2638
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2639
|
+
chain?: import("viem").Chain | null;
|
|
2640
|
+
dataSuffix?: `0x${string}`;
|
|
2641
|
+
gas?: bigint;
|
|
2642
|
+
gasPrice?: bigint;
|
|
2643
|
+
maxFeePerGas?: bigint;
|
|
2644
|
+
maxPriorityFeePerGas?: bigint;
|
|
2645
|
+
nonce?: number;
|
|
2646
|
+
value?: bigint;
|
|
2647
|
+
}): Promise<void>;
|
|
2648
|
+
/**
|
|
2649
|
+
* Simulate updateLimits
|
|
2650
|
+
* Returns gas estimate and result without sending transaction
|
|
2651
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2652
|
+
*/
|
|
2653
|
+
updateLimits(newMaxDepositAmount: bigint, newMaxWithdrawalAmount: bigint, newDepositCap: bigint, options?: {
|
|
2654
|
+
accessList?: import("viem").AccessList;
|
|
2655
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2656
|
+
chain?: import("viem").Chain | null;
|
|
2657
|
+
dataSuffix?: `0x${string}`;
|
|
2658
|
+
gas?: bigint;
|
|
2659
|
+
gasPrice?: bigint;
|
|
2660
|
+
maxFeePerGas?: bigint;
|
|
2661
|
+
maxPriorityFeePerGas?: bigint;
|
|
2662
|
+
nonce?: number;
|
|
2663
|
+
value?: bigint;
|
|
2664
|
+
}): Promise<void>;
|
|
2665
|
+
/**
|
|
2666
|
+
* Simulate updateManagementFee
|
|
2667
|
+
* Returns gas estimate and result without sending transaction
|
|
2668
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2669
|
+
*/
|
|
2670
|
+
updateManagementFee(newManagementFeePercent: bigint, options?: {
|
|
2671
|
+
accessList?: import("viem").AccessList;
|
|
2672
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2673
|
+
chain?: import("viem").Chain | null;
|
|
2674
|
+
dataSuffix?: `0x${string}`;
|
|
2675
|
+
gas?: bigint;
|
|
2676
|
+
gasPrice?: bigint;
|
|
2677
|
+
maxFeePerGas?: bigint;
|
|
2678
|
+
maxPriorityFeePerGas?: bigint;
|
|
2679
|
+
nonce?: number;
|
|
2680
|
+
value?: bigint;
|
|
2681
|
+
}): Promise<void>;
|
|
2682
|
+
/**
|
|
2683
|
+
* Simulate updateMaxChangePercent
|
|
2684
|
+
* Returns gas estimate and result without sending transaction
|
|
2685
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2686
|
+
*/
|
|
2687
|
+
updateMaxChangePercent(newValue: bigint, options?: {
|
|
2688
|
+
accessList?: import("viem").AccessList;
|
|
2689
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2690
|
+
chain?: import("viem").Chain | null;
|
|
2691
|
+
dataSuffix?: `0x${string}`;
|
|
2692
|
+
gas?: bigint;
|
|
2693
|
+
gasPrice?: bigint;
|
|
2694
|
+
maxFeePerGas?: bigint;
|
|
2695
|
+
maxPriorityFeePerGas?: bigint;
|
|
2696
|
+
nonce?: number;
|
|
2697
|
+
value?: bigint;
|
|
2698
|
+
}): Promise<void>;
|
|
2699
|
+
/**
|
|
2700
|
+
* Simulate updatePerformanceFee
|
|
2701
|
+
* Returns gas estimate and result without sending transaction
|
|
2702
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2703
|
+
*/
|
|
2704
|
+
updatePerformanceFee(newValue: bigint, options?: {
|
|
2705
|
+
accessList?: import("viem").AccessList;
|
|
2706
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2707
|
+
chain?: import("viem").Chain | null;
|
|
2708
|
+
dataSuffix?: `0x${string}`;
|
|
2709
|
+
gas?: bigint;
|
|
2710
|
+
gasPrice?: bigint;
|
|
2711
|
+
maxFeePerGas?: bigint;
|
|
2712
|
+
maxPriorityFeePerGas?: bigint;
|
|
2713
|
+
nonce?: number;
|
|
2714
|
+
value?: bigint;
|
|
2715
|
+
}): Promise<void>;
|
|
2716
|
+
/**
|
|
2717
|
+
* Simulate updatePerformanceFeeCollectors
|
|
2718
|
+
* Returns gas estimate and result without sending transaction
|
|
2719
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2720
|
+
*/
|
|
2721
|
+
updatePerformanceFeeCollectors(collectors: IFeeCollectorsAware_CollectorDefinition[], options?: {
|
|
2722
|
+
accessList?: import("viem").AccessList;
|
|
2723
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2724
|
+
chain?: import("viem").Chain | null;
|
|
2725
|
+
dataSuffix?: `0x${string}`;
|
|
2726
|
+
gas?: bigint;
|
|
2727
|
+
gasPrice?: bigint;
|
|
2728
|
+
maxFeePerGas?: bigint;
|
|
2729
|
+
maxPriorityFeePerGas?: bigint;
|
|
2730
|
+
nonce?: number;
|
|
2731
|
+
value?: bigint;
|
|
2732
|
+
}): Promise<void>;
|
|
2733
|
+
/**
|
|
2734
|
+
* Simulate updateSendersWhitelist
|
|
2735
|
+
* Returns gas estimate and result without sending transaction
|
|
2736
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2737
|
+
*/
|
|
2738
|
+
updateSendersWhitelist(newWhitelistAddr: `0x${string}`, options?: {
|
|
2739
|
+
accessList?: import("viem").AccessList;
|
|
2740
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2741
|
+
chain?: import("viem").Chain | null;
|
|
2742
|
+
dataSuffix?: `0x${string}`;
|
|
2743
|
+
gas?: bigint;
|
|
2744
|
+
gasPrice?: bigint;
|
|
2745
|
+
maxFeePerGas?: bigint;
|
|
2746
|
+
maxPriorityFeePerGas?: bigint;
|
|
2747
|
+
nonce?: number;
|
|
2748
|
+
value?: bigint;
|
|
2749
|
+
}): Promise<void>;
|
|
2750
|
+
/**
|
|
2751
|
+
* Simulate updateTimelockDuration
|
|
2752
|
+
* Returns gas estimate and result without sending transaction
|
|
2753
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2754
|
+
*/
|
|
2755
|
+
updateTimelockDuration(newDuration: bigint, options?: {
|
|
2756
|
+
accessList?: import("viem").AccessList;
|
|
2757
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2758
|
+
chain?: import("viem").Chain | null;
|
|
2759
|
+
dataSuffix?: `0x${string}`;
|
|
2760
|
+
gas?: bigint;
|
|
2761
|
+
gasPrice?: bigint;
|
|
2762
|
+
maxFeePerGas?: bigint;
|
|
2763
|
+
maxPriorityFeePerGas?: bigint;
|
|
2764
|
+
nonce?: number;
|
|
2765
|
+
value?: bigint;
|
|
2766
|
+
}): Promise<void>;
|
|
2767
|
+
/**
|
|
2768
|
+
* Simulate updateTotalAssets
|
|
2769
|
+
* Returns gas estimate and result without sending transaction
|
|
2770
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2771
|
+
*/
|
|
2772
|
+
updateTotalAssets(externalAssetsAmount: bigint, options?: {
|
|
2773
|
+
accessList?: import("viem").AccessList;
|
|
2774
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2775
|
+
chain?: import("viem").Chain | null;
|
|
2776
|
+
dataSuffix?: `0x${string}`;
|
|
2777
|
+
gas?: bigint;
|
|
2778
|
+
gasPrice?: bigint;
|
|
2779
|
+
maxFeePerGas?: bigint;
|
|
2780
|
+
maxPriorityFeePerGas?: bigint;
|
|
2781
|
+
nonce?: number;
|
|
2782
|
+
value?: bigint;
|
|
2783
|
+
}): Promise<void>;
|
|
2784
|
+
/**
|
|
2785
|
+
* Simulate withdrawFromSubaccount
|
|
2786
|
+
* Returns gas estimate and result without sending transaction
|
|
2787
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2788
|
+
*/
|
|
2789
|
+
withdrawFromSubaccount(inputAssetAddr: `0x${string}`, amount: bigint, subAccountAddr: `0x${string}`, options?: {
|
|
2790
|
+
accessList?: import("viem").AccessList;
|
|
2791
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2792
|
+
chain?: import("viem").Chain | null;
|
|
2793
|
+
dataSuffix?: `0x${string}`;
|
|
2794
|
+
gas?: bigint;
|
|
2795
|
+
gasPrice?: bigint;
|
|
2796
|
+
maxFeePerGas?: bigint;
|
|
2797
|
+
maxPriorityFeePerGas?: bigint;
|
|
2798
|
+
nonce?: number;
|
|
2799
|
+
value?: bigint;
|
|
2800
|
+
}): Promise<void>;
|
|
2801
|
+
};
|
|
2802
|
+
/**
|
|
2803
|
+
* Watch contract events
|
|
2804
|
+
*
|
|
2805
|
+
* @example
|
|
2806
|
+
* // Watch all Transfer events
|
|
2807
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
2808
|
+
* console.log('Transfer:', event);
|
|
2809
|
+
* });
|
|
2810
|
+
*
|
|
2811
|
+
* // Stop watching
|
|
2812
|
+
* unwatch();
|
|
2813
|
+
*/
|
|
2814
|
+
get watch(): {
|
|
2815
|
+
/**
|
|
2816
|
+
* Watch ContractConfigured events
|
|
2817
|
+
* @param callback Function to call when event is emitted
|
|
2818
|
+
* @param filter Optional filter for indexed parameters
|
|
2819
|
+
* @returns Unwatch function to stop listening
|
|
2820
|
+
*/
|
|
2821
|
+
ContractConfigured: (callback: (event: {}) => void) => () => void;
|
|
2822
|
+
/**
|
|
2823
|
+
* Watch Deposit events
|
|
2824
|
+
* @param callback Function to call when event is emitted
|
|
2825
|
+
* @param filter Optional filter for indexed parameters
|
|
2826
|
+
* @returns Unwatch function to stop listening
|
|
2827
|
+
*/
|
|
2828
|
+
Deposit: (callback: (event: {
|
|
2829
|
+
senderAddr: `0x${string}`;
|
|
2830
|
+
receiverAddr: `0x${string}`;
|
|
2831
|
+
assetIn: `0x${string}`;
|
|
2832
|
+
amountIn: bigint;
|
|
2833
|
+
shares: bigint;
|
|
2834
|
+
}) => void, filter?: {
|
|
2835
|
+
senderAddr: `0x${string}`;
|
|
2836
|
+
receiverAddr: `0x${string}`;
|
|
2837
|
+
}) => () => void;
|
|
2838
|
+
/**
|
|
2839
|
+
* Watch DepositWithdrawalStatusChanged events
|
|
2840
|
+
* @param callback Function to call when event is emitted
|
|
2841
|
+
* @param filter Optional filter for indexed parameters
|
|
2842
|
+
* @returns Unwatch function to stop listening
|
|
2843
|
+
*/
|
|
2844
|
+
DepositWithdrawalStatusChanged: (callback: (event: {
|
|
2845
|
+
bDepositsPaused: boolean;
|
|
2846
|
+
bWithdrawalsPaused: boolean;
|
|
2847
|
+
}) => void) => () => void;
|
|
2848
|
+
/**
|
|
2849
|
+
* Watch FeesCollected events
|
|
2850
|
+
* @param callback Function to call when event is emitted
|
|
2851
|
+
* @param filter Optional filter for indexed parameters
|
|
2852
|
+
* @returns Unwatch function to stop listening
|
|
2853
|
+
*/
|
|
2854
|
+
FeesCollected: (callback: (event: {}) => void) => () => void;
|
|
2855
|
+
/**
|
|
2856
|
+
* Watch Initialized events
|
|
2857
|
+
* @param callback Function to call when event is emitted
|
|
2858
|
+
* @param filter Optional filter for indexed parameters
|
|
2859
|
+
* @returns Unwatch function to stop listening
|
|
2860
|
+
*/
|
|
2861
|
+
Initialized: (callback: (event: {
|
|
2862
|
+
version: bigint;
|
|
2863
|
+
}) => void) => () => void;
|
|
2864
|
+
/**
|
|
2865
|
+
* Watch ManagementFeeCharged events
|
|
2866
|
+
* @param callback Function to call when event is emitted
|
|
2867
|
+
* @param filter Optional filter for indexed parameters
|
|
2868
|
+
* @returns Unwatch function to stop listening
|
|
2869
|
+
*/
|
|
2870
|
+
ManagementFeeCharged: (callback: (event: {
|
|
2871
|
+
managementFeeAmount: bigint;
|
|
2872
|
+
}) => void) => () => void;
|
|
2873
|
+
/**
|
|
2874
|
+
* Watch ManagementFeeUpdated events
|
|
2875
|
+
* @param callback Function to call when event is emitted
|
|
2876
|
+
* @param filter Optional filter for indexed parameters
|
|
2877
|
+
* @returns Unwatch function to stop listening
|
|
2878
|
+
*/
|
|
2879
|
+
ManagementFeeUpdated: (callback: (event: {
|
|
2880
|
+
newManagementFeePercent: bigint;
|
|
2881
|
+
}) => void) => () => void;
|
|
2882
|
+
/**
|
|
2883
|
+
* Watch MaxChangePercentUpdated events
|
|
2884
|
+
* @param callback Function to call when event is emitted
|
|
2885
|
+
* @param filter Optional filter for indexed parameters
|
|
2886
|
+
* @returns Unwatch function to stop listening
|
|
2887
|
+
*/
|
|
2888
|
+
MaxChangePercentUpdated: (callback: (event: {
|
|
2889
|
+
newValue: bigint;
|
|
2890
|
+
}) => void) => () => void;
|
|
2891
|
+
/**
|
|
2892
|
+
* Watch OnEmergencyWithdraw events
|
|
2893
|
+
* @param callback Function to call when event is emitted
|
|
2894
|
+
* @param filter Optional filter for indexed parameters
|
|
2895
|
+
* @returns Unwatch function to stop listening
|
|
2896
|
+
*/
|
|
2897
|
+
OnEmergencyWithdraw: (callback: (event: {
|
|
2898
|
+
receiverAddr: `0x${string}`;
|
|
2899
|
+
}) => void) => () => void;
|
|
2900
|
+
/**
|
|
2901
|
+
* Watch OwnershipTransferStarted events
|
|
2902
|
+
* @param callback Function to call when event is emitted
|
|
2903
|
+
* @param filter Optional filter for indexed parameters
|
|
2904
|
+
* @returns Unwatch function to stop listening
|
|
2905
|
+
*/
|
|
2906
|
+
OwnershipTransferStarted: (callback: (event: {
|
|
2907
|
+
previousOwner: `0x${string}`;
|
|
2908
|
+
newOwner: `0x${string}`;
|
|
2909
|
+
}) => void, filter?: {
|
|
2910
|
+
previousOwner: `0x${string}`;
|
|
2911
|
+
newOwner: `0x${string}`;
|
|
2912
|
+
}) => () => void;
|
|
2913
|
+
/**
|
|
2914
|
+
* Watch OwnershipTransferred events
|
|
2915
|
+
* @param callback Function to call when event is emitted
|
|
2916
|
+
* @param filter Optional filter for indexed parameters
|
|
2917
|
+
* @returns Unwatch function to stop listening
|
|
2918
|
+
*/
|
|
2919
|
+
OwnershipTransferred: (callback: (event: {
|
|
2920
|
+
previousOwner: `0x${string}`;
|
|
2921
|
+
newOwner: `0x${string}`;
|
|
2922
|
+
}) => void, filter?: {
|
|
2923
|
+
previousOwner: `0x${string}`;
|
|
2924
|
+
newOwner: `0x${string}`;
|
|
2925
|
+
}) => () => void;
|
|
2926
|
+
/**
|
|
2927
|
+
* Watch SendersWhitelistUpdated events
|
|
2928
|
+
* @param callback Function to call when event is emitted
|
|
2929
|
+
* @param filter Optional filter for indexed parameters
|
|
2930
|
+
* @returns Unwatch function to stop listening
|
|
2931
|
+
*/
|
|
2932
|
+
SendersWhitelistUpdated: (callback: (event: {
|
|
2933
|
+
newWhitelistAddr: `0x${string}`;
|
|
2934
|
+
}) => void) => () => void;
|
|
2935
|
+
/**
|
|
2936
|
+
* Watch SubAccountDisabled events
|
|
2937
|
+
* @param callback Function to call when event is emitted
|
|
2938
|
+
* @param filter Optional filter for indexed parameters
|
|
2939
|
+
* @returns Unwatch function to stop listening
|
|
2940
|
+
*/
|
|
2941
|
+
SubAccountDisabled: (callback: (event: {
|
|
2942
|
+
subAccountAddr: `0x${string}`;
|
|
2943
|
+
}) => void) => () => void;
|
|
2944
|
+
/**
|
|
2945
|
+
* Watch SubAccountEnabled events
|
|
2946
|
+
* @param callback Function to call when event is emitted
|
|
2947
|
+
* @param filter Optional filter for indexed parameters
|
|
2948
|
+
* @returns Unwatch function to stop listening
|
|
2949
|
+
*/
|
|
2950
|
+
SubAccountEnabled: (callback: (event: {
|
|
2951
|
+
subAccountAddr: `0x${string}`;
|
|
2952
|
+
}) => void) => () => void;
|
|
2953
|
+
/**
|
|
2954
|
+
* Watch Withdraw events
|
|
2955
|
+
* @param callback Function to call when event is emitted
|
|
2956
|
+
* @param filter Optional filter for indexed parameters
|
|
2957
|
+
* @returns Unwatch function to stop listening
|
|
2958
|
+
*/
|
|
2959
|
+
Withdraw: (callback: (event: {
|
|
2960
|
+
sender: `0x${string}`;
|
|
2961
|
+
receiver: `0x${string}`;
|
|
2962
|
+
owner: `0x${string}`;
|
|
2963
|
+
assets: bigint;
|
|
2964
|
+
shares: bigint;
|
|
2965
|
+
}) => void, filter?: {
|
|
2966
|
+
sender: `0x${string}`;
|
|
2967
|
+
receiver: `0x${string}`;
|
|
2968
|
+
owner: `0x${string}`;
|
|
2969
|
+
}) => () => void;
|
|
2970
|
+
/**
|
|
2971
|
+
* Watch WithdrawalProcessed 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
|
+
WithdrawalProcessed: (callback: (event: {
|
|
2977
|
+
receiverAddr: `0x${string}`;
|
|
2978
|
+
assetsAmount: bigint;
|
|
2979
|
+
}) => void, filter?: {
|
|
2980
|
+
receiverAddr: `0x${string}`;
|
|
2981
|
+
}) => () => void;
|
|
2982
|
+
/**
|
|
2983
|
+
* Watch WithdrawalRequested events
|
|
2984
|
+
* @param callback Function to call when event is emitted
|
|
2985
|
+
* @param filter Optional filter for indexed parameters
|
|
2986
|
+
* @returns Unwatch function to stop listening
|
|
2987
|
+
*/
|
|
2988
|
+
WithdrawalRequested: (callback: (event: {
|
|
2989
|
+
holderAddr: `0x${string}`;
|
|
2990
|
+
receiverAddr: `0x${string}`;
|
|
2991
|
+
shares: bigint;
|
|
2992
|
+
}) => void, filter?: {
|
|
2993
|
+
holderAddr: `0x${string}`;
|
|
2994
|
+
receiverAddr: `0x${string}`;
|
|
2995
|
+
}) => () => void;
|
|
2996
|
+
};
|
|
2997
|
+
}
|