@gitmyabi/weird 0.0.0-stage → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1362 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * ERC1155Base.Fee struct type
4
+ */
5
+ export type ERC1155Base_Fee = {
6
+ recipient: `0x${string}`;
7
+ value: bigint;
8
+ };
9
+ /**
10
+ * RaribleUserToken ABI
11
+ *
12
+ * This ABI is typed using viem's type system for full type safety.
13
+ */
14
+ export declare const RaribleUserTokenAbi: readonly [{
15
+ readonly inputs: readonly [{
16
+ readonly internalType: "string";
17
+ readonly name: "name";
18
+ readonly type: "string";
19
+ }, {
20
+ readonly internalType: "string";
21
+ readonly name: "symbol";
22
+ readonly type: "string";
23
+ }, {
24
+ readonly internalType: "string";
25
+ readonly name: "contractURI";
26
+ readonly type: "string";
27
+ }, {
28
+ readonly internalType: "string";
29
+ readonly name: "tokenURIPrefix";
30
+ readonly type: "string";
31
+ }, {
32
+ readonly internalType: "address";
33
+ readonly name: "signer";
34
+ readonly type: "address";
35
+ }];
36
+ readonly payable: false;
37
+ readonly stateMutability: "nonpayable";
38
+ readonly type: "constructor";
39
+ }, {
40
+ readonly anonymous: false;
41
+ readonly inputs: readonly [{
42
+ readonly indexed: true;
43
+ readonly internalType: "address";
44
+ readonly name: "_owner";
45
+ readonly type: "address";
46
+ }, {
47
+ readonly indexed: true;
48
+ readonly internalType: "address";
49
+ readonly name: "_operator";
50
+ readonly type: "address";
51
+ }, {
52
+ readonly indexed: false;
53
+ readonly internalType: "bool";
54
+ readonly name: "_approved";
55
+ readonly type: "bool";
56
+ }];
57
+ readonly name: "ApprovalForAll";
58
+ readonly type: "event";
59
+ }, {
60
+ readonly anonymous: false;
61
+ readonly inputs: readonly [{
62
+ readonly indexed: true;
63
+ readonly internalType: "address";
64
+ readonly name: "creator";
65
+ readonly type: "address";
66
+ }, {
67
+ readonly indexed: false;
68
+ readonly internalType: "string";
69
+ readonly name: "name";
70
+ readonly type: "string";
71
+ }, {
72
+ readonly indexed: false;
73
+ readonly internalType: "string";
74
+ readonly name: "symbol";
75
+ readonly type: "string";
76
+ }];
77
+ readonly name: "CreateERC1155_v1";
78
+ readonly type: "event";
79
+ }, {
80
+ readonly anonymous: false;
81
+ readonly inputs: readonly [{
82
+ readonly indexed: true;
83
+ readonly internalType: "address";
84
+ readonly name: "previousOwner";
85
+ readonly type: "address";
86
+ }, {
87
+ readonly indexed: true;
88
+ readonly internalType: "address";
89
+ readonly name: "newOwner";
90
+ readonly type: "address";
91
+ }];
92
+ readonly name: "OwnershipTransferred";
93
+ readonly type: "event";
94
+ }, {
95
+ readonly anonymous: false;
96
+ readonly inputs: readonly [{
97
+ readonly indexed: false;
98
+ readonly internalType: "uint256";
99
+ readonly name: "tokenId";
100
+ readonly type: "uint256";
101
+ }, {
102
+ readonly indexed: false;
103
+ readonly internalType: "address[]";
104
+ readonly name: "recipients";
105
+ readonly type: "address[]";
106
+ }, {
107
+ readonly indexed: false;
108
+ readonly internalType: "uint256[]";
109
+ readonly name: "bps";
110
+ readonly type: "uint256[]";
111
+ }];
112
+ readonly name: "SecondarySaleFees";
113
+ readonly type: "event";
114
+ }, {
115
+ readonly anonymous: false;
116
+ readonly inputs: readonly [{
117
+ readonly indexed: true;
118
+ readonly internalType: "address";
119
+ readonly name: "account";
120
+ readonly type: "address";
121
+ }];
122
+ readonly name: "SignerAdded";
123
+ readonly type: "event";
124
+ }, {
125
+ readonly anonymous: false;
126
+ readonly inputs: readonly [{
127
+ readonly indexed: true;
128
+ readonly internalType: "address";
129
+ readonly name: "account";
130
+ readonly type: "address";
131
+ }];
132
+ readonly name: "SignerRemoved";
133
+ readonly type: "event";
134
+ }, {
135
+ readonly anonymous: false;
136
+ readonly inputs: readonly [{
137
+ readonly indexed: true;
138
+ readonly internalType: "address";
139
+ readonly name: "_operator";
140
+ readonly type: "address";
141
+ }, {
142
+ readonly indexed: true;
143
+ readonly internalType: "address";
144
+ readonly name: "_from";
145
+ readonly type: "address";
146
+ }, {
147
+ readonly indexed: true;
148
+ readonly internalType: "address";
149
+ readonly name: "_to";
150
+ readonly type: "address";
151
+ }, {
152
+ readonly indexed: false;
153
+ readonly internalType: "uint256[]";
154
+ readonly name: "_ids";
155
+ readonly type: "uint256[]";
156
+ }, {
157
+ readonly indexed: false;
158
+ readonly internalType: "uint256[]";
159
+ readonly name: "_values";
160
+ readonly type: "uint256[]";
161
+ }];
162
+ readonly name: "TransferBatch";
163
+ readonly type: "event";
164
+ }, {
165
+ readonly anonymous: false;
166
+ readonly inputs: readonly [{
167
+ readonly indexed: true;
168
+ readonly internalType: "address";
169
+ readonly name: "_operator";
170
+ readonly type: "address";
171
+ }, {
172
+ readonly indexed: true;
173
+ readonly internalType: "address";
174
+ readonly name: "_from";
175
+ readonly type: "address";
176
+ }, {
177
+ readonly indexed: true;
178
+ readonly internalType: "address";
179
+ readonly name: "_to";
180
+ readonly type: "address";
181
+ }, {
182
+ readonly indexed: false;
183
+ readonly internalType: "uint256";
184
+ readonly name: "_id";
185
+ readonly type: "uint256";
186
+ }, {
187
+ readonly indexed: false;
188
+ readonly internalType: "uint256";
189
+ readonly name: "_value";
190
+ readonly type: "uint256";
191
+ }];
192
+ readonly name: "TransferSingle";
193
+ readonly type: "event";
194
+ }, {
195
+ readonly anonymous: false;
196
+ readonly inputs: readonly [{
197
+ readonly indexed: false;
198
+ readonly internalType: "string";
199
+ readonly name: "_value";
200
+ readonly type: "string";
201
+ }, {
202
+ readonly indexed: true;
203
+ readonly internalType: "uint256";
204
+ readonly name: "_id";
205
+ readonly type: "uint256";
206
+ }];
207
+ readonly name: "URI";
208
+ readonly type: "event";
209
+ }, {
210
+ readonly constant: false;
211
+ readonly inputs: readonly [{
212
+ readonly internalType: "address";
213
+ readonly name: "account";
214
+ readonly type: "address";
215
+ }];
216
+ readonly name: "addSigner";
217
+ readonly outputs: readonly [];
218
+ readonly payable: false;
219
+ readonly stateMutability: "nonpayable";
220
+ readonly type: "function";
221
+ }, {
222
+ readonly constant: true;
223
+ readonly inputs: readonly [{
224
+ readonly internalType: "address";
225
+ readonly name: "_owner";
226
+ readonly type: "address";
227
+ }, {
228
+ readonly internalType: "uint256";
229
+ readonly name: "_id";
230
+ readonly type: "uint256";
231
+ }];
232
+ readonly name: "balanceOf";
233
+ readonly outputs: readonly [{
234
+ readonly internalType: "uint256";
235
+ readonly name: "";
236
+ readonly type: "uint256";
237
+ }];
238
+ readonly payable: false;
239
+ readonly stateMutability: "view";
240
+ readonly type: "function";
241
+ }, {
242
+ readonly constant: true;
243
+ readonly inputs: readonly [{
244
+ readonly internalType: "address[]";
245
+ readonly name: "_owners";
246
+ readonly type: "address[]";
247
+ }, {
248
+ readonly internalType: "uint256[]";
249
+ readonly name: "_ids";
250
+ readonly type: "uint256[]";
251
+ }];
252
+ readonly name: "balanceOfBatch";
253
+ readonly outputs: readonly [{
254
+ readonly internalType: "uint256[]";
255
+ readonly name: "";
256
+ readonly type: "uint256[]";
257
+ }];
258
+ readonly payable: false;
259
+ readonly stateMutability: "view";
260
+ readonly type: "function";
261
+ }, {
262
+ readonly constant: false;
263
+ readonly inputs: readonly [{
264
+ readonly internalType: "address";
265
+ readonly name: "_owner";
266
+ readonly type: "address";
267
+ }, {
268
+ readonly internalType: "uint256";
269
+ readonly name: "_id";
270
+ readonly type: "uint256";
271
+ }, {
272
+ readonly internalType: "uint256";
273
+ readonly name: "_value";
274
+ readonly type: "uint256";
275
+ }];
276
+ readonly name: "burn";
277
+ readonly outputs: readonly [];
278
+ readonly payable: false;
279
+ readonly stateMutability: "nonpayable";
280
+ readonly type: "function";
281
+ }, {
282
+ readonly constant: true;
283
+ readonly inputs: readonly [];
284
+ readonly name: "contractURI";
285
+ readonly outputs: readonly [{
286
+ readonly internalType: "string";
287
+ readonly name: "";
288
+ readonly type: "string";
289
+ }];
290
+ readonly payable: false;
291
+ readonly stateMutability: "view";
292
+ readonly type: "function";
293
+ }, {
294
+ readonly constant: true;
295
+ readonly inputs: readonly [{
296
+ readonly internalType: "uint256";
297
+ readonly name: "";
298
+ readonly type: "uint256";
299
+ }];
300
+ readonly name: "creators";
301
+ readonly outputs: readonly [{
302
+ readonly internalType: "address";
303
+ readonly name: "";
304
+ readonly type: "address";
305
+ }];
306
+ readonly payable: false;
307
+ readonly stateMutability: "view";
308
+ readonly type: "function";
309
+ }, {
310
+ readonly constant: true;
311
+ readonly inputs: readonly [{
312
+ readonly internalType: "uint256";
313
+ readonly name: "";
314
+ readonly type: "uint256";
315
+ }, {
316
+ readonly internalType: "uint256";
317
+ readonly name: "";
318
+ readonly type: "uint256";
319
+ }];
320
+ readonly name: "fees";
321
+ readonly outputs: readonly [{
322
+ readonly internalType: "address payable";
323
+ readonly name: "recipient";
324
+ readonly type: "address";
325
+ }, {
326
+ readonly internalType: "uint256";
327
+ readonly name: "value";
328
+ readonly type: "uint256";
329
+ }];
330
+ readonly payable: false;
331
+ readonly stateMutability: "view";
332
+ readonly type: "function";
333
+ }, {
334
+ readonly constant: true;
335
+ readonly inputs: readonly [{
336
+ readonly internalType: "uint256";
337
+ readonly name: "id";
338
+ readonly type: "uint256";
339
+ }];
340
+ readonly name: "getFeeBps";
341
+ readonly outputs: readonly [{
342
+ readonly internalType: "uint256[]";
343
+ readonly name: "";
344
+ readonly type: "uint256[]";
345
+ }];
346
+ readonly payable: false;
347
+ readonly stateMutability: "view";
348
+ readonly type: "function";
349
+ }, {
350
+ readonly constant: true;
351
+ readonly inputs: readonly [{
352
+ readonly internalType: "uint256";
353
+ readonly name: "id";
354
+ readonly type: "uint256";
355
+ }];
356
+ readonly name: "getFeeRecipients";
357
+ readonly outputs: readonly [{
358
+ readonly internalType: "address payable[]";
359
+ readonly name: "";
360
+ readonly type: "address[]";
361
+ }];
362
+ readonly payable: false;
363
+ readonly stateMutability: "view";
364
+ readonly type: "function";
365
+ }, {
366
+ readonly constant: true;
367
+ readonly inputs: readonly [{
368
+ readonly internalType: "address";
369
+ readonly name: "_owner";
370
+ readonly type: "address";
371
+ }, {
372
+ readonly internalType: "address";
373
+ readonly name: "_operator";
374
+ readonly type: "address";
375
+ }];
376
+ readonly name: "isApprovedForAll";
377
+ readonly outputs: readonly [{
378
+ readonly internalType: "bool";
379
+ readonly name: "";
380
+ readonly type: "bool";
381
+ }];
382
+ readonly payable: false;
383
+ readonly stateMutability: "view";
384
+ readonly type: "function";
385
+ }, {
386
+ readonly constant: true;
387
+ readonly inputs: readonly [];
388
+ readonly name: "isOwner";
389
+ readonly outputs: readonly [{
390
+ readonly internalType: "bool";
391
+ readonly name: "";
392
+ readonly type: "bool";
393
+ }];
394
+ readonly payable: false;
395
+ readonly stateMutability: "view";
396
+ readonly type: "function";
397
+ }, {
398
+ readonly constant: true;
399
+ readonly inputs: readonly [{
400
+ readonly internalType: "address";
401
+ readonly name: "account";
402
+ readonly type: "address";
403
+ }];
404
+ readonly name: "isSigner";
405
+ readonly outputs: readonly [{
406
+ readonly internalType: "bool";
407
+ readonly name: "";
408
+ readonly type: "bool";
409
+ }];
410
+ readonly payable: false;
411
+ readonly stateMutability: "view";
412
+ readonly type: "function";
413
+ }, {
414
+ readonly constant: false;
415
+ readonly inputs: readonly [{
416
+ readonly internalType: "uint256";
417
+ readonly name: "id";
418
+ readonly type: "uint256";
419
+ }, {
420
+ readonly internalType: "uint8";
421
+ readonly name: "v";
422
+ readonly type: "uint8";
423
+ }, {
424
+ readonly internalType: "bytes32";
425
+ readonly name: "r";
426
+ readonly type: "bytes32";
427
+ }, {
428
+ readonly internalType: "bytes32";
429
+ readonly name: "s";
430
+ readonly type: "bytes32";
431
+ }, {
432
+ readonly components: readonly [{
433
+ readonly internalType: "address payable";
434
+ readonly name: "recipient";
435
+ readonly type: "address";
436
+ }, {
437
+ readonly internalType: "uint256";
438
+ readonly name: "value";
439
+ readonly type: "uint256";
440
+ }];
441
+ readonly internalType: "struct ERC1155Base.Fee[]";
442
+ readonly name: "fees";
443
+ readonly type: "tuple[]";
444
+ }, {
445
+ readonly internalType: "uint256";
446
+ readonly name: "supply";
447
+ readonly type: "uint256";
448
+ }, {
449
+ readonly internalType: "string";
450
+ readonly name: "uri";
451
+ readonly type: "string";
452
+ }];
453
+ readonly name: "mint";
454
+ readonly outputs: readonly [];
455
+ readonly payable: false;
456
+ readonly stateMutability: "nonpayable";
457
+ readonly type: "function";
458
+ }, {
459
+ readonly constant: true;
460
+ readonly inputs: readonly [];
461
+ readonly name: "name";
462
+ readonly outputs: readonly [{
463
+ readonly internalType: "string";
464
+ readonly name: "";
465
+ readonly type: "string";
466
+ }];
467
+ readonly payable: false;
468
+ readonly stateMutability: "view";
469
+ readonly type: "function";
470
+ }, {
471
+ readonly constant: true;
472
+ readonly inputs: readonly [];
473
+ readonly name: "owner";
474
+ readonly outputs: readonly [{
475
+ readonly internalType: "address";
476
+ readonly name: "";
477
+ readonly type: "address";
478
+ }];
479
+ readonly payable: false;
480
+ readonly stateMutability: "view";
481
+ readonly type: "function";
482
+ }, {
483
+ readonly constant: false;
484
+ readonly inputs: readonly [{
485
+ readonly internalType: "address";
486
+ readonly name: "account";
487
+ readonly type: "address";
488
+ }];
489
+ readonly name: "removeSigner";
490
+ readonly outputs: readonly [];
491
+ readonly payable: false;
492
+ readonly stateMutability: "nonpayable";
493
+ readonly type: "function";
494
+ }, {
495
+ readonly constant: false;
496
+ readonly inputs: readonly [];
497
+ readonly name: "renounceOwnership";
498
+ readonly outputs: readonly [];
499
+ readonly payable: false;
500
+ readonly stateMutability: "nonpayable";
501
+ readonly type: "function";
502
+ }, {
503
+ readonly constant: false;
504
+ readonly inputs: readonly [];
505
+ readonly name: "renounceSigner";
506
+ readonly outputs: readonly [];
507
+ readonly payable: false;
508
+ readonly stateMutability: "nonpayable";
509
+ readonly type: "function";
510
+ }, {
511
+ readonly constant: false;
512
+ readonly inputs: readonly [{
513
+ readonly internalType: "address";
514
+ readonly name: "_from";
515
+ readonly type: "address";
516
+ }, {
517
+ readonly internalType: "address";
518
+ readonly name: "_to";
519
+ readonly type: "address";
520
+ }, {
521
+ readonly internalType: "uint256[]";
522
+ readonly name: "_ids";
523
+ readonly type: "uint256[]";
524
+ }, {
525
+ readonly internalType: "uint256[]";
526
+ readonly name: "_values";
527
+ readonly type: "uint256[]";
528
+ }, {
529
+ readonly internalType: "bytes";
530
+ readonly name: "_data";
531
+ readonly type: "bytes";
532
+ }];
533
+ readonly name: "safeBatchTransferFrom";
534
+ readonly outputs: readonly [];
535
+ readonly payable: false;
536
+ readonly stateMutability: "nonpayable";
537
+ readonly type: "function";
538
+ }, {
539
+ readonly constant: false;
540
+ readonly inputs: readonly [{
541
+ readonly internalType: "address";
542
+ readonly name: "_from";
543
+ readonly type: "address";
544
+ }, {
545
+ readonly internalType: "address";
546
+ readonly name: "_to";
547
+ readonly type: "address";
548
+ }, {
549
+ readonly internalType: "uint256";
550
+ readonly name: "_id";
551
+ readonly type: "uint256";
552
+ }, {
553
+ readonly internalType: "uint256";
554
+ readonly name: "_value";
555
+ readonly type: "uint256";
556
+ }, {
557
+ readonly internalType: "bytes";
558
+ readonly name: "_data";
559
+ readonly type: "bytes";
560
+ }];
561
+ readonly name: "safeTransferFrom";
562
+ readonly outputs: readonly [];
563
+ readonly payable: false;
564
+ readonly stateMutability: "nonpayable";
565
+ readonly type: "function";
566
+ }, {
567
+ readonly constant: false;
568
+ readonly inputs: readonly [{
569
+ readonly internalType: "address";
570
+ readonly name: "_operator";
571
+ readonly type: "address";
572
+ }, {
573
+ readonly internalType: "bool";
574
+ readonly name: "_approved";
575
+ readonly type: "bool";
576
+ }];
577
+ readonly name: "setApprovalForAll";
578
+ readonly outputs: readonly [];
579
+ readonly payable: false;
580
+ readonly stateMutability: "nonpayable";
581
+ readonly type: "function";
582
+ }, {
583
+ readonly constant: false;
584
+ readonly inputs: readonly [{
585
+ readonly internalType: "string";
586
+ readonly name: "contractURI";
587
+ readonly type: "string";
588
+ }];
589
+ readonly name: "setContractURI";
590
+ readonly outputs: readonly [];
591
+ readonly payable: false;
592
+ readonly stateMutability: "nonpayable";
593
+ readonly type: "function";
594
+ }, {
595
+ readonly constant: false;
596
+ readonly inputs: readonly [{
597
+ readonly internalType: "string";
598
+ readonly name: "tokenURIPrefix";
599
+ readonly type: "string";
600
+ }];
601
+ readonly name: "setTokenURIPrefix";
602
+ readonly outputs: readonly [];
603
+ readonly payable: false;
604
+ readonly stateMutability: "nonpayable";
605
+ readonly type: "function";
606
+ }, {
607
+ readonly constant: true;
608
+ readonly inputs: readonly [{
609
+ readonly internalType: "bytes4";
610
+ readonly name: "interfaceId";
611
+ readonly type: "bytes4";
612
+ }];
613
+ readonly name: "supportsInterface";
614
+ readonly outputs: readonly [{
615
+ readonly internalType: "bool";
616
+ readonly name: "";
617
+ readonly type: "bool";
618
+ }];
619
+ readonly payable: false;
620
+ readonly stateMutability: "view";
621
+ readonly type: "function";
622
+ }, {
623
+ readonly constant: true;
624
+ readonly inputs: readonly [];
625
+ readonly name: "symbol";
626
+ readonly outputs: readonly [{
627
+ readonly internalType: "string";
628
+ readonly name: "";
629
+ readonly type: "string";
630
+ }];
631
+ readonly payable: false;
632
+ readonly stateMutability: "view";
633
+ readonly type: "function";
634
+ }, {
635
+ readonly constant: true;
636
+ readonly inputs: readonly [];
637
+ readonly name: "tokenURIPrefix";
638
+ readonly outputs: readonly [{
639
+ readonly internalType: "string";
640
+ readonly name: "";
641
+ readonly type: "string";
642
+ }];
643
+ readonly payable: false;
644
+ readonly stateMutability: "view";
645
+ readonly type: "function";
646
+ }, {
647
+ readonly constant: false;
648
+ readonly inputs: readonly [{
649
+ readonly internalType: "address";
650
+ readonly name: "newOwner";
651
+ readonly type: "address";
652
+ }];
653
+ readonly name: "transferOwnership";
654
+ readonly outputs: readonly [];
655
+ readonly payable: false;
656
+ readonly stateMutability: "nonpayable";
657
+ readonly type: "function";
658
+ }, {
659
+ readonly constant: true;
660
+ readonly inputs: readonly [{
661
+ readonly internalType: "uint256";
662
+ readonly name: "_id";
663
+ readonly type: "uint256";
664
+ }];
665
+ readonly name: "uri";
666
+ readonly outputs: readonly [{
667
+ readonly internalType: "string";
668
+ readonly name: "";
669
+ readonly type: "string";
670
+ }];
671
+ readonly payable: false;
672
+ readonly stateMutability: "view";
673
+ readonly type: "function";
674
+ }];
675
+ /**
676
+ * Type-safe ABI for RaribleUserToken
677
+ */
678
+ export type RaribleUserTokenAbi = typeof RaribleUserTokenAbi;
679
+ /**
680
+ * Contract instance type for RaribleUserToken
681
+ */
682
+ export type RaribleUserTokenContract = any;
683
+ /**
684
+ * RaribleUserToken Contract Class
685
+ *
686
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
687
+ *
688
+ * @example
689
+ * ```typescript
690
+ * import { createPublicClient, createWalletClient, http } from 'viem';
691
+ * import { mainnet } from 'viem/chains';
692
+ * import { RaribleUserToken } from 'RaribleUserToken';
693
+ *
694
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
695
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
696
+ *
697
+ * const contract = new RaribleUserToken('0x...', { publicClient, walletClient });
698
+ *
699
+ * // Read functions
700
+ * const result = await contract.balanceOf('0x...');
701
+ *
702
+ * // Write functions
703
+ * const hash = await contract.transfer('0x...', 1000n);
704
+ *
705
+ * // Simulate transactions (dry-run)
706
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
707
+ * console.log('Gas estimate:', simulation.request.gas);
708
+ *
709
+ * // Watch events
710
+ * const unwatch = contract.watch.Transfer((event) => {
711
+ * console.log('Transfer event:', event);
712
+ * });
713
+ * ```
714
+ */
715
+ export declare class RaribleUserToken {
716
+ private contract;
717
+ private contractAddress;
718
+ private publicClient;
719
+ constructor(address: Address, clients: {
720
+ publicClient: PublicClient;
721
+ walletClient?: WalletClient;
722
+ });
723
+ /**
724
+ * Get the contract address
725
+ */
726
+ get address(): Address;
727
+ /**
728
+ * Get the underlying viem contract instance.
729
+ */
730
+ getContract(): RaribleUserTokenContract;
731
+ /**
732
+ * balanceOf
733
+ * view
734
+ */
735
+ balanceOf(_owner: `0x${string}`, _id: bigint): Promise<bigint>;
736
+ /**
737
+ * balanceOfBatch
738
+ * view
739
+ */
740
+ balanceOfBatch(_owners: `0x${string}`[], _ids: bigint[]): Promise<bigint[]>;
741
+ /**
742
+ * contractURI
743
+ * view
744
+ */
745
+ contractURI(): Promise<string>;
746
+ /**
747
+ * creators
748
+ * view
749
+ */
750
+ creators(arg0: bigint): Promise<`0x${string}`>;
751
+ /**
752
+ * fees
753
+ * view
754
+ */
755
+ fees(arg0: bigint, arg1: bigint): Promise<[`0x${string}`, bigint]>;
756
+ /**
757
+ * getFeeBps
758
+ * view
759
+ */
760
+ getFeeBps(id: bigint): Promise<bigint[]>;
761
+ /**
762
+ * getFeeRecipients
763
+ * view
764
+ */
765
+ getFeeRecipients(id: bigint): Promise<`0x${string}`[]>;
766
+ /**
767
+ * isApprovedForAll
768
+ * view
769
+ */
770
+ isApprovedForAll(_owner: `0x${string}`, _operator: `0x${string}`): Promise<boolean>;
771
+ /**
772
+ * isOwner
773
+ * view
774
+ */
775
+ isOwner(): Promise<boolean>;
776
+ /**
777
+ * isSigner
778
+ * view
779
+ */
780
+ isSigner(account: `0x${string}`): Promise<boolean>;
781
+ /**
782
+ * name
783
+ * view
784
+ */
785
+ name(): Promise<string>;
786
+ /**
787
+ * owner
788
+ * view
789
+ */
790
+ owner(): Promise<`0x${string}`>;
791
+ /**
792
+ * supportsInterface
793
+ * view
794
+ */
795
+ supportsInterface(interfaceId: `0x${string}`): Promise<boolean>;
796
+ /**
797
+ * symbol
798
+ * view
799
+ */
800
+ symbol(): Promise<string>;
801
+ /**
802
+ * tokenURIPrefix
803
+ * view
804
+ */
805
+ tokenURIPrefix(): Promise<string>;
806
+ /**
807
+ * uri
808
+ * view
809
+ */
810
+ uri(_id: bigint): Promise<string>;
811
+ /**
812
+ * addSigner
813
+ * nonpayable
814
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
815
+ */
816
+ addSigner(account: `0x${string}`, options?: {
817
+ accessList?: import('viem').AccessList;
818
+ authorizationList?: import('viem').AuthorizationList;
819
+ chain?: import('viem').Chain | null;
820
+ dataSuffix?: `0x${string}`;
821
+ gas?: bigint;
822
+ gasPrice?: bigint;
823
+ maxFeePerGas?: bigint;
824
+ maxPriorityFeePerGas?: bigint;
825
+ nonce?: number;
826
+ value?: bigint;
827
+ }): Promise<`0x${string}`>;
828
+ /**
829
+ * burn
830
+ * nonpayable
831
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
832
+ */
833
+ burn(_owner: `0x${string}`, _id: bigint, _value: bigint, options?: {
834
+ accessList?: import('viem').AccessList;
835
+ authorizationList?: import('viem').AuthorizationList;
836
+ chain?: import('viem').Chain | null;
837
+ dataSuffix?: `0x${string}`;
838
+ gas?: bigint;
839
+ gasPrice?: bigint;
840
+ maxFeePerGas?: bigint;
841
+ maxPriorityFeePerGas?: bigint;
842
+ nonce?: number;
843
+ value?: bigint;
844
+ }): Promise<`0x${string}`>;
845
+ /**
846
+ * mint
847
+ * nonpayable
848
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
849
+ */
850
+ mint(id: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, fees: ERC1155Base_Fee[], supply: bigint, uri: string, options?: {
851
+ accessList?: import('viem').AccessList;
852
+ authorizationList?: import('viem').AuthorizationList;
853
+ chain?: import('viem').Chain | null;
854
+ dataSuffix?: `0x${string}`;
855
+ gas?: bigint;
856
+ gasPrice?: bigint;
857
+ maxFeePerGas?: bigint;
858
+ maxPriorityFeePerGas?: bigint;
859
+ nonce?: number;
860
+ value?: bigint;
861
+ }): Promise<`0x${string}`>;
862
+ /**
863
+ * removeSigner
864
+ * nonpayable
865
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
866
+ */
867
+ removeSigner(account: `0x${string}`, options?: {
868
+ accessList?: import('viem').AccessList;
869
+ authorizationList?: import('viem').AuthorizationList;
870
+ chain?: import('viem').Chain | null;
871
+ dataSuffix?: `0x${string}`;
872
+ gas?: bigint;
873
+ gasPrice?: bigint;
874
+ maxFeePerGas?: bigint;
875
+ maxPriorityFeePerGas?: bigint;
876
+ nonce?: number;
877
+ value?: bigint;
878
+ }): Promise<`0x${string}`>;
879
+ /**
880
+ * renounceOwnership
881
+ * nonpayable
882
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
883
+ */
884
+ renounceOwnership(options?: {
885
+ accessList?: import('viem').AccessList;
886
+ authorizationList?: import('viem').AuthorizationList;
887
+ chain?: import('viem').Chain | null;
888
+ dataSuffix?: `0x${string}`;
889
+ gas?: bigint;
890
+ gasPrice?: bigint;
891
+ maxFeePerGas?: bigint;
892
+ maxPriorityFeePerGas?: bigint;
893
+ nonce?: number;
894
+ value?: bigint;
895
+ }): Promise<`0x${string}`>;
896
+ /**
897
+ * renounceSigner
898
+ * nonpayable
899
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
900
+ */
901
+ renounceSigner(options?: {
902
+ accessList?: import('viem').AccessList;
903
+ authorizationList?: import('viem').AuthorizationList;
904
+ chain?: import('viem').Chain | null;
905
+ dataSuffix?: `0x${string}`;
906
+ gas?: bigint;
907
+ gasPrice?: bigint;
908
+ maxFeePerGas?: bigint;
909
+ maxPriorityFeePerGas?: bigint;
910
+ nonce?: number;
911
+ value?: bigint;
912
+ }): Promise<`0x${string}`>;
913
+ /**
914
+ * safeBatchTransferFrom
915
+ * nonpayable
916
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
917
+ */
918
+ safeBatchTransferFrom(_from: `0x${string}`, _to: `0x${string}`, _ids: bigint[], _values: bigint[], _data: `0x${string}`, options?: {
919
+ accessList?: import('viem').AccessList;
920
+ authorizationList?: import('viem').AuthorizationList;
921
+ chain?: import('viem').Chain | null;
922
+ dataSuffix?: `0x${string}`;
923
+ gas?: bigint;
924
+ gasPrice?: bigint;
925
+ maxFeePerGas?: bigint;
926
+ maxPriorityFeePerGas?: bigint;
927
+ nonce?: number;
928
+ value?: bigint;
929
+ }): Promise<`0x${string}`>;
930
+ /**
931
+ * safeTransferFrom
932
+ * nonpayable
933
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
934
+ */
935
+ safeTransferFrom(_from: `0x${string}`, _to: `0x${string}`, _id: bigint, _value: bigint, _data: `0x${string}`, options?: {
936
+ accessList?: import('viem').AccessList;
937
+ authorizationList?: import('viem').AuthorizationList;
938
+ chain?: import('viem').Chain | null;
939
+ dataSuffix?: `0x${string}`;
940
+ gas?: bigint;
941
+ gasPrice?: bigint;
942
+ maxFeePerGas?: bigint;
943
+ maxPriorityFeePerGas?: bigint;
944
+ nonce?: number;
945
+ value?: bigint;
946
+ }): Promise<`0x${string}`>;
947
+ /**
948
+ * setApprovalForAll
949
+ * nonpayable
950
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
951
+ */
952
+ setApprovalForAll(_operator: `0x${string}`, _approved: boolean, options?: {
953
+ accessList?: import('viem').AccessList;
954
+ authorizationList?: import('viem').AuthorizationList;
955
+ chain?: import('viem').Chain | null;
956
+ dataSuffix?: `0x${string}`;
957
+ gas?: bigint;
958
+ gasPrice?: bigint;
959
+ maxFeePerGas?: bigint;
960
+ maxPriorityFeePerGas?: bigint;
961
+ nonce?: number;
962
+ value?: bigint;
963
+ }): Promise<`0x${string}`>;
964
+ /**
965
+ * setContractURI
966
+ * nonpayable
967
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
968
+ */
969
+ setContractURI(contractURI: string, options?: {
970
+ accessList?: import('viem').AccessList;
971
+ authorizationList?: import('viem').AuthorizationList;
972
+ chain?: import('viem').Chain | null;
973
+ dataSuffix?: `0x${string}`;
974
+ gas?: bigint;
975
+ gasPrice?: bigint;
976
+ maxFeePerGas?: bigint;
977
+ maxPriorityFeePerGas?: bigint;
978
+ nonce?: number;
979
+ value?: bigint;
980
+ }): Promise<`0x${string}`>;
981
+ /**
982
+ * setTokenURIPrefix
983
+ * nonpayable
984
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
985
+ */
986
+ setTokenURIPrefix(tokenURIPrefix: string, options?: {
987
+ accessList?: import('viem').AccessList;
988
+ authorizationList?: import('viem').AuthorizationList;
989
+ chain?: import('viem').Chain | null;
990
+ dataSuffix?: `0x${string}`;
991
+ gas?: bigint;
992
+ gasPrice?: bigint;
993
+ maxFeePerGas?: bigint;
994
+ maxPriorityFeePerGas?: bigint;
995
+ nonce?: number;
996
+ value?: bigint;
997
+ }): Promise<`0x${string}`>;
998
+ /**
999
+ * transferOwnership
1000
+ * nonpayable
1001
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1002
+ */
1003
+ transferOwnership(newOwner: `0x${string}`, options?: {
1004
+ accessList?: import('viem').AccessList;
1005
+ authorizationList?: import('viem').AuthorizationList;
1006
+ chain?: import('viem').Chain | null;
1007
+ dataSuffix?: `0x${string}`;
1008
+ gas?: bigint;
1009
+ gasPrice?: bigint;
1010
+ maxFeePerGas?: bigint;
1011
+ maxPriorityFeePerGas?: bigint;
1012
+ nonce?: number;
1013
+ value?: bigint;
1014
+ }): Promise<`0x${string}`>;
1015
+ /**
1016
+ * Simulate contract write operations (dry-run without sending transaction)
1017
+ *
1018
+ * @example
1019
+ * const result = await contract.simulate.transfer('0x...', 1000n);
1020
+ * console.log('Gas estimate:', result.request.gas);
1021
+ * console.log('Would succeed:', result.result);
1022
+ */
1023
+ get simulate(): {
1024
+ /**
1025
+ * Simulate addSigner
1026
+ * Returns gas estimate and result without sending transaction
1027
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1028
+ */
1029
+ addSigner(account: `0x${string}`, options?: {
1030
+ accessList?: import("viem").AccessList;
1031
+ authorizationList?: import("viem").AuthorizationList;
1032
+ chain?: import("viem").Chain | null;
1033
+ dataSuffix?: `0x${string}`;
1034
+ gas?: bigint;
1035
+ gasPrice?: bigint;
1036
+ maxFeePerGas?: bigint;
1037
+ maxPriorityFeePerGas?: bigint;
1038
+ nonce?: number;
1039
+ value?: bigint;
1040
+ }): Promise<void>;
1041
+ /**
1042
+ * Simulate burn
1043
+ * Returns gas estimate and result without sending transaction
1044
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1045
+ */
1046
+ burn(_owner: `0x${string}`, _id: bigint, _value: bigint, options?: {
1047
+ accessList?: import("viem").AccessList;
1048
+ authorizationList?: import("viem").AuthorizationList;
1049
+ chain?: import("viem").Chain | null;
1050
+ dataSuffix?: `0x${string}`;
1051
+ gas?: bigint;
1052
+ gasPrice?: bigint;
1053
+ maxFeePerGas?: bigint;
1054
+ maxPriorityFeePerGas?: bigint;
1055
+ nonce?: number;
1056
+ value?: bigint;
1057
+ }): Promise<void>;
1058
+ /**
1059
+ * Simulate mint
1060
+ * Returns gas estimate and result without sending transaction
1061
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1062
+ */
1063
+ mint(id: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, fees: ERC1155Base_Fee[], supply: bigint, uri: string, options?: {
1064
+ accessList?: import("viem").AccessList;
1065
+ authorizationList?: import("viem").AuthorizationList;
1066
+ chain?: import("viem").Chain | null;
1067
+ dataSuffix?: `0x${string}`;
1068
+ gas?: bigint;
1069
+ gasPrice?: bigint;
1070
+ maxFeePerGas?: bigint;
1071
+ maxPriorityFeePerGas?: bigint;
1072
+ nonce?: number;
1073
+ value?: bigint;
1074
+ }): Promise<void>;
1075
+ /**
1076
+ * Simulate removeSigner
1077
+ * Returns gas estimate and result without sending transaction
1078
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1079
+ */
1080
+ removeSigner(account: `0x${string}`, options?: {
1081
+ accessList?: import("viem").AccessList;
1082
+ authorizationList?: import("viem").AuthorizationList;
1083
+ chain?: import("viem").Chain | null;
1084
+ dataSuffix?: `0x${string}`;
1085
+ gas?: bigint;
1086
+ gasPrice?: bigint;
1087
+ maxFeePerGas?: bigint;
1088
+ maxPriorityFeePerGas?: bigint;
1089
+ nonce?: number;
1090
+ value?: bigint;
1091
+ }): Promise<void>;
1092
+ /**
1093
+ * Simulate renounceOwnership
1094
+ * Returns gas estimate and result without sending transaction
1095
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1096
+ */
1097
+ renounceOwnership(options?: {
1098
+ accessList?: import("viem").AccessList;
1099
+ authorizationList?: import("viem").AuthorizationList;
1100
+ chain?: import("viem").Chain | null;
1101
+ dataSuffix?: `0x${string}`;
1102
+ gas?: bigint;
1103
+ gasPrice?: bigint;
1104
+ maxFeePerGas?: bigint;
1105
+ maxPriorityFeePerGas?: bigint;
1106
+ nonce?: number;
1107
+ value?: bigint;
1108
+ }): Promise<void>;
1109
+ /**
1110
+ * Simulate renounceSigner
1111
+ * Returns gas estimate and result without sending transaction
1112
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1113
+ */
1114
+ renounceSigner(options?: {
1115
+ accessList?: import("viem").AccessList;
1116
+ authorizationList?: import("viem").AuthorizationList;
1117
+ chain?: import("viem").Chain | null;
1118
+ dataSuffix?: `0x${string}`;
1119
+ gas?: bigint;
1120
+ gasPrice?: bigint;
1121
+ maxFeePerGas?: bigint;
1122
+ maxPriorityFeePerGas?: bigint;
1123
+ nonce?: number;
1124
+ value?: bigint;
1125
+ }): Promise<void>;
1126
+ /**
1127
+ * Simulate safeBatchTransferFrom
1128
+ * Returns gas estimate and result without sending transaction
1129
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1130
+ */
1131
+ safeBatchTransferFrom(_from: `0x${string}`, _to: `0x${string}`, _ids: bigint[], _values: bigint[], _data: `0x${string}`, options?: {
1132
+ accessList?: import("viem").AccessList;
1133
+ authorizationList?: import("viem").AuthorizationList;
1134
+ chain?: import("viem").Chain | null;
1135
+ dataSuffix?: `0x${string}`;
1136
+ gas?: bigint;
1137
+ gasPrice?: bigint;
1138
+ maxFeePerGas?: bigint;
1139
+ maxPriorityFeePerGas?: bigint;
1140
+ nonce?: number;
1141
+ value?: bigint;
1142
+ }): Promise<void>;
1143
+ /**
1144
+ * Simulate safeTransferFrom
1145
+ * Returns gas estimate and result without sending transaction
1146
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1147
+ */
1148
+ safeTransferFrom(_from: `0x${string}`, _to: `0x${string}`, _id: bigint, _value: bigint, _data: `0x${string}`, options?: {
1149
+ accessList?: import("viem").AccessList;
1150
+ authorizationList?: import("viem").AuthorizationList;
1151
+ chain?: import("viem").Chain | null;
1152
+ dataSuffix?: `0x${string}`;
1153
+ gas?: bigint;
1154
+ gasPrice?: bigint;
1155
+ maxFeePerGas?: bigint;
1156
+ maxPriorityFeePerGas?: bigint;
1157
+ nonce?: number;
1158
+ value?: bigint;
1159
+ }): Promise<void>;
1160
+ /**
1161
+ * Simulate setApprovalForAll
1162
+ * Returns gas estimate and result without sending transaction
1163
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1164
+ */
1165
+ setApprovalForAll(_operator: `0x${string}`, _approved: boolean, options?: {
1166
+ accessList?: import("viem").AccessList;
1167
+ authorizationList?: import("viem").AuthorizationList;
1168
+ chain?: import("viem").Chain | null;
1169
+ dataSuffix?: `0x${string}`;
1170
+ gas?: bigint;
1171
+ gasPrice?: bigint;
1172
+ maxFeePerGas?: bigint;
1173
+ maxPriorityFeePerGas?: bigint;
1174
+ nonce?: number;
1175
+ value?: bigint;
1176
+ }): Promise<void>;
1177
+ /**
1178
+ * Simulate setContractURI
1179
+ * Returns gas estimate and result without sending transaction
1180
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1181
+ */
1182
+ setContractURI(contractURI: string, options?: {
1183
+ accessList?: import("viem").AccessList;
1184
+ authorizationList?: import("viem").AuthorizationList;
1185
+ chain?: import("viem").Chain | null;
1186
+ dataSuffix?: `0x${string}`;
1187
+ gas?: bigint;
1188
+ gasPrice?: bigint;
1189
+ maxFeePerGas?: bigint;
1190
+ maxPriorityFeePerGas?: bigint;
1191
+ nonce?: number;
1192
+ value?: bigint;
1193
+ }): Promise<void>;
1194
+ /**
1195
+ * Simulate setTokenURIPrefix
1196
+ * Returns gas estimate and result without sending transaction
1197
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1198
+ */
1199
+ setTokenURIPrefix(tokenURIPrefix: string, options?: {
1200
+ accessList?: import("viem").AccessList;
1201
+ authorizationList?: import("viem").AuthorizationList;
1202
+ chain?: import("viem").Chain | null;
1203
+ dataSuffix?: `0x${string}`;
1204
+ gas?: bigint;
1205
+ gasPrice?: bigint;
1206
+ maxFeePerGas?: bigint;
1207
+ maxPriorityFeePerGas?: bigint;
1208
+ nonce?: number;
1209
+ value?: bigint;
1210
+ }): Promise<void>;
1211
+ /**
1212
+ * Simulate transferOwnership
1213
+ * Returns gas estimate and result without sending transaction
1214
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1215
+ */
1216
+ transferOwnership(newOwner: `0x${string}`, options?: {
1217
+ accessList?: import("viem").AccessList;
1218
+ authorizationList?: import("viem").AuthorizationList;
1219
+ chain?: import("viem").Chain | null;
1220
+ dataSuffix?: `0x${string}`;
1221
+ gas?: bigint;
1222
+ gasPrice?: bigint;
1223
+ maxFeePerGas?: bigint;
1224
+ maxPriorityFeePerGas?: bigint;
1225
+ nonce?: number;
1226
+ value?: bigint;
1227
+ }): Promise<void>;
1228
+ };
1229
+ /**
1230
+ * Watch contract events
1231
+ *
1232
+ * @example
1233
+ * // Watch all Transfer events
1234
+ * const unwatch = contract.watch.Transfer((event) => {
1235
+ * console.log('Transfer:', event);
1236
+ * });
1237
+ *
1238
+ * // Stop watching
1239
+ * unwatch();
1240
+ */
1241
+ get watch(): {
1242
+ /**
1243
+ * Watch ApprovalForAll events
1244
+ * @param callback Function to call when event is emitted
1245
+ * @param filter Optional filter for indexed parameters
1246
+ * @returns Unwatch function to stop listening
1247
+ */
1248
+ ApprovalForAll: (callback: (event: {
1249
+ _owner: `0x${string}`;
1250
+ _operator: `0x${string}`;
1251
+ _approved: boolean;
1252
+ }) => void, filter?: {
1253
+ _owner?: `0x${string}` | `0x${string}`[] | null;
1254
+ _operator?: `0x${string}` | `0x${string}`[] | null;
1255
+ }) => () => void;
1256
+ /**
1257
+ * Watch CreateERC1155_v1 events
1258
+ * @param callback Function to call when event is emitted
1259
+ * @param filter Optional filter for indexed parameters
1260
+ * @returns Unwatch function to stop listening
1261
+ */
1262
+ CreateERC1155_v1: (callback: (event: {
1263
+ creator: `0x${string}`;
1264
+ name: string;
1265
+ symbol: string;
1266
+ }) => void, filter?: {
1267
+ creator?: `0x${string}` | `0x${string}`[] | null;
1268
+ }) => () => void;
1269
+ /**
1270
+ * Watch OwnershipTransferred events
1271
+ * @param callback Function to call when event is emitted
1272
+ * @param filter Optional filter for indexed parameters
1273
+ * @returns Unwatch function to stop listening
1274
+ */
1275
+ OwnershipTransferred: (callback: (event: {
1276
+ previousOwner: `0x${string}`;
1277
+ newOwner: `0x${string}`;
1278
+ }) => void, filter?: {
1279
+ previousOwner?: `0x${string}` | `0x${string}`[] | null;
1280
+ newOwner?: `0x${string}` | `0x${string}`[] | null;
1281
+ }) => () => void;
1282
+ /**
1283
+ * Watch SecondarySaleFees events
1284
+ * @param callback Function to call when event is emitted
1285
+ * @param filter Optional filter for indexed parameters
1286
+ * @returns Unwatch function to stop listening
1287
+ */
1288
+ SecondarySaleFees: (callback: (event: {
1289
+ tokenId: bigint;
1290
+ recipients: `0x${string}`[];
1291
+ bps: bigint[];
1292
+ }) => void) => () => void;
1293
+ /**
1294
+ * Watch SignerAdded events
1295
+ * @param callback Function to call when event is emitted
1296
+ * @param filter Optional filter for indexed parameters
1297
+ * @returns Unwatch function to stop listening
1298
+ */
1299
+ SignerAdded: (callback: (event: {
1300
+ account: `0x${string}`;
1301
+ }) => void, filter?: {
1302
+ account?: `0x${string}` | `0x${string}`[] | null;
1303
+ }) => () => void;
1304
+ /**
1305
+ * Watch SignerRemoved events
1306
+ * @param callback Function to call when event is emitted
1307
+ * @param filter Optional filter for indexed parameters
1308
+ * @returns Unwatch function to stop listening
1309
+ */
1310
+ SignerRemoved: (callback: (event: {
1311
+ account: `0x${string}`;
1312
+ }) => void, filter?: {
1313
+ account?: `0x${string}` | `0x${string}`[] | null;
1314
+ }) => () => void;
1315
+ /**
1316
+ * Watch TransferBatch events
1317
+ * @param callback Function to call when event is emitted
1318
+ * @param filter Optional filter for indexed parameters
1319
+ * @returns Unwatch function to stop listening
1320
+ */
1321
+ TransferBatch: (callback: (event: {
1322
+ _operator: `0x${string}`;
1323
+ _from: `0x${string}`;
1324
+ _to: `0x${string}`;
1325
+ _ids: bigint[];
1326
+ _values: bigint[];
1327
+ }) => void, filter?: {
1328
+ _operator?: `0x${string}` | `0x${string}`[] | null;
1329
+ _from?: `0x${string}` | `0x${string}`[] | null;
1330
+ _to?: `0x${string}` | `0x${string}`[] | null;
1331
+ }) => () => void;
1332
+ /**
1333
+ * Watch TransferSingle events
1334
+ * @param callback Function to call when event is emitted
1335
+ * @param filter Optional filter for indexed parameters
1336
+ * @returns Unwatch function to stop listening
1337
+ */
1338
+ TransferSingle: (callback: (event: {
1339
+ _operator: `0x${string}`;
1340
+ _from: `0x${string}`;
1341
+ _to: `0x${string}`;
1342
+ _id: bigint;
1343
+ _value: bigint;
1344
+ }) => void, filter?: {
1345
+ _operator?: `0x${string}` | `0x${string}`[] | null;
1346
+ _from?: `0x${string}` | `0x${string}`[] | null;
1347
+ _to?: `0x${string}` | `0x${string}`[] | null;
1348
+ }) => () => void;
1349
+ /**
1350
+ * Watch URI events
1351
+ * @param callback Function to call when event is emitted
1352
+ * @param filter Optional filter for indexed parameters
1353
+ * @returns Unwatch function to stop listening
1354
+ */
1355
+ URI: (callback: (event: {
1356
+ _value: string;
1357
+ _id: bigint;
1358
+ }) => void, filter?: {
1359
+ _id?: bigint | bigint[] | null;
1360
+ }) => () => void;
1361
+ };
1362
+ }