@gitmyabi/logt 0.0.0-stage → 1.0.0

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