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