@gitmyabi/ckc 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,2545 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * CKCMembershipV3_json ABI
4
+ *
5
+ * This ABI is typed using viem's type system for full type safety.
6
+ */
7
+ export declare const CKCMembershipV3_jsonAbi: readonly [{
8
+ readonly inputs: readonly [{
9
+ readonly internalType: "address";
10
+ readonly name: "_gstWallet";
11
+ readonly type: "address";
12
+ }, {
13
+ readonly internalType: "address";
14
+ readonly name: "_tcgWallet";
15
+ readonly type: "address";
16
+ }, {
17
+ readonly internalType: "address";
18
+ readonly name: "_contributor1Wallet";
19
+ readonly type: "address";
20
+ }, {
21
+ readonly internalType: "address";
22
+ readonly name: "_contributor2Wallet";
23
+ readonly type: "address";
24
+ }, {
25
+ readonly internalType: "address";
26
+ readonly name: "_devWallet";
27
+ readonly type: "address";
28
+ }];
29
+ readonly stateMutability: "nonpayable";
30
+ readonly type: "constructor";
31
+ }, {
32
+ readonly inputs: readonly [{
33
+ readonly internalType: "address";
34
+ readonly name: "sender";
35
+ readonly type: "address";
36
+ }, {
37
+ readonly internalType: "uint256";
38
+ readonly name: "tokenId";
39
+ readonly type: "uint256";
40
+ }, {
41
+ readonly internalType: "address";
42
+ readonly name: "owner";
43
+ readonly type: "address";
44
+ }];
45
+ readonly name: "ERC721IncorrectOwner";
46
+ readonly type: "error";
47
+ }, {
48
+ readonly inputs: readonly [{
49
+ readonly internalType: "address";
50
+ readonly name: "operator";
51
+ readonly type: "address";
52
+ }, {
53
+ readonly internalType: "uint256";
54
+ readonly name: "tokenId";
55
+ readonly type: "uint256";
56
+ }];
57
+ readonly name: "ERC721InsufficientApproval";
58
+ readonly type: "error";
59
+ }, {
60
+ readonly inputs: readonly [{
61
+ readonly internalType: "address";
62
+ readonly name: "approver";
63
+ readonly type: "address";
64
+ }];
65
+ readonly name: "ERC721InvalidApprover";
66
+ readonly type: "error";
67
+ }, {
68
+ readonly inputs: readonly [{
69
+ readonly internalType: "address";
70
+ readonly name: "operator";
71
+ readonly type: "address";
72
+ }];
73
+ readonly name: "ERC721InvalidOperator";
74
+ readonly type: "error";
75
+ }, {
76
+ readonly inputs: readonly [{
77
+ readonly internalType: "address";
78
+ readonly name: "owner";
79
+ readonly type: "address";
80
+ }];
81
+ readonly name: "ERC721InvalidOwner";
82
+ readonly type: "error";
83
+ }, {
84
+ readonly inputs: readonly [{
85
+ readonly internalType: "address";
86
+ readonly name: "receiver";
87
+ readonly type: "address";
88
+ }];
89
+ readonly name: "ERC721InvalidReceiver";
90
+ readonly type: "error";
91
+ }, {
92
+ readonly inputs: readonly [{
93
+ readonly internalType: "address";
94
+ readonly name: "sender";
95
+ readonly type: "address";
96
+ }];
97
+ readonly name: "ERC721InvalidSender";
98
+ readonly type: "error";
99
+ }, {
100
+ readonly inputs: readonly [{
101
+ readonly internalType: "uint256";
102
+ readonly name: "tokenId";
103
+ readonly type: "uint256";
104
+ }];
105
+ readonly name: "ERC721NonexistentToken";
106
+ readonly type: "error";
107
+ }, {
108
+ readonly inputs: readonly [];
109
+ readonly name: "EnforcedPause";
110
+ readonly type: "error";
111
+ }, {
112
+ readonly inputs: readonly [];
113
+ readonly name: "ExpectedPause";
114
+ readonly type: "error";
115
+ }, {
116
+ readonly inputs: readonly [{
117
+ readonly internalType: "address";
118
+ readonly name: "owner";
119
+ readonly type: "address";
120
+ }];
121
+ readonly name: "OwnableInvalidOwner";
122
+ readonly type: "error";
123
+ }, {
124
+ readonly inputs: readonly [{
125
+ readonly internalType: "address";
126
+ readonly name: "account";
127
+ readonly type: "address";
128
+ }];
129
+ readonly name: "OwnableUnauthorizedAccount";
130
+ readonly type: "error";
131
+ }, {
132
+ readonly inputs: readonly [];
133
+ readonly name: "ReentrancyGuardReentrantCall";
134
+ readonly type: "error";
135
+ }, {
136
+ readonly anonymous: false;
137
+ readonly inputs: readonly [{
138
+ readonly indexed: true;
139
+ readonly internalType: "address";
140
+ readonly name: "owner";
141
+ readonly type: "address";
142
+ }, {
143
+ readonly indexed: true;
144
+ readonly internalType: "address";
145
+ readonly name: "approved";
146
+ readonly type: "address";
147
+ }, {
148
+ readonly indexed: true;
149
+ readonly internalType: "uint256";
150
+ readonly name: "tokenId";
151
+ readonly type: "uint256";
152
+ }];
153
+ readonly name: "Approval";
154
+ readonly type: "event";
155
+ }, {
156
+ readonly anonymous: false;
157
+ readonly inputs: readonly [{
158
+ readonly indexed: true;
159
+ readonly internalType: "address";
160
+ readonly name: "owner";
161
+ readonly type: "address";
162
+ }, {
163
+ readonly indexed: true;
164
+ readonly internalType: "address";
165
+ readonly name: "operator";
166
+ readonly type: "address";
167
+ }, {
168
+ readonly indexed: false;
169
+ readonly internalType: "bool";
170
+ readonly name: "approved";
171
+ readonly type: "bool";
172
+ }];
173
+ readonly name: "ApprovalForAll";
174
+ readonly type: "event";
175
+ }, {
176
+ readonly anonymous: false;
177
+ readonly inputs: readonly [{
178
+ readonly indexed: false;
179
+ readonly internalType: "string";
180
+ readonly name: "newBaseURI";
181
+ readonly type: "string";
182
+ }];
183
+ readonly name: "BaseTokenURIUpdated";
184
+ readonly type: "event";
185
+ }, {
186
+ readonly anonymous: false;
187
+ readonly inputs: readonly [{
188
+ readonly indexed: false;
189
+ readonly internalType: "uint256";
190
+ readonly name: "_fromTokenId";
191
+ readonly type: "uint256";
192
+ }, {
193
+ readonly indexed: false;
194
+ readonly internalType: "uint256";
195
+ readonly name: "_toTokenId";
196
+ readonly type: "uint256";
197
+ }];
198
+ readonly name: "BatchMetadataUpdate";
199
+ readonly type: "event";
200
+ }, {
201
+ readonly anonymous: false;
202
+ readonly inputs: readonly [{
203
+ readonly indexed: true;
204
+ readonly internalType: "address";
205
+ readonly name: "oldWallet";
206
+ readonly type: "address";
207
+ }, {
208
+ readonly indexed: true;
209
+ readonly internalType: "address";
210
+ readonly name: "newWallet";
211
+ readonly type: "address";
212
+ }];
213
+ readonly name: "Contributor1WalletUpdated";
214
+ readonly type: "event";
215
+ }, {
216
+ readonly anonymous: false;
217
+ readonly inputs: readonly [{
218
+ readonly indexed: true;
219
+ readonly internalType: "address";
220
+ readonly name: "oldWallet";
221
+ readonly type: "address";
222
+ }, {
223
+ readonly indexed: true;
224
+ readonly internalType: "address";
225
+ readonly name: "newWallet";
226
+ readonly type: "address";
227
+ }];
228
+ readonly name: "Contributor2WalletUpdated";
229
+ readonly type: "event";
230
+ }, {
231
+ readonly anonymous: false;
232
+ readonly inputs: readonly [{
233
+ readonly indexed: true;
234
+ readonly internalType: "address";
235
+ readonly name: "oldWallet";
236
+ readonly type: "address";
237
+ }, {
238
+ readonly indexed: true;
239
+ readonly internalType: "address";
240
+ readonly name: "newWallet";
241
+ readonly type: "address";
242
+ }];
243
+ readonly name: "DevWalletUpdated";
244
+ readonly type: "event";
245
+ }, {
246
+ readonly anonymous: false;
247
+ readonly inputs: readonly [{
248
+ readonly indexed: true;
249
+ readonly internalType: "address";
250
+ readonly name: "minter";
251
+ readonly type: "address";
252
+ }, {
253
+ readonly indexed: true;
254
+ readonly internalType: "uint256";
255
+ readonly name: "tokenId";
256
+ readonly type: "uint256";
257
+ }];
258
+ readonly name: "FreeMembershipMinted";
259
+ readonly type: "event";
260
+ }, {
261
+ readonly anonymous: false;
262
+ readonly inputs: readonly [{
263
+ readonly indexed: false;
264
+ readonly internalType: "uint256";
265
+ readonly name: "newRate";
266
+ readonly type: "uint256";
267
+ }];
268
+ readonly name: "GSTRateUpdated";
269
+ readonly type: "event";
270
+ }, {
271
+ readonly anonymous: false;
272
+ readonly inputs: readonly [{
273
+ readonly indexed: true;
274
+ readonly internalType: "address";
275
+ readonly name: "oldWallet";
276
+ readonly type: "address";
277
+ }, {
278
+ readonly indexed: true;
279
+ readonly internalType: "address";
280
+ readonly name: "newWallet";
281
+ readonly type: "address";
282
+ }];
283
+ readonly name: "GSTWalletUpdated";
284
+ readonly type: "event";
285
+ }, {
286
+ readonly anonymous: false;
287
+ readonly inputs: readonly [{
288
+ readonly indexed: true;
289
+ readonly internalType: "address";
290
+ readonly name: "payer";
291
+ readonly type: "address";
292
+ }, {
293
+ readonly indexed: false;
294
+ readonly internalType: "uint256";
295
+ readonly name: "gstAmount";
296
+ readonly type: "uint256";
297
+ }];
298
+ readonly name: "GST_Collected";
299
+ readonly type: "event";
300
+ }, {
301
+ readonly anonymous: false;
302
+ readonly inputs: readonly [{
303
+ readonly indexed: false;
304
+ readonly internalType: "uint256";
305
+ readonly name: "newMax";
306
+ readonly type: "uint256";
307
+ }];
308
+ readonly name: "MaxMintsUpdated";
309
+ readonly type: "event";
310
+ }, {
311
+ readonly anonymous: false;
312
+ readonly inputs: readonly [{
313
+ readonly indexed: true;
314
+ readonly internalType: "address";
315
+ readonly name: "minter";
316
+ readonly type: "address";
317
+ }, {
318
+ readonly indexed: true;
319
+ readonly internalType: "uint256";
320
+ readonly name: "tokenId";
321
+ readonly type: "uint256";
322
+ }, {
323
+ readonly indexed: false;
324
+ readonly internalType: "uint256";
325
+ readonly name: "totalPaid";
326
+ readonly type: "uint256";
327
+ }, {
328
+ readonly indexed: false;
329
+ readonly internalType: "uint256";
330
+ readonly name: "gstAmount";
331
+ readonly type: "uint256";
332
+ }, {
333
+ readonly indexed: false;
334
+ readonly internalType: "bool";
335
+ readonly name: "isAustralian";
336
+ readonly type: "bool";
337
+ }];
338
+ readonly name: "MembershipMinted";
339
+ readonly type: "event";
340
+ }, {
341
+ readonly anonymous: false;
342
+ readonly inputs: readonly [{
343
+ readonly indexed: false;
344
+ readonly internalType: "uint256";
345
+ readonly name: "_tokenId";
346
+ readonly type: "uint256";
347
+ }];
348
+ readonly name: "MetadataUpdate";
349
+ readonly type: "event";
350
+ }, {
351
+ readonly anonymous: false;
352
+ readonly inputs: readonly [{
353
+ readonly indexed: true;
354
+ readonly internalType: "address";
355
+ readonly name: "previousOwner";
356
+ readonly type: "address";
357
+ }, {
358
+ readonly indexed: true;
359
+ readonly internalType: "address";
360
+ readonly name: "newOwner";
361
+ readonly type: "address";
362
+ }];
363
+ readonly name: "OwnershipTransferStarted";
364
+ readonly type: "event";
365
+ }, {
366
+ readonly anonymous: false;
367
+ readonly inputs: readonly [{
368
+ readonly indexed: true;
369
+ readonly internalType: "address";
370
+ readonly name: "previousOwner";
371
+ readonly type: "address";
372
+ }, {
373
+ readonly indexed: true;
374
+ readonly internalType: "address";
375
+ readonly name: "newOwner";
376
+ readonly type: "address";
377
+ }];
378
+ readonly name: "OwnershipTransferred";
379
+ readonly type: "event";
380
+ }, {
381
+ readonly anonymous: false;
382
+ readonly inputs: readonly [{
383
+ readonly indexed: false;
384
+ readonly internalType: "address";
385
+ readonly name: "account";
386
+ readonly type: "address";
387
+ }];
388
+ readonly name: "Paused";
389
+ readonly type: "event";
390
+ }, {
391
+ readonly anonymous: false;
392
+ readonly inputs: readonly [{
393
+ readonly indexed: false;
394
+ readonly internalType: "uint256";
395
+ readonly name: "newPriceETH";
396
+ readonly type: "uint256";
397
+ }];
398
+ readonly name: "PriceUpdated";
399
+ readonly type: "event";
400
+ }, {
401
+ readonly anonymous: false;
402
+ readonly inputs: readonly [{
403
+ readonly indexed: true;
404
+ readonly internalType: "address";
405
+ readonly name: "oldWallet";
406
+ readonly type: "address";
407
+ }, {
408
+ readonly indexed: true;
409
+ readonly internalType: "address";
410
+ readonly name: "newWallet";
411
+ readonly type: "address";
412
+ }];
413
+ readonly name: "TCGWalletUpdated";
414
+ readonly type: "event";
415
+ }, {
416
+ readonly anonymous: false;
417
+ readonly inputs: readonly [{
418
+ readonly indexed: true;
419
+ readonly internalType: "address";
420
+ readonly name: "from";
421
+ readonly type: "address";
422
+ }, {
423
+ readonly indexed: true;
424
+ readonly internalType: "address";
425
+ readonly name: "to";
426
+ readonly type: "address";
427
+ }, {
428
+ readonly indexed: true;
429
+ readonly internalType: "uint256";
430
+ readonly name: "tokenId";
431
+ readonly type: "uint256";
432
+ }];
433
+ readonly name: "Transfer";
434
+ readonly type: "event";
435
+ }, {
436
+ readonly anonymous: false;
437
+ readonly inputs: readonly [{
438
+ readonly indexed: false;
439
+ readonly internalType: "address";
440
+ readonly name: "account";
441
+ readonly type: "address";
442
+ }];
443
+ readonly name: "Unpaused";
444
+ readonly type: "event";
445
+ }, {
446
+ readonly anonymous: false;
447
+ readonly inputs: readonly [{
448
+ readonly indexed: true;
449
+ readonly internalType: "address";
450
+ readonly name: "user";
451
+ readonly type: "address";
452
+ }];
453
+ readonly name: "WhitelistAdded";
454
+ readonly type: "event";
455
+ }, {
456
+ readonly anonymous: false;
457
+ readonly inputs: readonly [{
458
+ readonly indexed: true;
459
+ readonly internalType: "address";
460
+ readonly name: "user";
461
+ readonly type: "address";
462
+ }];
463
+ readonly name: "WhitelistRemoved";
464
+ readonly type: "event";
465
+ }, {
466
+ readonly anonymous: false;
467
+ readonly inputs: readonly [{
468
+ readonly indexed: true;
469
+ readonly internalType: "address";
470
+ readonly name: "recipient";
471
+ readonly type: "address";
472
+ }, {
473
+ readonly indexed: false;
474
+ readonly internalType: "uint256";
475
+ readonly name: "amount";
476
+ readonly type: "uint256";
477
+ }];
478
+ readonly name: "Withdrawal";
479
+ readonly type: "event";
480
+ }, {
481
+ readonly inputs: readonly [];
482
+ readonly name: "CONTRIBUTOR1_SHARE";
483
+ readonly outputs: readonly [{
484
+ readonly internalType: "uint256";
485
+ readonly name: "";
486
+ readonly type: "uint256";
487
+ }];
488
+ readonly stateMutability: "view";
489
+ readonly type: "function";
490
+ }, {
491
+ readonly inputs: readonly [];
492
+ readonly name: "CONTRIBUTOR2_SHARE";
493
+ readonly outputs: readonly [{
494
+ readonly internalType: "uint256";
495
+ readonly name: "";
496
+ readonly type: "uint256";
497
+ }];
498
+ readonly stateMutability: "view";
499
+ readonly type: "function";
500
+ }, {
501
+ readonly inputs: readonly [];
502
+ readonly name: "FREE_MEMBERSHIPS";
503
+ readonly outputs: readonly [{
504
+ readonly internalType: "uint256";
505
+ readonly name: "";
506
+ readonly type: "uint256";
507
+ }];
508
+ readonly stateMutability: "view";
509
+ readonly type: "function";
510
+ }, {
511
+ readonly inputs: readonly [];
512
+ readonly name: "MAX_GST_RATE";
513
+ readonly outputs: readonly [{
514
+ readonly internalType: "uint256";
515
+ readonly name: "";
516
+ readonly type: "uint256";
517
+ }];
518
+ readonly stateMutability: "view";
519
+ readonly type: "function";
520
+ }, {
521
+ readonly inputs: readonly [];
522
+ readonly name: "MAX_SUPPLY";
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 name: "MAX_WHITELIST_BATCH";
533
+ readonly outputs: readonly [{
534
+ readonly internalType: "uint256";
535
+ readonly name: "";
536
+ readonly type: "uint256";
537
+ }];
538
+ readonly stateMutability: "view";
539
+ readonly type: "function";
540
+ }, {
541
+ readonly inputs: readonly [];
542
+ readonly name: "TCG_SHARE";
543
+ readonly outputs: readonly [{
544
+ readonly internalType: "uint256";
545
+ readonly name: "";
546
+ readonly type: "uint256";
547
+ }];
548
+ readonly stateMutability: "view";
549
+ readonly type: "function";
550
+ }, {
551
+ readonly inputs: readonly [];
552
+ readonly name: "acceptOwnership";
553
+ readonly outputs: readonly [];
554
+ readonly stateMutability: "nonpayable";
555
+ readonly type: "function";
556
+ }, {
557
+ readonly inputs: readonly [{
558
+ readonly internalType: "address[]";
559
+ readonly name: "addresses";
560
+ readonly type: "address[]";
561
+ }];
562
+ readonly name: "addToWhitelist";
563
+ readonly outputs: readonly [];
564
+ readonly stateMutability: "nonpayable";
565
+ readonly type: "function";
566
+ }, {
567
+ readonly inputs: readonly [{
568
+ readonly internalType: "address";
569
+ readonly name: "to";
570
+ readonly type: "address";
571
+ }, {
572
+ readonly internalType: "uint256";
573
+ readonly name: "tokenId";
574
+ readonly type: "uint256";
575
+ }];
576
+ readonly name: "approve";
577
+ readonly outputs: readonly [];
578
+ readonly stateMutability: "nonpayable";
579
+ readonly type: "function";
580
+ }, {
581
+ readonly inputs: readonly [{
582
+ readonly internalType: "address";
583
+ readonly name: "owner";
584
+ readonly type: "address";
585
+ }];
586
+ readonly name: "balanceOf";
587
+ readonly outputs: readonly [{
588
+ readonly internalType: "uint256";
589
+ readonly name: "";
590
+ readonly type: "uint256";
591
+ }];
592
+ readonly stateMutability: "view";
593
+ readonly type: "function";
594
+ }, {
595
+ readonly inputs: readonly [];
596
+ readonly name: "baseTokenURI";
597
+ readonly outputs: readonly [{
598
+ readonly internalType: "string";
599
+ readonly name: "";
600
+ readonly type: "string";
601
+ }];
602
+ readonly stateMutability: "view";
603
+ readonly type: "function";
604
+ }, {
605
+ readonly inputs: readonly [{
606
+ readonly internalType: "bool";
607
+ readonly name: "isNonAustralian";
608
+ readonly type: "bool";
609
+ }];
610
+ readonly name: "calculatePaymentBreakdown";
611
+ readonly outputs: readonly [{
612
+ readonly internalType: "uint256";
613
+ readonly name: "gstAmount";
614
+ readonly type: "uint256";
615
+ }, {
616
+ readonly internalType: "uint256";
617
+ readonly name: "tcgAmount";
618
+ readonly type: "uint256";
619
+ }, {
620
+ readonly internalType: "uint256";
621
+ readonly name: "contributor1Amount";
622
+ readonly type: "uint256";
623
+ }, {
624
+ readonly internalType: "uint256";
625
+ readonly name: "contributor2Amount";
626
+ readonly type: "uint256";
627
+ }, {
628
+ readonly internalType: "uint256";
629
+ readonly name: "devAmount";
630
+ readonly type: "uint256";
631
+ }, {
632
+ readonly internalType: "uint256";
633
+ readonly name: "totalPayment";
634
+ readonly type: "uint256";
635
+ }];
636
+ readonly stateMutability: "view";
637
+ readonly type: "function";
638
+ }, {
639
+ readonly inputs: readonly [];
640
+ readonly name: "contributor1Wallet";
641
+ readonly outputs: readonly [{
642
+ readonly internalType: "address";
643
+ readonly name: "";
644
+ readonly type: "address";
645
+ }];
646
+ readonly stateMutability: "view";
647
+ readonly type: "function";
648
+ }, {
649
+ readonly inputs: readonly [];
650
+ readonly name: "contributor2Wallet";
651
+ readonly outputs: readonly [{
652
+ readonly internalType: "address";
653
+ readonly name: "";
654
+ readonly type: "address";
655
+ }];
656
+ readonly stateMutability: "view";
657
+ readonly type: "function";
658
+ }, {
659
+ readonly inputs: readonly [];
660
+ readonly name: "devWallet";
661
+ readonly outputs: readonly [{
662
+ readonly internalType: "address";
663
+ readonly name: "";
664
+ readonly type: "address";
665
+ }];
666
+ readonly stateMutability: "view";
667
+ readonly type: "function";
668
+ }, {
669
+ readonly inputs: readonly [];
670
+ readonly name: "emergencyWithdraw";
671
+ readonly outputs: readonly [];
672
+ readonly stateMutability: "nonpayable";
673
+ readonly type: "function";
674
+ }, {
675
+ readonly inputs: readonly [];
676
+ readonly name: "freeMint";
677
+ readonly outputs: readonly [];
678
+ readonly stateMutability: "nonpayable";
679
+ readonly type: "function";
680
+ }, {
681
+ readonly inputs: readonly [];
682
+ readonly name: "freeMintsClaimed";
683
+ readonly outputs: readonly [{
684
+ readonly internalType: "uint256";
685
+ readonly name: "";
686
+ readonly type: "uint256";
687
+ }];
688
+ readonly stateMutability: "view";
689
+ readonly type: "function";
690
+ }, {
691
+ readonly inputs: readonly [{
692
+ readonly internalType: "uint256";
693
+ readonly name: "tokenId";
694
+ readonly type: "uint256";
695
+ }];
696
+ readonly name: "getApproved";
697
+ readonly outputs: readonly [{
698
+ readonly internalType: "address";
699
+ readonly name: "";
700
+ readonly type: "address";
701
+ }];
702
+ readonly stateMutability: "view";
703
+ readonly type: "function";
704
+ }, {
705
+ readonly inputs: readonly [];
706
+ readonly name: "getMemberCount";
707
+ readonly outputs: readonly [{
708
+ readonly internalType: "uint256";
709
+ readonly name: "";
710
+ readonly type: "uint256";
711
+ }];
712
+ readonly stateMutability: "view";
713
+ readonly type: "function";
714
+ }, {
715
+ readonly inputs: readonly [{
716
+ readonly internalType: "address";
717
+ readonly name: "owner";
718
+ readonly type: "address";
719
+ }];
720
+ readonly name: "getTokensByOwner";
721
+ readonly outputs: readonly [{
722
+ readonly internalType: "uint256[]";
723
+ readonly name: "";
724
+ readonly type: "uint256[]";
725
+ }];
726
+ readonly stateMutability: "view";
727
+ readonly type: "function";
728
+ }, {
729
+ readonly inputs: readonly [];
730
+ readonly name: "gstRate";
731
+ readonly outputs: readonly [{
732
+ readonly internalType: "uint256";
733
+ readonly name: "";
734
+ readonly type: "uint256";
735
+ }];
736
+ readonly stateMutability: "view";
737
+ readonly type: "function";
738
+ }, {
739
+ readonly inputs: readonly [];
740
+ readonly name: "gstWallet";
741
+ readonly outputs: readonly [{
742
+ readonly internalType: "address";
743
+ readonly name: "";
744
+ readonly type: "address";
745
+ }];
746
+ readonly stateMutability: "view";
747
+ readonly type: "function";
748
+ }, {
749
+ readonly inputs: readonly [{
750
+ readonly internalType: "address";
751
+ readonly name: "";
752
+ readonly type: "address";
753
+ }];
754
+ readonly name: "hasFreeMinted";
755
+ readonly outputs: readonly [{
756
+ readonly internalType: "bool";
757
+ readonly name: "";
758
+ readonly type: "bool";
759
+ }];
760
+ readonly stateMutability: "view";
761
+ readonly type: "function";
762
+ }, {
763
+ readonly inputs: readonly [{
764
+ readonly internalType: "address";
765
+ readonly name: "owner";
766
+ readonly type: "address";
767
+ }, {
768
+ readonly internalType: "address";
769
+ readonly name: "operator";
770
+ readonly type: "address";
771
+ }];
772
+ readonly name: "isApprovedForAll";
773
+ readonly outputs: readonly [{
774
+ readonly internalType: "bool";
775
+ readonly name: "";
776
+ readonly type: "bool";
777
+ }];
778
+ readonly stateMutability: "view";
779
+ readonly type: "function";
780
+ }, {
781
+ readonly inputs: readonly [];
782
+ readonly name: "maxMintsPerAddress";
783
+ readonly outputs: readonly [{
784
+ readonly internalType: "uint256";
785
+ readonly name: "";
786
+ readonly type: "uint256";
787
+ }];
788
+ readonly stateMutability: "view";
789
+ readonly type: "function";
790
+ }, {
791
+ readonly inputs: readonly [{
792
+ readonly internalType: "address";
793
+ readonly name: "";
794
+ readonly type: "address";
795
+ }];
796
+ readonly name: "mintCount";
797
+ readonly outputs: readonly [{
798
+ readonly internalType: "uint256";
799
+ readonly name: "";
800
+ readonly type: "uint256";
801
+ }];
802
+ readonly stateMutability: "view";
803
+ readonly type: "function";
804
+ }, {
805
+ readonly inputs: readonly [{
806
+ readonly internalType: "bool";
807
+ readonly name: "isNonAustralian";
808
+ readonly type: "bool";
809
+ }];
810
+ readonly name: "mintMembership";
811
+ readonly outputs: readonly [];
812
+ readonly stateMutability: "payable";
813
+ readonly type: "function";
814
+ }, {
815
+ readonly inputs: readonly [];
816
+ readonly name: "mintPriceETH";
817
+ readonly outputs: readonly [{
818
+ readonly internalType: "uint256";
819
+ readonly name: "";
820
+ readonly type: "uint256";
821
+ }];
822
+ readonly stateMutability: "view";
823
+ readonly type: "function";
824
+ }, {
825
+ readonly inputs: readonly [];
826
+ readonly name: "name";
827
+ readonly outputs: readonly [{
828
+ readonly internalType: "string";
829
+ readonly name: "";
830
+ readonly type: "string";
831
+ }];
832
+ readonly stateMutability: "view";
833
+ readonly type: "function";
834
+ }, {
835
+ readonly inputs: readonly [];
836
+ readonly name: "owner";
837
+ readonly outputs: readonly [{
838
+ readonly internalType: "address";
839
+ readonly name: "";
840
+ readonly type: "address";
841
+ }];
842
+ readonly stateMutability: "view";
843
+ readonly type: "function";
844
+ }, {
845
+ readonly inputs: readonly [{
846
+ readonly internalType: "uint256";
847
+ readonly name: "tokenId";
848
+ readonly type: "uint256";
849
+ }];
850
+ readonly name: "ownerOf";
851
+ readonly outputs: readonly [{
852
+ readonly internalType: "address";
853
+ readonly name: "";
854
+ readonly type: "address";
855
+ }];
856
+ readonly stateMutability: "view";
857
+ readonly type: "function";
858
+ }, {
859
+ readonly inputs: readonly [];
860
+ readonly name: "pause";
861
+ readonly outputs: readonly [];
862
+ readonly stateMutability: "nonpayable";
863
+ readonly type: "function";
864
+ }, {
865
+ readonly inputs: readonly [];
866
+ readonly name: "paused";
867
+ readonly outputs: readonly [{
868
+ readonly internalType: "bool";
869
+ readonly name: "";
870
+ readonly type: "bool";
871
+ }];
872
+ readonly stateMutability: "view";
873
+ readonly type: "function";
874
+ }, {
875
+ readonly inputs: readonly [];
876
+ readonly name: "pendingOwner";
877
+ readonly outputs: readonly [{
878
+ readonly internalType: "address";
879
+ readonly name: "";
880
+ readonly type: "address";
881
+ }];
882
+ readonly stateMutability: "view";
883
+ readonly type: "function";
884
+ }, {
885
+ readonly inputs: readonly [{
886
+ readonly internalType: "address";
887
+ readonly name: "";
888
+ readonly type: "address";
889
+ }];
890
+ readonly name: "pendingWithdrawals";
891
+ readonly outputs: readonly [{
892
+ readonly internalType: "uint256";
893
+ readonly name: "";
894
+ readonly type: "uint256";
895
+ }];
896
+ readonly stateMutability: "view";
897
+ readonly type: "function";
898
+ }, {
899
+ readonly inputs: readonly [{
900
+ readonly internalType: "address";
901
+ readonly name: "user";
902
+ readonly type: "address";
903
+ }];
904
+ readonly name: "removeFromWhitelist";
905
+ readonly outputs: readonly [];
906
+ readonly stateMutability: "nonpayable";
907
+ readonly type: "function";
908
+ }, {
909
+ readonly inputs: readonly [];
910
+ readonly name: "renounceOwnership";
911
+ readonly outputs: readonly [];
912
+ readonly stateMutability: "nonpayable";
913
+ readonly type: "function";
914
+ }, {
915
+ readonly inputs: readonly [{
916
+ readonly internalType: "address";
917
+ readonly name: "from";
918
+ readonly type: "address";
919
+ }, {
920
+ readonly internalType: "address";
921
+ readonly name: "to";
922
+ readonly type: "address";
923
+ }, {
924
+ readonly internalType: "uint256";
925
+ readonly name: "tokenId";
926
+ readonly type: "uint256";
927
+ }];
928
+ readonly name: "safeTransferFrom";
929
+ readonly outputs: readonly [];
930
+ readonly stateMutability: "nonpayable";
931
+ readonly type: "function";
932
+ }, {
933
+ readonly inputs: readonly [{
934
+ readonly internalType: "address";
935
+ readonly name: "from";
936
+ readonly type: "address";
937
+ }, {
938
+ readonly internalType: "address";
939
+ readonly name: "to";
940
+ readonly type: "address";
941
+ }, {
942
+ readonly internalType: "uint256";
943
+ readonly name: "tokenId";
944
+ readonly type: "uint256";
945
+ }, {
946
+ readonly internalType: "bytes";
947
+ readonly name: "data";
948
+ readonly type: "bytes";
949
+ }];
950
+ readonly name: "safeTransferFrom";
951
+ readonly outputs: readonly [];
952
+ readonly stateMutability: "nonpayable";
953
+ readonly type: "function";
954
+ }, {
955
+ readonly inputs: readonly [{
956
+ readonly internalType: "address";
957
+ readonly name: "operator";
958
+ readonly type: "address";
959
+ }, {
960
+ readonly internalType: "bool";
961
+ readonly name: "approved";
962
+ readonly type: "bool";
963
+ }];
964
+ readonly name: "setApprovalForAll";
965
+ readonly outputs: readonly [];
966
+ readonly stateMutability: "nonpayable";
967
+ readonly type: "function";
968
+ }, {
969
+ readonly inputs: readonly [{
970
+ readonly internalType: "string";
971
+ readonly name: "newBaseURI";
972
+ readonly type: "string";
973
+ }];
974
+ readonly name: "setBaseTokenURI";
975
+ readonly outputs: readonly [];
976
+ readonly stateMutability: "nonpayable";
977
+ readonly type: "function";
978
+ }, {
979
+ readonly inputs: readonly [{
980
+ readonly internalType: "uint256";
981
+ readonly name: "newMax";
982
+ readonly type: "uint256";
983
+ }];
984
+ readonly name: "setMaxMintsPerAddress";
985
+ readonly outputs: readonly [];
986
+ readonly stateMutability: "nonpayable";
987
+ readonly type: "function";
988
+ }, {
989
+ readonly inputs: readonly [{
990
+ readonly internalType: "bytes4";
991
+ readonly name: "interfaceId";
992
+ readonly type: "bytes4";
993
+ }];
994
+ readonly name: "supportsInterface";
995
+ readonly outputs: readonly [{
996
+ readonly internalType: "bool";
997
+ readonly name: "";
998
+ readonly type: "bool";
999
+ }];
1000
+ readonly stateMutability: "view";
1001
+ readonly type: "function";
1002
+ }, {
1003
+ readonly inputs: readonly [];
1004
+ readonly name: "symbol";
1005
+ readonly outputs: readonly [{
1006
+ readonly internalType: "string";
1007
+ readonly name: "";
1008
+ readonly type: "string";
1009
+ }];
1010
+ readonly stateMutability: "view";
1011
+ readonly type: "function";
1012
+ }, {
1013
+ readonly inputs: readonly [];
1014
+ readonly name: "tcgWallet";
1015
+ readonly outputs: readonly [{
1016
+ readonly internalType: "address";
1017
+ readonly name: "";
1018
+ readonly type: "address";
1019
+ }];
1020
+ readonly stateMutability: "view";
1021
+ readonly type: "function";
1022
+ }, {
1023
+ readonly inputs: readonly [{
1024
+ readonly internalType: "uint256";
1025
+ readonly name: "tokenId";
1026
+ readonly type: "uint256";
1027
+ }];
1028
+ readonly name: "tokenURI";
1029
+ readonly outputs: readonly [{
1030
+ readonly internalType: "string";
1031
+ readonly name: "";
1032
+ readonly type: "string";
1033
+ }];
1034
+ readonly stateMutability: "view";
1035
+ readonly type: "function";
1036
+ }, {
1037
+ readonly inputs: readonly [];
1038
+ readonly name: "totalMinted";
1039
+ readonly outputs: readonly [{
1040
+ readonly internalType: "uint256";
1041
+ readonly name: "";
1042
+ readonly type: "uint256";
1043
+ }];
1044
+ readonly stateMutability: "view";
1045
+ readonly type: "function";
1046
+ }, {
1047
+ readonly inputs: readonly [];
1048
+ readonly name: "totalPendingWithdrawals";
1049
+ readonly outputs: readonly [{
1050
+ readonly internalType: "uint256";
1051
+ readonly name: "";
1052
+ readonly type: "uint256";
1053
+ }];
1054
+ readonly stateMutability: "view";
1055
+ readonly type: "function";
1056
+ }, {
1057
+ readonly inputs: readonly [{
1058
+ readonly internalType: "address";
1059
+ readonly name: "from";
1060
+ readonly type: "address";
1061
+ }, {
1062
+ readonly internalType: "address";
1063
+ readonly name: "to";
1064
+ readonly type: "address";
1065
+ }, {
1066
+ readonly internalType: "uint256";
1067
+ readonly name: "tokenId";
1068
+ readonly type: "uint256";
1069
+ }];
1070
+ readonly name: "transferFrom";
1071
+ readonly outputs: readonly [];
1072
+ readonly stateMutability: "nonpayable";
1073
+ readonly type: "function";
1074
+ }, {
1075
+ readonly inputs: readonly [{
1076
+ readonly internalType: "address";
1077
+ readonly name: "newOwner";
1078
+ readonly type: "address";
1079
+ }];
1080
+ readonly name: "transferOwnership";
1081
+ readonly outputs: readonly [];
1082
+ readonly stateMutability: "nonpayable";
1083
+ readonly type: "function";
1084
+ }, {
1085
+ readonly inputs: readonly [];
1086
+ readonly name: "unpause";
1087
+ readonly outputs: readonly [];
1088
+ readonly stateMutability: "nonpayable";
1089
+ readonly type: "function";
1090
+ }, {
1091
+ readonly inputs: readonly [{
1092
+ readonly internalType: "address";
1093
+ readonly name: "newWallet";
1094
+ readonly type: "address";
1095
+ }];
1096
+ readonly name: "updateContributor1Wallet";
1097
+ readonly outputs: readonly [];
1098
+ readonly stateMutability: "nonpayable";
1099
+ readonly type: "function";
1100
+ }, {
1101
+ readonly inputs: readonly [{
1102
+ readonly internalType: "address";
1103
+ readonly name: "newWallet";
1104
+ readonly type: "address";
1105
+ }];
1106
+ readonly name: "updateContributor2Wallet";
1107
+ readonly outputs: readonly [];
1108
+ readonly stateMutability: "nonpayable";
1109
+ readonly type: "function";
1110
+ }, {
1111
+ readonly inputs: readonly [{
1112
+ readonly internalType: "address";
1113
+ readonly name: "newWallet";
1114
+ readonly type: "address";
1115
+ }];
1116
+ readonly name: "updateDevWallet";
1117
+ readonly outputs: readonly [];
1118
+ readonly stateMutability: "nonpayable";
1119
+ readonly type: "function";
1120
+ }, {
1121
+ readonly inputs: readonly [{
1122
+ readonly internalType: "uint256";
1123
+ readonly name: "newRate";
1124
+ readonly type: "uint256";
1125
+ }];
1126
+ readonly name: "updateGSTRate";
1127
+ readonly outputs: readonly [];
1128
+ readonly stateMutability: "nonpayable";
1129
+ readonly type: "function";
1130
+ }, {
1131
+ readonly inputs: readonly [{
1132
+ readonly internalType: "address";
1133
+ readonly name: "newWallet";
1134
+ readonly type: "address";
1135
+ }];
1136
+ readonly name: "updateGSTWallet";
1137
+ readonly outputs: readonly [];
1138
+ readonly stateMutability: "nonpayable";
1139
+ readonly type: "function";
1140
+ }, {
1141
+ readonly inputs: readonly [{
1142
+ readonly internalType: "uint256";
1143
+ readonly name: "newPriceETH";
1144
+ readonly type: "uint256";
1145
+ }];
1146
+ readonly name: "updateMintPrice";
1147
+ readonly outputs: readonly [];
1148
+ readonly stateMutability: "nonpayable";
1149
+ readonly type: "function";
1150
+ }, {
1151
+ readonly inputs: readonly [{
1152
+ readonly internalType: "address";
1153
+ readonly name: "newWallet";
1154
+ readonly type: "address";
1155
+ }];
1156
+ readonly name: "updateTCGWallet";
1157
+ readonly outputs: readonly [];
1158
+ readonly stateMutability: "nonpayable";
1159
+ readonly type: "function";
1160
+ }, {
1161
+ readonly inputs: readonly [{
1162
+ readonly internalType: "address";
1163
+ readonly name: "";
1164
+ readonly type: "address";
1165
+ }];
1166
+ readonly name: "whitelist";
1167
+ readonly outputs: readonly [{
1168
+ readonly internalType: "bool";
1169
+ readonly name: "";
1170
+ readonly type: "bool";
1171
+ }];
1172
+ readonly stateMutability: "view";
1173
+ readonly type: "function";
1174
+ }, {
1175
+ readonly inputs: readonly [];
1176
+ readonly name: "withdraw";
1177
+ readonly outputs: readonly [];
1178
+ readonly stateMutability: "nonpayable";
1179
+ readonly type: "function";
1180
+ }, {
1181
+ readonly stateMutability: "payable";
1182
+ readonly type: "receive";
1183
+ }];
1184
+ /**
1185
+ * Type-safe ABI for CKCMembershipV3_json
1186
+ */
1187
+ export type CKCMembershipV3_jsonAbi = typeof CKCMembershipV3_jsonAbi;
1188
+ /**
1189
+ * Contract instance type for CKCMembershipV3_json
1190
+ */
1191
+ export type CKCMembershipV3_jsonContract = any;
1192
+ /**
1193
+ * CKCMembershipV3_json Contract Class
1194
+ *
1195
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
1196
+ *
1197
+ * @example
1198
+ * ```typescript
1199
+ * import { createPublicClient, createWalletClient, http } from 'viem';
1200
+ * import { mainnet } from 'viem/chains';
1201
+ * import { CKCMembershipV3_json } from 'CKCMembershipV3_json';
1202
+ *
1203
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
1204
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
1205
+ *
1206
+ * const contract = new CKCMembershipV3_json('0x...', { publicClient, walletClient });
1207
+ *
1208
+ * // Read functions
1209
+ * const result = await contract.balanceOf('0x...');
1210
+ *
1211
+ * // Write functions
1212
+ * const hash = await contract.transfer('0x...', 1000n);
1213
+ *
1214
+ * // Simulate transactions (dry-run)
1215
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
1216
+ * console.log('Gas estimate:', simulation.request.gas);
1217
+ *
1218
+ * // Watch events
1219
+ * const unwatch = contract.watch.Transfer((event) => {
1220
+ * console.log('Transfer event:', event);
1221
+ * });
1222
+ * ```
1223
+ */
1224
+ export declare class CKCMembershipV3_json {
1225
+ private contract;
1226
+ private contractAddress;
1227
+ private publicClient;
1228
+ constructor(address: Address, clients: {
1229
+ publicClient: PublicClient;
1230
+ walletClient?: WalletClient;
1231
+ });
1232
+ /**
1233
+ * Get the contract address
1234
+ */
1235
+ get address(): Address;
1236
+ /**
1237
+ * Get the underlying viem contract instance
1238
+ */
1239
+ getContract(): CKCMembershipV3_jsonContract;
1240
+ /**
1241
+ * CONTRIBUTOR1_SHARE
1242
+ * view
1243
+ */
1244
+ CONTRIBUTOR1_SHARE(): Promise<bigint>;
1245
+ /**
1246
+ * CONTRIBUTOR2_SHARE
1247
+ * view
1248
+ */
1249
+ CONTRIBUTOR2_SHARE(): Promise<bigint>;
1250
+ /**
1251
+ * FREE_MEMBERSHIPS
1252
+ * view
1253
+ */
1254
+ FREE_MEMBERSHIPS(): Promise<bigint>;
1255
+ /**
1256
+ * MAX_GST_RATE
1257
+ * view
1258
+ */
1259
+ MAX_GST_RATE(): Promise<bigint>;
1260
+ /**
1261
+ * MAX_SUPPLY
1262
+ * view
1263
+ */
1264
+ MAX_SUPPLY(): Promise<bigint>;
1265
+ /**
1266
+ * MAX_WHITELIST_BATCH
1267
+ * view
1268
+ */
1269
+ MAX_WHITELIST_BATCH(): Promise<bigint>;
1270
+ /**
1271
+ * TCG_SHARE
1272
+ * view
1273
+ */
1274
+ TCG_SHARE(): Promise<bigint>;
1275
+ /**
1276
+ * balanceOf
1277
+ * view
1278
+ */
1279
+ balanceOf(owner: `0x${string}`): Promise<bigint>;
1280
+ /**
1281
+ * baseTokenURI
1282
+ * view
1283
+ */
1284
+ baseTokenURI(): Promise<string>;
1285
+ /**
1286
+ * calculatePaymentBreakdown
1287
+ * view
1288
+ */
1289
+ calculatePaymentBreakdown(isNonAustralian: boolean): Promise<[bigint, bigint, bigint, bigint, bigint, bigint]>;
1290
+ /**
1291
+ * contributor1Wallet
1292
+ * view
1293
+ */
1294
+ contributor1Wallet(): Promise<`0x${string}`>;
1295
+ /**
1296
+ * contributor2Wallet
1297
+ * view
1298
+ */
1299
+ contributor2Wallet(): Promise<`0x${string}`>;
1300
+ /**
1301
+ * devWallet
1302
+ * view
1303
+ */
1304
+ devWallet(): Promise<`0x${string}`>;
1305
+ /**
1306
+ * freeMintsClaimed
1307
+ * view
1308
+ */
1309
+ freeMintsClaimed(): Promise<bigint>;
1310
+ /**
1311
+ * getApproved
1312
+ * view
1313
+ */
1314
+ getApproved(tokenId: bigint): Promise<`0x${string}`>;
1315
+ /**
1316
+ * getMemberCount
1317
+ * view
1318
+ */
1319
+ getMemberCount(): Promise<bigint>;
1320
+ /**
1321
+ * getTokensByOwner
1322
+ * view
1323
+ */
1324
+ getTokensByOwner(owner: `0x${string}`): Promise<bigint[]>;
1325
+ /**
1326
+ * gstRate
1327
+ * view
1328
+ */
1329
+ gstRate(): Promise<bigint>;
1330
+ /**
1331
+ * gstWallet
1332
+ * view
1333
+ */
1334
+ gstWallet(): Promise<`0x${string}`>;
1335
+ /**
1336
+ * hasFreeMinted
1337
+ * view
1338
+ */
1339
+ hasFreeMinted(arg0: `0x${string}`): Promise<boolean>;
1340
+ /**
1341
+ * isApprovedForAll
1342
+ * view
1343
+ */
1344
+ isApprovedForAll(owner: `0x${string}`, operator: `0x${string}`): Promise<boolean>;
1345
+ /**
1346
+ * maxMintsPerAddress
1347
+ * view
1348
+ */
1349
+ maxMintsPerAddress(): Promise<bigint>;
1350
+ /**
1351
+ * mintCount
1352
+ * view
1353
+ */
1354
+ mintCount(arg0: `0x${string}`): Promise<bigint>;
1355
+ /**
1356
+ * mintPriceETH
1357
+ * view
1358
+ */
1359
+ mintPriceETH(): Promise<bigint>;
1360
+ /**
1361
+ * name
1362
+ * view
1363
+ */
1364
+ name(): Promise<string>;
1365
+ /**
1366
+ * owner
1367
+ * view
1368
+ */
1369
+ owner(): Promise<`0x${string}`>;
1370
+ /**
1371
+ * ownerOf
1372
+ * view
1373
+ */
1374
+ ownerOf(tokenId: bigint): Promise<`0x${string}`>;
1375
+ /**
1376
+ * paused
1377
+ * view
1378
+ */
1379
+ paused(): Promise<boolean>;
1380
+ /**
1381
+ * pendingOwner
1382
+ * view
1383
+ */
1384
+ pendingOwner(): Promise<`0x${string}`>;
1385
+ /**
1386
+ * pendingWithdrawals
1387
+ * view
1388
+ */
1389
+ pendingWithdrawals(arg0: `0x${string}`): Promise<bigint>;
1390
+ /**
1391
+ * supportsInterface
1392
+ * view
1393
+ */
1394
+ supportsInterface(interfaceId: `0x${string}`): Promise<boolean>;
1395
+ /**
1396
+ * symbol
1397
+ * view
1398
+ */
1399
+ symbol(): Promise<string>;
1400
+ /**
1401
+ * tcgWallet
1402
+ * view
1403
+ */
1404
+ tcgWallet(): Promise<`0x${string}`>;
1405
+ /**
1406
+ * tokenURI
1407
+ * view
1408
+ */
1409
+ tokenURI(tokenId: bigint): Promise<string>;
1410
+ /**
1411
+ * totalMinted
1412
+ * view
1413
+ */
1414
+ totalMinted(): Promise<bigint>;
1415
+ /**
1416
+ * totalPendingWithdrawals
1417
+ * view
1418
+ */
1419
+ totalPendingWithdrawals(): Promise<bigint>;
1420
+ /**
1421
+ * whitelist
1422
+ * view
1423
+ */
1424
+ whitelist(arg0: `0x${string}`): Promise<boolean>;
1425
+ /**
1426
+ * acceptOwnership
1427
+ * nonpayable
1428
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1429
+ */
1430
+ acceptOwnership(options?: {
1431
+ accessList?: import('viem').AccessList;
1432
+ authorizationList?: import('viem').AuthorizationList;
1433
+ chain?: import('viem').Chain | null;
1434
+ dataSuffix?: `0x${string}`;
1435
+ gas?: bigint;
1436
+ gasPrice?: bigint;
1437
+ maxFeePerGas?: bigint;
1438
+ maxPriorityFeePerGas?: bigint;
1439
+ nonce?: number;
1440
+ value?: bigint;
1441
+ }): Promise<`0x${string}`>;
1442
+ /**
1443
+ * addToWhitelist
1444
+ * nonpayable
1445
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1446
+ */
1447
+ addToWhitelist(addresses: `0x${string}`[], options?: {
1448
+ accessList?: import('viem').AccessList;
1449
+ authorizationList?: import('viem').AuthorizationList;
1450
+ chain?: import('viem').Chain | null;
1451
+ dataSuffix?: `0x${string}`;
1452
+ gas?: bigint;
1453
+ gasPrice?: bigint;
1454
+ maxFeePerGas?: bigint;
1455
+ maxPriorityFeePerGas?: bigint;
1456
+ nonce?: number;
1457
+ value?: bigint;
1458
+ }): Promise<`0x${string}`>;
1459
+ /**
1460
+ * approve
1461
+ * nonpayable
1462
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1463
+ */
1464
+ approve(to: `0x${string}`, tokenId: bigint, options?: {
1465
+ accessList?: import('viem').AccessList;
1466
+ authorizationList?: import('viem').AuthorizationList;
1467
+ chain?: import('viem').Chain | null;
1468
+ dataSuffix?: `0x${string}`;
1469
+ gas?: bigint;
1470
+ gasPrice?: bigint;
1471
+ maxFeePerGas?: bigint;
1472
+ maxPriorityFeePerGas?: bigint;
1473
+ nonce?: number;
1474
+ value?: bigint;
1475
+ }): Promise<`0x${string}`>;
1476
+ /**
1477
+ * emergencyWithdraw
1478
+ * nonpayable
1479
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1480
+ */
1481
+ emergencyWithdraw(options?: {
1482
+ accessList?: import('viem').AccessList;
1483
+ authorizationList?: import('viem').AuthorizationList;
1484
+ chain?: import('viem').Chain | null;
1485
+ dataSuffix?: `0x${string}`;
1486
+ gas?: bigint;
1487
+ gasPrice?: bigint;
1488
+ maxFeePerGas?: bigint;
1489
+ maxPriorityFeePerGas?: bigint;
1490
+ nonce?: number;
1491
+ value?: bigint;
1492
+ }): Promise<`0x${string}`>;
1493
+ /**
1494
+ * freeMint
1495
+ * nonpayable
1496
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1497
+ */
1498
+ freeMint(options?: {
1499
+ accessList?: import('viem').AccessList;
1500
+ authorizationList?: import('viem').AuthorizationList;
1501
+ chain?: import('viem').Chain | null;
1502
+ dataSuffix?: `0x${string}`;
1503
+ gas?: bigint;
1504
+ gasPrice?: bigint;
1505
+ maxFeePerGas?: bigint;
1506
+ maxPriorityFeePerGas?: bigint;
1507
+ nonce?: number;
1508
+ value?: bigint;
1509
+ }): Promise<`0x${string}`>;
1510
+ /**
1511
+ * mintMembership
1512
+ * payable
1513
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1514
+ */
1515
+ mintMembership(isNonAustralian: boolean, options?: {
1516
+ accessList?: import('viem').AccessList;
1517
+ authorizationList?: import('viem').AuthorizationList;
1518
+ chain?: import('viem').Chain | null;
1519
+ dataSuffix?: `0x${string}`;
1520
+ gas?: bigint;
1521
+ gasPrice?: bigint;
1522
+ maxFeePerGas?: bigint;
1523
+ maxPriorityFeePerGas?: bigint;
1524
+ nonce?: number;
1525
+ value?: bigint;
1526
+ }): Promise<`0x${string}`>;
1527
+ /**
1528
+ * pause
1529
+ * nonpayable
1530
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1531
+ */
1532
+ pause(options?: {
1533
+ accessList?: import('viem').AccessList;
1534
+ authorizationList?: import('viem').AuthorizationList;
1535
+ chain?: import('viem').Chain | null;
1536
+ dataSuffix?: `0x${string}`;
1537
+ gas?: bigint;
1538
+ gasPrice?: bigint;
1539
+ maxFeePerGas?: bigint;
1540
+ maxPriorityFeePerGas?: bigint;
1541
+ nonce?: number;
1542
+ value?: bigint;
1543
+ }): Promise<`0x${string}`>;
1544
+ /**
1545
+ * removeFromWhitelist
1546
+ * nonpayable
1547
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1548
+ */
1549
+ removeFromWhitelist(user: `0x${string}`, options?: {
1550
+ accessList?: import('viem').AccessList;
1551
+ authorizationList?: import('viem').AuthorizationList;
1552
+ chain?: import('viem').Chain | null;
1553
+ dataSuffix?: `0x${string}`;
1554
+ gas?: bigint;
1555
+ gasPrice?: bigint;
1556
+ maxFeePerGas?: bigint;
1557
+ maxPriorityFeePerGas?: bigint;
1558
+ nonce?: number;
1559
+ value?: bigint;
1560
+ }): Promise<`0x${string}`>;
1561
+ /**
1562
+ * renounceOwnership
1563
+ * nonpayable
1564
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1565
+ */
1566
+ renounceOwnership(options?: {
1567
+ accessList?: import('viem').AccessList;
1568
+ authorizationList?: import('viem').AuthorizationList;
1569
+ chain?: import('viem').Chain | null;
1570
+ dataSuffix?: `0x${string}`;
1571
+ gas?: bigint;
1572
+ gasPrice?: bigint;
1573
+ maxFeePerGas?: bigint;
1574
+ maxPriorityFeePerGas?: bigint;
1575
+ nonce?: number;
1576
+ value?: bigint;
1577
+ }): Promise<`0x${string}`>;
1578
+ safeTransferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
1579
+ accessList?: import('viem').AccessList;
1580
+ authorizationList?: import('viem').AuthorizationList;
1581
+ chain?: import('viem').Chain | null;
1582
+ dataSuffix?: `0x${string}`;
1583
+ gas?: bigint;
1584
+ gasPrice?: bigint;
1585
+ maxFeePerGas?: bigint;
1586
+ maxPriorityFeePerGas?: bigint;
1587
+ nonce?: number;
1588
+ value?: bigint;
1589
+ }): Promise<`0x${string}`>;
1590
+ safeTransferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, data: `0x${string}`, options?: {
1591
+ accessList?: import('viem').AccessList;
1592
+ authorizationList?: import('viem').AuthorizationList;
1593
+ chain?: import('viem').Chain | null;
1594
+ dataSuffix?: `0x${string}`;
1595
+ gas?: bigint;
1596
+ gasPrice?: bigint;
1597
+ maxFeePerGas?: bigint;
1598
+ maxPriorityFeePerGas?: bigint;
1599
+ nonce?: number;
1600
+ value?: bigint;
1601
+ }): Promise<`0x${string}`>;
1602
+ /**
1603
+ * setApprovalForAll
1604
+ * nonpayable
1605
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1606
+ */
1607
+ setApprovalForAll(operator: `0x${string}`, approved: boolean, options?: {
1608
+ accessList?: import('viem').AccessList;
1609
+ authorizationList?: import('viem').AuthorizationList;
1610
+ chain?: import('viem').Chain | null;
1611
+ dataSuffix?: `0x${string}`;
1612
+ gas?: bigint;
1613
+ gasPrice?: bigint;
1614
+ maxFeePerGas?: bigint;
1615
+ maxPriorityFeePerGas?: bigint;
1616
+ nonce?: number;
1617
+ value?: bigint;
1618
+ }): Promise<`0x${string}`>;
1619
+ /**
1620
+ * setBaseTokenURI
1621
+ * nonpayable
1622
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1623
+ */
1624
+ setBaseTokenURI(newBaseURI: string, options?: {
1625
+ accessList?: import('viem').AccessList;
1626
+ authorizationList?: import('viem').AuthorizationList;
1627
+ chain?: import('viem').Chain | null;
1628
+ dataSuffix?: `0x${string}`;
1629
+ gas?: bigint;
1630
+ gasPrice?: bigint;
1631
+ maxFeePerGas?: bigint;
1632
+ maxPriorityFeePerGas?: bigint;
1633
+ nonce?: number;
1634
+ value?: bigint;
1635
+ }): Promise<`0x${string}`>;
1636
+ /**
1637
+ * setMaxMintsPerAddress
1638
+ * nonpayable
1639
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1640
+ */
1641
+ setMaxMintsPerAddress(newMax: bigint, options?: {
1642
+ accessList?: import('viem').AccessList;
1643
+ authorizationList?: import('viem').AuthorizationList;
1644
+ chain?: import('viem').Chain | null;
1645
+ dataSuffix?: `0x${string}`;
1646
+ gas?: bigint;
1647
+ gasPrice?: bigint;
1648
+ maxFeePerGas?: bigint;
1649
+ maxPriorityFeePerGas?: bigint;
1650
+ nonce?: number;
1651
+ value?: bigint;
1652
+ }): Promise<`0x${string}`>;
1653
+ /**
1654
+ * transferFrom
1655
+ * nonpayable
1656
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1657
+ */
1658
+ transferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
1659
+ accessList?: import('viem').AccessList;
1660
+ authorizationList?: import('viem').AuthorizationList;
1661
+ chain?: import('viem').Chain | null;
1662
+ dataSuffix?: `0x${string}`;
1663
+ gas?: bigint;
1664
+ gasPrice?: bigint;
1665
+ maxFeePerGas?: bigint;
1666
+ maxPriorityFeePerGas?: bigint;
1667
+ nonce?: number;
1668
+ value?: bigint;
1669
+ }): Promise<`0x${string}`>;
1670
+ /**
1671
+ * transferOwnership
1672
+ * nonpayable
1673
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1674
+ */
1675
+ transferOwnership(newOwner: `0x${string}`, options?: {
1676
+ accessList?: import('viem').AccessList;
1677
+ authorizationList?: import('viem').AuthorizationList;
1678
+ chain?: import('viem').Chain | null;
1679
+ dataSuffix?: `0x${string}`;
1680
+ gas?: bigint;
1681
+ gasPrice?: bigint;
1682
+ maxFeePerGas?: bigint;
1683
+ maxPriorityFeePerGas?: bigint;
1684
+ nonce?: number;
1685
+ value?: bigint;
1686
+ }): Promise<`0x${string}`>;
1687
+ /**
1688
+ * unpause
1689
+ * nonpayable
1690
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1691
+ */
1692
+ unpause(options?: {
1693
+ accessList?: import('viem').AccessList;
1694
+ authorizationList?: import('viem').AuthorizationList;
1695
+ chain?: import('viem').Chain | null;
1696
+ dataSuffix?: `0x${string}`;
1697
+ gas?: bigint;
1698
+ gasPrice?: bigint;
1699
+ maxFeePerGas?: bigint;
1700
+ maxPriorityFeePerGas?: bigint;
1701
+ nonce?: number;
1702
+ value?: bigint;
1703
+ }): Promise<`0x${string}`>;
1704
+ /**
1705
+ * updateContributor1Wallet
1706
+ * nonpayable
1707
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1708
+ */
1709
+ updateContributor1Wallet(newWallet: `0x${string}`, options?: {
1710
+ accessList?: import('viem').AccessList;
1711
+ authorizationList?: import('viem').AuthorizationList;
1712
+ chain?: import('viem').Chain | null;
1713
+ dataSuffix?: `0x${string}`;
1714
+ gas?: bigint;
1715
+ gasPrice?: bigint;
1716
+ maxFeePerGas?: bigint;
1717
+ maxPriorityFeePerGas?: bigint;
1718
+ nonce?: number;
1719
+ value?: bigint;
1720
+ }): Promise<`0x${string}`>;
1721
+ /**
1722
+ * updateContributor2Wallet
1723
+ * nonpayable
1724
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1725
+ */
1726
+ updateContributor2Wallet(newWallet: `0x${string}`, options?: {
1727
+ accessList?: import('viem').AccessList;
1728
+ authorizationList?: import('viem').AuthorizationList;
1729
+ chain?: import('viem').Chain | null;
1730
+ dataSuffix?: `0x${string}`;
1731
+ gas?: bigint;
1732
+ gasPrice?: bigint;
1733
+ maxFeePerGas?: bigint;
1734
+ maxPriorityFeePerGas?: bigint;
1735
+ nonce?: number;
1736
+ value?: bigint;
1737
+ }): Promise<`0x${string}`>;
1738
+ /**
1739
+ * updateDevWallet
1740
+ * nonpayable
1741
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1742
+ */
1743
+ updateDevWallet(newWallet: `0x${string}`, options?: {
1744
+ accessList?: import('viem').AccessList;
1745
+ authorizationList?: import('viem').AuthorizationList;
1746
+ chain?: import('viem').Chain | null;
1747
+ dataSuffix?: `0x${string}`;
1748
+ gas?: bigint;
1749
+ gasPrice?: bigint;
1750
+ maxFeePerGas?: bigint;
1751
+ maxPriorityFeePerGas?: bigint;
1752
+ nonce?: number;
1753
+ value?: bigint;
1754
+ }): Promise<`0x${string}`>;
1755
+ /**
1756
+ * updateGSTRate
1757
+ * nonpayable
1758
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1759
+ */
1760
+ updateGSTRate(newRate: bigint, options?: {
1761
+ accessList?: import('viem').AccessList;
1762
+ authorizationList?: import('viem').AuthorizationList;
1763
+ chain?: import('viem').Chain | null;
1764
+ dataSuffix?: `0x${string}`;
1765
+ gas?: bigint;
1766
+ gasPrice?: bigint;
1767
+ maxFeePerGas?: bigint;
1768
+ maxPriorityFeePerGas?: bigint;
1769
+ nonce?: number;
1770
+ value?: bigint;
1771
+ }): Promise<`0x${string}`>;
1772
+ /**
1773
+ * updateGSTWallet
1774
+ * nonpayable
1775
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1776
+ */
1777
+ updateGSTWallet(newWallet: `0x${string}`, options?: {
1778
+ accessList?: import('viem').AccessList;
1779
+ authorizationList?: import('viem').AuthorizationList;
1780
+ chain?: import('viem').Chain | null;
1781
+ dataSuffix?: `0x${string}`;
1782
+ gas?: bigint;
1783
+ gasPrice?: bigint;
1784
+ maxFeePerGas?: bigint;
1785
+ maxPriorityFeePerGas?: bigint;
1786
+ nonce?: number;
1787
+ value?: bigint;
1788
+ }): Promise<`0x${string}`>;
1789
+ /**
1790
+ * updateMintPrice
1791
+ * nonpayable
1792
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1793
+ */
1794
+ updateMintPrice(newPriceETH: bigint, options?: {
1795
+ accessList?: import('viem').AccessList;
1796
+ authorizationList?: import('viem').AuthorizationList;
1797
+ chain?: import('viem').Chain | null;
1798
+ dataSuffix?: `0x${string}`;
1799
+ gas?: bigint;
1800
+ gasPrice?: bigint;
1801
+ maxFeePerGas?: bigint;
1802
+ maxPriorityFeePerGas?: bigint;
1803
+ nonce?: number;
1804
+ value?: bigint;
1805
+ }): Promise<`0x${string}`>;
1806
+ /**
1807
+ * updateTCGWallet
1808
+ * nonpayable
1809
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1810
+ */
1811
+ updateTCGWallet(newWallet: `0x${string}`, options?: {
1812
+ accessList?: import('viem').AccessList;
1813
+ authorizationList?: import('viem').AuthorizationList;
1814
+ chain?: import('viem').Chain | null;
1815
+ dataSuffix?: `0x${string}`;
1816
+ gas?: bigint;
1817
+ gasPrice?: bigint;
1818
+ maxFeePerGas?: bigint;
1819
+ maxPriorityFeePerGas?: bigint;
1820
+ nonce?: number;
1821
+ value?: bigint;
1822
+ }): Promise<`0x${string}`>;
1823
+ /**
1824
+ * withdraw
1825
+ * nonpayable
1826
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1827
+ */
1828
+ withdraw(options?: {
1829
+ accessList?: import('viem').AccessList;
1830
+ authorizationList?: import('viem').AuthorizationList;
1831
+ chain?: import('viem').Chain | null;
1832
+ dataSuffix?: `0x${string}`;
1833
+ gas?: bigint;
1834
+ gasPrice?: bigint;
1835
+ maxFeePerGas?: bigint;
1836
+ maxPriorityFeePerGas?: bigint;
1837
+ nonce?: number;
1838
+ value?: bigint;
1839
+ }): Promise<`0x${string}`>;
1840
+ /**
1841
+ * Simulate contract write operations (dry-run without sending transaction)
1842
+ *
1843
+ * @example
1844
+ * const result = await contract.simulate.transfer('0x...', 1000n);
1845
+ * console.log('Gas estimate:', result.request.gas);
1846
+ * console.log('Would succeed:', result.result);
1847
+ */
1848
+ get simulate(): {
1849
+ /**
1850
+ * Simulate acceptOwnership
1851
+ * Returns gas estimate and result without sending transaction
1852
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1853
+ */
1854
+ acceptOwnership(options?: {
1855
+ accessList?: import("viem").AccessList;
1856
+ authorizationList?: import("viem").AuthorizationList;
1857
+ chain?: import("viem").Chain | null;
1858
+ dataSuffix?: `0x${string}`;
1859
+ gas?: bigint;
1860
+ gasPrice?: bigint;
1861
+ maxFeePerGas?: bigint;
1862
+ maxPriorityFeePerGas?: bigint;
1863
+ nonce?: number;
1864
+ value?: bigint;
1865
+ }): Promise<void>;
1866
+ /**
1867
+ * Simulate addToWhitelist
1868
+ * Returns gas estimate and result without sending transaction
1869
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1870
+ */
1871
+ addToWhitelist(addresses: `0x${string}`[], options?: {
1872
+ accessList?: import("viem").AccessList;
1873
+ authorizationList?: import("viem").AuthorizationList;
1874
+ chain?: import("viem").Chain | null;
1875
+ dataSuffix?: `0x${string}`;
1876
+ gas?: bigint;
1877
+ gasPrice?: bigint;
1878
+ maxFeePerGas?: bigint;
1879
+ maxPriorityFeePerGas?: bigint;
1880
+ nonce?: number;
1881
+ value?: bigint;
1882
+ }): Promise<void>;
1883
+ /**
1884
+ * Simulate approve
1885
+ * Returns gas estimate and result without sending transaction
1886
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1887
+ */
1888
+ approve(to: `0x${string}`, tokenId: bigint, options?: {
1889
+ accessList?: import("viem").AccessList;
1890
+ authorizationList?: import("viem").AuthorizationList;
1891
+ chain?: import("viem").Chain | null;
1892
+ dataSuffix?: `0x${string}`;
1893
+ gas?: bigint;
1894
+ gasPrice?: bigint;
1895
+ maxFeePerGas?: bigint;
1896
+ maxPriorityFeePerGas?: bigint;
1897
+ nonce?: number;
1898
+ value?: bigint;
1899
+ }): Promise<void>;
1900
+ /**
1901
+ * Simulate emergencyWithdraw
1902
+ * Returns gas estimate and result without sending transaction
1903
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1904
+ */
1905
+ emergencyWithdraw(options?: {
1906
+ accessList?: import("viem").AccessList;
1907
+ authorizationList?: import("viem").AuthorizationList;
1908
+ chain?: import("viem").Chain | null;
1909
+ dataSuffix?: `0x${string}`;
1910
+ gas?: bigint;
1911
+ gasPrice?: bigint;
1912
+ maxFeePerGas?: bigint;
1913
+ maxPriorityFeePerGas?: bigint;
1914
+ nonce?: number;
1915
+ value?: bigint;
1916
+ }): Promise<void>;
1917
+ /**
1918
+ * Simulate freeMint
1919
+ * Returns gas estimate and result without sending transaction
1920
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1921
+ */
1922
+ freeMint(options?: {
1923
+ accessList?: import("viem").AccessList;
1924
+ authorizationList?: import("viem").AuthorizationList;
1925
+ chain?: import("viem").Chain | null;
1926
+ dataSuffix?: `0x${string}`;
1927
+ gas?: bigint;
1928
+ gasPrice?: bigint;
1929
+ maxFeePerGas?: bigint;
1930
+ maxPriorityFeePerGas?: bigint;
1931
+ nonce?: number;
1932
+ value?: bigint;
1933
+ }): Promise<void>;
1934
+ /**
1935
+ * Simulate mintMembership
1936
+ * Returns gas estimate and result without sending transaction
1937
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1938
+ */
1939
+ mintMembership(isNonAustralian: boolean, options?: {
1940
+ accessList?: import("viem").AccessList;
1941
+ authorizationList?: import("viem").AuthorizationList;
1942
+ chain?: import("viem").Chain | null;
1943
+ dataSuffix?: `0x${string}`;
1944
+ gas?: bigint;
1945
+ gasPrice?: bigint;
1946
+ maxFeePerGas?: bigint;
1947
+ maxPriorityFeePerGas?: bigint;
1948
+ nonce?: number;
1949
+ value?: bigint;
1950
+ }): Promise<void>;
1951
+ /**
1952
+ * Simulate pause
1953
+ * Returns gas estimate and result without sending transaction
1954
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1955
+ */
1956
+ pause(options?: {
1957
+ accessList?: import("viem").AccessList;
1958
+ authorizationList?: import("viem").AuthorizationList;
1959
+ chain?: import("viem").Chain | null;
1960
+ dataSuffix?: `0x${string}`;
1961
+ gas?: bigint;
1962
+ gasPrice?: bigint;
1963
+ maxFeePerGas?: bigint;
1964
+ maxPriorityFeePerGas?: bigint;
1965
+ nonce?: number;
1966
+ value?: bigint;
1967
+ }): Promise<void>;
1968
+ /**
1969
+ * Simulate removeFromWhitelist
1970
+ * Returns gas estimate and result without sending transaction
1971
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1972
+ */
1973
+ removeFromWhitelist(user: `0x${string}`, options?: {
1974
+ accessList?: import("viem").AccessList;
1975
+ authorizationList?: import("viem").AuthorizationList;
1976
+ chain?: import("viem").Chain | null;
1977
+ dataSuffix?: `0x${string}`;
1978
+ gas?: bigint;
1979
+ gasPrice?: bigint;
1980
+ maxFeePerGas?: bigint;
1981
+ maxPriorityFeePerGas?: bigint;
1982
+ nonce?: number;
1983
+ value?: bigint;
1984
+ }): Promise<void>;
1985
+ /**
1986
+ * Simulate renounceOwnership
1987
+ * Returns gas estimate and result without sending transaction
1988
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1989
+ */
1990
+ renounceOwnership(options?: {
1991
+ accessList?: import("viem").AccessList;
1992
+ authorizationList?: import("viem").AuthorizationList;
1993
+ chain?: import("viem").Chain | null;
1994
+ dataSuffix?: `0x${string}`;
1995
+ gas?: bigint;
1996
+ gasPrice?: bigint;
1997
+ maxFeePerGas?: bigint;
1998
+ maxPriorityFeePerGas?: bigint;
1999
+ nonce?: number;
2000
+ value?: bigint;
2001
+ }): Promise<void>;
2002
+ /**
2003
+ * Simulate safeTransferFrom
2004
+ * Returns gas estimate and result without sending transaction
2005
+ * Supports multiple overloads: (address, address, uint256), (address, address, uint256, bytes)
2006
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2007
+ */
2008
+ safeTransferFrom(...args: any[]): Promise<any>;
2009
+ /**
2010
+ * Simulate setApprovalForAll
2011
+ * Returns gas estimate and result without sending transaction
2012
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2013
+ */
2014
+ setApprovalForAll(operator: `0x${string}`, approved: boolean, options?: {
2015
+ accessList?: import("viem").AccessList;
2016
+ authorizationList?: import("viem").AuthorizationList;
2017
+ chain?: import("viem").Chain | null;
2018
+ dataSuffix?: `0x${string}`;
2019
+ gas?: bigint;
2020
+ gasPrice?: bigint;
2021
+ maxFeePerGas?: bigint;
2022
+ maxPriorityFeePerGas?: bigint;
2023
+ nonce?: number;
2024
+ value?: bigint;
2025
+ }): Promise<void>;
2026
+ /**
2027
+ * Simulate setBaseTokenURI
2028
+ * Returns gas estimate and result without sending transaction
2029
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2030
+ */
2031
+ setBaseTokenURI(newBaseURI: string, options?: {
2032
+ accessList?: import("viem").AccessList;
2033
+ authorizationList?: import("viem").AuthorizationList;
2034
+ chain?: import("viem").Chain | null;
2035
+ dataSuffix?: `0x${string}`;
2036
+ gas?: bigint;
2037
+ gasPrice?: bigint;
2038
+ maxFeePerGas?: bigint;
2039
+ maxPriorityFeePerGas?: bigint;
2040
+ nonce?: number;
2041
+ value?: bigint;
2042
+ }): Promise<void>;
2043
+ /**
2044
+ * Simulate setMaxMintsPerAddress
2045
+ * Returns gas estimate and result without sending transaction
2046
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2047
+ */
2048
+ setMaxMintsPerAddress(newMax: bigint, options?: {
2049
+ accessList?: import("viem").AccessList;
2050
+ authorizationList?: import("viem").AuthorizationList;
2051
+ chain?: import("viem").Chain | null;
2052
+ dataSuffix?: `0x${string}`;
2053
+ gas?: bigint;
2054
+ gasPrice?: bigint;
2055
+ maxFeePerGas?: bigint;
2056
+ maxPriorityFeePerGas?: bigint;
2057
+ nonce?: number;
2058
+ value?: bigint;
2059
+ }): Promise<void>;
2060
+ /**
2061
+ * Simulate transferFrom
2062
+ * Returns gas estimate and result without sending transaction
2063
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2064
+ */
2065
+ transferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
2066
+ accessList?: import("viem").AccessList;
2067
+ authorizationList?: import("viem").AuthorizationList;
2068
+ chain?: import("viem").Chain | null;
2069
+ dataSuffix?: `0x${string}`;
2070
+ gas?: bigint;
2071
+ gasPrice?: bigint;
2072
+ maxFeePerGas?: bigint;
2073
+ maxPriorityFeePerGas?: bigint;
2074
+ nonce?: number;
2075
+ value?: bigint;
2076
+ }): Promise<void>;
2077
+ /**
2078
+ * Simulate transferOwnership
2079
+ * Returns gas estimate and result without sending transaction
2080
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2081
+ */
2082
+ transferOwnership(newOwner: `0x${string}`, options?: {
2083
+ accessList?: import("viem").AccessList;
2084
+ authorizationList?: import("viem").AuthorizationList;
2085
+ chain?: import("viem").Chain | null;
2086
+ dataSuffix?: `0x${string}`;
2087
+ gas?: bigint;
2088
+ gasPrice?: bigint;
2089
+ maxFeePerGas?: bigint;
2090
+ maxPriorityFeePerGas?: bigint;
2091
+ nonce?: number;
2092
+ value?: bigint;
2093
+ }): Promise<void>;
2094
+ /**
2095
+ * Simulate unpause
2096
+ * Returns gas estimate and result without sending transaction
2097
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2098
+ */
2099
+ unpause(options?: {
2100
+ accessList?: import("viem").AccessList;
2101
+ authorizationList?: import("viem").AuthorizationList;
2102
+ chain?: import("viem").Chain | null;
2103
+ dataSuffix?: `0x${string}`;
2104
+ gas?: bigint;
2105
+ gasPrice?: bigint;
2106
+ maxFeePerGas?: bigint;
2107
+ maxPriorityFeePerGas?: bigint;
2108
+ nonce?: number;
2109
+ value?: bigint;
2110
+ }): Promise<void>;
2111
+ /**
2112
+ * Simulate updateContributor1Wallet
2113
+ * Returns gas estimate and result without sending transaction
2114
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2115
+ */
2116
+ updateContributor1Wallet(newWallet: `0x${string}`, options?: {
2117
+ accessList?: import("viem").AccessList;
2118
+ authorizationList?: import("viem").AuthorizationList;
2119
+ chain?: import("viem").Chain | null;
2120
+ dataSuffix?: `0x${string}`;
2121
+ gas?: bigint;
2122
+ gasPrice?: bigint;
2123
+ maxFeePerGas?: bigint;
2124
+ maxPriorityFeePerGas?: bigint;
2125
+ nonce?: number;
2126
+ value?: bigint;
2127
+ }): Promise<void>;
2128
+ /**
2129
+ * Simulate updateContributor2Wallet
2130
+ * Returns gas estimate and result without sending transaction
2131
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2132
+ */
2133
+ updateContributor2Wallet(newWallet: `0x${string}`, options?: {
2134
+ accessList?: import("viem").AccessList;
2135
+ authorizationList?: import("viem").AuthorizationList;
2136
+ chain?: import("viem").Chain | null;
2137
+ dataSuffix?: `0x${string}`;
2138
+ gas?: bigint;
2139
+ gasPrice?: bigint;
2140
+ maxFeePerGas?: bigint;
2141
+ maxPriorityFeePerGas?: bigint;
2142
+ nonce?: number;
2143
+ value?: bigint;
2144
+ }): Promise<void>;
2145
+ /**
2146
+ * Simulate updateDevWallet
2147
+ * Returns gas estimate and result without sending transaction
2148
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2149
+ */
2150
+ updateDevWallet(newWallet: `0x${string}`, options?: {
2151
+ accessList?: import("viem").AccessList;
2152
+ authorizationList?: import("viem").AuthorizationList;
2153
+ chain?: import("viem").Chain | null;
2154
+ dataSuffix?: `0x${string}`;
2155
+ gas?: bigint;
2156
+ gasPrice?: bigint;
2157
+ maxFeePerGas?: bigint;
2158
+ maxPriorityFeePerGas?: bigint;
2159
+ nonce?: number;
2160
+ value?: bigint;
2161
+ }): Promise<void>;
2162
+ /**
2163
+ * Simulate updateGSTRate
2164
+ * Returns gas estimate and result without sending transaction
2165
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2166
+ */
2167
+ updateGSTRate(newRate: bigint, options?: {
2168
+ accessList?: import("viem").AccessList;
2169
+ authorizationList?: import("viem").AuthorizationList;
2170
+ chain?: import("viem").Chain | null;
2171
+ dataSuffix?: `0x${string}`;
2172
+ gas?: bigint;
2173
+ gasPrice?: bigint;
2174
+ maxFeePerGas?: bigint;
2175
+ maxPriorityFeePerGas?: bigint;
2176
+ nonce?: number;
2177
+ value?: bigint;
2178
+ }): Promise<void>;
2179
+ /**
2180
+ * Simulate updateGSTWallet
2181
+ * Returns gas estimate and result without sending transaction
2182
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2183
+ */
2184
+ updateGSTWallet(newWallet: `0x${string}`, options?: {
2185
+ accessList?: import("viem").AccessList;
2186
+ authorizationList?: import("viem").AuthorizationList;
2187
+ chain?: import("viem").Chain | null;
2188
+ dataSuffix?: `0x${string}`;
2189
+ gas?: bigint;
2190
+ gasPrice?: bigint;
2191
+ maxFeePerGas?: bigint;
2192
+ maxPriorityFeePerGas?: bigint;
2193
+ nonce?: number;
2194
+ value?: bigint;
2195
+ }): Promise<void>;
2196
+ /**
2197
+ * Simulate updateMintPrice
2198
+ * Returns gas estimate and result without sending transaction
2199
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2200
+ */
2201
+ updateMintPrice(newPriceETH: bigint, options?: {
2202
+ accessList?: import("viem").AccessList;
2203
+ authorizationList?: import("viem").AuthorizationList;
2204
+ chain?: import("viem").Chain | null;
2205
+ dataSuffix?: `0x${string}`;
2206
+ gas?: bigint;
2207
+ gasPrice?: bigint;
2208
+ maxFeePerGas?: bigint;
2209
+ maxPriorityFeePerGas?: bigint;
2210
+ nonce?: number;
2211
+ value?: bigint;
2212
+ }): Promise<void>;
2213
+ /**
2214
+ * Simulate updateTCGWallet
2215
+ * Returns gas estimate and result without sending transaction
2216
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2217
+ */
2218
+ updateTCGWallet(newWallet: `0x${string}`, options?: {
2219
+ accessList?: import("viem").AccessList;
2220
+ authorizationList?: import("viem").AuthorizationList;
2221
+ chain?: import("viem").Chain | null;
2222
+ dataSuffix?: `0x${string}`;
2223
+ gas?: bigint;
2224
+ gasPrice?: bigint;
2225
+ maxFeePerGas?: bigint;
2226
+ maxPriorityFeePerGas?: bigint;
2227
+ nonce?: number;
2228
+ value?: bigint;
2229
+ }): Promise<void>;
2230
+ /**
2231
+ * Simulate withdraw
2232
+ * Returns gas estimate and result without sending transaction
2233
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2234
+ */
2235
+ withdraw(options?: {
2236
+ accessList?: import("viem").AccessList;
2237
+ authorizationList?: import("viem").AuthorizationList;
2238
+ chain?: import("viem").Chain | null;
2239
+ dataSuffix?: `0x${string}`;
2240
+ gas?: bigint;
2241
+ gasPrice?: bigint;
2242
+ maxFeePerGas?: bigint;
2243
+ maxPriorityFeePerGas?: bigint;
2244
+ nonce?: number;
2245
+ value?: bigint;
2246
+ }): Promise<void>;
2247
+ };
2248
+ /**
2249
+ * Watch contract events
2250
+ *
2251
+ * @example
2252
+ * // Watch all Transfer events
2253
+ * const unwatch = contract.watch.Transfer((event) => {
2254
+ * console.log('Transfer:', event);
2255
+ * });
2256
+ *
2257
+ * // Stop watching
2258
+ * unwatch();
2259
+ */
2260
+ get watch(): {
2261
+ /**
2262
+ * Watch Approval events
2263
+ * @param callback Function to call when event is emitted
2264
+ * @param filter Optional filter for indexed parameters
2265
+ * @returns Unwatch function to stop listening
2266
+ */
2267
+ Approval: (callback: (event: {
2268
+ owner: `0x${string}`;
2269
+ approved: `0x${string}`;
2270
+ tokenId: bigint;
2271
+ }) => void, filter?: {
2272
+ owner: `0x${string}`;
2273
+ approved: `0x${string}`;
2274
+ tokenId: bigint;
2275
+ }) => () => void;
2276
+ /**
2277
+ * Watch ApprovalForAll events
2278
+ * @param callback Function to call when event is emitted
2279
+ * @param filter Optional filter for indexed parameters
2280
+ * @returns Unwatch function to stop listening
2281
+ */
2282
+ ApprovalForAll: (callback: (event: {
2283
+ owner: `0x${string}`;
2284
+ operator: `0x${string}`;
2285
+ approved: boolean;
2286
+ }) => void, filter?: {
2287
+ owner: `0x${string}`;
2288
+ operator: `0x${string}`;
2289
+ }) => () => void;
2290
+ /**
2291
+ * Watch BaseTokenURIUpdated events
2292
+ * @param callback Function to call when event is emitted
2293
+ * @param filter Optional filter for indexed parameters
2294
+ * @returns Unwatch function to stop listening
2295
+ */
2296
+ BaseTokenURIUpdated: (callback: (event: {
2297
+ newBaseURI: string;
2298
+ }) => void) => () => void;
2299
+ /**
2300
+ * Watch BatchMetadataUpdate events
2301
+ * @param callback Function to call when event is emitted
2302
+ * @param filter Optional filter for indexed parameters
2303
+ * @returns Unwatch function to stop listening
2304
+ */
2305
+ BatchMetadataUpdate: (callback: (event: {
2306
+ _fromTokenId: bigint;
2307
+ _toTokenId: bigint;
2308
+ }) => void) => () => void;
2309
+ /**
2310
+ * Watch Contributor1WalletUpdated events
2311
+ * @param callback Function to call when event is emitted
2312
+ * @param filter Optional filter for indexed parameters
2313
+ * @returns Unwatch function to stop listening
2314
+ */
2315
+ Contributor1WalletUpdated: (callback: (event: {
2316
+ oldWallet: `0x${string}`;
2317
+ newWallet: `0x${string}`;
2318
+ }) => void, filter?: {
2319
+ oldWallet: `0x${string}`;
2320
+ newWallet: `0x${string}`;
2321
+ }) => () => void;
2322
+ /**
2323
+ * Watch Contributor2WalletUpdated events
2324
+ * @param callback Function to call when event is emitted
2325
+ * @param filter Optional filter for indexed parameters
2326
+ * @returns Unwatch function to stop listening
2327
+ */
2328
+ Contributor2WalletUpdated: (callback: (event: {
2329
+ oldWallet: `0x${string}`;
2330
+ newWallet: `0x${string}`;
2331
+ }) => void, filter?: {
2332
+ oldWallet: `0x${string}`;
2333
+ newWallet: `0x${string}`;
2334
+ }) => () => void;
2335
+ /**
2336
+ * Watch DevWalletUpdated events
2337
+ * @param callback Function to call when event is emitted
2338
+ * @param filter Optional filter for indexed parameters
2339
+ * @returns Unwatch function to stop listening
2340
+ */
2341
+ DevWalletUpdated: (callback: (event: {
2342
+ oldWallet: `0x${string}`;
2343
+ newWallet: `0x${string}`;
2344
+ }) => void, filter?: {
2345
+ oldWallet: `0x${string}`;
2346
+ newWallet: `0x${string}`;
2347
+ }) => () => void;
2348
+ /**
2349
+ * Watch FreeMembershipMinted events
2350
+ * @param callback Function to call when event is emitted
2351
+ * @param filter Optional filter for indexed parameters
2352
+ * @returns Unwatch function to stop listening
2353
+ */
2354
+ FreeMembershipMinted: (callback: (event: {
2355
+ minter: `0x${string}`;
2356
+ tokenId: bigint;
2357
+ }) => void, filter?: {
2358
+ minter: `0x${string}`;
2359
+ tokenId: bigint;
2360
+ }) => () => void;
2361
+ /**
2362
+ * Watch GSTRateUpdated events
2363
+ * @param callback Function to call when event is emitted
2364
+ * @param filter Optional filter for indexed parameters
2365
+ * @returns Unwatch function to stop listening
2366
+ */
2367
+ GSTRateUpdated: (callback: (event: {
2368
+ newRate: bigint;
2369
+ }) => void) => () => void;
2370
+ /**
2371
+ * Watch GSTWalletUpdated events
2372
+ * @param callback Function to call when event is emitted
2373
+ * @param filter Optional filter for indexed parameters
2374
+ * @returns Unwatch function to stop listening
2375
+ */
2376
+ GSTWalletUpdated: (callback: (event: {
2377
+ oldWallet: `0x${string}`;
2378
+ newWallet: `0x${string}`;
2379
+ }) => void, filter?: {
2380
+ oldWallet: `0x${string}`;
2381
+ newWallet: `0x${string}`;
2382
+ }) => () => void;
2383
+ /**
2384
+ * Watch GST_Collected events
2385
+ * @param callback Function to call when event is emitted
2386
+ * @param filter Optional filter for indexed parameters
2387
+ * @returns Unwatch function to stop listening
2388
+ */
2389
+ GST_Collected: (callback: (event: {
2390
+ payer: `0x${string}`;
2391
+ gstAmount: bigint;
2392
+ }) => void, filter?: {
2393
+ payer: `0x${string}`;
2394
+ }) => () => void;
2395
+ /**
2396
+ * Watch MaxMintsUpdated events
2397
+ * @param callback Function to call when event is emitted
2398
+ * @param filter Optional filter for indexed parameters
2399
+ * @returns Unwatch function to stop listening
2400
+ */
2401
+ MaxMintsUpdated: (callback: (event: {
2402
+ newMax: bigint;
2403
+ }) => void) => () => void;
2404
+ /**
2405
+ * Watch MembershipMinted events
2406
+ * @param callback Function to call when event is emitted
2407
+ * @param filter Optional filter for indexed parameters
2408
+ * @returns Unwatch function to stop listening
2409
+ */
2410
+ MembershipMinted: (callback: (event: {
2411
+ minter: `0x${string}`;
2412
+ tokenId: bigint;
2413
+ totalPaid: bigint;
2414
+ gstAmount: bigint;
2415
+ isAustralian: boolean;
2416
+ }) => void, filter?: {
2417
+ minter: `0x${string}`;
2418
+ tokenId: bigint;
2419
+ }) => () => void;
2420
+ /**
2421
+ * Watch MetadataUpdate events
2422
+ * @param callback Function to call when event is emitted
2423
+ * @param filter Optional filter for indexed parameters
2424
+ * @returns Unwatch function to stop listening
2425
+ */
2426
+ MetadataUpdate: (callback: (event: {
2427
+ _tokenId: bigint;
2428
+ }) => void) => () => void;
2429
+ /**
2430
+ * Watch OwnershipTransferStarted events
2431
+ * @param callback Function to call when event is emitted
2432
+ * @param filter Optional filter for indexed parameters
2433
+ * @returns Unwatch function to stop listening
2434
+ */
2435
+ OwnershipTransferStarted: (callback: (event: {
2436
+ previousOwner: `0x${string}`;
2437
+ newOwner: `0x${string}`;
2438
+ }) => void, filter?: {
2439
+ previousOwner: `0x${string}`;
2440
+ newOwner: `0x${string}`;
2441
+ }) => () => void;
2442
+ /**
2443
+ * Watch OwnershipTransferred events
2444
+ * @param callback Function to call when event is emitted
2445
+ * @param filter Optional filter for indexed parameters
2446
+ * @returns Unwatch function to stop listening
2447
+ */
2448
+ OwnershipTransferred: (callback: (event: {
2449
+ previousOwner: `0x${string}`;
2450
+ newOwner: `0x${string}`;
2451
+ }) => void, filter?: {
2452
+ previousOwner: `0x${string}`;
2453
+ newOwner: `0x${string}`;
2454
+ }) => () => void;
2455
+ /**
2456
+ * Watch Paused events
2457
+ * @param callback Function to call when event is emitted
2458
+ * @param filter Optional filter for indexed parameters
2459
+ * @returns Unwatch function to stop listening
2460
+ */
2461
+ Paused: (callback: (event: {
2462
+ account: `0x${string}`;
2463
+ }) => void) => () => void;
2464
+ /**
2465
+ * Watch PriceUpdated events
2466
+ * @param callback Function to call when event is emitted
2467
+ * @param filter Optional filter for indexed parameters
2468
+ * @returns Unwatch function to stop listening
2469
+ */
2470
+ PriceUpdated: (callback: (event: {
2471
+ newPriceETH: bigint;
2472
+ }) => void) => () => void;
2473
+ /**
2474
+ * Watch TCGWalletUpdated events
2475
+ * @param callback Function to call when event is emitted
2476
+ * @param filter Optional filter for indexed parameters
2477
+ * @returns Unwatch function to stop listening
2478
+ */
2479
+ TCGWalletUpdated: (callback: (event: {
2480
+ oldWallet: `0x${string}`;
2481
+ newWallet: `0x${string}`;
2482
+ }) => void, filter?: {
2483
+ oldWallet: `0x${string}`;
2484
+ newWallet: `0x${string}`;
2485
+ }) => () => void;
2486
+ /**
2487
+ * Watch Transfer events
2488
+ * @param callback Function to call when event is emitted
2489
+ * @param filter Optional filter for indexed parameters
2490
+ * @returns Unwatch function to stop listening
2491
+ */
2492
+ Transfer: (callback: (event: {
2493
+ from: `0x${string}`;
2494
+ to: `0x${string}`;
2495
+ tokenId: bigint;
2496
+ }) => void, filter?: {
2497
+ from: `0x${string}`;
2498
+ to: `0x${string}`;
2499
+ tokenId: bigint;
2500
+ }) => () => void;
2501
+ /**
2502
+ * Watch Unpaused events
2503
+ * @param callback Function to call when event is emitted
2504
+ * @param filter Optional filter for indexed parameters
2505
+ * @returns Unwatch function to stop listening
2506
+ */
2507
+ Unpaused: (callback: (event: {
2508
+ account: `0x${string}`;
2509
+ }) => void) => () => void;
2510
+ /**
2511
+ * Watch WhitelistAdded events
2512
+ * @param callback Function to call when event is emitted
2513
+ * @param filter Optional filter for indexed parameters
2514
+ * @returns Unwatch function to stop listening
2515
+ */
2516
+ WhitelistAdded: (callback: (event: {
2517
+ user: `0x${string}`;
2518
+ }) => void, filter?: {
2519
+ user: `0x${string}`;
2520
+ }) => () => void;
2521
+ /**
2522
+ * Watch WhitelistRemoved events
2523
+ * @param callback Function to call when event is emitted
2524
+ * @param filter Optional filter for indexed parameters
2525
+ * @returns Unwatch function to stop listening
2526
+ */
2527
+ WhitelistRemoved: (callback: (event: {
2528
+ user: `0x${string}`;
2529
+ }) => void, filter?: {
2530
+ user: `0x${string}`;
2531
+ }) => () => void;
2532
+ /**
2533
+ * Watch Withdrawal events
2534
+ * @param callback Function to call when event is emitted
2535
+ * @param filter Optional filter for indexed parameters
2536
+ * @returns Unwatch function to stop listening
2537
+ */
2538
+ Withdrawal: (callback: (event: {
2539
+ recipient: `0x${string}`;
2540
+ amount: bigint;
2541
+ }) => void, filter?: {
2542
+ recipient: `0x${string}`;
2543
+ }) => () => void;
2544
+ };
2545
+ }