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