@gitmyabi/fellowshipdutchauction 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,1082 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * AuctionStageConfiguration struct type
4
+ */
5
+ export type AuctionStageConfiguration = {
6
+ priceDropPerSlot: bigint;
7
+ endPrice: bigint;
8
+ };
9
+ /**
10
+ * FellowshipDutchAuction ABI
11
+ *
12
+ * This ABI is typed using viem's type system for full type safety.
13
+ */
14
+ export declare const FellowshipDutchAuctionAbi: readonly [{
15
+ readonly inputs: readonly [{
16
+ readonly internalType: "address";
17
+ readonly name: "tokenContract_";
18
+ readonly type: "address";
19
+ }, {
20
+ readonly internalType: "uint256";
21
+ readonly name: "startTime_";
22
+ readonly type: "uint256";
23
+ }, {
24
+ readonly internalType: "uint256";
25
+ readonly name: "startPrice_";
26
+ readonly type: "uint256";
27
+ }, {
28
+ readonly internalType: "uint256";
29
+ readonly name: "earlyPriceDrop";
30
+ readonly type: "uint256";
31
+ }, {
32
+ readonly internalType: "uint256";
33
+ readonly name: "transitionPrice";
34
+ readonly type: "uint256";
35
+ }, {
36
+ readonly internalType: "uint256";
37
+ readonly name: "latePriceDrop";
38
+ readonly type: "uint256";
39
+ }, {
40
+ readonly internalType: "uint256";
41
+ readonly name: "restPrice";
42
+ readonly type: "uint256";
43
+ }, {
44
+ readonly internalType: "uint256";
45
+ readonly name: "earlyAccessDuration_";
46
+ readonly type: "uint256";
47
+ }, {
48
+ readonly internalType: "uint16[]";
49
+ readonly name: "shufflerConfig";
50
+ readonly type: "uint16[]";
51
+ }];
52
+ readonly stateMutability: "nonpayable";
53
+ readonly type: "constructor";
54
+ }, {
55
+ readonly inputs: readonly [];
56
+ readonly name: "AlreadyStarted";
57
+ readonly type: "error";
58
+ }, {
59
+ readonly inputs: readonly [];
60
+ readonly name: "ContractIsPaused";
61
+ readonly type: "error";
62
+ }, {
63
+ readonly inputs: readonly [];
64
+ readonly name: "ContractNotPaused";
65
+ readonly type: "error";
66
+ }, {
67
+ readonly inputs: readonly [];
68
+ readonly name: "EarlyAccessWithoutPass";
69
+ readonly type: "error";
70
+ }, {
71
+ readonly inputs: readonly [{
72
+ readonly internalType: "uint256";
73
+ readonly name: "amount";
74
+ readonly type: "uint256";
75
+ }, {
76
+ readonly internalType: "bytes";
77
+ readonly name: "data";
78
+ readonly type: "bytes";
79
+ }];
80
+ readonly name: "FailedWithdraw";
81
+ readonly type: "error";
82
+ }, {
83
+ readonly inputs: readonly [];
84
+ readonly name: "NotYetStarted";
85
+ readonly type: "error";
86
+ }, {
87
+ readonly inputs: readonly [];
88
+ readonly name: "SoldOut";
89
+ readonly type: "error";
90
+ }, {
91
+ readonly anonymous: false;
92
+ readonly inputs: readonly [{
93
+ readonly indexed: true;
94
+ readonly internalType: "address";
95
+ readonly name: "previousOwner";
96
+ readonly type: "address";
97
+ }, {
98
+ readonly indexed: true;
99
+ readonly internalType: "address";
100
+ readonly name: "newOwner";
101
+ readonly type: "address";
102
+ }];
103
+ readonly name: "OwnershipTransferred";
104
+ readonly type: "event";
105
+ }, {
106
+ readonly anonymous: false;
107
+ readonly inputs: readonly [];
108
+ readonly name: "Paused";
109
+ readonly type: "event";
110
+ }, {
111
+ readonly anonymous: false;
112
+ readonly inputs: readonly [{
113
+ readonly indexed: false;
114
+ readonly internalType: "address";
115
+ readonly name: "purchaser";
116
+ readonly type: "address";
117
+ }, {
118
+ readonly indexed: false;
119
+ readonly internalType: "uint256";
120
+ readonly name: "tokenId";
121
+ readonly type: "uint256";
122
+ }, {
123
+ readonly indexed: false;
124
+ readonly internalType: "uint256";
125
+ readonly name: "price";
126
+ readonly type: "uint256";
127
+ }];
128
+ readonly name: "Purchase";
129
+ readonly type: "event";
130
+ }, {
131
+ readonly anonymous: false;
132
+ readonly inputs: readonly [{
133
+ readonly indexed: false;
134
+ readonly internalType: "address";
135
+ readonly name: "recipient";
136
+ readonly type: "address";
137
+ }, {
138
+ readonly indexed: false;
139
+ readonly internalType: "uint256";
140
+ readonly name: "amount";
141
+ readonly type: "uint256";
142
+ }];
143
+ readonly name: "Refund";
144
+ readonly type: "event";
145
+ }, {
146
+ readonly anonymous: false;
147
+ readonly inputs: readonly [{
148
+ readonly indexed: false;
149
+ readonly internalType: "address";
150
+ readonly name: "recipient";
151
+ readonly type: "address";
152
+ }, {
153
+ readonly indexed: false;
154
+ readonly internalType: "uint256";
155
+ readonly name: "quantity";
156
+ readonly type: "uint256";
157
+ }, {
158
+ readonly indexed: false;
159
+ readonly internalType: "uint256";
160
+ readonly name: "totalReserved";
161
+ readonly type: "uint256";
162
+ }];
163
+ readonly name: "Reservation";
164
+ readonly type: "event";
165
+ }, {
166
+ readonly anonymous: false;
167
+ readonly inputs: readonly [];
168
+ readonly name: "Unpaused";
169
+ readonly type: "event";
170
+ }, {
171
+ readonly inputs: readonly [{
172
+ readonly internalType: "uint256";
173
+ readonly name: "";
174
+ readonly type: "uint256";
175
+ }];
176
+ readonly name: "auctionStages";
177
+ readonly outputs: readonly [{
178
+ readonly internalType: "uint256";
179
+ readonly name: "priceDropPerSlot";
180
+ readonly type: "uint256";
181
+ }, {
182
+ readonly internalType: "uint256";
183
+ readonly name: "endPrice";
184
+ readonly type: "uint256";
185
+ }, {
186
+ readonly internalType: "uint256";
187
+ readonly name: "duration";
188
+ readonly type: "uint256";
189
+ }];
190
+ readonly stateMutability: "view";
191
+ readonly type: "function";
192
+ }, {
193
+ readonly inputs: readonly [];
194
+ readonly name: "currentPrice";
195
+ readonly outputs: readonly [{
196
+ readonly internalType: "uint256";
197
+ readonly name: "price";
198
+ readonly type: "uint256";
199
+ }];
200
+ readonly stateMutability: "view";
201
+ readonly type: "function";
202
+ }, {
203
+ readonly inputs: readonly [{
204
+ readonly internalType: "address";
205
+ readonly name: "";
206
+ readonly type: "address";
207
+ }];
208
+ readonly name: "discountsCount";
209
+ readonly outputs: readonly [{
210
+ readonly internalType: "uint256";
211
+ readonly name: "";
212
+ readonly type: "uint256";
213
+ }];
214
+ readonly stateMutability: "view";
215
+ readonly type: "function";
216
+ }, {
217
+ readonly inputs: readonly [];
218
+ readonly name: "earlyAccessDuration";
219
+ readonly outputs: readonly [{
220
+ readonly internalType: "uint256";
221
+ readonly name: "";
222
+ readonly type: "uint256";
223
+ }];
224
+ readonly stateMutability: "view";
225
+ readonly type: "function";
226
+ }, {
227
+ readonly inputs: readonly [];
228
+ readonly name: "isPaused";
229
+ readonly outputs: readonly [{
230
+ readonly internalType: "bool";
231
+ readonly name: "";
232
+ readonly type: "bool";
233
+ }];
234
+ readonly stateMutability: "view";
235
+ readonly type: "function";
236
+ }, {
237
+ readonly inputs: readonly [];
238
+ readonly name: "isPublic";
239
+ readonly outputs: readonly [{
240
+ readonly internalType: "bool";
241
+ readonly name: "";
242
+ readonly type: "bool";
243
+ }];
244
+ readonly stateMutability: "view";
245
+ readonly type: "function";
246
+ }, {
247
+ readonly inputs: readonly [];
248
+ readonly name: "lowestPrice";
249
+ readonly outputs: readonly [{
250
+ readonly internalType: "uint256";
251
+ readonly name: "";
252
+ readonly type: "uint256";
253
+ }];
254
+ readonly stateMutability: "view";
255
+ readonly type: "function";
256
+ }, {
257
+ readonly inputs: readonly [{
258
+ readonly internalType: "address";
259
+ readonly name: "";
260
+ readonly type: "address";
261
+ }];
262
+ readonly name: "mintCount";
263
+ readonly outputs: readonly [{
264
+ readonly internalType: "uint256";
265
+ readonly name: "";
266
+ readonly type: "uint256";
267
+ }];
268
+ readonly stateMutability: "view";
269
+ readonly type: "function";
270
+ }, {
271
+ readonly inputs: readonly [];
272
+ readonly name: "mintLimit";
273
+ readonly outputs: readonly [{
274
+ readonly internalType: "uint256";
275
+ readonly name: "";
276
+ readonly type: "uint256";
277
+ }];
278
+ readonly stateMutability: "view";
279
+ readonly type: "function";
280
+ }, {
281
+ readonly inputs: readonly [{
282
+ readonly internalType: "uint256";
283
+ readonly name: "quantity";
284
+ readonly type: "uint256";
285
+ }];
286
+ readonly name: "mintMultiple";
287
+ readonly outputs: readonly [];
288
+ readonly stateMutability: "payable";
289
+ readonly type: "function";
290
+ }, {
291
+ readonly inputs: readonly [{
292
+ readonly internalType: "address";
293
+ readonly name: "";
294
+ readonly type: "address";
295
+ }];
296
+ readonly name: "mintPayment";
297
+ readonly outputs: readonly [{
298
+ readonly internalType: "uint256";
299
+ readonly name: "";
300
+ readonly type: "uint256";
301
+ }];
302
+ readonly stateMutability: "view";
303
+ readonly type: "function";
304
+ }, {
305
+ readonly inputs: readonly [];
306
+ readonly name: "owner";
307
+ readonly outputs: readonly [{
308
+ readonly internalType: "address";
309
+ readonly name: "";
310
+ readonly type: "address";
311
+ }];
312
+ readonly stateMutability: "view";
313
+ readonly type: "function";
314
+ }, {
315
+ readonly inputs: readonly [];
316
+ readonly name: "pause";
317
+ readonly outputs: readonly [];
318
+ readonly stateMutability: "nonpayable";
319
+ readonly type: "function";
320
+ }, {
321
+ readonly inputs: readonly [];
322
+ readonly name: "refund";
323
+ readonly outputs: readonly [{
324
+ readonly internalType: "uint256";
325
+ readonly name: "";
326
+ readonly type: "uint256";
327
+ }];
328
+ readonly stateMutability: "nonpayable";
329
+ readonly type: "function";
330
+ }, {
331
+ readonly inputs: readonly [{
332
+ readonly internalType: "address";
333
+ readonly name: "minter";
334
+ readonly type: "address";
335
+ }];
336
+ readonly name: "refundAvailable";
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: "renounceOwnership";
347
+ readonly outputs: readonly [];
348
+ readonly stateMutability: "nonpayable";
349
+ readonly type: "function";
350
+ }, {
351
+ readonly inputs: readonly [{
352
+ readonly internalType: "uint256";
353
+ readonly name: "duration";
354
+ readonly type: "uint256";
355
+ }];
356
+ readonly name: "setEarlyAccessDuration";
357
+ readonly outputs: readonly [];
358
+ readonly stateMutability: "nonpayable";
359
+ readonly type: "function";
360
+ }, {
361
+ readonly inputs: readonly [{
362
+ readonly internalType: "address";
363
+ readonly name: "tokenContract_";
364
+ readonly type: "address";
365
+ }];
366
+ readonly name: "setMintable";
367
+ readonly outputs: readonly [];
368
+ readonly stateMutability: "nonpayable";
369
+ readonly type: "function";
370
+ }, {
371
+ readonly inputs: readonly [{
372
+ readonly internalType: "uint256";
373
+ readonly name: "startPrice_";
374
+ readonly type: "uint256";
375
+ }, {
376
+ readonly components: readonly [{
377
+ readonly internalType: "uint256";
378
+ readonly name: "priceDropPerSlot";
379
+ readonly type: "uint256";
380
+ }, {
381
+ readonly internalType: "uint256";
382
+ readonly name: "endPrice";
383
+ readonly type: "uint256";
384
+ }];
385
+ readonly internalType: "struct AuctionStageConfiguration[]";
386
+ readonly name: "stages_";
387
+ readonly type: "tuple[]";
388
+ }];
389
+ readonly name: "setPricing";
390
+ readonly outputs: readonly [];
391
+ readonly stateMutability: "nonpayable";
392
+ readonly type: "function";
393
+ }, {
394
+ readonly inputs: readonly [{
395
+ readonly internalType: "uint256";
396
+ readonly name: "startTime_";
397
+ readonly type: "uint256";
398
+ }];
399
+ readonly name: "setStartTime";
400
+ readonly outputs: readonly [];
401
+ readonly stateMutability: "nonpayable";
402
+ readonly type: "function";
403
+ }, {
404
+ readonly inputs: readonly [];
405
+ readonly name: "startPrice";
406
+ readonly outputs: readonly [{
407
+ readonly internalType: "uint256";
408
+ readonly name: "";
409
+ readonly type: "uint256";
410
+ }];
411
+ readonly stateMutability: "view";
412
+ readonly type: "function";
413
+ }, {
414
+ readonly inputs: readonly [];
415
+ readonly name: "startTime";
416
+ readonly outputs: readonly [{
417
+ readonly internalType: "uint256";
418
+ readonly name: "";
419
+ readonly type: "uint256";
420
+ }];
421
+ readonly stateMutability: "view";
422
+ readonly type: "function";
423
+ }, {
424
+ readonly inputs: readonly [{
425
+ readonly internalType: "bytes4";
426
+ readonly name: "interfaceId";
427
+ readonly type: "bytes4";
428
+ }];
429
+ readonly name: "supportsInterface";
430
+ readonly outputs: readonly [{
431
+ readonly internalType: "bool";
432
+ readonly name: "";
433
+ readonly type: "bool";
434
+ }];
435
+ readonly stateMutability: "pure";
436
+ readonly type: "function";
437
+ }, {
438
+ readonly inputs: readonly [];
439
+ readonly name: "tokenContract";
440
+ readonly outputs: readonly [{
441
+ readonly internalType: "address";
442
+ readonly name: "";
443
+ readonly type: "address";
444
+ }];
445
+ readonly stateMutability: "view";
446
+ readonly type: "function";
447
+ }, {
448
+ readonly inputs: readonly [];
449
+ readonly name: "totalMintedWithDiscount";
450
+ readonly outputs: readonly [{
451
+ readonly internalType: "uint256";
452
+ readonly name: "";
453
+ readonly type: "uint256";
454
+ }];
455
+ readonly stateMutability: "view";
456
+ readonly type: "function";
457
+ }, {
458
+ readonly inputs: readonly [{
459
+ readonly internalType: "address";
460
+ readonly name: "newOwner";
461
+ readonly type: "address";
462
+ }];
463
+ readonly name: "transferOwnership";
464
+ readonly outputs: readonly [];
465
+ readonly stateMutability: "nonpayable";
466
+ readonly type: "function";
467
+ }, {
468
+ readonly inputs: readonly [];
469
+ readonly name: "unpause";
470
+ readonly outputs: readonly [];
471
+ readonly stateMutability: "nonpayable";
472
+ readonly type: "function";
473
+ }, {
474
+ readonly inputs: readonly [{
475
+ readonly internalType: "address";
476
+ readonly name: "recipient";
477
+ readonly type: "address";
478
+ }];
479
+ readonly name: "withdraw";
480
+ readonly outputs: readonly [];
481
+ readonly stateMutability: "nonpayable";
482
+ readonly type: "function";
483
+ }];
484
+ /**
485
+ * Type-safe ABI for FellowshipDutchAuction
486
+ */
487
+ export type FellowshipDutchAuctionAbi = typeof FellowshipDutchAuctionAbi;
488
+ /**
489
+ * Contract instance type for FellowshipDutchAuction
490
+ */
491
+ export type FellowshipDutchAuctionContract = any;
492
+ /**
493
+ * FellowshipDutchAuction Contract Class
494
+ *
495
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
496
+ *
497
+ * @example
498
+ * ```typescript
499
+ * import { createPublicClient, createWalletClient, http } from 'viem';
500
+ * import { mainnet } from 'viem/chains';
501
+ * import { FellowshipDutchAuction } from 'FellowshipDutchAuction';
502
+ *
503
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
504
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
505
+ *
506
+ * const contract = new FellowshipDutchAuction('0x...', { publicClient, walletClient });
507
+ *
508
+ * // Read functions
509
+ * const result = await contract.balanceOf('0x...');
510
+ *
511
+ * // Write functions
512
+ * const hash = await contract.transfer('0x...', 1000n);
513
+ *
514
+ * // Simulate transactions (dry-run)
515
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
516
+ * console.log('Gas estimate:', simulation.request.gas);
517
+ *
518
+ * // Watch events
519
+ * const unwatch = contract.watch.Transfer((event) => {
520
+ * console.log('Transfer event:', event);
521
+ * });
522
+ * ```
523
+ */
524
+ export declare class FellowshipDutchAuction {
525
+ private contract;
526
+ private contractAddress;
527
+ private publicClient;
528
+ constructor(address: Address, clients: {
529
+ publicClient: PublicClient;
530
+ walletClient?: WalletClient;
531
+ });
532
+ /**
533
+ * Get the contract address
534
+ */
535
+ get address(): Address;
536
+ /**
537
+ * Get the underlying viem contract instance.
538
+ */
539
+ getContract(): FellowshipDutchAuctionContract;
540
+ /**
541
+ * auctionStages
542
+ * view
543
+ */
544
+ auctionStages(arg0: bigint): Promise<[bigint, bigint, bigint]>;
545
+ /**
546
+ * currentPrice
547
+ * view
548
+ */
549
+ currentPrice(): Promise<bigint>;
550
+ /**
551
+ * discountsCount
552
+ * view
553
+ */
554
+ discountsCount(arg0: `0x${string}`): Promise<bigint>;
555
+ /**
556
+ * earlyAccessDuration
557
+ * view
558
+ */
559
+ earlyAccessDuration(): Promise<bigint>;
560
+ /**
561
+ * isPaused
562
+ * view
563
+ */
564
+ isPaused(): Promise<boolean>;
565
+ /**
566
+ * isPublic
567
+ * view
568
+ */
569
+ isPublic(): Promise<boolean>;
570
+ /**
571
+ * lowestPrice
572
+ * view
573
+ */
574
+ lowestPrice(): Promise<bigint>;
575
+ /**
576
+ * mintCount
577
+ * view
578
+ */
579
+ mintCount(arg0: `0x${string}`): Promise<bigint>;
580
+ /**
581
+ * mintLimit
582
+ * view
583
+ */
584
+ mintLimit(): Promise<bigint>;
585
+ /**
586
+ * mintPayment
587
+ * view
588
+ */
589
+ mintPayment(arg0: `0x${string}`): Promise<bigint>;
590
+ /**
591
+ * owner
592
+ * view
593
+ */
594
+ owner(): Promise<`0x${string}`>;
595
+ /**
596
+ * refundAvailable
597
+ * view
598
+ */
599
+ refundAvailable(minter: `0x${string}`): Promise<bigint>;
600
+ /**
601
+ * startPrice
602
+ * view
603
+ */
604
+ startPrice(): Promise<bigint>;
605
+ /**
606
+ * startTime
607
+ * view
608
+ */
609
+ startTime(): Promise<bigint>;
610
+ /**
611
+ * supportsInterface
612
+ * pure
613
+ */
614
+ supportsInterface(interfaceId: `0x${string}`): Promise<boolean>;
615
+ /**
616
+ * tokenContract
617
+ * view
618
+ */
619
+ tokenContract(): Promise<`0x${string}`>;
620
+ /**
621
+ * totalMintedWithDiscount
622
+ * view
623
+ */
624
+ totalMintedWithDiscount(): Promise<bigint>;
625
+ /**
626
+ * mintMultiple
627
+ * payable
628
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
629
+ */
630
+ mintMultiple(quantity: bigint, options?: {
631
+ accessList?: import('viem').AccessList;
632
+ authorizationList?: import('viem').AuthorizationList;
633
+ chain?: import('viem').Chain | null;
634
+ dataSuffix?: `0x${string}`;
635
+ gas?: bigint;
636
+ gasPrice?: bigint;
637
+ maxFeePerGas?: bigint;
638
+ maxPriorityFeePerGas?: bigint;
639
+ nonce?: number;
640
+ value?: bigint;
641
+ }): Promise<`0x${string}`>;
642
+ /**
643
+ * pause
644
+ * nonpayable
645
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
646
+ */
647
+ pause(options?: {
648
+ accessList?: import('viem').AccessList;
649
+ authorizationList?: import('viem').AuthorizationList;
650
+ chain?: import('viem').Chain | null;
651
+ dataSuffix?: `0x${string}`;
652
+ gas?: bigint;
653
+ gasPrice?: bigint;
654
+ maxFeePerGas?: bigint;
655
+ maxPriorityFeePerGas?: bigint;
656
+ nonce?: number;
657
+ value?: bigint;
658
+ }): Promise<`0x${string}`>;
659
+ /**
660
+ * refund
661
+ * nonpayable
662
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
663
+ */
664
+ refund(options?: {
665
+ accessList?: import('viem').AccessList;
666
+ authorizationList?: import('viem').AuthorizationList;
667
+ chain?: import('viem').Chain | null;
668
+ dataSuffix?: `0x${string}`;
669
+ gas?: bigint;
670
+ gasPrice?: bigint;
671
+ maxFeePerGas?: bigint;
672
+ maxPriorityFeePerGas?: bigint;
673
+ nonce?: number;
674
+ value?: bigint;
675
+ }): Promise<`0x${string}`>;
676
+ /**
677
+ * renounceOwnership
678
+ * nonpayable
679
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
680
+ */
681
+ renounceOwnership(options?: {
682
+ accessList?: import('viem').AccessList;
683
+ authorizationList?: import('viem').AuthorizationList;
684
+ chain?: import('viem').Chain | null;
685
+ dataSuffix?: `0x${string}`;
686
+ gas?: bigint;
687
+ gasPrice?: bigint;
688
+ maxFeePerGas?: bigint;
689
+ maxPriorityFeePerGas?: bigint;
690
+ nonce?: number;
691
+ value?: bigint;
692
+ }): Promise<`0x${string}`>;
693
+ /**
694
+ * setEarlyAccessDuration
695
+ * nonpayable
696
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
697
+ */
698
+ setEarlyAccessDuration(duration: bigint, options?: {
699
+ accessList?: import('viem').AccessList;
700
+ authorizationList?: import('viem').AuthorizationList;
701
+ chain?: import('viem').Chain | null;
702
+ dataSuffix?: `0x${string}`;
703
+ gas?: bigint;
704
+ gasPrice?: bigint;
705
+ maxFeePerGas?: bigint;
706
+ maxPriorityFeePerGas?: bigint;
707
+ nonce?: number;
708
+ value?: bigint;
709
+ }): Promise<`0x${string}`>;
710
+ /**
711
+ * setMintable
712
+ * nonpayable
713
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
714
+ */
715
+ setMintable(tokenContract_: `0x${string}`, options?: {
716
+ accessList?: import('viem').AccessList;
717
+ authorizationList?: import('viem').AuthorizationList;
718
+ chain?: import('viem').Chain | null;
719
+ dataSuffix?: `0x${string}`;
720
+ gas?: bigint;
721
+ gasPrice?: bigint;
722
+ maxFeePerGas?: bigint;
723
+ maxPriorityFeePerGas?: bigint;
724
+ nonce?: number;
725
+ value?: bigint;
726
+ }): Promise<`0x${string}`>;
727
+ /**
728
+ * setPricing
729
+ * nonpayable
730
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
731
+ */
732
+ setPricing(startPrice_: bigint, stages_: AuctionStageConfiguration[], options?: {
733
+ accessList?: import('viem').AccessList;
734
+ authorizationList?: import('viem').AuthorizationList;
735
+ chain?: import('viem').Chain | null;
736
+ dataSuffix?: `0x${string}`;
737
+ gas?: bigint;
738
+ gasPrice?: bigint;
739
+ maxFeePerGas?: bigint;
740
+ maxPriorityFeePerGas?: bigint;
741
+ nonce?: number;
742
+ value?: bigint;
743
+ }): Promise<`0x${string}`>;
744
+ /**
745
+ * setStartTime
746
+ * nonpayable
747
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
748
+ */
749
+ setStartTime(startTime_: bigint, options?: {
750
+ accessList?: import('viem').AccessList;
751
+ authorizationList?: import('viem').AuthorizationList;
752
+ chain?: import('viem').Chain | null;
753
+ dataSuffix?: `0x${string}`;
754
+ gas?: bigint;
755
+ gasPrice?: bigint;
756
+ maxFeePerGas?: bigint;
757
+ maxPriorityFeePerGas?: bigint;
758
+ nonce?: number;
759
+ value?: bigint;
760
+ }): Promise<`0x${string}`>;
761
+ /**
762
+ * transferOwnership
763
+ * nonpayable
764
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
765
+ */
766
+ transferOwnership(newOwner: `0x${string}`, options?: {
767
+ accessList?: import('viem').AccessList;
768
+ authorizationList?: import('viem').AuthorizationList;
769
+ chain?: import('viem').Chain | null;
770
+ dataSuffix?: `0x${string}`;
771
+ gas?: bigint;
772
+ gasPrice?: bigint;
773
+ maxFeePerGas?: bigint;
774
+ maxPriorityFeePerGas?: bigint;
775
+ nonce?: number;
776
+ value?: bigint;
777
+ }): Promise<`0x${string}`>;
778
+ /**
779
+ * unpause
780
+ * nonpayable
781
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
782
+ */
783
+ unpause(options?: {
784
+ accessList?: import('viem').AccessList;
785
+ authorizationList?: import('viem').AuthorizationList;
786
+ chain?: import('viem').Chain | null;
787
+ dataSuffix?: `0x${string}`;
788
+ gas?: bigint;
789
+ gasPrice?: bigint;
790
+ maxFeePerGas?: bigint;
791
+ maxPriorityFeePerGas?: bigint;
792
+ nonce?: number;
793
+ value?: bigint;
794
+ }): Promise<`0x${string}`>;
795
+ /**
796
+ * withdraw
797
+ * nonpayable
798
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
799
+ */
800
+ withdraw(recipient: `0x${string}`, options?: {
801
+ accessList?: import('viem').AccessList;
802
+ authorizationList?: import('viem').AuthorizationList;
803
+ chain?: import('viem').Chain | null;
804
+ dataSuffix?: `0x${string}`;
805
+ gas?: bigint;
806
+ gasPrice?: bigint;
807
+ maxFeePerGas?: bigint;
808
+ maxPriorityFeePerGas?: bigint;
809
+ nonce?: number;
810
+ value?: bigint;
811
+ }): Promise<`0x${string}`>;
812
+ /**
813
+ * Simulate contract write operations (dry-run without sending transaction)
814
+ *
815
+ * @example
816
+ * const result = await contract.simulate.transfer('0x...', 1000n);
817
+ * console.log('Gas estimate:', result.request.gas);
818
+ * console.log('Would succeed:', result.result);
819
+ */
820
+ get simulate(): {
821
+ /**
822
+ * Simulate mintMultiple
823
+ * Returns gas estimate and result without sending transaction
824
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
825
+ */
826
+ mintMultiple(quantity: bigint, options?: {
827
+ accessList?: import("viem").AccessList;
828
+ authorizationList?: import("viem").AuthorizationList;
829
+ chain?: import("viem").Chain | null;
830
+ dataSuffix?: `0x${string}`;
831
+ gas?: bigint;
832
+ gasPrice?: bigint;
833
+ maxFeePerGas?: bigint;
834
+ maxPriorityFeePerGas?: bigint;
835
+ nonce?: number;
836
+ value?: bigint;
837
+ }): Promise<void>;
838
+ /**
839
+ * Simulate pause
840
+ * Returns gas estimate and result without sending transaction
841
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
842
+ */
843
+ pause(options?: {
844
+ accessList?: import("viem").AccessList;
845
+ authorizationList?: import("viem").AuthorizationList;
846
+ chain?: import("viem").Chain | null;
847
+ dataSuffix?: `0x${string}`;
848
+ gas?: bigint;
849
+ gasPrice?: bigint;
850
+ maxFeePerGas?: bigint;
851
+ maxPriorityFeePerGas?: bigint;
852
+ nonce?: number;
853
+ value?: bigint;
854
+ }): Promise<void>;
855
+ /**
856
+ * Simulate refund
857
+ * Returns gas estimate and result without sending transaction
858
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
859
+ */
860
+ refund(options?: {
861
+ accessList?: import("viem").AccessList;
862
+ authorizationList?: import("viem").AuthorizationList;
863
+ chain?: import("viem").Chain | null;
864
+ dataSuffix?: `0x${string}`;
865
+ gas?: bigint;
866
+ gasPrice?: bigint;
867
+ maxFeePerGas?: bigint;
868
+ maxPriorityFeePerGas?: bigint;
869
+ nonce?: number;
870
+ value?: bigint;
871
+ }): Promise<bigint>;
872
+ /**
873
+ * Simulate renounceOwnership
874
+ * Returns gas estimate and result without sending transaction
875
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
876
+ */
877
+ renounceOwnership(options?: {
878
+ accessList?: import("viem").AccessList;
879
+ authorizationList?: import("viem").AuthorizationList;
880
+ chain?: import("viem").Chain | null;
881
+ dataSuffix?: `0x${string}`;
882
+ gas?: bigint;
883
+ gasPrice?: bigint;
884
+ maxFeePerGas?: bigint;
885
+ maxPriorityFeePerGas?: bigint;
886
+ nonce?: number;
887
+ value?: bigint;
888
+ }): Promise<void>;
889
+ /**
890
+ * Simulate setEarlyAccessDuration
891
+ * Returns gas estimate and result without sending transaction
892
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
893
+ */
894
+ setEarlyAccessDuration(duration: bigint, options?: {
895
+ accessList?: import("viem").AccessList;
896
+ authorizationList?: import("viem").AuthorizationList;
897
+ chain?: import("viem").Chain | null;
898
+ dataSuffix?: `0x${string}`;
899
+ gas?: bigint;
900
+ gasPrice?: bigint;
901
+ maxFeePerGas?: bigint;
902
+ maxPriorityFeePerGas?: bigint;
903
+ nonce?: number;
904
+ value?: bigint;
905
+ }): Promise<void>;
906
+ /**
907
+ * Simulate setMintable
908
+ * Returns gas estimate and result without sending transaction
909
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
910
+ */
911
+ setMintable(tokenContract_: `0x${string}`, options?: {
912
+ accessList?: import("viem").AccessList;
913
+ authorizationList?: import("viem").AuthorizationList;
914
+ chain?: import("viem").Chain | null;
915
+ dataSuffix?: `0x${string}`;
916
+ gas?: bigint;
917
+ gasPrice?: bigint;
918
+ maxFeePerGas?: bigint;
919
+ maxPriorityFeePerGas?: bigint;
920
+ nonce?: number;
921
+ value?: bigint;
922
+ }): Promise<void>;
923
+ /**
924
+ * Simulate setPricing
925
+ * Returns gas estimate and result without sending transaction
926
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
927
+ */
928
+ setPricing(startPrice_: bigint, stages_: AuctionStageConfiguration[], options?: {
929
+ accessList?: import("viem").AccessList;
930
+ authorizationList?: import("viem").AuthorizationList;
931
+ chain?: import("viem").Chain | null;
932
+ dataSuffix?: `0x${string}`;
933
+ gas?: bigint;
934
+ gasPrice?: bigint;
935
+ maxFeePerGas?: bigint;
936
+ maxPriorityFeePerGas?: bigint;
937
+ nonce?: number;
938
+ value?: bigint;
939
+ }): Promise<void>;
940
+ /**
941
+ * Simulate setStartTime
942
+ * Returns gas estimate and result without sending transaction
943
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
944
+ */
945
+ setStartTime(startTime_: bigint, options?: {
946
+ accessList?: import("viem").AccessList;
947
+ authorizationList?: import("viem").AuthorizationList;
948
+ chain?: import("viem").Chain | null;
949
+ dataSuffix?: `0x${string}`;
950
+ gas?: bigint;
951
+ gasPrice?: bigint;
952
+ maxFeePerGas?: bigint;
953
+ maxPriorityFeePerGas?: bigint;
954
+ nonce?: number;
955
+ value?: bigint;
956
+ }): Promise<void>;
957
+ /**
958
+ * Simulate transferOwnership
959
+ * Returns gas estimate and result without sending transaction
960
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
961
+ */
962
+ transferOwnership(newOwner: `0x${string}`, options?: {
963
+ accessList?: import("viem").AccessList;
964
+ authorizationList?: import("viem").AuthorizationList;
965
+ chain?: import("viem").Chain | null;
966
+ dataSuffix?: `0x${string}`;
967
+ gas?: bigint;
968
+ gasPrice?: bigint;
969
+ maxFeePerGas?: bigint;
970
+ maxPriorityFeePerGas?: bigint;
971
+ nonce?: number;
972
+ value?: bigint;
973
+ }): Promise<void>;
974
+ /**
975
+ * Simulate unpause
976
+ * Returns gas estimate and result without sending transaction
977
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
978
+ */
979
+ unpause(options?: {
980
+ accessList?: import("viem").AccessList;
981
+ authorizationList?: import("viem").AuthorizationList;
982
+ chain?: import("viem").Chain | null;
983
+ dataSuffix?: `0x${string}`;
984
+ gas?: bigint;
985
+ gasPrice?: bigint;
986
+ maxFeePerGas?: bigint;
987
+ maxPriorityFeePerGas?: bigint;
988
+ nonce?: number;
989
+ value?: bigint;
990
+ }): Promise<void>;
991
+ /**
992
+ * Simulate withdraw
993
+ * Returns gas estimate and result without sending transaction
994
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
995
+ */
996
+ withdraw(recipient: `0x${string}`, options?: {
997
+ accessList?: import("viem").AccessList;
998
+ authorizationList?: import("viem").AuthorizationList;
999
+ chain?: import("viem").Chain | null;
1000
+ dataSuffix?: `0x${string}`;
1001
+ gas?: bigint;
1002
+ gasPrice?: bigint;
1003
+ maxFeePerGas?: bigint;
1004
+ maxPriorityFeePerGas?: bigint;
1005
+ nonce?: number;
1006
+ value?: bigint;
1007
+ }): Promise<void>;
1008
+ };
1009
+ /**
1010
+ * Watch contract events
1011
+ *
1012
+ * @example
1013
+ * // Watch all Transfer events
1014
+ * const unwatch = contract.watch.Transfer((event) => {
1015
+ * console.log('Transfer:', event);
1016
+ * });
1017
+ *
1018
+ * // Stop watching
1019
+ * unwatch();
1020
+ */
1021
+ get watch(): {
1022
+ /**
1023
+ * Watch OwnershipTransferred events
1024
+ * @param callback Function to call when event is emitted
1025
+ * @param filter Optional filter for indexed parameters
1026
+ * @returns Unwatch function to stop listening
1027
+ */
1028
+ OwnershipTransferred: (callback: (event: {
1029
+ previousOwner: `0x${string}`;
1030
+ newOwner: `0x${string}`;
1031
+ }) => void, filter?: {
1032
+ previousOwner?: `0x${string}` | `0x${string}`[] | null;
1033
+ newOwner?: `0x${string}` | `0x${string}`[] | null;
1034
+ }) => () => void;
1035
+ /**
1036
+ * Watch Paused events
1037
+ * @param callback Function to call when event is emitted
1038
+ * @param filter Optional filter for indexed parameters
1039
+ * @returns Unwatch function to stop listening
1040
+ */
1041
+ Paused: (callback: (event: {}) => void) => () => void;
1042
+ /**
1043
+ * Watch Purchase events
1044
+ * @param callback Function to call when event is emitted
1045
+ * @param filter Optional filter for indexed parameters
1046
+ * @returns Unwatch function to stop listening
1047
+ */
1048
+ Purchase: (callback: (event: {
1049
+ purchaser: `0x${string}`;
1050
+ tokenId: bigint;
1051
+ price: bigint;
1052
+ }) => void) => () => void;
1053
+ /**
1054
+ * Watch Refund events
1055
+ * @param callback Function to call when event is emitted
1056
+ * @param filter Optional filter for indexed parameters
1057
+ * @returns Unwatch function to stop listening
1058
+ */
1059
+ Refund: (callback: (event: {
1060
+ recipient: `0x${string}`;
1061
+ amount: bigint;
1062
+ }) => void) => () => void;
1063
+ /**
1064
+ * Watch Reservation events
1065
+ * @param callback Function to call when event is emitted
1066
+ * @param filter Optional filter for indexed parameters
1067
+ * @returns Unwatch function to stop listening
1068
+ */
1069
+ Reservation: (callback: (event: {
1070
+ recipient: `0x${string}`;
1071
+ quantity: bigint;
1072
+ totalReserved: bigint;
1073
+ }) => void) => () => void;
1074
+ /**
1075
+ * Watch Unpaused events
1076
+ * @param callback Function to call when event is emitted
1077
+ * @param filter Optional filter for indexed parameters
1078
+ * @returns Unwatch function to stop listening
1079
+ */
1080
+ Unpaused: (callback: (event: {}) => void) => () => void;
1081
+ };
1082
+ }