@gitmyabi-stg/edu 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1586 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * AnyswapV6ERC20 ABI
4
+ *
5
+ * This ABI is typed using viem's type system for full type safety.
6
+ */
7
+ export declare const AnyswapV6ERC20Abi: readonly [{
8
+ readonly inputs: readonly [{
9
+ readonly internalType: "string";
10
+ readonly name: "_name";
11
+ readonly type: "string";
12
+ }, {
13
+ readonly internalType: "string";
14
+ readonly name: "_symbol";
15
+ readonly type: "string";
16
+ }, {
17
+ readonly internalType: "uint8";
18
+ readonly name: "_decimals";
19
+ readonly type: "uint8";
20
+ }, {
21
+ readonly internalType: "address";
22
+ readonly name: "_underlying";
23
+ readonly type: "address";
24
+ }, {
25
+ readonly internalType: "address";
26
+ readonly name: "_vault";
27
+ readonly type: "address";
28
+ }];
29
+ readonly stateMutability: "nonpayable";
30
+ readonly type: "constructor";
31
+ }, {
32
+ readonly anonymous: false;
33
+ readonly inputs: readonly [{
34
+ readonly indexed: true;
35
+ readonly internalType: "address";
36
+ readonly name: "owner";
37
+ readonly type: "address";
38
+ }, {
39
+ readonly indexed: true;
40
+ readonly internalType: "address";
41
+ readonly name: "spender";
42
+ readonly type: "address";
43
+ }, {
44
+ readonly indexed: false;
45
+ readonly internalType: "uint256";
46
+ readonly name: "value";
47
+ readonly type: "uint256";
48
+ }];
49
+ readonly name: "Approval";
50
+ readonly type: "event";
51
+ }, {
52
+ readonly anonymous: false;
53
+ readonly inputs: readonly [{
54
+ readonly indexed: true;
55
+ readonly internalType: "address";
56
+ readonly name: "oldVault";
57
+ readonly type: "address";
58
+ }, {
59
+ readonly indexed: true;
60
+ readonly internalType: "address";
61
+ readonly name: "newVault";
62
+ readonly type: "address";
63
+ }, {
64
+ readonly indexed: true;
65
+ readonly internalType: "uint256";
66
+ readonly name: "effectiveTime";
67
+ readonly type: "uint256";
68
+ }];
69
+ readonly name: "LogChangeVault";
70
+ readonly type: "event";
71
+ }, {
72
+ readonly anonymous: false;
73
+ readonly inputs: readonly [{
74
+ readonly indexed: true;
75
+ readonly internalType: "bytes32";
76
+ readonly name: "txhash";
77
+ readonly type: "bytes32";
78
+ }, {
79
+ readonly indexed: true;
80
+ readonly internalType: "address";
81
+ readonly name: "account";
82
+ readonly type: "address";
83
+ }, {
84
+ readonly indexed: false;
85
+ readonly internalType: "uint256";
86
+ readonly name: "amount";
87
+ readonly type: "uint256";
88
+ }];
89
+ readonly name: "LogSwapin";
90
+ readonly type: "event";
91
+ }, {
92
+ readonly anonymous: false;
93
+ readonly inputs: readonly [{
94
+ readonly indexed: true;
95
+ readonly internalType: "address";
96
+ readonly name: "account";
97
+ readonly type: "address";
98
+ }, {
99
+ readonly indexed: true;
100
+ readonly internalType: "address";
101
+ readonly name: "bindaddr";
102
+ readonly type: "address";
103
+ }, {
104
+ readonly indexed: false;
105
+ readonly internalType: "uint256";
106
+ readonly name: "amount";
107
+ readonly type: "uint256";
108
+ }];
109
+ readonly name: "LogSwapout";
110
+ readonly type: "event";
111
+ }, {
112
+ readonly anonymous: false;
113
+ readonly inputs: readonly [{
114
+ readonly indexed: true;
115
+ readonly internalType: "address";
116
+ readonly name: "from";
117
+ readonly type: "address";
118
+ }, {
119
+ readonly indexed: true;
120
+ readonly internalType: "address";
121
+ readonly name: "to";
122
+ readonly type: "address";
123
+ }, {
124
+ readonly indexed: false;
125
+ readonly internalType: "uint256";
126
+ readonly name: "value";
127
+ readonly type: "uint256";
128
+ }];
129
+ readonly name: "Transfer";
130
+ readonly type: "event";
131
+ }, {
132
+ readonly inputs: readonly [];
133
+ readonly name: "DELAY";
134
+ readonly outputs: readonly [{
135
+ readonly internalType: "uint256";
136
+ readonly name: "";
137
+ readonly type: "uint256";
138
+ }];
139
+ readonly stateMutability: "view";
140
+ readonly type: "function";
141
+ }, {
142
+ readonly inputs: readonly [{
143
+ readonly internalType: "bytes32";
144
+ readonly name: "txhash";
145
+ readonly type: "bytes32";
146
+ }, {
147
+ readonly internalType: "address";
148
+ readonly name: "account";
149
+ readonly type: "address";
150
+ }, {
151
+ readonly internalType: "uint256";
152
+ readonly name: "amount";
153
+ readonly type: "uint256";
154
+ }];
155
+ readonly name: "Swapin";
156
+ readonly outputs: readonly [{
157
+ readonly internalType: "bool";
158
+ readonly name: "";
159
+ readonly type: "bool";
160
+ }];
161
+ readonly stateMutability: "nonpayable";
162
+ readonly type: "function";
163
+ }, {
164
+ readonly inputs: readonly [{
165
+ readonly internalType: "uint256";
166
+ readonly name: "amount";
167
+ readonly type: "uint256";
168
+ }, {
169
+ readonly internalType: "address";
170
+ readonly name: "bindaddr";
171
+ readonly type: "address";
172
+ }];
173
+ readonly name: "Swapout";
174
+ readonly outputs: readonly [{
175
+ readonly internalType: "bool";
176
+ readonly name: "";
177
+ readonly type: "bool";
178
+ }];
179
+ readonly stateMutability: "nonpayable";
180
+ readonly type: "function";
181
+ }, {
182
+ readonly inputs: readonly [{
183
+ readonly internalType: "address";
184
+ readonly name: "";
185
+ readonly type: "address";
186
+ }, {
187
+ readonly internalType: "address";
188
+ readonly name: "";
189
+ readonly type: "address";
190
+ }];
191
+ readonly name: "allowance";
192
+ readonly outputs: readonly [{
193
+ readonly internalType: "uint256";
194
+ readonly name: "";
195
+ readonly type: "uint256";
196
+ }];
197
+ readonly stateMutability: "view";
198
+ readonly type: "function";
199
+ }, {
200
+ readonly inputs: readonly [];
201
+ readonly name: "applyMinter";
202
+ readonly outputs: readonly [];
203
+ readonly stateMutability: "nonpayable";
204
+ readonly type: "function";
205
+ }, {
206
+ readonly inputs: readonly [];
207
+ readonly name: "applyVault";
208
+ readonly outputs: readonly [];
209
+ readonly stateMutability: "nonpayable";
210
+ readonly type: "function";
211
+ }, {
212
+ readonly inputs: readonly [{
213
+ readonly internalType: "address";
214
+ readonly name: "spender";
215
+ readonly type: "address";
216
+ }, {
217
+ readonly internalType: "uint256";
218
+ readonly name: "value";
219
+ readonly type: "uint256";
220
+ }];
221
+ readonly name: "approve";
222
+ readonly outputs: readonly [{
223
+ readonly internalType: "bool";
224
+ readonly name: "";
225
+ readonly type: "bool";
226
+ }];
227
+ readonly stateMutability: "nonpayable";
228
+ readonly type: "function";
229
+ }, {
230
+ readonly inputs: readonly [{
231
+ readonly internalType: "address";
232
+ readonly name: "";
233
+ readonly type: "address";
234
+ }];
235
+ readonly name: "balanceOf";
236
+ readonly outputs: readonly [{
237
+ readonly internalType: "uint256";
238
+ readonly name: "";
239
+ readonly type: "uint256";
240
+ }];
241
+ readonly stateMutability: "view";
242
+ readonly type: "function";
243
+ }, {
244
+ readonly inputs: readonly [{
245
+ readonly internalType: "address";
246
+ readonly name: "from";
247
+ readonly type: "address";
248
+ }, {
249
+ readonly internalType: "uint256";
250
+ readonly name: "amount";
251
+ readonly type: "uint256";
252
+ }];
253
+ readonly name: "burn";
254
+ readonly outputs: readonly [{
255
+ readonly internalType: "bool";
256
+ readonly name: "";
257
+ readonly type: "bool";
258
+ }];
259
+ readonly stateMutability: "nonpayable";
260
+ readonly type: "function";
261
+ }, {
262
+ readonly inputs: readonly [{
263
+ readonly internalType: "address";
264
+ readonly name: "newVault";
265
+ readonly type: "address";
266
+ }];
267
+ readonly name: "changeVault";
268
+ readonly outputs: readonly [{
269
+ readonly internalType: "bool";
270
+ readonly name: "";
271
+ readonly type: "bool";
272
+ }];
273
+ readonly stateMutability: "nonpayable";
274
+ readonly type: "function";
275
+ }, {
276
+ readonly inputs: readonly [];
277
+ readonly name: "decimals";
278
+ readonly outputs: readonly [{
279
+ readonly internalType: "uint8";
280
+ readonly name: "";
281
+ readonly type: "uint8";
282
+ }];
283
+ readonly stateMutability: "view";
284
+ readonly type: "function";
285
+ }, {
286
+ readonly inputs: readonly [];
287
+ readonly name: "delayMinter";
288
+ readonly outputs: readonly [{
289
+ readonly internalType: "uint256";
290
+ readonly name: "";
291
+ readonly type: "uint256";
292
+ }];
293
+ readonly stateMutability: "view";
294
+ readonly type: "function";
295
+ }, {
296
+ readonly inputs: readonly [];
297
+ readonly name: "delayVault";
298
+ readonly outputs: readonly [{
299
+ readonly internalType: "uint256";
300
+ readonly name: "";
301
+ readonly type: "uint256";
302
+ }];
303
+ readonly stateMutability: "view";
304
+ readonly type: "function";
305
+ }, {
306
+ readonly inputs: readonly [{
307
+ readonly internalType: "uint256";
308
+ readonly name: "amount";
309
+ readonly type: "uint256";
310
+ }, {
311
+ readonly internalType: "address";
312
+ readonly name: "to";
313
+ readonly type: "address";
314
+ }];
315
+ readonly name: "deposit";
316
+ readonly outputs: readonly [{
317
+ readonly internalType: "uint256";
318
+ readonly name: "";
319
+ readonly type: "uint256";
320
+ }];
321
+ readonly stateMutability: "nonpayable";
322
+ readonly type: "function";
323
+ }, {
324
+ readonly inputs: readonly [{
325
+ readonly internalType: "uint256";
326
+ readonly name: "amount";
327
+ readonly type: "uint256";
328
+ }];
329
+ readonly name: "deposit";
330
+ readonly outputs: readonly [{
331
+ readonly internalType: "uint256";
332
+ readonly name: "";
333
+ readonly type: "uint256";
334
+ }];
335
+ readonly stateMutability: "nonpayable";
336
+ readonly type: "function";
337
+ }, {
338
+ readonly inputs: readonly [];
339
+ readonly name: "deposit";
340
+ readonly outputs: readonly [{
341
+ readonly internalType: "uint256";
342
+ readonly name: "";
343
+ readonly type: "uint256";
344
+ }];
345
+ readonly stateMutability: "nonpayable";
346
+ readonly type: "function";
347
+ }, {
348
+ readonly inputs: readonly [{
349
+ readonly internalType: "uint256";
350
+ readonly name: "amount";
351
+ readonly type: "uint256";
352
+ }, {
353
+ readonly internalType: "address";
354
+ readonly name: "to";
355
+ readonly type: "address";
356
+ }];
357
+ readonly name: "depositVault";
358
+ readonly outputs: readonly [{
359
+ readonly internalType: "uint256";
360
+ readonly name: "";
361
+ readonly type: "uint256";
362
+ }];
363
+ readonly stateMutability: "nonpayable";
364
+ readonly type: "function";
365
+ }, {
366
+ readonly inputs: readonly [];
367
+ readonly name: "getAllMinters";
368
+ readonly outputs: readonly [{
369
+ readonly internalType: "address[]";
370
+ readonly name: "";
371
+ readonly type: "address[]";
372
+ }];
373
+ readonly stateMutability: "view";
374
+ readonly type: "function";
375
+ }, {
376
+ readonly inputs: readonly [{
377
+ readonly internalType: "address";
378
+ readonly name: "_vault";
379
+ readonly type: "address";
380
+ }];
381
+ readonly name: "initVault";
382
+ readonly outputs: readonly [];
383
+ readonly stateMutability: "nonpayable";
384
+ readonly type: "function";
385
+ }, {
386
+ readonly inputs: readonly [{
387
+ readonly internalType: "address";
388
+ readonly name: "";
389
+ readonly type: "address";
390
+ }];
391
+ readonly name: "isMinter";
392
+ readonly outputs: readonly [{
393
+ readonly internalType: "bool";
394
+ readonly name: "";
395
+ readonly type: "bool";
396
+ }];
397
+ readonly stateMutability: "view";
398
+ readonly type: "function";
399
+ }, {
400
+ readonly inputs: readonly [{
401
+ readonly internalType: "address";
402
+ readonly name: "to";
403
+ readonly type: "address";
404
+ }, {
405
+ readonly internalType: "uint256";
406
+ readonly name: "amount";
407
+ readonly type: "uint256";
408
+ }];
409
+ readonly name: "mint";
410
+ readonly outputs: readonly [{
411
+ readonly internalType: "bool";
412
+ readonly name: "";
413
+ readonly type: "bool";
414
+ }];
415
+ readonly stateMutability: "nonpayable";
416
+ readonly type: "function";
417
+ }, {
418
+ readonly inputs: readonly [{
419
+ readonly internalType: "uint256";
420
+ readonly name: "";
421
+ readonly type: "uint256";
422
+ }];
423
+ readonly name: "minters";
424
+ readonly outputs: readonly [{
425
+ readonly internalType: "address";
426
+ readonly name: "";
427
+ readonly type: "address";
428
+ }];
429
+ readonly stateMutability: "view";
430
+ readonly type: "function";
431
+ }, {
432
+ readonly inputs: readonly [];
433
+ readonly name: "mpc";
434
+ readonly outputs: readonly [{
435
+ readonly internalType: "address";
436
+ readonly name: "";
437
+ readonly type: "address";
438
+ }];
439
+ readonly stateMutability: "view";
440
+ readonly type: "function";
441
+ }, {
442
+ readonly inputs: readonly [];
443
+ readonly name: "name";
444
+ readonly outputs: readonly [{
445
+ readonly internalType: "string";
446
+ readonly name: "";
447
+ readonly type: "string";
448
+ }];
449
+ readonly stateMutability: "view";
450
+ readonly type: "function";
451
+ }, {
452
+ readonly inputs: readonly [];
453
+ readonly name: "owner";
454
+ readonly outputs: readonly [{
455
+ readonly internalType: "address";
456
+ readonly name: "";
457
+ readonly type: "address";
458
+ }];
459
+ readonly stateMutability: "view";
460
+ readonly type: "function";
461
+ }, {
462
+ readonly inputs: readonly [];
463
+ readonly name: "pendingMinter";
464
+ readonly outputs: readonly [{
465
+ readonly internalType: "address";
466
+ readonly name: "";
467
+ readonly type: "address";
468
+ }];
469
+ readonly stateMutability: "view";
470
+ readonly type: "function";
471
+ }, {
472
+ readonly inputs: readonly [];
473
+ readonly name: "pendingVault";
474
+ readonly outputs: readonly [{
475
+ readonly internalType: "address";
476
+ readonly name: "";
477
+ readonly type: "address";
478
+ }];
479
+ readonly stateMutability: "view";
480
+ readonly type: "function";
481
+ }, {
482
+ readonly inputs: readonly [{
483
+ readonly internalType: "address";
484
+ readonly name: "_auth";
485
+ readonly type: "address";
486
+ }];
487
+ readonly name: "revokeMinter";
488
+ readonly outputs: readonly [];
489
+ readonly stateMutability: "nonpayable";
490
+ readonly type: "function";
491
+ }, {
492
+ readonly inputs: readonly [{
493
+ readonly internalType: "address";
494
+ readonly name: "_auth";
495
+ readonly type: "address";
496
+ }];
497
+ readonly name: "setMinter";
498
+ readonly outputs: readonly [];
499
+ readonly stateMutability: "nonpayable";
500
+ readonly type: "function";
501
+ }, {
502
+ readonly inputs: readonly [{
503
+ readonly internalType: "address";
504
+ readonly name: "_vault";
505
+ readonly type: "address";
506
+ }];
507
+ readonly name: "setVault";
508
+ readonly outputs: readonly [];
509
+ readonly stateMutability: "nonpayable";
510
+ readonly type: "function";
511
+ }, {
512
+ readonly inputs: readonly [{
513
+ readonly internalType: "bool";
514
+ readonly name: "enabled";
515
+ readonly type: "bool";
516
+ }];
517
+ readonly name: "setVaultOnly";
518
+ readonly outputs: readonly [];
519
+ readonly stateMutability: "nonpayable";
520
+ readonly type: "function";
521
+ }, {
522
+ readonly inputs: readonly [];
523
+ readonly name: "symbol";
524
+ readonly outputs: readonly [{
525
+ readonly internalType: "string";
526
+ readonly name: "";
527
+ readonly type: "string";
528
+ }];
529
+ readonly stateMutability: "view";
530
+ readonly type: "function";
531
+ }, {
532
+ readonly inputs: readonly [];
533
+ readonly name: "totalSupply";
534
+ readonly outputs: readonly [{
535
+ readonly internalType: "uint256";
536
+ readonly name: "";
537
+ readonly type: "uint256";
538
+ }];
539
+ readonly stateMutability: "view";
540
+ readonly type: "function";
541
+ }, {
542
+ readonly inputs: readonly [{
543
+ readonly internalType: "address";
544
+ readonly name: "to";
545
+ readonly type: "address";
546
+ }, {
547
+ readonly internalType: "uint256";
548
+ readonly name: "value";
549
+ readonly type: "uint256";
550
+ }];
551
+ readonly name: "transfer";
552
+ readonly outputs: readonly [{
553
+ readonly internalType: "bool";
554
+ readonly name: "";
555
+ readonly type: "bool";
556
+ }];
557
+ readonly stateMutability: "nonpayable";
558
+ readonly type: "function";
559
+ }, {
560
+ readonly inputs: readonly [{
561
+ readonly internalType: "address";
562
+ readonly name: "from";
563
+ readonly type: "address";
564
+ }, {
565
+ readonly internalType: "address";
566
+ readonly name: "to";
567
+ readonly type: "address";
568
+ }, {
569
+ readonly internalType: "uint256";
570
+ readonly name: "value";
571
+ readonly type: "uint256";
572
+ }];
573
+ readonly name: "transferFrom";
574
+ readonly outputs: readonly [{
575
+ readonly internalType: "bool";
576
+ readonly name: "";
577
+ readonly type: "bool";
578
+ }];
579
+ readonly stateMutability: "nonpayable";
580
+ readonly type: "function";
581
+ }, {
582
+ readonly inputs: readonly [];
583
+ readonly name: "underlying";
584
+ readonly outputs: readonly [{
585
+ readonly internalType: "address";
586
+ readonly name: "";
587
+ readonly type: "address";
588
+ }];
589
+ readonly stateMutability: "view";
590
+ readonly type: "function";
591
+ }, {
592
+ readonly inputs: readonly [];
593
+ readonly name: "underlyingIsMinted";
594
+ readonly outputs: readonly [{
595
+ readonly internalType: "bool";
596
+ readonly name: "";
597
+ readonly type: "bool";
598
+ }];
599
+ readonly stateMutability: "view";
600
+ readonly type: "function";
601
+ }, {
602
+ readonly inputs: readonly [];
603
+ readonly name: "vault";
604
+ readonly outputs: readonly [{
605
+ readonly internalType: "address";
606
+ readonly name: "";
607
+ readonly type: "address";
608
+ }];
609
+ readonly stateMutability: "view";
610
+ readonly type: "function";
611
+ }, {
612
+ readonly inputs: readonly [{
613
+ readonly internalType: "uint256";
614
+ readonly name: "amount";
615
+ readonly type: "uint256";
616
+ }, {
617
+ readonly internalType: "address";
618
+ readonly name: "to";
619
+ readonly type: "address";
620
+ }];
621
+ readonly name: "withdraw";
622
+ readonly outputs: readonly [{
623
+ readonly internalType: "uint256";
624
+ readonly name: "";
625
+ readonly type: "uint256";
626
+ }];
627
+ readonly stateMutability: "nonpayable";
628
+ readonly type: "function";
629
+ }, {
630
+ readonly inputs: readonly [{
631
+ readonly internalType: "uint256";
632
+ readonly name: "amount";
633
+ readonly type: "uint256";
634
+ }];
635
+ readonly name: "withdraw";
636
+ readonly outputs: readonly [{
637
+ readonly internalType: "uint256";
638
+ readonly name: "";
639
+ readonly type: "uint256";
640
+ }];
641
+ readonly stateMutability: "nonpayable";
642
+ readonly type: "function";
643
+ }, {
644
+ readonly inputs: readonly [];
645
+ readonly name: "withdraw";
646
+ readonly outputs: readonly [{
647
+ readonly internalType: "uint256";
648
+ readonly name: "";
649
+ readonly type: "uint256";
650
+ }];
651
+ readonly stateMutability: "nonpayable";
652
+ readonly type: "function";
653
+ }, {
654
+ readonly inputs: readonly [{
655
+ readonly internalType: "address";
656
+ readonly name: "from";
657
+ readonly type: "address";
658
+ }, {
659
+ readonly internalType: "uint256";
660
+ readonly name: "amount";
661
+ readonly type: "uint256";
662
+ }, {
663
+ readonly internalType: "address";
664
+ readonly name: "to";
665
+ readonly type: "address";
666
+ }];
667
+ readonly name: "withdrawVault";
668
+ readonly outputs: readonly [{
669
+ readonly internalType: "uint256";
670
+ readonly name: "";
671
+ readonly type: "uint256";
672
+ }];
673
+ readonly stateMutability: "nonpayable";
674
+ readonly type: "function";
675
+ }];
676
+ /**
677
+ * Type-safe ABI for AnyswapV6ERC20
678
+ */
679
+ export type AnyswapV6ERC20Abi = typeof AnyswapV6ERC20Abi;
680
+ /**
681
+ * Contract instance type for AnyswapV6ERC20
682
+ */
683
+ export type AnyswapV6ERC20Contract = any;
684
+ /**
685
+ * AnyswapV6ERC20 Contract Class
686
+ *
687
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
688
+ *
689
+ * @example
690
+ * ```typescript
691
+ * import { createPublicClient, createWalletClient, http } from 'viem';
692
+ * import { mainnet } from 'viem/chains';
693
+ * import { AnyswapV6ERC20 } from 'AnyswapV6ERC20';
694
+ *
695
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
696
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
697
+ *
698
+ * const contract = new AnyswapV6ERC20('0x...', { publicClient, walletClient });
699
+ *
700
+ * // Read functions
701
+ * const result = await contract.balanceOf('0x...');
702
+ *
703
+ * // Write functions
704
+ * const hash = await contract.transfer('0x...', 1000n);
705
+ *
706
+ * // Simulate transactions (dry-run)
707
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
708
+ * console.log('Gas estimate:', simulation.request.gas);
709
+ *
710
+ * // Watch events
711
+ * const unwatch = contract.watch.Transfer((event) => {
712
+ * console.log('Transfer event:', event);
713
+ * });
714
+ * ```
715
+ */
716
+ export declare class AnyswapV6ERC20 {
717
+ private contract;
718
+ private contractAddress;
719
+ private publicClient;
720
+ constructor(address: Address, clients: {
721
+ publicClient: PublicClient;
722
+ walletClient?: WalletClient;
723
+ });
724
+ /**
725
+ * Get the contract address
726
+ */
727
+ get address(): Address;
728
+ /**
729
+ * Get the underlying viem contract instance.
730
+ */
731
+ getContract(): AnyswapV6ERC20Contract;
732
+ /**
733
+ * DELAY
734
+ * view
735
+ */
736
+ DELAY(): Promise<bigint>;
737
+ /**
738
+ * allowance
739
+ * view
740
+ */
741
+ allowance(arg0: `0x${string}`, arg1: `0x${string}`): Promise<bigint>;
742
+ /**
743
+ * balanceOf
744
+ * view
745
+ */
746
+ balanceOf(arg0: `0x${string}`): Promise<bigint>;
747
+ /**
748
+ * decimals
749
+ * view
750
+ */
751
+ decimals(): Promise<bigint>;
752
+ /**
753
+ * delayMinter
754
+ * view
755
+ */
756
+ delayMinter(): Promise<bigint>;
757
+ /**
758
+ * delayVault
759
+ * view
760
+ */
761
+ delayVault(): Promise<bigint>;
762
+ /**
763
+ * getAllMinters
764
+ * view
765
+ */
766
+ getAllMinters(): Promise<`0x${string}`[]>;
767
+ /**
768
+ * isMinter
769
+ * view
770
+ */
771
+ isMinter(arg0: `0x${string}`): Promise<boolean>;
772
+ /**
773
+ * minters
774
+ * view
775
+ */
776
+ minters(arg0: bigint): Promise<`0x${string}`>;
777
+ /**
778
+ * mpc
779
+ * view
780
+ */
781
+ mpc(): Promise<`0x${string}`>;
782
+ /**
783
+ * name
784
+ * view
785
+ */
786
+ name(): Promise<string>;
787
+ /**
788
+ * owner
789
+ * view
790
+ */
791
+ owner(): Promise<`0x${string}`>;
792
+ /**
793
+ * pendingMinter
794
+ * view
795
+ */
796
+ pendingMinter(): Promise<`0x${string}`>;
797
+ /**
798
+ * pendingVault
799
+ * view
800
+ */
801
+ pendingVault(): Promise<`0x${string}`>;
802
+ /**
803
+ * symbol
804
+ * view
805
+ */
806
+ symbol(): Promise<string>;
807
+ /**
808
+ * totalSupply
809
+ * view
810
+ */
811
+ totalSupply(): Promise<bigint>;
812
+ /**
813
+ * underlying
814
+ * view
815
+ */
816
+ underlying(): Promise<`0x${string}`>;
817
+ /**
818
+ * underlyingIsMinted
819
+ * view
820
+ */
821
+ underlyingIsMinted(): Promise<boolean>;
822
+ /**
823
+ * vault
824
+ * view
825
+ */
826
+ vault(): Promise<`0x${string}`>;
827
+ /**
828
+ * Swapin
829
+ * nonpayable
830
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
831
+ */
832
+ Swapin(txhash: `0x${string}`, account: `0x${string}`, amount: bigint, options?: {
833
+ accessList?: import('viem').AccessList;
834
+ authorizationList?: import('viem').AuthorizationList;
835
+ chain?: import('viem').Chain | null;
836
+ dataSuffix?: `0x${string}`;
837
+ gas?: bigint;
838
+ gasPrice?: bigint;
839
+ maxFeePerGas?: bigint;
840
+ maxPriorityFeePerGas?: bigint;
841
+ nonce?: number;
842
+ value?: bigint;
843
+ }): Promise<`0x${string}`>;
844
+ /**
845
+ * Swapout
846
+ * nonpayable
847
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
848
+ */
849
+ Swapout(amount: bigint, bindaddr: `0x${string}`, options?: {
850
+ accessList?: import('viem').AccessList;
851
+ authorizationList?: import('viem').AuthorizationList;
852
+ chain?: import('viem').Chain | null;
853
+ dataSuffix?: `0x${string}`;
854
+ gas?: bigint;
855
+ gasPrice?: bigint;
856
+ maxFeePerGas?: bigint;
857
+ maxPriorityFeePerGas?: bigint;
858
+ nonce?: number;
859
+ value?: bigint;
860
+ }): Promise<`0x${string}`>;
861
+ /**
862
+ * applyMinter
863
+ * nonpayable
864
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
865
+ */
866
+ applyMinter(options?: {
867
+ accessList?: import('viem').AccessList;
868
+ authorizationList?: import('viem').AuthorizationList;
869
+ chain?: import('viem').Chain | null;
870
+ dataSuffix?: `0x${string}`;
871
+ gas?: bigint;
872
+ gasPrice?: bigint;
873
+ maxFeePerGas?: bigint;
874
+ maxPriorityFeePerGas?: bigint;
875
+ nonce?: number;
876
+ value?: bigint;
877
+ }): Promise<`0x${string}`>;
878
+ /**
879
+ * applyVault
880
+ * nonpayable
881
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
882
+ */
883
+ applyVault(options?: {
884
+ accessList?: import('viem').AccessList;
885
+ authorizationList?: import('viem').AuthorizationList;
886
+ chain?: import('viem').Chain | null;
887
+ dataSuffix?: `0x${string}`;
888
+ gas?: bigint;
889
+ gasPrice?: bigint;
890
+ maxFeePerGas?: bigint;
891
+ maxPriorityFeePerGas?: bigint;
892
+ nonce?: number;
893
+ value?: bigint;
894
+ }): Promise<`0x${string}`>;
895
+ /**
896
+ * approve
897
+ * nonpayable
898
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
899
+ */
900
+ approve(spender: `0x${string}`, value: bigint, options?: {
901
+ accessList?: import('viem').AccessList;
902
+ authorizationList?: import('viem').AuthorizationList;
903
+ chain?: import('viem').Chain | null;
904
+ dataSuffix?: `0x${string}`;
905
+ gas?: bigint;
906
+ gasPrice?: bigint;
907
+ maxFeePerGas?: bigint;
908
+ maxPriorityFeePerGas?: bigint;
909
+ nonce?: number;
910
+ value?: bigint;
911
+ }): Promise<`0x${string}`>;
912
+ /**
913
+ * burn
914
+ * nonpayable
915
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
916
+ */
917
+ burn(from: `0x${string}`, amount: bigint, options?: {
918
+ accessList?: import('viem').AccessList;
919
+ authorizationList?: import('viem').AuthorizationList;
920
+ chain?: import('viem').Chain | null;
921
+ dataSuffix?: `0x${string}`;
922
+ gas?: bigint;
923
+ gasPrice?: bigint;
924
+ maxFeePerGas?: bigint;
925
+ maxPriorityFeePerGas?: bigint;
926
+ nonce?: number;
927
+ value?: bigint;
928
+ }): Promise<`0x${string}`>;
929
+ /**
930
+ * changeVault
931
+ * nonpayable
932
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
933
+ */
934
+ changeVault(newVault: `0x${string}`, options?: {
935
+ accessList?: import('viem').AccessList;
936
+ authorizationList?: import('viem').AuthorizationList;
937
+ chain?: import('viem').Chain | null;
938
+ dataSuffix?: `0x${string}`;
939
+ gas?: bigint;
940
+ gasPrice?: bigint;
941
+ maxFeePerGas?: bigint;
942
+ maxPriorityFeePerGas?: bigint;
943
+ nonce?: number;
944
+ value?: bigint;
945
+ }): Promise<`0x${string}`>;
946
+ deposit(amount: bigint, to: `0x${string}`, options?: {
947
+ accessList?: import('viem').AccessList;
948
+ authorizationList?: import('viem').AuthorizationList;
949
+ chain?: import('viem').Chain | null;
950
+ dataSuffix?: `0x${string}`;
951
+ gas?: bigint;
952
+ gasPrice?: bigint;
953
+ maxFeePerGas?: bigint;
954
+ maxPriorityFeePerGas?: bigint;
955
+ nonce?: number;
956
+ value?: bigint;
957
+ }): Promise<`0x${string}`>;
958
+ deposit(amount: bigint, options?: {
959
+ accessList?: import('viem').AccessList;
960
+ authorizationList?: import('viem').AuthorizationList;
961
+ chain?: import('viem').Chain | null;
962
+ dataSuffix?: `0x${string}`;
963
+ gas?: bigint;
964
+ gasPrice?: bigint;
965
+ maxFeePerGas?: bigint;
966
+ maxPriorityFeePerGas?: bigint;
967
+ nonce?: number;
968
+ value?: bigint;
969
+ }): Promise<`0x${string}`>;
970
+ deposit(options?: {
971
+ accessList?: import('viem').AccessList;
972
+ authorizationList?: import('viem').AuthorizationList;
973
+ chain?: import('viem').Chain | null;
974
+ dataSuffix?: `0x${string}`;
975
+ gas?: bigint;
976
+ gasPrice?: bigint;
977
+ maxFeePerGas?: bigint;
978
+ maxPriorityFeePerGas?: bigint;
979
+ nonce?: number;
980
+ value?: bigint;
981
+ }): Promise<`0x${string}`>;
982
+ /**
983
+ * depositVault
984
+ * nonpayable
985
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
986
+ */
987
+ depositVault(amount: bigint, to: `0x${string}`, options?: {
988
+ accessList?: import('viem').AccessList;
989
+ authorizationList?: import('viem').AuthorizationList;
990
+ chain?: import('viem').Chain | null;
991
+ dataSuffix?: `0x${string}`;
992
+ gas?: bigint;
993
+ gasPrice?: bigint;
994
+ maxFeePerGas?: bigint;
995
+ maxPriorityFeePerGas?: bigint;
996
+ nonce?: number;
997
+ value?: bigint;
998
+ }): Promise<`0x${string}`>;
999
+ /**
1000
+ * initVault
1001
+ * nonpayable
1002
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1003
+ */
1004
+ initVault(_vault: `0x${string}`, options?: {
1005
+ accessList?: import('viem').AccessList;
1006
+ authorizationList?: import('viem').AuthorizationList;
1007
+ chain?: import('viem').Chain | null;
1008
+ dataSuffix?: `0x${string}`;
1009
+ gas?: bigint;
1010
+ gasPrice?: bigint;
1011
+ maxFeePerGas?: bigint;
1012
+ maxPriorityFeePerGas?: bigint;
1013
+ nonce?: number;
1014
+ value?: bigint;
1015
+ }): Promise<`0x${string}`>;
1016
+ /**
1017
+ * mint
1018
+ * nonpayable
1019
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1020
+ */
1021
+ mint(to: `0x${string}`, amount: bigint, options?: {
1022
+ accessList?: import('viem').AccessList;
1023
+ authorizationList?: import('viem').AuthorizationList;
1024
+ chain?: import('viem').Chain | null;
1025
+ dataSuffix?: `0x${string}`;
1026
+ gas?: bigint;
1027
+ gasPrice?: bigint;
1028
+ maxFeePerGas?: bigint;
1029
+ maxPriorityFeePerGas?: bigint;
1030
+ nonce?: number;
1031
+ value?: bigint;
1032
+ }): Promise<`0x${string}`>;
1033
+ /**
1034
+ * revokeMinter
1035
+ * nonpayable
1036
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1037
+ */
1038
+ revokeMinter(_auth: `0x${string}`, options?: {
1039
+ accessList?: import('viem').AccessList;
1040
+ authorizationList?: import('viem').AuthorizationList;
1041
+ chain?: import('viem').Chain | null;
1042
+ dataSuffix?: `0x${string}`;
1043
+ gas?: bigint;
1044
+ gasPrice?: bigint;
1045
+ maxFeePerGas?: bigint;
1046
+ maxPriorityFeePerGas?: bigint;
1047
+ nonce?: number;
1048
+ value?: bigint;
1049
+ }): Promise<`0x${string}`>;
1050
+ /**
1051
+ * setMinter
1052
+ * nonpayable
1053
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1054
+ */
1055
+ setMinter(_auth: `0x${string}`, options?: {
1056
+ accessList?: import('viem').AccessList;
1057
+ authorizationList?: import('viem').AuthorizationList;
1058
+ chain?: import('viem').Chain | null;
1059
+ dataSuffix?: `0x${string}`;
1060
+ gas?: bigint;
1061
+ gasPrice?: bigint;
1062
+ maxFeePerGas?: bigint;
1063
+ maxPriorityFeePerGas?: bigint;
1064
+ nonce?: number;
1065
+ value?: bigint;
1066
+ }): Promise<`0x${string}`>;
1067
+ /**
1068
+ * setVault
1069
+ * nonpayable
1070
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1071
+ */
1072
+ setVault(_vault: `0x${string}`, options?: {
1073
+ accessList?: import('viem').AccessList;
1074
+ authorizationList?: import('viem').AuthorizationList;
1075
+ chain?: import('viem').Chain | null;
1076
+ dataSuffix?: `0x${string}`;
1077
+ gas?: bigint;
1078
+ gasPrice?: bigint;
1079
+ maxFeePerGas?: bigint;
1080
+ maxPriorityFeePerGas?: bigint;
1081
+ nonce?: number;
1082
+ value?: bigint;
1083
+ }): Promise<`0x${string}`>;
1084
+ /**
1085
+ * setVaultOnly
1086
+ * nonpayable
1087
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1088
+ */
1089
+ setVaultOnly(enabled: boolean, options?: {
1090
+ accessList?: import('viem').AccessList;
1091
+ authorizationList?: import('viem').AuthorizationList;
1092
+ chain?: import('viem').Chain | null;
1093
+ dataSuffix?: `0x${string}`;
1094
+ gas?: bigint;
1095
+ gasPrice?: bigint;
1096
+ maxFeePerGas?: bigint;
1097
+ maxPriorityFeePerGas?: bigint;
1098
+ nonce?: number;
1099
+ value?: bigint;
1100
+ }): Promise<`0x${string}`>;
1101
+ /**
1102
+ * transfer
1103
+ * nonpayable
1104
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1105
+ */
1106
+ transfer(to: `0x${string}`, value: bigint, options?: {
1107
+ accessList?: import('viem').AccessList;
1108
+ authorizationList?: import('viem').AuthorizationList;
1109
+ chain?: import('viem').Chain | null;
1110
+ dataSuffix?: `0x${string}`;
1111
+ gas?: bigint;
1112
+ gasPrice?: bigint;
1113
+ maxFeePerGas?: bigint;
1114
+ maxPriorityFeePerGas?: bigint;
1115
+ nonce?: number;
1116
+ value?: bigint;
1117
+ }): Promise<`0x${string}`>;
1118
+ /**
1119
+ * transferFrom
1120
+ * nonpayable
1121
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1122
+ */
1123
+ transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
1124
+ accessList?: import('viem').AccessList;
1125
+ authorizationList?: import('viem').AuthorizationList;
1126
+ chain?: import('viem').Chain | null;
1127
+ dataSuffix?: `0x${string}`;
1128
+ gas?: bigint;
1129
+ gasPrice?: bigint;
1130
+ maxFeePerGas?: bigint;
1131
+ maxPriorityFeePerGas?: bigint;
1132
+ nonce?: number;
1133
+ value?: bigint;
1134
+ }): Promise<`0x${string}`>;
1135
+ withdraw(amount: bigint, to: `0x${string}`, options?: {
1136
+ accessList?: import('viem').AccessList;
1137
+ authorizationList?: import('viem').AuthorizationList;
1138
+ chain?: import('viem').Chain | null;
1139
+ dataSuffix?: `0x${string}`;
1140
+ gas?: bigint;
1141
+ gasPrice?: bigint;
1142
+ maxFeePerGas?: bigint;
1143
+ maxPriorityFeePerGas?: bigint;
1144
+ nonce?: number;
1145
+ value?: bigint;
1146
+ }): Promise<`0x${string}`>;
1147
+ withdraw(amount: bigint, options?: {
1148
+ accessList?: import('viem').AccessList;
1149
+ authorizationList?: import('viem').AuthorizationList;
1150
+ chain?: import('viem').Chain | null;
1151
+ dataSuffix?: `0x${string}`;
1152
+ gas?: bigint;
1153
+ gasPrice?: bigint;
1154
+ maxFeePerGas?: bigint;
1155
+ maxPriorityFeePerGas?: bigint;
1156
+ nonce?: number;
1157
+ value?: bigint;
1158
+ }): Promise<`0x${string}`>;
1159
+ withdraw(options?: {
1160
+ accessList?: import('viem').AccessList;
1161
+ authorizationList?: import('viem').AuthorizationList;
1162
+ chain?: import('viem').Chain | null;
1163
+ dataSuffix?: `0x${string}`;
1164
+ gas?: bigint;
1165
+ gasPrice?: bigint;
1166
+ maxFeePerGas?: bigint;
1167
+ maxPriorityFeePerGas?: bigint;
1168
+ nonce?: number;
1169
+ value?: bigint;
1170
+ }): Promise<`0x${string}`>;
1171
+ /**
1172
+ * withdrawVault
1173
+ * nonpayable
1174
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1175
+ */
1176
+ withdrawVault(from: `0x${string}`, amount: bigint, to: `0x${string}`, options?: {
1177
+ accessList?: import('viem').AccessList;
1178
+ authorizationList?: import('viem').AuthorizationList;
1179
+ chain?: import('viem').Chain | null;
1180
+ dataSuffix?: `0x${string}`;
1181
+ gas?: bigint;
1182
+ gasPrice?: bigint;
1183
+ maxFeePerGas?: bigint;
1184
+ maxPriorityFeePerGas?: bigint;
1185
+ nonce?: number;
1186
+ value?: bigint;
1187
+ }): Promise<`0x${string}`>;
1188
+ /**
1189
+ * Simulate contract write operations (dry-run without sending transaction)
1190
+ *
1191
+ * @example
1192
+ * const result = await contract.simulate.transfer('0x...', 1000n);
1193
+ * console.log('Gas estimate:', result.request.gas);
1194
+ * console.log('Would succeed:', result.result);
1195
+ */
1196
+ get simulate(): {
1197
+ /**
1198
+ * Simulate Swapin
1199
+ * Returns gas estimate and result without sending transaction
1200
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1201
+ */
1202
+ Swapin(txhash: `0x${string}`, account: `0x${string}`, amount: bigint, options?: {
1203
+ accessList?: import("viem").AccessList;
1204
+ authorizationList?: import("viem").AuthorizationList;
1205
+ chain?: import("viem").Chain | null;
1206
+ dataSuffix?: `0x${string}`;
1207
+ gas?: bigint;
1208
+ gasPrice?: bigint;
1209
+ maxFeePerGas?: bigint;
1210
+ maxPriorityFeePerGas?: bigint;
1211
+ nonce?: number;
1212
+ value?: bigint;
1213
+ }): Promise<boolean>;
1214
+ /**
1215
+ * Simulate Swapout
1216
+ * Returns gas estimate and result without sending transaction
1217
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1218
+ */
1219
+ Swapout(amount: bigint, bindaddr: `0x${string}`, options?: {
1220
+ accessList?: import("viem").AccessList;
1221
+ authorizationList?: import("viem").AuthorizationList;
1222
+ chain?: import("viem").Chain | null;
1223
+ dataSuffix?: `0x${string}`;
1224
+ gas?: bigint;
1225
+ gasPrice?: bigint;
1226
+ maxFeePerGas?: bigint;
1227
+ maxPriorityFeePerGas?: bigint;
1228
+ nonce?: number;
1229
+ value?: bigint;
1230
+ }): Promise<boolean>;
1231
+ /**
1232
+ * Simulate applyMinter
1233
+ * Returns gas estimate and result without sending transaction
1234
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1235
+ */
1236
+ applyMinter(options?: {
1237
+ accessList?: import("viem").AccessList;
1238
+ authorizationList?: import("viem").AuthorizationList;
1239
+ chain?: import("viem").Chain | null;
1240
+ dataSuffix?: `0x${string}`;
1241
+ gas?: bigint;
1242
+ gasPrice?: bigint;
1243
+ maxFeePerGas?: bigint;
1244
+ maxPriorityFeePerGas?: bigint;
1245
+ nonce?: number;
1246
+ value?: bigint;
1247
+ }): Promise<void>;
1248
+ /**
1249
+ * Simulate applyVault
1250
+ * Returns gas estimate and result without sending transaction
1251
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1252
+ */
1253
+ applyVault(options?: {
1254
+ accessList?: import("viem").AccessList;
1255
+ authorizationList?: import("viem").AuthorizationList;
1256
+ chain?: import("viem").Chain | null;
1257
+ dataSuffix?: `0x${string}`;
1258
+ gas?: bigint;
1259
+ gasPrice?: bigint;
1260
+ maxFeePerGas?: bigint;
1261
+ maxPriorityFeePerGas?: bigint;
1262
+ nonce?: number;
1263
+ value?: bigint;
1264
+ }): Promise<void>;
1265
+ /**
1266
+ * Simulate approve
1267
+ * Returns gas estimate and result without sending transaction
1268
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1269
+ */
1270
+ approve(spender: `0x${string}`, value: bigint, options?: {
1271
+ accessList?: import("viem").AccessList;
1272
+ authorizationList?: import("viem").AuthorizationList;
1273
+ chain?: import("viem").Chain | null;
1274
+ dataSuffix?: `0x${string}`;
1275
+ gas?: bigint;
1276
+ gasPrice?: bigint;
1277
+ maxFeePerGas?: bigint;
1278
+ maxPriorityFeePerGas?: bigint;
1279
+ nonce?: number;
1280
+ value?: bigint;
1281
+ }): Promise<boolean>;
1282
+ /**
1283
+ * Simulate burn
1284
+ * Returns gas estimate and result without sending transaction
1285
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1286
+ */
1287
+ burn(from: `0x${string}`, amount: bigint, options?: {
1288
+ accessList?: import("viem").AccessList;
1289
+ authorizationList?: import("viem").AuthorizationList;
1290
+ chain?: import("viem").Chain | null;
1291
+ dataSuffix?: `0x${string}`;
1292
+ gas?: bigint;
1293
+ gasPrice?: bigint;
1294
+ maxFeePerGas?: bigint;
1295
+ maxPriorityFeePerGas?: bigint;
1296
+ nonce?: number;
1297
+ value?: bigint;
1298
+ }): Promise<boolean>;
1299
+ /**
1300
+ * Simulate changeVault
1301
+ * Returns gas estimate and result without sending transaction
1302
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1303
+ */
1304
+ changeVault(newVault: `0x${string}`, options?: {
1305
+ accessList?: import("viem").AccessList;
1306
+ authorizationList?: import("viem").AuthorizationList;
1307
+ chain?: import("viem").Chain | null;
1308
+ dataSuffix?: `0x${string}`;
1309
+ gas?: bigint;
1310
+ gasPrice?: bigint;
1311
+ maxFeePerGas?: bigint;
1312
+ maxPriorityFeePerGas?: bigint;
1313
+ nonce?: number;
1314
+ value?: bigint;
1315
+ }): Promise<boolean>;
1316
+ /**
1317
+ * Simulate deposit
1318
+ * Returns gas estimate and result without sending transaction
1319
+ * Supports multiple overloads: (uint256, address), (uint256), (none)
1320
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1321
+ */
1322
+ deposit(...args: any[]): Promise<any>;
1323
+ /**
1324
+ * Simulate depositVault
1325
+ * Returns gas estimate and result without sending transaction
1326
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1327
+ */
1328
+ depositVault(amount: bigint, to: `0x${string}`, options?: {
1329
+ accessList?: import("viem").AccessList;
1330
+ authorizationList?: import("viem").AuthorizationList;
1331
+ chain?: import("viem").Chain | null;
1332
+ dataSuffix?: `0x${string}`;
1333
+ gas?: bigint;
1334
+ gasPrice?: bigint;
1335
+ maxFeePerGas?: bigint;
1336
+ maxPriorityFeePerGas?: bigint;
1337
+ nonce?: number;
1338
+ value?: bigint;
1339
+ }): Promise<bigint>;
1340
+ /**
1341
+ * Simulate initVault
1342
+ * Returns gas estimate and result without sending transaction
1343
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1344
+ */
1345
+ initVault(_vault: `0x${string}`, options?: {
1346
+ accessList?: import("viem").AccessList;
1347
+ authorizationList?: import("viem").AuthorizationList;
1348
+ chain?: import("viem").Chain | null;
1349
+ dataSuffix?: `0x${string}`;
1350
+ gas?: bigint;
1351
+ gasPrice?: bigint;
1352
+ maxFeePerGas?: bigint;
1353
+ maxPriorityFeePerGas?: bigint;
1354
+ nonce?: number;
1355
+ value?: bigint;
1356
+ }): Promise<void>;
1357
+ /**
1358
+ * Simulate mint
1359
+ * Returns gas estimate and result without sending transaction
1360
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1361
+ */
1362
+ mint(to: `0x${string}`, amount: bigint, options?: {
1363
+ accessList?: import("viem").AccessList;
1364
+ authorizationList?: import("viem").AuthorizationList;
1365
+ chain?: import("viem").Chain | null;
1366
+ dataSuffix?: `0x${string}`;
1367
+ gas?: bigint;
1368
+ gasPrice?: bigint;
1369
+ maxFeePerGas?: bigint;
1370
+ maxPriorityFeePerGas?: bigint;
1371
+ nonce?: number;
1372
+ value?: bigint;
1373
+ }): Promise<boolean>;
1374
+ /**
1375
+ * Simulate revokeMinter
1376
+ * Returns gas estimate and result without sending transaction
1377
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1378
+ */
1379
+ revokeMinter(_auth: `0x${string}`, options?: {
1380
+ accessList?: import("viem").AccessList;
1381
+ authorizationList?: import("viem").AuthorizationList;
1382
+ chain?: import("viem").Chain | null;
1383
+ dataSuffix?: `0x${string}`;
1384
+ gas?: bigint;
1385
+ gasPrice?: bigint;
1386
+ maxFeePerGas?: bigint;
1387
+ maxPriorityFeePerGas?: bigint;
1388
+ nonce?: number;
1389
+ value?: bigint;
1390
+ }): Promise<void>;
1391
+ /**
1392
+ * Simulate setMinter
1393
+ * Returns gas estimate and result without sending transaction
1394
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1395
+ */
1396
+ setMinter(_auth: `0x${string}`, options?: {
1397
+ accessList?: import("viem").AccessList;
1398
+ authorizationList?: import("viem").AuthorizationList;
1399
+ chain?: import("viem").Chain | null;
1400
+ dataSuffix?: `0x${string}`;
1401
+ gas?: bigint;
1402
+ gasPrice?: bigint;
1403
+ maxFeePerGas?: bigint;
1404
+ maxPriorityFeePerGas?: bigint;
1405
+ nonce?: number;
1406
+ value?: bigint;
1407
+ }): Promise<void>;
1408
+ /**
1409
+ * Simulate setVault
1410
+ * Returns gas estimate and result without sending transaction
1411
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1412
+ */
1413
+ setVault(_vault: `0x${string}`, options?: {
1414
+ accessList?: import("viem").AccessList;
1415
+ authorizationList?: import("viem").AuthorizationList;
1416
+ chain?: import("viem").Chain | null;
1417
+ dataSuffix?: `0x${string}`;
1418
+ gas?: bigint;
1419
+ gasPrice?: bigint;
1420
+ maxFeePerGas?: bigint;
1421
+ maxPriorityFeePerGas?: bigint;
1422
+ nonce?: number;
1423
+ value?: bigint;
1424
+ }): Promise<void>;
1425
+ /**
1426
+ * Simulate setVaultOnly
1427
+ * Returns gas estimate and result without sending transaction
1428
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1429
+ */
1430
+ setVaultOnly(enabled: boolean, options?: {
1431
+ accessList?: import("viem").AccessList;
1432
+ authorizationList?: import("viem").AuthorizationList;
1433
+ chain?: import("viem").Chain | null;
1434
+ dataSuffix?: `0x${string}`;
1435
+ gas?: bigint;
1436
+ gasPrice?: bigint;
1437
+ maxFeePerGas?: bigint;
1438
+ maxPriorityFeePerGas?: bigint;
1439
+ nonce?: number;
1440
+ value?: bigint;
1441
+ }): Promise<void>;
1442
+ /**
1443
+ * Simulate transfer
1444
+ * Returns gas estimate and result without sending transaction
1445
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1446
+ */
1447
+ transfer(to: `0x${string}`, value: bigint, options?: {
1448
+ accessList?: import("viem").AccessList;
1449
+ authorizationList?: import("viem").AuthorizationList;
1450
+ chain?: import("viem").Chain | null;
1451
+ dataSuffix?: `0x${string}`;
1452
+ gas?: bigint;
1453
+ gasPrice?: bigint;
1454
+ maxFeePerGas?: bigint;
1455
+ maxPriorityFeePerGas?: bigint;
1456
+ nonce?: number;
1457
+ value?: bigint;
1458
+ }): Promise<boolean>;
1459
+ /**
1460
+ * Simulate transferFrom
1461
+ * Returns gas estimate and result without sending transaction
1462
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1463
+ */
1464
+ transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
1465
+ accessList?: import("viem").AccessList;
1466
+ authorizationList?: import("viem").AuthorizationList;
1467
+ chain?: import("viem").Chain | null;
1468
+ dataSuffix?: `0x${string}`;
1469
+ gas?: bigint;
1470
+ gasPrice?: bigint;
1471
+ maxFeePerGas?: bigint;
1472
+ maxPriorityFeePerGas?: bigint;
1473
+ nonce?: number;
1474
+ value?: bigint;
1475
+ }): Promise<boolean>;
1476
+ /**
1477
+ * Simulate withdraw
1478
+ * Returns gas estimate and result without sending transaction
1479
+ * Supports multiple overloads: (uint256, address), (uint256), (none)
1480
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1481
+ */
1482
+ withdraw(...args: any[]): Promise<any>;
1483
+ /**
1484
+ * Simulate withdrawVault
1485
+ * Returns gas estimate and result without sending transaction
1486
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1487
+ */
1488
+ withdrawVault(from: `0x${string}`, amount: bigint, to: `0x${string}`, options?: {
1489
+ accessList?: import("viem").AccessList;
1490
+ authorizationList?: import("viem").AuthorizationList;
1491
+ chain?: import("viem").Chain | null;
1492
+ dataSuffix?: `0x${string}`;
1493
+ gas?: bigint;
1494
+ gasPrice?: bigint;
1495
+ maxFeePerGas?: bigint;
1496
+ maxPriorityFeePerGas?: bigint;
1497
+ nonce?: number;
1498
+ value?: bigint;
1499
+ }): Promise<bigint>;
1500
+ };
1501
+ /**
1502
+ * Watch contract events
1503
+ *
1504
+ * @example
1505
+ * // Watch all Transfer events
1506
+ * const unwatch = contract.watch.Transfer((event) => {
1507
+ * console.log('Transfer:', event);
1508
+ * });
1509
+ *
1510
+ * // Stop watching
1511
+ * unwatch();
1512
+ */
1513
+ get watch(): {
1514
+ /**
1515
+ * Watch Approval events
1516
+ * @param callback Function to call when event is emitted
1517
+ * @param filter Optional filter for indexed parameters
1518
+ * @returns Unwatch function to stop listening
1519
+ */
1520
+ Approval: (callback: (event: {
1521
+ owner: `0x${string}`;
1522
+ spender: `0x${string}`;
1523
+ value: bigint;
1524
+ }) => void, filter?: {
1525
+ owner?: `0x${string}` | `0x${string}`[] | null;
1526
+ spender?: `0x${string}` | `0x${string}`[] | null;
1527
+ }) => () => void;
1528
+ /**
1529
+ * Watch LogChangeVault events
1530
+ * @param callback Function to call when event is emitted
1531
+ * @param filter Optional filter for indexed parameters
1532
+ * @returns Unwatch function to stop listening
1533
+ */
1534
+ LogChangeVault: (callback: (event: {
1535
+ oldVault: `0x${string}`;
1536
+ newVault: `0x${string}`;
1537
+ effectiveTime: bigint;
1538
+ }) => void, filter?: {
1539
+ oldVault?: `0x${string}` | `0x${string}`[] | null;
1540
+ newVault?: `0x${string}` | `0x${string}`[] | null;
1541
+ effectiveTime?: bigint | bigint[] | null;
1542
+ }) => () => void;
1543
+ /**
1544
+ * Watch LogSwapin events
1545
+ * @param callback Function to call when event is emitted
1546
+ * @param filter Optional filter for indexed parameters
1547
+ * @returns Unwatch function to stop listening
1548
+ */
1549
+ LogSwapin: (callback: (event: {
1550
+ txhash: `0x${string}`;
1551
+ account: `0x${string}`;
1552
+ amount: bigint;
1553
+ }) => void, filter?: {
1554
+ txhash?: `0x${string}` | `0x${string}`[] | null;
1555
+ account?: `0x${string}` | `0x${string}`[] | null;
1556
+ }) => () => void;
1557
+ /**
1558
+ * Watch LogSwapout events
1559
+ * @param callback Function to call when event is emitted
1560
+ * @param filter Optional filter for indexed parameters
1561
+ * @returns Unwatch function to stop listening
1562
+ */
1563
+ LogSwapout: (callback: (event: {
1564
+ account: `0x${string}`;
1565
+ bindaddr: `0x${string}`;
1566
+ amount: bigint;
1567
+ }) => void, filter?: {
1568
+ account?: `0x${string}` | `0x${string}`[] | null;
1569
+ bindaddr?: `0x${string}` | `0x${string}`[] | null;
1570
+ }) => () => void;
1571
+ /**
1572
+ * Watch Transfer events
1573
+ * @param callback Function to call when event is emitted
1574
+ * @param filter Optional filter for indexed parameters
1575
+ * @returns Unwatch function to stop listening
1576
+ */
1577
+ Transfer: (callback: (event: {
1578
+ from: `0x${string}`;
1579
+ to: `0x${string}`;
1580
+ value: bigint;
1581
+ }) => void, filter?: {
1582
+ from?: `0x${string}` | `0x${string}`[] | null;
1583
+ to?: `0x${string}` | `0x${string}`[] | null;
1584
+ }) => () => void;
1585
+ };
1586
+ }