@gitmyabi-stg/usat 0.0.1

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