@gitmyabi/quirkiesimplementationv8 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,2005 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * CollectionSecurityPolicy struct type
4
+ */
5
+ export type CollectionSecurityPolicy = {
6
+ transferSecurityLevel: bigint;
7
+ operatorWhitelistId: bigint;
8
+ permittedContractReceiversId: bigint;
9
+ };
10
+ /**
11
+ * QuirkiesImplementationV8_json ABI
12
+ *
13
+ * This ABI is typed using viem's type system for full type safety.
14
+ */
15
+ export declare const QuirkiesImplementationV8_jsonAbi: readonly [{
16
+ readonly inputs: readonly [];
17
+ readonly name: "CreatorTokenBase__InvalidTransferValidatorContract";
18
+ readonly type: "error";
19
+ }, {
20
+ readonly inputs: readonly [];
21
+ readonly name: "CreatorTokenBase__SetTransferValidatorFirst";
22
+ readonly type: "error";
23
+ }, {
24
+ readonly inputs: readonly [];
25
+ readonly name: "ErrAlreadySetupValidator";
26
+ readonly type: "error";
27
+ }, {
28
+ readonly inputs: readonly [];
29
+ readonly name: "ErrNotOwner";
30
+ readonly type: "error";
31
+ }, {
32
+ readonly inputs: readonly [];
33
+ readonly name: "ErrNotStaked";
34
+ readonly type: "error";
35
+ }, {
36
+ readonly inputs: readonly [];
37
+ readonly name: "ErrStaked";
38
+ readonly type: "error";
39
+ }, {
40
+ readonly inputs: readonly [];
41
+ readonly name: "ErrSuspended";
42
+ readonly type: "error";
43
+ }, {
44
+ readonly inputs: readonly [];
45
+ readonly name: "ErrUnauthorizedStaker";
46
+ readonly type: "error";
47
+ }, {
48
+ readonly inputs: readonly [];
49
+ readonly name: "ShouldNotMintToBurnAddress";
50
+ readonly type: "error";
51
+ }, {
52
+ readonly anonymous: false;
53
+ readonly inputs: readonly [{
54
+ readonly indexed: true;
55
+ readonly internalType: "address";
56
+ readonly name: "owner";
57
+ readonly type: "address";
58
+ }, {
59
+ readonly indexed: true;
60
+ readonly internalType: "address";
61
+ readonly name: "approved";
62
+ readonly type: "address";
63
+ }, {
64
+ readonly indexed: true;
65
+ readonly internalType: "uint256";
66
+ readonly name: "tokenId";
67
+ readonly type: "uint256";
68
+ }];
69
+ readonly name: "Approval";
70
+ readonly type: "event";
71
+ }, {
72
+ readonly anonymous: false;
73
+ readonly inputs: readonly [{
74
+ readonly indexed: true;
75
+ readonly internalType: "address";
76
+ readonly name: "owner";
77
+ readonly type: "address";
78
+ }, {
79
+ readonly indexed: true;
80
+ readonly internalType: "address";
81
+ readonly name: "operator";
82
+ readonly type: "address";
83
+ }, {
84
+ readonly indexed: false;
85
+ readonly internalType: "bool";
86
+ readonly name: "approved";
87
+ readonly type: "bool";
88
+ }];
89
+ readonly name: "ApprovalForAll";
90
+ readonly type: "event";
91
+ }, {
92
+ readonly anonymous: false;
93
+ readonly inputs: readonly [{
94
+ readonly indexed: false;
95
+ readonly internalType: "uint8";
96
+ readonly name: "version";
97
+ readonly type: "uint8";
98
+ }];
99
+ readonly name: "Initialized";
100
+ readonly type: "event";
101
+ }, {
102
+ readonly anonymous: false;
103
+ readonly inputs: readonly [{
104
+ readonly indexed: true;
105
+ readonly internalType: "address";
106
+ readonly name: "previousOwner";
107
+ readonly type: "address";
108
+ }, {
109
+ readonly indexed: true;
110
+ readonly internalType: "address";
111
+ readonly name: "newOwner";
112
+ readonly type: "address";
113
+ }];
114
+ readonly name: "OwnershipTransferred";
115
+ readonly type: "event";
116
+ }, {
117
+ readonly anonymous: false;
118
+ readonly inputs: readonly [{
119
+ readonly indexed: false;
120
+ readonly internalType: "uint256[]";
121
+ readonly name: "tokenIDs";
122
+ readonly type: "uint256[]";
123
+ }];
124
+ readonly name: "TokensSuspended";
125
+ readonly type: "event";
126
+ }, {
127
+ readonly anonymous: false;
128
+ readonly inputs: readonly [{
129
+ readonly indexed: false;
130
+ readonly internalType: "uint256[]";
131
+ readonly name: "tokenIDs";
132
+ readonly type: "uint256[]";
133
+ }];
134
+ readonly name: "TokensUnsuspended";
135
+ readonly type: "event";
136
+ }, {
137
+ readonly anonymous: false;
138
+ readonly inputs: readonly [{
139
+ readonly indexed: true;
140
+ readonly internalType: "address";
141
+ readonly name: "from";
142
+ readonly type: "address";
143
+ }, {
144
+ readonly indexed: true;
145
+ readonly internalType: "address";
146
+ readonly name: "to";
147
+ readonly type: "address";
148
+ }, {
149
+ readonly indexed: true;
150
+ readonly internalType: "uint256";
151
+ readonly name: "tokenId";
152
+ readonly type: "uint256";
153
+ }];
154
+ readonly name: "Transfer";
155
+ readonly type: "event";
156
+ }, {
157
+ readonly anonymous: false;
158
+ readonly inputs: readonly [{
159
+ readonly indexed: false;
160
+ readonly internalType: "address";
161
+ readonly name: "oldValidator";
162
+ readonly type: "address";
163
+ }, {
164
+ readonly indexed: false;
165
+ readonly internalType: "address";
166
+ readonly name: "newValidator";
167
+ readonly type: "address";
168
+ }];
169
+ readonly name: "TransferValidatorUpdated";
170
+ readonly type: "event";
171
+ }, {
172
+ readonly inputs: readonly [];
173
+ readonly name: "DEFAULT_OPERATOR_WHITELIST_ID";
174
+ readonly outputs: readonly [{
175
+ readonly internalType: "uint120";
176
+ readonly name: "";
177
+ readonly type: "uint120";
178
+ }];
179
+ readonly stateMutability: "view";
180
+ readonly type: "function";
181
+ }, {
182
+ readonly inputs: readonly [];
183
+ readonly name: "DEFAULT_TRANSFER_SECURITY_LEVEL";
184
+ readonly outputs: readonly [{
185
+ readonly internalType: "enum TransferSecurityLevels";
186
+ readonly name: "";
187
+ readonly type: "uint8";
188
+ }];
189
+ readonly stateMutability: "view";
190
+ readonly type: "function";
191
+ }, {
192
+ readonly inputs: readonly [];
193
+ readonly name: "DEFAULT_TRANSFER_VALIDATOR";
194
+ readonly outputs: readonly [{
195
+ readonly internalType: "address";
196
+ readonly name: "";
197
+ readonly type: "address";
198
+ }];
199
+ readonly stateMutability: "view";
200
+ readonly type: "function";
201
+ }, {
202
+ readonly inputs: readonly [{
203
+ readonly internalType: "address";
204
+ readonly name: "account_";
205
+ readonly type: "address";
206
+ }];
207
+ readonly name: "addAccountToAuthorizers";
208
+ readonly outputs: readonly [];
209
+ readonly stateMutability: "nonpayable";
210
+ readonly type: "function";
211
+ }, {
212
+ readonly inputs: readonly [{
213
+ readonly internalType: "address[]";
214
+ readonly name: "accounts_";
215
+ readonly type: "address[]";
216
+ }];
217
+ readonly name: "addAccountsToAuthorizers";
218
+ readonly outputs: readonly [];
219
+ readonly stateMutability: "nonpayable";
220
+ readonly type: "function";
221
+ }, {
222
+ readonly inputs: readonly [{
223
+ readonly internalType: "address[]";
224
+ readonly name: "addrs_";
225
+ readonly type: "address[]";
226
+ }];
227
+ readonly name: "addToWhitelist";
228
+ readonly outputs: readonly [];
229
+ readonly stateMutability: "nonpayable";
230
+ readonly type: "function";
231
+ }, {
232
+ readonly inputs: readonly [{
233
+ readonly internalType: "address";
234
+ readonly name: "to";
235
+ readonly type: "address";
236
+ }, {
237
+ readonly internalType: "uint256";
238
+ readonly name: "tokenId";
239
+ readonly type: "uint256";
240
+ }];
241
+ readonly name: "approve";
242
+ readonly outputs: readonly [];
243
+ readonly stateMutability: "nonpayable";
244
+ readonly type: "function";
245
+ }, {
246
+ readonly inputs: readonly [{
247
+ readonly internalType: "uint256[]";
248
+ readonly name: "tokenIDs_";
249
+ readonly type: "uint256[]";
250
+ }];
251
+ readonly name: "areSuspended";
252
+ readonly outputs: readonly [{
253
+ readonly internalType: "bool[]";
254
+ readonly name: "";
255
+ readonly type: "bool[]";
256
+ }];
257
+ readonly stateMutability: "view";
258
+ readonly type: "function";
259
+ }, {
260
+ readonly inputs: readonly [{
261
+ readonly internalType: "address";
262
+ readonly name: "owner";
263
+ readonly type: "address";
264
+ }];
265
+ readonly name: "balanceOf";
266
+ readonly outputs: readonly [{
267
+ readonly internalType: "uint256";
268
+ readonly name: "";
269
+ readonly type: "uint256";
270
+ }];
271
+ readonly stateMutability: "view";
272
+ readonly type: "function";
273
+ }, {
274
+ readonly inputs: readonly [];
275
+ readonly name: "baseURI";
276
+ readonly outputs: readonly [{
277
+ readonly internalType: "string";
278
+ readonly name: "";
279
+ readonly type: "string";
280
+ }];
281
+ readonly stateMutability: "view";
282
+ readonly type: "function";
283
+ }, {
284
+ readonly inputs: readonly [{
285
+ readonly internalType: "uint256";
286
+ readonly name: "tokenId";
287
+ readonly type: "uint256";
288
+ }];
289
+ readonly name: "getApproved";
290
+ readonly outputs: readonly [{
291
+ readonly internalType: "address";
292
+ readonly name: "";
293
+ readonly type: "address";
294
+ }];
295
+ readonly stateMutability: "view";
296
+ readonly type: "function";
297
+ }, {
298
+ readonly inputs: readonly [];
299
+ readonly name: "getPermittedContractReceivers";
300
+ readonly outputs: readonly [{
301
+ readonly internalType: "address[]";
302
+ readonly name: "";
303
+ readonly type: "address[]";
304
+ }];
305
+ readonly stateMutability: "view";
306
+ readonly type: "function";
307
+ }, {
308
+ readonly inputs: readonly [];
309
+ readonly name: "getSecurityPolicy";
310
+ readonly outputs: readonly [{
311
+ readonly components: readonly [{
312
+ readonly internalType: "enum TransferSecurityLevels";
313
+ readonly name: "transferSecurityLevel";
314
+ readonly type: "uint8";
315
+ }, {
316
+ readonly internalType: "uint120";
317
+ readonly name: "operatorWhitelistId";
318
+ readonly type: "uint120";
319
+ }, {
320
+ readonly internalType: "uint120";
321
+ readonly name: "permittedContractReceiversId";
322
+ readonly type: "uint120";
323
+ }];
324
+ readonly internalType: "struct CollectionSecurityPolicy";
325
+ readonly name: "";
326
+ readonly type: "tuple";
327
+ }];
328
+ readonly stateMutability: "view";
329
+ readonly type: "function";
330
+ }, {
331
+ readonly inputs: readonly [];
332
+ readonly name: "getTransferValidationFunction";
333
+ readonly outputs: readonly [{
334
+ readonly internalType: "bytes4";
335
+ readonly name: "functionSignature";
336
+ readonly type: "bytes4";
337
+ }, {
338
+ readonly internalType: "bool";
339
+ readonly name: "isViewFunction";
340
+ readonly type: "bool";
341
+ }];
342
+ readonly stateMutability: "pure";
343
+ readonly type: "function";
344
+ }, {
345
+ readonly inputs: readonly [];
346
+ readonly name: "getTransferValidator";
347
+ readonly outputs: readonly [{
348
+ readonly internalType: "address";
349
+ readonly name: "";
350
+ readonly type: "address";
351
+ }];
352
+ readonly stateMutability: "view";
353
+ readonly type: "function";
354
+ }, {
355
+ readonly inputs: readonly [];
356
+ readonly name: "getWhitelistedOperators";
357
+ readonly outputs: readonly [{
358
+ readonly internalType: "address[]";
359
+ readonly name: "";
360
+ readonly type: "address[]";
361
+ }];
362
+ readonly stateMutability: "view";
363
+ readonly type: "function";
364
+ }, {
365
+ readonly inputs: readonly [{
366
+ readonly internalType: "address";
367
+ readonly name: "quirkiesV1Address_";
368
+ readonly type: "address";
369
+ }, {
370
+ readonly internalType: "string";
371
+ readonly name: "baseURI_";
372
+ readonly type: "string";
373
+ }, {
374
+ readonly internalType: "address";
375
+ readonly name: "teamWallet_";
376
+ readonly type: "address";
377
+ }];
378
+ readonly name: "initialize";
379
+ readonly outputs: readonly [];
380
+ readonly stateMutability: "nonpayable";
381
+ readonly type: "function";
382
+ }, {
383
+ readonly inputs: readonly [{
384
+ readonly internalType: "address";
385
+ readonly name: "owner";
386
+ readonly type: "address";
387
+ }, {
388
+ readonly internalType: "address";
389
+ readonly name: "operator";
390
+ readonly type: "address";
391
+ }];
392
+ readonly name: "isApprovedForAll";
393
+ readonly outputs: readonly [{
394
+ readonly internalType: "bool";
395
+ readonly name: "";
396
+ readonly type: "bool";
397
+ }];
398
+ readonly stateMutability: "view";
399
+ readonly type: "function";
400
+ }, {
401
+ readonly inputs: readonly [{
402
+ readonly internalType: "address";
403
+ readonly name: "receiver";
404
+ readonly type: "address";
405
+ }];
406
+ readonly name: "isContractReceiverPermitted";
407
+ readonly outputs: readonly [{
408
+ readonly internalType: "bool";
409
+ readonly name: "";
410
+ readonly type: "bool";
411
+ }];
412
+ readonly stateMutability: "view";
413
+ readonly type: "function";
414
+ }, {
415
+ readonly inputs: readonly [{
416
+ readonly internalType: "address";
417
+ readonly name: "operator";
418
+ readonly type: "address";
419
+ }];
420
+ readonly name: "isOperatorWhitelisted";
421
+ readonly outputs: readonly [{
422
+ readonly internalType: "bool";
423
+ readonly name: "";
424
+ readonly type: "bool";
425
+ }];
426
+ readonly stateMutability: "view";
427
+ readonly type: "function";
428
+ }, {
429
+ readonly inputs: readonly [{
430
+ readonly internalType: "uint256";
431
+ readonly name: "tokenID_";
432
+ readonly type: "uint256";
433
+ }];
434
+ readonly name: "isStaked";
435
+ readonly outputs: readonly [{
436
+ readonly internalType: "bool";
437
+ readonly name: "";
438
+ readonly type: "bool";
439
+ }];
440
+ readonly stateMutability: "view";
441
+ readonly type: "function";
442
+ }, {
443
+ readonly inputs: readonly [{
444
+ readonly internalType: "address";
445
+ readonly name: "address_";
446
+ readonly type: "address";
447
+ }];
448
+ readonly name: "isStakingContract";
449
+ readonly outputs: readonly [{
450
+ readonly internalType: "bool";
451
+ readonly name: "";
452
+ readonly type: "bool";
453
+ }];
454
+ readonly stateMutability: "view";
455
+ readonly type: "function";
456
+ }, {
457
+ readonly inputs: readonly [{
458
+ readonly internalType: "uint256";
459
+ readonly name: "tokenID_";
460
+ readonly type: "uint256";
461
+ }];
462
+ readonly name: "isSuspended";
463
+ readonly outputs: readonly [{
464
+ readonly internalType: "bool";
465
+ readonly name: "";
466
+ readonly type: "bool";
467
+ }];
468
+ readonly stateMutability: "view";
469
+ readonly type: "function";
470
+ }, {
471
+ readonly inputs: readonly [{
472
+ readonly internalType: "address";
473
+ readonly name: "caller";
474
+ readonly type: "address";
475
+ }, {
476
+ readonly internalType: "address";
477
+ readonly name: "from";
478
+ readonly type: "address";
479
+ }, {
480
+ readonly internalType: "address";
481
+ readonly name: "to";
482
+ readonly type: "address";
483
+ }];
484
+ readonly name: "isTransferAllowed";
485
+ readonly outputs: readonly [{
486
+ readonly internalType: "bool";
487
+ readonly name: "";
488
+ readonly type: "bool";
489
+ }];
490
+ readonly stateMutability: "view";
491
+ readonly type: "function";
492
+ }, {
493
+ readonly inputs: readonly [];
494
+ readonly name: "name";
495
+ readonly outputs: readonly [{
496
+ readonly internalType: "string";
497
+ readonly name: "";
498
+ readonly type: "string";
499
+ }];
500
+ readonly stateMutability: "view";
501
+ readonly type: "function";
502
+ }, {
503
+ readonly inputs: readonly [];
504
+ readonly name: "operatorWhitelistID";
505
+ readonly outputs: readonly [{
506
+ readonly internalType: "uint256";
507
+ readonly name: "";
508
+ readonly type: "uint256";
509
+ }];
510
+ readonly stateMutability: "view";
511
+ readonly type: "function";
512
+ }, {
513
+ readonly inputs: readonly [];
514
+ readonly name: "owner";
515
+ readonly outputs: readonly [{
516
+ readonly internalType: "address";
517
+ readonly name: "";
518
+ readonly type: "address";
519
+ }];
520
+ readonly stateMutability: "view";
521
+ readonly type: "function";
522
+ }, {
523
+ readonly inputs: readonly [{
524
+ readonly internalType: "uint256";
525
+ readonly name: "tokenId";
526
+ readonly type: "uint256";
527
+ }];
528
+ readonly name: "ownerOf";
529
+ readonly outputs: readonly [{
530
+ readonly internalType: "address";
531
+ readonly name: "";
532
+ readonly type: "address";
533
+ }];
534
+ readonly stateMutability: "view";
535
+ readonly type: "function";
536
+ }, {
537
+ readonly inputs: readonly [{
538
+ readonly internalType: "address";
539
+ readonly name: "account_";
540
+ readonly type: "address";
541
+ }];
542
+ readonly name: "removeAccountFromAuthorizers";
543
+ readonly outputs: readonly [];
544
+ readonly stateMutability: "nonpayable";
545
+ readonly type: "function";
546
+ }, {
547
+ readonly inputs: readonly [{
548
+ readonly internalType: "address[]";
549
+ readonly name: "accounts_";
550
+ readonly type: "address[]";
551
+ }];
552
+ readonly name: "removeAccountsFromAuthorizers";
553
+ readonly outputs: readonly [];
554
+ readonly stateMutability: "nonpayable";
555
+ readonly type: "function";
556
+ }, {
557
+ readonly inputs: readonly [{
558
+ readonly internalType: "address[]";
559
+ readonly name: "addrs_";
560
+ readonly type: "address[]";
561
+ }];
562
+ readonly name: "removeFromWhitelist";
563
+ readonly outputs: readonly [];
564
+ readonly stateMutability: "nonpayable";
565
+ readonly type: "function";
566
+ }, {
567
+ readonly inputs: readonly [];
568
+ readonly name: "renounceOwnership";
569
+ readonly outputs: readonly [];
570
+ readonly stateMutability: "nonpayable";
571
+ readonly type: "function";
572
+ }, {
573
+ readonly inputs: readonly [{
574
+ readonly internalType: "uint256";
575
+ readonly name: "_tokenId";
576
+ readonly type: "uint256";
577
+ }, {
578
+ readonly internalType: "uint256";
579
+ readonly name: "_salePrice";
580
+ readonly type: "uint256";
581
+ }];
582
+ readonly name: "royaltyInfo";
583
+ readonly outputs: readonly [{
584
+ readonly internalType: "address";
585
+ readonly name: "";
586
+ readonly type: "address";
587
+ }, {
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 internalType: "address";
597
+ readonly name: "from";
598
+ readonly type: "address";
599
+ }, {
600
+ readonly internalType: "address";
601
+ readonly name: "to";
602
+ readonly type: "address";
603
+ }, {
604
+ readonly internalType: "uint256";
605
+ readonly name: "tokenId";
606
+ readonly type: "uint256";
607
+ }];
608
+ readonly name: "safeTransferFrom";
609
+ readonly outputs: readonly [];
610
+ readonly stateMutability: "nonpayable";
611
+ readonly type: "function";
612
+ }, {
613
+ readonly inputs: readonly [{
614
+ readonly internalType: "address";
615
+ readonly name: "from";
616
+ readonly type: "address";
617
+ }, {
618
+ readonly internalType: "address";
619
+ readonly name: "to";
620
+ readonly type: "address";
621
+ }, {
622
+ readonly internalType: "uint256";
623
+ readonly name: "tokenId";
624
+ readonly type: "uint256";
625
+ }, {
626
+ readonly internalType: "bytes";
627
+ readonly name: "data";
628
+ readonly type: "bytes";
629
+ }];
630
+ readonly name: "safeTransferFrom";
631
+ readonly outputs: readonly [];
632
+ readonly stateMutability: "nonpayable";
633
+ readonly type: "function";
634
+ }, {
635
+ readonly inputs: readonly [{
636
+ readonly internalType: "address";
637
+ readonly name: "operator";
638
+ readonly type: "address";
639
+ }, {
640
+ readonly internalType: "bool";
641
+ readonly name: "approved";
642
+ readonly type: "bool";
643
+ }];
644
+ readonly name: "setApprovalForAll";
645
+ readonly outputs: readonly [];
646
+ readonly stateMutability: "nonpayable";
647
+ readonly type: "function";
648
+ }, {
649
+ readonly inputs: readonly [{
650
+ readonly internalType: "string";
651
+ readonly name: "baseURI_";
652
+ readonly type: "string";
653
+ }];
654
+ readonly name: "setBaseURI";
655
+ readonly outputs: readonly [];
656
+ readonly stateMutability: "nonpayable";
657
+ readonly type: "function";
658
+ }, {
659
+ readonly inputs: readonly [{
660
+ readonly internalType: "address";
661
+ readonly name: "receiver";
662
+ readonly type: "address";
663
+ }, {
664
+ readonly internalType: "uint96";
665
+ readonly name: "feeNumerator";
666
+ readonly type: "uint96";
667
+ }];
668
+ readonly name: "setDefaultRoyalty";
669
+ readonly outputs: readonly [];
670
+ readonly stateMutability: "nonpayable";
671
+ readonly type: "function";
672
+ }, {
673
+ readonly inputs: readonly [{
674
+ readonly internalType: "uint256";
675
+ readonly name: "tokenID_";
676
+ readonly type: "uint256";
677
+ }, {
678
+ readonly internalType: "bool";
679
+ readonly name: "staked_";
680
+ readonly type: "bool";
681
+ }];
682
+ readonly name: "setStaked";
683
+ readonly outputs: readonly [];
684
+ readonly stateMutability: "nonpayable";
685
+ readonly type: "function";
686
+ }, {
687
+ readonly inputs: readonly [{
688
+ readonly internalType: "string";
689
+ readonly name: "stakedBaseURI_";
690
+ readonly type: "string";
691
+ }];
692
+ readonly name: "setStakedBaseURI";
693
+ readonly outputs: readonly [];
694
+ readonly stateMutability: "nonpayable";
695
+ readonly type: "function";
696
+ }, {
697
+ readonly inputs: readonly [{
698
+ readonly internalType: "address";
699
+ readonly name: "stakingContract_";
700
+ readonly type: "address";
701
+ }, {
702
+ readonly internalType: "bool";
703
+ readonly name: "isStakingContract_";
704
+ readonly type: "bool";
705
+ }];
706
+ readonly name: "setStakingContract";
707
+ readonly outputs: readonly [];
708
+ readonly stateMutability: "nonpayable";
709
+ readonly type: "function";
710
+ }, {
711
+ readonly inputs: readonly [{
712
+ readonly internalType: "uint256[]";
713
+ readonly name: "tokenIDs_";
714
+ readonly type: "uint256[]";
715
+ }, {
716
+ readonly internalType: "bool";
717
+ readonly name: "suspended_";
718
+ readonly type: "bool";
719
+ }];
720
+ readonly name: "setSuspended";
721
+ readonly outputs: readonly [];
722
+ readonly stateMutability: "nonpayable";
723
+ readonly type: "function";
724
+ }, {
725
+ readonly inputs: readonly [{
726
+ readonly internalType: "enum TransferSecurityLevels";
727
+ readonly name: "level";
728
+ readonly type: "uint8";
729
+ }, {
730
+ readonly internalType: "uint120";
731
+ readonly name: "operatorWhitelistId";
732
+ readonly type: "uint120";
733
+ }, {
734
+ readonly internalType: "uint120";
735
+ readonly name: "permittedContractReceiversAllowlistId";
736
+ readonly type: "uint120";
737
+ }];
738
+ readonly name: "setToCustomSecurityPolicy";
739
+ readonly outputs: readonly [];
740
+ readonly stateMutability: "nonpayable";
741
+ readonly type: "function";
742
+ }, {
743
+ readonly inputs: readonly [{
744
+ readonly internalType: "address";
745
+ readonly name: "validator";
746
+ readonly type: "address";
747
+ }, {
748
+ readonly internalType: "enum TransferSecurityLevels";
749
+ readonly name: "level";
750
+ readonly type: "uint8";
751
+ }, {
752
+ readonly internalType: "uint120";
753
+ readonly name: "operatorWhitelistId";
754
+ readonly type: "uint120";
755
+ }, {
756
+ readonly internalType: "uint120";
757
+ readonly name: "permittedContractReceiversAllowlistId";
758
+ readonly type: "uint120";
759
+ }];
760
+ readonly name: "setToCustomValidatorAndSecurityPolicy";
761
+ readonly outputs: readonly [];
762
+ readonly stateMutability: "nonpayable";
763
+ readonly type: "function";
764
+ }, {
765
+ readonly inputs: readonly [];
766
+ readonly name: "setToDefaultSecurityPolicy";
767
+ readonly outputs: readonly [];
768
+ readonly stateMutability: "nonpayable";
769
+ readonly type: "function";
770
+ }, {
771
+ readonly inputs: readonly [{
772
+ readonly internalType: "address";
773
+ readonly name: "transferValidator_";
774
+ readonly type: "address";
775
+ }];
776
+ readonly name: "setTransferValidator";
777
+ readonly outputs: readonly [];
778
+ readonly stateMutability: "nonpayable";
779
+ readonly type: "function";
780
+ }, {
781
+ readonly inputs: readonly [];
782
+ readonly name: "setupV5Validator";
783
+ readonly outputs: readonly [];
784
+ readonly stateMutability: "nonpayable";
785
+ readonly type: "function";
786
+ }, {
787
+ readonly inputs: readonly [];
788
+ readonly name: "stakedBaseURI";
789
+ readonly outputs: readonly [{
790
+ readonly internalType: "string";
791
+ readonly name: "";
792
+ readonly type: "string";
793
+ }];
794
+ readonly stateMutability: "view";
795
+ readonly type: "function";
796
+ }, {
797
+ readonly inputs: readonly [{
798
+ readonly internalType: "bytes4";
799
+ readonly name: "interfaceId";
800
+ readonly type: "bytes4";
801
+ }];
802
+ readonly name: "supportsInterface";
803
+ readonly outputs: readonly [{
804
+ readonly internalType: "bool";
805
+ readonly name: "";
806
+ readonly type: "bool";
807
+ }];
808
+ readonly stateMutability: "view";
809
+ readonly type: "function";
810
+ }, {
811
+ readonly inputs: readonly [];
812
+ readonly name: "symbol";
813
+ readonly outputs: readonly [{
814
+ readonly internalType: "string";
815
+ readonly name: "";
816
+ readonly type: "string";
817
+ }];
818
+ readonly stateMutability: "view";
819
+ readonly type: "function";
820
+ }, {
821
+ readonly inputs: readonly [{
822
+ readonly internalType: "uint256";
823
+ readonly name: "tokenId";
824
+ readonly type: "uint256";
825
+ }];
826
+ readonly name: "tokenURI";
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: "totalSupply";
837
+ readonly outputs: readonly [{
838
+ readonly internalType: "uint256";
839
+ readonly name: "";
840
+ readonly type: "uint256";
841
+ }];
842
+ readonly stateMutability: "pure";
843
+ readonly type: "function";
844
+ }, {
845
+ readonly inputs: readonly [{
846
+ readonly internalType: "address";
847
+ readonly name: "from";
848
+ readonly type: "address";
849
+ }, {
850
+ readonly internalType: "address";
851
+ readonly name: "to";
852
+ readonly type: "address";
853
+ }, {
854
+ readonly internalType: "uint256";
855
+ readonly name: "tokenId";
856
+ readonly type: "uint256";
857
+ }];
858
+ readonly name: "transferFrom";
859
+ readonly outputs: readonly [];
860
+ readonly stateMutability: "nonpayable";
861
+ readonly type: "function";
862
+ }, {
863
+ readonly inputs: readonly [{
864
+ readonly internalType: "address";
865
+ readonly name: "newOwner";
866
+ readonly type: "address";
867
+ }];
868
+ readonly name: "transferOwnership";
869
+ readonly outputs: readonly [];
870
+ readonly stateMutability: "nonpayable";
871
+ readonly type: "function";
872
+ }];
873
+ /**
874
+ * Type-safe ABI for QuirkiesImplementationV8_json
875
+ */
876
+ export type QuirkiesImplementationV8_jsonAbi = typeof QuirkiesImplementationV8_jsonAbi;
877
+ /**
878
+ * Contract instance type for QuirkiesImplementationV8_json
879
+ */
880
+ export type QuirkiesImplementationV8_jsonContract = any;
881
+ /**
882
+ * QuirkiesImplementationV8_json Contract Class
883
+ *
884
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
885
+ *
886
+ * @example
887
+ * ```typescript
888
+ * import { createPublicClient, createWalletClient, http } from 'viem';
889
+ * import { mainnet } from 'viem/chains';
890
+ * import { QuirkiesImplementationV8_json } from 'QuirkiesImplementationV8_json';
891
+ *
892
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
893
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
894
+ *
895
+ * const contract = new QuirkiesImplementationV8_json('0x...', { publicClient, walletClient });
896
+ *
897
+ * // Read functions
898
+ * const result = await contract.balanceOf('0x...');
899
+ *
900
+ * // Write functions
901
+ * const hash = await contract.transfer('0x...', 1000n);
902
+ *
903
+ * // Simulate transactions (dry-run)
904
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
905
+ * console.log('Gas estimate:', simulation.request.gas);
906
+ *
907
+ * // Watch events
908
+ * const unwatch = contract.watch.Transfer((event) => {
909
+ * console.log('Transfer event:', event);
910
+ * });
911
+ * ```
912
+ */
913
+ export declare class QuirkiesImplementationV8_json {
914
+ private contract;
915
+ private contractAddress;
916
+ private publicClient;
917
+ constructor(address: Address, clients: {
918
+ publicClient: PublicClient;
919
+ walletClient?: WalletClient;
920
+ });
921
+ /**
922
+ * Get the contract address
923
+ */
924
+ get address(): Address;
925
+ /**
926
+ * Get the underlying viem contract instance
927
+ */
928
+ getContract(): QuirkiesImplementationV8_jsonContract;
929
+ /**
930
+ * DEFAULT_OPERATOR_WHITELIST_ID
931
+ * view
932
+ */
933
+ DEFAULT_OPERATOR_WHITELIST_ID(): Promise<bigint>;
934
+ /**
935
+ * DEFAULT_TRANSFER_SECURITY_LEVEL
936
+ * view
937
+ */
938
+ DEFAULT_TRANSFER_SECURITY_LEVEL(): Promise<bigint>;
939
+ /**
940
+ * DEFAULT_TRANSFER_VALIDATOR
941
+ * view
942
+ */
943
+ DEFAULT_TRANSFER_VALIDATOR(): Promise<`0x${string}`>;
944
+ /**
945
+ * areSuspended
946
+ * view
947
+ */
948
+ areSuspended(tokenIDs_: bigint[]): Promise<boolean[]>;
949
+ /**
950
+ * balanceOf
951
+ * view
952
+ */
953
+ balanceOf(owner: `0x${string}`): Promise<bigint>;
954
+ /**
955
+ * baseURI
956
+ * view
957
+ */
958
+ baseURI(): Promise<string>;
959
+ /**
960
+ * getApproved
961
+ * view
962
+ */
963
+ getApproved(tokenId: bigint): Promise<`0x${string}`>;
964
+ /**
965
+ * getPermittedContractReceivers
966
+ * view
967
+ */
968
+ getPermittedContractReceivers(): Promise<`0x${string}`[]>;
969
+ /**
970
+ * getSecurityPolicy
971
+ * view
972
+ */
973
+ getSecurityPolicy(): Promise<CollectionSecurityPolicy>;
974
+ /**
975
+ * getTransferValidationFunction
976
+ * pure
977
+ */
978
+ getTransferValidationFunction(): Promise<[`0x${string}`, boolean]>;
979
+ /**
980
+ * getTransferValidator
981
+ * view
982
+ */
983
+ getTransferValidator(): Promise<`0x${string}`>;
984
+ /**
985
+ * getWhitelistedOperators
986
+ * view
987
+ */
988
+ getWhitelistedOperators(): Promise<`0x${string}`[]>;
989
+ /**
990
+ * isApprovedForAll
991
+ * view
992
+ */
993
+ isApprovedForAll(owner: `0x${string}`, operator: `0x${string}`): Promise<boolean>;
994
+ /**
995
+ * isContractReceiverPermitted
996
+ * view
997
+ */
998
+ isContractReceiverPermitted(receiver: `0x${string}`): Promise<boolean>;
999
+ /**
1000
+ * isOperatorWhitelisted
1001
+ * view
1002
+ */
1003
+ isOperatorWhitelisted(operator: `0x${string}`): Promise<boolean>;
1004
+ /**
1005
+ * isStaked
1006
+ * view
1007
+ */
1008
+ isStaked(tokenID_: bigint): Promise<boolean>;
1009
+ /**
1010
+ * isStakingContract
1011
+ * view
1012
+ */
1013
+ isStakingContract(address_: `0x${string}`): Promise<boolean>;
1014
+ /**
1015
+ * isSuspended
1016
+ * view
1017
+ */
1018
+ isSuspended(tokenID_: bigint): Promise<boolean>;
1019
+ /**
1020
+ * isTransferAllowed
1021
+ * view
1022
+ */
1023
+ isTransferAllowed(caller: `0x${string}`, from: `0x${string}`, to: `0x${string}`): Promise<boolean>;
1024
+ /**
1025
+ * name
1026
+ * view
1027
+ */
1028
+ name(): Promise<string>;
1029
+ /**
1030
+ * operatorWhitelistID
1031
+ * view
1032
+ */
1033
+ operatorWhitelistID(): Promise<bigint>;
1034
+ /**
1035
+ * owner
1036
+ * view
1037
+ */
1038
+ owner(): Promise<`0x${string}`>;
1039
+ /**
1040
+ * ownerOf
1041
+ * view
1042
+ */
1043
+ ownerOf(tokenId: bigint): Promise<`0x${string}`>;
1044
+ /**
1045
+ * royaltyInfo
1046
+ * view
1047
+ */
1048
+ royaltyInfo(_tokenId: bigint, _salePrice: bigint): Promise<[`0x${string}`, bigint]>;
1049
+ /**
1050
+ * stakedBaseURI
1051
+ * view
1052
+ */
1053
+ stakedBaseURI(): Promise<string>;
1054
+ /**
1055
+ * supportsInterface
1056
+ * view
1057
+ */
1058
+ supportsInterface(interfaceId: `0x${string}`): Promise<boolean>;
1059
+ /**
1060
+ * symbol
1061
+ * view
1062
+ */
1063
+ symbol(): Promise<string>;
1064
+ /**
1065
+ * tokenURI
1066
+ * view
1067
+ */
1068
+ tokenURI(tokenId: bigint): Promise<string>;
1069
+ /**
1070
+ * totalSupply
1071
+ * pure
1072
+ */
1073
+ totalSupply(): Promise<bigint>;
1074
+ /**
1075
+ * addAccountToAuthorizers
1076
+ * nonpayable
1077
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1078
+ */
1079
+ addAccountToAuthorizers(account_: `0x${string}`, options?: {
1080
+ accessList?: import('viem').AccessList;
1081
+ authorizationList?: import('viem').AuthorizationList;
1082
+ chain?: import('viem').Chain | null;
1083
+ dataSuffix?: `0x${string}`;
1084
+ gas?: bigint;
1085
+ gasPrice?: bigint;
1086
+ maxFeePerGas?: bigint;
1087
+ maxPriorityFeePerGas?: bigint;
1088
+ nonce?: number;
1089
+ value?: bigint;
1090
+ }): Promise<`0x${string}`>;
1091
+ /**
1092
+ * addAccountsToAuthorizers
1093
+ * nonpayable
1094
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1095
+ */
1096
+ addAccountsToAuthorizers(accounts_: `0x${string}`[], options?: {
1097
+ accessList?: import('viem').AccessList;
1098
+ authorizationList?: import('viem').AuthorizationList;
1099
+ chain?: import('viem').Chain | null;
1100
+ dataSuffix?: `0x${string}`;
1101
+ gas?: bigint;
1102
+ gasPrice?: bigint;
1103
+ maxFeePerGas?: bigint;
1104
+ maxPriorityFeePerGas?: bigint;
1105
+ nonce?: number;
1106
+ value?: bigint;
1107
+ }): Promise<`0x${string}`>;
1108
+ /**
1109
+ * addToWhitelist
1110
+ * nonpayable
1111
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1112
+ */
1113
+ addToWhitelist(addrs_: `0x${string}`[], options?: {
1114
+ accessList?: import('viem').AccessList;
1115
+ authorizationList?: import('viem').AuthorizationList;
1116
+ chain?: import('viem').Chain | null;
1117
+ dataSuffix?: `0x${string}`;
1118
+ gas?: bigint;
1119
+ gasPrice?: bigint;
1120
+ maxFeePerGas?: bigint;
1121
+ maxPriorityFeePerGas?: bigint;
1122
+ nonce?: number;
1123
+ value?: bigint;
1124
+ }): Promise<`0x${string}`>;
1125
+ /**
1126
+ * approve
1127
+ * nonpayable
1128
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1129
+ */
1130
+ approve(to: `0x${string}`, tokenId: bigint, options?: {
1131
+ accessList?: import('viem').AccessList;
1132
+ authorizationList?: import('viem').AuthorizationList;
1133
+ chain?: import('viem').Chain | null;
1134
+ dataSuffix?: `0x${string}`;
1135
+ gas?: bigint;
1136
+ gasPrice?: bigint;
1137
+ maxFeePerGas?: bigint;
1138
+ maxPriorityFeePerGas?: bigint;
1139
+ nonce?: number;
1140
+ value?: bigint;
1141
+ }): Promise<`0x${string}`>;
1142
+ /**
1143
+ * initialize
1144
+ * nonpayable
1145
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1146
+ */
1147
+ initialize(quirkiesV1Address_: `0x${string}`, baseURI_: string, teamWallet_: `0x${string}`, options?: {
1148
+ accessList?: import('viem').AccessList;
1149
+ authorizationList?: import('viem').AuthorizationList;
1150
+ chain?: import('viem').Chain | null;
1151
+ dataSuffix?: `0x${string}`;
1152
+ gas?: bigint;
1153
+ gasPrice?: bigint;
1154
+ maxFeePerGas?: bigint;
1155
+ maxPriorityFeePerGas?: bigint;
1156
+ nonce?: number;
1157
+ value?: bigint;
1158
+ }): Promise<`0x${string}`>;
1159
+ /**
1160
+ * removeAccountFromAuthorizers
1161
+ * nonpayable
1162
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1163
+ */
1164
+ removeAccountFromAuthorizers(account_: `0x${string}`, options?: {
1165
+ accessList?: import('viem').AccessList;
1166
+ authorizationList?: import('viem').AuthorizationList;
1167
+ chain?: import('viem').Chain | null;
1168
+ dataSuffix?: `0x${string}`;
1169
+ gas?: bigint;
1170
+ gasPrice?: bigint;
1171
+ maxFeePerGas?: bigint;
1172
+ maxPriorityFeePerGas?: bigint;
1173
+ nonce?: number;
1174
+ value?: bigint;
1175
+ }): Promise<`0x${string}`>;
1176
+ /**
1177
+ * removeAccountsFromAuthorizers
1178
+ * nonpayable
1179
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1180
+ */
1181
+ removeAccountsFromAuthorizers(accounts_: `0x${string}`[], options?: {
1182
+ accessList?: import('viem').AccessList;
1183
+ authorizationList?: import('viem').AuthorizationList;
1184
+ chain?: import('viem').Chain | null;
1185
+ dataSuffix?: `0x${string}`;
1186
+ gas?: bigint;
1187
+ gasPrice?: bigint;
1188
+ maxFeePerGas?: bigint;
1189
+ maxPriorityFeePerGas?: bigint;
1190
+ nonce?: number;
1191
+ value?: bigint;
1192
+ }): Promise<`0x${string}`>;
1193
+ /**
1194
+ * removeFromWhitelist
1195
+ * nonpayable
1196
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1197
+ */
1198
+ removeFromWhitelist(addrs_: `0x${string}`[], options?: {
1199
+ accessList?: import('viem').AccessList;
1200
+ authorizationList?: import('viem').AuthorizationList;
1201
+ chain?: import('viem').Chain | null;
1202
+ dataSuffix?: `0x${string}`;
1203
+ gas?: bigint;
1204
+ gasPrice?: bigint;
1205
+ maxFeePerGas?: bigint;
1206
+ maxPriorityFeePerGas?: bigint;
1207
+ nonce?: number;
1208
+ value?: bigint;
1209
+ }): Promise<`0x${string}`>;
1210
+ /**
1211
+ * renounceOwnership
1212
+ * nonpayable
1213
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1214
+ */
1215
+ renounceOwnership(options?: {
1216
+ accessList?: import('viem').AccessList;
1217
+ authorizationList?: import('viem').AuthorizationList;
1218
+ chain?: import('viem').Chain | null;
1219
+ dataSuffix?: `0x${string}`;
1220
+ gas?: bigint;
1221
+ gasPrice?: bigint;
1222
+ maxFeePerGas?: bigint;
1223
+ maxPriorityFeePerGas?: bigint;
1224
+ nonce?: number;
1225
+ value?: bigint;
1226
+ }): Promise<`0x${string}`>;
1227
+ safeTransferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
1228
+ accessList?: import('viem').AccessList;
1229
+ authorizationList?: import('viem').AuthorizationList;
1230
+ chain?: import('viem').Chain | null;
1231
+ dataSuffix?: `0x${string}`;
1232
+ gas?: bigint;
1233
+ gasPrice?: bigint;
1234
+ maxFeePerGas?: bigint;
1235
+ maxPriorityFeePerGas?: bigint;
1236
+ nonce?: number;
1237
+ value?: bigint;
1238
+ }): Promise<`0x${string}`>;
1239
+ safeTransferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, data: `0x${string}`, options?: {
1240
+ accessList?: import('viem').AccessList;
1241
+ authorizationList?: import('viem').AuthorizationList;
1242
+ chain?: import('viem').Chain | null;
1243
+ dataSuffix?: `0x${string}`;
1244
+ gas?: bigint;
1245
+ gasPrice?: bigint;
1246
+ maxFeePerGas?: bigint;
1247
+ maxPriorityFeePerGas?: bigint;
1248
+ nonce?: number;
1249
+ value?: bigint;
1250
+ }): Promise<`0x${string}`>;
1251
+ /**
1252
+ * setApprovalForAll
1253
+ * nonpayable
1254
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1255
+ */
1256
+ setApprovalForAll(operator: `0x${string}`, approved: boolean, options?: {
1257
+ accessList?: import('viem').AccessList;
1258
+ authorizationList?: import('viem').AuthorizationList;
1259
+ chain?: import('viem').Chain | null;
1260
+ dataSuffix?: `0x${string}`;
1261
+ gas?: bigint;
1262
+ gasPrice?: bigint;
1263
+ maxFeePerGas?: bigint;
1264
+ maxPriorityFeePerGas?: bigint;
1265
+ nonce?: number;
1266
+ value?: bigint;
1267
+ }): Promise<`0x${string}`>;
1268
+ /**
1269
+ * setBaseURI
1270
+ * nonpayable
1271
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1272
+ */
1273
+ setBaseURI(baseURI_: string, options?: {
1274
+ accessList?: import('viem').AccessList;
1275
+ authorizationList?: import('viem').AuthorizationList;
1276
+ chain?: import('viem').Chain | null;
1277
+ dataSuffix?: `0x${string}`;
1278
+ gas?: bigint;
1279
+ gasPrice?: bigint;
1280
+ maxFeePerGas?: bigint;
1281
+ maxPriorityFeePerGas?: bigint;
1282
+ nonce?: number;
1283
+ value?: bigint;
1284
+ }): Promise<`0x${string}`>;
1285
+ /**
1286
+ * setDefaultRoyalty
1287
+ * nonpayable
1288
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1289
+ */
1290
+ setDefaultRoyalty(receiver: `0x${string}`, feeNumerator: bigint, options?: {
1291
+ accessList?: import('viem').AccessList;
1292
+ authorizationList?: import('viem').AuthorizationList;
1293
+ chain?: import('viem').Chain | null;
1294
+ dataSuffix?: `0x${string}`;
1295
+ gas?: bigint;
1296
+ gasPrice?: bigint;
1297
+ maxFeePerGas?: bigint;
1298
+ maxPriorityFeePerGas?: bigint;
1299
+ nonce?: number;
1300
+ value?: bigint;
1301
+ }): Promise<`0x${string}`>;
1302
+ /**
1303
+ * setStaked
1304
+ * nonpayable
1305
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1306
+ */
1307
+ setStaked(tokenID_: bigint, staked_: boolean, options?: {
1308
+ accessList?: import('viem').AccessList;
1309
+ authorizationList?: import('viem').AuthorizationList;
1310
+ chain?: import('viem').Chain | null;
1311
+ dataSuffix?: `0x${string}`;
1312
+ gas?: bigint;
1313
+ gasPrice?: bigint;
1314
+ maxFeePerGas?: bigint;
1315
+ maxPriorityFeePerGas?: bigint;
1316
+ nonce?: number;
1317
+ value?: bigint;
1318
+ }): Promise<`0x${string}`>;
1319
+ /**
1320
+ * setStakedBaseURI
1321
+ * nonpayable
1322
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1323
+ */
1324
+ setStakedBaseURI(stakedBaseURI_: string, options?: {
1325
+ accessList?: import('viem').AccessList;
1326
+ authorizationList?: import('viem').AuthorizationList;
1327
+ chain?: import('viem').Chain | null;
1328
+ dataSuffix?: `0x${string}`;
1329
+ gas?: bigint;
1330
+ gasPrice?: bigint;
1331
+ maxFeePerGas?: bigint;
1332
+ maxPriorityFeePerGas?: bigint;
1333
+ nonce?: number;
1334
+ value?: bigint;
1335
+ }): Promise<`0x${string}`>;
1336
+ /**
1337
+ * setStakingContract
1338
+ * nonpayable
1339
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1340
+ */
1341
+ setStakingContract(stakingContract_: `0x${string}`, isStakingContract_: boolean, options?: {
1342
+ accessList?: import('viem').AccessList;
1343
+ authorizationList?: import('viem').AuthorizationList;
1344
+ chain?: import('viem').Chain | null;
1345
+ dataSuffix?: `0x${string}`;
1346
+ gas?: bigint;
1347
+ gasPrice?: bigint;
1348
+ maxFeePerGas?: bigint;
1349
+ maxPriorityFeePerGas?: bigint;
1350
+ nonce?: number;
1351
+ value?: bigint;
1352
+ }): Promise<`0x${string}`>;
1353
+ /**
1354
+ * setSuspended
1355
+ * nonpayable
1356
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1357
+ */
1358
+ setSuspended(tokenIDs_: bigint[], suspended_: boolean, options?: {
1359
+ accessList?: import('viem').AccessList;
1360
+ authorizationList?: import('viem').AuthorizationList;
1361
+ chain?: import('viem').Chain | null;
1362
+ dataSuffix?: `0x${string}`;
1363
+ gas?: bigint;
1364
+ gasPrice?: bigint;
1365
+ maxFeePerGas?: bigint;
1366
+ maxPriorityFeePerGas?: bigint;
1367
+ nonce?: number;
1368
+ value?: bigint;
1369
+ }): Promise<`0x${string}`>;
1370
+ /**
1371
+ * setToCustomSecurityPolicy
1372
+ * nonpayable
1373
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1374
+ */
1375
+ setToCustomSecurityPolicy(level: bigint, operatorWhitelistId: bigint, permittedContractReceiversAllowlistId: bigint, options?: {
1376
+ accessList?: import('viem').AccessList;
1377
+ authorizationList?: import('viem').AuthorizationList;
1378
+ chain?: import('viem').Chain | null;
1379
+ dataSuffix?: `0x${string}`;
1380
+ gas?: bigint;
1381
+ gasPrice?: bigint;
1382
+ maxFeePerGas?: bigint;
1383
+ maxPriorityFeePerGas?: bigint;
1384
+ nonce?: number;
1385
+ value?: bigint;
1386
+ }): Promise<`0x${string}`>;
1387
+ /**
1388
+ * setToCustomValidatorAndSecurityPolicy
1389
+ * nonpayable
1390
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1391
+ */
1392
+ setToCustomValidatorAndSecurityPolicy(validator: `0x${string}`, level: bigint, operatorWhitelistId: bigint, permittedContractReceiversAllowlistId: bigint, options?: {
1393
+ accessList?: import('viem').AccessList;
1394
+ authorizationList?: import('viem').AuthorizationList;
1395
+ chain?: import('viem').Chain | null;
1396
+ dataSuffix?: `0x${string}`;
1397
+ gas?: bigint;
1398
+ gasPrice?: bigint;
1399
+ maxFeePerGas?: bigint;
1400
+ maxPriorityFeePerGas?: bigint;
1401
+ nonce?: number;
1402
+ value?: bigint;
1403
+ }): Promise<`0x${string}`>;
1404
+ /**
1405
+ * setToDefaultSecurityPolicy
1406
+ * nonpayable
1407
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1408
+ */
1409
+ setToDefaultSecurityPolicy(options?: {
1410
+ accessList?: import('viem').AccessList;
1411
+ authorizationList?: import('viem').AuthorizationList;
1412
+ chain?: import('viem').Chain | null;
1413
+ dataSuffix?: `0x${string}`;
1414
+ gas?: bigint;
1415
+ gasPrice?: bigint;
1416
+ maxFeePerGas?: bigint;
1417
+ maxPriorityFeePerGas?: bigint;
1418
+ nonce?: number;
1419
+ value?: bigint;
1420
+ }): Promise<`0x${string}`>;
1421
+ /**
1422
+ * setTransferValidator
1423
+ * nonpayable
1424
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1425
+ */
1426
+ setTransferValidator(transferValidator_: `0x${string}`, options?: {
1427
+ accessList?: import('viem').AccessList;
1428
+ authorizationList?: import('viem').AuthorizationList;
1429
+ chain?: import('viem').Chain | null;
1430
+ dataSuffix?: `0x${string}`;
1431
+ gas?: bigint;
1432
+ gasPrice?: bigint;
1433
+ maxFeePerGas?: bigint;
1434
+ maxPriorityFeePerGas?: bigint;
1435
+ nonce?: number;
1436
+ value?: bigint;
1437
+ }): Promise<`0x${string}`>;
1438
+ /**
1439
+ * setupV5Validator
1440
+ * nonpayable
1441
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1442
+ */
1443
+ setupV5Validator(options?: {
1444
+ accessList?: import('viem').AccessList;
1445
+ authorizationList?: import('viem').AuthorizationList;
1446
+ chain?: import('viem').Chain | null;
1447
+ dataSuffix?: `0x${string}`;
1448
+ gas?: bigint;
1449
+ gasPrice?: bigint;
1450
+ maxFeePerGas?: bigint;
1451
+ maxPriorityFeePerGas?: bigint;
1452
+ nonce?: number;
1453
+ value?: bigint;
1454
+ }): Promise<`0x${string}`>;
1455
+ /**
1456
+ * transferFrom
1457
+ * nonpayable
1458
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1459
+ */
1460
+ transferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
1461
+ accessList?: import('viem').AccessList;
1462
+ authorizationList?: import('viem').AuthorizationList;
1463
+ chain?: import('viem').Chain | null;
1464
+ dataSuffix?: `0x${string}`;
1465
+ gas?: bigint;
1466
+ gasPrice?: bigint;
1467
+ maxFeePerGas?: bigint;
1468
+ maxPriorityFeePerGas?: bigint;
1469
+ nonce?: number;
1470
+ value?: bigint;
1471
+ }): Promise<`0x${string}`>;
1472
+ /**
1473
+ * transferOwnership
1474
+ * nonpayable
1475
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1476
+ */
1477
+ transferOwnership(newOwner: `0x${string}`, options?: {
1478
+ accessList?: import('viem').AccessList;
1479
+ authorizationList?: import('viem').AuthorizationList;
1480
+ chain?: import('viem').Chain | null;
1481
+ dataSuffix?: `0x${string}`;
1482
+ gas?: bigint;
1483
+ gasPrice?: bigint;
1484
+ maxFeePerGas?: bigint;
1485
+ maxPriorityFeePerGas?: bigint;
1486
+ nonce?: number;
1487
+ value?: bigint;
1488
+ }): Promise<`0x${string}`>;
1489
+ /**
1490
+ * Simulate contract write operations (dry-run without sending transaction)
1491
+ *
1492
+ * @example
1493
+ * const result = await contract.simulate.transfer('0x...', 1000n);
1494
+ * console.log('Gas estimate:', result.request.gas);
1495
+ * console.log('Would succeed:', result.result);
1496
+ */
1497
+ get simulate(): {
1498
+ /**
1499
+ * Simulate addAccountToAuthorizers
1500
+ * Returns gas estimate and result without sending transaction
1501
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1502
+ */
1503
+ addAccountToAuthorizers(account_: `0x${string}`, options?: {
1504
+ accessList?: import("viem").AccessList;
1505
+ authorizationList?: import("viem").AuthorizationList;
1506
+ chain?: import("viem").Chain | null;
1507
+ dataSuffix?: `0x${string}`;
1508
+ gas?: bigint;
1509
+ gasPrice?: bigint;
1510
+ maxFeePerGas?: bigint;
1511
+ maxPriorityFeePerGas?: bigint;
1512
+ nonce?: number;
1513
+ value?: bigint;
1514
+ }): Promise<void>;
1515
+ /**
1516
+ * Simulate addAccountsToAuthorizers
1517
+ * Returns gas estimate and result without sending transaction
1518
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1519
+ */
1520
+ addAccountsToAuthorizers(accounts_: `0x${string}`[], options?: {
1521
+ accessList?: import("viem").AccessList;
1522
+ authorizationList?: import("viem").AuthorizationList;
1523
+ chain?: import("viem").Chain | null;
1524
+ dataSuffix?: `0x${string}`;
1525
+ gas?: bigint;
1526
+ gasPrice?: bigint;
1527
+ maxFeePerGas?: bigint;
1528
+ maxPriorityFeePerGas?: bigint;
1529
+ nonce?: number;
1530
+ value?: bigint;
1531
+ }): Promise<void>;
1532
+ /**
1533
+ * Simulate addToWhitelist
1534
+ * Returns gas estimate and result without sending transaction
1535
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1536
+ */
1537
+ addToWhitelist(addrs_: `0x${string}`[], options?: {
1538
+ accessList?: import("viem").AccessList;
1539
+ authorizationList?: import("viem").AuthorizationList;
1540
+ chain?: import("viem").Chain | null;
1541
+ dataSuffix?: `0x${string}`;
1542
+ gas?: bigint;
1543
+ gasPrice?: bigint;
1544
+ maxFeePerGas?: bigint;
1545
+ maxPriorityFeePerGas?: bigint;
1546
+ nonce?: number;
1547
+ value?: bigint;
1548
+ }): Promise<void>;
1549
+ /**
1550
+ * Simulate approve
1551
+ * Returns gas estimate and result without sending transaction
1552
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1553
+ */
1554
+ approve(to: `0x${string}`, tokenId: bigint, options?: {
1555
+ accessList?: import("viem").AccessList;
1556
+ authorizationList?: import("viem").AuthorizationList;
1557
+ chain?: import("viem").Chain | null;
1558
+ dataSuffix?: `0x${string}`;
1559
+ gas?: bigint;
1560
+ gasPrice?: bigint;
1561
+ maxFeePerGas?: bigint;
1562
+ maxPriorityFeePerGas?: bigint;
1563
+ nonce?: number;
1564
+ value?: bigint;
1565
+ }): Promise<void>;
1566
+ /**
1567
+ * Simulate initialize
1568
+ * Returns gas estimate and result without sending transaction
1569
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1570
+ */
1571
+ initialize(quirkiesV1Address_: `0x${string}`, baseURI_: string, teamWallet_: `0x${string}`, options?: {
1572
+ accessList?: import("viem").AccessList;
1573
+ authorizationList?: import("viem").AuthorizationList;
1574
+ chain?: import("viem").Chain | null;
1575
+ dataSuffix?: `0x${string}`;
1576
+ gas?: bigint;
1577
+ gasPrice?: bigint;
1578
+ maxFeePerGas?: bigint;
1579
+ maxPriorityFeePerGas?: bigint;
1580
+ nonce?: number;
1581
+ value?: bigint;
1582
+ }): Promise<void>;
1583
+ /**
1584
+ * Simulate removeAccountFromAuthorizers
1585
+ * Returns gas estimate and result without sending transaction
1586
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1587
+ */
1588
+ removeAccountFromAuthorizers(account_: `0x${string}`, options?: {
1589
+ accessList?: import("viem").AccessList;
1590
+ authorizationList?: import("viem").AuthorizationList;
1591
+ chain?: import("viem").Chain | null;
1592
+ dataSuffix?: `0x${string}`;
1593
+ gas?: bigint;
1594
+ gasPrice?: bigint;
1595
+ maxFeePerGas?: bigint;
1596
+ maxPriorityFeePerGas?: bigint;
1597
+ nonce?: number;
1598
+ value?: bigint;
1599
+ }): Promise<void>;
1600
+ /**
1601
+ * Simulate removeAccountsFromAuthorizers
1602
+ * Returns gas estimate and result without sending transaction
1603
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1604
+ */
1605
+ removeAccountsFromAuthorizers(accounts_: `0x${string}`[], options?: {
1606
+ accessList?: import("viem").AccessList;
1607
+ authorizationList?: import("viem").AuthorizationList;
1608
+ chain?: import("viem").Chain | null;
1609
+ dataSuffix?: `0x${string}`;
1610
+ gas?: bigint;
1611
+ gasPrice?: bigint;
1612
+ maxFeePerGas?: bigint;
1613
+ maxPriorityFeePerGas?: bigint;
1614
+ nonce?: number;
1615
+ value?: bigint;
1616
+ }): Promise<void>;
1617
+ /**
1618
+ * Simulate removeFromWhitelist
1619
+ * Returns gas estimate and result without sending transaction
1620
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1621
+ */
1622
+ removeFromWhitelist(addrs_: `0x${string}`[], options?: {
1623
+ accessList?: import("viem").AccessList;
1624
+ authorizationList?: import("viem").AuthorizationList;
1625
+ chain?: import("viem").Chain | null;
1626
+ dataSuffix?: `0x${string}`;
1627
+ gas?: bigint;
1628
+ gasPrice?: bigint;
1629
+ maxFeePerGas?: bigint;
1630
+ maxPriorityFeePerGas?: bigint;
1631
+ nonce?: number;
1632
+ value?: bigint;
1633
+ }): Promise<void>;
1634
+ /**
1635
+ * Simulate renounceOwnership
1636
+ * Returns gas estimate and result without sending transaction
1637
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1638
+ */
1639
+ renounceOwnership(options?: {
1640
+ accessList?: import("viem").AccessList;
1641
+ authorizationList?: import("viem").AuthorizationList;
1642
+ chain?: import("viem").Chain | null;
1643
+ dataSuffix?: `0x${string}`;
1644
+ gas?: bigint;
1645
+ gasPrice?: bigint;
1646
+ maxFeePerGas?: bigint;
1647
+ maxPriorityFeePerGas?: bigint;
1648
+ nonce?: number;
1649
+ value?: bigint;
1650
+ }): Promise<void>;
1651
+ /**
1652
+ * Simulate safeTransferFrom
1653
+ * Returns gas estimate and result without sending transaction
1654
+ * Supports multiple overloads: (address, address, uint256), (address, address, uint256, bytes)
1655
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1656
+ */
1657
+ safeTransferFrom(...args: any[]): Promise<any>;
1658
+ /**
1659
+ * Simulate setApprovalForAll
1660
+ * Returns gas estimate and result without sending transaction
1661
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1662
+ */
1663
+ setApprovalForAll(operator: `0x${string}`, approved: boolean, options?: {
1664
+ accessList?: import("viem").AccessList;
1665
+ authorizationList?: import("viem").AuthorizationList;
1666
+ chain?: import("viem").Chain | null;
1667
+ dataSuffix?: `0x${string}`;
1668
+ gas?: bigint;
1669
+ gasPrice?: bigint;
1670
+ maxFeePerGas?: bigint;
1671
+ maxPriorityFeePerGas?: bigint;
1672
+ nonce?: number;
1673
+ value?: bigint;
1674
+ }): Promise<void>;
1675
+ /**
1676
+ * Simulate setBaseURI
1677
+ * Returns gas estimate and result without sending transaction
1678
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1679
+ */
1680
+ setBaseURI(baseURI_: string, options?: {
1681
+ accessList?: import("viem").AccessList;
1682
+ authorizationList?: import("viem").AuthorizationList;
1683
+ chain?: import("viem").Chain | null;
1684
+ dataSuffix?: `0x${string}`;
1685
+ gas?: bigint;
1686
+ gasPrice?: bigint;
1687
+ maxFeePerGas?: bigint;
1688
+ maxPriorityFeePerGas?: bigint;
1689
+ nonce?: number;
1690
+ value?: bigint;
1691
+ }): Promise<void>;
1692
+ /**
1693
+ * Simulate setDefaultRoyalty
1694
+ * Returns gas estimate and result without sending transaction
1695
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1696
+ */
1697
+ setDefaultRoyalty(receiver: `0x${string}`, feeNumerator: bigint, options?: {
1698
+ accessList?: import("viem").AccessList;
1699
+ authorizationList?: import("viem").AuthorizationList;
1700
+ chain?: import("viem").Chain | null;
1701
+ dataSuffix?: `0x${string}`;
1702
+ gas?: bigint;
1703
+ gasPrice?: bigint;
1704
+ maxFeePerGas?: bigint;
1705
+ maxPriorityFeePerGas?: bigint;
1706
+ nonce?: number;
1707
+ value?: bigint;
1708
+ }): Promise<void>;
1709
+ /**
1710
+ * Simulate setStaked
1711
+ * Returns gas estimate and result without sending transaction
1712
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1713
+ */
1714
+ setStaked(tokenID_: bigint, staked_: boolean, options?: {
1715
+ accessList?: import("viem").AccessList;
1716
+ authorizationList?: import("viem").AuthorizationList;
1717
+ chain?: import("viem").Chain | null;
1718
+ dataSuffix?: `0x${string}`;
1719
+ gas?: bigint;
1720
+ gasPrice?: bigint;
1721
+ maxFeePerGas?: bigint;
1722
+ maxPriorityFeePerGas?: bigint;
1723
+ nonce?: number;
1724
+ value?: bigint;
1725
+ }): Promise<void>;
1726
+ /**
1727
+ * Simulate setStakedBaseURI
1728
+ * Returns gas estimate and result without sending transaction
1729
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1730
+ */
1731
+ setStakedBaseURI(stakedBaseURI_: string, options?: {
1732
+ accessList?: import("viem").AccessList;
1733
+ authorizationList?: import("viem").AuthorizationList;
1734
+ chain?: import("viem").Chain | null;
1735
+ dataSuffix?: `0x${string}`;
1736
+ gas?: bigint;
1737
+ gasPrice?: bigint;
1738
+ maxFeePerGas?: bigint;
1739
+ maxPriorityFeePerGas?: bigint;
1740
+ nonce?: number;
1741
+ value?: bigint;
1742
+ }): Promise<void>;
1743
+ /**
1744
+ * Simulate setStakingContract
1745
+ * Returns gas estimate and result without sending transaction
1746
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1747
+ */
1748
+ setStakingContract(stakingContract_: `0x${string}`, isStakingContract_: boolean, options?: {
1749
+ accessList?: import("viem").AccessList;
1750
+ authorizationList?: import("viem").AuthorizationList;
1751
+ chain?: import("viem").Chain | null;
1752
+ dataSuffix?: `0x${string}`;
1753
+ gas?: bigint;
1754
+ gasPrice?: bigint;
1755
+ maxFeePerGas?: bigint;
1756
+ maxPriorityFeePerGas?: bigint;
1757
+ nonce?: number;
1758
+ value?: bigint;
1759
+ }): Promise<void>;
1760
+ /**
1761
+ * Simulate setSuspended
1762
+ * Returns gas estimate and result without sending transaction
1763
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1764
+ */
1765
+ setSuspended(tokenIDs_: bigint[], suspended_: boolean, options?: {
1766
+ accessList?: import("viem").AccessList;
1767
+ authorizationList?: import("viem").AuthorizationList;
1768
+ chain?: import("viem").Chain | null;
1769
+ dataSuffix?: `0x${string}`;
1770
+ gas?: bigint;
1771
+ gasPrice?: bigint;
1772
+ maxFeePerGas?: bigint;
1773
+ maxPriorityFeePerGas?: bigint;
1774
+ nonce?: number;
1775
+ value?: bigint;
1776
+ }): Promise<void>;
1777
+ /**
1778
+ * Simulate setToCustomSecurityPolicy
1779
+ * Returns gas estimate and result without sending transaction
1780
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1781
+ */
1782
+ setToCustomSecurityPolicy(level: bigint, operatorWhitelistId: bigint, permittedContractReceiversAllowlistId: bigint, options?: {
1783
+ accessList?: import("viem").AccessList;
1784
+ authorizationList?: import("viem").AuthorizationList;
1785
+ chain?: import("viem").Chain | null;
1786
+ dataSuffix?: `0x${string}`;
1787
+ gas?: bigint;
1788
+ gasPrice?: bigint;
1789
+ maxFeePerGas?: bigint;
1790
+ maxPriorityFeePerGas?: bigint;
1791
+ nonce?: number;
1792
+ value?: bigint;
1793
+ }): Promise<void>;
1794
+ /**
1795
+ * Simulate setToCustomValidatorAndSecurityPolicy
1796
+ * Returns gas estimate and result without sending transaction
1797
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1798
+ */
1799
+ setToCustomValidatorAndSecurityPolicy(validator: `0x${string}`, level: bigint, operatorWhitelistId: bigint, permittedContractReceiversAllowlistId: bigint, options?: {
1800
+ accessList?: import("viem").AccessList;
1801
+ authorizationList?: import("viem").AuthorizationList;
1802
+ chain?: import("viem").Chain | null;
1803
+ dataSuffix?: `0x${string}`;
1804
+ gas?: bigint;
1805
+ gasPrice?: bigint;
1806
+ maxFeePerGas?: bigint;
1807
+ maxPriorityFeePerGas?: bigint;
1808
+ nonce?: number;
1809
+ value?: bigint;
1810
+ }): Promise<void>;
1811
+ /**
1812
+ * Simulate setToDefaultSecurityPolicy
1813
+ * Returns gas estimate and result without sending transaction
1814
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1815
+ */
1816
+ setToDefaultSecurityPolicy(options?: {
1817
+ accessList?: import("viem").AccessList;
1818
+ authorizationList?: import("viem").AuthorizationList;
1819
+ chain?: import("viem").Chain | null;
1820
+ dataSuffix?: `0x${string}`;
1821
+ gas?: bigint;
1822
+ gasPrice?: bigint;
1823
+ maxFeePerGas?: bigint;
1824
+ maxPriorityFeePerGas?: bigint;
1825
+ nonce?: number;
1826
+ value?: bigint;
1827
+ }): Promise<void>;
1828
+ /**
1829
+ * Simulate setTransferValidator
1830
+ * Returns gas estimate and result without sending transaction
1831
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1832
+ */
1833
+ setTransferValidator(transferValidator_: `0x${string}`, options?: {
1834
+ accessList?: import("viem").AccessList;
1835
+ authorizationList?: import("viem").AuthorizationList;
1836
+ chain?: import("viem").Chain | null;
1837
+ dataSuffix?: `0x${string}`;
1838
+ gas?: bigint;
1839
+ gasPrice?: bigint;
1840
+ maxFeePerGas?: bigint;
1841
+ maxPriorityFeePerGas?: bigint;
1842
+ nonce?: number;
1843
+ value?: bigint;
1844
+ }): Promise<void>;
1845
+ /**
1846
+ * Simulate setupV5Validator
1847
+ * Returns gas estimate and result without sending transaction
1848
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1849
+ */
1850
+ setupV5Validator(options?: {
1851
+ accessList?: import("viem").AccessList;
1852
+ authorizationList?: import("viem").AuthorizationList;
1853
+ chain?: import("viem").Chain | null;
1854
+ dataSuffix?: `0x${string}`;
1855
+ gas?: bigint;
1856
+ gasPrice?: bigint;
1857
+ maxFeePerGas?: bigint;
1858
+ maxPriorityFeePerGas?: bigint;
1859
+ nonce?: number;
1860
+ value?: bigint;
1861
+ }): Promise<void>;
1862
+ /**
1863
+ * Simulate transferFrom
1864
+ * Returns gas estimate and result without sending transaction
1865
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1866
+ */
1867
+ transferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
1868
+ accessList?: import("viem").AccessList;
1869
+ authorizationList?: import("viem").AuthorizationList;
1870
+ chain?: import("viem").Chain | null;
1871
+ dataSuffix?: `0x${string}`;
1872
+ gas?: bigint;
1873
+ gasPrice?: bigint;
1874
+ maxFeePerGas?: bigint;
1875
+ maxPriorityFeePerGas?: bigint;
1876
+ nonce?: number;
1877
+ value?: bigint;
1878
+ }): Promise<void>;
1879
+ /**
1880
+ * Simulate transferOwnership
1881
+ * Returns gas estimate and result without sending transaction
1882
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1883
+ */
1884
+ transferOwnership(newOwner: `0x${string}`, options?: {
1885
+ accessList?: import("viem").AccessList;
1886
+ authorizationList?: import("viem").AuthorizationList;
1887
+ chain?: import("viem").Chain | null;
1888
+ dataSuffix?: `0x${string}`;
1889
+ gas?: bigint;
1890
+ gasPrice?: bigint;
1891
+ maxFeePerGas?: bigint;
1892
+ maxPriorityFeePerGas?: bigint;
1893
+ nonce?: number;
1894
+ value?: bigint;
1895
+ }): Promise<void>;
1896
+ };
1897
+ /**
1898
+ * Watch contract events
1899
+ *
1900
+ * @example
1901
+ * // Watch all Transfer events
1902
+ * const unwatch = contract.watch.Transfer((event) => {
1903
+ * console.log('Transfer:', event);
1904
+ * });
1905
+ *
1906
+ * // Stop watching
1907
+ * unwatch();
1908
+ */
1909
+ get watch(): {
1910
+ /**
1911
+ * Watch Approval events
1912
+ * @param callback Function to call when event is emitted
1913
+ * @param filter Optional filter for indexed parameters
1914
+ * @returns Unwatch function to stop listening
1915
+ */
1916
+ Approval: (callback: (event: {
1917
+ owner: `0x${string}`;
1918
+ approved: `0x${string}`;
1919
+ tokenId: bigint;
1920
+ }) => void, filter?: {
1921
+ owner: `0x${string}`;
1922
+ approved: `0x${string}`;
1923
+ tokenId: bigint;
1924
+ }) => () => void;
1925
+ /**
1926
+ * Watch ApprovalForAll events
1927
+ * @param callback Function to call when event is emitted
1928
+ * @param filter Optional filter for indexed parameters
1929
+ * @returns Unwatch function to stop listening
1930
+ */
1931
+ ApprovalForAll: (callback: (event: {
1932
+ owner: `0x${string}`;
1933
+ operator: `0x${string}`;
1934
+ approved: boolean;
1935
+ }) => void, filter?: {
1936
+ owner: `0x${string}`;
1937
+ operator: `0x${string}`;
1938
+ }) => () => void;
1939
+ /**
1940
+ * Watch Initialized events
1941
+ * @param callback Function to call when event is emitted
1942
+ * @param filter Optional filter for indexed parameters
1943
+ * @returns Unwatch function to stop listening
1944
+ */
1945
+ Initialized: (callback: (event: {
1946
+ version: bigint;
1947
+ }) => void) => () => void;
1948
+ /**
1949
+ * Watch OwnershipTransferred events
1950
+ * @param callback Function to call when event is emitted
1951
+ * @param filter Optional filter for indexed parameters
1952
+ * @returns Unwatch function to stop listening
1953
+ */
1954
+ OwnershipTransferred: (callback: (event: {
1955
+ previousOwner: `0x${string}`;
1956
+ newOwner: `0x${string}`;
1957
+ }) => void, filter?: {
1958
+ previousOwner: `0x${string}`;
1959
+ newOwner: `0x${string}`;
1960
+ }) => () => void;
1961
+ /**
1962
+ * Watch TokensSuspended events
1963
+ * @param callback Function to call when event is emitted
1964
+ * @param filter Optional filter for indexed parameters
1965
+ * @returns Unwatch function to stop listening
1966
+ */
1967
+ TokensSuspended: (callback: (event: {
1968
+ tokenIDs: bigint[];
1969
+ }) => void) => () => void;
1970
+ /**
1971
+ * Watch TokensUnsuspended events
1972
+ * @param callback Function to call when event is emitted
1973
+ * @param filter Optional filter for indexed parameters
1974
+ * @returns Unwatch function to stop listening
1975
+ */
1976
+ TokensUnsuspended: (callback: (event: {
1977
+ tokenIDs: bigint[];
1978
+ }) => void) => () => void;
1979
+ /**
1980
+ * Watch Transfer events
1981
+ * @param callback Function to call when event is emitted
1982
+ * @param filter Optional filter for indexed parameters
1983
+ * @returns Unwatch function to stop listening
1984
+ */
1985
+ Transfer: (callback: (event: {
1986
+ from: `0x${string}`;
1987
+ to: `0x${string}`;
1988
+ tokenId: bigint;
1989
+ }) => void, filter?: {
1990
+ from: `0x${string}`;
1991
+ to: `0x${string}`;
1992
+ tokenId: bigint;
1993
+ }) => () => void;
1994
+ /**
1995
+ * Watch TransferValidatorUpdated events
1996
+ * @param callback Function to call when event is emitted
1997
+ * @param filter Optional filter for indexed parameters
1998
+ * @returns Unwatch function to stop listening
1999
+ */
2000
+ TransferValidatorUpdated: (callback: (event: {
2001
+ oldValidator: `0x${string}`;
2002
+ newValidator: `0x${string}`;
2003
+ }) => void) => () => void;
2004
+ };
2005
+ }