@gitmyabi/metabella 0.0.0-stage → 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,1441 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * MetabellaByPokmi ABI
4
+ *
5
+ * This ABI is typed using viem's type system for full type safety.
6
+ */
7
+ export declare const MetabellaByPokmiAbi: readonly [{
8
+ readonly inputs: readonly [];
9
+ readonly stateMutability: "nonpayable";
10
+ readonly type: "constructor";
11
+ }, {
12
+ readonly anonymous: false;
13
+ readonly inputs: readonly [{
14
+ readonly indexed: true;
15
+ readonly internalType: "address";
16
+ readonly name: "owner";
17
+ readonly type: "address";
18
+ }, {
19
+ readonly indexed: true;
20
+ readonly internalType: "address";
21
+ readonly name: "approved";
22
+ readonly type: "address";
23
+ }, {
24
+ readonly indexed: true;
25
+ readonly internalType: "uint256";
26
+ readonly name: "tokenId";
27
+ readonly type: "uint256";
28
+ }];
29
+ readonly name: "Approval";
30
+ readonly type: "event";
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: "operator";
42
+ readonly type: "address";
43
+ }, {
44
+ readonly indexed: false;
45
+ readonly internalType: "bool";
46
+ readonly name: "approved";
47
+ readonly type: "bool";
48
+ }];
49
+ readonly name: "ApprovalForAll";
50
+ readonly type: "event";
51
+ }, {
52
+ readonly anonymous: false;
53
+ readonly inputs: readonly [{
54
+ readonly indexed: true;
55
+ readonly internalType: "address";
56
+ readonly name: "previousOwner";
57
+ readonly type: "address";
58
+ }, {
59
+ readonly indexed: true;
60
+ readonly internalType: "address";
61
+ readonly name: "newOwner";
62
+ readonly type: "address";
63
+ }];
64
+ readonly name: "OwnershipTransferred";
65
+ readonly type: "event";
66
+ }, {
67
+ readonly anonymous: false;
68
+ readonly inputs: readonly [{
69
+ readonly indexed: true;
70
+ readonly internalType: "address";
71
+ readonly name: "from";
72
+ readonly type: "address";
73
+ }, {
74
+ readonly indexed: true;
75
+ readonly internalType: "address";
76
+ readonly name: "to";
77
+ readonly type: "address";
78
+ }, {
79
+ readonly indexed: true;
80
+ readonly internalType: "uint256";
81
+ readonly name: "tokenId";
82
+ readonly type: "uint256";
83
+ }];
84
+ readonly name: "Transfer";
85
+ readonly type: "event";
86
+ }, {
87
+ readonly inputs: readonly [];
88
+ readonly name: "MAX_PRESALE_MINT";
89
+ readonly outputs: readonly [{
90
+ readonly internalType: "uint256";
91
+ readonly name: "";
92
+ readonly type: "uint256";
93
+ }];
94
+ readonly stateMutability: "view";
95
+ readonly type: "function";
96
+ }, {
97
+ readonly inputs: readonly [];
98
+ readonly name: "MAX_SUPPLY";
99
+ readonly outputs: readonly [{
100
+ readonly internalType: "uint256";
101
+ readonly name: "";
102
+ readonly type: "uint256";
103
+ }];
104
+ readonly stateMutability: "view";
105
+ readonly type: "function";
106
+ }, {
107
+ readonly inputs: readonly [];
108
+ readonly name: "PRESALE_PRICE";
109
+ readonly outputs: readonly [{
110
+ readonly internalType: "uint256";
111
+ readonly name: "";
112
+ readonly type: "uint256";
113
+ }];
114
+ readonly stateMutability: "view";
115
+ readonly type: "function";
116
+ }, {
117
+ readonly inputs: readonly [];
118
+ readonly name: "PUBLICSALE_PRICE";
119
+ readonly outputs: readonly [{
120
+ readonly internalType: "uint256";
121
+ readonly name: "";
122
+ readonly type: "uint256";
123
+ }];
124
+ readonly stateMutability: "view";
125
+ readonly type: "function";
126
+ }, {
127
+ readonly inputs: readonly [];
128
+ readonly name: "RESERVE_AMOUNT";
129
+ readonly outputs: readonly [{
130
+ readonly internalType: "uint256";
131
+ readonly name: "";
132
+ readonly type: "uint256";
133
+ }];
134
+ readonly stateMutability: "view";
135
+ readonly type: "function";
136
+ }, {
137
+ readonly inputs: readonly [{
138
+ readonly internalType: "address[]";
139
+ readonly name: "wallets";
140
+ readonly type: "address[]";
141
+ }];
142
+ readonly name: "addWhitelist";
143
+ readonly outputs: readonly [];
144
+ readonly stateMutability: "nonpayable";
145
+ readonly type: "function";
146
+ }, {
147
+ readonly inputs: readonly [{
148
+ readonly internalType: "address";
149
+ readonly name: "to";
150
+ readonly type: "address";
151
+ }, {
152
+ readonly internalType: "uint256";
153
+ readonly name: "tokenId";
154
+ readonly type: "uint256";
155
+ }];
156
+ readonly name: "approve";
157
+ readonly outputs: readonly [];
158
+ readonly stateMutability: "nonpayable";
159
+ readonly type: "function";
160
+ }, {
161
+ readonly inputs: readonly [{
162
+ readonly internalType: "address";
163
+ readonly name: "owner";
164
+ readonly type: "address";
165
+ }];
166
+ readonly name: "balanceOf";
167
+ readonly outputs: readonly [{
168
+ readonly internalType: "uint256";
169
+ readonly name: "";
170
+ readonly type: "uint256";
171
+ }];
172
+ readonly stateMutability: "view";
173
+ readonly type: "function";
174
+ }, {
175
+ readonly inputs: readonly [];
176
+ readonly name: "baseURI";
177
+ readonly outputs: readonly [{
178
+ readonly internalType: "string";
179
+ readonly name: "";
180
+ readonly type: "string";
181
+ }];
182
+ readonly stateMutability: "view";
183
+ readonly type: "function";
184
+ }, {
185
+ readonly inputs: readonly [];
186
+ readonly name: "disableSale";
187
+ readonly outputs: readonly [];
188
+ readonly stateMutability: "nonpayable";
189
+ readonly type: "function";
190
+ }, {
191
+ readonly inputs: readonly [{
192
+ readonly internalType: "uint256";
193
+ readonly name: "tokenId";
194
+ readonly type: "uint256";
195
+ }];
196
+ readonly name: "getApproved";
197
+ readonly outputs: readonly [{
198
+ readonly internalType: "address";
199
+ readonly name: "";
200
+ readonly type: "address";
201
+ }];
202
+ readonly stateMutability: "view";
203
+ readonly type: "function";
204
+ }, {
205
+ readonly inputs: readonly [{
206
+ readonly internalType: "address";
207
+ readonly name: "owner";
208
+ readonly type: "address";
209
+ }, {
210
+ readonly internalType: "address";
211
+ readonly name: "operator";
212
+ readonly type: "address";
213
+ }];
214
+ readonly name: "isApprovedForAll";
215
+ readonly outputs: readonly [{
216
+ readonly internalType: "bool";
217
+ readonly name: "";
218
+ readonly type: "bool";
219
+ }];
220
+ readonly stateMutability: "view";
221
+ readonly type: "function";
222
+ }, {
223
+ readonly inputs: readonly [];
224
+ readonly name: "isPresaleLive";
225
+ readonly outputs: readonly [{
226
+ readonly internalType: "bool";
227
+ readonly name: "";
228
+ readonly type: "bool";
229
+ }];
230
+ readonly stateMutability: "view";
231
+ readonly type: "function";
232
+ }, {
233
+ readonly inputs: readonly [];
234
+ readonly name: "isPublicsaleLive";
235
+ readonly outputs: readonly [{
236
+ readonly internalType: "bool";
237
+ readonly name: "";
238
+ readonly type: "bool";
239
+ }];
240
+ readonly stateMutability: "view";
241
+ readonly type: "function";
242
+ }, {
243
+ readonly inputs: readonly [{
244
+ readonly internalType: "address";
245
+ readonly name: "user";
246
+ readonly type: "address";
247
+ }];
248
+ readonly name: "isWhitelisted";
249
+ readonly outputs: readonly [{
250
+ readonly internalType: "bool";
251
+ readonly name: "";
252
+ readonly type: "bool";
253
+ }];
254
+ readonly stateMutability: "view";
255
+ readonly type: "function";
256
+ }, {
257
+ readonly inputs: readonly [{
258
+ readonly internalType: "uint256";
259
+ readonly name: "amount";
260
+ readonly type: "uint256";
261
+ }];
262
+ readonly name: "mint";
263
+ readonly outputs: readonly [];
264
+ readonly stateMutability: "payable";
265
+ readonly type: "function";
266
+ }, {
267
+ readonly inputs: readonly [];
268
+ readonly name: "name";
269
+ readonly outputs: readonly [{
270
+ readonly internalType: "string";
271
+ readonly name: "";
272
+ readonly type: "string";
273
+ }];
274
+ readonly stateMutability: "view";
275
+ readonly type: "function";
276
+ }, {
277
+ readonly inputs: readonly [];
278
+ readonly name: "nextOwnerToExplicitlySet";
279
+ readonly outputs: readonly [{
280
+ readonly internalType: "uint256";
281
+ readonly name: "";
282
+ readonly type: "uint256";
283
+ }];
284
+ readonly stateMutability: "view";
285
+ readonly type: "function";
286
+ }, {
287
+ readonly inputs: readonly [{
288
+ readonly internalType: "address";
289
+ readonly name: "user";
290
+ readonly type: "address";
291
+ }];
292
+ readonly name: "numberMinted";
293
+ readonly outputs: readonly [{
294
+ readonly internalType: "uint256";
295
+ readonly name: "";
296
+ readonly type: "uint256";
297
+ }];
298
+ readonly stateMutability: "view";
299
+ readonly type: "function";
300
+ }, {
301
+ readonly inputs: readonly [];
302
+ readonly name: "owner";
303
+ readonly outputs: readonly [{
304
+ readonly internalType: "address";
305
+ readonly name: "";
306
+ readonly type: "address";
307
+ }];
308
+ readonly stateMutability: "view";
309
+ readonly type: "function";
310
+ }, {
311
+ readonly inputs: readonly [{
312
+ readonly internalType: "uint256";
313
+ readonly name: "tokenId";
314
+ readonly type: "uint256";
315
+ }];
316
+ readonly name: "ownerOf";
317
+ readonly outputs: readonly [{
318
+ readonly internalType: "address";
319
+ readonly name: "";
320
+ readonly type: "address";
321
+ }];
322
+ readonly stateMutability: "view";
323
+ readonly type: "function";
324
+ }, {
325
+ readonly inputs: readonly [{
326
+ readonly internalType: "uint256";
327
+ readonly name: "amount";
328
+ readonly type: "uint256";
329
+ }];
330
+ readonly name: "presaleMint";
331
+ readonly outputs: readonly [];
332
+ readonly stateMutability: "payable";
333
+ readonly type: "function";
334
+ }, {
335
+ readonly inputs: readonly [];
336
+ readonly name: "presaleStartTime";
337
+ readonly outputs: readonly [{
338
+ readonly internalType: "uint256";
339
+ readonly name: "";
340
+ readonly type: "uint256";
341
+ }];
342
+ readonly stateMutability: "view";
343
+ readonly type: "function";
344
+ }, {
345
+ readonly inputs: readonly [];
346
+ readonly name: "publicsaleStartTime";
347
+ readonly outputs: readonly [{
348
+ readonly internalType: "uint256";
349
+ readonly name: "";
350
+ readonly type: "uint256";
351
+ }];
352
+ readonly stateMutability: "view";
353
+ readonly type: "function";
354
+ }, {
355
+ readonly inputs: readonly [{
356
+ readonly internalType: "address[]";
357
+ readonly name: "wallets";
358
+ readonly type: "address[]";
359
+ }];
360
+ readonly name: "removeWhitelist";
361
+ readonly outputs: readonly [];
362
+ readonly stateMutability: "nonpayable";
363
+ readonly type: "function";
364
+ }, {
365
+ readonly inputs: readonly [];
366
+ readonly name: "renounceOwnership";
367
+ readonly outputs: readonly [];
368
+ readonly stateMutability: "nonpayable";
369
+ readonly type: "function";
370
+ }, {
371
+ readonly inputs: readonly [{
372
+ readonly internalType: "address[]";
373
+ readonly name: "recipients";
374
+ readonly type: "address[]";
375
+ }];
376
+ readonly name: "reserve";
377
+ readonly outputs: readonly [];
378
+ readonly stateMutability: "nonpayable";
379
+ readonly type: "function";
380
+ }, {
381
+ readonly inputs: readonly [{
382
+ readonly internalType: "address";
383
+ readonly name: "from";
384
+ readonly type: "address";
385
+ }, {
386
+ readonly internalType: "address";
387
+ readonly name: "to";
388
+ readonly type: "address";
389
+ }, {
390
+ readonly internalType: "uint256";
391
+ readonly name: "tokenId";
392
+ readonly type: "uint256";
393
+ }];
394
+ readonly name: "safeTransferFrom";
395
+ readonly outputs: readonly [];
396
+ readonly stateMutability: "nonpayable";
397
+ readonly type: "function";
398
+ }, {
399
+ readonly inputs: readonly [{
400
+ readonly internalType: "address";
401
+ readonly name: "from";
402
+ readonly type: "address";
403
+ }, {
404
+ readonly internalType: "address";
405
+ readonly name: "to";
406
+ readonly type: "address";
407
+ }, {
408
+ readonly internalType: "uint256";
409
+ readonly name: "tokenId";
410
+ readonly type: "uint256";
411
+ }, {
412
+ readonly internalType: "bytes";
413
+ readonly name: "_data";
414
+ readonly type: "bytes";
415
+ }];
416
+ readonly name: "safeTransferFrom";
417
+ readonly outputs: readonly [];
418
+ readonly stateMutability: "nonpayable";
419
+ readonly type: "function";
420
+ }, {
421
+ readonly inputs: readonly [{
422
+ readonly internalType: "address";
423
+ readonly name: "operator";
424
+ readonly type: "address";
425
+ }, {
426
+ readonly internalType: "bool";
427
+ readonly name: "approved";
428
+ readonly type: "bool";
429
+ }];
430
+ readonly name: "setApprovalForAll";
431
+ readonly outputs: readonly [];
432
+ readonly stateMutability: "nonpayable";
433
+ readonly type: "function";
434
+ }, {
435
+ readonly inputs: readonly [{
436
+ readonly internalType: "string";
437
+ readonly name: "newBaseURI";
438
+ readonly type: "string";
439
+ }];
440
+ readonly name: "setBaseURI";
441
+ readonly outputs: readonly [];
442
+ readonly stateMutability: "nonpayable";
443
+ readonly type: "function";
444
+ }, {
445
+ readonly inputs: readonly [{
446
+ readonly internalType: "uint256";
447
+ readonly name: "quantity";
448
+ readonly type: "uint256";
449
+ }];
450
+ readonly name: "setOwnersExplicit";
451
+ readonly outputs: readonly [];
452
+ readonly stateMutability: "nonpayable";
453
+ readonly type: "function";
454
+ }, {
455
+ readonly inputs: readonly [{
456
+ readonly internalType: "uint256";
457
+ readonly name: "timestamp";
458
+ readonly type: "uint256";
459
+ }];
460
+ readonly name: "setPresaleTime";
461
+ readonly outputs: readonly [];
462
+ readonly stateMutability: "nonpayable";
463
+ readonly type: "function";
464
+ }, {
465
+ readonly inputs: readonly [{
466
+ readonly internalType: "uint256";
467
+ readonly name: "timestamp";
468
+ readonly type: "uint256";
469
+ }];
470
+ readonly name: "setPublicsaleTime";
471
+ readonly outputs: readonly [];
472
+ readonly stateMutability: "nonpayable";
473
+ readonly type: "function";
474
+ }, {
475
+ readonly inputs: readonly [{
476
+ readonly internalType: "bytes4";
477
+ readonly name: "interfaceId";
478
+ readonly type: "bytes4";
479
+ }];
480
+ readonly name: "supportsInterface";
481
+ readonly outputs: readonly [{
482
+ readonly internalType: "bool";
483
+ readonly name: "";
484
+ readonly type: "bool";
485
+ }];
486
+ readonly stateMutability: "view";
487
+ readonly type: "function";
488
+ }, {
489
+ readonly inputs: readonly [];
490
+ readonly name: "symbol";
491
+ readonly outputs: readonly [{
492
+ readonly internalType: "string";
493
+ readonly name: "";
494
+ readonly type: "string";
495
+ }];
496
+ readonly stateMutability: "view";
497
+ readonly type: "function";
498
+ }, {
499
+ readonly inputs: readonly [{
500
+ readonly internalType: "uint256";
501
+ readonly name: "index";
502
+ readonly type: "uint256";
503
+ }];
504
+ readonly name: "tokenByIndex";
505
+ readonly outputs: readonly [{
506
+ readonly internalType: "uint256";
507
+ readonly name: "";
508
+ readonly type: "uint256";
509
+ }];
510
+ readonly stateMutability: "view";
511
+ readonly type: "function";
512
+ }, {
513
+ readonly inputs: readonly [{
514
+ readonly internalType: "address";
515
+ readonly name: "owner";
516
+ readonly type: "address";
517
+ }, {
518
+ readonly internalType: "uint256";
519
+ readonly name: "index";
520
+ readonly type: "uint256";
521
+ }];
522
+ readonly name: "tokenOfOwnerByIndex";
523
+ readonly outputs: readonly [{
524
+ readonly internalType: "uint256";
525
+ readonly name: "";
526
+ readonly type: "uint256";
527
+ }];
528
+ readonly stateMutability: "view";
529
+ readonly type: "function";
530
+ }, {
531
+ readonly inputs: readonly [{
532
+ readonly internalType: "uint256";
533
+ readonly name: "tokenId";
534
+ readonly type: "uint256";
535
+ }];
536
+ readonly name: "tokenURI";
537
+ readonly outputs: readonly [{
538
+ readonly internalType: "string";
539
+ readonly name: "";
540
+ readonly type: "string";
541
+ }];
542
+ readonly stateMutability: "view";
543
+ readonly type: "function";
544
+ }, {
545
+ readonly inputs: readonly [];
546
+ readonly name: "tokensReserved";
547
+ readonly outputs: readonly [{
548
+ readonly internalType: "uint256";
549
+ readonly name: "";
550
+ readonly type: "uint256";
551
+ }];
552
+ readonly stateMutability: "view";
553
+ readonly type: "function";
554
+ }, {
555
+ readonly inputs: readonly [];
556
+ readonly name: "totalSupply";
557
+ readonly outputs: readonly [{
558
+ readonly internalType: "uint256";
559
+ readonly name: "";
560
+ readonly type: "uint256";
561
+ }];
562
+ readonly stateMutability: "view";
563
+ readonly type: "function";
564
+ }, {
565
+ readonly inputs: readonly [{
566
+ readonly internalType: "address";
567
+ readonly name: "from";
568
+ readonly type: "address";
569
+ }, {
570
+ readonly internalType: "address";
571
+ readonly name: "to";
572
+ readonly type: "address";
573
+ }, {
574
+ readonly internalType: "uint256";
575
+ readonly name: "tokenId";
576
+ readonly type: "uint256";
577
+ }];
578
+ readonly name: "transferFrom";
579
+ readonly outputs: readonly [];
580
+ readonly stateMutability: "nonpayable";
581
+ readonly type: "function";
582
+ }, {
583
+ readonly inputs: readonly [{
584
+ readonly internalType: "address";
585
+ readonly name: "newOwner";
586
+ readonly type: "address";
587
+ }];
588
+ readonly name: "transferOwnership";
589
+ readonly outputs: readonly [];
590
+ readonly stateMutability: "nonpayable";
591
+ readonly type: "function";
592
+ }, {
593
+ readonly inputs: readonly [];
594
+ readonly name: "withdraw";
595
+ readonly outputs: readonly [];
596
+ readonly stateMutability: "nonpayable";
597
+ readonly type: "function";
598
+ }];
599
+ /**
600
+ * Type-safe ABI for MetabellaByPokmi
601
+ */
602
+ export type MetabellaByPokmiAbi = typeof MetabellaByPokmiAbi;
603
+ /**
604
+ * Contract instance type for MetabellaByPokmi
605
+ */
606
+ export type MetabellaByPokmiContract = any;
607
+ /**
608
+ * MetabellaByPokmi Contract Class
609
+ *
610
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
611
+ *
612
+ * @example
613
+ * ```typescript
614
+ * import { createPublicClient, createWalletClient, http } from 'viem';
615
+ * import { mainnet } from 'viem/chains';
616
+ * import { MetabellaByPokmi } from 'MetabellaByPokmi';
617
+ *
618
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
619
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
620
+ *
621
+ * const contract = new MetabellaByPokmi('0x...', { publicClient, walletClient });
622
+ *
623
+ * // Read functions
624
+ * const result = await contract.balanceOf('0x...');
625
+ *
626
+ * // Write functions
627
+ * const hash = await contract.transfer('0x...', 1000n);
628
+ *
629
+ * // Simulate transactions (dry-run)
630
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
631
+ * console.log('Gas estimate:', simulation.request.gas);
632
+ *
633
+ * // Watch events
634
+ * const unwatch = contract.watch.Transfer((event) => {
635
+ * console.log('Transfer event:', event);
636
+ * });
637
+ * ```
638
+ */
639
+ export declare class MetabellaByPokmi {
640
+ private contract;
641
+ private contractAddress;
642
+ private publicClient;
643
+ constructor(address: Address, clients: {
644
+ publicClient: PublicClient;
645
+ walletClient?: WalletClient;
646
+ });
647
+ /**
648
+ * Get the contract address
649
+ */
650
+ get address(): Address;
651
+ /**
652
+ * Get the underlying viem contract instance.
653
+ */
654
+ getContract(): MetabellaByPokmiContract;
655
+ /**
656
+ * MAX_PRESALE_MINT
657
+ * view
658
+ */
659
+ MAX_PRESALE_MINT(): Promise<bigint>;
660
+ /**
661
+ * MAX_SUPPLY
662
+ * view
663
+ */
664
+ MAX_SUPPLY(): Promise<bigint>;
665
+ /**
666
+ * PRESALE_PRICE
667
+ * view
668
+ */
669
+ PRESALE_PRICE(): Promise<bigint>;
670
+ /**
671
+ * PUBLICSALE_PRICE
672
+ * view
673
+ */
674
+ PUBLICSALE_PRICE(): Promise<bigint>;
675
+ /**
676
+ * RESERVE_AMOUNT
677
+ * view
678
+ */
679
+ RESERVE_AMOUNT(): Promise<bigint>;
680
+ /**
681
+ * balanceOf
682
+ * view
683
+ */
684
+ balanceOf(owner: `0x${string}`): Promise<bigint>;
685
+ /**
686
+ * baseURI
687
+ * view
688
+ */
689
+ baseURI(): Promise<string>;
690
+ /**
691
+ * getApproved
692
+ * view
693
+ */
694
+ getApproved(tokenId: bigint): Promise<`0x${string}`>;
695
+ /**
696
+ * isApprovedForAll
697
+ * view
698
+ */
699
+ isApprovedForAll(owner: `0x${string}`, operator: `0x${string}`): Promise<boolean>;
700
+ /**
701
+ * isPresaleLive
702
+ * view
703
+ */
704
+ isPresaleLive(): Promise<boolean>;
705
+ /**
706
+ * isPublicsaleLive
707
+ * view
708
+ */
709
+ isPublicsaleLive(): Promise<boolean>;
710
+ /**
711
+ * isWhitelisted
712
+ * view
713
+ */
714
+ isWhitelisted(user: `0x${string}`): Promise<boolean>;
715
+ /**
716
+ * name
717
+ * view
718
+ */
719
+ name(): Promise<string>;
720
+ /**
721
+ * nextOwnerToExplicitlySet
722
+ * view
723
+ */
724
+ nextOwnerToExplicitlySet(): Promise<bigint>;
725
+ /**
726
+ * numberMinted
727
+ * view
728
+ */
729
+ numberMinted(user: `0x${string}`): Promise<bigint>;
730
+ /**
731
+ * owner
732
+ * view
733
+ */
734
+ owner(): Promise<`0x${string}`>;
735
+ /**
736
+ * ownerOf
737
+ * view
738
+ */
739
+ ownerOf(tokenId: bigint): Promise<`0x${string}`>;
740
+ /**
741
+ * presaleStartTime
742
+ * view
743
+ */
744
+ presaleStartTime(): Promise<bigint>;
745
+ /**
746
+ * publicsaleStartTime
747
+ * view
748
+ */
749
+ publicsaleStartTime(): Promise<bigint>;
750
+ /**
751
+ * supportsInterface
752
+ * view
753
+ */
754
+ supportsInterface(interfaceId: `0x${string}`): Promise<boolean>;
755
+ /**
756
+ * symbol
757
+ * view
758
+ */
759
+ symbol(): Promise<string>;
760
+ /**
761
+ * tokenByIndex
762
+ * view
763
+ */
764
+ tokenByIndex(index: bigint): Promise<bigint>;
765
+ /**
766
+ * tokenOfOwnerByIndex
767
+ * view
768
+ */
769
+ tokenOfOwnerByIndex(owner: `0x${string}`, index: bigint): Promise<bigint>;
770
+ /**
771
+ * tokenURI
772
+ * view
773
+ */
774
+ tokenURI(tokenId: bigint): Promise<string>;
775
+ /**
776
+ * tokensReserved
777
+ * view
778
+ */
779
+ tokensReserved(): Promise<bigint>;
780
+ /**
781
+ * totalSupply
782
+ * view
783
+ */
784
+ totalSupply(): Promise<bigint>;
785
+ /**
786
+ * addWhitelist
787
+ * nonpayable
788
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
789
+ */
790
+ addWhitelist(wallets: `0x${string}`[], options?: {
791
+ accessList?: import('viem').AccessList;
792
+ authorizationList?: import('viem').AuthorizationList;
793
+ chain?: import('viem').Chain | null;
794
+ dataSuffix?: `0x${string}`;
795
+ gas?: bigint;
796
+ gasPrice?: bigint;
797
+ maxFeePerGas?: bigint;
798
+ maxPriorityFeePerGas?: bigint;
799
+ nonce?: number;
800
+ value?: bigint;
801
+ }): Promise<`0x${string}`>;
802
+ /**
803
+ * approve
804
+ * nonpayable
805
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
806
+ */
807
+ approve(to: `0x${string}`, tokenId: bigint, options?: {
808
+ accessList?: import('viem').AccessList;
809
+ authorizationList?: import('viem').AuthorizationList;
810
+ chain?: import('viem').Chain | null;
811
+ dataSuffix?: `0x${string}`;
812
+ gas?: bigint;
813
+ gasPrice?: bigint;
814
+ maxFeePerGas?: bigint;
815
+ maxPriorityFeePerGas?: bigint;
816
+ nonce?: number;
817
+ value?: bigint;
818
+ }): Promise<`0x${string}`>;
819
+ /**
820
+ * disableSale
821
+ * nonpayable
822
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
823
+ */
824
+ disableSale(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
+ * mint
838
+ * payable
839
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
840
+ */
841
+ mint(amount: bigint, 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
+ * presaleMint
855
+ * payable
856
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
857
+ */
858
+ presaleMint(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
+ * removeWhitelist
872
+ * nonpayable
873
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
874
+ */
875
+ removeWhitelist(wallets: `0x${string}`[], 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
+ * renounceOwnership
889
+ * nonpayable
890
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
891
+ */
892
+ renounceOwnership(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
+ * reserve
906
+ * nonpayable
907
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
908
+ */
909
+ reserve(recipients: `0x${string}`[], 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
+ safeTransferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
922
+ accessList?: import('viem').AccessList;
923
+ authorizationList?: import('viem').AuthorizationList;
924
+ chain?: import('viem').Chain | null;
925
+ dataSuffix?: `0x${string}`;
926
+ gas?: bigint;
927
+ gasPrice?: bigint;
928
+ maxFeePerGas?: bigint;
929
+ maxPriorityFeePerGas?: bigint;
930
+ nonce?: number;
931
+ value?: bigint;
932
+ }): Promise<`0x${string}`>;
933
+ safeTransferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, _data: `0x${string}`, options?: {
934
+ accessList?: import('viem').AccessList;
935
+ authorizationList?: import('viem').AuthorizationList;
936
+ chain?: import('viem').Chain | null;
937
+ dataSuffix?: `0x${string}`;
938
+ gas?: bigint;
939
+ gasPrice?: bigint;
940
+ maxFeePerGas?: bigint;
941
+ maxPriorityFeePerGas?: bigint;
942
+ nonce?: number;
943
+ value?: bigint;
944
+ }): Promise<`0x${string}`>;
945
+ /**
946
+ * setApprovalForAll
947
+ * nonpayable
948
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
949
+ */
950
+ setApprovalForAll(operator: `0x${string}`, approved: boolean, options?: {
951
+ accessList?: import('viem').AccessList;
952
+ authorizationList?: import('viem').AuthorizationList;
953
+ chain?: import('viem').Chain | null;
954
+ dataSuffix?: `0x${string}`;
955
+ gas?: bigint;
956
+ gasPrice?: bigint;
957
+ maxFeePerGas?: bigint;
958
+ maxPriorityFeePerGas?: bigint;
959
+ nonce?: number;
960
+ value?: bigint;
961
+ }): Promise<`0x${string}`>;
962
+ /**
963
+ * setBaseURI
964
+ * nonpayable
965
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
966
+ */
967
+ setBaseURI(newBaseURI: string, options?: {
968
+ accessList?: import('viem').AccessList;
969
+ authorizationList?: import('viem').AuthorizationList;
970
+ chain?: import('viem').Chain | null;
971
+ dataSuffix?: `0x${string}`;
972
+ gas?: bigint;
973
+ gasPrice?: bigint;
974
+ maxFeePerGas?: bigint;
975
+ maxPriorityFeePerGas?: bigint;
976
+ nonce?: number;
977
+ value?: bigint;
978
+ }): Promise<`0x${string}`>;
979
+ /**
980
+ * setOwnersExplicit
981
+ * nonpayable
982
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
983
+ */
984
+ setOwnersExplicit(quantity: bigint, options?: {
985
+ accessList?: import('viem').AccessList;
986
+ authorizationList?: import('viem').AuthorizationList;
987
+ chain?: import('viem').Chain | null;
988
+ dataSuffix?: `0x${string}`;
989
+ gas?: bigint;
990
+ gasPrice?: bigint;
991
+ maxFeePerGas?: bigint;
992
+ maxPriorityFeePerGas?: bigint;
993
+ nonce?: number;
994
+ value?: bigint;
995
+ }): Promise<`0x${string}`>;
996
+ /**
997
+ * setPresaleTime
998
+ * nonpayable
999
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1000
+ */
1001
+ setPresaleTime(timestamp: bigint, options?: {
1002
+ accessList?: import('viem').AccessList;
1003
+ authorizationList?: import('viem').AuthorizationList;
1004
+ chain?: import('viem').Chain | null;
1005
+ dataSuffix?: `0x${string}`;
1006
+ gas?: bigint;
1007
+ gasPrice?: bigint;
1008
+ maxFeePerGas?: bigint;
1009
+ maxPriorityFeePerGas?: bigint;
1010
+ nonce?: number;
1011
+ value?: bigint;
1012
+ }): Promise<`0x${string}`>;
1013
+ /**
1014
+ * setPublicsaleTime
1015
+ * nonpayable
1016
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1017
+ */
1018
+ setPublicsaleTime(timestamp: bigint, 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
+ * transferFrom
1032
+ * nonpayable
1033
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1034
+ */
1035
+ transferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: 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
+ * transferOwnership
1049
+ * nonpayable
1050
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1051
+ */
1052
+ transferOwnership(newOwner: `0x${string}`, 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
+ * withdraw
1066
+ * nonpayable
1067
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1068
+ */
1069
+ withdraw(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
+ * Simulate contract write operations (dry-run without sending transaction)
1083
+ *
1084
+ * @example
1085
+ * const result = await contract.simulate.transfer('0x...', 1000n);
1086
+ * console.log('Gas estimate:', result.request.gas);
1087
+ * console.log('Would succeed:', result.result);
1088
+ */
1089
+ get simulate(): {
1090
+ /**
1091
+ * Simulate addWhitelist
1092
+ * Returns gas estimate and result without sending transaction
1093
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1094
+ */
1095
+ addWhitelist(wallets: `0x${string}`[], options?: {
1096
+ accessList?: import("viem").AccessList;
1097
+ authorizationList?: import("viem").AuthorizationList;
1098
+ chain?: import("viem").Chain | null;
1099
+ dataSuffix?: `0x${string}`;
1100
+ gas?: bigint;
1101
+ gasPrice?: bigint;
1102
+ maxFeePerGas?: bigint;
1103
+ maxPriorityFeePerGas?: bigint;
1104
+ nonce?: number;
1105
+ value?: bigint;
1106
+ }): Promise<void>;
1107
+ /**
1108
+ * Simulate approve
1109
+ * Returns gas estimate and result without sending transaction
1110
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1111
+ */
1112
+ approve(to: `0x${string}`, tokenId: bigint, options?: {
1113
+ accessList?: import("viem").AccessList;
1114
+ authorizationList?: import("viem").AuthorizationList;
1115
+ chain?: import("viem").Chain | null;
1116
+ dataSuffix?: `0x${string}`;
1117
+ gas?: bigint;
1118
+ gasPrice?: bigint;
1119
+ maxFeePerGas?: bigint;
1120
+ maxPriorityFeePerGas?: bigint;
1121
+ nonce?: number;
1122
+ value?: bigint;
1123
+ }): Promise<void>;
1124
+ /**
1125
+ * Simulate disableSale
1126
+ * Returns gas estimate and result without sending transaction
1127
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1128
+ */
1129
+ disableSale(options?: {
1130
+ accessList?: import("viem").AccessList;
1131
+ authorizationList?: import("viem").AuthorizationList;
1132
+ chain?: import("viem").Chain | null;
1133
+ dataSuffix?: `0x${string}`;
1134
+ gas?: bigint;
1135
+ gasPrice?: bigint;
1136
+ maxFeePerGas?: bigint;
1137
+ maxPriorityFeePerGas?: bigint;
1138
+ nonce?: number;
1139
+ value?: bigint;
1140
+ }): Promise<void>;
1141
+ /**
1142
+ * Simulate mint
1143
+ * Returns gas estimate and result without sending transaction
1144
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1145
+ */
1146
+ mint(amount: bigint, options?: {
1147
+ accessList?: import("viem").AccessList;
1148
+ authorizationList?: import("viem").AuthorizationList;
1149
+ chain?: import("viem").Chain | null;
1150
+ dataSuffix?: `0x${string}`;
1151
+ gas?: bigint;
1152
+ gasPrice?: bigint;
1153
+ maxFeePerGas?: bigint;
1154
+ maxPriorityFeePerGas?: bigint;
1155
+ nonce?: number;
1156
+ value?: bigint;
1157
+ }): Promise<void>;
1158
+ /**
1159
+ * Simulate presaleMint
1160
+ * Returns gas estimate and result without sending transaction
1161
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1162
+ */
1163
+ presaleMint(amount: 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<void>;
1175
+ /**
1176
+ * Simulate removeWhitelist
1177
+ * Returns gas estimate and result without sending transaction
1178
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1179
+ */
1180
+ removeWhitelist(wallets: `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 renounceOwnership
1194
+ * Returns gas estimate and result without sending transaction
1195
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1196
+ */
1197
+ renounceOwnership(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<void>;
1209
+ /**
1210
+ * Simulate reserve
1211
+ * Returns gas estimate and result without sending transaction
1212
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1213
+ */
1214
+ reserve(recipients: `0x${string}`[], 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<void>;
1226
+ /**
1227
+ * Simulate safeTransferFrom
1228
+ * Returns gas estimate and result without sending transaction
1229
+ * Supports multiple overloads: (address, address, uint256), (address, address, uint256, bytes)
1230
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1231
+ */
1232
+ safeTransferFrom(...args: any[]): Promise<any>;
1233
+ /**
1234
+ * Simulate setApprovalForAll
1235
+ * Returns gas estimate and result without sending transaction
1236
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1237
+ */
1238
+ setApprovalForAll(operator: `0x${string}`, approved: boolean, options?: {
1239
+ accessList?: import("viem").AccessList;
1240
+ authorizationList?: import("viem").AuthorizationList;
1241
+ chain?: import("viem").Chain | null;
1242
+ dataSuffix?: `0x${string}`;
1243
+ gas?: bigint;
1244
+ gasPrice?: bigint;
1245
+ maxFeePerGas?: bigint;
1246
+ maxPriorityFeePerGas?: bigint;
1247
+ nonce?: number;
1248
+ value?: bigint;
1249
+ }): Promise<void>;
1250
+ /**
1251
+ * Simulate setBaseURI
1252
+ * Returns gas estimate and result without sending transaction
1253
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1254
+ */
1255
+ setBaseURI(newBaseURI: string, options?: {
1256
+ accessList?: import("viem").AccessList;
1257
+ authorizationList?: import("viem").AuthorizationList;
1258
+ chain?: import("viem").Chain | null;
1259
+ dataSuffix?: `0x${string}`;
1260
+ gas?: bigint;
1261
+ gasPrice?: bigint;
1262
+ maxFeePerGas?: bigint;
1263
+ maxPriorityFeePerGas?: bigint;
1264
+ nonce?: number;
1265
+ value?: bigint;
1266
+ }): Promise<void>;
1267
+ /**
1268
+ * Simulate setOwnersExplicit
1269
+ * Returns gas estimate and result without sending transaction
1270
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1271
+ */
1272
+ setOwnersExplicit(quantity: bigint, options?: {
1273
+ accessList?: import("viem").AccessList;
1274
+ authorizationList?: import("viem").AuthorizationList;
1275
+ chain?: import("viem").Chain | null;
1276
+ dataSuffix?: `0x${string}`;
1277
+ gas?: bigint;
1278
+ gasPrice?: bigint;
1279
+ maxFeePerGas?: bigint;
1280
+ maxPriorityFeePerGas?: bigint;
1281
+ nonce?: number;
1282
+ value?: bigint;
1283
+ }): Promise<void>;
1284
+ /**
1285
+ * Simulate setPresaleTime
1286
+ * Returns gas estimate and result without sending transaction
1287
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1288
+ */
1289
+ setPresaleTime(timestamp: bigint, options?: {
1290
+ accessList?: import("viem").AccessList;
1291
+ authorizationList?: import("viem").AuthorizationList;
1292
+ chain?: import("viem").Chain | null;
1293
+ dataSuffix?: `0x${string}`;
1294
+ gas?: bigint;
1295
+ gasPrice?: bigint;
1296
+ maxFeePerGas?: bigint;
1297
+ maxPriorityFeePerGas?: bigint;
1298
+ nonce?: number;
1299
+ value?: bigint;
1300
+ }): Promise<void>;
1301
+ /**
1302
+ * Simulate setPublicsaleTime
1303
+ * Returns gas estimate and result without sending transaction
1304
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1305
+ */
1306
+ setPublicsaleTime(timestamp: bigint, options?: {
1307
+ accessList?: import("viem").AccessList;
1308
+ authorizationList?: import("viem").AuthorizationList;
1309
+ chain?: import("viem").Chain | null;
1310
+ dataSuffix?: `0x${string}`;
1311
+ gas?: bigint;
1312
+ gasPrice?: bigint;
1313
+ maxFeePerGas?: bigint;
1314
+ maxPriorityFeePerGas?: bigint;
1315
+ nonce?: number;
1316
+ value?: bigint;
1317
+ }): Promise<void>;
1318
+ /**
1319
+ * Simulate transferFrom
1320
+ * Returns gas estimate and result without sending transaction
1321
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1322
+ */
1323
+ transferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
1324
+ accessList?: import("viem").AccessList;
1325
+ authorizationList?: import("viem").AuthorizationList;
1326
+ chain?: import("viem").Chain | null;
1327
+ dataSuffix?: `0x${string}`;
1328
+ gas?: bigint;
1329
+ gasPrice?: bigint;
1330
+ maxFeePerGas?: bigint;
1331
+ maxPriorityFeePerGas?: bigint;
1332
+ nonce?: number;
1333
+ value?: bigint;
1334
+ }): Promise<void>;
1335
+ /**
1336
+ * Simulate transferOwnership
1337
+ * Returns gas estimate and result without sending transaction
1338
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1339
+ */
1340
+ transferOwnership(newOwner: `0x${string}`, options?: {
1341
+ accessList?: import("viem").AccessList;
1342
+ authorizationList?: import("viem").AuthorizationList;
1343
+ chain?: import("viem").Chain | null;
1344
+ dataSuffix?: `0x${string}`;
1345
+ gas?: bigint;
1346
+ gasPrice?: bigint;
1347
+ maxFeePerGas?: bigint;
1348
+ maxPriorityFeePerGas?: bigint;
1349
+ nonce?: number;
1350
+ value?: bigint;
1351
+ }): Promise<void>;
1352
+ /**
1353
+ * Simulate withdraw
1354
+ * Returns gas estimate and result without sending transaction
1355
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1356
+ */
1357
+ withdraw(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<void>;
1369
+ };
1370
+ /**
1371
+ * Watch contract events
1372
+ *
1373
+ * @example
1374
+ * // Watch all Transfer events
1375
+ * const unwatch = contract.watch.Transfer((event) => {
1376
+ * console.log('Transfer:', event);
1377
+ * });
1378
+ *
1379
+ * // Stop watching
1380
+ * unwatch();
1381
+ */
1382
+ get watch(): {
1383
+ /**
1384
+ * Watch Approval events
1385
+ * @param callback Function to call when event is emitted
1386
+ * @param filter Optional filter for indexed parameters
1387
+ * @returns Unwatch function to stop listening
1388
+ */
1389
+ Approval: (callback: (event: {
1390
+ owner: `0x${string}`;
1391
+ approved: `0x${string}`;
1392
+ tokenId: bigint;
1393
+ }) => void, filter?: {
1394
+ owner?: `0x${string}` | `0x${string}`[] | null;
1395
+ approved?: `0x${string}` | `0x${string}`[] | null;
1396
+ tokenId?: bigint | bigint[] | null;
1397
+ }) => () => void;
1398
+ /**
1399
+ * Watch ApprovalForAll events
1400
+ * @param callback Function to call when event is emitted
1401
+ * @param filter Optional filter for indexed parameters
1402
+ * @returns Unwatch function to stop listening
1403
+ */
1404
+ ApprovalForAll: (callback: (event: {
1405
+ owner: `0x${string}`;
1406
+ operator: `0x${string}`;
1407
+ approved: boolean;
1408
+ }) => void, filter?: {
1409
+ owner?: `0x${string}` | `0x${string}`[] | null;
1410
+ operator?: `0x${string}` | `0x${string}`[] | null;
1411
+ }) => () => void;
1412
+ /**
1413
+ * Watch OwnershipTransferred events
1414
+ * @param callback Function to call when event is emitted
1415
+ * @param filter Optional filter for indexed parameters
1416
+ * @returns Unwatch function to stop listening
1417
+ */
1418
+ OwnershipTransferred: (callback: (event: {
1419
+ previousOwner: `0x${string}`;
1420
+ newOwner: `0x${string}`;
1421
+ }) => void, filter?: {
1422
+ previousOwner?: `0x${string}` | `0x${string}`[] | null;
1423
+ newOwner?: `0x${string}` | `0x${string}`[] | null;
1424
+ }) => () => void;
1425
+ /**
1426
+ * Watch Transfer events
1427
+ * @param callback Function to call when event is emitted
1428
+ * @param filter Optional filter for indexed parameters
1429
+ * @returns Unwatch function to stop listening
1430
+ */
1431
+ Transfer: (callback: (event: {
1432
+ from: `0x${string}`;
1433
+ to: `0x${string}`;
1434
+ tokenId: bigint;
1435
+ }) => void, filter?: {
1436
+ from?: `0x${string}` | `0x${string}`[] | null;
1437
+ to?: `0x${string}` | `0x${string}`[] | null;
1438
+ tokenId?: bigint | bigint[] | null;
1439
+ }) => () => void;
1440
+ };
1441
+ }