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