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