@gitmyabi/apfc 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,835 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * APFC_json ABI
4
+ *
5
+ * This ABI is typed using viem's type system for full type safety.
6
+ */
7
+ export declare const APFC_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: "_spender";
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: "";
41
+ readonly type: "bool";
42
+ }];
43
+ readonly payable: false;
44
+ readonly stateMutability: "nonpayable";
45
+ readonly type: "function";
46
+ }, {
47
+ readonly constant: true;
48
+ readonly inputs: readonly [];
49
+ readonly name: "totalSupply";
50
+ readonly outputs: readonly [{
51
+ readonly name: "";
52
+ readonly type: "uint256";
53
+ }];
54
+ readonly payable: false;
55
+ readonly stateMutability: "view";
56
+ readonly type: "function";
57
+ }, {
58
+ readonly constant: false;
59
+ readonly inputs: readonly [{
60
+ readonly name: "_from";
61
+ readonly type: "address";
62
+ }, {
63
+ readonly name: "_to";
64
+ readonly type: "address";
65
+ }, {
66
+ readonly name: "_value";
67
+ readonly type: "uint256";
68
+ }];
69
+ readonly name: "transferFrom";
70
+ readonly outputs: readonly [{
71
+ readonly name: "";
72
+ readonly type: "bool";
73
+ }];
74
+ readonly payable: false;
75
+ readonly stateMutability: "nonpayable";
76
+ readonly type: "function";
77
+ }, {
78
+ readonly constant: true;
79
+ readonly inputs: readonly [];
80
+ readonly name: "decimals";
81
+ readonly outputs: readonly [{
82
+ readonly name: "";
83
+ readonly type: "uint8";
84
+ }];
85
+ readonly payable: false;
86
+ readonly stateMutability: "view";
87
+ readonly type: "function";
88
+ }, {
89
+ readonly constant: true;
90
+ readonly inputs: readonly [];
91
+ readonly name: "cap";
92
+ readonly outputs: readonly [{
93
+ readonly name: "";
94
+ readonly type: "uint256";
95
+ }];
96
+ readonly payable: false;
97
+ readonly stateMutability: "view";
98
+ readonly type: "function";
99
+ }, {
100
+ readonly constant: false;
101
+ readonly inputs: readonly [{
102
+ readonly name: "_to";
103
+ readonly type: "address";
104
+ }, {
105
+ readonly name: "_amount";
106
+ readonly type: "uint256";
107
+ }];
108
+ readonly name: "mint";
109
+ readonly outputs: readonly [{
110
+ readonly name: "";
111
+ readonly type: "bool";
112
+ }];
113
+ readonly payable: false;
114
+ readonly stateMutability: "nonpayable";
115
+ readonly type: "function";
116
+ }, {
117
+ readonly constant: false;
118
+ readonly inputs: readonly [{
119
+ readonly name: "_spender";
120
+ readonly type: "address";
121
+ }, {
122
+ readonly name: "_subtractedValue";
123
+ readonly type: "uint256";
124
+ }];
125
+ readonly name: "decreaseApproval";
126
+ readonly outputs: readonly [{
127
+ readonly name: "";
128
+ readonly type: "bool";
129
+ }];
130
+ readonly payable: false;
131
+ readonly stateMutability: "nonpayable";
132
+ readonly type: "function";
133
+ }, {
134
+ readonly constant: true;
135
+ readonly inputs: readonly [{
136
+ readonly name: "_owner";
137
+ readonly type: "address";
138
+ }];
139
+ readonly name: "balanceOf";
140
+ readonly outputs: readonly [{
141
+ readonly name: "";
142
+ readonly type: "uint256";
143
+ }];
144
+ readonly payable: false;
145
+ readonly stateMutability: "view";
146
+ readonly type: "function";
147
+ }, {
148
+ readonly constant: false;
149
+ readonly inputs: readonly [];
150
+ readonly name: "renounceOwnership";
151
+ readonly outputs: readonly [];
152
+ readonly payable: false;
153
+ readonly stateMutability: "nonpayable";
154
+ readonly type: "function";
155
+ }, {
156
+ readonly constant: false;
157
+ readonly inputs: readonly [];
158
+ readonly name: "finishMinting";
159
+ readonly outputs: readonly [{
160
+ readonly name: "";
161
+ readonly type: "bool";
162
+ }];
163
+ readonly payable: false;
164
+ readonly stateMutability: "nonpayable";
165
+ readonly type: "function";
166
+ }, {
167
+ readonly constant: true;
168
+ readonly inputs: readonly [];
169
+ readonly name: "owner";
170
+ readonly outputs: readonly [{
171
+ readonly name: "";
172
+ readonly type: "address";
173
+ }];
174
+ readonly payable: false;
175
+ readonly stateMutability: "view";
176
+ readonly type: "function";
177
+ }, {
178
+ readonly constant: true;
179
+ readonly inputs: readonly [];
180
+ readonly name: "symbol";
181
+ readonly outputs: readonly [{
182
+ readonly name: "";
183
+ readonly type: "string";
184
+ }];
185
+ readonly payable: false;
186
+ readonly stateMutability: "view";
187
+ readonly type: "function";
188
+ }, {
189
+ readonly constant: false;
190
+ readonly inputs: readonly [{
191
+ readonly name: "_to";
192
+ readonly type: "address";
193
+ }, {
194
+ readonly name: "_value";
195
+ readonly type: "uint256";
196
+ }];
197
+ readonly name: "transfer";
198
+ readonly outputs: readonly [{
199
+ readonly name: "";
200
+ readonly type: "bool";
201
+ }];
202
+ readonly payable: false;
203
+ readonly stateMutability: "nonpayable";
204
+ readonly type: "function";
205
+ }, {
206
+ readonly constant: false;
207
+ readonly inputs: readonly [{
208
+ readonly name: "_spender";
209
+ readonly type: "address";
210
+ }, {
211
+ readonly name: "_addedValue";
212
+ readonly type: "uint256";
213
+ }];
214
+ readonly name: "increaseApproval";
215
+ readonly outputs: readonly [{
216
+ readonly name: "";
217
+ readonly type: "bool";
218
+ }];
219
+ readonly payable: false;
220
+ readonly stateMutability: "nonpayable";
221
+ readonly type: "function";
222
+ }, {
223
+ readonly constant: true;
224
+ readonly inputs: readonly [{
225
+ readonly name: "_owner";
226
+ readonly type: "address";
227
+ }, {
228
+ readonly name: "_spender";
229
+ readonly type: "address";
230
+ }];
231
+ readonly name: "allowance";
232
+ readonly outputs: readonly [{
233
+ readonly name: "";
234
+ readonly type: "uint256";
235
+ }];
236
+ readonly payable: false;
237
+ readonly stateMutability: "view";
238
+ readonly type: "function";
239
+ }, {
240
+ readonly constant: false;
241
+ readonly inputs: readonly [{
242
+ readonly name: "_newOwner";
243
+ readonly type: "address";
244
+ }];
245
+ readonly name: "transferOwnership";
246
+ readonly outputs: readonly [];
247
+ readonly payable: false;
248
+ readonly stateMutability: "nonpayable";
249
+ readonly type: "function";
250
+ }, {
251
+ readonly inputs: readonly [{
252
+ readonly name: "_cap";
253
+ readonly type: "uint256";
254
+ }];
255
+ readonly payable: false;
256
+ readonly stateMutability: "nonpayable";
257
+ readonly type: "constructor";
258
+ }, {
259
+ readonly anonymous: false;
260
+ readonly inputs: readonly [{
261
+ readonly indexed: true;
262
+ readonly name: "to";
263
+ readonly type: "address";
264
+ }, {
265
+ readonly indexed: false;
266
+ readonly name: "amount";
267
+ readonly type: "uint256";
268
+ }];
269
+ readonly name: "Mint";
270
+ readonly type: "event";
271
+ }, {
272
+ readonly anonymous: false;
273
+ readonly inputs: readonly [];
274
+ readonly name: "MintFinished";
275
+ readonly type: "event";
276
+ }, {
277
+ readonly anonymous: false;
278
+ readonly inputs: readonly [{
279
+ readonly indexed: true;
280
+ readonly name: "previousOwner";
281
+ readonly type: "address";
282
+ }];
283
+ readonly name: "OwnershipRenounced";
284
+ readonly type: "event";
285
+ }, {
286
+ readonly anonymous: false;
287
+ readonly inputs: readonly [{
288
+ readonly indexed: true;
289
+ readonly name: "previousOwner";
290
+ readonly type: "address";
291
+ }, {
292
+ readonly indexed: true;
293
+ readonly name: "newOwner";
294
+ readonly type: "address";
295
+ }];
296
+ readonly name: "OwnershipTransferred";
297
+ readonly type: "event";
298
+ }, {
299
+ readonly anonymous: false;
300
+ readonly inputs: readonly [{
301
+ readonly indexed: true;
302
+ readonly name: "owner";
303
+ readonly type: "address";
304
+ }, {
305
+ readonly indexed: true;
306
+ readonly name: "spender";
307
+ readonly type: "address";
308
+ }, {
309
+ readonly indexed: false;
310
+ readonly name: "value";
311
+ readonly type: "uint256";
312
+ }];
313
+ readonly name: "Approval";
314
+ readonly type: "event";
315
+ }, {
316
+ readonly anonymous: false;
317
+ readonly inputs: readonly [{
318
+ readonly indexed: true;
319
+ readonly name: "from";
320
+ readonly type: "address";
321
+ }, {
322
+ readonly indexed: true;
323
+ readonly name: "to";
324
+ readonly type: "address";
325
+ }, {
326
+ readonly indexed: false;
327
+ readonly name: "value";
328
+ readonly type: "uint256";
329
+ }];
330
+ readonly name: "Transfer";
331
+ readonly type: "event";
332
+ }];
333
+ /**
334
+ * Type-safe ABI for APFC_json
335
+ */
336
+ export type APFC_jsonAbi = typeof APFC_jsonAbi;
337
+ /**
338
+ * Contract instance type for APFC_json
339
+ */
340
+ export type APFC_jsonContract = any;
341
+ /**
342
+ * APFC_json Contract Class
343
+ *
344
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
345
+ *
346
+ * @example
347
+ * ```typescript
348
+ * import { createPublicClient, createWalletClient, http } from 'viem';
349
+ * import { mainnet } from 'viem/chains';
350
+ * import { APFC_json } from 'APFC_json';
351
+ *
352
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
353
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
354
+ *
355
+ * const contract = new APFC_json('0x...', { publicClient, walletClient });
356
+ *
357
+ * // Read functions
358
+ * const result = await contract.balanceOf('0x...');
359
+ *
360
+ * // Write functions
361
+ * const hash = await contract.transfer('0x...', 1000n);
362
+ *
363
+ * // Simulate transactions (dry-run)
364
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
365
+ * console.log('Gas estimate:', simulation.request.gas);
366
+ *
367
+ * // Watch events
368
+ * const unwatch = contract.watch.Transfer((event) => {
369
+ * console.log('Transfer event:', event);
370
+ * });
371
+ * ```
372
+ */
373
+ export declare class APFC_json {
374
+ private contract;
375
+ private contractAddress;
376
+ private publicClient;
377
+ constructor(address: Address, clients: {
378
+ publicClient: PublicClient;
379
+ walletClient?: WalletClient;
380
+ });
381
+ /**
382
+ * Get the contract address
383
+ */
384
+ get address(): Address;
385
+ /**
386
+ * Get the underlying viem contract instance
387
+ */
388
+ getContract(): APFC_jsonContract;
389
+ /**
390
+ * mintingFinished
391
+ * view
392
+ */
393
+ mintingFinished(): Promise<boolean>;
394
+ /**
395
+ * name
396
+ * view
397
+ */
398
+ name(): Promise<string>;
399
+ /**
400
+ * totalSupply
401
+ * view
402
+ */
403
+ totalSupply(): Promise<bigint>;
404
+ /**
405
+ * decimals
406
+ * view
407
+ */
408
+ decimals(): Promise<bigint>;
409
+ /**
410
+ * cap
411
+ * view
412
+ */
413
+ cap(): Promise<bigint>;
414
+ /**
415
+ * balanceOf
416
+ * view
417
+ */
418
+ balanceOf(_owner: `0x${string}`): Promise<bigint>;
419
+ /**
420
+ * owner
421
+ * view
422
+ */
423
+ owner(): Promise<`0x${string}`>;
424
+ /**
425
+ * symbol
426
+ * view
427
+ */
428
+ symbol(): Promise<string>;
429
+ /**
430
+ * allowance
431
+ * view
432
+ */
433
+ allowance(_owner: `0x${string}`, _spender: `0x${string}`): Promise<bigint>;
434
+ /**
435
+ * approve
436
+ * nonpayable
437
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
438
+ */
439
+ approve(_spender: `0x${string}`, _value: bigint, options?: {
440
+ accessList?: import('viem').AccessList;
441
+ authorizationList?: import('viem').AuthorizationList;
442
+ chain?: import('viem').Chain | null;
443
+ dataSuffix?: `0x${string}`;
444
+ gas?: bigint;
445
+ gasPrice?: bigint;
446
+ maxFeePerGas?: bigint;
447
+ maxPriorityFeePerGas?: bigint;
448
+ nonce?: number;
449
+ value?: bigint;
450
+ }): Promise<`0x${string}`>;
451
+ /**
452
+ * transferFrom
453
+ * nonpayable
454
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
455
+ */
456
+ transferFrom(_from: `0x${string}`, _to: `0x${string}`, _value: bigint, options?: {
457
+ accessList?: import('viem').AccessList;
458
+ authorizationList?: import('viem').AuthorizationList;
459
+ chain?: import('viem').Chain | null;
460
+ dataSuffix?: `0x${string}`;
461
+ gas?: bigint;
462
+ gasPrice?: bigint;
463
+ maxFeePerGas?: bigint;
464
+ maxPriorityFeePerGas?: bigint;
465
+ nonce?: number;
466
+ value?: bigint;
467
+ }): Promise<`0x${string}`>;
468
+ /**
469
+ * mint
470
+ * nonpayable
471
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
472
+ */
473
+ mint(_to: `0x${string}`, _amount: bigint, options?: {
474
+ accessList?: import('viem').AccessList;
475
+ authorizationList?: import('viem').AuthorizationList;
476
+ chain?: import('viem').Chain | null;
477
+ dataSuffix?: `0x${string}`;
478
+ gas?: bigint;
479
+ gasPrice?: bigint;
480
+ maxFeePerGas?: bigint;
481
+ maxPriorityFeePerGas?: bigint;
482
+ nonce?: number;
483
+ value?: bigint;
484
+ }): Promise<`0x${string}`>;
485
+ /**
486
+ * decreaseApproval
487
+ * nonpayable
488
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
489
+ */
490
+ decreaseApproval(_spender: `0x${string}`, _subtractedValue: bigint, options?: {
491
+ accessList?: import('viem').AccessList;
492
+ authorizationList?: import('viem').AuthorizationList;
493
+ chain?: import('viem').Chain | null;
494
+ dataSuffix?: `0x${string}`;
495
+ gas?: bigint;
496
+ gasPrice?: bigint;
497
+ maxFeePerGas?: bigint;
498
+ maxPriorityFeePerGas?: bigint;
499
+ nonce?: number;
500
+ value?: bigint;
501
+ }): Promise<`0x${string}`>;
502
+ /**
503
+ * renounceOwnership
504
+ * nonpayable
505
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
506
+ */
507
+ renounceOwnership(options?: {
508
+ accessList?: import('viem').AccessList;
509
+ authorizationList?: import('viem').AuthorizationList;
510
+ chain?: import('viem').Chain | null;
511
+ dataSuffix?: `0x${string}`;
512
+ gas?: bigint;
513
+ gasPrice?: bigint;
514
+ maxFeePerGas?: bigint;
515
+ maxPriorityFeePerGas?: bigint;
516
+ nonce?: number;
517
+ value?: bigint;
518
+ }): Promise<`0x${string}`>;
519
+ /**
520
+ * finishMinting
521
+ * nonpayable
522
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
523
+ */
524
+ finishMinting(options?: {
525
+ accessList?: import('viem').AccessList;
526
+ authorizationList?: import('viem').AuthorizationList;
527
+ chain?: import('viem').Chain | null;
528
+ dataSuffix?: `0x${string}`;
529
+ gas?: bigint;
530
+ gasPrice?: bigint;
531
+ maxFeePerGas?: bigint;
532
+ maxPriorityFeePerGas?: bigint;
533
+ nonce?: number;
534
+ value?: bigint;
535
+ }): Promise<`0x${string}`>;
536
+ /**
537
+ * transfer
538
+ * nonpayable
539
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
540
+ */
541
+ transfer(_to: `0x${string}`, _value: bigint, options?: {
542
+ accessList?: import('viem').AccessList;
543
+ authorizationList?: import('viem').AuthorizationList;
544
+ chain?: import('viem').Chain | null;
545
+ dataSuffix?: `0x${string}`;
546
+ gas?: bigint;
547
+ gasPrice?: bigint;
548
+ maxFeePerGas?: bigint;
549
+ maxPriorityFeePerGas?: bigint;
550
+ nonce?: number;
551
+ value?: bigint;
552
+ }): Promise<`0x${string}`>;
553
+ /**
554
+ * increaseApproval
555
+ * nonpayable
556
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
557
+ */
558
+ increaseApproval(_spender: `0x${string}`, _addedValue: bigint, options?: {
559
+ accessList?: import('viem').AccessList;
560
+ authorizationList?: import('viem').AuthorizationList;
561
+ chain?: import('viem').Chain | null;
562
+ dataSuffix?: `0x${string}`;
563
+ gas?: bigint;
564
+ gasPrice?: bigint;
565
+ maxFeePerGas?: bigint;
566
+ maxPriorityFeePerGas?: bigint;
567
+ nonce?: number;
568
+ value?: bigint;
569
+ }): Promise<`0x${string}`>;
570
+ /**
571
+ * transferOwnership
572
+ * nonpayable
573
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
574
+ */
575
+ transferOwnership(_newOwner: `0x${string}`, options?: {
576
+ accessList?: import('viem').AccessList;
577
+ authorizationList?: import('viem').AuthorizationList;
578
+ chain?: import('viem').Chain | null;
579
+ dataSuffix?: `0x${string}`;
580
+ gas?: bigint;
581
+ gasPrice?: bigint;
582
+ maxFeePerGas?: bigint;
583
+ maxPriorityFeePerGas?: bigint;
584
+ nonce?: number;
585
+ value?: bigint;
586
+ }): Promise<`0x${string}`>;
587
+ /**
588
+ * Simulate contract write operations (dry-run without sending transaction)
589
+ *
590
+ * @example
591
+ * const result = await contract.simulate.transfer('0x...', 1000n);
592
+ * console.log('Gas estimate:', result.request.gas);
593
+ * console.log('Would succeed:', result.result);
594
+ */
595
+ get simulate(): {
596
+ /**
597
+ * Simulate approve
598
+ * Returns gas estimate and result without sending transaction
599
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
600
+ */
601
+ approve(_spender: `0x${string}`, _value: bigint, options?: {
602
+ accessList?: import("viem").AccessList;
603
+ authorizationList?: import("viem").AuthorizationList;
604
+ chain?: import("viem").Chain | null;
605
+ dataSuffix?: `0x${string}`;
606
+ gas?: bigint;
607
+ gasPrice?: bigint;
608
+ maxFeePerGas?: bigint;
609
+ maxPriorityFeePerGas?: bigint;
610
+ nonce?: number;
611
+ value?: bigint;
612
+ }): Promise<boolean>;
613
+ /**
614
+ * Simulate transferFrom
615
+ * Returns gas estimate and result without sending transaction
616
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
617
+ */
618
+ transferFrom(_from: `0x${string}`, _to: `0x${string}`, _value: bigint, options?: {
619
+ accessList?: import("viem").AccessList;
620
+ authorizationList?: import("viem").AuthorizationList;
621
+ chain?: import("viem").Chain | null;
622
+ dataSuffix?: `0x${string}`;
623
+ gas?: bigint;
624
+ gasPrice?: bigint;
625
+ maxFeePerGas?: bigint;
626
+ maxPriorityFeePerGas?: bigint;
627
+ nonce?: number;
628
+ value?: bigint;
629
+ }): Promise<boolean>;
630
+ /**
631
+ * Simulate mint
632
+ * Returns gas estimate and result without sending transaction
633
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
634
+ */
635
+ mint(_to: `0x${string}`, _amount: bigint, options?: {
636
+ accessList?: import("viem").AccessList;
637
+ authorizationList?: import("viem").AuthorizationList;
638
+ chain?: import("viem").Chain | null;
639
+ dataSuffix?: `0x${string}`;
640
+ gas?: bigint;
641
+ gasPrice?: bigint;
642
+ maxFeePerGas?: bigint;
643
+ maxPriorityFeePerGas?: bigint;
644
+ nonce?: number;
645
+ value?: bigint;
646
+ }): Promise<boolean>;
647
+ /**
648
+ * Simulate decreaseApproval
649
+ * Returns gas estimate and result without sending transaction
650
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
651
+ */
652
+ decreaseApproval(_spender: `0x${string}`, _subtractedValue: bigint, options?: {
653
+ accessList?: import("viem").AccessList;
654
+ authorizationList?: import("viem").AuthorizationList;
655
+ chain?: import("viem").Chain | null;
656
+ dataSuffix?: `0x${string}`;
657
+ gas?: bigint;
658
+ gasPrice?: bigint;
659
+ maxFeePerGas?: bigint;
660
+ maxPriorityFeePerGas?: bigint;
661
+ nonce?: number;
662
+ value?: bigint;
663
+ }): Promise<boolean>;
664
+ /**
665
+ * Simulate renounceOwnership
666
+ * Returns gas estimate and result without sending transaction
667
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
668
+ */
669
+ renounceOwnership(options?: {
670
+ accessList?: import("viem").AccessList;
671
+ authorizationList?: import("viem").AuthorizationList;
672
+ chain?: import("viem").Chain | null;
673
+ dataSuffix?: `0x${string}`;
674
+ gas?: bigint;
675
+ gasPrice?: bigint;
676
+ maxFeePerGas?: bigint;
677
+ maxPriorityFeePerGas?: bigint;
678
+ nonce?: number;
679
+ value?: bigint;
680
+ }): Promise<void>;
681
+ /**
682
+ * Simulate finishMinting
683
+ * Returns gas estimate and result without sending transaction
684
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
685
+ */
686
+ finishMinting(options?: {
687
+ accessList?: import("viem").AccessList;
688
+ authorizationList?: import("viem").AuthorizationList;
689
+ chain?: import("viem").Chain | null;
690
+ dataSuffix?: `0x${string}`;
691
+ gas?: bigint;
692
+ gasPrice?: bigint;
693
+ maxFeePerGas?: bigint;
694
+ maxPriorityFeePerGas?: bigint;
695
+ nonce?: number;
696
+ value?: bigint;
697
+ }): Promise<boolean>;
698
+ /**
699
+ * Simulate transfer
700
+ * Returns gas estimate and result without sending transaction
701
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
702
+ */
703
+ transfer(_to: `0x${string}`, _value: bigint, options?: {
704
+ accessList?: import("viem").AccessList;
705
+ authorizationList?: import("viem").AuthorizationList;
706
+ chain?: import("viem").Chain | null;
707
+ dataSuffix?: `0x${string}`;
708
+ gas?: bigint;
709
+ gasPrice?: bigint;
710
+ maxFeePerGas?: bigint;
711
+ maxPriorityFeePerGas?: bigint;
712
+ nonce?: number;
713
+ value?: bigint;
714
+ }): Promise<boolean>;
715
+ /**
716
+ * Simulate increaseApproval
717
+ * Returns gas estimate and result without sending transaction
718
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
719
+ */
720
+ increaseApproval(_spender: `0x${string}`, _addedValue: bigint, options?: {
721
+ accessList?: import("viem").AccessList;
722
+ authorizationList?: import("viem").AuthorizationList;
723
+ chain?: import("viem").Chain | null;
724
+ dataSuffix?: `0x${string}`;
725
+ gas?: bigint;
726
+ gasPrice?: bigint;
727
+ maxFeePerGas?: bigint;
728
+ maxPriorityFeePerGas?: bigint;
729
+ nonce?: number;
730
+ value?: bigint;
731
+ }): Promise<boolean>;
732
+ /**
733
+ * Simulate transferOwnership
734
+ * Returns gas estimate and result without sending transaction
735
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
736
+ */
737
+ transferOwnership(_newOwner: `0x${string}`, options?: {
738
+ accessList?: import("viem").AccessList;
739
+ authorizationList?: import("viem").AuthorizationList;
740
+ chain?: import("viem").Chain | null;
741
+ dataSuffix?: `0x${string}`;
742
+ gas?: bigint;
743
+ gasPrice?: bigint;
744
+ maxFeePerGas?: bigint;
745
+ maxPriorityFeePerGas?: bigint;
746
+ nonce?: number;
747
+ value?: bigint;
748
+ }): Promise<void>;
749
+ };
750
+ /**
751
+ * Watch contract events
752
+ *
753
+ * @example
754
+ * // Watch all Transfer events
755
+ * const unwatch = contract.watch.Transfer((event) => {
756
+ * console.log('Transfer:', event);
757
+ * });
758
+ *
759
+ * // Stop watching
760
+ * unwatch();
761
+ */
762
+ get watch(): {
763
+ /**
764
+ * Watch Mint events
765
+ * @param callback Function to call when event is emitted
766
+ * @param filter Optional filter for indexed parameters
767
+ * @returns Unwatch function to stop listening
768
+ */
769
+ Mint: (callback: (event: {
770
+ to: `0x${string}`;
771
+ amount: bigint;
772
+ }) => void, filter?: {
773
+ to: `0x${string}`;
774
+ }) => () => void;
775
+ /**
776
+ * Watch MintFinished events
777
+ * @param callback Function to call when event is emitted
778
+ * @param filter Optional filter for indexed parameters
779
+ * @returns Unwatch function to stop listening
780
+ */
781
+ MintFinished: (callback: (event: {}) => void) => () => void;
782
+ /**
783
+ * Watch OwnershipRenounced events
784
+ * @param callback Function to call when event is emitted
785
+ * @param filter Optional filter for indexed parameters
786
+ * @returns Unwatch function to stop listening
787
+ */
788
+ OwnershipRenounced: (callback: (event: {
789
+ previousOwner: `0x${string}`;
790
+ }) => void, filter?: {
791
+ previousOwner: `0x${string}`;
792
+ }) => () => void;
793
+ /**
794
+ * Watch OwnershipTransferred events
795
+ * @param callback Function to call when event is emitted
796
+ * @param filter Optional filter for indexed parameters
797
+ * @returns Unwatch function to stop listening
798
+ */
799
+ OwnershipTransferred: (callback: (event: {
800
+ previousOwner: `0x${string}`;
801
+ newOwner: `0x${string}`;
802
+ }) => void, filter?: {
803
+ previousOwner: `0x${string}`;
804
+ newOwner: `0x${string}`;
805
+ }) => () => void;
806
+ /**
807
+ * Watch Approval events
808
+ * @param callback Function to call when event is emitted
809
+ * @param filter Optional filter for indexed parameters
810
+ * @returns Unwatch function to stop listening
811
+ */
812
+ Approval: (callback: (event: {
813
+ owner: `0x${string}`;
814
+ spender: `0x${string}`;
815
+ value: bigint;
816
+ }) => void, filter?: {
817
+ owner: `0x${string}`;
818
+ spender: `0x${string}`;
819
+ }) => () => void;
820
+ /**
821
+ * Watch Transfer events
822
+ * @param callback Function to call when event is emitted
823
+ * @param filter Optional filter for indexed parameters
824
+ * @returns Unwatch function to stop listening
825
+ */
826
+ Transfer: (callback: (event: {
827
+ from: `0x${string}`;
828
+ to: `0x${string}`;
829
+ value: bigint;
830
+ }) => void, filter?: {
831
+ from: `0x${string}`;
832
+ to: `0x${string}`;
833
+ }) => () => void;
834
+ };
835
+ }