@gitmyabi/steaketh 1.0.1
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/VaultV2_json.d.ts +4402 -0
- package/contracts/VaultV2_json.js +4774 -0
- package/contracts/VaultV2_json.ts +5828 -0
- package/contracts/index.d.ts +2 -0
- package/contracts/index.js +7 -0
- package/contracts/index.ts +3 -0
- package/index.d.ts +1 -0
- package/index.js +19 -0
- package/package.json +43 -0
|
@@ -0,0 +1,4402 @@
|
|
|
1
|
+
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
|
+
/**
|
|
3
|
+
* VaultV2_json ABI
|
|
4
|
+
*
|
|
5
|
+
* This ABI is typed using viem's type system for full type safety.
|
|
6
|
+
*/
|
|
7
|
+
export declare const VaultV2_jsonAbi: readonly [{
|
|
8
|
+
readonly inputs: readonly [{
|
|
9
|
+
readonly internalType: "address";
|
|
10
|
+
readonly name: "_owner";
|
|
11
|
+
readonly type: "address";
|
|
12
|
+
}, {
|
|
13
|
+
readonly internalType: "address";
|
|
14
|
+
readonly name: "_asset";
|
|
15
|
+
readonly type: "address";
|
|
16
|
+
}];
|
|
17
|
+
readonly stateMutability: "nonpayable";
|
|
18
|
+
readonly type: "constructor";
|
|
19
|
+
}, {
|
|
20
|
+
readonly inputs: readonly [];
|
|
21
|
+
readonly name: "Abdicated";
|
|
22
|
+
readonly type: "error";
|
|
23
|
+
}, {
|
|
24
|
+
readonly inputs: readonly [];
|
|
25
|
+
readonly name: "AbsoluteCapExceeded";
|
|
26
|
+
readonly type: "error";
|
|
27
|
+
}, {
|
|
28
|
+
readonly inputs: readonly [];
|
|
29
|
+
readonly name: "AbsoluteCapNotDecreasing";
|
|
30
|
+
readonly type: "error";
|
|
31
|
+
}, {
|
|
32
|
+
readonly inputs: readonly [];
|
|
33
|
+
readonly name: "AbsoluteCapNotIncreasing";
|
|
34
|
+
readonly type: "error";
|
|
35
|
+
}, {
|
|
36
|
+
readonly inputs: readonly [];
|
|
37
|
+
readonly name: "AutomaticallyTimelocked";
|
|
38
|
+
readonly type: "error";
|
|
39
|
+
}, {
|
|
40
|
+
readonly inputs: readonly [];
|
|
41
|
+
readonly name: "CannotReceiveAssets";
|
|
42
|
+
readonly type: "error";
|
|
43
|
+
}, {
|
|
44
|
+
readonly inputs: readonly [];
|
|
45
|
+
readonly name: "CannotReceiveShares";
|
|
46
|
+
readonly type: "error";
|
|
47
|
+
}, {
|
|
48
|
+
readonly inputs: readonly [];
|
|
49
|
+
readonly name: "CannotSendAssets";
|
|
50
|
+
readonly type: "error";
|
|
51
|
+
}, {
|
|
52
|
+
readonly inputs: readonly [];
|
|
53
|
+
readonly name: "CannotSendShares";
|
|
54
|
+
readonly type: "error";
|
|
55
|
+
}, {
|
|
56
|
+
readonly inputs: readonly [];
|
|
57
|
+
readonly name: "CastOverflow";
|
|
58
|
+
readonly type: "error";
|
|
59
|
+
}, {
|
|
60
|
+
readonly inputs: readonly [];
|
|
61
|
+
readonly name: "DataAlreadyPending";
|
|
62
|
+
readonly type: "error";
|
|
63
|
+
}, {
|
|
64
|
+
readonly inputs: readonly [];
|
|
65
|
+
readonly name: "DataNotTimelocked";
|
|
66
|
+
readonly type: "error";
|
|
67
|
+
}, {
|
|
68
|
+
readonly inputs: readonly [];
|
|
69
|
+
readonly name: "FeeInvariantBroken";
|
|
70
|
+
readonly type: "error";
|
|
71
|
+
}, {
|
|
72
|
+
readonly inputs: readonly [];
|
|
73
|
+
readonly name: "FeeTooHigh";
|
|
74
|
+
readonly type: "error";
|
|
75
|
+
}, {
|
|
76
|
+
readonly inputs: readonly [];
|
|
77
|
+
readonly name: "InvalidSigner";
|
|
78
|
+
readonly type: "error";
|
|
79
|
+
}, {
|
|
80
|
+
readonly inputs: readonly [];
|
|
81
|
+
readonly name: "MaxRateTooHigh";
|
|
82
|
+
readonly type: "error";
|
|
83
|
+
}, {
|
|
84
|
+
readonly inputs: readonly [];
|
|
85
|
+
readonly name: "NoCode";
|
|
86
|
+
readonly type: "error";
|
|
87
|
+
}, {
|
|
88
|
+
readonly inputs: readonly [];
|
|
89
|
+
readonly name: "NotAdapter";
|
|
90
|
+
readonly type: "error";
|
|
91
|
+
}, {
|
|
92
|
+
readonly inputs: readonly [];
|
|
93
|
+
readonly name: "NotInAdapterRegistry";
|
|
94
|
+
readonly type: "error";
|
|
95
|
+
}, {
|
|
96
|
+
readonly inputs: readonly [];
|
|
97
|
+
readonly name: "PenaltyTooHigh";
|
|
98
|
+
readonly type: "error";
|
|
99
|
+
}, {
|
|
100
|
+
readonly inputs: readonly [];
|
|
101
|
+
readonly name: "PermitDeadlineExpired";
|
|
102
|
+
readonly type: "error";
|
|
103
|
+
}, {
|
|
104
|
+
readonly inputs: readonly [];
|
|
105
|
+
readonly name: "RelativeCapAboveOne";
|
|
106
|
+
readonly type: "error";
|
|
107
|
+
}, {
|
|
108
|
+
readonly inputs: readonly [];
|
|
109
|
+
readonly name: "RelativeCapExceeded";
|
|
110
|
+
readonly type: "error";
|
|
111
|
+
}, {
|
|
112
|
+
readonly inputs: readonly [];
|
|
113
|
+
readonly name: "RelativeCapNotDecreasing";
|
|
114
|
+
readonly type: "error";
|
|
115
|
+
}, {
|
|
116
|
+
readonly inputs: readonly [];
|
|
117
|
+
readonly name: "RelativeCapNotIncreasing";
|
|
118
|
+
readonly type: "error";
|
|
119
|
+
}, {
|
|
120
|
+
readonly inputs: readonly [];
|
|
121
|
+
readonly name: "TimelockNotDecreasing";
|
|
122
|
+
readonly type: "error";
|
|
123
|
+
}, {
|
|
124
|
+
readonly inputs: readonly [];
|
|
125
|
+
readonly name: "TimelockNotExpired";
|
|
126
|
+
readonly type: "error";
|
|
127
|
+
}, {
|
|
128
|
+
readonly inputs: readonly [];
|
|
129
|
+
readonly name: "TimelockNotIncreasing";
|
|
130
|
+
readonly type: "error";
|
|
131
|
+
}, {
|
|
132
|
+
readonly inputs: readonly [];
|
|
133
|
+
readonly name: "TransferFromReturnedFalse";
|
|
134
|
+
readonly type: "error";
|
|
135
|
+
}, {
|
|
136
|
+
readonly inputs: readonly [];
|
|
137
|
+
readonly name: "TransferFromReverted";
|
|
138
|
+
readonly type: "error";
|
|
139
|
+
}, {
|
|
140
|
+
readonly inputs: readonly [];
|
|
141
|
+
readonly name: "TransferReturnedFalse";
|
|
142
|
+
readonly type: "error";
|
|
143
|
+
}, {
|
|
144
|
+
readonly inputs: readonly [];
|
|
145
|
+
readonly name: "TransferReverted";
|
|
146
|
+
readonly type: "error";
|
|
147
|
+
}, {
|
|
148
|
+
readonly inputs: readonly [];
|
|
149
|
+
readonly name: "Unauthorized";
|
|
150
|
+
readonly type: "error";
|
|
151
|
+
}, {
|
|
152
|
+
readonly inputs: readonly [];
|
|
153
|
+
readonly name: "ZeroAbsoluteCap";
|
|
154
|
+
readonly type: "error";
|
|
155
|
+
}, {
|
|
156
|
+
readonly inputs: readonly [];
|
|
157
|
+
readonly name: "ZeroAddress";
|
|
158
|
+
readonly type: "error";
|
|
159
|
+
}, {
|
|
160
|
+
readonly inputs: readonly [];
|
|
161
|
+
readonly name: "ZeroAllocation";
|
|
162
|
+
readonly type: "error";
|
|
163
|
+
}, {
|
|
164
|
+
readonly anonymous: false;
|
|
165
|
+
readonly inputs: readonly [{
|
|
166
|
+
readonly indexed: true;
|
|
167
|
+
readonly internalType: "bytes4";
|
|
168
|
+
readonly name: "selector";
|
|
169
|
+
readonly type: "bytes4";
|
|
170
|
+
}];
|
|
171
|
+
readonly name: "Abdicate";
|
|
172
|
+
readonly type: "event";
|
|
173
|
+
}, {
|
|
174
|
+
readonly anonymous: false;
|
|
175
|
+
readonly inputs: readonly [{
|
|
176
|
+
readonly indexed: true;
|
|
177
|
+
readonly internalType: "bytes4";
|
|
178
|
+
readonly name: "selector";
|
|
179
|
+
readonly type: "bytes4";
|
|
180
|
+
}, {
|
|
181
|
+
readonly indexed: false;
|
|
182
|
+
readonly internalType: "bytes";
|
|
183
|
+
readonly name: "data";
|
|
184
|
+
readonly type: "bytes";
|
|
185
|
+
}];
|
|
186
|
+
readonly name: "Accept";
|
|
187
|
+
readonly type: "event";
|
|
188
|
+
}, {
|
|
189
|
+
readonly anonymous: false;
|
|
190
|
+
readonly inputs: readonly [{
|
|
191
|
+
readonly indexed: false;
|
|
192
|
+
readonly internalType: "uint256";
|
|
193
|
+
readonly name: "previousTotalAssets";
|
|
194
|
+
readonly type: "uint256";
|
|
195
|
+
}, {
|
|
196
|
+
readonly indexed: false;
|
|
197
|
+
readonly internalType: "uint256";
|
|
198
|
+
readonly name: "newTotalAssets";
|
|
199
|
+
readonly type: "uint256";
|
|
200
|
+
}, {
|
|
201
|
+
readonly indexed: false;
|
|
202
|
+
readonly internalType: "uint256";
|
|
203
|
+
readonly name: "performanceFeeShares";
|
|
204
|
+
readonly type: "uint256";
|
|
205
|
+
}, {
|
|
206
|
+
readonly indexed: false;
|
|
207
|
+
readonly internalType: "uint256";
|
|
208
|
+
readonly name: "managementFeeShares";
|
|
209
|
+
readonly type: "uint256";
|
|
210
|
+
}];
|
|
211
|
+
readonly name: "AccrueInterest";
|
|
212
|
+
readonly type: "event";
|
|
213
|
+
}, {
|
|
214
|
+
readonly anonymous: false;
|
|
215
|
+
readonly inputs: readonly [{
|
|
216
|
+
readonly indexed: true;
|
|
217
|
+
readonly internalType: "address";
|
|
218
|
+
readonly name: "account";
|
|
219
|
+
readonly type: "address";
|
|
220
|
+
}];
|
|
221
|
+
readonly name: "AddAdapter";
|
|
222
|
+
readonly type: "event";
|
|
223
|
+
}, {
|
|
224
|
+
readonly anonymous: false;
|
|
225
|
+
readonly inputs: readonly [{
|
|
226
|
+
readonly indexed: true;
|
|
227
|
+
readonly internalType: "address";
|
|
228
|
+
readonly name: "sender";
|
|
229
|
+
readonly type: "address";
|
|
230
|
+
}, {
|
|
231
|
+
readonly indexed: true;
|
|
232
|
+
readonly internalType: "address";
|
|
233
|
+
readonly name: "adapter";
|
|
234
|
+
readonly type: "address";
|
|
235
|
+
}, {
|
|
236
|
+
readonly indexed: false;
|
|
237
|
+
readonly internalType: "uint256";
|
|
238
|
+
readonly name: "assets";
|
|
239
|
+
readonly type: "uint256";
|
|
240
|
+
}, {
|
|
241
|
+
readonly indexed: false;
|
|
242
|
+
readonly internalType: "bytes32[]";
|
|
243
|
+
readonly name: "ids";
|
|
244
|
+
readonly type: "bytes32[]";
|
|
245
|
+
}, {
|
|
246
|
+
readonly indexed: false;
|
|
247
|
+
readonly internalType: "int256";
|
|
248
|
+
readonly name: "change";
|
|
249
|
+
readonly type: "int256";
|
|
250
|
+
}];
|
|
251
|
+
readonly name: "Allocate";
|
|
252
|
+
readonly type: "event";
|
|
253
|
+
}, {
|
|
254
|
+
readonly anonymous: false;
|
|
255
|
+
readonly inputs: readonly [{
|
|
256
|
+
readonly indexed: true;
|
|
257
|
+
readonly internalType: "address";
|
|
258
|
+
readonly name: "owner";
|
|
259
|
+
readonly type: "address";
|
|
260
|
+
}, {
|
|
261
|
+
readonly indexed: true;
|
|
262
|
+
readonly internalType: "address";
|
|
263
|
+
readonly name: "spender";
|
|
264
|
+
readonly type: "address";
|
|
265
|
+
}, {
|
|
266
|
+
readonly indexed: false;
|
|
267
|
+
readonly internalType: "uint256";
|
|
268
|
+
readonly name: "shares";
|
|
269
|
+
readonly type: "uint256";
|
|
270
|
+
}];
|
|
271
|
+
readonly name: "AllowanceUpdatedByTransferFrom";
|
|
272
|
+
readonly type: "event";
|
|
273
|
+
}, {
|
|
274
|
+
readonly anonymous: false;
|
|
275
|
+
readonly inputs: readonly [{
|
|
276
|
+
readonly indexed: true;
|
|
277
|
+
readonly internalType: "address";
|
|
278
|
+
readonly name: "owner";
|
|
279
|
+
readonly type: "address";
|
|
280
|
+
}, {
|
|
281
|
+
readonly indexed: true;
|
|
282
|
+
readonly internalType: "address";
|
|
283
|
+
readonly name: "spender";
|
|
284
|
+
readonly type: "address";
|
|
285
|
+
}, {
|
|
286
|
+
readonly indexed: false;
|
|
287
|
+
readonly internalType: "uint256";
|
|
288
|
+
readonly name: "shares";
|
|
289
|
+
readonly type: "uint256";
|
|
290
|
+
}];
|
|
291
|
+
readonly name: "Approval";
|
|
292
|
+
readonly type: "event";
|
|
293
|
+
}, {
|
|
294
|
+
readonly anonymous: false;
|
|
295
|
+
readonly inputs: readonly [{
|
|
296
|
+
readonly indexed: true;
|
|
297
|
+
readonly internalType: "address";
|
|
298
|
+
readonly name: "owner";
|
|
299
|
+
readonly type: "address";
|
|
300
|
+
}, {
|
|
301
|
+
readonly indexed: true;
|
|
302
|
+
readonly internalType: "address";
|
|
303
|
+
readonly name: "asset";
|
|
304
|
+
readonly type: "address";
|
|
305
|
+
}];
|
|
306
|
+
readonly name: "Constructor";
|
|
307
|
+
readonly type: "event";
|
|
308
|
+
}, {
|
|
309
|
+
readonly anonymous: false;
|
|
310
|
+
readonly inputs: readonly [{
|
|
311
|
+
readonly indexed: true;
|
|
312
|
+
readonly internalType: "address";
|
|
313
|
+
readonly name: "sender";
|
|
314
|
+
readonly type: "address";
|
|
315
|
+
}, {
|
|
316
|
+
readonly indexed: true;
|
|
317
|
+
readonly internalType: "address";
|
|
318
|
+
readonly name: "adapter";
|
|
319
|
+
readonly type: "address";
|
|
320
|
+
}, {
|
|
321
|
+
readonly indexed: false;
|
|
322
|
+
readonly internalType: "uint256";
|
|
323
|
+
readonly name: "assets";
|
|
324
|
+
readonly type: "uint256";
|
|
325
|
+
}, {
|
|
326
|
+
readonly indexed: false;
|
|
327
|
+
readonly internalType: "bytes32[]";
|
|
328
|
+
readonly name: "ids";
|
|
329
|
+
readonly type: "bytes32[]";
|
|
330
|
+
}, {
|
|
331
|
+
readonly indexed: false;
|
|
332
|
+
readonly internalType: "int256";
|
|
333
|
+
readonly name: "change";
|
|
334
|
+
readonly type: "int256";
|
|
335
|
+
}];
|
|
336
|
+
readonly name: "Deallocate";
|
|
337
|
+
readonly type: "event";
|
|
338
|
+
}, {
|
|
339
|
+
readonly anonymous: false;
|
|
340
|
+
readonly inputs: readonly [{
|
|
341
|
+
readonly indexed: true;
|
|
342
|
+
readonly internalType: "address";
|
|
343
|
+
readonly name: "sender";
|
|
344
|
+
readonly type: "address";
|
|
345
|
+
}, {
|
|
346
|
+
readonly indexed: true;
|
|
347
|
+
readonly internalType: "bytes32";
|
|
348
|
+
readonly name: "id";
|
|
349
|
+
readonly type: "bytes32";
|
|
350
|
+
}, {
|
|
351
|
+
readonly indexed: false;
|
|
352
|
+
readonly internalType: "bytes";
|
|
353
|
+
readonly name: "idData";
|
|
354
|
+
readonly type: "bytes";
|
|
355
|
+
}, {
|
|
356
|
+
readonly indexed: false;
|
|
357
|
+
readonly internalType: "uint256";
|
|
358
|
+
readonly name: "newAbsoluteCap";
|
|
359
|
+
readonly type: "uint256";
|
|
360
|
+
}];
|
|
361
|
+
readonly name: "DecreaseAbsoluteCap";
|
|
362
|
+
readonly type: "event";
|
|
363
|
+
}, {
|
|
364
|
+
readonly anonymous: false;
|
|
365
|
+
readonly inputs: readonly [{
|
|
366
|
+
readonly indexed: true;
|
|
367
|
+
readonly internalType: "address";
|
|
368
|
+
readonly name: "sender";
|
|
369
|
+
readonly type: "address";
|
|
370
|
+
}, {
|
|
371
|
+
readonly indexed: true;
|
|
372
|
+
readonly internalType: "bytes32";
|
|
373
|
+
readonly name: "id";
|
|
374
|
+
readonly type: "bytes32";
|
|
375
|
+
}, {
|
|
376
|
+
readonly indexed: false;
|
|
377
|
+
readonly internalType: "bytes";
|
|
378
|
+
readonly name: "idData";
|
|
379
|
+
readonly type: "bytes";
|
|
380
|
+
}, {
|
|
381
|
+
readonly indexed: false;
|
|
382
|
+
readonly internalType: "uint256";
|
|
383
|
+
readonly name: "newRelativeCap";
|
|
384
|
+
readonly type: "uint256";
|
|
385
|
+
}];
|
|
386
|
+
readonly name: "DecreaseRelativeCap";
|
|
387
|
+
readonly type: "event";
|
|
388
|
+
}, {
|
|
389
|
+
readonly anonymous: false;
|
|
390
|
+
readonly inputs: readonly [{
|
|
391
|
+
readonly indexed: true;
|
|
392
|
+
readonly internalType: "bytes4";
|
|
393
|
+
readonly name: "selector";
|
|
394
|
+
readonly type: "bytes4";
|
|
395
|
+
}, {
|
|
396
|
+
readonly indexed: false;
|
|
397
|
+
readonly internalType: "uint256";
|
|
398
|
+
readonly name: "newDuration";
|
|
399
|
+
readonly type: "uint256";
|
|
400
|
+
}];
|
|
401
|
+
readonly name: "DecreaseTimelock";
|
|
402
|
+
readonly type: "event";
|
|
403
|
+
}, {
|
|
404
|
+
readonly anonymous: false;
|
|
405
|
+
readonly inputs: readonly [{
|
|
406
|
+
readonly indexed: true;
|
|
407
|
+
readonly internalType: "address";
|
|
408
|
+
readonly name: "sender";
|
|
409
|
+
readonly type: "address";
|
|
410
|
+
}, {
|
|
411
|
+
readonly indexed: true;
|
|
412
|
+
readonly internalType: "address";
|
|
413
|
+
readonly name: "onBehalf";
|
|
414
|
+
readonly type: "address";
|
|
415
|
+
}, {
|
|
416
|
+
readonly indexed: false;
|
|
417
|
+
readonly internalType: "uint256";
|
|
418
|
+
readonly name: "assets";
|
|
419
|
+
readonly type: "uint256";
|
|
420
|
+
}, {
|
|
421
|
+
readonly indexed: false;
|
|
422
|
+
readonly internalType: "uint256";
|
|
423
|
+
readonly name: "shares";
|
|
424
|
+
readonly type: "uint256";
|
|
425
|
+
}];
|
|
426
|
+
readonly name: "Deposit";
|
|
427
|
+
readonly type: "event";
|
|
428
|
+
}, {
|
|
429
|
+
readonly anonymous: false;
|
|
430
|
+
readonly inputs: readonly [{
|
|
431
|
+
readonly indexed: true;
|
|
432
|
+
readonly internalType: "address";
|
|
433
|
+
readonly name: "sender";
|
|
434
|
+
readonly type: "address";
|
|
435
|
+
}, {
|
|
436
|
+
readonly indexed: false;
|
|
437
|
+
readonly internalType: "address";
|
|
438
|
+
readonly name: "adapter";
|
|
439
|
+
readonly type: "address";
|
|
440
|
+
}, {
|
|
441
|
+
readonly indexed: false;
|
|
442
|
+
readonly internalType: "uint256";
|
|
443
|
+
readonly name: "assets";
|
|
444
|
+
readonly type: "uint256";
|
|
445
|
+
}, {
|
|
446
|
+
readonly indexed: true;
|
|
447
|
+
readonly internalType: "address";
|
|
448
|
+
readonly name: "onBehalf";
|
|
449
|
+
readonly type: "address";
|
|
450
|
+
}, {
|
|
451
|
+
readonly indexed: false;
|
|
452
|
+
readonly internalType: "bytes32[]";
|
|
453
|
+
readonly name: "ids";
|
|
454
|
+
readonly type: "bytes32[]";
|
|
455
|
+
}, {
|
|
456
|
+
readonly indexed: false;
|
|
457
|
+
readonly internalType: "uint256";
|
|
458
|
+
readonly name: "penaltyAssets";
|
|
459
|
+
readonly type: "uint256";
|
|
460
|
+
}];
|
|
461
|
+
readonly name: "ForceDeallocate";
|
|
462
|
+
readonly type: "event";
|
|
463
|
+
}, {
|
|
464
|
+
readonly anonymous: false;
|
|
465
|
+
readonly inputs: readonly [{
|
|
466
|
+
readonly indexed: true;
|
|
467
|
+
readonly internalType: "bytes32";
|
|
468
|
+
readonly name: "id";
|
|
469
|
+
readonly type: "bytes32";
|
|
470
|
+
}, {
|
|
471
|
+
readonly indexed: false;
|
|
472
|
+
readonly internalType: "bytes";
|
|
473
|
+
readonly name: "idData";
|
|
474
|
+
readonly type: "bytes";
|
|
475
|
+
}, {
|
|
476
|
+
readonly indexed: false;
|
|
477
|
+
readonly internalType: "uint256";
|
|
478
|
+
readonly name: "newAbsoluteCap";
|
|
479
|
+
readonly type: "uint256";
|
|
480
|
+
}];
|
|
481
|
+
readonly name: "IncreaseAbsoluteCap";
|
|
482
|
+
readonly type: "event";
|
|
483
|
+
}, {
|
|
484
|
+
readonly anonymous: false;
|
|
485
|
+
readonly inputs: readonly [{
|
|
486
|
+
readonly indexed: true;
|
|
487
|
+
readonly internalType: "bytes32";
|
|
488
|
+
readonly name: "id";
|
|
489
|
+
readonly type: "bytes32";
|
|
490
|
+
}, {
|
|
491
|
+
readonly indexed: false;
|
|
492
|
+
readonly internalType: "bytes";
|
|
493
|
+
readonly name: "idData";
|
|
494
|
+
readonly type: "bytes";
|
|
495
|
+
}, {
|
|
496
|
+
readonly indexed: false;
|
|
497
|
+
readonly internalType: "uint256";
|
|
498
|
+
readonly name: "newRelativeCap";
|
|
499
|
+
readonly type: "uint256";
|
|
500
|
+
}];
|
|
501
|
+
readonly name: "IncreaseRelativeCap";
|
|
502
|
+
readonly type: "event";
|
|
503
|
+
}, {
|
|
504
|
+
readonly anonymous: false;
|
|
505
|
+
readonly inputs: readonly [{
|
|
506
|
+
readonly indexed: true;
|
|
507
|
+
readonly internalType: "bytes4";
|
|
508
|
+
readonly name: "selector";
|
|
509
|
+
readonly type: "bytes4";
|
|
510
|
+
}, {
|
|
511
|
+
readonly indexed: false;
|
|
512
|
+
readonly internalType: "uint256";
|
|
513
|
+
readonly name: "newDuration";
|
|
514
|
+
readonly type: "uint256";
|
|
515
|
+
}];
|
|
516
|
+
readonly name: "IncreaseTimelock";
|
|
517
|
+
readonly type: "event";
|
|
518
|
+
}, {
|
|
519
|
+
readonly anonymous: false;
|
|
520
|
+
readonly inputs: readonly [{
|
|
521
|
+
readonly indexed: true;
|
|
522
|
+
readonly internalType: "address";
|
|
523
|
+
readonly name: "owner";
|
|
524
|
+
readonly type: "address";
|
|
525
|
+
}, {
|
|
526
|
+
readonly indexed: true;
|
|
527
|
+
readonly internalType: "address";
|
|
528
|
+
readonly name: "spender";
|
|
529
|
+
readonly type: "address";
|
|
530
|
+
}, {
|
|
531
|
+
readonly indexed: false;
|
|
532
|
+
readonly internalType: "uint256";
|
|
533
|
+
readonly name: "shares";
|
|
534
|
+
readonly type: "uint256";
|
|
535
|
+
}, {
|
|
536
|
+
readonly indexed: false;
|
|
537
|
+
readonly internalType: "uint256";
|
|
538
|
+
readonly name: "nonce";
|
|
539
|
+
readonly type: "uint256";
|
|
540
|
+
}, {
|
|
541
|
+
readonly indexed: false;
|
|
542
|
+
readonly internalType: "uint256";
|
|
543
|
+
readonly name: "deadline";
|
|
544
|
+
readonly type: "uint256";
|
|
545
|
+
}];
|
|
546
|
+
readonly name: "Permit";
|
|
547
|
+
readonly type: "event";
|
|
548
|
+
}, {
|
|
549
|
+
readonly anonymous: false;
|
|
550
|
+
readonly inputs: readonly [{
|
|
551
|
+
readonly indexed: true;
|
|
552
|
+
readonly internalType: "address";
|
|
553
|
+
readonly name: "account";
|
|
554
|
+
readonly type: "address";
|
|
555
|
+
}];
|
|
556
|
+
readonly name: "RemoveAdapter";
|
|
557
|
+
readonly type: "event";
|
|
558
|
+
}, {
|
|
559
|
+
readonly anonymous: false;
|
|
560
|
+
readonly inputs: readonly [{
|
|
561
|
+
readonly indexed: true;
|
|
562
|
+
readonly internalType: "address";
|
|
563
|
+
readonly name: "sender";
|
|
564
|
+
readonly type: "address";
|
|
565
|
+
}, {
|
|
566
|
+
readonly indexed: true;
|
|
567
|
+
readonly internalType: "bytes4";
|
|
568
|
+
readonly name: "selector";
|
|
569
|
+
readonly type: "bytes4";
|
|
570
|
+
}, {
|
|
571
|
+
readonly indexed: false;
|
|
572
|
+
readonly internalType: "bytes";
|
|
573
|
+
readonly name: "data";
|
|
574
|
+
readonly type: "bytes";
|
|
575
|
+
}];
|
|
576
|
+
readonly name: "Revoke";
|
|
577
|
+
readonly type: "event";
|
|
578
|
+
}, {
|
|
579
|
+
readonly anonymous: false;
|
|
580
|
+
readonly inputs: readonly [{
|
|
581
|
+
readonly indexed: true;
|
|
582
|
+
readonly internalType: "address";
|
|
583
|
+
readonly name: "newAdapterRegistry";
|
|
584
|
+
readonly type: "address";
|
|
585
|
+
}];
|
|
586
|
+
readonly name: "SetAdapterRegistry";
|
|
587
|
+
readonly type: "event";
|
|
588
|
+
}, {
|
|
589
|
+
readonly anonymous: false;
|
|
590
|
+
readonly inputs: readonly [{
|
|
591
|
+
readonly indexed: true;
|
|
592
|
+
readonly internalType: "address";
|
|
593
|
+
readonly name: "newCurator";
|
|
594
|
+
readonly type: "address";
|
|
595
|
+
}];
|
|
596
|
+
readonly name: "SetCurator";
|
|
597
|
+
readonly type: "event";
|
|
598
|
+
}, {
|
|
599
|
+
readonly anonymous: false;
|
|
600
|
+
readonly inputs: readonly [{
|
|
601
|
+
readonly indexed: true;
|
|
602
|
+
readonly internalType: "address";
|
|
603
|
+
readonly name: "adapter";
|
|
604
|
+
readonly type: "address";
|
|
605
|
+
}, {
|
|
606
|
+
readonly indexed: false;
|
|
607
|
+
readonly internalType: "uint256";
|
|
608
|
+
readonly name: "forceDeallocatePenalty";
|
|
609
|
+
readonly type: "uint256";
|
|
610
|
+
}];
|
|
611
|
+
readonly name: "SetForceDeallocatePenalty";
|
|
612
|
+
readonly type: "event";
|
|
613
|
+
}, {
|
|
614
|
+
readonly anonymous: false;
|
|
615
|
+
readonly inputs: readonly [{
|
|
616
|
+
readonly indexed: true;
|
|
617
|
+
readonly internalType: "address";
|
|
618
|
+
readonly name: "account";
|
|
619
|
+
readonly type: "address";
|
|
620
|
+
}, {
|
|
621
|
+
readonly indexed: false;
|
|
622
|
+
readonly internalType: "bool";
|
|
623
|
+
readonly name: "newIsAllocator";
|
|
624
|
+
readonly type: "bool";
|
|
625
|
+
}];
|
|
626
|
+
readonly name: "SetIsAllocator";
|
|
627
|
+
readonly type: "event";
|
|
628
|
+
}, {
|
|
629
|
+
readonly anonymous: false;
|
|
630
|
+
readonly inputs: readonly [{
|
|
631
|
+
readonly indexed: true;
|
|
632
|
+
readonly internalType: "address";
|
|
633
|
+
readonly name: "account";
|
|
634
|
+
readonly type: "address";
|
|
635
|
+
}, {
|
|
636
|
+
readonly indexed: false;
|
|
637
|
+
readonly internalType: "bool";
|
|
638
|
+
readonly name: "newIsSentinel";
|
|
639
|
+
readonly type: "bool";
|
|
640
|
+
}];
|
|
641
|
+
readonly name: "SetIsSentinel";
|
|
642
|
+
readonly type: "event";
|
|
643
|
+
}, {
|
|
644
|
+
readonly anonymous: false;
|
|
645
|
+
readonly inputs: readonly [{
|
|
646
|
+
readonly indexed: true;
|
|
647
|
+
readonly internalType: "address";
|
|
648
|
+
readonly name: "sender";
|
|
649
|
+
readonly type: "address";
|
|
650
|
+
}, {
|
|
651
|
+
readonly indexed: true;
|
|
652
|
+
readonly internalType: "address";
|
|
653
|
+
readonly name: "newLiquidityAdapter";
|
|
654
|
+
readonly type: "address";
|
|
655
|
+
}, {
|
|
656
|
+
readonly indexed: true;
|
|
657
|
+
readonly internalType: "bytes";
|
|
658
|
+
readonly name: "newLiquidityData";
|
|
659
|
+
readonly type: "bytes";
|
|
660
|
+
}];
|
|
661
|
+
readonly name: "SetLiquidityAdapterAndData";
|
|
662
|
+
readonly type: "event";
|
|
663
|
+
}, {
|
|
664
|
+
readonly anonymous: false;
|
|
665
|
+
readonly inputs: readonly [{
|
|
666
|
+
readonly indexed: false;
|
|
667
|
+
readonly internalType: "uint256";
|
|
668
|
+
readonly name: "newManagementFee";
|
|
669
|
+
readonly type: "uint256";
|
|
670
|
+
}];
|
|
671
|
+
readonly name: "SetManagementFee";
|
|
672
|
+
readonly type: "event";
|
|
673
|
+
}, {
|
|
674
|
+
readonly anonymous: false;
|
|
675
|
+
readonly inputs: readonly [{
|
|
676
|
+
readonly indexed: true;
|
|
677
|
+
readonly internalType: "address";
|
|
678
|
+
readonly name: "newManagementFeeRecipient";
|
|
679
|
+
readonly type: "address";
|
|
680
|
+
}];
|
|
681
|
+
readonly name: "SetManagementFeeRecipient";
|
|
682
|
+
readonly type: "event";
|
|
683
|
+
}, {
|
|
684
|
+
readonly anonymous: false;
|
|
685
|
+
readonly inputs: readonly [{
|
|
686
|
+
readonly indexed: false;
|
|
687
|
+
readonly internalType: "uint256";
|
|
688
|
+
readonly name: "newMaxRate";
|
|
689
|
+
readonly type: "uint256";
|
|
690
|
+
}];
|
|
691
|
+
readonly name: "SetMaxRate";
|
|
692
|
+
readonly type: "event";
|
|
693
|
+
}, {
|
|
694
|
+
readonly anonymous: false;
|
|
695
|
+
readonly inputs: readonly [{
|
|
696
|
+
readonly indexed: false;
|
|
697
|
+
readonly internalType: "string";
|
|
698
|
+
readonly name: "newName";
|
|
699
|
+
readonly type: "string";
|
|
700
|
+
}];
|
|
701
|
+
readonly name: "SetName";
|
|
702
|
+
readonly type: "event";
|
|
703
|
+
}, {
|
|
704
|
+
readonly anonymous: false;
|
|
705
|
+
readonly inputs: readonly [{
|
|
706
|
+
readonly indexed: true;
|
|
707
|
+
readonly internalType: "address";
|
|
708
|
+
readonly name: "newOwner";
|
|
709
|
+
readonly type: "address";
|
|
710
|
+
}];
|
|
711
|
+
readonly name: "SetOwner";
|
|
712
|
+
readonly type: "event";
|
|
713
|
+
}, {
|
|
714
|
+
readonly anonymous: false;
|
|
715
|
+
readonly inputs: readonly [{
|
|
716
|
+
readonly indexed: false;
|
|
717
|
+
readonly internalType: "uint256";
|
|
718
|
+
readonly name: "newPerformanceFee";
|
|
719
|
+
readonly type: "uint256";
|
|
720
|
+
}];
|
|
721
|
+
readonly name: "SetPerformanceFee";
|
|
722
|
+
readonly type: "event";
|
|
723
|
+
}, {
|
|
724
|
+
readonly anonymous: false;
|
|
725
|
+
readonly inputs: readonly [{
|
|
726
|
+
readonly indexed: true;
|
|
727
|
+
readonly internalType: "address";
|
|
728
|
+
readonly name: "newPerformanceFeeRecipient";
|
|
729
|
+
readonly type: "address";
|
|
730
|
+
}];
|
|
731
|
+
readonly name: "SetPerformanceFeeRecipient";
|
|
732
|
+
readonly type: "event";
|
|
733
|
+
}, {
|
|
734
|
+
readonly anonymous: false;
|
|
735
|
+
readonly inputs: readonly [{
|
|
736
|
+
readonly indexed: true;
|
|
737
|
+
readonly internalType: "address";
|
|
738
|
+
readonly name: "newReceiveAssetsGate";
|
|
739
|
+
readonly type: "address";
|
|
740
|
+
}];
|
|
741
|
+
readonly name: "SetReceiveAssetsGate";
|
|
742
|
+
readonly type: "event";
|
|
743
|
+
}, {
|
|
744
|
+
readonly anonymous: false;
|
|
745
|
+
readonly inputs: readonly [{
|
|
746
|
+
readonly indexed: true;
|
|
747
|
+
readonly internalType: "address";
|
|
748
|
+
readonly name: "newReceiveSharesGate";
|
|
749
|
+
readonly type: "address";
|
|
750
|
+
}];
|
|
751
|
+
readonly name: "SetReceiveSharesGate";
|
|
752
|
+
readonly type: "event";
|
|
753
|
+
}, {
|
|
754
|
+
readonly anonymous: false;
|
|
755
|
+
readonly inputs: readonly [{
|
|
756
|
+
readonly indexed: true;
|
|
757
|
+
readonly internalType: "address";
|
|
758
|
+
readonly name: "newSendAssetsGate";
|
|
759
|
+
readonly type: "address";
|
|
760
|
+
}];
|
|
761
|
+
readonly name: "SetSendAssetsGate";
|
|
762
|
+
readonly type: "event";
|
|
763
|
+
}, {
|
|
764
|
+
readonly anonymous: false;
|
|
765
|
+
readonly inputs: readonly [{
|
|
766
|
+
readonly indexed: true;
|
|
767
|
+
readonly internalType: "address";
|
|
768
|
+
readonly name: "newSendSharesGate";
|
|
769
|
+
readonly type: "address";
|
|
770
|
+
}];
|
|
771
|
+
readonly name: "SetSendSharesGate";
|
|
772
|
+
readonly type: "event";
|
|
773
|
+
}, {
|
|
774
|
+
readonly anonymous: false;
|
|
775
|
+
readonly inputs: readonly [{
|
|
776
|
+
readonly indexed: false;
|
|
777
|
+
readonly internalType: "string";
|
|
778
|
+
readonly name: "newSymbol";
|
|
779
|
+
readonly type: "string";
|
|
780
|
+
}];
|
|
781
|
+
readonly name: "SetSymbol";
|
|
782
|
+
readonly type: "event";
|
|
783
|
+
}, {
|
|
784
|
+
readonly anonymous: false;
|
|
785
|
+
readonly inputs: readonly [{
|
|
786
|
+
readonly indexed: true;
|
|
787
|
+
readonly internalType: "bytes4";
|
|
788
|
+
readonly name: "selector";
|
|
789
|
+
readonly type: "bytes4";
|
|
790
|
+
}, {
|
|
791
|
+
readonly indexed: false;
|
|
792
|
+
readonly internalType: "bytes";
|
|
793
|
+
readonly name: "data";
|
|
794
|
+
readonly type: "bytes";
|
|
795
|
+
}, {
|
|
796
|
+
readonly indexed: false;
|
|
797
|
+
readonly internalType: "uint256";
|
|
798
|
+
readonly name: "executableAt";
|
|
799
|
+
readonly type: "uint256";
|
|
800
|
+
}];
|
|
801
|
+
readonly name: "Submit";
|
|
802
|
+
readonly type: "event";
|
|
803
|
+
}, {
|
|
804
|
+
readonly anonymous: false;
|
|
805
|
+
readonly inputs: readonly [{
|
|
806
|
+
readonly indexed: true;
|
|
807
|
+
readonly internalType: "address";
|
|
808
|
+
readonly name: "from";
|
|
809
|
+
readonly type: "address";
|
|
810
|
+
}, {
|
|
811
|
+
readonly indexed: true;
|
|
812
|
+
readonly internalType: "address";
|
|
813
|
+
readonly name: "to";
|
|
814
|
+
readonly type: "address";
|
|
815
|
+
}, {
|
|
816
|
+
readonly indexed: false;
|
|
817
|
+
readonly internalType: "uint256";
|
|
818
|
+
readonly name: "shares";
|
|
819
|
+
readonly type: "uint256";
|
|
820
|
+
}];
|
|
821
|
+
readonly name: "Transfer";
|
|
822
|
+
readonly type: "event";
|
|
823
|
+
}, {
|
|
824
|
+
readonly anonymous: false;
|
|
825
|
+
readonly inputs: readonly [{
|
|
826
|
+
readonly indexed: true;
|
|
827
|
+
readonly internalType: "address";
|
|
828
|
+
readonly name: "sender";
|
|
829
|
+
readonly type: "address";
|
|
830
|
+
}, {
|
|
831
|
+
readonly indexed: true;
|
|
832
|
+
readonly internalType: "address";
|
|
833
|
+
readonly name: "receiver";
|
|
834
|
+
readonly type: "address";
|
|
835
|
+
}, {
|
|
836
|
+
readonly indexed: true;
|
|
837
|
+
readonly internalType: "address";
|
|
838
|
+
readonly name: "onBehalf";
|
|
839
|
+
readonly type: "address";
|
|
840
|
+
}, {
|
|
841
|
+
readonly indexed: false;
|
|
842
|
+
readonly internalType: "uint256";
|
|
843
|
+
readonly name: "assets";
|
|
844
|
+
readonly type: "uint256";
|
|
845
|
+
}, {
|
|
846
|
+
readonly indexed: false;
|
|
847
|
+
readonly internalType: "uint256";
|
|
848
|
+
readonly name: "shares";
|
|
849
|
+
readonly type: "uint256";
|
|
850
|
+
}];
|
|
851
|
+
readonly name: "Withdraw";
|
|
852
|
+
readonly type: "event";
|
|
853
|
+
}, {
|
|
854
|
+
readonly inputs: readonly [];
|
|
855
|
+
readonly name: "DOMAIN_SEPARATOR";
|
|
856
|
+
readonly outputs: readonly [{
|
|
857
|
+
readonly internalType: "bytes32";
|
|
858
|
+
readonly name: "";
|
|
859
|
+
readonly type: "bytes32";
|
|
860
|
+
}];
|
|
861
|
+
readonly stateMutability: "view";
|
|
862
|
+
readonly type: "function";
|
|
863
|
+
}, {
|
|
864
|
+
readonly inputs: readonly [];
|
|
865
|
+
readonly name: "_totalAssets";
|
|
866
|
+
readonly outputs: readonly [{
|
|
867
|
+
readonly internalType: "uint128";
|
|
868
|
+
readonly name: "";
|
|
869
|
+
readonly type: "uint128";
|
|
870
|
+
}];
|
|
871
|
+
readonly stateMutability: "view";
|
|
872
|
+
readonly type: "function";
|
|
873
|
+
}, {
|
|
874
|
+
readonly inputs: readonly [{
|
|
875
|
+
readonly internalType: "bytes4";
|
|
876
|
+
readonly name: "selector";
|
|
877
|
+
readonly type: "bytes4";
|
|
878
|
+
}];
|
|
879
|
+
readonly name: "abdicate";
|
|
880
|
+
readonly outputs: readonly [];
|
|
881
|
+
readonly stateMutability: "nonpayable";
|
|
882
|
+
readonly type: "function";
|
|
883
|
+
}, {
|
|
884
|
+
readonly inputs: readonly [{
|
|
885
|
+
readonly internalType: "bytes4";
|
|
886
|
+
readonly name: "selector";
|
|
887
|
+
readonly type: "bytes4";
|
|
888
|
+
}];
|
|
889
|
+
readonly name: "abdicated";
|
|
890
|
+
readonly outputs: readonly [{
|
|
891
|
+
readonly internalType: "bool";
|
|
892
|
+
readonly name: "";
|
|
893
|
+
readonly type: "bool";
|
|
894
|
+
}];
|
|
895
|
+
readonly stateMutability: "view";
|
|
896
|
+
readonly type: "function";
|
|
897
|
+
}, {
|
|
898
|
+
readonly inputs: readonly [{
|
|
899
|
+
readonly internalType: "bytes32";
|
|
900
|
+
readonly name: "id";
|
|
901
|
+
readonly type: "bytes32";
|
|
902
|
+
}];
|
|
903
|
+
readonly name: "absoluteCap";
|
|
904
|
+
readonly outputs: readonly [{
|
|
905
|
+
readonly internalType: "uint256";
|
|
906
|
+
readonly name: "";
|
|
907
|
+
readonly type: "uint256";
|
|
908
|
+
}];
|
|
909
|
+
readonly stateMutability: "view";
|
|
910
|
+
readonly type: "function";
|
|
911
|
+
}, {
|
|
912
|
+
readonly inputs: readonly [];
|
|
913
|
+
readonly name: "accrueInterest";
|
|
914
|
+
readonly outputs: readonly [];
|
|
915
|
+
readonly stateMutability: "nonpayable";
|
|
916
|
+
readonly type: "function";
|
|
917
|
+
}, {
|
|
918
|
+
readonly inputs: readonly [];
|
|
919
|
+
readonly name: "accrueInterestView";
|
|
920
|
+
readonly outputs: readonly [{
|
|
921
|
+
readonly internalType: "uint256";
|
|
922
|
+
readonly name: "";
|
|
923
|
+
readonly type: "uint256";
|
|
924
|
+
}, {
|
|
925
|
+
readonly internalType: "uint256";
|
|
926
|
+
readonly name: "";
|
|
927
|
+
readonly type: "uint256";
|
|
928
|
+
}, {
|
|
929
|
+
readonly internalType: "uint256";
|
|
930
|
+
readonly name: "";
|
|
931
|
+
readonly type: "uint256";
|
|
932
|
+
}];
|
|
933
|
+
readonly stateMutability: "view";
|
|
934
|
+
readonly type: "function";
|
|
935
|
+
}, {
|
|
936
|
+
readonly inputs: readonly [];
|
|
937
|
+
readonly name: "adapterRegistry";
|
|
938
|
+
readonly outputs: readonly [{
|
|
939
|
+
readonly internalType: "address";
|
|
940
|
+
readonly name: "";
|
|
941
|
+
readonly type: "address";
|
|
942
|
+
}];
|
|
943
|
+
readonly stateMutability: "view";
|
|
944
|
+
readonly type: "function";
|
|
945
|
+
}, {
|
|
946
|
+
readonly inputs: readonly [{
|
|
947
|
+
readonly internalType: "uint256";
|
|
948
|
+
readonly name: "";
|
|
949
|
+
readonly type: "uint256";
|
|
950
|
+
}];
|
|
951
|
+
readonly name: "adapters";
|
|
952
|
+
readonly outputs: readonly [{
|
|
953
|
+
readonly internalType: "address";
|
|
954
|
+
readonly name: "";
|
|
955
|
+
readonly type: "address";
|
|
956
|
+
}];
|
|
957
|
+
readonly stateMutability: "view";
|
|
958
|
+
readonly type: "function";
|
|
959
|
+
}, {
|
|
960
|
+
readonly inputs: readonly [];
|
|
961
|
+
readonly name: "adaptersLength";
|
|
962
|
+
readonly outputs: readonly [{
|
|
963
|
+
readonly internalType: "uint256";
|
|
964
|
+
readonly name: "";
|
|
965
|
+
readonly type: "uint256";
|
|
966
|
+
}];
|
|
967
|
+
readonly stateMutability: "view";
|
|
968
|
+
readonly type: "function";
|
|
969
|
+
}, {
|
|
970
|
+
readonly inputs: readonly [{
|
|
971
|
+
readonly internalType: "address";
|
|
972
|
+
readonly name: "account";
|
|
973
|
+
readonly type: "address";
|
|
974
|
+
}];
|
|
975
|
+
readonly name: "addAdapter";
|
|
976
|
+
readonly outputs: readonly [];
|
|
977
|
+
readonly stateMutability: "nonpayable";
|
|
978
|
+
readonly type: "function";
|
|
979
|
+
}, {
|
|
980
|
+
readonly inputs: readonly [{
|
|
981
|
+
readonly internalType: "address";
|
|
982
|
+
readonly name: "adapter";
|
|
983
|
+
readonly type: "address";
|
|
984
|
+
}, {
|
|
985
|
+
readonly internalType: "bytes";
|
|
986
|
+
readonly name: "data";
|
|
987
|
+
readonly type: "bytes";
|
|
988
|
+
}, {
|
|
989
|
+
readonly internalType: "uint256";
|
|
990
|
+
readonly name: "assets";
|
|
991
|
+
readonly type: "uint256";
|
|
992
|
+
}];
|
|
993
|
+
readonly name: "allocate";
|
|
994
|
+
readonly outputs: readonly [];
|
|
995
|
+
readonly stateMutability: "nonpayable";
|
|
996
|
+
readonly type: "function";
|
|
997
|
+
}, {
|
|
998
|
+
readonly inputs: readonly [{
|
|
999
|
+
readonly internalType: "bytes32";
|
|
1000
|
+
readonly name: "id";
|
|
1001
|
+
readonly type: "bytes32";
|
|
1002
|
+
}];
|
|
1003
|
+
readonly name: "allocation";
|
|
1004
|
+
readonly outputs: readonly [{
|
|
1005
|
+
readonly internalType: "uint256";
|
|
1006
|
+
readonly name: "";
|
|
1007
|
+
readonly type: "uint256";
|
|
1008
|
+
}];
|
|
1009
|
+
readonly stateMutability: "view";
|
|
1010
|
+
readonly type: "function";
|
|
1011
|
+
}, {
|
|
1012
|
+
readonly inputs: readonly [{
|
|
1013
|
+
readonly internalType: "address";
|
|
1014
|
+
readonly name: "owner";
|
|
1015
|
+
readonly type: "address";
|
|
1016
|
+
}, {
|
|
1017
|
+
readonly internalType: "address";
|
|
1018
|
+
readonly name: "spender";
|
|
1019
|
+
readonly type: "address";
|
|
1020
|
+
}];
|
|
1021
|
+
readonly name: "allowance";
|
|
1022
|
+
readonly outputs: readonly [{
|
|
1023
|
+
readonly internalType: "uint256";
|
|
1024
|
+
readonly name: "";
|
|
1025
|
+
readonly type: "uint256";
|
|
1026
|
+
}];
|
|
1027
|
+
readonly stateMutability: "view";
|
|
1028
|
+
readonly type: "function";
|
|
1029
|
+
}, {
|
|
1030
|
+
readonly inputs: readonly [{
|
|
1031
|
+
readonly internalType: "address";
|
|
1032
|
+
readonly name: "spender";
|
|
1033
|
+
readonly type: "address";
|
|
1034
|
+
}, {
|
|
1035
|
+
readonly internalType: "uint256";
|
|
1036
|
+
readonly name: "shares";
|
|
1037
|
+
readonly type: "uint256";
|
|
1038
|
+
}];
|
|
1039
|
+
readonly name: "approve";
|
|
1040
|
+
readonly outputs: readonly [{
|
|
1041
|
+
readonly internalType: "bool";
|
|
1042
|
+
readonly name: "";
|
|
1043
|
+
readonly type: "bool";
|
|
1044
|
+
}];
|
|
1045
|
+
readonly stateMutability: "nonpayable";
|
|
1046
|
+
readonly type: "function";
|
|
1047
|
+
}, {
|
|
1048
|
+
readonly inputs: readonly [];
|
|
1049
|
+
readonly name: "asset";
|
|
1050
|
+
readonly outputs: readonly [{
|
|
1051
|
+
readonly internalType: "address";
|
|
1052
|
+
readonly name: "";
|
|
1053
|
+
readonly type: "address";
|
|
1054
|
+
}];
|
|
1055
|
+
readonly stateMutability: "view";
|
|
1056
|
+
readonly type: "function";
|
|
1057
|
+
}, {
|
|
1058
|
+
readonly inputs: readonly [{
|
|
1059
|
+
readonly internalType: "address";
|
|
1060
|
+
readonly name: "account";
|
|
1061
|
+
readonly type: "address";
|
|
1062
|
+
}];
|
|
1063
|
+
readonly name: "balanceOf";
|
|
1064
|
+
readonly outputs: readonly [{
|
|
1065
|
+
readonly internalType: "uint256";
|
|
1066
|
+
readonly name: "";
|
|
1067
|
+
readonly type: "uint256";
|
|
1068
|
+
}];
|
|
1069
|
+
readonly stateMutability: "view";
|
|
1070
|
+
readonly type: "function";
|
|
1071
|
+
}, {
|
|
1072
|
+
readonly inputs: readonly [{
|
|
1073
|
+
readonly internalType: "address";
|
|
1074
|
+
readonly name: "account";
|
|
1075
|
+
readonly type: "address";
|
|
1076
|
+
}];
|
|
1077
|
+
readonly name: "canReceiveAssets";
|
|
1078
|
+
readonly outputs: readonly [{
|
|
1079
|
+
readonly internalType: "bool";
|
|
1080
|
+
readonly name: "";
|
|
1081
|
+
readonly type: "bool";
|
|
1082
|
+
}];
|
|
1083
|
+
readonly stateMutability: "view";
|
|
1084
|
+
readonly type: "function";
|
|
1085
|
+
}, {
|
|
1086
|
+
readonly inputs: readonly [{
|
|
1087
|
+
readonly internalType: "address";
|
|
1088
|
+
readonly name: "account";
|
|
1089
|
+
readonly type: "address";
|
|
1090
|
+
}];
|
|
1091
|
+
readonly name: "canReceiveShares";
|
|
1092
|
+
readonly outputs: readonly [{
|
|
1093
|
+
readonly internalType: "bool";
|
|
1094
|
+
readonly name: "";
|
|
1095
|
+
readonly type: "bool";
|
|
1096
|
+
}];
|
|
1097
|
+
readonly stateMutability: "view";
|
|
1098
|
+
readonly type: "function";
|
|
1099
|
+
}, {
|
|
1100
|
+
readonly inputs: readonly [{
|
|
1101
|
+
readonly internalType: "address";
|
|
1102
|
+
readonly name: "account";
|
|
1103
|
+
readonly type: "address";
|
|
1104
|
+
}];
|
|
1105
|
+
readonly name: "canSendAssets";
|
|
1106
|
+
readonly outputs: readonly [{
|
|
1107
|
+
readonly internalType: "bool";
|
|
1108
|
+
readonly name: "";
|
|
1109
|
+
readonly type: "bool";
|
|
1110
|
+
}];
|
|
1111
|
+
readonly stateMutability: "view";
|
|
1112
|
+
readonly type: "function";
|
|
1113
|
+
}, {
|
|
1114
|
+
readonly inputs: readonly [{
|
|
1115
|
+
readonly internalType: "address";
|
|
1116
|
+
readonly name: "account";
|
|
1117
|
+
readonly type: "address";
|
|
1118
|
+
}];
|
|
1119
|
+
readonly name: "canSendShares";
|
|
1120
|
+
readonly outputs: readonly [{
|
|
1121
|
+
readonly internalType: "bool";
|
|
1122
|
+
readonly name: "";
|
|
1123
|
+
readonly type: "bool";
|
|
1124
|
+
}];
|
|
1125
|
+
readonly stateMutability: "view";
|
|
1126
|
+
readonly type: "function";
|
|
1127
|
+
}, {
|
|
1128
|
+
readonly inputs: readonly [{
|
|
1129
|
+
readonly internalType: "uint256";
|
|
1130
|
+
readonly name: "shares";
|
|
1131
|
+
readonly type: "uint256";
|
|
1132
|
+
}];
|
|
1133
|
+
readonly name: "convertToAssets";
|
|
1134
|
+
readonly outputs: readonly [{
|
|
1135
|
+
readonly internalType: "uint256";
|
|
1136
|
+
readonly name: "";
|
|
1137
|
+
readonly type: "uint256";
|
|
1138
|
+
}];
|
|
1139
|
+
readonly stateMutability: "view";
|
|
1140
|
+
readonly type: "function";
|
|
1141
|
+
}, {
|
|
1142
|
+
readonly inputs: readonly [{
|
|
1143
|
+
readonly internalType: "uint256";
|
|
1144
|
+
readonly name: "assets";
|
|
1145
|
+
readonly type: "uint256";
|
|
1146
|
+
}];
|
|
1147
|
+
readonly name: "convertToShares";
|
|
1148
|
+
readonly outputs: readonly [{
|
|
1149
|
+
readonly internalType: "uint256";
|
|
1150
|
+
readonly name: "";
|
|
1151
|
+
readonly type: "uint256";
|
|
1152
|
+
}];
|
|
1153
|
+
readonly stateMutability: "view";
|
|
1154
|
+
readonly type: "function";
|
|
1155
|
+
}, {
|
|
1156
|
+
readonly inputs: readonly [];
|
|
1157
|
+
readonly name: "curator";
|
|
1158
|
+
readonly outputs: readonly [{
|
|
1159
|
+
readonly internalType: "address";
|
|
1160
|
+
readonly name: "";
|
|
1161
|
+
readonly type: "address";
|
|
1162
|
+
}];
|
|
1163
|
+
readonly stateMutability: "view";
|
|
1164
|
+
readonly type: "function";
|
|
1165
|
+
}, {
|
|
1166
|
+
readonly inputs: readonly [{
|
|
1167
|
+
readonly internalType: "address";
|
|
1168
|
+
readonly name: "adapter";
|
|
1169
|
+
readonly type: "address";
|
|
1170
|
+
}, {
|
|
1171
|
+
readonly internalType: "bytes";
|
|
1172
|
+
readonly name: "data";
|
|
1173
|
+
readonly type: "bytes";
|
|
1174
|
+
}, {
|
|
1175
|
+
readonly internalType: "uint256";
|
|
1176
|
+
readonly name: "assets";
|
|
1177
|
+
readonly type: "uint256";
|
|
1178
|
+
}];
|
|
1179
|
+
readonly name: "deallocate";
|
|
1180
|
+
readonly outputs: readonly [];
|
|
1181
|
+
readonly stateMutability: "nonpayable";
|
|
1182
|
+
readonly type: "function";
|
|
1183
|
+
}, {
|
|
1184
|
+
readonly inputs: readonly [];
|
|
1185
|
+
readonly name: "decimals";
|
|
1186
|
+
readonly outputs: readonly [{
|
|
1187
|
+
readonly internalType: "uint8";
|
|
1188
|
+
readonly name: "";
|
|
1189
|
+
readonly type: "uint8";
|
|
1190
|
+
}];
|
|
1191
|
+
readonly stateMutability: "view";
|
|
1192
|
+
readonly type: "function";
|
|
1193
|
+
}, {
|
|
1194
|
+
readonly inputs: readonly [{
|
|
1195
|
+
readonly internalType: "bytes";
|
|
1196
|
+
readonly name: "idData";
|
|
1197
|
+
readonly type: "bytes";
|
|
1198
|
+
}, {
|
|
1199
|
+
readonly internalType: "uint256";
|
|
1200
|
+
readonly name: "newAbsoluteCap";
|
|
1201
|
+
readonly type: "uint256";
|
|
1202
|
+
}];
|
|
1203
|
+
readonly name: "decreaseAbsoluteCap";
|
|
1204
|
+
readonly outputs: readonly [];
|
|
1205
|
+
readonly stateMutability: "nonpayable";
|
|
1206
|
+
readonly type: "function";
|
|
1207
|
+
}, {
|
|
1208
|
+
readonly inputs: readonly [{
|
|
1209
|
+
readonly internalType: "bytes";
|
|
1210
|
+
readonly name: "idData";
|
|
1211
|
+
readonly type: "bytes";
|
|
1212
|
+
}, {
|
|
1213
|
+
readonly internalType: "uint256";
|
|
1214
|
+
readonly name: "newRelativeCap";
|
|
1215
|
+
readonly type: "uint256";
|
|
1216
|
+
}];
|
|
1217
|
+
readonly name: "decreaseRelativeCap";
|
|
1218
|
+
readonly outputs: readonly [];
|
|
1219
|
+
readonly stateMutability: "nonpayable";
|
|
1220
|
+
readonly type: "function";
|
|
1221
|
+
}, {
|
|
1222
|
+
readonly inputs: readonly [{
|
|
1223
|
+
readonly internalType: "bytes4";
|
|
1224
|
+
readonly name: "selector";
|
|
1225
|
+
readonly type: "bytes4";
|
|
1226
|
+
}, {
|
|
1227
|
+
readonly internalType: "uint256";
|
|
1228
|
+
readonly name: "newDuration";
|
|
1229
|
+
readonly type: "uint256";
|
|
1230
|
+
}];
|
|
1231
|
+
readonly name: "decreaseTimelock";
|
|
1232
|
+
readonly outputs: readonly [];
|
|
1233
|
+
readonly stateMutability: "nonpayable";
|
|
1234
|
+
readonly type: "function";
|
|
1235
|
+
}, {
|
|
1236
|
+
readonly inputs: readonly [{
|
|
1237
|
+
readonly internalType: "uint256";
|
|
1238
|
+
readonly name: "assets";
|
|
1239
|
+
readonly type: "uint256";
|
|
1240
|
+
}, {
|
|
1241
|
+
readonly internalType: "address";
|
|
1242
|
+
readonly name: "onBehalf";
|
|
1243
|
+
readonly type: "address";
|
|
1244
|
+
}];
|
|
1245
|
+
readonly name: "deposit";
|
|
1246
|
+
readonly outputs: readonly [{
|
|
1247
|
+
readonly internalType: "uint256";
|
|
1248
|
+
readonly name: "";
|
|
1249
|
+
readonly type: "uint256";
|
|
1250
|
+
}];
|
|
1251
|
+
readonly stateMutability: "nonpayable";
|
|
1252
|
+
readonly type: "function";
|
|
1253
|
+
}, {
|
|
1254
|
+
readonly inputs: readonly [{
|
|
1255
|
+
readonly internalType: "bytes";
|
|
1256
|
+
readonly name: "data";
|
|
1257
|
+
readonly type: "bytes";
|
|
1258
|
+
}];
|
|
1259
|
+
readonly name: "executableAt";
|
|
1260
|
+
readonly outputs: readonly [{
|
|
1261
|
+
readonly internalType: "uint256";
|
|
1262
|
+
readonly name: "";
|
|
1263
|
+
readonly type: "uint256";
|
|
1264
|
+
}];
|
|
1265
|
+
readonly stateMutability: "view";
|
|
1266
|
+
readonly type: "function";
|
|
1267
|
+
}, {
|
|
1268
|
+
readonly inputs: readonly [];
|
|
1269
|
+
readonly name: "firstTotalAssets";
|
|
1270
|
+
readonly outputs: readonly [{
|
|
1271
|
+
readonly internalType: "uint256";
|
|
1272
|
+
readonly name: "";
|
|
1273
|
+
readonly type: "uint256";
|
|
1274
|
+
}];
|
|
1275
|
+
readonly stateMutability: "view";
|
|
1276
|
+
readonly type: "function";
|
|
1277
|
+
}, {
|
|
1278
|
+
readonly inputs: readonly [{
|
|
1279
|
+
readonly internalType: "address";
|
|
1280
|
+
readonly name: "adapter";
|
|
1281
|
+
readonly type: "address";
|
|
1282
|
+
}, {
|
|
1283
|
+
readonly internalType: "bytes";
|
|
1284
|
+
readonly name: "data";
|
|
1285
|
+
readonly type: "bytes";
|
|
1286
|
+
}, {
|
|
1287
|
+
readonly internalType: "uint256";
|
|
1288
|
+
readonly name: "assets";
|
|
1289
|
+
readonly type: "uint256";
|
|
1290
|
+
}, {
|
|
1291
|
+
readonly internalType: "address";
|
|
1292
|
+
readonly name: "onBehalf";
|
|
1293
|
+
readonly type: "address";
|
|
1294
|
+
}];
|
|
1295
|
+
readonly name: "forceDeallocate";
|
|
1296
|
+
readonly outputs: readonly [{
|
|
1297
|
+
readonly internalType: "uint256";
|
|
1298
|
+
readonly name: "";
|
|
1299
|
+
readonly type: "uint256";
|
|
1300
|
+
}];
|
|
1301
|
+
readonly stateMutability: "nonpayable";
|
|
1302
|
+
readonly type: "function";
|
|
1303
|
+
}, {
|
|
1304
|
+
readonly inputs: readonly [{
|
|
1305
|
+
readonly internalType: "address";
|
|
1306
|
+
readonly name: "adapter";
|
|
1307
|
+
readonly type: "address";
|
|
1308
|
+
}];
|
|
1309
|
+
readonly name: "forceDeallocatePenalty";
|
|
1310
|
+
readonly outputs: readonly [{
|
|
1311
|
+
readonly internalType: "uint256";
|
|
1312
|
+
readonly name: "";
|
|
1313
|
+
readonly type: "uint256";
|
|
1314
|
+
}];
|
|
1315
|
+
readonly stateMutability: "view";
|
|
1316
|
+
readonly type: "function";
|
|
1317
|
+
}, {
|
|
1318
|
+
readonly inputs: readonly [{
|
|
1319
|
+
readonly internalType: "bytes";
|
|
1320
|
+
readonly name: "idData";
|
|
1321
|
+
readonly type: "bytes";
|
|
1322
|
+
}, {
|
|
1323
|
+
readonly internalType: "uint256";
|
|
1324
|
+
readonly name: "newAbsoluteCap";
|
|
1325
|
+
readonly type: "uint256";
|
|
1326
|
+
}];
|
|
1327
|
+
readonly name: "increaseAbsoluteCap";
|
|
1328
|
+
readonly outputs: readonly [];
|
|
1329
|
+
readonly stateMutability: "nonpayable";
|
|
1330
|
+
readonly type: "function";
|
|
1331
|
+
}, {
|
|
1332
|
+
readonly inputs: readonly [{
|
|
1333
|
+
readonly internalType: "bytes";
|
|
1334
|
+
readonly name: "idData";
|
|
1335
|
+
readonly type: "bytes";
|
|
1336
|
+
}, {
|
|
1337
|
+
readonly internalType: "uint256";
|
|
1338
|
+
readonly name: "newRelativeCap";
|
|
1339
|
+
readonly type: "uint256";
|
|
1340
|
+
}];
|
|
1341
|
+
readonly name: "increaseRelativeCap";
|
|
1342
|
+
readonly outputs: readonly [];
|
|
1343
|
+
readonly stateMutability: "nonpayable";
|
|
1344
|
+
readonly type: "function";
|
|
1345
|
+
}, {
|
|
1346
|
+
readonly inputs: readonly [{
|
|
1347
|
+
readonly internalType: "bytes4";
|
|
1348
|
+
readonly name: "selector";
|
|
1349
|
+
readonly type: "bytes4";
|
|
1350
|
+
}, {
|
|
1351
|
+
readonly internalType: "uint256";
|
|
1352
|
+
readonly name: "newDuration";
|
|
1353
|
+
readonly type: "uint256";
|
|
1354
|
+
}];
|
|
1355
|
+
readonly name: "increaseTimelock";
|
|
1356
|
+
readonly outputs: readonly [];
|
|
1357
|
+
readonly stateMutability: "nonpayable";
|
|
1358
|
+
readonly type: "function";
|
|
1359
|
+
}, {
|
|
1360
|
+
readonly inputs: readonly [{
|
|
1361
|
+
readonly internalType: "address";
|
|
1362
|
+
readonly name: "account";
|
|
1363
|
+
readonly type: "address";
|
|
1364
|
+
}];
|
|
1365
|
+
readonly name: "isAdapter";
|
|
1366
|
+
readonly outputs: readonly [{
|
|
1367
|
+
readonly internalType: "bool";
|
|
1368
|
+
readonly name: "";
|
|
1369
|
+
readonly type: "bool";
|
|
1370
|
+
}];
|
|
1371
|
+
readonly stateMutability: "view";
|
|
1372
|
+
readonly type: "function";
|
|
1373
|
+
}, {
|
|
1374
|
+
readonly inputs: readonly [{
|
|
1375
|
+
readonly internalType: "address";
|
|
1376
|
+
readonly name: "account";
|
|
1377
|
+
readonly type: "address";
|
|
1378
|
+
}];
|
|
1379
|
+
readonly name: "isAllocator";
|
|
1380
|
+
readonly outputs: readonly [{
|
|
1381
|
+
readonly internalType: "bool";
|
|
1382
|
+
readonly name: "";
|
|
1383
|
+
readonly type: "bool";
|
|
1384
|
+
}];
|
|
1385
|
+
readonly stateMutability: "view";
|
|
1386
|
+
readonly type: "function";
|
|
1387
|
+
}, {
|
|
1388
|
+
readonly inputs: readonly [{
|
|
1389
|
+
readonly internalType: "address";
|
|
1390
|
+
readonly name: "account";
|
|
1391
|
+
readonly type: "address";
|
|
1392
|
+
}];
|
|
1393
|
+
readonly name: "isSentinel";
|
|
1394
|
+
readonly outputs: readonly [{
|
|
1395
|
+
readonly internalType: "bool";
|
|
1396
|
+
readonly name: "";
|
|
1397
|
+
readonly type: "bool";
|
|
1398
|
+
}];
|
|
1399
|
+
readonly stateMutability: "view";
|
|
1400
|
+
readonly type: "function";
|
|
1401
|
+
}, {
|
|
1402
|
+
readonly inputs: readonly [];
|
|
1403
|
+
readonly name: "lastUpdate";
|
|
1404
|
+
readonly outputs: readonly [{
|
|
1405
|
+
readonly internalType: "uint64";
|
|
1406
|
+
readonly name: "";
|
|
1407
|
+
readonly type: "uint64";
|
|
1408
|
+
}];
|
|
1409
|
+
readonly stateMutability: "view";
|
|
1410
|
+
readonly type: "function";
|
|
1411
|
+
}, {
|
|
1412
|
+
readonly inputs: readonly [];
|
|
1413
|
+
readonly name: "liquidityAdapter";
|
|
1414
|
+
readonly outputs: readonly [{
|
|
1415
|
+
readonly internalType: "address";
|
|
1416
|
+
readonly name: "";
|
|
1417
|
+
readonly type: "address";
|
|
1418
|
+
}];
|
|
1419
|
+
readonly stateMutability: "view";
|
|
1420
|
+
readonly type: "function";
|
|
1421
|
+
}, {
|
|
1422
|
+
readonly inputs: readonly [];
|
|
1423
|
+
readonly name: "liquidityData";
|
|
1424
|
+
readonly outputs: readonly [{
|
|
1425
|
+
readonly internalType: "bytes";
|
|
1426
|
+
readonly name: "";
|
|
1427
|
+
readonly type: "bytes";
|
|
1428
|
+
}];
|
|
1429
|
+
readonly stateMutability: "view";
|
|
1430
|
+
readonly type: "function";
|
|
1431
|
+
}, {
|
|
1432
|
+
readonly inputs: readonly [];
|
|
1433
|
+
readonly name: "managementFee";
|
|
1434
|
+
readonly outputs: readonly [{
|
|
1435
|
+
readonly internalType: "uint96";
|
|
1436
|
+
readonly name: "";
|
|
1437
|
+
readonly type: "uint96";
|
|
1438
|
+
}];
|
|
1439
|
+
readonly stateMutability: "view";
|
|
1440
|
+
readonly type: "function";
|
|
1441
|
+
}, {
|
|
1442
|
+
readonly inputs: readonly [];
|
|
1443
|
+
readonly name: "managementFeeRecipient";
|
|
1444
|
+
readonly outputs: readonly [{
|
|
1445
|
+
readonly internalType: "address";
|
|
1446
|
+
readonly name: "";
|
|
1447
|
+
readonly type: "address";
|
|
1448
|
+
}];
|
|
1449
|
+
readonly stateMutability: "view";
|
|
1450
|
+
readonly type: "function";
|
|
1451
|
+
}, {
|
|
1452
|
+
readonly inputs: readonly [{
|
|
1453
|
+
readonly internalType: "address";
|
|
1454
|
+
readonly name: "";
|
|
1455
|
+
readonly type: "address";
|
|
1456
|
+
}];
|
|
1457
|
+
readonly name: "maxDeposit";
|
|
1458
|
+
readonly outputs: readonly [{
|
|
1459
|
+
readonly internalType: "uint256";
|
|
1460
|
+
readonly name: "";
|
|
1461
|
+
readonly type: "uint256";
|
|
1462
|
+
}];
|
|
1463
|
+
readonly stateMutability: "pure";
|
|
1464
|
+
readonly type: "function";
|
|
1465
|
+
}, {
|
|
1466
|
+
readonly inputs: readonly [{
|
|
1467
|
+
readonly internalType: "address";
|
|
1468
|
+
readonly name: "";
|
|
1469
|
+
readonly type: "address";
|
|
1470
|
+
}];
|
|
1471
|
+
readonly name: "maxMint";
|
|
1472
|
+
readonly outputs: readonly [{
|
|
1473
|
+
readonly internalType: "uint256";
|
|
1474
|
+
readonly name: "";
|
|
1475
|
+
readonly type: "uint256";
|
|
1476
|
+
}];
|
|
1477
|
+
readonly stateMutability: "pure";
|
|
1478
|
+
readonly type: "function";
|
|
1479
|
+
}, {
|
|
1480
|
+
readonly inputs: readonly [];
|
|
1481
|
+
readonly name: "maxRate";
|
|
1482
|
+
readonly outputs: readonly [{
|
|
1483
|
+
readonly internalType: "uint64";
|
|
1484
|
+
readonly name: "";
|
|
1485
|
+
readonly type: "uint64";
|
|
1486
|
+
}];
|
|
1487
|
+
readonly stateMutability: "view";
|
|
1488
|
+
readonly type: "function";
|
|
1489
|
+
}, {
|
|
1490
|
+
readonly inputs: readonly [{
|
|
1491
|
+
readonly internalType: "address";
|
|
1492
|
+
readonly name: "";
|
|
1493
|
+
readonly type: "address";
|
|
1494
|
+
}];
|
|
1495
|
+
readonly name: "maxRedeem";
|
|
1496
|
+
readonly outputs: readonly [{
|
|
1497
|
+
readonly internalType: "uint256";
|
|
1498
|
+
readonly name: "";
|
|
1499
|
+
readonly type: "uint256";
|
|
1500
|
+
}];
|
|
1501
|
+
readonly stateMutability: "pure";
|
|
1502
|
+
readonly type: "function";
|
|
1503
|
+
}, {
|
|
1504
|
+
readonly inputs: readonly [{
|
|
1505
|
+
readonly internalType: "address";
|
|
1506
|
+
readonly name: "";
|
|
1507
|
+
readonly type: "address";
|
|
1508
|
+
}];
|
|
1509
|
+
readonly name: "maxWithdraw";
|
|
1510
|
+
readonly outputs: readonly [{
|
|
1511
|
+
readonly internalType: "uint256";
|
|
1512
|
+
readonly name: "";
|
|
1513
|
+
readonly type: "uint256";
|
|
1514
|
+
}];
|
|
1515
|
+
readonly stateMutability: "pure";
|
|
1516
|
+
readonly type: "function";
|
|
1517
|
+
}, {
|
|
1518
|
+
readonly inputs: readonly [{
|
|
1519
|
+
readonly internalType: "uint256";
|
|
1520
|
+
readonly name: "shares";
|
|
1521
|
+
readonly type: "uint256";
|
|
1522
|
+
}, {
|
|
1523
|
+
readonly internalType: "address";
|
|
1524
|
+
readonly name: "onBehalf";
|
|
1525
|
+
readonly type: "address";
|
|
1526
|
+
}];
|
|
1527
|
+
readonly name: "mint";
|
|
1528
|
+
readonly outputs: readonly [{
|
|
1529
|
+
readonly internalType: "uint256";
|
|
1530
|
+
readonly name: "";
|
|
1531
|
+
readonly type: "uint256";
|
|
1532
|
+
}];
|
|
1533
|
+
readonly stateMutability: "nonpayable";
|
|
1534
|
+
readonly type: "function";
|
|
1535
|
+
}, {
|
|
1536
|
+
readonly inputs: readonly [{
|
|
1537
|
+
readonly internalType: "bytes[]";
|
|
1538
|
+
readonly name: "data";
|
|
1539
|
+
readonly type: "bytes[]";
|
|
1540
|
+
}];
|
|
1541
|
+
readonly name: "multicall";
|
|
1542
|
+
readonly outputs: readonly [];
|
|
1543
|
+
readonly stateMutability: "nonpayable";
|
|
1544
|
+
readonly type: "function";
|
|
1545
|
+
}, {
|
|
1546
|
+
readonly inputs: readonly [];
|
|
1547
|
+
readonly name: "name";
|
|
1548
|
+
readonly outputs: readonly [{
|
|
1549
|
+
readonly internalType: "string";
|
|
1550
|
+
readonly name: "";
|
|
1551
|
+
readonly type: "string";
|
|
1552
|
+
}];
|
|
1553
|
+
readonly stateMutability: "view";
|
|
1554
|
+
readonly type: "function";
|
|
1555
|
+
}, {
|
|
1556
|
+
readonly inputs: readonly [{
|
|
1557
|
+
readonly internalType: "address";
|
|
1558
|
+
readonly name: "account";
|
|
1559
|
+
readonly type: "address";
|
|
1560
|
+
}];
|
|
1561
|
+
readonly name: "nonces";
|
|
1562
|
+
readonly outputs: readonly [{
|
|
1563
|
+
readonly internalType: "uint256";
|
|
1564
|
+
readonly name: "";
|
|
1565
|
+
readonly type: "uint256";
|
|
1566
|
+
}];
|
|
1567
|
+
readonly stateMutability: "view";
|
|
1568
|
+
readonly type: "function";
|
|
1569
|
+
}, {
|
|
1570
|
+
readonly inputs: readonly [];
|
|
1571
|
+
readonly name: "owner";
|
|
1572
|
+
readonly outputs: readonly [{
|
|
1573
|
+
readonly internalType: "address";
|
|
1574
|
+
readonly name: "";
|
|
1575
|
+
readonly type: "address";
|
|
1576
|
+
}];
|
|
1577
|
+
readonly stateMutability: "view";
|
|
1578
|
+
readonly type: "function";
|
|
1579
|
+
}, {
|
|
1580
|
+
readonly inputs: readonly [];
|
|
1581
|
+
readonly name: "performanceFee";
|
|
1582
|
+
readonly outputs: readonly [{
|
|
1583
|
+
readonly internalType: "uint96";
|
|
1584
|
+
readonly name: "";
|
|
1585
|
+
readonly type: "uint96";
|
|
1586
|
+
}];
|
|
1587
|
+
readonly stateMutability: "view";
|
|
1588
|
+
readonly type: "function";
|
|
1589
|
+
}, {
|
|
1590
|
+
readonly inputs: readonly [];
|
|
1591
|
+
readonly name: "performanceFeeRecipient";
|
|
1592
|
+
readonly outputs: readonly [{
|
|
1593
|
+
readonly internalType: "address";
|
|
1594
|
+
readonly name: "";
|
|
1595
|
+
readonly type: "address";
|
|
1596
|
+
}];
|
|
1597
|
+
readonly stateMutability: "view";
|
|
1598
|
+
readonly type: "function";
|
|
1599
|
+
}, {
|
|
1600
|
+
readonly inputs: readonly [{
|
|
1601
|
+
readonly internalType: "address";
|
|
1602
|
+
readonly name: "_owner";
|
|
1603
|
+
readonly type: "address";
|
|
1604
|
+
}, {
|
|
1605
|
+
readonly internalType: "address";
|
|
1606
|
+
readonly name: "spender";
|
|
1607
|
+
readonly type: "address";
|
|
1608
|
+
}, {
|
|
1609
|
+
readonly internalType: "uint256";
|
|
1610
|
+
readonly name: "shares";
|
|
1611
|
+
readonly type: "uint256";
|
|
1612
|
+
}, {
|
|
1613
|
+
readonly internalType: "uint256";
|
|
1614
|
+
readonly name: "deadline";
|
|
1615
|
+
readonly type: "uint256";
|
|
1616
|
+
}, {
|
|
1617
|
+
readonly internalType: "uint8";
|
|
1618
|
+
readonly name: "v";
|
|
1619
|
+
readonly type: "uint8";
|
|
1620
|
+
}, {
|
|
1621
|
+
readonly internalType: "bytes32";
|
|
1622
|
+
readonly name: "r";
|
|
1623
|
+
readonly type: "bytes32";
|
|
1624
|
+
}, {
|
|
1625
|
+
readonly internalType: "bytes32";
|
|
1626
|
+
readonly name: "s";
|
|
1627
|
+
readonly type: "bytes32";
|
|
1628
|
+
}];
|
|
1629
|
+
readonly name: "permit";
|
|
1630
|
+
readonly outputs: readonly [];
|
|
1631
|
+
readonly stateMutability: "nonpayable";
|
|
1632
|
+
readonly type: "function";
|
|
1633
|
+
}, {
|
|
1634
|
+
readonly inputs: readonly [{
|
|
1635
|
+
readonly internalType: "uint256";
|
|
1636
|
+
readonly name: "assets";
|
|
1637
|
+
readonly type: "uint256";
|
|
1638
|
+
}];
|
|
1639
|
+
readonly name: "previewDeposit";
|
|
1640
|
+
readonly outputs: readonly [{
|
|
1641
|
+
readonly internalType: "uint256";
|
|
1642
|
+
readonly name: "";
|
|
1643
|
+
readonly type: "uint256";
|
|
1644
|
+
}];
|
|
1645
|
+
readonly stateMutability: "view";
|
|
1646
|
+
readonly type: "function";
|
|
1647
|
+
}, {
|
|
1648
|
+
readonly inputs: readonly [{
|
|
1649
|
+
readonly internalType: "uint256";
|
|
1650
|
+
readonly name: "shares";
|
|
1651
|
+
readonly type: "uint256";
|
|
1652
|
+
}];
|
|
1653
|
+
readonly name: "previewMint";
|
|
1654
|
+
readonly outputs: readonly [{
|
|
1655
|
+
readonly internalType: "uint256";
|
|
1656
|
+
readonly name: "";
|
|
1657
|
+
readonly type: "uint256";
|
|
1658
|
+
}];
|
|
1659
|
+
readonly stateMutability: "view";
|
|
1660
|
+
readonly type: "function";
|
|
1661
|
+
}, {
|
|
1662
|
+
readonly inputs: readonly [{
|
|
1663
|
+
readonly internalType: "uint256";
|
|
1664
|
+
readonly name: "shares";
|
|
1665
|
+
readonly type: "uint256";
|
|
1666
|
+
}];
|
|
1667
|
+
readonly name: "previewRedeem";
|
|
1668
|
+
readonly outputs: readonly [{
|
|
1669
|
+
readonly internalType: "uint256";
|
|
1670
|
+
readonly name: "";
|
|
1671
|
+
readonly type: "uint256";
|
|
1672
|
+
}];
|
|
1673
|
+
readonly stateMutability: "view";
|
|
1674
|
+
readonly type: "function";
|
|
1675
|
+
}, {
|
|
1676
|
+
readonly inputs: readonly [{
|
|
1677
|
+
readonly internalType: "uint256";
|
|
1678
|
+
readonly name: "assets";
|
|
1679
|
+
readonly type: "uint256";
|
|
1680
|
+
}];
|
|
1681
|
+
readonly name: "previewWithdraw";
|
|
1682
|
+
readonly outputs: readonly [{
|
|
1683
|
+
readonly internalType: "uint256";
|
|
1684
|
+
readonly name: "";
|
|
1685
|
+
readonly type: "uint256";
|
|
1686
|
+
}];
|
|
1687
|
+
readonly stateMutability: "view";
|
|
1688
|
+
readonly type: "function";
|
|
1689
|
+
}, {
|
|
1690
|
+
readonly inputs: readonly [];
|
|
1691
|
+
readonly name: "receiveAssetsGate";
|
|
1692
|
+
readonly outputs: readonly [{
|
|
1693
|
+
readonly internalType: "address";
|
|
1694
|
+
readonly name: "";
|
|
1695
|
+
readonly type: "address";
|
|
1696
|
+
}];
|
|
1697
|
+
readonly stateMutability: "view";
|
|
1698
|
+
readonly type: "function";
|
|
1699
|
+
}, {
|
|
1700
|
+
readonly inputs: readonly [];
|
|
1701
|
+
readonly name: "receiveSharesGate";
|
|
1702
|
+
readonly outputs: readonly [{
|
|
1703
|
+
readonly internalType: "address";
|
|
1704
|
+
readonly name: "";
|
|
1705
|
+
readonly type: "address";
|
|
1706
|
+
}];
|
|
1707
|
+
readonly stateMutability: "view";
|
|
1708
|
+
readonly type: "function";
|
|
1709
|
+
}, {
|
|
1710
|
+
readonly inputs: readonly [{
|
|
1711
|
+
readonly internalType: "uint256";
|
|
1712
|
+
readonly name: "shares";
|
|
1713
|
+
readonly type: "uint256";
|
|
1714
|
+
}, {
|
|
1715
|
+
readonly internalType: "address";
|
|
1716
|
+
readonly name: "receiver";
|
|
1717
|
+
readonly type: "address";
|
|
1718
|
+
}, {
|
|
1719
|
+
readonly internalType: "address";
|
|
1720
|
+
readonly name: "onBehalf";
|
|
1721
|
+
readonly type: "address";
|
|
1722
|
+
}];
|
|
1723
|
+
readonly name: "redeem";
|
|
1724
|
+
readonly outputs: readonly [{
|
|
1725
|
+
readonly internalType: "uint256";
|
|
1726
|
+
readonly name: "";
|
|
1727
|
+
readonly type: "uint256";
|
|
1728
|
+
}];
|
|
1729
|
+
readonly stateMutability: "nonpayable";
|
|
1730
|
+
readonly type: "function";
|
|
1731
|
+
}, {
|
|
1732
|
+
readonly inputs: readonly [{
|
|
1733
|
+
readonly internalType: "bytes32";
|
|
1734
|
+
readonly name: "id";
|
|
1735
|
+
readonly type: "bytes32";
|
|
1736
|
+
}];
|
|
1737
|
+
readonly name: "relativeCap";
|
|
1738
|
+
readonly outputs: readonly [{
|
|
1739
|
+
readonly internalType: "uint256";
|
|
1740
|
+
readonly name: "";
|
|
1741
|
+
readonly type: "uint256";
|
|
1742
|
+
}];
|
|
1743
|
+
readonly stateMutability: "view";
|
|
1744
|
+
readonly type: "function";
|
|
1745
|
+
}, {
|
|
1746
|
+
readonly inputs: readonly [{
|
|
1747
|
+
readonly internalType: "address";
|
|
1748
|
+
readonly name: "account";
|
|
1749
|
+
readonly type: "address";
|
|
1750
|
+
}];
|
|
1751
|
+
readonly name: "removeAdapter";
|
|
1752
|
+
readonly outputs: readonly [];
|
|
1753
|
+
readonly stateMutability: "nonpayable";
|
|
1754
|
+
readonly type: "function";
|
|
1755
|
+
}, {
|
|
1756
|
+
readonly inputs: readonly [{
|
|
1757
|
+
readonly internalType: "bytes";
|
|
1758
|
+
readonly name: "data";
|
|
1759
|
+
readonly type: "bytes";
|
|
1760
|
+
}];
|
|
1761
|
+
readonly name: "revoke";
|
|
1762
|
+
readonly outputs: readonly [];
|
|
1763
|
+
readonly stateMutability: "nonpayable";
|
|
1764
|
+
readonly type: "function";
|
|
1765
|
+
}, {
|
|
1766
|
+
readonly inputs: readonly [];
|
|
1767
|
+
readonly name: "sendAssetsGate";
|
|
1768
|
+
readonly outputs: readonly [{
|
|
1769
|
+
readonly internalType: "address";
|
|
1770
|
+
readonly name: "";
|
|
1771
|
+
readonly type: "address";
|
|
1772
|
+
}];
|
|
1773
|
+
readonly stateMutability: "view";
|
|
1774
|
+
readonly type: "function";
|
|
1775
|
+
}, {
|
|
1776
|
+
readonly inputs: readonly [];
|
|
1777
|
+
readonly name: "sendSharesGate";
|
|
1778
|
+
readonly outputs: readonly [{
|
|
1779
|
+
readonly internalType: "address";
|
|
1780
|
+
readonly name: "";
|
|
1781
|
+
readonly type: "address";
|
|
1782
|
+
}];
|
|
1783
|
+
readonly stateMutability: "view";
|
|
1784
|
+
readonly type: "function";
|
|
1785
|
+
}, {
|
|
1786
|
+
readonly inputs: readonly [{
|
|
1787
|
+
readonly internalType: "address";
|
|
1788
|
+
readonly name: "newAdapterRegistry";
|
|
1789
|
+
readonly type: "address";
|
|
1790
|
+
}];
|
|
1791
|
+
readonly name: "setAdapterRegistry";
|
|
1792
|
+
readonly outputs: readonly [];
|
|
1793
|
+
readonly stateMutability: "nonpayable";
|
|
1794
|
+
readonly type: "function";
|
|
1795
|
+
}, {
|
|
1796
|
+
readonly inputs: readonly [{
|
|
1797
|
+
readonly internalType: "address";
|
|
1798
|
+
readonly name: "newCurator";
|
|
1799
|
+
readonly type: "address";
|
|
1800
|
+
}];
|
|
1801
|
+
readonly name: "setCurator";
|
|
1802
|
+
readonly outputs: readonly [];
|
|
1803
|
+
readonly stateMutability: "nonpayable";
|
|
1804
|
+
readonly type: "function";
|
|
1805
|
+
}, {
|
|
1806
|
+
readonly inputs: readonly [{
|
|
1807
|
+
readonly internalType: "address";
|
|
1808
|
+
readonly name: "adapter";
|
|
1809
|
+
readonly type: "address";
|
|
1810
|
+
}, {
|
|
1811
|
+
readonly internalType: "uint256";
|
|
1812
|
+
readonly name: "newForceDeallocatePenalty";
|
|
1813
|
+
readonly type: "uint256";
|
|
1814
|
+
}];
|
|
1815
|
+
readonly name: "setForceDeallocatePenalty";
|
|
1816
|
+
readonly outputs: readonly [];
|
|
1817
|
+
readonly stateMutability: "nonpayable";
|
|
1818
|
+
readonly type: "function";
|
|
1819
|
+
}, {
|
|
1820
|
+
readonly inputs: readonly [{
|
|
1821
|
+
readonly internalType: "address";
|
|
1822
|
+
readonly name: "account";
|
|
1823
|
+
readonly type: "address";
|
|
1824
|
+
}, {
|
|
1825
|
+
readonly internalType: "bool";
|
|
1826
|
+
readonly name: "newIsAllocator";
|
|
1827
|
+
readonly type: "bool";
|
|
1828
|
+
}];
|
|
1829
|
+
readonly name: "setIsAllocator";
|
|
1830
|
+
readonly outputs: readonly [];
|
|
1831
|
+
readonly stateMutability: "nonpayable";
|
|
1832
|
+
readonly type: "function";
|
|
1833
|
+
}, {
|
|
1834
|
+
readonly inputs: readonly [{
|
|
1835
|
+
readonly internalType: "address";
|
|
1836
|
+
readonly name: "account";
|
|
1837
|
+
readonly type: "address";
|
|
1838
|
+
}, {
|
|
1839
|
+
readonly internalType: "bool";
|
|
1840
|
+
readonly name: "newIsSentinel";
|
|
1841
|
+
readonly type: "bool";
|
|
1842
|
+
}];
|
|
1843
|
+
readonly name: "setIsSentinel";
|
|
1844
|
+
readonly outputs: readonly [];
|
|
1845
|
+
readonly stateMutability: "nonpayable";
|
|
1846
|
+
readonly type: "function";
|
|
1847
|
+
}, {
|
|
1848
|
+
readonly inputs: readonly [{
|
|
1849
|
+
readonly internalType: "address";
|
|
1850
|
+
readonly name: "newLiquidityAdapter";
|
|
1851
|
+
readonly type: "address";
|
|
1852
|
+
}, {
|
|
1853
|
+
readonly internalType: "bytes";
|
|
1854
|
+
readonly name: "newLiquidityData";
|
|
1855
|
+
readonly type: "bytes";
|
|
1856
|
+
}];
|
|
1857
|
+
readonly name: "setLiquidityAdapterAndData";
|
|
1858
|
+
readonly outputs: readonly [];
|
|
1859
|
+
readonly stateMutability: "nonpayable";
|
|
1860
|
+
readonly type: "function";
|
|
1861
|
+
}, {
|
|
1862
|
+
readonly inputs: readonly [{
|
|
1863
|
+
readonly internalType: "uint256";
|
|
1864
|
+
readonly name: "newManagementFee";
|
|
1865
|
+
readonly type: "uint256";
|
|
1866
|
+
}];
|
|
1867
|
+
readonly name: "setManagementFee";
|
|
1868
|
+
readonly outputs: readonly [];
|
|
1869
|
+
readonly stateMutability: "nonpayable";
|
|
1870
|
+
readonly type: "function";
|
|
1871
|
+
}, {
|
|
1872
|
+
readonly inputs: readonly [{
|
|
1873
|
+
readonly internalType: "address";
|
|
1874
|
+
readonly name: "newManagementFeeRecipient";
|
|
1875
|
+
readonly type: "address";
|
|
1876
|
+
}];
|
|
1877
|
+
readonly name: "setManagementFeeRecipient";
|
|
1878
|
+
readonly outputs: readonly [];
|
|
1879
|
+
readonly stateMutability: "nonpayable";
|
|
1880
|
+
readonly type: "function";
|
|
1881
|
+
}, {
|
|
1882
|
+
readonly inputs: readonly [{
|
|
1883
|
+
readonly internalType: "uint256";
|
|
1884
|
+
readonly name: "newMaxRate";
|
|
1885
|
+
readonly type: "uint256";
|
|
1886
|
+
}];
|
|
1887
|
+
readonly name: "setMaxRate";
|
|
1888
|
+
readonly outputs: readonly [];
|
|
1889
|
+
readonly stateMutability: "nonpayable";
|
|
1890
|
+
readonly type: "function";
|
|
1891
|
+
}, {
|
|
1892
|
+
readonly inputs: readonly [{
|
|
1893
|
+
readonly internalType: "string";
|
|
1894
|
+
readonly name: "newName";
|
|
1895
|
+
readonly type: "string";
|
|
1896
|
+
}];
|
|
1897
|
+
readonly name: "setName";
|
|
1898
|
+
readonly outputs: readonly [];
|
|
1899
|
+
readonly stateMutability: "nonpayable";
|
|
1900
|
+
readonly type: "function";
|
|
1901
|
+
}, {
|
|
1902
|
+
readonly inputs: readonly [{
|
|
1903
|
+
readonly internalType: "address";
|
|
1904
|
+
readonly name: "newOwner";
|
|
1905
|
+
readonly type: "address";
|
|
1906
|
+
}];
|
|
1907
|
+
readonly name: "setOwner";
|
|
1908
|
+
readonly outputs: readonly [];
|
|
1909
|
+
readonly stateMutability: "nonpayable";
|
|
1910
|
+
readonly type: "function";
|
|
1911
|
+
}, {
|
|
1912
|
+
readonly inputs: readonly [{
|
|
1913
|
+
readonly internalType: "uint256";
|
|
1914
|
+
readonly name: "newPerformanceFee";
|
|
1915
|
+
readonly type: "uint256";
|
|
1916
|
+
}];
|
|
1917
|
+
readonly name: "setPerformanceFee";
|
|
1918
|
+
readonly outputs: readonly [];
|
|
1919
|
+
readonly stateMutability: "nonpayable";
|
|
1920
|
+
readonly type: "function";
|
|
1921
|
+
}, {
|
|
1922
|
+
readonly inputs: readonly [{
|
|
1923
|
+
readonly internalType: "address";
|
|
1924
|
+
readonly name: "newPerformanceFeeRecipient";
|
|
1925
|
+
readonly type: "address";
|
|
1926
|
+
}];
|
|
1927
|
+
readonly name: "setPerformanceFeeRecipient";
|
|
1928
|
+
readonly outputs: readonly [];
|
|
1929
|
+
readonly stateMutability: "nonpayable";
|
|
1930
|
+
readonly type: "function";
|
|
1931
|
+
}, {
|
|
1932
|
+
readonly inputs: readonly [{
|
|
1933
|
+
readonly internalType: "address";
|
|
1934
|
+
readonly name: "newReceiveAssetsGate";
|
|
1935
|
+
readonly type: "address";
|
|
1936
|
+
}];
|
|
1937
|
+
readonly name: "setReceiveAssetsGate";
|
|
1938
|
+
readonly outputs: readonly [];
|
|
1939
|
+
readonly stateMutability: "nonpayable";
|
|
1940
|
+
readonly type: "function";
|
|
1941
|
+
}, {
|
|
1942
|
+
readonly inputs: readonly [{
|
|
1943
|
+
readonly internalType: "address";
|
|
1944
|
+
readonly name: "newReceiveSharesGate";
|
|
1945
|
+
readonly type: "address";
|
|
1946
|
+
}];
|
|
1947
|
+
readonly name: "setReceiveSharesGate";
|
|
1948
|
+
readonly outputs: readonly [];
|
|
1949
|
+
readonly stateMutability: "nonpayable";
|
|
1950
|
+
readonly type: "function";
|
|
1951
|
+
}, {
|
|
1952
|
+
readonly inputs: readonly [{
|
|
1953
|
+
readonly internalType: "address";
|
|
1954
|
+
readonly name: "newSendAssetsGate";
|
|
1955
|
+
readonly type: "address";
|
|
1956
|
+
}];
|
|
1957
|
+
readonly name: "setSendAssetsGate";
|
|
1958
|
+
readonly outputs: readonly [];
|
|
1959
|
+
readonly stateMutability: "nonpayable";
|
|
1960
|
+
readonly type: "function";
|
|
1961
|
+
}, {
|
|
1962
|
+
readonly inputs: readonly [{
|
|
1963
|
+
readonly internalType: "address";
|
|
1964
|
+
readonly name: "newSendSharesGate";
|
|
1965
|
+
readonly type: "address";
|
|
1966
|
+
}];
|
|
1967
|
+
readonly name: "setSendSharesGate";
|
|
1968
|
+
readonly outputs: readonly [];
|
|
1969
|
+
readonly stateMutability: "nonpayable";
|
|
1970
|
+
readonly type: "function";
|
|
1971
|
+
}, {
|
|
1972
|
+
readonly inputs: readonly [{
|
|
1973
|
+
readonly internalType: "string";
|
|
1974
|
+
readonly name: "newSymbol";
|
|
1975
|
+
readonly type: "string";
|
|
1976
|
+
}];
|
|
1977
|
+
readonly name: "setSymbol";
|
|
1978
|
+
readonly outputs: readonly [];
|
|
1979
|
+
readonly stateMutability: "nonpayable";
|
|
1980
|
+
readonly type: "function";
|
|
1981
|
+
}, {
|
|
1982
|
+
readonly inputs: readonly [{
|
|
1983
|
+
readonly internalType: "bytes";
|
|
1984
|
+
readonly name: "data";
|
|
1985
|
+
readonly type: "bytes";
|
|
1986
|
+
}];
|
|
1987
|
+
readonly name: "submit";
|
|
1988
|
+
readonly outputs: readonly [];
|
|
1989
|
+
readonly stateMutability: "nonpayable";
|
|
1990
|
+
readonly type: "function";
|
|
1991
|
+
}, {
|
|
1992
|
+
readonly inputs: readonly [];
|
|
1993
|
+
readonly name: "symbol";
|
|
1994
|
+
readonly outputs: readonly [{
|
|
1995
|
+
readonly internalType: "string";
|
|
1996
|
+
readonly name: "";
|
|
1997
|
+
readonly type: "string";
|
|
1998
|
+
}];
|
|
1999
|
+
readonly stateMutability: "view";
|
|
2000
|
+
readonly type: "function";
|
|
2001
|
+
}, {
|
|
2002
|
+
readonly inputs: readonly [{
|
|
2003
|
+
readonly internalType: "bytes4";
|
|
2004
|
+
readonly name: "selector";
|
|
2005
|
+
readonly type: "bytes4";
|
|
2006
|
+
}];
|
|
2007
|
+
readonly name: "timelock";
|
|
2008
|
+
readonly outputs: readonly [{
|
|
2009
|
+
readonly internalType: "uint256";
|
|
2010
|
+
readonly name: "";
|
|
2011
|
+
readonly type: "uint256";
|
|
2012
|
+
}];
|
|
2013
|
+
readonly stateMutability: "view";
|
|
2014
|
+
readonly type: "function";
|
|
2015
|
+
}, {
|
|
2016
|
+
readonly inputs: readonly [];
|
|
2017
|
+
readonly name: "totalAssets";
|
|
2018
|
+
readonly outputs: readonly [{
|
|
2019
|
+
readonly internalType: "uint256";
|
|
2020
|
+
readonly name: "";
|
|
2021
|
+
readonly type: "uint256";
|
|
2022
|
+
}];
|
|
2023
|
+
readonly stateMutability: "view";
|
|
2024
|
+
readonly type: "function";
|
|
2025
|
+
}, {
|
|
2026
|
+
readonly inputs: readonly [];
|
|
2027
|
+
readonly name: "totalSupply";
|
|
2028
|
+
readonly outputs: readonly [{
|
|
2029
|
+
readonly internalType: "uint256";
|
|
2030
|
+
readonly name: "";
|
|
2031
|
+
readonly type: "uint256";
|
|
2032
|
+
}];
|
|
2033
|
+
readonly stateMutability: "view";
|
|
2034
|
+
readonly type: "function";
|
|
2035
|
+
}, {
|
|
2036
|
+
readonly inputs: readonly [{
|
|
2037
|
+
readonly internalType: "address";
|
|
2038
|
+
readonly name: "to";
|
|
2039
|
+
readonly type: "address";
|
|
2040
|
+
}, {
|
|
2041
|
+
readonly internalType: "uint256";
|
|
2042
|
+
readonly name: "shares";
|
|
2043
|
+
readonly type: "uint256";
|
|
2044
|
+
}];
|
|
2045
|
+
readonly name: "transfer";
|
|
2046
|
+
readonly outputs: readonly [{
|
|
2047
|
+
readonly internalType: "bool";
|
|
2048
|
+
readonly name: "";
|
|
2049
|
+
readonly type: "bool";
|
|
2050
|
+
}];
|
|
2051
|
+
readonly stateMutability: "nonpayable";
|
|
2052
|
+
readonly type: "function";
|
|
2053
|
+
}, {
|
|
2054
|
+
readonly inputs: readonly [{
|
|
2055
|
+
readonly internalType: "address";
|
|
2056
|
+
readonly name: "from";
|
|
2057
|
+
readonly type: "address";
|
|
2058
|
+
}, {
|
|
2059
|
+
readonly internalType: "address";
|
|
2060
|
+
readonly name: "to";
|
|
2061
|
+
readonly type: "address";
|
|
2062
|
+
}, {
|
|
2063
|
+
readonly internalType: "uint256";
|
|
2064
|
+
readonly name: "shares";
|
|
2065
|
+
readonly type: "uint256";
|
|
2066
|
+
}];
|
|
2067
|
+
readonly name: "transferFrom";
|
|
2068
|
+
readonly outputs: readonly [{
|
|
2069
|
+
readonly internalType: "bool";
|
|
2070
|
+
readonly name: "";
|
|
2071
|
+
readonly type: "bool";
|
|
2072
|
+
}];
|
|
2073
|
+
readonly stateMutability: "nonpayable";
|
|
2074
|
+
readonly type: "function";
|
|
2075
|
+
}, {
|
|
2076
|
+
readonly inputs: readonly [];
|
|
2077
|
+
readonly name: "virtualShares";
|
|
2078
|
+
readonly outputs: readonly [{
|
|
2079
|
+
readonly internalType: "uint256";
|
|
2080
|
+
readonly name: "";
|
|
2081
|
+
readonly type: "uint256";
|
|
2082
|
+
}];
|
|
2083
|
+
readonly stateMutability: "view";
|
|
2084
|
+
readonly type: "function";
|
|
2085
|
+
}, {
|
|
2086
|
+
readonly inputs: readonly [{
|
|
2087
|
+
readonly internalType: "uint256";
|
|
2088
|
+
readonly name: "assets";
|
|
2089
|
+
readonly type: "uint256";
|
|
2090
|
+
}, {
|
|
2091
|
+
readonly internalType: "address";
|
|
2092
|
+
readonly name: "receiver";
|
|
2093
|
+
readonly type: "address";
|
|
2094
|
+
}, {
|
|
2095
|
+
readonly internalType: "address";
|
|
2096
|
+
readonly name: "onBehalf";
|
|
2097
|
+
readonly type: "address";
|
|
2098
|
+
}];
|
|
2099
|
+
readonly name: "withdraw";
|
|
2100
|
+
readonly outputs: readonly [{
|
|
2101
|
+
readonly internalType: "uint256";
|
|
2102
|
+
readonly name: "";
|
|
2103
|
+
readonly type: "uint256";
|
|
2104
|
+
}];
|
|
2105
|
+
readonly stateMutability: "nonpayable";
|
|
2106
|
+
readonly type: "function";
|
|
2107
|
+
}];
|
|
2108
|
+
/**
|
|
2109
|
+
* Type-safe ABI for VaultV2_json
|
|
2110
|
+
*/
|
|
2111
|
+
export type VaultV2_jsonAbi = typeof VaultV2_jsonAbi;
|
|
2112
|
+
/**
|
|
2113
|
+
* Contract instance type for VaultV2_json
|
|
2114
|
+
*/
|
|
2115
|
+
export type VaultV2_jsonContract = any;
|
|
2116
|
+
/**
|
|
2117
|
+
* VaultV2_json Contract Class
|
|
2118
|
+
*
|
|
2119
|
+
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
2120
|
+
*
|
|
2121
|
+
* @example
|
|
2122
|
+
* ```typescript
|
|
2123
|
+
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
2124
|
+
* import { mainnet } from 'viem/chains';
|
|
2125
|
+
* import { VaultV2_json } from 'VaultV2_json';
|
|
2126
|
+
*
|
|
2127
|
+
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
2128
|
+
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
2129
|
+
*
|
|
2130
|
+
* const contract = new VaultV2_json('0x...', { publicClient, walletClient });
|
|
2131
|
+
*
|
|
2132
|
+
* // Read functions
|
|
2133
|
+
* const result = await contract.balanceOf('0x...');
|
|
2134
|
+
*
|
|
2135
|
+
* // Write functions
|
|
2136
|
+
* const hash = await contract.transfer('0x...', 1000n);
|
|
2137
|
+
*
|
|
2138
|
+
* // Simulate transactions (dry-run)
|
|
2139
|
+
* const simulation = await contract.simulate.transfer('0x...', 1000n);
|
|
2140
|
+
* console.log('Gas estimate:', simulation.request.gas);
|
|
2141
|
+
*
|
|
2142
|
+
* // Watch events
|
|
2143
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
2144
|
+
* console.log('Transfer event:', event);
|
|
2145
|
+
* });
|
|
2146
|
+
* ```
|
|
2147
|
+
*/
|
|
2148
|
+
export declare class VaultV2_json {
|
|
2149
|
+
private contract;
|
|
2150
|
+
private contractAddress;
|
|
2151
|
+
private publicClient;
|
|
2152
|
+
constructor(address: Address, clients: {
|
|
2153
|
+
publicClient: PublicClient;
|
|
2154
|
+
walletClient?: WalletClient;
|
|
2155
|
+
});
|
|
2156
|
+
/**
|
|
2157
|
+
* Get the contract address
|
|
2158
|
+
*/
|
|
2159
|
+
get address(): Address;
|
|
2160
|
+
/**
|
|
2161
|
+
* Get the underlying viem contract instance
|
|
2162
|
+
*/
|
|
2163
|
+
getContract(): VaultV2_jsonContract;
|
|
2164
|
+
/**
|
|
2165
|
+
* DOMAIN_SEPARATOR
|
|
2166
|
+
* view
|
|
2167
|
+
*/
|
|
2168
|
+
DOMAIN_SEPARATOR(): Promise<`0x${string}`>;
|
|
2169
|
+
/**
|
|
2170
|
+
* _totalAssets
|
|
2171
|
+
* view
|
|
2172
|
+
*/
|
|
2173
|
+
_totalAssets(): Promise<bigint>;
|
|
2174
|
+
/**
|
|
2175
|
+
* abdicated
|
|
2176
|
+
* view
|
|
2177
|
+
*/
|
|
2178
|
+
abdicated(selector: `0x${string}`): Promise<boolean>;
|
|
2179
|
+
/**
|
|
2180
|
+
* absoluteCap
|
|
2181
|
+
* view
|
|
2182
|
+
*/
|
|
2183
|
+
absoluteCap(id: `0x${string}`): Promise<bigint>;
|
|
2184
|
+
/**
|
|
2185
|
+
* accrueInterestView
|
|
2186
|
+
* view
|
|
2187
|
+
*/
|
|
2188
|
+
accrueInterestView(): Promise<[bigint, bigint, bigint]>;
|
|
2189
|
+
/**
|
|
2190
|
+
* adapterRegistry
|
|
2191
|
+
* view
|
|
2192
|
+
*/
|
|
2193
|
+
adapterRegistry(): Promise<`0x${string}`>;
|
|
2194
|
+
/**
|
|
2195
|
+
* adapters
|
|
2196
|
+
* view
|
|
2197
|
+
*/
|
|
2198
|
+
adapters(arg0: bigint): Promise<`0x${string}`>;
|
|
2199
|
+
/**
|
|
2200
|
+
* adaptersLength
|
|
2201
|
+
* view
|
|
2202
|
+
*/
|
|
2203
|
+
adaptersLength(): Promise<bigint>;
|
|
2204
|
+
/**
|
|
2205
|
+
* allocation
|
|
2206
|
+
* view
|
|
2207
|
+
*/
|
|
2208
|
+
allocation(id: `0x${string}`): Promise<bigint>;
|
|
2209
|
+
/**
|
|
2210
|
+
* allowance
|
|
2211
|
+
* view
|
|
2212
|
+
*/
|
|
2213
|
+
allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
|
|
2214
|
+
/**
|
|
2215
|
+
* asset
|
|
2216
|
+
* view
|
|
2217
|
+
*/
|
|
2218
|
+
asset(): Promise<`0x${string}`>;
|
|
2219
|
+
/**
|
|
2220
|
+
* balanceOf
|
|
2221
|
+
* view
|
|
2222
|
+
*/
|
|
2223
|
+
balanceOf(account: `0x${string}`): Promise<bigint>;
|
|
2224
|
+
/**
|
|
2225
|
+
* canReceiveAssets
|
|
2226
|
+
* view
|
|
2227
|
+
*/
|
|
2228
|
+
canReceiveAssets(account: `0x${string}`): Promise<boolean>;
|
|
2229
|
+
/**
|
|
2230
|
+
* canReceiveShares
|
|
2231
|
+
* view
|
|
2232
|
+
*/
|
|
2233
|
+
canReceiveShares(account: `0x${string}`): Promise<boolean>;
|
|
2234
|
+
/**
|
|
2235
|
+
* canSendAssets
|
|
2236
|
+
* view
|
|
2237
|
+
*/
|
|
2238
|
+
canSendAssets(account: `0x${string}`): Promise<boolean>;
|
|
2239
|
+
/**
|
|
2240
|
+
* canSendShares
|
|
2241
|
+
* view
|
|
2242
|
+
*/
|
|
2243
|
+
canSendShares(account: `0x${string}`): Promise<boolean>;
|
|
2244
|
+
/**
|
|
2245
|
+
* convertToAssets
|
|
2246
|
+
* view
|
|
2247
|
+
*/
|
|
2248
|
+
convertToAssets(shares: bigint): Promise<bigint>;
|
|
2249
|
+
/**
|
|
2250
|
+
* convertToShares
|
|
2251
|
+
* view
|
|
2252
|
+
*/
|
|
2253
|
+
convertToShares(assets: bigint): Promise<bigint>;
|
|
2254
|
+
/**
|
|
2255
|
+
* curator
|
|
2256
|
+
* view
|
|
2257
|
+
*/
|
|
2258
|
+
curator(): Promise<`0x${string}`>;
|
|
2259
|
+
/**
|
|
2260
|
+
* decimals
|
|
2261
|
+
* view
|
|
2262
|
+
*/
|
|
2263
|
+
decimals(): Promise<bigint>;
|
|
2264
|
+
/**
|
|
2265
|
+
* executableAt
|
|
2266
|
+
* view
|
|
2267
|
+
*/
|
|
2268
|
+
executableAt(data: `0x${string}`): Promise<bigint>;
|
|
2269
|
+
/**
|
|
2270
|
+
* firstTotalAssets
|
|
2271
|
+
* view
|
|
2272
|
+
*/
|
|
2273
|
+
firstTotalAssets(): Promise<bigint>;
|
|
2274
|
+
/**
|
|
2275
|
+
* forceDeallocatePenalty
|
|
2276
|
+
* view
|
|
2277
|
+
*/
|
|
2278
|
+
forceDeallocatePenalty(adapter: `0x${string}`): Promise<bigint>;
|
|
2279
|
+
/**
|
|
2280
|
+
* isAdapter
|
|
2281
|
+
* view
|
|
2282
|
+
*/
|
|
2283
|
+
isAdapter(account: `0x${string}`): Promise<boolean>;
|
|
2284
|
+
/**
|
|
2285
|
+
* isAllocator
|
|
2286
|
+
* view
|
|
2287
|
+
*/
|
|
2288
|
+
isAllocator(account: `0x${string}`): Promise<boolean>;
|
|
2289
|
+
/**
|
|
2290
|
+
* isSentinel
|
|
2291
|
+
* view
|
|
2292
|
+
*/
|
|
2293
|
+
isSentinel(account: `0x${string}`): Promise<boolean>;
|
|
2294
|
+
/**
|
|
2295
|
+
* lastUpdate
|
|
2296
|
+
* view
|
|
2297
|
+
*/
|
|
2298
|
+
lastUpdate(): Promise<bigint>;
|
|
2299
|
+
/**
|
|
2300
|
+
* liquidityAdapter
|
|
2301
|
+
* view
|
|
2302
|
+
*/
|
|
2303
|
+
liquidityAdapter(): Promise<`0x${string}`>;
|
|
2304
|
+
/**
|
|
2305
|
+
* liquidityData
|
|
2306
|
+
* view
|
|
2307
|
+
*/
|
|
2308
|
+
liquidityData(): Promise<`0x${string}`>;
|
|
2309
|
+
/**
|
|
2310
|
+
* managementFee
|
|
2311
|
+
* view
|
|
2312
|
+
*/
|
|
2313
|
+
managementFee(): Promise<bigint>;
|
|
2314
|
+
/**
|
|
2315
|
+
* managementFeeRecipient
|
|
2316
|
+
* view
|
|
2317
|
+
*/
|
|
2318
|
+
managementFeeRecipient(): Promise<`0x${string}`>;
|
|
2319
|
+
/**
|
|
2320
|
+
* maxDeposit
|
|
2321
|
+
* pure
|
|
2322
|
+
*/
|
|
2323
|
+
maxDeposit(arg0: `0x${string}`): Promise<bigint>;
|
|
2324
|
+
/**
|
|
2325
|
+
* maxMint
|
|
2326
|
+
* pure
|
|
2327
|
+
*/
|
|
2328
|
+
maxMint(arg0: `0x${string}`): Promise<bigint>;
|
|
2329
|
+
/**
|
|
2330
|
+
* maxRate
|
|
2331
|
+
* view
|
|
2332
|
+
*/
|
|
2333
|
+
maxRate(): Promise<bigint>;
|
|
2334
|
+
/**
|
|
2335
|
+
* maxRedeem
|
|
2336
|
+
* pure
|
|
2337
|
+
*/
|
|
2338
|
+
maxRedeem(arg0: `0x${string}`): Promise<bigint>;
|
|
2339
|
+
/**
|
|
2340
|
+
* maxWithdraw
|
|
2341
|
+
* pure
|
|
2342
|
+
*/
|
|
2343
|
+
maxWithdraw(arg0: `0x${string}`): Promise<bigint>;
|
|
2344
|
+
/**
|
|
2345
|
+
* name
|
|
2346
|
+
* view
|
|
2347
|
+
*/
|
|
2348
|
+
name(): Promise<string>;
|
|
2349
|
+
/**
|
|
2350
|
+
* nonces
|
|
2351
|
+
* view
|
|
2352
|
+
*/
|
|
2353
|
+
nonces(account: `0x${string}`): Promise<bigint>;
|
|
2354
|
+
/**
|
|
2355
|
+
* owner
|
|
2356
|
+
* view
|
|
2357
|
+
*/
|
|
2358
|
+
owner(): Promise<`0x${string}`>;
|
|
2359
|
+
/**
|
|
2360
|
+
* performanceFee
|
|
2361
|
+
* view
|
|
2362
|
+
*/
|
|
2363
|
+
performanceFee(): Promise<bigint>;
|
|
2364
|
+
/**
|
|
2365
|
+
* performanceFeeRecipient
|
|
2366
|
+
* view
|
|
2367
|
+
*/
|
|
2368
|
+
performanceFeeRecipient(): Promise<`0x${string}`>;
|
|
2369
|
+
/**
|
|
2370
|
+
* previewDeposit
|
|
2371
|
+
* view
|
|
2372
|
+
*/
|
|
2373
|
+
previewDeposit(assets: bigint): Promise<bigint>;
|
|
2374
|
+
/**
|
|
2375
|
+
* previewMint
|
|
2376
|
+
* view
|
|
2377
|
+
*/
|
|
2378
|
+
previewMint(shares: bigint): Promise<bigint>;
|
|
2379
|
+
/**
|
|
2380
|
+
* previewRedeem
|
|
2381
|
+
* view
|
|
2382
|
+
*/
|
|
2383
|
+
previewRedeem(shares: bigint): Promise<bigint>;
|
|
2384
|
+
/**
|
|
2385
|
+
* previewWithdraw
|
|
2386
|
+
* view
|
|
2387
|
+
*/
|
|
2388
|
+
previewWithdraw(assets: bigint): Promise<bigint>;
|
|
2389
|
+
/**
|
|
2390
|
+
* receiveAssetsGate
|
|
2391
|
+
* view
|
|
2392
|
+
*/
|
|
2393
|
+
receiveAssetsGate(): Promise<`0x${string}`>;
|
|
2394
|
+
/**
|
|
2395
|
+
* receiveSharesGate
|
|
2396
|
+
* view
|
|
2397
|
+
*/
|
|
2398
|
+
receiveSharesGate(): Promise<`0x${string}`>;
|
|
2399
|
+
/**
|
|
2400
|
+
* relativeCap
|
|
2401
|
+
* view
|
|
2402
|
+
*/
|
|
2403
|
+
relativeCap(id: `0x${string}`): Promise<bigint>;
|
|
2404
|
+
/**
|
|
2405
|
+
* sendAssetsGate
|
|
2406
|
+
* view
|
|
2407
|
+
*/
|
|
2408
|
+
sendAssetsGate(): Promise<`0x${string}`>;
|
|
2409
|
+
/**
|
|
2410
|
+
* sendSharesGate
|
|
2411
|
+
* view
|
|
2412
|
+
*/
|
|
2413
|
+
sendSharesGate(): Promise<`0x${string}`>;
|
|
2414
|
+
/**
|
|
2415
|
+
* symbol
|
|
2416
|
+
* view
|
|
2417
|
+
*/
|
|
2418
|
+
symbol(): Promise<string>;
|
|
2419
|
+
/**
|
|
2420
|
+
* timelock
|
|
2421
|
+
* view
|
|
2422
|
+
*/
|
|
2423
|
+
timelock(selector: `0x${string}`): Promise<bigint>;
|
|
2424
|
+
/**
|
|
2425
|
+
* totalAssets
|
|
2426
|
+
* view
|
|
2427
|
+
*/
|
|
2428
|
+
totalAssets(): Promise<bigint>;
|
|
2429
|
+
/**
|
|
2430
|
+
* totalSupply
|
|
2431
|
+
* view
|
|
2432
|
+
*/
|
|
2433
|
+
totalSupply(): Promise<bigint>;
|
|
2434
|
+
/**
|
|
2435
|
+
* virtualShares
|
|
2436
|
+
* view
|
|
2437
|
+
*/
|
|
2438
|
+
virtualShares(): Promise<bigint>;
|
|
2439
|
+
/**
|
|
2440
|
+
* abdicate
|
|
2441
|
+
* nonpayable
|
|
2442
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2443
|
+
*/
|
|
2444
|
+
abdicate(selector: `0x${string}`, options?: {
|
|
2445
|
+
accessList?: import('viem').AccessList;
|
|
2446
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2447
|
+
chain?: import('viem').Chain | null;
|
|
2448
|
+
dataSuffix?: `0x${string}`;
|
|
2449
|
+
gas?: bigint;
|
|
2450
|
+
gasPrice?: bigint;
|
|
2451
|
+
maxFeePerGas?: bigint;
|
|
2452
|
+
maxPriorityFeePerGas?: bigint;
|
|
2453
|
+
nonce?: number;
|
|
2454
|
+
value?: bigint;
|
|
2455
|
+
}): Promise<`0x${string}`>;
|
|
2456
|
+
/**
|
|
2457
|
+
* accrueInterest
|
|
2458
|
+
* nonpayable
|
|
2459
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2460
|
+
*/
|
|
2461
|
+
accrueInterest(options?: {
|
|
2462
|
+
accessList?: import('viem').AccessList;
|
|
2463
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2464
|
+
chain?: import('viem').Chain | null;
|
|
2465
|
+
dataSuffix?: `0x${string}`;
|
|
2466
|
+
gas?: bigint;
|
|
2467
|
+
gasPrice?: bigint;
|
|
2468
|
+
maxFeePerGas?: bigint;
|
|
2469
|
+
maxPriorityFeePerGas?: bigint;
|
|
2470
|
+
nonce?: number;
|
|
2471
|
+
value?: bigint;
|
|
2472
|
+
}): Promise<`0x${string}`>;
|
|
2473
|
+
/**
|
|
2474
|
+
* addAdapter
|
|
2475
|
+
* nonpayable
|
|
2476
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2477
|
+
*/
|
|
2478
|
+
addAdapter(account: `0x${string}`, options?: {
|
|
2479
|
+
accessList?: import('viem').AccessList;
|
|
2480
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2481
|
+
chain?: import('viem').Chain | null;
|
|
2482
|
+
dataSuffix?: `0x${string}`;
|
|
2483
|
+
gas?: bigint;
|
|
2484
|
+
gasPrice?: bigint;
|
|
2485
|
+
maxFeePerGas?: bigint;
|
|
2486
|
+
maxPriorityFeePerGas?: bigint;
|
|
2487
|
+
nonce?: number;
|
|
2488
|
+
value?: bigint;
|
|
2489
|
+
}): Promise<`0x${string}`>;
|
|
2490
|
+
/**
|
|
2491
|
+
* allocate
|
|
2492
|
+
* nonpayable
|
|
2493
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2494
|
+
*/
|
|
2495
|
+
allocate(adapter: `0x${string}`, data: `0x${string}`, assets: bigint, options?: {
|
|
2496
|
+
accessList?: import('viem').AccessList;
|
|
2497
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2498
|
+
chain?: import('viem').Chain | null;
|
|
2499
|
+
dataSuffix?: `0x${string}`;
|
|
2500
|
+
gas?: bigint;
|
|
2501
|
+
gasPrice?: bigint;
|
|
2502
|
+
maxFeePerGas?: bigint;
|
|
2503
|
+
maxPriorityFeePerGas?: bigint;
|
|
2504
|
+
nonce?: number;
|
|
2505
|
+
value?: bigint;
|
|
2506
|
+
}): Promise<`0x${string}`>;
|
|
2507
|
+
/**
|
|
2508
|
+
* approve
|
|
2509
|
+
* nonpayable
|
|
2510
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2511
|
+
*/
|
|
2512
|
+
approve(spender: `0x${string}`, shares: bigint, options?: {
|
|
2513
|
+
accessList?: import('viem').AccessList;
|
|
2514
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2515
|
+
chain?: import('viem').Chain | null;
|
|
2516
|
+
dataSuffix?: `0x${string}`;
|
|
2517
|
+
gas?: bigint;
|
|
2518
|
+
gasPrice?: bigint;
|
|
2519
|
+
maxFeePerGas?: bigint;
|
|
2520
|
+
maxPriorityFeePerGas?: bigint;
|
|
2521
|
+
nonce?: number;
|
|
2522
|
+
value?: bigint;
|
|
2523
|
+
}): Promise<`0x${string}`>;
|
|
2524
|
+
/**
|
|
2525
|
+
* deallocate
|
|
2526
|
+
* nonpayable
|
|
2527
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2528
|
+
*/
|
|
2529
|
+
deallocate(adapter: `0x${string}`, data: `0x${string}`, assets: bigint, options?: {
|
|
2530
|
+
accessList?: import('viem').AccessList;
|
|
2531
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2532
|
+
chain?: import('viem').Chain | null;
|
|
2533
|
+
dataSuffix?: `0x${string}`;
|
|
2534
|
+
gas?: bigint;
|
|
2535
|
+
gasPrice?: bigint;
|
|
2536
|
+
maxFeePerGas?: bigint;
|
|
2537
|
+
maxPriorityFeePerGas?: bigint;
|
|
2538
|
+
nonce?: number;
|
|
2539
|
+
value?: bigint;
|
|
2540
|
+
}): Promise<`0x${string}`>;
|
|
2541
|
+
/**
|
|
2542
|
+
* decreaseAbsoluteCap
|
|
2543
|
+
* nonpayable
|
|
2544
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2545
|
+
*/
|
|
2546
|
+
decreaseAbsoluteCap(idData: `0x${string}`, newAbsoluteCap: bigint, options?: {
|
|
2547
|
+
accessList?: import('viem').AccessList;
|
|
2548
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2549
|
+
chain?: import('viem').Chain | null;
|
|
2550
|
+
dataSuffix?: `0x${string}`;
|
|
2551
|
+
gas?: bigint;
|
|
2552
|
+
gasPrice?: bigint;
|
|
2553
|
+
maxFeePerGas?: bigint;
|
|
2554
|
+
maxPriorityFeePerGas?: bigint;
|
|
2555
|
+
nonce?: number;
|
|
2556
|
+
value?: bigint;
|
|
2557
|
+
}): Promise<`0x${string}`>;
|
|
2558
|
+
/**
|
|
2559
|
+
* decreaseRelativeCap
|
|
2560
|
+
* nonpayable
|
|
2561
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2562
|
+
*/
|
|
2563
|
+
decreaseRelativeCap(idData: `0x${string}`, newRelativeCap: bigint, options?: {
|
|
2564
|
+
accessList?: import('viem').AccessList;
|
|
2565
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2566
|
+
chain?: import('viem').Chain | null;
|
|
2567
|
+
dataSuffix?: `0x${string}`;
|
|
2568
|
+
gas?: bigint;
|
|
2569
|
+
gasPrice?: bigint;
|
|
2570
|
+
maxFeePerGas?: bigint;
|
|
2571
|
+
maxPriorityFeePerGas?: bigint;
|
|
2572
|
+
nonce?: number;
|
|
2573
|
+
value?: bigint;
|
|
2574
|
+
}): Promise<`0x${string}`>;
|
|
2575
|
+
/**
|
|
2576
|
+
* decreaseTimelock
|
|
2577
|
+
* nonpayable
|
|
2578
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2579
|
+
*/
|
|
2580
|
+
decreaseTimelock(selector: `0x${string}`, newDuration: bigint, options?: {
|
|
2581
|
+
accessList?: import('viem').AccessList;
|
|
2582
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2583
|
+
chain?: import('viem').Chain | null;
|
|
2584
|
+
dataSuffix?: `0x${string}`;
|
|
2585
|
+
gas?: bigint;
|
|
2586
|
+
gasPrice?: bigint;
|
|
2587
|
+
maxFeePerGas?: bigint;
|
|
2588
|
+
maxPriorityFeePerGas?: bigint;
|
|
2589
|
+
nonce?: number;
|
|
2590
|
+
value?: bigint;
|
|
2591
|
+
}): Promise<`0x${string}`>;
|
|
2592
|
+
/**
|
|
2593
|
+
* deposit
|
|
2594
|
+
* nonpayable
|
|
2595
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2596
|
+
*/
|
|
2597
|
+
deposit(assets: bigint, onBehalf: `0x${string}`, options?: {
|
|
2598
|
+
accessList?: import('viem').AccessList;
|
|
2599
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2600
|
+
chain?: import('viem').Chain | null;
|
|
2601
|
+
dataSuffix?: `0x${string}`;
|
|
2602
|
+
gas?: bigint;
|
|
2603
|
+
gasPrice?: bigint;
|
|
2604
|
+
maxFeePerGas?: bigint;
|
|
2605
|
+
maxPriorityFeePerGas?: bigint;
|
|
2606
|
+
nonce?: number;
|
|
2607
|
+
value?: bigint;
|
|
2608
|
+
}): Promise<`0x${string}`>;
|
|
2609
|
+
/**
|
|
2610
|
+
* forceDeallocate
|
|
2611
|
+
* nonpayable
|
|
2612
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2613
|
+
*/
|
|
2614
|
+
forceDeallocate(adapter: `0x${string}`, data: `0x${string}`, assets: bigint, onBehalf: `0x${string}`, options?: {
|
|
2615
|
+
accessList?: import('viem').AccessList;
|
|
2616
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2617
|
+
chain?: import('viem').Chain | null;
|
|
2618
|
+
dataSuffix?: `0x${string}`;
|
|
2619
|
+
gas?: bigint;
|
|
2620
|
+
gasPrice?: bigint;
|
|
2621
|
+
maxFeePerGas?: bigint;
|
|
2622
|
+
maxPriorityFeePerGas?: bigint;
|
|
2623
|
+
nonce?: number;
|
|
2624
|
+
value?: bigint;
|
|
2625
|
+
}): Promise<`0x${string}`>;
|
|
2626
|
+
/**
|
|
2627
|
+
* increaseAbsoluteCap
|
|
2628
|
+
* nonpayable
|
|
2629
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2630
|
+
*/
|
|
2631
|
+
increaseAbsoluteCap(idData: `0x${string}`, newAbsoluteCap: bigint, options?: {
|
|
2632
|
+
accessList?: import('viem').AccessList;
|
|
2633
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2634
|
+
chain?: import('viem').Chain | null;
|
|
2635
|
+
dataSuffix?: `0x${string}`;
|
|
2636
|
+
gas?: bigint;
|
|
2637
|
+
gasPrice?: bigint;
|
|
2638
|
+
maxFeePerGas?: bigint;
|
|
2639
|
+
maxPriorityFeePerGas?: bigint;
|
|
2640
|
+
nonce?: number;
|
|
2641
|
+
value?: bigint;
|
|
2642
|
+
}): Promise<`0x${string}`>;
|
|
2643
|
+
/**
|
|
2644
|
+
* increaseRelativeCap
|
|
2645
|
+
* nonpayable
|
|
2646
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2647
|
+
*/
|
|
2648
|
+
increaseRelativeCap(idData: `0x${string}`, newRelativeCap: bigint, options?: {
|
|
2649
|
+
accessList?: import('viem').AccessList;
|
|
2650
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2651
|
+
chain?: import('viem').Chain | null;
|
|
2652
|
+
dataSuffix?: `0x${string}`;
|
|
2653
|
+
gas?: bigint;
|
|
2654
|
+
gasPrice?: bigint;
|
|
2655
|
+
maxFeePerGas?: bigint;
|
|
2656
|
+
maxPriorityFeePerGas?: bigint;
|
|
2657
|
+
nonce?: number;
|
|
2658
|
+
value?: bigint;
|
|
2659
|
+
}): Promise<`0x${string}`>;
|
|
2660
|
+
/**
|
|
2661
|
+
* increaseTimelock
|
|
2662
|
+
* nonpayable
|
|
2663
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2664
|
+
*/
|
|
2665
|
+
increaseTimelock(selector: `0x${string}`, newDuration: bigint, options?: {
|
|
2666
|
+
accessList?: import('viem').AccessList;
|
|
2667
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2668
|
+
chain?: import('viem').Chain | null;
|
|
2669
|
+
dataSuffix?: `0x${string}`;
|
|
2670
|
+
gas?: bigint;
|
|
2671
|
+
gasPrice?: bigint;
|
|
2672
|
+
maxFeePerGas?: bigint;
|
|
2673
|
+
maxPriorityFeePerGas?: bigint;
|
|
2674
|
+
nonce?: number;
|
|
2675
|
+
value?: bigint;
|
|
2676
|
+
}): Promise<`0x${string}`>;
|
|
2677
|
+
/**
|
|
2678
|
+
* mint
|
|
2679
|
+
* nonpayable
|
|
2680
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2681
|
+
*/
|
|
2682
|
+
mint(shares: bigint, onBehalf: `0x${string}`, options?: {
|
|
2683
|
+
accessList?: import('viem').AccessList;
|
|
2684
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2685
|
+
chain?: import('viem').Chain | null;
|
|
2686
|
+
dataSuffix?: `0x${string}`;
|
|
2687
|
+
gas?: bigint;
|
|
2688
|
+
gasPrice?: bigint;
|
|
2689
|
+
maxFeePerGas?: bigint;
|
|
2690
|
+
maxPriorityFeePerGas?: bigint;
|
|
2691
|
+
nonce?: number;
|
|
2692
|
+
value?: bigint;
|
|
2693
|
+
}): Promise<`0x${string}`>;
|
|
2694
|
+
/**
|
|
2695
|
+
* multicall
|
|
2696
|
+
* nonpayable
|
|
2697
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2698
|
+
*/
|
|
2699
|
+
multicall(data: `0x${string}`[], options?: {
|
|
2700
|
+
accessList?: import('viem').AccessList;
|
|
2701
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2702
|
+
chain?: import('viem').Chain | null;
|
|
2703
|
+
dataSuffix?: `0x${string}`;
|
|
2704
|
+
gas?: bigint;
|
|
2705
|
+
gasPrice?: bigint;
|
|
2706
|
+
maxFeePerGas?: bigint;
|
|
2707
|
+
maxPriorityFeePerGas?: bigint;
|
|
2708
|
+
nonce?: number;
|
|
2709
|
+
value?: bigint;
|
|
2710
|
+
}): Promise<`0x${string}`>;
|
|
2711
|
+
/**
|
|
2712
|
+
* permit
|
|
2713
|
+
* nonpayable
|
|
2714
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2715
|
+
*/
|
|
2716
|
+
permit(_owner: `0x${string}`, spender: `0x${string}`, shares: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
|
|
2717
|
+
accessList?: import('viem').AccessList;
|
|
2718
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2719
|
+
chain?: import('viem').Chain | null;
|
|
2720
|
+
dataSuffix?: `0x${string}`;
|
|
2721
|
+
gas?: bigint;
|
|
2722
|
+
gasPrice?: bigint;
|
|
2723
|
+
maxFeePerGas?: bigint;
|
|
2724
|
+
maxPriorityFeePerGas?: bigint;
|
|
2725
|
+
nonce?: number;
|
|
2726
|
+
value?: bigint;
|
|
2727
|
+
}): Promise<`0x${string}`>;
|
|
2728
|
+
/**
|
|
2729
|
+
* redeem
|
|
2730
|
+
* nonpayable
|
|
2731
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2732
|
+
*/
|
|
2733
|
+
redeem(shares: bigint, receiver: `0x${string}`, onBehalf: `0x${string}`, options?: {
|
|
2734
|
+
accessList?: import('viem').AccessList;
|
|
2735
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2736
|
+
chain?: import('viem').Chain | null;
|
|
2737
|
+
dataSuffix?: `0x${string}`;
|
|
2738
|
+
gas?: bigint;
|
|
2739
|
+
gasPrice?: bigint;
|
|
2740
|
+
maxFeePerGas?: bigint;
|
|
2741
|
+
maxPriorityFeePerGas?: bigint;
|
|
2742
|
+
nonce?: number;
|
|
2743
|
+
value?: bigint;
|
|
2744
|
+
}): Promise<`0x${string}`>;
|
|
2745
|
+
/**
|
|
2746
|
+
* removeAdapter
|
|
2747
|
+
* nonpayable
|
|
2748
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2749
|
+
*/
|
|
2750
|
+
removeAdapter(account: `0x${string}`, options?: {
|
|
2751
|
+
accessList?: import('viem').AccessList;
|
|
2752
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2753
|
+
chain?: import('viem').Chain | null;
|
|
2754
|
+
dataSuffix?: `0x${string}`;
|
|
2755
|
+
gas?: bigint;
|
|
2756
|
+
gasPrice?: bigint;
|
|
2757
|
+
maxFeePerGas?: bigint;
|
|
2758
|
+
maxPriorityFeePerGas?: bigint;
|
|
2759
|
+
nonce?: number;
|
|
2760
|
+
value?: bigint;
|
|
2761
|
+
}): Promise<`0x${string}`>;
|
|
2762
|
+
/**
|
|
2763
|
+
* revoke
|
|
2764
|
+
* nonpayable
|
|
2765
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2766
|
+
*/
|
|
2767
|
+
revoke(data: `0x${string}`, options?: {
|
|
2768
|
+
accessList?: import('viem').AccessList;
|
|
2769
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2770
|
+
chain?: import('viem').Chain | null;
|
|
2771
|
+
dataSuffix?: `0x${string}`;
|
|
2772
|
+
gas?: bigint;
|
|
2773
|
+
gasPrice?: bigint;
|
|
2774
|
+
maxFeePerGas?: bigint;
|
|
2775
|
+
maxPriorityFeePerGas?: bigint;
|
|
2776
|
+
nonce?: number;
|
|
2777
|
+
value?: bigint;
|
|
2778
|
+
}): Promise<`0x${string}`>;
|
|
2779
|
+
/**
|
|
2780
|
+
* setAdapterRegistry
|
|
2781
|
+
* nonpayable
|
|
2782
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2783
|
+
*/
|
|
2784
|
+
setAdapterRegistry(newAdapterRegistry: `0x${string}`, options?: {
|
|
2785
|
+
accessList?: import('viem').AccessList;
|
|
2786
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2787
|
+
chain?: import('viem').Chain | null;
|
|
2788
|
+
dataSuffix?: `0x${string}`;
|
|
2789
|
+
gas?: bigint;
|
|
2790
|
+
gasPrice?: bigint;
|
|
2791
|
+
maxFeePerGas?: bigint;
|
|
2792
|
+
maxPriorityFeePerGas?: bigint;
|
|
2793
|
+
nonce?: number;
|
|
2794
|
+
value?: bigint;
|
|
2795
|
+
}): Promise<`0x${string}`>;
|
|
2796
|
+
/**
|
|
2797
|
+
* setCurator
|
|
2798
|
+
* nonpayable
|
|
2799
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2800
|
+
*/
|
|
2801
|
+
setCurator(newCurator: `0x${string}`, options?: {
|
|
2802
|
+
accessList?: import('viem').AccessList;
|
|
2803
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2804
|
+
chain?: import('viem').Chain | null;
|
|
2805
|
+
dataSuffix?: `0x${string}`;
|
|
2806
|
+
gas?: bigint;
|
|
2807
|
+
gasPrice?: bigint;
|
|
2808
|
+
maxFeePerGas?: bigint;
|
|
2809
|
+
maxPriorityFeePerGas?: bigint;
|
|
2810
|
+
nonce?: number;
|
|
2811
|
+
value?: bigint;
|
|
2812
|
+
}): Promise<`0x${string}`>;
|
|
2813
|
+
/**
|
|
2814
|
+
* setForceDeallocatePenalty
|
|
2815
|
+
* nonpayable
|
|
2816
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2817
|
+
*/
|
|
2818
|
+
setForceDeallocatePenalty(adapter: `0x${string}`, newForceDeallocatePenalty: bigint, options?: {
|
|
2819
|
+
accessList?: import('viem').AccessList;
|
|
2820
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2821
|
+
chain?: import('viem').Chain | null;
|
|
2822
|
+
dataSuffix?: `0x${string}`;
|
|
2823
|
+
gas?: bigint;
|
|
2824
|
+
gasPrice?: bigint;
|
|
2825
|
+
maxFeePerGas?: bigint;
|
|
2826
|
+
maxPriorityFeePerGas?: bigint;
|
|
2827
|
+
nonce?: number;
|
|
2828
|
+
value?: bigint;
|
|
2829
|
+
}): Promise<`0x${string}`>;
|
|
2830
|
+
/**
|
|
2831
|
+
* setIsAllocator
|
|
2832
|
+
* nonpayable
|
|
2833
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2834
|
+
*/
|
|
2835
|
+
setIsAllocator(account: `0x${string}`, newIsAllocator: boolean, options?: {
|
|
2836
|
+
accessList?: import('viem').AccessList;
|
|
2837
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2838
|
+
chain?: import('viem').Chain | null;
|
|
2839
|
+
dataSuffix?: `0x${string}`;
|
|
2840
|
+
gas?: bigint;
|
|
2841
|
+
gasPrice?: bigint;
|
|
2842
|
+
maxFeePerGas?: bigint;
|
|
2843
|
+
maxPriorityFeePerGas?: bigint;
|
|
2844
|
+
nonce?: number;
|
|
2845
|
+
value?: bigint;
|
|
2846
|
+
}): Promise<`0x${string}`>;
|
|
2847
|
+
/**
|
|
2848
|
+
* setIsSentinel
|
|
2849
|
+
* nonpayable
|
|
2850
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2851
|
+
*/
|
|
2852
|
+
setIsSentinel(account: `0x${string}`, newIsSentinel: boolean, options?: {
|
|
2853
|
+
accessList?: import('viem').AccessList;
|
|
2854
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2855
|
+
chain?: import('viem').Chain | null;
|
|
2856
|
+
dataSuffix?: `0x${string}`;
|
|
2857
|
+
gas?: bigint;
|
|
2858
|
+
gasPrice?: bigint;
|
|
2859
|
+
maxFeePerGas?: bigint;
|
|
2860
|
+
maxPriorityFeePerGas?: bigint;
|
|
2861
|
+
nonce?: number;
|
|
2862
|
+
value?: bigint;
|
|
2863
|
+
}): Promise<`0x${string}`>;
|
|
2864
|
+
/**
|
|
2865
|
+
* setLiquidityAdapterAndData
|
|
2866
|
+
* nonpayable
|
|
2867
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2868
|
+
*/
|
|
2869
|
+
setLiquidityAdapterAndData(newLiquidityAdapter: `0x${string}`, newLiquidityData: `0x${string}`, options?: {
|
|
2870
|
+
accessList?: import('viem').AccessList;
|
|
2871
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2872
|
+
chain?: import('viem').Chain | null;
|
|
2873
|
+
dataSuffix?: `0x${string}`;
|
|
2874
|
+
gas?: bigint;
|
|
2875
|
+
gasPrice?: bigint;
|
|
2876
|
+
maxFeePerGas?: bigint;
|
|
2877
|
+
maxPriorityFeePerGas?: bigint;
|
|
2878
|
+
nonce?: number;
|
|
2879
|
+
value?: bigint;
|
|
2880
|
+
}): Promise<`0x${string}`>;
|
|
2881
|
+
/**
|
|
2882
|
+
* setManagementFee
|
|
2883
|
+
* nonpayable
|
|
2884
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2885
|
+
*/
|
|
2886
|
+
setManagementFee(newManagementFee: bigint, options?: {
|
|
2887
|
+
accessList?: import('viem').AccessList;
|
|
2888
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2889
|
+
chain?: import('viem').Chain | null;
|
|
2890
|
+
dataSuffix?: `0x${string}`;
|
|
2891
|
+
gas?: bigint;
|
|
2892
|
+
gasPrice?: bigint;
|
|
2893
|
+
maxFeePerGas?: bigint;
|
|
2894
|
+
maxPriorityFeePerGas?: bigint;
|
|
2895
|
+
nonce?: number;
|
|
2896
|
+
value?: bigint;
|
|
2897
|
+
}): Promise<`0x${string}`>;
|
|
2898
|
+
/**
|
|
2899
|
+
* setManagementFeeRecipient
|
|
2900
|
+
* nonpayable
|
|
2901
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2902
|
+
*/
|
|
2903
|
+
setManagementFeeRecipient(newManagementFeeRecipient: `0x${string}`, options?: {
|
|
2904
|
+
accessList?: import('viem').AccessList;
|
|
2905
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2906
|
+
chain?: import('viem').Chain | null;
|
|
2907
|
+
dataSuffix?: `0x${string}`;
|
|
2908
|
+
gas?: bigint;
|
|
2909
|
+
gasPrice?: bigint;
|
|
2910
|
+
maxFeePerGas?: bigint;
|
|
2911
|
+
maxPriorityFeePerGas?: bigint;
|
|
2912
|
+
nonce?: number;
|
|
2913
|
+
value?: bigint;
|
|
2914
|
+
}): Promise<`0x${string}`>;
|
|
2915
|
+
/**
|
|
2916
|
+
* setMaxRate
|
|
2917
|
+
* nonpayable
|
|
2918
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2919
|
+
*/
|
|
2920
|
+
setMaxRate(newMaxRate: bigint, options?: {
|
|
2921
|
+
accessList?: import('viem').AccessList;
|
|
2922
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2923
|
+
chain?: import('viem').Chain | null;
|
|
2924
|
+
dataSuffix?: `0x${string}`;
|
|
2925
|
+
gas?: bigint;
|
|
2926
|
+
gasPrice?: bigint;
|
|
2927
|
+
maxFeePerGas?: bigint;
|
|
2928
|
+
maxPriorityFeePerGas?: bigint;
|
|
2929
|
+
nonce?: number;
|
|
2930
|
+
value?: bigint;
|
|
2931
|
+
}): Promise<`0x${string}`>;
|
|
2932
|
+
/**
|
|
2933
|
+
* setName
|
|
2934
|
+
* nonpayable
|
|
2935
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2936
|
+
*/
|
|
2937
|
+
setName(newName: string, options?: {
|
|
2938
|
+
accessList?: import('viem').AccessList;
|
|
2939
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2940
|
+
chain?: import('viem').Chain | null;
|
|
2941
|
+
dataSuffix?: `0x${string}`;
|
|
2942
|
+
gas?: bigint;
|
|
2943
|
+
gasPrice?: bigint;
|
|
2944
|
+
maxFeePerGas?: bigint;
|
|
2945
|
+
maxPriorityFeePerGas?: bigint;
|
|
2946
|
+
nonce?: number;
|
|
2947
|
+
value?: bigint;
|
|
2948
|
+
}): Promise<`0x${string}`>;
|
|
2949
|
+
/**
|
|
2950
|
+
* setOwner
|
|
2951
|
+
* nonpayable
|
|
2952
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2953
|
+
*/
|
|
2954
|
+
setOwner(newOwner: `0x${string}`, options?: {
|
|
2955
|
+
accessList?: import('viem').AccessList;
|
|
2956
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2957
|
+
chain?: import('viem').Chain | null;
|
|
2958
|
+
dataSuffix?: `0x${string}`;
|
|
2959
|
+
gas?: bigint;
|
|
2960
|
+
gasPrice?: bigint;
|
|
2961
|
+
maxFeePerGas?: bigint;
|
|
2962
|
+
maxPriorityFeePerGas?: bigint;
|
|
2963
|
+
nonce?: number;
|
|
2964
|
+
value?: bigint;
|
|
2965
|
+
}): Promise<`0x${string}`>;
|
|
2966
|
+
/**
|
|
2967
|
+
* setPerformanceFee
|
|
2968
|
+
* nonpayable
|
|
2969
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2970
|
+
*/
|
|
2971
|
+
setPerformanceFee(newPerformanceFee: bigint, options?: {
|
|
2972
|
+
accessList?: import('viem').AccessList;
|
|
2973
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2974
|
+
chain?: import('viem').Chain | null;
|
|
2975
|
+
dataSuffix?: `0x${string}`;
|
|
2976
|
+
gas?: bigint;
|
|
2977
|
+
gasPrice?: bigint;
|
|
2978
|
+
maxFeePerGas?: bigint;
|
|
2979
|
+
maxPriorityFeePerGas?: bigint;
|
|
2980
|
+
nonce?: number;
|
|
2981
|
+
value?: bigint;
|
|
2982
|
+
}): Promise<`0x${string}`>;
|
|
2983
|
+
/**
|
|
2984
|
+
* setPerformanceFeeRecipient
|
|
2985
|
+
* nonpayable
|
|
2986
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2987
|
+
*/
|
|
2988
|
+
setPerformanceFeeRecipient(newPerformanceFeeRecipient: `0x${string}`, options?: {
|
|
2989
|
+
accessList?: import('viem').AccessList;
|
|
2990
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2991
|
+
chain?: import('viem').Chain | null;
|
|
2992
|
+
dataSuffix?: `0x${string}`;
|
|
2993
|
+
gas?: bigint;
|
|
2994
|
+
gasPrice?: bigint;
|
|
2995
|
+
maxFeePerGas?: bigint;
|
|
2996
|
+
maxPriorityFeePerGas?: bigint;
|
|
2997
|
+
nonce?: number;
|
|
2998
|
+
value?: bigint;
|
|
2999
|
+
}): Promise<`0x${string}`>;
|
|
3000
|
+
/**
|
|
3001
|
+
* setReceiveAssetsGate
|
|
3002
|
+
* nonpayable
|
|
3003
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3004
|
+
*/
|
|
3005
|
+
setReceiveAssetsGate(newReceiveAssetsGate: `0x${string}`, options?: {
|
|
3006
|
+
accessList?: import('viem').AccessList;
|
|
3007
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
3008
|
+
chain?: import('viem').Chain | null;
|
|
3009
|
+
dataSuffix?: `0x${string}`;
|
|
3010
|
+
gas?: bigint;
|
|
3011
|
+
gasPrice?: bigint;
|
|
3012
|
+
maxFeePerGas?: bigint;
|
|
3013
|
+
maxPriorityFeePerGas?: bigint;
|
|
3014
|
+
nonce?: number;
|
|
3015
|
+
value?: bigint;
|
|
3016
|
+
}): Promise<`0x${string}`>;
|
|
3017
|
+
/**
|
|
3018
|
+
* setReceiveSharesGate
|
|
3019
|
+
* nonpayable
|
|
3020
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3021
|
+
*/
|
|
3022
|
+
setReceiveSharesGate(newReceiveSharesGate: `0x${string}`, options?: {
|
|
3023
|
+
accessList?: import('viem').AccessList;
|
|
3024
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
3025
|
+
chain?: import('viem').Chain | null;
|
|
3026
|
+
dataSuffix?: `0x${string}`;
|
|
3027
|
+
gas?: bigint;
|
|
3028
|
+
gasPrice?: bigint;
|
|
3029
|
+
maxFeePerGas?: bigint;
|
|
3030
|
+
maxPriorityFeePerGas?: bigint;
|
|
3031
|
+
nonce?: number;
|
|
3032
|
+
value?: bigint;
|
|
3033
|
+
}): Promise<`0x${string}`>;
|
|
3034
|
+
/**
|
|
3035
|
+
* setSendAssetsGate
|
|
3036
|
+
* nonpayable
|
|
3037
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3038
|
+
*/
|
|
3039
|
+
setSendAssetsGate(newSendAssetsGate: `0x${string}`, options?: {
|
|
3040
|
+
accessList?: import('viem').AccessList;
|
|
3041
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
3042
|
+
chain?: import('viem').Chain | null;
|
|
3043
|
+
dataSuffix?: `0x${string}`;
|
|
3044
|
+
gas?: bigint;
|
|
3045
|
+
gasPrice?: bigint;
|
|
3046
|
+
maxFeePerGas?: bigint;
|
|
3047
|
+
maxPriorityFeePerGas?: bigint;
|
|
3048
|
+
nonce?: number;
|
|
3049
|
+
value?: bigint;
|
|
3050
|
+
}): Promise<`0x${string}`>;
|
|
3051
|
+
/**
|
|
3052
|
+
* setSendSharesGate
|
|
3053
|
+
* nonpayable
|
|
3054
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3055
|
+
*/
|
|
3056
|
+
setSendSharesGate(newSendSharesGate: `0x${string}`, options?: {
|
|
3057
|
+
accessList?: import('viem').AccessList;
|
|
3058
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
3059
|
+
chain?: import('viem').Chain | null;
|
|
3060
|
+
dataSuffix?: `0x${string}`;
|
|
3061
|
+
gas?: bigint;
|
|
3062
|
+
gasPrice?: bigint;
|
|
3063
|
+
maxFeePerGas?: bigint;
|
|
3064
|
+
maxPriorityFeePerGas?: bigint;
|
|
3065
|
+
nonce?: number;
|
|
3066
|
+
value?: bigint;
|
|
3067
|
+
}): Promise<`0x${string}`>;
|
|
3068
|
+
/**
|
|
3069
|
+
* setSymbol
|
|
3070
|
+
* nonpayable
|
|
3071
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3072
|
+
*/
|
|
3073
|
+
setSymbol(newSymbol: string, options?: {
|
|
3074
|
+
accessList?: import('viem').AccessList;
|
|
3075
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
3076
|
+
chain?: import('viem').Chain | null;
|
|
3077
|
+
dataSuffix?: `0x${string}`;
|
|
3078
|
+
gas?: bigint;
|
|
3079
|
+
gasPrice?: bigint;
|
|
3080
|
+
maxFeePerGas?: bigint;
|
|
3081
|
+
maxPriorityFeePerGas?: bigint;
|
|
3082
|
+
nonce?: number;
|
|
3083
|
+
value?: bigint;
|
|
3084
|
+
}): Promise<`0x${string}`>;
|
|
3085
|
+
/**
|
|
3086
|
+
* submit
|
|
3087
|
+
* nonpayable
|
|
3088
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3089
|
+
*/
|
|
3090
|
+
submit(data: `0x${string}`, options?: {
|
|
3091
|
+
accessList?: import('viem').AccessList;
|
|
3092
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
3093
|
+
chain?: import('viem').Chain | null;
|
|
3094
|
+
dataSuffix?: `0x${string}`;
|
|
3095
|
+
gas?: bigint;
|
|
3096
|
+
gasPrice?: bigint;
|
|
3097
|
+
maxFeePerGas?: bigint;
|
|
3098
|
+
maxPriorityFeePerGas?: bigint;
|
|
3099
|
+
nonce?: number;
|
|
3100
|
+
value?: bigint;
|
|
3101
|
+
}): Promise<`0x${string}`>;
|
|
3102
|
+
/**
|
|
3103
|
+
* transfer
|
|
3104
|
+
* nonpayable
|
|
3105
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3106
|
+
*/
|
|
3107
|
+
transfer(to: `0x${string}`, shares: bigint, options?: {
|
|
3108
|
+
accessList?: import('viem').AccessList;
|
|
3109
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
3110
|
+
chain?: import('viem').Chain | null;
|
|
3111
|
+
dataSuffix?: `0x${string}`;
|
|
3112
|
+
gas?: bigint;
|
|
3113
|
+
gasPrice?: bigint;
|
|
3114
|
+
maxFeePerGas?: bigint;
|
|
3115
|
+
maxPriorityFeePerGas?: bigint;
|
|
3116
|
+
nonce?: number;
|
|
3117
|
+
value?: bigint;
|
|
3118
|
+
}): Promise<`0x${string}`>;
|
|
3119
|
+
/**
|
|
3120
|
+
* transferFrom
|
|
3121
|
+
* nonpayable
|
|
3122
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3123
|
+
*/
|
|
3124
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, shares: bigint, options?: {
|
|
3125
|
+
accessList?: import('viem').AccessList;
|
|
3126
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
3127
|
+
chain?: import('viem').Chain | null;
|
|
3128
|
+
dataSuffix?: `0x${string}`;
|
|
3129
|
+
gas?: bigint;
|
|
3130
|
+
gasPrice?: bigint;
|
|
3131
|
+
maxFeePerGas?: bigint;
|
|
3132
|
+
maxPriorityFeePerGas?: bigint;
|
|
3133
|
+
nonce?: number;
|
|
3134
|
+
value?: bigint;
|
|
3135
|
+
}): Promise<`0x${string}`>;
|
|
3136
|
+
/**
|
|
3137
|
+
* withdraw
|
|
3138
|
+
* nonpayable
|
|
3139
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3140
|
+
*/
|
|
3141
|
+
withdraw(assets: bigint, receiver: `0x${string}`, onBehalf: `0x${string}`, options?: {
|
|
3142
|
+
accessList?: import('viem').AccessList;
|
|
3143
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
3144
|
+
chain?: import('viem').Chain | null;
|
|
3145
|
+
dataSuffix?: `0x${string}`;
|
|
3146
|
+
gas?: bigint;
|
|
3147
|
+
gasPrice?: bigint;
|
|
3148
|
+
maxFeePerGas?: bigint;
|
|
3149
|
+
maxPriorityFeePerGas?: bigint;
|
|
3150
|
+
nonce?: number;
|
|
3151
|
+
value?: bigint;
|
|
3152
|
+
}): Promise<`0x${string}`>;
|
|
3153
|
+
/**
|
|
3154
|
+
* Simulate contract write operations (dry-run without sending transaction)
|
|
3155
|
+
*
|
|
3156
|
+
* @example
|
|
3157
|
+
* const result = await contract.simulate.transfer('0x...', 1000n);
|
|
3158
|
+
* console.log('Gas estimate:', result.request.gas);
|
|
3159
|
+
* console.log('Would succeed:', result.result);
|
|
3160
|
+
*/
|
|
3161
|
+
get simulate(): {
|
|
3162
|
+
/**
|
|
3163
|
+
* Simulate abdicate
|
|
3164
|
+
* Returns gas estimate and result without sending transaction
|
|
3165
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3166
|
+
*/
|
|
3167
|
+
abdicate(selector: `0x${string}`, options?: {
|
|
3168
|
+
accessList?: import("viem").AccessList;
|
|
3169
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3170
|
+
chain?: import("viem").Chain | null;
|
|
3171
|
+
dataSuffix?: `0x${string}`;
|
|
3172
|
+
gas?: bigint;
|
|
3173
|
+
gasPrice?: bigint;
|
|
3174
|
+
maxFeePerGas?: bigint;
|
|
3175
|
+
maxPriorityFeePerGas?: bigint;
|
|
3176
|
+
nonce?: number;
|
|
3177
|
+
value?: bigint;
|
|
3178
|
+
}): Promise<void>;
|
|
3179
|
+
/**
|
|
3180
|
+
* Simulate accrueInterest
|
|
3181
|
+
* Returns gas estimate and result without sending transaction
|
|
3182
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3183
|
+
*/
|
|
3184
|
+
accrueInterest(options?: {
|
|
3185
|
+
accessList?: import("viem").AccessList;
|
|
3186
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3187
|
+
chain?: import("viem").Chain | null;
|
|
3188
|
+
dataSuffix?: `0x${string}`;
|
|
3189
|
+
gas?: bigint;
|
|
3190
|
+
gasPrice?: bigint;
|
|
3191
|
+
maxFeePerGas?: bigint;
|
|
3192
|
+
maxPriorityFeePerGas?: bigint;
|
|
3193
|
+
nonce?: number;
|
|
3194
|
+
value?: bigint;
|
|
3195
|
+
}): Promise<void>;
|
|
3196
|
+
/**
|
|
3197
|
+
* Simulate addAdapter
|
|
3198
|
+
* Returns gas estimate and result without sending transaction
|
|
3199
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3200
|
+
*/
|
|
3201
|
+
addAdapter(account: `0x${string}`, options?: {
|
|
3202
|
+
accessList?: import("viem").AccessList;
|
|
3203
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3204
|
+
chain?: import("viem").Chain | null;
|
|
3205
|
+
dataSuffix?: `0x${string}`;
|
|
3206
|
+
gas?: bigint;
|
|
3207
|
+
gasPrice?: bigint;
|
|
3208
|
+
maxFeePerGas?: bigint;
|
|
3209
|
+
maxPriorityFeePerGas?: bigint;
|
|
3210
|
+
nonce?: number;
|
|
3211
|
+
value?: bigint;
|
|
3212
|
+
}): Promise<void>;
|
|
3213
|
+
/**
|
|
3214
|
+
* Simulate allocate
|
|
3215
|
+
* Returns gas estimate and result without sending transaction
|
|
3216
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3217
|
+
*/
|
|
3218
|
+
allocate(adapter: `0x${string}`, data: `0x${string}`, assets: bigint, options?: {
|
|
3219
|
+
accessList?: import("viem").AccessList;
|
|
3220
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3221
|
+
chain?: import("viem").Chain | null;
|
|
3222
|
+
dataSuffix?: `0x${string}`;
|
|
3223
|
+
gas?: bigint;
|
|
3224
|
+
gasPrice?: bigint;
|
|
3225
|
+
maxFeePerGas?: bigint;
|
|
3226
|
+
maxPriorityFeePerGas?: bigint;
|
|
3227
|
+
nonce?: number;
|
|
3228
|
+
value?: bigint;
|
|
3229
|
+
}): Promise<void>;
|
|
3230
|
+
/**
|
|
3231
|
+
* Simulate approve
|
|
3232
|
+
* Returns gas estimate and result without sending transaction
|
|
3233
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3234
|
+
*/
|
|
3235
|
+
approve(spender: `0x${string}`, shares: bigint, options?: {
|
|
3236
|
+
accessList?: import("viem").AccessList;
|
|
3237
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3238
|
+
chain?: import("viem").Chain | null;
|
|
3239
|
+
dataSuffix?: `0x${string}`;
|
|
3240
|
+
gas?: bigint;
|
|
3241
|
+
gasPrice?: bigint;
|
|
3242
|
+
maxFeePerGas?: bigint;
|
|
3243
|
+
maxPriorityFeePerGas?: bigint;
|
|
3244
|
+
nonce?: number;
|
|
3245
|
+
value?: bigint;
|
|
3246
|
+
}): Promise<boolean>;
|
|
3247
|
+
/**
|
|
3248
|
+
* Simulate deallocate
|
|
3249
|
+
* Returns gas estimate and result without sending transaction
|
|
3250
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3251
|
+
*/
|
|
3252
|
+
deallocate(adapter: `0x${string}`, data: `0x${string}`, assets: bigint, options?: {
|
|
3253
|
+
accessList?: import("viem").AccessList;
|
|
3254
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3255
|
+
chain?: import("viem").Chain | null;
|
|
3256
|
+
dataSuffix?: `0x${string}`;
|
|
3257
|
+
gas?: bigint;
|
|
3258
|
+
gasPrice?: bigint;
|
|
3259
|
+
maxFeePerGas?: bigint;
|
|
3260
|
+
maxPriorityFeePerGas?: bigint;
|
|
3261
|
+
nonce?: number;
|
|
3262
|
+
value?: bigint;
|
|
3263
|
+
}): Promise<void>;
|
|
3264
|
+
/**
|
|
3265
|
+
* Simulate decreaseAbsoluteCap
|
|
3266
|
+
* Returns gas estimate and result without sending transaction
|
|
3267
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3268
|
+
*/
|
|
3269
|
+
decreaseAbsoluteCap(idData: `0x${string}`, newAbsoluteCap: bigint, options?: {
|
|
3270
|
+
accessList?: import("viem").AccessList;
|
|
3271
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3272
|
+
chain?: import("viem").Chain | null;
|
|
3273
|
+
dataSuffix?: `0x${string}`;
|
|
3274
|
+
gas?: bigint;
|
|
3275
|
+
gasPrice?: bigint;
|
|
3276
|
+
maxFeePerGas?: bigint;
|
|
3277
|
+
maxPriorityFeePerGas?: bigint;
|
|
3278
|
+
nonce?: number;
|
|
3279
|
+
value?: bigint;
|
|
3280
|
+
}): Promise<void>;
|
|
3281
|
+
/**
|
|
3282
|
+
* Simulate decreaseRelativeCap
|
|
3283
|
+
* Returns gas estimate and result without sending transaction
|
|
3284
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3285
|
+
*/
|
|
3286
|
+
decreaseRelativeCap(idData: `0x${string}`, newRelativeCap: bigint, options?: {
|
|
3287
|
+
accessList?: import("viem").AccessList;
|
|
3288
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3289
|
+
chain?: import("viem").Chain | null;
|
|
3290
|
+
dataSuffix?: `0x${string}`;
|
|
3291
|
+
gas?: bigint;
|
|
3292
|
+
gasPrice?: bigint;
|
|
3293
|
+
maxFeePerGas?: bigint;
|
|
3294
|
+
maxPriorityFeePerGas?: bigint;
|
|
3295
|
+
nonce?: number;
|
|
3296
|
+
value?: bigint;
|
|
3297
|
+
}): Promise<void>;
|
|
3298
|
+
/**
|
|
3299
|
+
* Simulate decreaseTimelock
|
|
3300
|
+
* Returns gas estimate and result without sending transaction
|
|
3301
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3302
|
+
*/
|
|
3303
|
+
decreaseTimelock(selector: `0x${string}`, newDuration: bigint, options?: {
|
|
3304
|
+
accessList?: import("viem").AccessList;
|
|
3305
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3306
|
+
chain?: import("viem").Chain | null;
|
|
3307
|
+
dataSuffix?: `0x${string}`;
|
|
3308
|
+
gas?: bigint;
|
|
3309
|
+
gasPrice?: bigint;
|
|
3310
|
+
maxFeePerGas?: bigint;
|
|
3311
|
+
maxPriorityFeePerGas?: bigint;
|
|
3312
|
+
nonce?: number;
|
|
3313
|
+
value?: bigint;
|
|
3314
|
+
}): Promise<void>;
|
|
3315
|
+
/**
|
|
3316
|
+
* Simulate deposit
|
|
3317
|
+
* Returns gas estimate and result without sending transaction
|
|
3318
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3319
|
+
*/
|
|
3320
|
+
deposit(assets: bigint, onBehalf: `0x${string}`, options?: {
|
|
3321
|
+
accessList?: import("viem").AccessList;
|
|
3322
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3323
|
+
chain?: import("viem").Chain | null;
|
|
3324
|
+
dataSuffix?: `0x${string}`;
|
|
3325
|
+
gas?: bigint;
|
|
3326
|
+
gasPrice?: bigint;
|
|
3327
|
+
maxFeePerGas?: bigint;
|
|
3328
|
+
maxPriorityFeePerGas?: bigint;
|
|
3329
|
+
nonce?: number;
|
|
3330
|
+
value?: bigint;
|
|
3331
|
+
}): Promise<bigint>;
|
|
3332
|
+
/**
|
|
3333
|
+
* Simulate forceDeallocate
|
|
3334
|
+
* Returns gas estimate and result without sending transaction
|
|
3335
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3336
|
+
*/
|
|
3337
|
+
forceDeallocate(adapter: `0x${string}`, data: `0x${string}`, assets: bigint, onBehalf: `0x${string}`, options?: {
|
|
3338
|
+
accessList?: import("viem").AccessList;
|
|
3339
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3340
|
+
chain?: import("viem").Chain | null;
|
|
3341
|
+
dataSuffix?: `0x${string}`;
|
|
3342
|
+
gas?: bigint;
|
|
3343
|
+
gasPrice?: bigint;
|
|
3344
|
+
maxFeePerGas?: bigint;
|
|
3345
|
+
maxPriorityFeePerGas?: bigint;
|
|
3346
|
+
nonce?: number;
|
|
3347
|
+
value?: bigint;
|
|
3348
|
+
}): Promise<bigint>;
|
|
3349
|
+
/**
|
|
3350
|
+
* Simulate increaseAbsoluteCap
|
|
3351
|
+
* Returns gas estimate and result without sending transaction
|
|
3352
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3353
|
+
*/
|
|
3354
|
+
increaseAbsoluteCap(idData: `0x${string}`, newAbsoluteCap: bigint, options?: {
|
|
3355
|
+
accessList?: import("viem").AccessList;
|
|
3356
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3357
|
+
chain?: import("viem").Chain | null;
|
|
3358
|
+
dataSuffix?: `0x${string}`;
|
|
3359
|
+
gas?: bigint;
|
|
3360
|
+
gasPrice?: bigint;
|
|
3361
|
+
maxFeePerGas?: bigint;
|
|
3362
|
+
maxPriorityFeePerGas?: bigint;
|
|
3363
|
+
nonce?: number;
|
|
3364
|
+
value?: bigint;
|
|
3365
|
+
}): Promise<void>;
|
|
3366
|
+
/**
|
|
3367
|
+
* Simulate increaseRelativeCap
|
|
3368
|
+
* Returns gas estimate and result without sending transaction
|
|
3369
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3370
|
+
*/
|
|
3371
|
+
increaseRelativeCap(idData: `0x${string}`, newRelativeCap: bigint, options?: {
|
|
3372
|
+
accessList?: import("viem").AccessList;
|
|
3373
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3374
|
+
chain?: import("viem").Chain | null;
|
|
3375
|
+
dataSuffix?: `0x${string}`;
|
|
3376
|
+
gas?: bigint;
|
|
3377
|
+
gasPrice?: bigint;
|
|
3378
|
+
maxFeePerGas?: bigint;
|
|
3379
|
+
maxPriorityFeePerGas?: bigint;
|
|
3380
|
+
nonce?: number;
|
|
3381
|
+
value?: bigint;
|
|
3382
|
+
}): Promise<void>;
|
|
3383
|
+
/**
|
|
3384
|
+
* Simulate increaseTimelock
|
|
3385
|
+
* Returns gas estimate and result without sending transaction
|
|
3386
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3387
|
+
*/
|
|
3388
|
+
increaseTimelock(selector: `0x${string}`, newDuration: bigint, options?: {
|
|
3389
|
+
accessList?: import("viem").AccessList;
|
|
3390
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3391
|
+
chain?: import("viem").Chain | null;
|
|
3392
|
+
dataSuffix?: `0x${string}`;
|
|
3393
|
+
gas?: bigint;
|
|
3394
|
+
gasPrice?: bigint;
|
|
3395
|
+
maxFeePerGas?: bigint;
|
|
3396
|
+
maxPriorityFeePerGas?: bigint;
|
|
3397
|
+
nonce?: number;
|
|
3398
|
+
value?: bigint;
|
|
3399
|
+
}): Promise<void>;
|
|
3400
|
+
/**
|
|
3401
|
+
* Simulate mint
|
|
3402
|
+
* Returns gas estimate and result without sending transaction
|
|
3403
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3404
|
+
*/
|
|
3405
|
+
mint(shares: bigint, onBehalf: `0x${string}`, options?: {
|
|
3406
|
+
accessList?: import("viem").AccessList;
|
|
3407
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3408
|
+
chain?: import("viem").Chain | null;
|
|
3409
|
+
dataSuffix?: `0x${string}`;
|
|
3410
|
+
gas?: bigint;
|
|
3411
|
+
gasPrice?: bigint;
|
|
3412
|
+
maxFeePerGas?: bigint;
|
|
3413
|
+
maxPriorityFeePerGas?: bigint;
|
|
3414
|
+
nonce?: number;
|
|
3415
|
+
value?: bigint;
|
|
3416
|
+
}): Promise<bigint>;
|
|
3417
|
+
/**
|
|
3418
|
+
* Simulate multicall
|
|
3419
|
+
* Returns gas estimate and result without sending transaction
|
|
3420
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3421
|
+
*/
|
|
3422
|
+
multicall(data: `0x${string}`[], options?: {
|
|
3423
|
+
accessList?: import("viem").AccessList;
|
|
3424
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3425
|
+
chain?: import("viem").Chain | null;
|
|
3426
|
+
dataSuffix?: `0x${string}`;
|
|
3427
|
+
gas?: bigint;
|
|
3428
|
+
gasPrice?: bigint;
|
|
3429
|
+
maxFeePerGas?: bigint;
|
|
3430
|
+
maxPriorityFeePerGas?: bigint;
|
|
3431
|
+
nonce?: number;
|
|
3432
|
+
value?: bigint;
|
|
3433
|
+
}): Promise<void>;
|
|
3434
|
+
/**
|
|
3435
|
+
* Simulate permit
|
|
3436
|
+
* Returns gas estimate and result without sending transaction
|
|
3437
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3438
|
+
*/
|
|
3439
|
+
permit(_owner: `0x${string}`, spender: `0x${string}`, shares: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
|
|
3440
|
+
accessList?: import("viem").AccessList;
|
|
3441
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3442
|
+
chain?: import("viem").Chain | null;
|
|
3443
|
+
dataSuffix?: `0x${string}`;
|
|
3444
|
+
gas?: bigint;
|
|
3445
|
+
gasPrice?: bigint;
|
|
3446
|
+
maxFeePerGas?: bigint;
|
|
3447
|
+
maxPriorityFeePerGas?: bigint;
|
|
3448
|
+
nonce?: number;
|
|
3449
|
+
value?: bigint;
|
|
3450
|
+
}): Promise<void>;
|
|
3451
|
+
/**
|
|
3452
|
+
* Simulate redeem
|
|
3453
|
+
* Returns gas estimate and result without sending transaction
|
|
3454
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3455
|
+
*/
|
|
3456
|
+
redeem(shares: bigint, receiver: `0x${string}`, onBehalf: `0x${string}`, options?: {
|
|
3457
|
+
accessList?: import("viem").AccessList;
|
|
3458
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3459
|
+
chain?: import("viem").Chain | null;
|
|
3460
|
+
dataSuffix?: `0x${string}`;
|
|
3461
|
+
gas?: bigint;
|
|
3462
|
+
gasPrice?: bigint;
|
|
3463
|
+
maxFeePerGas?: bigint;
|
|
3464
|
+
maxPriorityFeePerGas?: bigint;
|
|
3465
|
+
nonce?: number;
|
|
3466
|
+
value?: bigint;
|
|
3467
|
+
}): Promise<bigint>;
|
|
3468
|
+
/**
|
|
3469
|
+
* Simulate removeAdapter
|
|
3470
|
+
* Returns gas estimate and result without sending transaction
|
|
3471
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3472
|
+
*/
|
|
3473
|
+
removeAdapter(account: `0x${string}`, options?: {
|
|
3474
|
+
accessList?: import("viem").AccessList;
|
|
3475
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3476
|
+
chain?: import("viem").Chain | null;
|
|
3477
|
+
dataSuffix?: `0x${string}`;
|
|
3478
|
+
gas?: bigint;
|
|
3479
|
+
gasPrice?: bigint;
|
|
3480
|
+
maxFeePerGas?: bigint;
|
|
3481
|
+
maxPriorityFeePerGas?: bigint;
|
|
3482
|
+
nonce?: number;
|
|
3483
|
+
value?: bigint;
|
|
3484
|
+
}): Promise<void>;
|
|
3485
|
+
/**
|
|
3486
|
+
* Simulate revoke
|
|
3487
|
+
* Returns gas estimate and result without sending transaction
|
|
3488
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3489
|
+
*/
|
|
3490
|
+
revoke(data: `0x${string}`, options?: {
|
|
3491
|
+
accessList?: import("viem").AccessList;
|
|
3492
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3493
|
+
chain?: import("viem").Chain | null;
|
|
3494
|
+
dataSuffix?: `0x${string}`;
|
|
3495
|
+
gas?: bigint;
|
|
3496
|
+
gasPrice?: bigint;
|
|
3497
|
+
maxFeePerGas?: bigint;
|
|
3498
|
+
maxPriorityFeePerGas?: bigint;
|
|
3499
|
+
nonce?: number;
|
|
3500
|
+
value?: bigint;
|
|
3501
|
+
}): Promise<void>;
|
|
3502
|
+
/**
|
|
3503
|
+
* Simulate setAdapterRegistry
|
|
3504
|
+
* Returns gas estimate and result without sending transaction
|
|
3505
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3506
|
+
*/
|
|
3507
|
+
setAdapterRegistry(newAdapterRegistry: `0x${string}`, options?: {
|
|
3508
|
+
accessList?: import("viem").AccessList;
|
|
3509
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3510
|
+
chain?: import("viem").Chain | null;
|
|
3511
|
+
dataSuffix?: `0x${string}`;
|
|
3512
|
+
gas?: bigint;
|
|
3513
|
+
gasPrice?: bigint;
|
|
3514
|
+
maxFeePerGas?: bigint;
|
|
3515
|
+
maxPriorityFeePerGas?: bigint;
|
|
3516
|
+
nonce?: number;
|
|
3517
|
+
value?: bigint;
|
|
3518
|
+
}): Promise<void>;
|
|
3519
|
+
/**
|
|
3520
|
+
* Simulate setCurator
|
|
3521
|
+
* Returns gas estimate and result without sending transaction
|
|
3522
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3523
|
+
*/
|
|
3524
|
+
setCurator(newCurator: `0x${string}`, options?: {
|
|
3525
|
+
accessList?: import("viem").AccessList;
|
|
3526
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3527
|
+
chain?: import("viem").Chain | null;
|
|
3528
|
+
dataSuffix?: `0x${string}`;
|
|
3529
|
+
gas?: bigint;
|
|
3530
|
+
gasPrice?: bigint;
|
|
3531
|
+
maxFeePerGas?: bigint;
|
|
3532
|
+
maxPriorityFeePerGas?: bigint;
|
|
3533
|
+
nonce?: number;
|
|
3534
|
+
value?: bigint;
|
|
3535
|
+
}): Promise<void>;
|
|
3536
|
+
/**
|
|
3537
|
+
* Simulate setForceDeallocatePenalty
|
|
3538
|
+
* Returns gas estimate and result without sending transaction
|
|
3539
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3540
|
+
*/
|
|
3541
|
+
setForceDeallocatePenalty(adapter: `0x${string}`, newForceDeallocatePenalty: bigint, options?: {
|
|
3542
|
+
accessList?: import("viem").AccessList;
|
|
3543
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3544
|
+
chain?: import("viem").Chain | null;
|
|
3545
|
+
dataSuffix?: `0x${string}`;
|
|
3546
|
+
gas?: bigint;
|
|
3547
|
+
gasPrice?: bigint;
|
|
3548
|
+
maxFeePerGas?: bigint;
|
|
3549
|
+
maxPriorityFeePerGas?: bigint;
|
|
3550
|
+
nonce?: number;
|
|
3551
|
+
value?: bigint;
|
|
3552
|
+
}): Promise<void>;
|
|
3553
|
+
/**
|
|
3554
|
+
* Simulate setIsAllocator
|
|
3555
|
+
* Returns gas estimate and result without sending transaction
|
|
3556
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3557
|
+
*/
|
|
3558
|
+
setIsAllocator(account: `0x${string}`, newIsAllocator: boolean, options?: {
|
|
3559
|
+
accessList?: import("viem").AccessList;
|
|
3560
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3561
|
+
chain?: import("viem").Chain | null;
|
|
3562
|
+
dataSuffix?: `0x${string}`;
|
|
3563
|
+
gas?: bigint;
|
|
3564
|
+
gasPrice?: bigint;
|
|
3565
|
+
maxFeePerGas?: bigint;
|
|
3566
|
+
maxPriorityFeePerGas?: bigint;
|
|
3567
|
+
nonce?: number;
|
|
3568
|
+
value?: bigint;
|
|
3569
|
+
}): Promise<void>;
|
|
3570
|
+
/**
|
|
3571
|
+
* Simulate setIsSentinel
|
|
3572
|
+
* Returns gas estimate and result without sending transaction
|
|
3573
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3574
|
+
*/
|
|
3575
|
+
setIsSentinel(account: `0x${string}`, newIsSentinel: boolean, options?: {
|
|
3576
|
+
accessList?: import("viem").AccessList;
|
|
3577
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3578
|
+
chain?: import("viem").Chain | null;
|
|
3579
|
+
dataSuffix?: `0x${string}`;
|
|
3580
|
+
gas?: bigint;
|
|
3581
|
+
gasPrice?: bigint;
|
|
3582
|
+
maxFeePerGas?: bigint;
|
|
3583
|
+
maxPriorityFeePerGas?: bigint;
|
|
3584
|
+
nonce?: number;
|
|
3585
|
+
value?: bigint;
|
|
3586
|
+
}): Promise<void>;
|
|
3587
|
+
/**
|
|
3588
|
+
* Simulate setLiquidityAdapterAndData
|
|
3589
|
+
* Returns gas estimate and result without sending transaction
|
|
3590
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3591
|
+
*/
|
|
3592
|
+
setLiquidityAdapterAndData(newLiquidityAdapter: `0x${string}`, newLiquidityData: `0x${string}`, options?: {
|
|
3593
|
+
accessList?: import("viem").AccessList;
|
|
3594
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3595
|
+
chain?: import("viem").Chain | null;
|
|
3596
|
+
dataSuffix?: `0x${string}`;
|
|
3597
|
+
gas?: bigint;
|
|
3598
|
+
gasPrice?: bigint;
|
|
3599
|
+
maxFeePerGas?: bigint;
|
|
3600
|
+
maxPriorityFeePerGas?: bigint;
|
|
3601
|
+
nonce?: number;
|
|
3602
|
+
value?: bigint;
|
|
3603
|
+
}): Promise<void>;
|
|
3604
|
+
/**
|
|
3605
|
+
* Simulate setManagementFee
|
|
3606
|
+
* Returns gas estimate and result without sending transaction
|
|
3607
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3608
|
+
*/
|
|
3609
|
+
setManagementFee(newManagementFee: bigint, options?: {
|
|
3610
|
+
accessList?: import("viem").AccessList;
|
|
3611
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3612
|
+
chain?: import("viem").Chain | null;
|
|
3613
|
+
dataSuffix?: `0x${string}`;
|
|
3614
|
+
gas?: bigint;
|
|
3615
|
+
gasPrice?: bigint;
|
|
3616
|
+
maxFeePerGas?: bigint;
|
|
3617
|
+
maxPriorityFeePerGas?: bigint;
|
|
3618
|
+
nonce?: number;
|
|
3619
|
+
value?: bigint;
|
|
3620
|
+
}): Promise<void>;
|
|
3621
|
+
/**
|
|
3622
|
+
* Simulate setManagementFeeRecipient
|
|
3623
|
+
* Returns gas estimate and result without sending transaction
|
|
3624
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3625
|
+
*/
|
|
3626
|
+
setManagementFeeRecipient(newManagementFeeRecipient: `0x${string}`, options?: {
|
|
3627
|
+
accessList?: import("viem").AccessList;
|
|
3628
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3629
|
+
chain?: import("viem").Chain | null;
|
|
3630
|
+
dataSuffix?: `0x${string}`;
|
|
3631
|
+
gas?: bigint;
|
|
3632
|
+
gasPrice?: bigint;
|
|
3633
|
+
maxFeePerGas?: bigint;
|
|
3634
|
+
maxPriorityFeePerGas?: bigint;
|
|
3635
|
+
nonce?: number;
|
|
3636
|
+
value?: bigint;
|
|
3637
|
+
}): Promise<void>;
|
|
3638
|
+
/**
|
|
3639
|
+
* Simulate setMaxRate
|
|
3640
|
+
* Returns gas estimate and result without sending transaction
|
|
3641
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3642
|
+
*/
|
|
3643
|
+
setMaxRate(newMaxRate: bigint, options?: {
|
|
3644
|
+
accessList?: import("viem").AccessList;
|
|
3645
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3646
|
+
chain?: import("viem").Chain | null;
|
|
3647
|
+
dataSuffix?: `0x${string}`;
|
|
3648
|
+
gas?: bigint;
|
|
3649
|
+
gasPrice?: bigint;
|
|
3650
|
+
maxFeePerGas?: bigint;
|
|
3651
|
+
maxPriorityFeePerGas?: bigint;
|
|
3652
|
+
nonce?: number;
|
|
3653
|
+
value?: bigint;
|
|
3654
|
+
}): Promise<void>;
|
|
3655
|
+
/**
|
|
3656
|
+
* Simulate setName
|
|
3657
|
+
* Returns gas estimate and result without sending transaction
|
|
3658
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3659
|
+
*/
|
|
3660
|
+
setName(newName: string, options?: {
|
|
3661
|
+
accessList?: import("viem").AccessList;
|
|
3662
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3663
|
+
chain?: import("viem").Chain | null;
|
|
3664
|
+
dataSuffix?: `0x${string}`;
|
|
3665
|
+
gas?: bigint;
|
|
3666
|
+
gasPrice?: bigint;
|
|
3667
|
+
maxFeePerGas?: bigint;
|
|
3668
|
+
maxPriorityFeePerGas?: bigint;
|
|
3669
|
+
nonce?: number;
|
|
3670
|
+
value?: bigint;
|
|
3671
|
+
}): Promise<void>;
|
|
3672
|
+
/**
|
|
3673
|
+
* Simulate setOwner
|
|
3674
|
+
* Returns gas estimate and result without sending transaction
|
|
3675
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3676
|
+
*/
|
|
3677
|
+
setOwner(newOwner: `0x${string}`, options?: {
|
|
3678
|
+
accessList?: import("viem").AccessList;
|
|
3679
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3680
|
+
chain?: import("viem").Chain | null;
|
|
3681
|
+
dataSuffix?: `0x${string}`;
|
|
3682
|
+
gas?: bigint;
|
|
3683
|
+
gasPrice?: bigint;
|
|
3684
|
+
maxFeePerGas?: bigint;
|
|
3685
|
+
maxPriorityFeePerGas?: bigint;
|
|
3686
|
+
nonce?: number;
|
|
3687
|
+
value?: bigint;
|
|
3688
|
+
}): Promise<void>;
|
|
3689
|
+
/**
|
|
3690
|
+
* Simulate setPerformanceFee
|
|
3691
|
+
* Returns gas estimate and result without sending transaction
|
|
3692
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3693
|
+
*/
|
|
3694
|
+
setPerformanceFee(newPerformanceFee: bigint, options?: {
|
|
3695
|
+
accessList?: import("viem").AccessList;
|
|
3696
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3697
|
+
chain?: import("viem").Chain | null;
|
|
3698
|
+
dataSuffix?: `0x${string}`;
|
|
3699
|
+
gas?: bigint;
|
|
3700
|
+
gasPrice?: bigint;
|
|
3701
|
+
maxFeePerGas?: bigint;
|
|
3702
|
+
maxPriorityFeePerGas?: bigint;
|
|
3703
|
+
nonce?: number;
|
|
3704
|
+
value?: bigint;
|
|
3705
|
+
}): Promise<void>;
|
|
3706
|
+
/**
|
|
3707
|
+
* Simulate setPerformanceFeeRecipient
|
|
3708
|
+
* Returns gas estimate and result without sending transaction
|
|
3709
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3710
|
+
*/
|
|
3711
|
+
setPerformanceFeeRecipient(newPerformanceFeeRecipient: `0x${string}`, options?: {
|
|
3712
|
+
accessList?: import("viem").AccessList;
|
|
3713
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3714
|
+
chain?: import("viem").Chain | null;
|
|
3715
|
+
dataSuffix?: `0x${string}`;
|
|
3716
|
+
gas?: bigint;
|
|
3717
|
+
gasPrice?: bigint;
|
|
3718
|
+
maxFeePerGas?: bigint;
|
|
3719
|
+
maxPriorityFeePerGas?: bigint;
|
|
3720
|
+
nonce?: number;
|
|
3721
|
+
value?: bigint;
|
|
3722
|
+
}): Promise<void>;
|
|
3723
|
+
/**
|
|
3724
|
+
* Simulate setReceiveAssetsGate
|
|
3725
|
+
* Returns gas estimate and result without sending transaction
|
|
3726
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3727
|
+
*/
|
|
3728
|
+
setReceiveAssetsGate(newReceiveAssetsGate: `0x${string}`, options?: {
|
|
3729
|
+
accessList?: import("viem").AccessList;
|
|
3730
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3731
|
+
chain?: import("viem").Chain | null;
|
|
3732
|
+
dataSuffix?: `0x${string}`;
|
|
3733
|
+
gas?: bigint;
|
|
3734
|
+
gasPrice?: bigint;
|
|
3735
|
+
maxFeePerGas?: bigint;
|
|
3736
|
+
maxPriorityFeePerGas?: bigint;
|
|
3737
|
+
nonce?: number;
|
|
3738
|
+
value?: bigint;
|
|
3739
|
+
}): Promise<void>;
|
|
3740
|
+
/**
|
|
3741
|
+
* Simulate setReceiveSharesGate
|
|
3742
|
+
* Returns gas estimate and result without sending transaction
|
|
3743
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3744
|
+
*/
|
|
3745
|
+
setReceiveSharesGate(newReceiveSharesGate: `0x${string}`, options?: {
|
|
3746
|
+
accessList?: import("viem").AccessList;
|
|
3747
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3748
|
+
chain?: import("viem").Chain | null;
|
|
3749
|
+
dataSuffix?: `0x${string}`;
|
|
3750
|
+
gas?: bigint;
|
|
3751
|
+
gasPrice?: bigint;
|
|
3752
|
+
maxFeePerGas?: bigint;
|
|
3753
|
+
maxPriorityFeePerGas?: bigint;
|
|
3754
|
+
nonce?: number;
|
|
3755
|
+
value?: bigint;
|
|
3756
|
+
}): Promise<void>;
|
|
3757
|
+
/**
|
|
3758
|
+
* Simulate setSendAssetsGate
|
|
3759
|
+
* Returns gas estimate and result without sending transaction
|
|
3760
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3761
|
+
*/
|
|
3762
|
+
setSendAssetsGate(newSendAssetsGate: `0x${string}`, options?: {
|
|
3763
|
+
accessList?: import("viem").AccessList;
|
|
3764
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3765
|
+
chain?: import("viem").Chain | null;
|
|
3766
|
+
dataSuffix?: `0x${string}`;
|
|
3767
|
+
gas?: bigint;
|
|
3768
|
+
gasPrice?: bigint;
|
|
3769
|
+
maxFeePerGas?: bigint;
|
|
3770
|
+
maxPriorityFeePerGas?: bigint;
|
|
3771
|
+
nonce?: number;
|
|
3772
|
+
value?: bigint;
|
|
3773
|
+
}): Promise<void>;
|
|
3774
|
+
/**
|
|
3775
|
+
* Simulate setSendSharesGate
|
|
3776
|
+
* Returns gas estimate and result without sending transaction
|
|
3777
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3778
|
+
*/
|
|
3779
|
+
setSendSharesGate(newSendSharesGate: `0x${string}`, options?: {
|
|
3780
|
+
accessList?: import("viem").AccessList;
|
|
3781
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3782
|
+
chain?: import("viem").Chain | null;
|
|
3783
|
+
dataSuffix?: `0x${string}`;
|
|
3784
|
+
gas?: bigint;
|
|
3785
|
+
gasPrice?: bigint;
|
|
3786
|
+
maxFeePerGas?: bigint;
|
|
3787
|
+
maxPriorityFeePerGas?: bigint;
|
|
3788
|
+
nonce?: number;
|
|
3789
|
+
value?: bigint;
|
|
3790
|
+
}): Promise<void>;
|
|
3791
|
+
/**
|
|
3792
|
+
* Simulate setSymbol
|
|
3793
|
+
* Returns gas estimate and result without sending transaction
|
|
3794
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3795
|
+
*/
|
|
3796
|
+
setSymbol(newSymbol: string, options?: {
|
|
3797
|
+
accessList?: import("viem").AccessList;
|
|
3798
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3799
|
+
chain?: import("viem").Chain | null;
|
|
3800
|
+
dataSuffix?: `0x${string}`;
|
|
3801
|
+
gas?: bigint;
|
|
3802
|
+
gasPrice?: bigint;
|
|
3803
|
+
maxFeePerGas?: bigint;
|
|
3804
|
+
maxPriorityFeePerGas?: bigint;
|
|
3805
|
+
nonce?: number;
|
|
3806
|
+
value?: bigint;
|
|
3807
|
+
}): Promise<void>;
|
|
3808
|
+
/**
|
|
3809
|
+
* Simulate submit
|
|
3810
|
+
* Returns gas estimate and result without sending transaction
|
|
3811
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3812
|
+
*/
|
|
3813
|
+
submit(data: `0x${string}`, options?: {
|
|
3814
|
+
accessList?: import("viem").AccessList;
|
|
3815
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3816
|
+
chain?: import("viem").Chain | null;
|
|
3817
|
+
dataSuffix?: `0x${string}`;
|
|
3818
|
+
gas?: bigint;
|
|
3819
|
+
gasPrice?: bigint;
|
|
3820
|
+
maxFeePerGas?: bigint;
|
|
3821
|
+
maxPriorityFeePerGas?: bigint;
|
|
3822
|
+
nonce?: number;
|
|
3823
|
+
value?: bigint;
|
|
3824
|
+
}): Promise<void>;
|
|
3825
|
+
/**
|
|
3826
|
+
* Simulate transfer
|
|
3827
|
+
* Returns gas estimate and result without sending transaction
|
|
3828
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3829
|
+
*/
|
|
3830
|
+
transfer(to: `0x${string}`, shares: bigint, options?: {
|
|
3831
|
+
accessList?: import("viem").AccessList;
|
|
3832
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3833
|
+
chain?: import("viem").Chain | null;
|
|
3834
|
+
dataSuffix?: `0x${string}`;
|
|
3835
|
+
gas?: bigint;
|
|
3836
|
+
gasPrice?: bigint;
|
|
3837
|
+
maxFeePerGas?: bigint;
|
|
3838
|
+
maxPriorityFeePerGas?: bigint;
|
|
3839
|
+
nonce?: number;
|
|
3840
|
+
value?: bigint;
|
|
3841
|
+
}): Promise<boolean>;
|
|
3842
|
+
/**
|
|
3843
|
+
* Simulate transferFrom
|
|
3844
|
+
* Returns gas estimate and result without sending transaction
|
|
3845
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3846
|
+
*/
|
|
3847
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, shares: bigint, options?: {
|
|
3848
|
+
accessList?: import("viem").AccessList;
|
|
3849
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3850
|
+
chain?: import("viem").Chain | null;
|
|
3851
|
+
dataSuffix?: `0x${string}`;
|
|
3852
|
+
gas?: bigint;
|
|
3853
|
+
gasPrice?: bigint;
|
|
3854
|
+
maxFeePerGas?: bigint;
|
|
3855
|
+
maxPriorityFeePerGas?: bigint;
|
|
3856
|
+
nonce?: number;
|
|
3857
|
+
value?: bigint;
|
|
3858
|
+
}): Promise<boolean>;
|
|
3859
|
+
/**
|
|
3860
|
+
* Simulate withdraw
|
|
3861
|
+
* Returns gas estimate and result without sending transaction
|
|
3862
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3863
|
+
*/
|
|
3864
|
+
withdraw(assets: bigint, receiver: `0x${string}`, onBehalf: `0x${string}`, options?: {
|
|
3865
|
+
accessList?: import("viem").AccessList;
|
|
3866
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3867
|
+
chain?: import("viem").Chain | null;
|
|
3868
|
+
dataSuffix?: `0x${string}`;
|
|
3869
|
+
gas?: bigint;
|
|
3870
|
+
gasPrice?: bigint;
|
|
3871
|
+
maxFeePerGas?: bigint;
|
|
3872
|
+
maxPriorityFeePerGas?: bigint;
|
|
3873
|
+
nonce?: number;
|
|
3874
|
+
value?: bigint;
|
|
3875
|
+
}): Promise<bigint>;
|
|
3876
|
+
};
|
|
3877
|
+
/**
|
|
3878
|
+
* Watch contract events
|
|
3879
|
+
*
|
|
3880
|
+
* @example
|
|
3881
|
+
* // Watch all Transfer events
|
|
3882
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
3883
|
+
* console.log('Transfer:', event);
|
|
3884
|
+
* });
|
|
3885
|
+
*
|
|
3886
|
+
* // Stop watching
|
|
3887
|
+
* unwatch();
|
|
3888
|
+
*/
|
|
3889
|
+
get watch(): {
|
|
3890
|
+
/**
|
|
3891
|
+
* Watch Abdicate events
|
|
3892
|
+
* @param callback Function to call when event is emitted
|
|
3893
|
+
* @param filter Optional filter for indexed parameters
|
|
3894
|
+
* @returns Unwatch function to stop listening
|
|
3895
|
+
*/
|
|
3896
|
+
Abdicate: (callback: (event: {
|
|
3897
|
+
selector: `0x${string}`;
|
|
3898
|
+
}) => void, filter?: {
|
|
3899
|
+
selector: `0x${string}`;
|
|
3900
|
+
}) => () => void;
|
|
3901
|
+
/**
|
|
3902
|
+
* Watch Accept events
|
|
3903
|
+
* @param callback Function to call when event is emitted
|
|
3904
|
+
* @param filter Optional filter for indexed parameters
|
|
3905
|
+
* @returns Unwatch function to stop listening
|
|
3906
|
+
*/
|
|
3907
|
+
Accept: (callback: (event: {
|
|
3908
|
+
selector: `0x${string}`;
|
|
3909
|
+
data: `0x${string}`;
|
|
3910
|
+
}) => void, filter?: {
|
|
3911
|
+
selector: `0x${string}`;
|
|
3912
|
+
}) => () => void;
|
|
3913
|
+
/**
|
|
3914
|
+
* Watch AccrueInterest events
|
|
3915
|
+
* @param callback Function to call when event is emitted
|
|
3916
|
+
* @param filter Optional filter for indexed parameters
|
|
3917
|
+
* @returns Unwatch function to stop listening
|
|
3918
|
+
*/
|
|
3919
|
+
AccrueInterest: (callback: (event: {
|
|
3920
|
+
previousTotalAssets: bigint;
|
|
3921
|
+
newTotalAssets: bigint;
|
|
3922
|
+
performanceFeeShares: bigint;
|
|
3923
|
+
managementFeeShares: bigint;
|
|
3924
|
+
}) => void) => () => void;
|
|
3925
|
+
/**
|
|
3926
|
+
* Watch AddAdapter events
|
|
3927
|
+
* @param callback Function to call when event is emitted
|
|
3928
|
+
* @param filter Optional filter for indexed parameters
|
|
3929
|
+
* @returns Unwatch function to stop listening
|
|
3930
|
+
*/
|
|
3931
|
+
AddAdapter: (callback: (event: {
|
|
3932
|
+
account: `0x${string}`;
|
|
3933
|
+
}) => void, filter?: {
|
|
3934
|
+
account: `0x${string}`;
|
|
3935
|
+
}) => () => void;
|
|
3936
|
+
/**
|
|
3937
|
+
* Watch Allocate events
|
|
3938
|
+
* @param callback Function to call when event is emitted
|
|
3939
|
+
* @param filter Optional filter for indexed parameters
|
|
3940
|
+
* @returns Unwatch function to stop listening
|
|
3941
|
+
*/
|
|
3942
|
+
Allocate: (callback: (event: {
|
|
3943
|
+
sender: `0x${string}`;
|
|
3944
|
+
adapter: `0x${string}`;
|
|
3945
|
+
assets: bigint;
|
|
3946
|
+
ids: `0x${string}`[];
|
|
3947
|
+
change: bigint;
|
|
3948
|
+
}) => void, filter?: {
|
|
3949
|
+
sender: `0x${string}`;
|
|
3950
|
+
adapter: `0x${string}`;
|
|
3951
|
+
}) => () => void;
|
|
3952
|
+
/**
|
|
3953
|
+
* Watch AllowanceUpdatedByTransferFrom events
|
|
3954
|
+
* @param callback Function to call when event is emitted
|
|
3955
|
+
* @param filter Optional filter for indexed parameters
|
|
3956
|
+
* @returns Unwatch function to stop listening
|
|
3957
|
+
*/
|
|
3958
|
+
AllowanceUpdatedByTransferFrom: (callback: (event: {
|
|
3959
|
+
owner: `0x${string}`;
|
|
3960
|
+
spender: `0x${string}`;
|
|
3961
|
+
shares: bigint;
|
|
3962
|
+
}) => void, filter?: {
|
|
3963
|
+
owner: `0x${string}`;
|
|
3964
|
+
spender: `0x${string}`;
|
|
3965
|
+
}) => () => void;
|
|
3966
|
+
/**
|
|
3967
|
+
* Watch Approval events
|
|
3968
|
+
* @param callback Function to call when event is emitted
|
|
3969
|
+
* @param filter Optional filter for indexed parameters
|
|
3970
|
+
* @returns Unwatch function to stop listening
|
|
3971
|
+
*/
|
|
3972
|
+
Approval: (callback: (event: {
|
|
3973
|
+
owner: `0x${string}`;
|
|
3974
|
+
spender: `0x${string}`;
|
|
3975
|
+
shares: bigint;
|
|
3976
|
+
}) => void, filter?: {
|
|
3977
|
+
owner: `0x${string}`;
|
|
3978
|
+
spender: `0x${string}`;
|
|
3979
|
+
}) => () => void;
|
|
3980
|
+
/**
|
|
3981
|
+
* Watch Constructor events
|
|
3982
|
+
* @param callback Function to call when event is emitted
|
|
3983
|
+
* @param filter Optional filter for indexed parameters
|
|
3984
|
+
* @returns Unwatch function to stop listening
|
|
3985
|
+
*/
|
|
3986
|
+
Constructor: (callback: (event: {
|
|
3987
|
+
owner: `0x${string}`;
|
|
3988
|
+
asset: `0x${string}`;
|
|
3989
|
+
}) => void, filter?: {
|
|
3990
|
+
owner: `0x${string}`;
|
|
3991
|
+
asset: `0x${string}`;
|
|
3992
|
+
}) => () => void;
|
|
3993
|
+
/**
|
|
3994
|
+
* Watch Deallocate events
|
|
3995
|
+
* @param callback Function to call when event is emitted
|
|
3996
|
+
* @param filter Optional filter for indexed parameters
|
|
3997
|
+
* @returns Unwatch function to stop listening
|
|
3998
|
+
*/
|
|
3999
|
+
Deallocate: (callback: (event: {
|
|
4000
|
+
sender: `0x${string}`;
|
|
4001
|
+
adapter: `0x${string}`;
|
|
4002
|
+
assets: bigint;
|
|
4003
|
+
ids: `0x${string}`[];
|
|
4004
|
+
change: bigint;
|
|
4005
|
+
}) => void, filter?: {
|
|
4006
|
+
sender: `0x${string}`;
|
|
4007
|
+
adapter: `0x${string}`;
|
|
4008
|
+
}) => () => void;
|
|
4009
|
+
/**
|
|
4010
|
+
* Watch DecreaseAbsoluteCap events
|
|
4011
|
+
* @param callback Function to call when event is emitted
|
|
4012
|
+
* @param filter Optional filter for indexed parameters
|
|
4013
|
+
* @returns Unwatch function to stop listening
|
|
4014
|
+
*/
|
|
4015
|
+
DecreaseAbsoluteCap: (callback: (event: {
|
|
4016
|
+
sender: `0x${string}`;
|
|
4017
|
+
id: `0x${string}`;
|
|
4018
|
+
idData: `0x${string}`;
|
|
4019
|
+
newAbsoluteCap: bigint;
|
|
4020
|
+
}) => void, filter?: {
|
|
4021
|
+
sender: `0x${string}`;
|
|
4022
|
+
id: `0x${string}`;
|
|
4023
|
+
}) => () => void;
|
|
4024
|
+
/**
|
|
4025
|
+
* Watch DecreaseRelativeCap events
|
|
4026
|
+
* @param callback Function to call when event is emitted
|
|
4027
|
+
* @param filter Optional filter for indexed parameters
|
|
4028
|
+
* @returns Unwatch function to stop listening
|
|
4029
|
+
*/
|
|
4030
|
+
DecreaseRelativeCap: (callback: (event: {
|
|
4031
|
+
sender: `0x${string}`;
|
|
4032
|
+
id: `0x${string}`;
|
|
4033
|
+
idData: `0x${string}`;
|
|
4034
|
+
newRelativeCap: bigint;
|
|
4035
|
+
}) => void, filter?: {
|
|
4036
|
+
sender: `0x${string}`;
|
|
4037
|
+
id: `0x${string}`;
|
|
4038
|
+
}) => () => void;
|
|
4039
|
+
/**
|
|
4040
|
+
* Watch DecreaseTimelock events
|
|
4041
|
+
* @param callback Function to call when event is emitted
|
|
4042
|
+
* @param filter Optional filter for indexed parameters
|
|
4043
|
+
* @returns Unwatch function to stop listening
|
|
4044
|
+
*/
|
|
4045
|
+
DecreaseTimelock: (callback: (event: {
|
|
4046
|
+
selector: `0x${string}`;
|
|
4047
|
+
newDuration: bigint;
|
|
4048
|
+
}) => void, filter?: {
|
|
4049
|
+
selector: `0x${string}`;
|
|
4050
|
+
}) => () => void;
|
|
4051
|
+
/**
|
|
4052
|
+
* Watch Deposit events
|
|
4053
|
+
* @param callback Function to call when event is emitted
|
|
4054
|
+
* @param filter Optional filter for indexed parameters
|
|
4055
|
+
* @returns Unwatch function to stop listening
|
|
4056
|
+
*/
|
|
4057
|
+
Deposit: (callback: (event: {
|
|
4058
|
+
sender: `0x${string}`;
|
|
4059
|
+
onBehalf: `0x${string}`;
|
|
4060
|
+
assets: bigint;
|
|
4061
|
+
shares: bigint;
|
|
4062
|
+
}) => void, filter?: {
|
|
4063
|
+
sender: `0x${string}`;
|
|
4064
|
+
onBehalf: `0x${string}`;
|
|
4065
|
+
}) => () => void;
|
|
4066
|
+
/**
|
|
4067
|
+
* Watch ForceDeallocate events
|
|
4068
|
+
* @param callback Function to call when event is emitted
|
|
4069
|
+
* @param filter Optional filter for indexed parameters
|
|
4070
|
+
* @returns Unwatch function to stop listening
|
|
4071
|
+
*/
|
|
4072
|
+
ForceDeallocate: (callback: (event: {
|
|
4073
|
+
sender: `0x${string}`;
|
|
4074
|
+
onBehalf: `0x${string}`;
|
|
4075
|
+
adapter: `0x${string}`;
|
|
4076
|
+
assets: bigint;
|
|
4077
|
+
ids: `0x${string}`[];
|
|
4078
|
+
penaltyAssets: bigint;
|
|
4079
|
+
}) => void, filter?: {
|
|
4080
|
+
sender: `0x${string}`;
|
|
4081
|
+
onBehalf: `0x${string}`;
|
|
4082
|
+
}) => () => void;
|
|
4083
|
+
/**
|
|
4084
|
+
* Watch IncreaseAbsoluteCap events
|
|
4085
|
+
* @param callback Function to call when event is emitted
|
|
4086
|
+
* @param filter Optional filter for indexed parameters
|
|
4087
|
+
* @returns Unwatch function to stop listening
|
|
4088
|
+
*/
|
|
4089
|
+
IncreaseAbsoluteCap: (callback: (event: {
|
|
4090
|
+
id: `0x${string}`;
|
|
4091
|
+
idData: `0x${string}`;
|
|
4092
|
+
newAbsoluteCap: bigint;
|
|
4093
|
+
}) => void, filter?: {
|
|
4094
|
+
id: `0x${string}`;
|
|
4095
|
+
}) => () => void;
|
|
4096
|
+
/**
|
|
4097
|
+
* Watch IncreaseRelativeCap events
|
|
4098
|
+
* @param callback Function to call when event is emitted
|
|
4099
|
+
* @param filter Optional filter for indexed parameters
|
|
4100
|
+
* @returns Unwatch function to stop listening
|
|
4101
|
+
*/
|
|
4102
|
+
IncreaseRelativeCap: (callback: (event: {
|
|
4103
|
+
id: `0x${string}`;
|
|
4104
|
+
idData: `0x${string}`;
|
|
4105
|
+
newRelativeCap: bigint;
|
|
4106
|
+
}) => void, filter?: {
|
|
4107
|
+
id: `0x${string}`;
|
|
4108
|
+
}) => () => void;
|
|
4109
|
+
/**
|
|
4110
|
+
* Watch IncreaseTimelock events
|
|
4111
|
+
* @param callback Function to call when event is emitted
|
|
4112
|
+
* @param filter Optional filter for indexed parameters
|
|
4113
|
+
* @returns Unwatch function to stop listening
|
|
4114
|
+
*/
|
|
4115
|
+
IncreaseTimelock: (callback: (event: {
|
|
4116
|
+
selector: `0x${string}`;
|
|
4117
|
+
newDuration: bigint;
|
|
4118
|
+
}) => void, filter?: {
|
|
4119
|
+
selector: `0x${string}`;
|
|
4120
|
+
}) => () => void;
|
|
4121
|
+
/**
|
|
4122
|
+
* Watch Permit events
|
|
4123
|
+
* @param callback Function to call when event is emitted
|
|
4124
|
+
* @param filter Optional filter for indexed parameters
|
|
4125
|
+
* @returns Unwatch function to stop listening
|
|
4126
|
+
*/
|
|
4127
|
+
Permit: (callback: (event: {
|
|
4128
|
+
owner: `0x${string}`;
|
|
4129
|
+
spender: `0x${string}`;
|
|
4130
|
+
shares: bigint;
|
|
4131
|
+
nonce: bigint;
|
|
4132
|
+
deadline: bigint;
|
|
4133
|
+
}) => void, filter?: {
|
|
4134
|
+
owner: `0x${string}`;
|
|
4135
|
+
spender: `0x${string}`;
|
|
4136
|
+
}) => () => void;
|
|
4137
|
+
/**
|
|
4138
|
+
* Watch RemoveAdapter events
|
|
4139
|
+
* @param callback Function to call when event is emitted
|
|
4140
|
+
* @param filter Optional filter for indexed parameters
|
|
4141
|
+
* @returns Unwatch function to stop listening
|
|
4142
|
+
*/
|
|
4143
|
+
RemoveAdapter: (callback: (event: {
|
|
4144
|
+
account: `0x${string}`;
|
|
4145
|
+
}) => void, filter?: {
|
|
4146
|
+
account: `0x${string}`;
|
|
4147
|
+
}) => () => void;
|
|
4148
|
+
/**
|
|
4149
|
+
* Watch Revoke events
|
|
4150
|
+
* @param callback Function to call when event is emitted
|
|
4151
|
+
* @param filter Optional filter for indexed parameters
|
|
4152
|
+
* @returns Unwatch function to stop listening
|
|
4153
|
+
*/
|
|
4154
|
+
Revoke: (callback: (event: {
|
|
4155
|
+
sender: `0x${string}`;
|
|
4156
|
+
selector: `0x${string}`;
|
|
4157
|
+
data: `0x${string}`;
|
|
4158
|
+
}) => void, filter?: {
|
|
4159
|
+
sender: `0x${string}`;
|
|
4160
|
+
selector: `0x${string}`;
|
|
4161
|
+
}) => () => void;
|
|
4162
|
+
/**
|
|
4163
|
+
* Watch SetAdapterRegistry events
|
|
4164
|
+
* @param callback Function to call when event is emitted
|
|
4165
|
+
* @param filter Optional filter for indexed parameters
|
|
4166
|
+
* @returns Unwatch function to stop listening
|
|
4167
|
+
*/
|
|
4168
|
+
SetAdapterRegistry: (callback: (event: {
|
|
4169
|
+
newAdapterRegistry: `0x${string}`;
|
|
4170
|
+
}) => void, filter?: {
|
|
4171
|
+
newAdapterRegistry: `0x${string}`;
|
|
4172
|
+
}) => () => void;
|
|
4173
|
+
/**
|
|
4174
|
+
* Watch SetCurator events
|
|
4175
|
+
* @param callback Function to call when event is emitted
|
|
4176
|
+
* @param filter Optional filter for indexed parameters
|
|
4177
|
+
* @returns Unwatch function to stop listening
|
|
4178
|
+
*/
|
|
4179
|
+
SetCurator: (callback: (event: {
|
|
4180
|
+
newCurator: `0x${string}`;
|
|
4181
|
+
}) => void, filter?: {
|
|
4182
|
+
newCurator: `0x${string}`;
|
|
4183
|
+
}) => () => void;
|
|
4184
|
+
/**
|
|
4185
|
+
* Watch SetForceDeallocatePenalty events
|
|
4186
|
+
* @param callback Function to call when event is emitted
|
|
4187
|
+
* @param filter Optional filter for indexed parameters
|
|
4188
|
+
* @returns Unwatch function to stop listening
|
|
4189
|
+
*/
|
|
4190
|
+
SetForceDeallocatePenalty: (callback: (event: {
|
|
4191
|
+
adapter: `0x${string}`;
|
|
4192
|
+
forceDeallocatePenalty: bigint;
|
|
4193
|
+
}) => void, filter?: {
|
|
4194
|
+
adapter: `0x${string}`;
|
|
4195
|
+
}) => () => void;
|
|
4196
|
+
/**
|
|
4197
|
+
* Watch SetIsAllocator events
|
|
4198
|
+
* @param callback Function to call when event is emitted
|
|
4199
|
+
* @param filter Optional filter for indexed parameters
|
|
4200
|
+
* @returns Unwatch function to stop listening
|
|
4201
|
+
*/
|
|
4202
|
+
SetIsAllocator: (callback: (event: {
|
|
4203
|
+
account: `0x${string}`;
|
|
4204
|
+
newIsAllocator: boolean;
|
|
4205
|
+
}) => void, filter?: {
|
|
4206
|
+
account: `0x${string}`;
|
|
4207
|
+
}) => () => void;
|
|
4208
|
+
/**
|
|
4209
|
+
* Watch SetIsSentinel events
|
|
4210
|
+
* @param callback Function to call when event is emitted
|
|
4211
|
+
* @param filter Optional filter for indexed parameters
|
|
4212
|
+
* @returns Unwatch function to stop listening
|
|
4213
|
+
*/
|
|
4214
|
+
SetIsSentinel: (callback: (event: {
|
|
4215
|
+
account: `0x${string}`;
|
|
4216
|
+
newIsSentinel: boolean;
|
|
4217
|
+
}) => void, filter?: {
|
|
4218
|
+
account: `0x${string}`;
|
|
4219
|
+
}) => () => void;
|
|
4220
|
+
/**
|
|
4221
|
+
* Watch SetLiquidityAdapterAndData events
|
|
4222
|
+
* @param callback Function to call when event is emitted
|
|
4223
|
+
* @param filter Optional filter for indexed parameters
|
|
4224
|
+
* @returns Unwatch function to stop listening
|
|
4225
|
+
*/
|
|
4226
|
+
SetLiquidityAdapterAndData: (callback: (event: {
|
|
4227
|
+
sender: `0x${string}`;
|
|
4228
|
+
newLiquidityAdapter: `0x${string}`;
|
|
4229
|
+
newLiquidityData: `0x${string}`;
|
|
4230
|
+
}) => void, filter?: {
|
|
4231
|
+
sender: `0x${string}`;
|
|
4232
|
+
newLiquidityAdapter: `0x${string}`;
|
|
4233
|
+
newLiquidityData: `0x${string}`;
|
|
4234
|
+
}) => () => void;
|
|
4235
|
+
/**
|
|
4236
|
+
* Watch SetManagementFee events
|
|
4237
|
+
* @param callback Function to call when event is emitted
|
|
4238
|
+
* @param filter Optional filter for indexed parameters
|
|
4239
|
+
* @returns Unwatch function to stop listening
|
|
4240
|
+
*/
|
|
4241
|
+
SetManagementFee: (callback: (event: {
|
|
4242
|
+
newManagementFee: bigint;
|
|
4243
|
+
}) => void) => () => void;
|
|
4244
|
+
/**
|
|
4245
|
+
* Watch SetManagementFeeRecipient events
|
|
4246
|
+
* @param callback Function to call when event is emitted
|
|
4247
|
+
* @param filter Optional filter for indexed parameters
|
|
4248
|
+
* @returns Unwatch function to stop listening
|
|
4249
|
+
*/
|
|
4250
|
+
SetManagementFeeRecipient: (callback: (event: {
|
|
4251
|
+
newManagementFeeRecipient: `0x${string}`;
|
|
4252
|
+
}) => void, filter?: {
|
|
4253
|
+
newManagementFeeRecipient: `0x${string}`;
|
|
4254
|
+
}) => () => void;
|
|
4255
|
+
/**
|
|
4256
|
+
* Watch SetMaxRate events
|
|
4257
|
+
* @param callback Function to call when event is emitted
|
|
4258
|
+
* @param filter Optional filter for indexed parameters
|
|
4259
|
+
* @returns Unwatch function to stop listening
|
|
4260
|
+
*/
|
|
4261
|
+
SetMaxRate: (callback: (event: {
|
|
4262
|
+
newMaxRate: bigint;
|
|
4263
|
+
}) => void) => () => void;
|
|
4264
|
+
/**
|
|
4265
|
+
* Watch SetName events
|
|
4266
|
+
* @param callback Function to call when event is emitted
|
|
4267
|
+
* @param filter Optional filter for indexed parameters
|
|
4268
|
+
* @returns Unwatch function to stop listening
|
|
4269
|
+
*/
|
|
4270
|
+
SetName: (callback: (event: {
|
|
4271
|
+
newName: string;
|
|
4272
|
+
}) => void) => () => void;
|
|
4273
|
+
/**
|
|
4274
|
+
* Watch SetOwner events
|
|
4275
|
+
* @param callback Function to call when event is emitted
|
|
4276
|
+
* @param filter Optional filter for indexed parameters
|
|
4277
|
+
* @returns Unwatch function to stop listening
|
|
4278
|
+
*/
|
|
4279
|
+
SetOwner: (callback: (event: {
|
|
4280
|
+
newOwner: `0x${string}`;
|
|
4281
|
+
}) => void, filter?: {
|
|
4282
|
+
newOwner: `0x${string}`;
|
|
4283
|
+
}) => () => void;
|
|
4284
|
+
/**
|
|
4285
|
+
* Watch SetPerformanceFee events
|
|
4286
|
+
* @param callback Function to call when event is emitted
|
|
4287
|
+
* @param filter Optional filter for indexed parameters
|
|
4288
|
+
* @returns Unwatch function to stop listening
|
|
4289
|
+
*/
|
|
4290
|
+
SetPerformanceFee: (callback: (event: {
|
|
4291
|
+
newPerformanceFee: bigint;
|
|
4292
|
+
}) => void) => () => void;
|
|
4293
|
+
/**
|
|
4294
|
+
* Watch SetPerformanceFeeRecipient events
|
|
4295
|
+
* @param callback Function to call when event is emitted
|
|
4296
|
+
* @param filter Optional filter for indexed parameters
|
|
4297
|
+
* @returns Unwatch function to stop listening
|
|
4298
|
+
*/
|
|
4299
|
+
SetPerformanceFeeRecipient: (callback: (event: {
|
|
4300
|
+
newPerformanceFeeRecipient: `0x${string}`;
|
|
4301
|
+
}) => void, filter?: {
|
|
4302
|
+
newPerformanceFeeRecipient: `0x${string}`;
|
|
4303
|
+
}) => () => void;
|
|
4304
|
+
/**
|
|
4305
|
+
* Watch SetReceiveAssetsGate events
|
|
4306
|
+
* @param callback Function to call when event is emitted
|
|
4307
|
+
* @param filter Optional filter for indexed parameters
|
|
4308
|
+
* @returns Unwatch function to stop listening
|
|
4309
|
+
*/
|
|
4310
|
+
SetReceiveAssetsGate: (callback: (event: {
|
|
4311
|
+
newReceiveAssetsGate: `0x${string}`;
|
|
4312
|
+
}) => void, filter?: {
|
|
4313
|
+
newReceiveAssetsGate: `0x${string}`;
|
|
4314
|
+
}) => () => void;
|
|
4315
|
+
/**
|
|
4316
|
+
* Watch SetReceiveSharesGate events
|
|
4317
|
+
* @param callback Function to call when event is emitted
|
|
4318
|
+
* @param filter Optional filter for indexed parameters
|
|
4319
|
+
* @returns Unwatch function to stop listening
|
|
4320
|
+
*/
|
|
4321
|
+
SetReceiveSharesGate: (callback: (event: {
|
|
4322
|
+
newReceiveSharesGate: `0x${string}`;
|
|
4323
|
+
}) => void, filter?: {
|
|
4324
|
+
newReceiveSharesGate: `0x${string}`;
|
|
4325
|
+
}) => () => void;
|
|
4326
|
+
/**
|
|
4327
|
+
* Watch SetSendAssetsGate events
|
|
4328
|
+
* @param callback Function to call when event is emitted
|
|
4329
|
+
* @param filter Optional filter for indexed parameters
|
|
4330
|
+
* @returns Unwatch function to stop listening
|
|
4331
|
+
*/
|
|
4332
|
+
SetSendAssetsGate: (callback: (event: {
|
|
4333
|
+
newSendAssetsGate: `0x${string}`;
|
|
4334
|
+
}) => void, filter?: {
|
|
4335
|
+
newSendAssetsGate: `0x${string}`;
|
|
4336
|
+
}) => () => void;
|
|
4337
|
+
/**
|
|
4338
|
+
* Watch SetSendSharesGate events
|
|
4339
|
+
* @param callback Function to call when event is emitted
|
|
4340
|
+
* @param filter Optional filter for indexed parameters
|
|
4341
|
+
* @returns Unwatch function to stop listening
|
|
4342
|
+
*/
|
|
4343
|
+
SetSendSharesGate: (callback: (event: {
|
|
4344
|
+
newSendSharesGate: `0x${string}`;
|
|
4345
|
+
}) => void, filter?: {
|
|
4346
|
+
newSendSharesGate: `0x${string}`;
|
|
4347
|
+
}) => () => void;
|
|
4348
|
+
/**
|
|
4349
|
+
* Watch SetSymbol events
|
|
4350
|
+
* @param callback Function to call when event is emitted
|
|
4351
|
+
* @param filter Optional filter for indexed parameters
|
|
4352
|
+
* @returns Unwatch function to stop listening
|
|
4353
|
+
*/
|
|
4354
|
+
SetSymbol: (callback: (event: {
|
|
4355
|
+
newSymbol: string;
|
|
4356
|
+
}) => void) => () => void;
|
|
4357
|
+
/**
|
|
4358
|
+
* Watch Submit events
|
|
4359
|
+
* @param callback Function to call when event is emitted
|
|
4360
|
+
* @param filter Optional filter for indexed parameters
|
|
4361
|
+
* @returns Unwatch function to stop listening
|
|
4362
|
+
*/
|
|
4363
|
+
Submit: (callback: (event: {
|
|
4364
|
+
selector: `0x${string}`;
|
|
4365
|
+
data: `0x${string}`;
|
|
4366
|
+
executableAt: bigint;
|
|
4367
|
+
}) => void, filter?: {
|
|
4368
|
+
selector: `0x${string}`;
|
|
4369
|
+
}) => () => void;
|
|
4370
|
+
/**
|
|
4371
|
+
* Watch Transfer events
|
|
4372
|
+
* @param callback Function to call when event is emitted
|
|
4373
|
+
* @param filter Optional filter for indexed parameters
|
|
4374
|
+
* @returns Unwatch function to stop listening
|
|
4375
|
+
*/
|
|
4376
|
+
Transfer: (callback: (event: {
|
|
4377
|
+
from: `0x${string}`;
|
|
4378
|
+
to: `0x${string}`;
|
|
4379
|
+
shares: bigint;
|
|
4380
|
+
}) => void, filter?: {
|
|
4381
|
+
from: `0x${string}`;
|
|
4382
|
+
to: `0x${string}`;
|
|
4383
|
+
}) => () => void;
|
|
4384
|
+
/**
|
|
4385
|
+
* Watch Withdraw events
|
|
4386
|
+
* @param callback Function to call when event is emitted
|
|
4387
|
+
* @param filter Optional filter for indexed parameters
|
|
4388
|
+
* @returns Unwatch function to stop listening
|
|
4389
|
+
*/
|
|
4390
|
+
Withdraw: (callback: (event: {
|
|
4391
|
+
sender: `0x${string}`;
|
|
4392
|
+
receiver: `0x${string}`;
|
|
4393
|
+
onBehalf: `0x${string}`;
|
|
4394
|
+
assets: bigint;
|
|
4395
|
+
shares: bigint;
|
|
4396
|
+
}) => void, filter?: {
|
|
4397
|
+
sender: `0x${string}`;
|
|
4398
|
+
receiver: `0x${string}`;
|
|
4399
|
+
onBehalf: `0x${string}`;
|
|
4400
|
+
}) => () => void;
|
|
4401
|
+
};
|
|
4402
|
+
}
|