@gitmyabi-stg/g 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,1652 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * ILimitedMinterManager.MinterConfig struct type
4
+ */
5
+ export type ILimitedMinterManager_MinterConfig = {
6
+ timestamp: bigint;
7
+ maxLimit: bigint;
8
+ duration: bigint;
9
+ currentLimit: bigint;
10
+ };
11
+ /**
12
+ * GravityTokenG ABI
13
+ *
14
+ * This ABI is typed using viem's type system for full type safety.
15
+ */
16
+ export declare const GravityTokenGAbi: readonly [{
17
+ readonly inputs: readonly [{
18
+ readonly internalType: "address";
19
+ readonly name: "initialAdmin";
20
+ readonly type: "address";
21
+ }];
22
+ readonly stateMutability: "nonpayable";
23
+ readonly type: "constructor";
24
+ }, {
25
+ readonly inputs: readonly [];
26
+ readonly name: "ECDSAInvalidSignature";
27
+ readonly type: "error";
28
+ }, {
29
+ readonly inputs: readonly [{
30
+ readonly internalType: "uint256";
31
+ readonly name: "length";
32
+ readonly type: "uint256";
33
+ }];
34
+ readonly name: "ECDSAInvalidSignatureLength";
35
+ readonly type: "error";
36
+ }, {
37
+ readonly inputs: readonly [{
38
+ readonly internalType: "bytes32";
39
+ readonly name: "s";
40
+ readonly type: "bytes32";
41
+ }];
42
+ readonly name: "ECDSAInvalidSignatureS";
43
+ readonly type: "error";
44
+ }, {
45
+ readonly inputs: readonly [{
46
+ readonly internalType: "address";
47
+ readonly name: "spender";
48
+ readonly type: "address";
49
+ }, {
50
+ readonly internalType: "uint256";
51
+ readonly name: "allowance";
52
+ readonly type: "uint256";
53
+ }, {
54
+ readonly internalType: "uint256";
55
+ readonly name: "needed";
56
+ readonly type: "uint256";
57
+ }];
58
+ readonly name: "ERC20InsufficientAllowance";
59
+ readonly type: "error";
60
+ }, {
61
+ readonly inputs: readonly [{
62
+ readonly internalType: "address";
63
+ readonly name: "sender";
64
+ readonly type: "address";
65
+ }, {
66
+ readonly internalType: "uint256";
67
+ readonly name: "balance";
68
+ readonly type: "uint256";
69
+ }, {
70
+ readonly internalType: "uint256";
71
+ readonly name: "needed";
72
+ readonly type: "uint256";
73
+ }];
74
+ readonly name: "ERC20InsufficientBalance";
75
+ readonly type: "error";
76
+ }, {
77
+ readonly inputs: readonly [{
78
+ readonly internalType: "address";
79
+ readonly name: "approver";
80
+ readonly type: "address";
81
+ }];
82
+ readonly name: "ERC20InvalidApprover";
83
+ readonly type: "error";
84
+ }, {
85
+ readonly inputs: readonly [{
86
+ readonly internalType: "address";
87
+ readonly name: "receiver";
88
+ readonly type: "address";
89
+ }];
90
+ readonly name: "ERC20InvalidReceiver";
91
+ readonly type: "error";
92
+ }, {
93
+ readonly inputs: readonly [{
94
+ readonly internalType: "address";
95
+ readonly name: "sender";
96
+ readonly type: "address";
97
+ }];
98
+ readonly name: "ERC20InvalidSender";
99
+ readonly type: "error";
100
+ }, {
101
+ readonly inputs: readonly [{
102
+ readonly internalType: "address";
103
+ readonly name: "spender";
104
+ readonly type: "address";
105
+ }];
106
+ readonly name: "ERC20InvalidSpender";
107
+ readonly type: "error";
108
+ }, {
109
+ readonly inputs: readonly [{
110
+ readonly internalType: "uint256";
111
+ readonly name: "deadline";
112
+ readonly type: "uint256";
113
+ }];
114
+ readonly name: "ERC2612ExpiredSignature";
115
+ readonly type: "error";
116
+ }, {
117
+ readonly inputs: readonly [{
118
+ readonly internalType: "address";
119
+ readonly name: "signer";
120
+ readonly type: "address";
121
+ }, {
122
+ readonly internalType: "address";
123
+ readonly name: "owner";
124
+ readonly type: "address";
125
+ }];
126
+ readonly name: "ERC2612InvalidSigner";
127
+ readonly type: "error";
128
+ }, {
129
+ readonly inputs: readonly [];
130
+ readonly name: "EnforcedPause";
131
+ readonly type: "error";
132
+ }, {
133
+ readonly inputs: readonly [];
134
+ readonly name: "ExpectedPause";
135
+ readonly type: "error";
136
+ }, {
137
+ readonly inputs: readonly [];
138
+ readonly name: "ILimitedMinterManager_InvalidDuration";
139
+ readonly type: "error";
140
+ }, {
141
+ readonly inputs: readonly [];
142
+ readonly name: "ILimitedMinterManager_InvalidIndex";
143
+ readonly type: "error";
144
+ }, {
145
+ readonly inputs: readonly [];
146
+ readonly name: "ILimitedMinterManager_InvalidIndexHint";
147
+ readonly type: "error";
148
+ }, {
149
+ readonly inputs: readonly [];
150
+ readonly name: "ILimitedMinterManager_LimitsTooHigh";
151
+ readonly type: "error";
152
+ }, {
153
+ readonly inputs: readonly [];
154
+ readonly name: "ILimitedMinterManager_NotEnoughLimits";
155
+ readonly type: "error";
156
+ }, {
157
+ readonly inputs: readonly [{
158
+ readonly internalType: "address";
159
+ readonly name: "account";
160
+ readonly type: "address";
161
+ }, {
162
+ readonly internalType: "uint256";
163
+ readonly name: "currentNonce";
164
+ readonly type: "uint256";
165
+ }];
166
+ readonly name: "InvalidAccountNonce";
167
+ readonly type: "error";
168
+ }, {
169
+ readonly inputs: readonly [];
170
+ readonly name: "InvalidShortString";
171
+ readonly type: "error";
172
+ }, {
173
+ readonly inputs: readonly [{
174
+ readonly internalType: "address";
175
+ readonly name: "owner";
176
+ readonly type: "address";
177
+ }];
178
+ readonly name: "OwnableInvalidOwner";
179
+ readonly type: "error";
180
+ }, {
181
+ readonly inputs: readonly [{
182
+ readonly internalType: "address";
183
+ readonly name: "account";
184
+ readonly type: "address";
185
+ }];
186
+ readonly name: "OwnableUnauthorizedAccount";
187
+ readonly type: "error";
188
+ }, {
189
+ readonly inputs: readonly [{
190
+ readonly internalType: "string";
191
+ readonly name: "str";
192
+ readonly type: "string";
193
+ }];
194
+ readonly name: "StringTooLong";
195
+ readonly type: "error";
196
+ }, {
197
+ readonly anonymous: false;
198
+ readonly inputs: readonly [{
199
+ readonly indexed: true;
200
+ readonly internalType: "address";
201
+ readonly name: "owner";
202
+ readonly type: "address";
203
+ }, {
204
+ readonly indexed: true;
205
+ readonly internalType: "address";
206
+ readonly name: "spender";
207
+ readonly type: "address";
208
+ }, {
209
+ readonly indexed: false;
210
+ readonly internalType: "uint256";
211
+ readonly name: "value";
212
+ readonly type: "uint256";
213
+ }];
214
+ readonly name: "Approval";
215
+ readonly type: "event";
216
+ }, {
217
+ readonly anonymous: false;
218
+ readonly inputs: readonly [];
219
+ readonly name: "EIP712DomainChanged";
220
+ readonly type: "event";
221
+ }, {
222
+ readonly anonymous: false;
223
+ readonly inputs: readonly [{
224
+ readonly indexed: true;
225
+ readonly internalType: "address";
226
+ readonly name: "_minter";
227
+ readonly type: "address";
228
+ }, {
229
+ readonly indexed: false;
230
+ readonly internalType: "uint256";
231
+ readonly name: "_mintingLimit";
232
+ readonly type: "uint256";
233
+ }, {
234
+ readonly indexed: false;
235
+ readonly internalType: "uint256";
236
+ readonly name: "_duration";
237
+ readonly type: "uint256";
238
+ }];
239
+ readonly name: "MinterLimitsSet";
240
+ readonly type: "event";
241
+ }, {
242
+ readonly anonymous: false;
243
+ readonly inputs: readonly [{
244
+ readonly indexed: true;
245
+ readonly internalType: "address";
246
+ readonly name: "_minter";
247
+ readonly type: "address";
248
+ }, {
249
+ readonly indexed: true;
250
+ readonly internalType: "address";
251
+ readonly name: "_to";
252
+ readonly type: "address";
253
+ }, {
254
+ readonly indexed: false;
255
+ readonly internalType: "uint256";
256
+ readonly name: "_amount";
257
+ readonly type: "uint256";
258
+ }];
259
+ readonly name: "MinterMinted";
260
+ readonly type: "event";
261
+ }, {
262
+ readonly anonymous: false;
263
+ readonly inputs: readonly [{
264
+ readonly indexed: true;
265
+ readonly internalType: "address";
266
+ readonly name: "_minter";
267
+ readonly type: "address";
268
+ }];
269
+ readonly name: "MinterNewlyAdded";
270
+ readonly type: "event";
271
+ }, {
272
+ readonly anonymous: false;
273
+ readonly inputs: readonly [{
274
+ readonly indexed: true;
275
+ readonly internalType: "address";
276
+ readonly name: "_minter";
277
+ readonly type: "address";
278
+ }];
279
+ readonly name: "MinterRemoved";
280
+ readonly type: "event";
281
+ }, {
282
+ readonly anonymous: false;
283
+ readonly inputs: readonly [{
284
+ readonly indexed: true;
285
+ readonly internalType: "address";
286
+ readonly name: "previousOwner";
287
+ readonly type: "address";
288
+ }, {
289
+ readonly indexed: true;
290
+ readonly internalType: "address";
291
+ readonly name: "newOwner";
292
+ readonly type: "address";
293
+ }];
294
+ readonly name: "OwnershipTransferStarted";
295
+ readonly type: "event";
296
+ }, {
297
+ readonly anonymous: false;
298
+ readonly inputs: readonly [{
299
+ readonly indexed: true;
300
+ readonly internalType: "address";
301
+ readonly name: "previousOwner";
302
+ readonly type: "address";
303
+ }, {
304
+ readonly indexed: true;
305
+ readonly internalType: "address";
306
+ readonly name: "newOwner";
307
+ readonly type: "address";
308
+ }];
309
+ readonly name: "OwnershipTransferred";
310
+ readonly type: "event";
311
+ }, {
312
+ readonly anonymous: false;
313
+ readonly inputs: readonly [{
314
+ readonly indexed: false;
315
+ readonly internalType: "address";
316
+ readonly name: "account";
317
+ readonly type: "address";
318
+ }];
319
+ readonly name: "Paused";
320
+ readonly type: "event";
321
+ }, {
322
+ readonly anonymous: false;
323
+ readonly inputs: readonly [{
324
+ readonly indexed: true;
325
+ readonly internalType: "address";
326
+ readonly name: "from";
327
+ readonly type: "address";
328
+ }, {
329
+ readonly indexed: true;
330
+ readonly internalType: "address";
331
+ readonly name: "to";
332
+ readonly type: "address";
333
+ }, {
334
+ readonly indexed: false;
335
+ readonly internalType: "uint256";
336
+ readonly name: "value";
337
+ readonly type: "uint256";
338
+ }];
339
+ readonly name: "Transfer";
340
+ readonly type: "event";
341
+ }, {
342
+ readonly anonymous: false;
343
+ readonly inputs: readonly [{
344
+ readonly indexed: false;
345
+ readonly internalType: "address";
346
+ readonly name: "account";
347
+ readonly type: "address";
348
+ }];
349
+ readonly name: "Unpaused";
350
+ readonly type: "event";
351
+ }, {
352
+ readonly inputs: readonly [];
353
+ readonly name: "DOMAIN_SEPARATOR";
354
+ readonly outputs: readonly [{
355
+ readonly internalType: "bytes32";
356
+ readonly name: "";
357
+ readonly type: "bytes32";
358
+ }];
359
+ readonly stateMutability: "view";
360
+ readonly type: "function";
361
+ }, {
362
+ readonly inputs: readonly [];
363
+ readonly name: "acceptOwnership";
364
+ readonly outputs: readonly [];
365
+ readonly stateMutability: "nonpayable";
366
+ readonly type: "function";
367
+ }, {
368
+ readonly inputs: readonly [{
369
+ readonly internalType: "address";
370
+ readonly name: "owner";
371
+ readonly type: "address";
372
+ }, {
373
+ readonly internalType: "address";
374
+ readonly name: "spender";
375
+ readonly type: "address";
376
+ }];
377
+ readonly name: "allowance";
378
+ readonly outputs: readonly [{
379
+ readonly internalType: "uint256";
380
+ readonly name: "";
381
+ readonly type: "uint256";
382
+ }];
383
+ readonly stateMutability: "view";
384
+ readonly type: "function";
385
+ }, {
386
+ readonly inputs: readonly [{
387
+ readonly internalType: "address";
388
+ readonly name: "spender";
389
+ readonly type: "address";
390
+ }, {
391
+ readonly internalType: "uint256";
392
+ readonly name: "value";
393
+ readonly type: "uint256";
394
+ }];
395
+ readonly name: "approve";
396
+ readonly outputs: readonly [{
397
+ readonly internalType: "bool";
398
+ readonly name: "";
399
+ readonly type: "bool";
400
+ }];
401
+ readonly stateMutability: "nonpayable";
402
+ readonly type: "function";
403
+ }, {
404
+ readonly inputs: readonly [{
405
+ readonly internalType: "address";
406
+ readonly name: "account";
407
+ readonly type: "address";
408
+ }];
409
+ readonly name: "balanceOf";
410
+ readonly outputs: readonly [{
411
+ readonly internalType: "uint256";
412
+ readonly name: "";
413
+ readonly type: "uint256";
414
+ }];
415
+ readonly stateMutability: "view";
416
+ readonly type: "function";
417
+ }, {
418
+ readonly inputs: readonly [{
419
+ readonly internalType: "uint256";
420
+ readonly name: "value";
421
+ readonly type: "uint256";
422
+ }];
423
+ readonly name: "burn";
424
+ readonly outputs: readonly [];
425
+ readonly stateMutability: "nonpayable";
426
+ readonly type: "function";
427
+ }, {
428
+ readonly inputs: readonly [{
429
+ readonly internalType: "address";
430
+ readonly name: "account";
431
+ readonly type: "address";
432
+ }, {
433
+ readonly internalType: "uint256";
434
+ readonly name: "value";
435
+ readonly type: "uint256";
436
+ }];
437
+ readonly name: "burnFrom";
438
+ readonly outputs: readonly [];
439
+ readonly stateMutability: "nonpayable";
440
+ readonly type: "function";
441
+ }, {
442
+ readonly inputs: readonly [];
443
+ readonly name: "decimals";
444
+ readonly outputs: readonly [{
445
+ readonly internalType: "uint8";
446
+ readonly name: "";
447
+ readonly type: "uint8";
448
+ }];
449
+ readonly stateMutability: "view";
450
+ readonly type: "function";
451
+ }, {
452
+ readonly inputs: readonly [];
453
+ readonly name: "eip712Domain";
454
+ readonly outputs: readonly [{
455
+ readonly internalType: "bytes1";
456
+ readonly name: "fields";
457
+ readonly type: "bytes1";
458
+ }, {
459
+ readonly internalType: "string";
460
+ readonly name: "name";
461
+ readonly type: "string";
462
+ }, {
463
+ readonly internalType: "string";
464
+ readonly name: "version";
465
+ readonly type: "string";
466
+ }, {
467
+ readonly internalType: "uint256";
468
+ readonly name: "chainId";
469
+ readonly type: "uint256";
470
+ }, {
471
+ readonly internalType: "address";
472
+ readonly name: "verifyingContract";
473
+ readonly type: "address";
474
+ }, {
475
+ readonly internalType: "bytes32";
476
+ readonly name: "salt";
477
+ readonly type: "bytes32";
478
+ }, {
479
+ readonly internalType: "uint256[]";
480
+ readonly name: "extensions";
481
+ readonly type: "uint256[]";
482
+ }];
483
+ readonly stateMutability: "view";
484
+ readonly type: "function";
485
+ }, {
486
+ readonly inputs: readonly [{
487
+ readonly internalType: "uint256";
488
+ readonly name: "_index";
489
+ readonly type: "uint256";
490
+ }];
491
+ readonly name: "getMinterByIndex";
492
+ readonly outputs: readonly [{
493
+ readonly internalType: "address";
494
+ readonly name: "";
495
+ readonly type: "address";
496
+ }];
497
+ readonly stateMutability: "view";
498
+ readonly type: "function";
499
+ }, {
500
+ readonly inputs: readonly [{
501
+ readonly internalType: "address";
502
+ readonly name: "_minter";
503
+ readonly type: "address";
504
+ }];
505
+ readonly name: "getMinterConfig";
506
+ readonly outputs: readonly [{
507
+ readonly components: readonly [{
508
+ readonly internalType: "uint256";
509
+ readonly name: "timestamp";
510
+ readonly type: "uint256";
511
+ }, {
512
+ readonly internalType: "uint256";
513
+ readonly name: "maxLimit";
514
+ readonly type: "uint256";
515
+ }, {
516
+ readonly internalType: "uint256";
517
+ readonly name: "duration";
518
+ readonly type: "uint256";
519
+ }, {
520
+ readonly internalType: "uint256";
521
+ readonly name: "currentLimit";
522
+ readonly type: "uint256";
523
+ }];
524
+ readonly internalType: "struct ILimitedMinterManager.MinterConfig";
525
+ readonly name: "";
526
+ readonly type: "tuple";
527
+ }];
528
+ readonly stateMutability: "view";
529
+ readonly type: "function";
530
+ }, {
531
+ readonly inputs: readonly [];
532
+ readonly name: "getMinterCount";
533
+ readonly outputs: readonly [{
534
+ readonly internalType: "uint256";
535
+ readonly name: "";
536
+ readonly type: "uint256";
537
+ }];
538
+ readonly stateMutability: "view";
539
+ readonly type: "function";
540
+ }, {
541
+ readonly inputs: readonly [{
542
+ readonly internalType: "address";
543
+ readonly name: "_user";
544
+ readonly type: "address";
545
+ }, {
546
+ readonly internalType: "uint256";
547
+ readonly name: "_amount";
548
+ readonly type: "uint256";
549
+ }];
550
+ readonly name: "mint";
551
+ readonly outputs: readonly [];
552
+ readonly stateMutability: "nonpayable";
553
+ readonly type: "function";
554
+ }, {
555
+ readonly inputs: readonly [{
556
+ readonly internalType: "address";
557
+ readonly name: "_minter";
558
+ readonly type: "address";
559
+ }];
560
+ readonly name: "mintingCurrentLimitOf";
561
+ readonly outputs: readonly [{
562
+ readonly internalType: "uint256";
563
+ readonly name: "_limit";
564
+ readonly type: "uint256";
565
+ }];
566
+ readonly stateMutability: "view";
567
+ readonly type: "function";
568
+ }, {
569
+ readonly inputs: readonly [{
570
+ readonly internalType: "address";
571
+ readonly name: "_minter";
572
+ readonly type: "address";
573
+ }];
574
+ readonly name: "mintingMaxLimitOf";
575
+ readonly outputs: readonly [{
576
+ readonly internalType: "uint256";
577
+ readonly name: "_limit";
578
+ readonly type: "uint256";
579
+ }];
580
+ readonly stateMutability: "view";
581
+ readonly type: "function";
582
+ }, {
583
+ readonly inputs: readonly [];
584
+ readonly name: "name";
585
+ readonly outputs: readonly [{
586
+ readonly internalType: "string";
587
+ readonly name: "";
588
+ readonly type: "string";
589
+ }];
590
+ readonly stateMutability: "view";
591
+ readonly type: "function";
592
+ }, {
593
+ readonly inputs: readonly [{
594
+ readonly internalType: "address";
595
+ readonly name: "owner";
596
+ readonly type: "address";
597
+ }];
598
+ readonly name: "nonces";
599
+ readonly outputs: readonly [{
600
+ readonly internalType: "uint256";
601
+ readonly name: "";
602
+ readonly type: "uint256";
603
+ }];
604
+ readonly stateMutability: "view";
605
+ readonly type: "function";
606
+ }, {
607
+ readonly inputs: readonly [];
608
+ readonly name: "owner";
609
+ readonly outputs: readonly [{
610
+ readonly internalType: "address";
611
+ readonly name: "";
612
+ readonly type: "address";
613
+ }];
614
+ readonly stateMutability: "view";
615
+ readonly type: "function";
616
+ }, {
617
+ readonly inputs: readonly [{
618
+ readonly internalType: "address";
619
+ readonly name: "to";
620
+ readonly type: "address";
621
+ }, {
622
+ readonly internalType: "uint256";
623
+ readonly name: "amount";
624
+ readonly type: "uint256";
625
+ }];
626
+ readonly name: "ownerMint";
627
+ readonly outputs: readonly [];
628
+ readonly stateMutability: "nonpayable";
629
+ readonly type: "function";
630
+ }, {
631
+ readonly inputs: readonly [];
632
+ readonly name: "pause";
633
+ readonly outputs: readonly [];
634
+ readonly stateMutability: "nonpayable";
635
+ readonly type: "function";
636
+ }, {
637
+ readonly inputs: readonly [];
638
+ readonly name: "paused";
639
+ readonly outputs: readonly [{
640
+ readonly internalType: "bool";
641
+ readonly name: "";
642
+ readonly type: "bool";
643
+ }];
644
+ readonly stateMutability: "view";
645
+ readonly type: "function";
646
+ }, {
647
+ readonly inputs: readonly [];
648
+ readonly name: "pendingOwner";
649
+ readonly outputs: readonly [{
650
+ readonly internalType: "address";
651
+ readonly name: "";
652
+ readonly type: "address";
653
+ }];
654
+ readonly stateMutability: "view";
655
+ readonly type: "function";
656
+ }, {
657
+ readonly inputs: readonly [{
658
+ readonly internalType: "address";
659
+ readonly name: "owner";
660
+ readonly type: "address";
661
+ }, {
662
+ readonly internalType: "address";
663
+ readonly name: "spender";
664
+ readonly type: "address";
665
+ }, {
666
+ readonly internalType: "uint256";
667
+ readonly name: "value";
668
+ readonly type: "uint256";
669
+ }, {
670
+ readonly internalType: "uint256";
671
+ readonly name: "deadline";
672
+ readonly type: "uint256";
673
+ }, {
674
+ readonly internalType: "uint8";
675
+ readonly name: "v";
676
+ readonly type: "uint8";
677
+ }, {
678
+ readonly internalType: "bytes32";
679
+ readonly name: "r";
680
+ readonly type: "bytes32";
681
+ }, {
682
+ readonly internalType: "bytes32";
683
+ readonly name: "s";
684
+ readonly type: "bytes32";
685
+ }];
686
+ readonly name: "permit";
687
+ readonly outputs: readonly [];
688
+ readonly stateMutability: "nonpayable";
689
+ readonly type: "function";
690
+ }, {
691
+ readonly inputs: readonly [{
692
+ readonly internalType: "address";
693
+ readonly name: "_minter";
694
+ readonly type: "address";
695
+ }, {
696
+ readonly internalType: "uint256";
697
+ readonly name: "_indexHint";
698
+ readonly type: "uint256";
699
+ }];
700
+ readonly name: "removeMinterByIndexHint";
701
+ readonly outputs: readonly [];
702
+ readonly stateMutability: "nonpayable";
703
+ readonly type: "function";
704
+ }, {
705
+ readonly inputs: readonly [];
706
+ readonly name: "renounceOwnership";
707
+ readonly outputs: readonly [];
708
+ readonly stateMutability: "nonpayable";
709
+ readonly type: "function";
710
+ }, {
711
+ readonly inputs: readonly [{
712
+ readonly internalType: "address";
713
+ readonly name: "_minter";
714
+ readonly type: "address";
715
+ }, {
716
+ readonly internalType: "uint256";
717
+ readonly name: "_mintingLimit";
718
+ readonly type: "uint256";
719
+ }, {
720
+ readonly internalType: "uint256";
721
+ readonly name: "_duration";
722
+ readonly type: "uint256";
723
+ }];
724
+ readonly name: "setMinterLimit";
725
+ readonly outputs: readonly [];
726
+ readonly stateMutability: "nonpayable";
727
+ readonly type: "function";
728
+ }, {
729
+ readonly inputs: readonly [{
730
+ readonly internalType: "string";
731
+ readonly name: "newName";
732
+ readonly type: "string";
733
+ }];
734
+ readonly name: "setName";
735
+ readonly outputs: readonly [];
736
+ readonly stateMutability: "nonpayable";
737
+ readonly type: "function";
738
+ }, {
739
+ readonly inputs: readonly [];
740
+ readonly name: "symbol";
741
+ readonly outputs: readonly [{
742
+ readonly internalType: "string";
743
+ readonly name: "";
744
+ readonly type: "string";
745
+ }];
746
+ readonly stateMutability: "view";
747
+ readonly type: "function";
748
+ }, {
749
+ readonly inputs: readonly [];
750
+ readonly name: "totalSupply";
751
+ readonly outputs: readonly [{
752
+ readonly internalType: "uint256";
753
+ readonly name: "";
754
+ readonly type: "uint256";
755
+ }];
756
+ readonly stateMutability: "view";
757
+ readonly type: "function";
758
+ }, {
759
+ readonly inputs: readonly [{
760
+ readonly internalType: "address";
761
+ readonly name: "to";
762
+ readonly type: "address";
763
+ }, {
764
+ readonly internalType: "uint256";
765
+ readonly name: "value";
766
+ readonly type: "uint256";
767
+ }];
768
+ readonly name: "transfer";
769
+ readonly outputs: readonly [{
770
+ readonly internalType: "bool";
771
+ readonly name: "";
772
+ readonly type: "bool";
773
+ }];
774
+ readonly stateMutability: "nonpayable";
775
+ readonly type: "function";
776
+ }, {
777
+ readonly inputs: readonly [{
778
+ readonly internalType: "address";
779
+ readonly name: "from";
780
+ readonly type: "address";
781
+ }, {
782
+ readonly internalType: "address";
783
+ readonly name: "to";
784
+ readonly type: "address";
785
+ }, {
786
+ readonly internalType: "uint256";
787
+ readonly name: "value";
788
+ readonly type: "uint256";
789
+ }];
790
+ readonly name: "transferFrom";
791
+ readonly outputs: readonly [{
792
+ readonly internalType: "bool";
793
+ readonly name: "";
794
+ readonly type: "bool";
795
+ }];
796
+ readonly stateMutability: "nonpayable";
797
+ readonly type: "function";
798
+ }, {
799
+ readonly inputs: readonly [{
800
+ readonly internalType: "address";
801
+ readonly name: "newOwner";
802
+ readonly type: "address";
803
+ }];
804
+ readonly name: "transferOwnership";
805
+ readonly outputs: readonly [];
806
+ readonly stateMutability: "nonpayable";
807
+ readonly type: "function";
808
+ }, {
809
+ readonly inputs: readonly [];
810
+ readonly name: "unpause";
811
+ readonly outputs: readonly [];
812
+ readonly stateMutability: "nonpayable";
813
+ readonly type: "function";
814
+ }];
815
+ /**
816
+ * Type-safe ABI for GravityTokenG
817
+ */
818
+ export type GravityTokenGAbi = typeof GravityTokenGAbi;
819
+ /**
820
+ * Contract instance type for GravityTokenG
821
+ */
822
+ export type GravityTokenGContract = any;
823
+ /**
824
+ * GravityTokenG Contract Class
825
+ *
826
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
827
+ *
828
+ * @example
829
+ * ```typescript
830
+ * import { createPublicClient, createWalletClient, http } from 'viem';
831
+ * import { mainnet } from 'viem/chains';
832
+ * import { GravityTokenG } from 'GravityTokenG';
833
+ *
834
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
835
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
836
+ *
837
+ * const contract = new GravityTokenG('0x...', { publicClient, walletClient });
838
+ *
839
+ * // Read functions
840
+ * const result = await contract.balanceOf('0x...');
841
+ *
842
+ * // Write functions
843
+ * const hash = await contract.transfer('0x...', 1000n);
844
+ *
845
+ * // Simulate transactions (dry-run)
846
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
847
+ * console.log('Gas estimate:', simulation.request.gas);
848
+ *
849
+ * // Watch events
850
+ * const unwatch = contract.watch.Transfer((event) => {
851
+ * console.log('Transfer event:', event);
852
+ * });
853
+ * ```
854
+ */
855
+ export declare class GravityTokenG {
856
+ private contract;
857
+ private contractAddress;
858
+ private publicClient;
859
+ constructor(address: Address, clients: {
860
+ publicClient: PublicClient;
861
+ walletClient?: WalletClient;
862
+ });
863
+ /**
864
+ * Get the contract address
865
+ */
866
+ get address(): Address;
867
+ /**
868
+ * Get the underlying viem contract instance.
869
+ */
870
+ getContract(): GravityTokenGContract;
871
+ /**
872
+ * DOMAIN_SEPARATOR
873
+ * view
874
+ */
875
+ DOMAIN_SEPARATOR(): Promise<`0x${string}`>;
876
+ /**
877
+ * allowance
878
+ * view
879
+ */
880
+ allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
881
+ /**
882
+ * balanceOf
883
+ * view
884
+ */
885
+ balanceOf(account: `0x${string}`): Promise<bigint>;
886
+ /**
887
+ * decimals
888
+ * view
889
+ */
890
+ decimals(): Promise<bigint>;
891
+ /**
892
+ * eip712Domain
893
+ * view
894
+ */
895
+ eip712Domain(): Promise<[`0x${string}`, string, string, bigint, `0x${string}`, `0x${string}`, bigint[]]>;
896
+ /**
897
+ * getMinterByIndex
898
+ * view
899
+ */
900
+ getMinterByIndex(_index: bigint): Promise<`0x${string}`>;
901
+ /**
902
+ * getMinterConfig
903
+ * view
904
+ */
905
+ getMinterConfig(_minter: `0x${string}`): Promise<ILimitedMinterManager_MinterConfig>;
906
+ /**
907
+ * getMinterCount
908
+ * view
909
+ */
910
+ getMinterCount(): Promise<bigint>;
911
+ /**
912
+ * mintingCurrentLimitOf
913
+ * view
914
+ */
915
+ mintingCurrentLimitOf(_minter: `0x${string}`): Promise<bigint>;
916
+ /**
917
+ * mintingMaxLimitOf
918
+ * view
919
+ */
920
+ mintingMaxLimitOf(_minter: `0x${string}`): Promise<bigint>;
921
+ /**
922
+ * name
923
+ * view
924
+ */
925
+ name(): Promise<string>;
926
+ /**
927
+ * nonces
928
+ * view
929
+ */
930
+ nonces(owner: `0x${string}`): Promise<bigint>;
931
+ /**
932
+ * owner
933
+ * view
934
+ */
935
+ owner(): Promise<`0x${string}`>;
936
+ /**
937
+ * paused
938
+ * view
939
+ */
940
+ paused(): Promise<boolean>;
941
+ /**
942
+ * pendingOwner
943
+ * view
944
+ */
945
+ pendingOwner(): Promise<`0x${string}`>;
946
+ /**
947
+ * symbol
948
+ * view
949
+ */
950
+ symbol(): Promise<string>;
951
+ /**
952
+ * totalSupply
953
+ * view
954
+ */
955
+ totalSupply(): Promise<bigint>;
956
+ /**
957
+ * acceptOwnership
958
+ * nonpayable
959
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
960
+ */
961
+ acceptOwnership(options?: {
962
+ accessList?: import('viem').AccessList;
963
+ authorizationList?: import('viem').AuthorizationList;
964
+ chain?: import('viem').Chain | null;
965
+ dataSuffix?: `0x${string}`;
966
+ gas?: bigint;
967
+ gasPrice?: bigint;
968
+ maxFeePerGas?: bigint;
969
+ maxPriorityFeePerGas?: bigint;
970
+ nonce?: number;
971
+ value?: bigint;
972
+ }): Promise<`0x${string}`>;
973
+ /**
974
+ * approve
975
+ * nonpayable
976
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
977
+ */
978
+ approve(spender: `0x${string}`, value: bigint, options?: {
979
+ accessList?: import('viem').AccessList;
980
+ authorizationList?: import('viem').AuthorizationList;
981
+ chain?: import('viem').Chain | null;
982
+ dataSuffix?: `0x${string}`;
983
+ gas?: bigint;
984
+ gasPrice?: bigint;
985
+ maxFeePerGas?: bigint;
986
+ maxPriorityFeePerGas?: bigint;
987
+ nonce?: number;
988
+ value?: bigint;
989
+ }): Promise<`0x${string}`>;
990
+ /**
991
+ * burn
992
+ * nonpayable
993
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
994
+ */
995
+ burn(value: bigint, options?: {
996
+ accessList?: import('viem').AccessList;
997
+ authorizationList?: import('viem').AuthorizationList;
998
+ chain?: import('viem').Chain | null;
999
+ dataSuffix?: `0x${string}`;
1000
+ gas?: bigint;
1001
+ gasPrice?: bigint;
1002
+ maxFeePerGas?: bigint;
1003
+ maxPriorityFeePerGas?: bigint;
1004
+ nonce?: number;
1005
+ value?: bigint;
1006
+ }): Promise<`0x${string}`>;
1007
+ /**
1008
+ * burnFrom
1009
+ * nonpayable
1010
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1011
+ */
1012
+ burnFrom(account: `0x${string}`, value: bigint, options?: {
1013
+ accessList?: import('viem').AccessList;
1014
+ authorizationList?: import('viem').AuthorizationList;
1015
+ chain?: import('viem').Chain | null;
1016
+ dataSuffix?: `0x${string}`;
1017
+ gas?: bigint;
1018
+ gasPrice?: bigint;
1019
+ maxFeePerGas?: bigint;
1020
+ maxPriorityFeePerGas?: bigint;
1021
+ nonce?: number;
1022
+ value?: bigint;
1023
+ }): Promise<`0x${string}`>;
1024
+ /**
1025
+ * mint
1026
+ * nonpayable
1027
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1028
+ */
1029
+ mint(_user: `0x${string}`, _amount: bigint, 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<`0x${string}`>;
1041
+ /**
1042
+ * ownerMint
1043
+ * nonpayable
1044
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1045
+ */
1046
+ ownerMint(to: `0x${string}`, amount: 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<`0x${string}`>;
1058
+ /**
1059
+ * pause
1060
+ * nonpayable
1061
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1062
+ */
1063
+ pause(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<`0x${string}`>;
1075
+ /**
1076
+ * permit
1077
+ * nonpayable
1078
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1079
+ */
1080
+ permit(owner: `0x${string}`, spender: `0x${string}`, value: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `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<`0x${string}`>;
1092
+ /**
1093
+ * removeMinterByIndexHint
1094
+ * nonpayable
1095
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1096
+ */
1097
+ removeMinterByIndexHint(_minter: `0x${string}`, _indexHint: bigint, 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<`0x${string}`>;
1109
+ /**
1110
+ * renounceOwnership
1111
+ * nonpayable
1112
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1113
+ */
1114
+ renounceOwnership(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<`0x${string}`>;
1126
+ /**
1127
+ * setMinterLimit
1128
+ * nonpayable
1129
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1130
+ */
1131
+ setMinterLimit(_minter: `0x${string}`, _mintingLimit: bigint, _duration: bigint, 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<`0x${string}`>;
1143
+ /**
1144
+ * setName
1145
+ * nonpayable
1146
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1147
+ */
1148
+ setName(newName: 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<`0x${string}`>;
1160
+ /**
1161
+ * transfer
1162
+ * nonpayable
1163
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1164
+ */
1165
+ transfer(to: `0x${string}`, value: bigint, 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<`0x${string}`>;
1177
+ /**
1178
+ * transferFrom
1179
+ * nonpayable
1180
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1181
+ */
1182
+ transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, 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<`0x${string}`>;
1194
+ /**
1195
+ * transferOwnership
1196
+ * nonpayable
1197
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1198
+ */
1199
+ transferOwnership(newOwner: `0x${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<`0x${string}`>;
1211
+ /**
1212
+ * unpause
1213
+ * nonpayable
1214
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1215
+ */
1216
+ unpause(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<`0x${string}`>;
1228
+ /**
1229
+ * Simulate contract write operations (dry-run without sending transaction)
1230
+ *
1231
+ * @example
1232
+ * const result = await contract.simulate.transfer('0x...', 1000n);
1233
+ * console.log('Gas estimate:', result.request.gas);
1234
+ * console.log('Would succeed:', result.result);
1235
+ */
1236
+ get simulate(): {
1237
+ /**
1238
+ * Simulate acceptOwnership
1239
+ * Returns gas estimate and result without sending transaction
1240
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1241
+ */
1242
+ acceptOwnership(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 approve
1256
+ * Returns gas estimate and result without sending transaction
1257
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1258
+ */
1259
+ approve(spender: `0x${string}`, value: bigint, 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<boolean>;
1271
+ /**
1272
+ * Simulate burn
1273
+ * Returns gas estimate and result without sending transaction
1274
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1275
+ */
1276
+ burn(value: bigint, 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 burnFrom
1290
+ * Returns gas estimate and result without sending transaction
1291
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1292
+ */
1293
+ burnFrom(account: `0x${string}`, value: bigint, options?: {
1294
+ accessList?: import("viem").AccessList;
1295
+ authorizationList?: import("viem").AuthorizationList;
1296
+ chain?: import("viem").Chain | null;
1297
+ dataSuffix?: `0x${string}`;
1298
+ gas?: bigint;
1299
+ gasPrice?: bigint;
1300
+ maxFeePerGas?: bigint;
1301
+ maxPriorityFeePerGas?: bigint;
1302
+ nonce?: number;
1303
+ value?: bigint;
1304
+ }): Promise<void>;
1305
+ /**
1306
+ * Simulate mint
1307
+ * Returns gas estimate and result without sending transaction
1308
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1309
+ */
1310
+ mint(_user: `0x${string}`, _amount: bigint, options?: {
1311
+ accessList?: import("viem").AccessList;
1312
+ authorizationList?: import("viem").AuthorizationList;
1313
+ chain?: import("viem").Chain | null;
1314
+ dataSuffix?: `0x${string}`;
1315
+ gas?: bigint;
1316
+ gasPrice?: bigint;
1317
+ maxFeePerGas?: bigint;
1318
+ maxPriorityFeePerGas?: bigint;
1319
+ nonce?: number;
1320
+ value?: bigint;
1321
+ }): Promise<void>;
1322
+ /**
1323
+ * Simulate ownerMint
1324
+ * Returns gas estimate and result without sending transaction
1325
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1326
+ */
1327
+ ownerMint(to: `0x${string}`, amount: bigint, options?: {
1328
+ accessList?: import("viem").AccessList;
1329
+ authorizationList?: import("viem").AuthorizationList;
1330
+ chain?: import("viem").Chain | null;
1331
+ dataSuffix?: `0x${string}`;
1332
+ gas?: bigint;
1333
+ gasPrice?: bigint;
1334
+ maxFeePerGas?: bigint;
1335
+ maxPriorityFeePerGas?: bigint;
1336
+ nonce?: number;
1337
+ value?: bigint;
1338
+ }): Promise<void>;
1339
+ /**
1340
+ * Simulate pause
1341
+ * Returns gas estimate and result without sending transaction
1342
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1343
+ */
1344
+ pause(options?: {
1345
+ accessList?: import("viem").AccessList;
1346
+ authorizationList?: import("viem").AuthorizationList;
1347
+ chain?: import("viem").Chain | null;
1348
+ dataSuffix?: `0x${string}`;
1349
+ gas?: bigint;
1350
+ gasPrice?: bigint;
1351
+ maxFeePerGas?: bigint;
1352
+ maxPriorityFeePerGas?: bigint;
1353
+ nonce?: number;
1354
+ value?: bigint;
1355
+ }): Promise<void>;
1356
+ /**
1357
+ * Simulate permit
1358
+ * Returns gas estimate and result without sending transaction
1359
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1360
+ */
1361
+ permit(owner: `0x${string}`, spender: `0x${string}`, value: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
1362
+ accessList?: import("viem").AccessList;
1363
+ authorizationList?: import("viem").AuthorizationList;
1364
+ chain?: import("viem").Chain | null;
1365
+ dataSuffix?: `0x${string}`;
1366
+ gas?: bigint;
1367
+ gasPrice?: bigint;
1368
+ maxFeePerGas?: bigint;
1369
+ maxPriorityFeePerGas?: bigint;
1370
+ nonce?: number;
1371
+ value?: bigint;
1372
+ }): Promise<void>;
1373
+ /**
1374
+ * Simulate removeMinterByIndexHint
1375
+ * Returns gas estimate and result without sending transaction
1376
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1377
+ */
1378
+ removeMinterByIndexHint(_minter: `0x${string}`, _indexHint: bigint, options?: {
1379
+ accessList?: import("viem").AccessList;
1380
+ authorizationList?: import("viem").AuthorizationList;
1381
+ chain?: import("viem").Chain | null;
1382
+ dataSuffix?: `0x${string}`;
1383
+ gas?: bigint;
1384
+ gasPrice?: bigint;
1385
+ maxFeePerGas?: bigint;
1386
+ maxPriorityFeePerGas?: bigint;
1387
+ nonce?: number;
1388
+ value?: bigint;
1389
+ }): Promise<void>;
1390
+ /**
1391
+ * Simulate renounceOwnership
1392
+ * Returns gas estimate and result without sending transaction
1393
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1394
+ */
1395
+ renounceOwnership(options?: {
1396
+ accessList?: import("viem").AccessList;
1397
+ authorizationList?: import("viem").AuthorizationList;
1398
+ chain?: import("viem").Chain | null;
1399
+ dataSuffix?: `0x${string}`;
1400
+ gas?: bigint;
1401
+ gasPrice?: bigint;
1402
+ maxFeePerGas?: bigint;
1403
+ maxPriorityFeePerGas?: bigint;
1404
+ nonce?: number;
1405
+ value?: bigint;
1406
+ }): Promise<void>;
1407
+ /**
1408
+ * Simulate setMinterLimit
1409
+ * Returns gas estimate and result without sending transaction
1410
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1411
+ */
1412
+ setMinterLimit(_minter: `0x${string}`, _mintingLimit: bigint, _duration: bigint, options?: {
1413
+ accessList?: import("viem").AccessList;
1414
+ authorizationList?: import("viem").AuthorizationList;
1415
+ chain?: import("viem").Chain | null;
1416
+ dataSuffix?: `0x${string}`;
1417
+ gas?: bigint;
1418
+ gasPrice?: bigint;
1419
+ maxFeePerGas?: bigint;
1420
+ maxPriorityFeePerGas?: bigint;
1421
+ nonce?: number;
1422
+ value?: bigint;
1423
+ }): Promise<void>;
1424
+ /**
1425
+ * Simulate setName
1426
+ * Returns gas estimate and result without sending transaction
1427
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1428
+ */
1429
+ setName(newName: string, options?: {
1430
+ accessList?: import("viem").AccessList;
1431
+ authorizationList?: import("viem").AuthorizationList;
1432
+ chain?: import("viem").Chain | null;
1433
+ dataSuffix?: `0x${string}`;
1434
+ gas?: bigint;
1435
+ gasPrice?: bigint;
1436
+ maxFeePerGas?: bigint;
1437
+ maxPriorityFeePerGas?: bigint;
1438
+ nonce?: number;
1439
+ value?: bigint;
1440
+ }): Promise<void>;
1441
+ /**
1442
+ * Simulate transfer
1443
+ * Returns gas estimate and result without sending transaction
1444
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1445
+ */
1446
+ transfer(to: `0x${string}`, value: bigint, options?: {
1447
+ accessList?: import("viem").AccessList;
1448
+ authorizationList?: import("viem").AuthorizationList;
1449
+ chain?: import("viem").Chain | null;
1450
+ dataSuffix?: `0x${string}`;
1451
+ gas?: bigint;
1452
+ gasPrice?: bigint;
1453
+ maxFeePerGas?: bigint;
1454
+ maxPriorityFeePerGas?: bigint;
1455
+ nonce?: number;
1456
+ value?: bigint;
1457
+ }): Promise<boolean>;
1458
+ /**
1459
+ * Simulate transferFrom
1460
+ * Returns gas estimate and result without sending transaction
1461
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1462
+ */
1463
+ transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
1464
+ accessList?: import("viem").AccessList;
1465
+ authorizationList?: import("viem").AuthorizationList;
1466
+ chain?: import("viem").Chain | null;
1467
+ dataSuffix?: `0x${string}`;
1468
+ gas?: bigint;
1469
+ gasPrice?: bigint;
1470
+ maxFeePerGas?: bigint;
1471
+ maxPriorityFeePerGas?: bigint;
1472
+ nonce?: number;
1473
+ value?: bigint;
1474
+ }): Promise<boolean>;
1475
+ /**
1476
+ * Simulate transferOwnership
1477
+ * Returns gas estimate and result without sending transaction
1478
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1479
+ */
1480
+ transferOwnership(newOwner: `0x${string}`, options?: {
1481
+ accessList?: import("viem").AccessList;
1482
+ authorizationList?: import("viem").AuthorizationList;
1483
+ chain?: import("viem").Chain | null;
1484
+ dataSuffix?: `0x${string}`;
1485
+ gas?: bigint;
1486
+ gasPrice?: bigint;
1487
+ maxFeePerGas?: bigint;
1488
+ maxPriorityFeePerGas?: bigint;
1489
+ nonce?: number;
1490
+ value?: bigint;
1491
+ }): Promise<void>;
1492
+ /**
1493
+ * Simulate unpause
1494
+ * Returns gas estimate and result without sending transaction
1495
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1496
+ */
1497
+ unpause(options?: {
1498
+ accessList?: import("viem").AccessList;
1499
+ authorizationList?: import("viem").AuthorizationList;
1500
+ chain?: import("viem").Chain | null;
1501
+ dataSuffix?: `0x${string}`;
1502
+ gas?: bigint;
1503
+ gasPrice?: bigint;
1504
+ maxFeePerGas?: bigint;
1505
+ maxPriorityFeePerGas?: bigint;
1506
+ nonce?: number;
1507
+ value?: bigint;
1508
+ }): Promise<void>;
1509
+ };
1510
+ /**
1511
+ * Watch contract events
1512
+ *
1513
+ * @example
1514
+ * // Watch all Transfer events
1515
+ * const unwatch = contract.watch.Transfer((event) => {
1516
+ * console.log('Transfer:', event);
1517
+ * });
1518
+ *
1519
+ * // Stop watching
1520
+ * unwatch();
1521
+ */
1522
+ get watch(): {
1523
+ /**
1524
+ * Watch Approval events
1525
+ * @param callback Function to call when event is emitted
1526
+ * @param filter Optional filter for indexed parameters
1527
+ * @returns Unwatch function to stop listening
1528
+ */
1529
+ Approval: (callback: (event: {
1530
+ owner: `0x${string}`;
1531
+ spender: `0x${string}`;
1532
+ value: bigint;
1533
+ }) => void, filter?: {
1534
+ owner?: `0x${string}` | `0x${string}`[] | null;
1535
+ spender?: `0x${string}` | `0x${string}`[] | null;
1536
+ }) => () => void;
1537
+ /**
1538
+ * Watch EIP712DomainChanged events
1539
+ * @param callback Function to call when event is emitted
1540
+ * @param filter Optional filter for indexed parameters
1541
+ * @returns Unwatch function to stop listening
1542
+ */
1543
+ EIP712DomainChanged: (callback: (event: {}) => void) => () => void;
1544
+ /**
1545
+ * Watch MinterLimitsSet events
1546
+ * @param callback Function to call when event is emitted
1547
+ * @param filter Optional filter for indexed parameters
1548
+ * @returns Unwatch function to stop listening
1549
+ */
1550
+ MinterLimitsSet: (callback: (event: {
1551
+ _minter: `0x${string}`;
1552
+ _mintingLimit: bigint;
1553
+ _duration: bigint;
1554
+ }) => void, filter?: {
1555
+ _minter?: `0x${string}` | `0x${string}`[] | null;
1556
+ }) => () => void;
1557
+ /**
1558
+ * Watch MinterMinted events
1559
+ * @param callback Function to call when event is emitted
1560
+ * @param filter Optional filter for indexed parameters
1561
+ * @returns Unwatch function to stop listening
1562
+ */
1563
+ MinterMinted: (callback: (event: {
1564
+ _minter: `0x${string}`;
1565
+ _to: `0x${string}`;
1566
+ _amount: bigint;
1567
+ }) => void, filter?: {
1568
+ _minter?: `0x${string}` | `0x${string}`[] | null;
1569
+ _to?: `0x${string}` | `0x${string}`[] | null;
1570
+ }) => () => void;
1571
+ /**
1572
+ * Watch MinterNewlyAdded events
1573
+ * @param callback Function to call when event is emitted
1574
+ * @param filter Optional filter for indexed parameters
1575
+ * @returns Unwatch function to stop listening
1576
+ */
1577
+ MinterNewlyAdded: (callback: (event: {
1578
+ _minter: `0x${string}`;
1579
+ }) => void, filter?: {
1580
+ _minter?: `0x${string}` | `0x${string}`[] | null;
1581
+ }) => () => void;
1582
+ /**
1583
+ * Watch MinterRemoved events
1584
+ * @param callback Function to call when event is emitted
1585
+ * @param filter Optional filter for indexed parameters
1586
+ * @returns Unwatch function to stop listening
1587
+ */
1588
+ MinterRemoved: (callback: (event: {
1589
+ _minter: `0x${string}`;
1590
+ }) => void, filter?: {
1591
+ _minter?: `0x${string}` | `0x${string}`[] | null;
1592
+ }) => () => void;
1593
+ /**
1594
+ * Watch OwnershipTransferStarted events
1595
+ * @param callback Function to call when event is emitted
1596
+ * @param filter Optional filter for indexed parameters
1597
+ * @returns Unwatch function to stop listening
1598
+ */
1599
+ OwnershipTransferStarted: (callback: (event: {
1600
+ previousOwner: `0x${string}`;
1601
+ newOwner: `0x${string}`;
1602
+ }) => void, filter?: {
1603
+ previousOwner?: `0x${string}` | `0x${string}`[] | null;
1604
+ newOwner?: `0x${string}` | `0x${string}`[] | null;
1605
+ }) => () => void;
1606
+ /**
1607
+ * Watch OwnershipTransferred events
1608
+ * @param callback Function to call when event is emitted
1609
+ * @param filter Optional filter for indexed parameters
1610
+ * @returns Unwatch function to stop listening
1611
+ */
1612
+ OwnershipTransferred: (callback: (event: {
1613
+ previousOwner: `0x${string}`;
1614
+ newOwner: `0x${string}`;
1615
+ }) => void, filter?: {
1616
+ previousOwner?: `0x${string}` | `0x${string}`[] | null;
1617
+ newOwner?: `0x${string}` | `0x${string}`[] | null;
1618
+ }) => () => void;
1619
+ /**
1620
+ * Watch Paused events
1621
+ * @param callback Function to call when event is emitted
1622
+ * @param filter Optional filter for indexed parameters
1623
+ * @returns Unwatch function to stop listening
1624
+ */
1625
+ Paused: (callback: (event: {
1626
+ account: `0x${string}`;
1627
+ }) => void) => () => void;
1628
+ /**
1629
+ * Watch Transfer events
1630
+ * @param callback Function to call when event is emitted
1631
+ * @param filter Optional filter for indexed parameters
1632
+ * @returns Unwatch function to stop listening
1633
+ */
1634
+ Transfer: (callback: (event: {
1635
+ from: `0x${string}`;
1636
+ to: `0x${string}`;
1637
+ value: bigint;
1638
+ }) => void, filter?: {
1639
+ from?: `0x${string}` | `0x${string}`[] | null;
1640
+ to?: `0x${string}` | `0x${string}`[] | null;
1641
+ }) => () => void;
1642
+ /**
1643
+ * Watch Unpaused events
1644
+ * @param callback Function to call when event is emitted
1645
+ * @param filter Optional filter for indexed parameters
1646
+ * @returns Unwatch function to stop listening
1647
+ */
1648
+ Unpaused: (callback: (event: {
1649
+ account: `0x${string}`;
1650
+ }) => void) => () => void;
1651
+ };
1652
+ }