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