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