@gitmyabi/usdt 1.0.23 → 1.0.27

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