@gitmyabi/maga1-0 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,722 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * MagaOne_json ABI
4
+ *
5
+ * This ABI is typed using viem's type system for full type safety.
6
+ */
7
+ export declare const MagaOne_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: false;
35
+ readonly internalType: "uint256";
36
+ readonly name: "_maxTxAmount";
37
+ readonly type: "uint256";
38
+ }];
39
+ readonly name: "MaxTxAmountUpdated";
40
+ readonly type: "event";
41
+ }, {
42
+ readonly anonymous: false;
43
+ readonly inputs: readonly [{
44
+ readonly indexed: true;
45
+ readonly internalType: "address";
46
+ readonly name: "previousOwner";
47
+ readonly type: "address";
48
+ }, {
49
+ readonly indexed: true;
50
+ readonly internalType: "address";
51
+ readonly name: "newOwner";
52
+ readonly type: "address";
53
+ }];
54
+ readonly name: "OwnershipTransferred";
55
+ readonly type: "event";
56
+ }, {
57
+ readonly anonymous: false;
58
+ readonly inputs: readonly [{
59
+ readonly indexed: true;
60
+ readonly internalType: "address";
61
+ readonly name: "from";
62
+ readonly type: "address";
63
+ }, {
64
+ readonly indexed: true;
65
+ readonly internalType: "address";
66
+ readonly name: "to";
67
+ readonly type: "address";
68
+ }, {
69
+ readonly indexed: false;
70
+ readonly internalType: "uint256";
71
+ readonly name: "value";
72
+ readonly type: "uint256";
73
+ }];
74
+ readonly name: "Transfer";
75
+ readonly type: "event";
76
+ }, {
77
+ readonly inputs: readonly [];
78
+ readonly name: "_maxTaxSwap";
79
+ readonly outputs: readonly [{
80
+ readonly internalType: "uint256";
81
+ readonly name: "";
82
+ readonly type: "uint256";
83
+ }];
84
+ readonly stateMutability: "view";
85
+ readonly type: "function";
86
+ }, {
87
+ readonly inputs: readonly [];
88
+ readonly name: "_maxTxAmount";
89
+ readonly outputs: readonly [{
90
+ readonly internalType: "uint256";
91
+ readonly name: "";
92
+ readonly type: "uint256";
93
+ }];
94
+ readonly stateMutability: "view";
95
+ readonly type: "function";
96
+ }, {
97
+ readonly inputs: readonly [];
98
+ readonly name: "_maxWalletSize";
99
+ readonly outputs: readonly [{
100
+ readonly internalType: "uint256";
101
+ readonly name: "";
102
+ readonly type: "uint256";
103
+ }];
104
+ readonly stateMutability: "view";
105
+ readonly type: "function";
106
+ }, {
107
+ readonly inputs: readonly [];
108
+ readonly name: "_taxSwapThreshold";
109
+ readonly outputs: readonly [{
110
+ readonly internalType: "uint256";
111
+ readonly name: "";
112
+ readonly type: "uint256";
113
+ }];
114
+ readonly stateMutability: "view";
115
+ readonly type: "function";
116
+ }, {
117
+ readonly inputs: readonly [{
118
+ readonly internalType: "address";
119
+ readonly name: "owner";
120
+ readonly type: "address";
121
+ }, {
122
+ readonly internalType: "address";
123
+ readonly name: "spender";
124
+ readonly type: "address";
125
+ }];
126
+ readonly name: "allowance";
127
+ readonly outputs: readonly [{
128
+ readonly internalType: "uint256";
129
+ readonly name: "";
130
+ readonly type: "uint256";
131
+ }];
132
+ readonly stateMutability: "view";
133
+ readonly type: "function";
134
+ }, {
135
+ readonly inputs: readonly [{
136
+ readonly internalType: "address";
137
+ readonly name: "spender";
138
+ readonly type: "address";
139
+ }, {
140
+ readonly internalType: "uint256";
141
+ readonly name: "amount";
142
+ readonly type: "uint256";
143
+ }];
144
+ readonly name: "approve";
145
+ readonly outputs: readonly [{
146
+ readonly internalType: "bool";
147
+ readonly name: "";
148
+ readonly type: "bool";
149
+ }];
150
+ readonly stateMutability: "nonpayable";
151
+ readonly type: "function";
152
+ }, {
153
+ readonly inputs: readonly [{
154
+ readonly internalType: "address";
155
+ readonly name: "account";
156
+ readonly type: "address";
157
+ }];
158
+ readonly name: "balanceOf";
159
+ readonly outputs: readonly [{
160
+ readonly internalType: "uint256";
161
+ readonly name: "";
162
+ readonly type: "uint256";
163
+ }];
164
+ readonly stateMutability: "view";
165
+ readonly type: "function";
166
+ }, {
167
+ readonly inputs: readonly [];
168
+ readonly name: "decimals";
169
+ readonly outputs: readonly [{
170
+ readonly internalType: "uint8";
171
+ readonly name: "";
172
+ readonly type: "uint8";
173
+ }];
174
+ readonly stateMutability: "pure";
175
+ readonly type: "function";
176
+ }, {
177
+ readonly inputs: readonly [];
178
+ readonly name: "init";
179
+ readonly outputs: readonly [];
180
+ readonly stateMutability: "nonpayable";
181
+ readonly type: "function";
182
+ }, {
183
+ readonly inputs: readonly [];
184
+ readonly name: "name";
185
+ readonly outputs: readonly [{
186
+ readonly internalType: "string";
187
+ readonly name: "";
188
+ readonly type: "string";
189
+ }];
190
+ readonly stateMutability: "pure";
191
+ readonly type: "function";
192
+ }, {
193
+ readonly inputs: readonly [];
194
+ readonly name: "openTrading";
195
+ readonly outputs: readonly [];
196
+ readonly stateMutability: "nonpayable";
197
+ readonly type: "function";
198
+ }, {
199
+ readonly inputs: readonly [];
200
+ readonly name: "owner";
201
+ readonly outputs: readonly [{
202
+ readonly internalType: "address";
203
+ readonly name: "";
204
+ readonly type: "address";
205
+ }];
206
+ readonly stateMutability: "view";
207
+ readonly type: "function";
208
+ }, {
209
+ readonly inputs: readonly [];
210
+ readonly name: "removeLimits";
211
+ readonly outputs: readonly [];
212
+ readonly stateMutability: "nonpayable";
213
+ readonly type: "function";
214
+ }, {
215
+ readonly inputs: readonly [];
216
+ readonly name: "renounceOwnership";
217
+ readonly outputs: readonly [];
218
+ readonly stateMutability: "nonpayable";
219
+ readonly type: "function";
220
+ }, {
221
+ readonly inputs: readonly [];
222
+ readonly name: "symbol";
223
+ readonly outputs: readonly [{
224
+ readonly internalType: "string";
225
+ readonly name: "";
226
+ readonly type: "string";
227
+ }];
228
+ readonly stateMutability: "pure";
229
+ readonly type: "function";
230
+ }, {
231
+ readonly inputs: readonly [];
232
+ readonly name: "totalSupply";
233
+ readonly outputs: readonly [{
234
+ readonly internalType: "uint256";
235
+ readonly name: "";
236
+ readonly type: "uint256";
237
+ }];
238
+ readonly stateMutability: "pure";
239
+ readonly type: "function";
240
+ }, {
241
+ readonly inputs: readonly [{
242
+ readonly internalType: "address";
243
+ readonly name: "recipient";
244
+ readonly type: "address";
245
+ }, {
246
+ readonly internalType: "uint256";
247
+ readonly name: "amount";
248
+ readonly type: "uint256";
249
+ }];
250
+ readonly name: "transfer";
251
+ readonly outputs: readonly [{
252
+ readonly internalType: "bool";
253
+ readonly name: "";
254
+ readonly type: "bool";
255
+ }];
256
+ readonly stateMutability: "nonpayable";
257
+ readonly type: "function";
258
+ }, {
259
+ readonly inputs: readonly [];
260
+ readonly name: "transferDelayEnabled";
261
+ readonly outputs: readonly [{
262
+ readonly internalType: "bool";
263
+ readonly name: "";
264
+ readonly type: "bool";
265
+ }];
266
+ readonly stateMutability: "view";
267
+ readonly type: "function";
268
+ }, {
269
+ readonly inputs: readonly [{
270
+ readonly internalType: "address";
271
+ readonly name: "sender";
272
+ readonly type: "address";
273
+ }, {
274
+ readonly internalType: "address";
275
+ readonly name: "recipient";
276
+ readonly type: "address";
277
+ }, {
278
+ readonly internalType: "uint256";
279
+ readonly name: "amount";
280
+ readonly type: "uint256";
281
+ }];
282
+ readonly name: "transferFrom";
283
+ readonly outputs: readonly [{
284
+ readonly internalType: "bool";
285
+ readonly name: "";
286
+ readonly type: "bool";
287
+ }];
288
+ readonly stateMutability: "nonpayable";
289
+ readonly type: "function";
290
+ }, {
291
+ readonly stateMutability: "payable";
292
+ readonly type: "receive";
293
+ }];
294
+ /**
295
+ * Type-safe ABI for MagaOne_json
296
+ */
297
+ export type MagaOne_jsonAbi = typeof MagaOne_jsonAbi;
298
+ /**
299
+ * Contract instance type for MagaOne_json
300
+ */
301
+ export type MagaOne_jsonContract = any;
302
+ /**
303
+ * MagaOne_json Contract Class
304
+ *
305
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
306
+ *
307
+ * @example
308
+ * ```typescript
309
+ * import { createPublicClient, createWalletClient, http } from 'viem';
310
+ * import { mainnet } from 'viem/chains';
311
+ * import { MagaOne_json } from 'MagaOne_json';
312
+ *
313
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
314
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
315
+ *
316
+ * const contract = new MagaOne_json('0x...', { publicClient, walletClient });
317
+ *
318
+ * // Read functions
319
+ * const result = await contract.balanceOf('0x...');
320
+ *
321
+ * // Write functions
322
+ * const hash = await contract.transfer('0x...', 1000n);
323
+ *
324
+ * // Simulate transactions (dry-run)
325
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
326
+ * console.log('Gas estimate:', simulation.request.gas);
327
+ *
328
+ * // Watch events
329
+ * const unwatch = contract.watch.Transfer((event) => {
330
+ * console.log('Transfer event:', event);
331
+ * });
332
+ * ```
333
+ */
334
+ export declare class MagaOne_json {
335
+ private contract;
336
+ private contractAddress;
337
+ private publicClient;
338
+ constructor(address: Address, clients: {
339
+ publicClient: PublicClient;
340
+ walletClient?: WalletClient;
341
+ });
342
+ /**
343
+ * Get the contract address
344
+ */
345
+ get address(): Address;
346
+ /**
347
+ * Get the underlying viem contract instance
348
+ */
349
+ getContract(): MagaOne_jsonContract;
350
+ /**
351
+ * _maxTaxSwap
352
+ * view
353
+ */
354
+ _maxTaxSwap(): Promise<bigint>;
355
+ /**
356
+ * _maxTxAmount
357
+ * view
358
+ */
359
+ _maxTxAmount(): Promise<bigint>;
360
+ /**
361
+ * _maxWalletSize
362
+ * view
363
+ */
364
+ _maxWalletSize(): Promise<bigint>;
365
+ /**
366
+ * _taxSwapThreshold
367
+ * view
368
+ */
369
+ _taxSwapThreshold(): Promise<bigint>;
370
+ /**
371
+ * allowance
372
+ * view
373
+ */
374
+ allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
375
+ /**
376
+ * balanceOf
377
+ * view
378
+ */
379
+ balanceOf(account: `0x${string}`): Promise<bigint>;
380
+ /**
381
+ * decimals
382
+ * pure
383
+ */
384
+ decimals(): Promise<bigint>;
385
+ /**
386
+ * name
387
+ * pure
388
+ */
389
+ name(): Promise<string>;
390
+ /**
391
+ * owner
392
+ * view
393
+ */
394
+ owner(): Promise<`0x${string}`>;
395
+ /**
396
+ * symbol
397
+ * pure
398
+ */
399
+ symbol(): Promise<string>;
400
+ /**
401
+ * totalSupply
402
+ * pure
403
+ */
404
+ totalSupply(): Promise<bigint>;
405
+ /**
406
+ * transferDelayEnabled
407
+ * view
408
+ */
409
+ transferDelayEnabled(): Promise<boolean>;
410
+ /**
411
+ * approve
412
+ * nonpayable
413
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
414
+ */
415
+ approve(spender: `0x${string}`, amount: bigint, options?: {
416
+ accessList?: import('viem').AccessList;
417
+ authorizationList?: import('viem').AuthorizationList;
418
+ chain?: import('viem').Chain | null;
419
+ dataSuffix?: `0x${string}`;
420
+ gas?: bigint;
421
+ gasPrice?: bigint;
422
+ maxFeePerGas?: bigint;
423
+ maxPriorityFeePerGas?: bigint;
424
+ nonce?: number;
425
+ value?: bigint;
426
+ }): Promise<`0x${string}`>;
427
+ /**
428
+ * init
429
+ * nonpayable
430
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
431
+ */
432
+ init(options?: {
433
+ accessList?: import('viem').AccessList;
434
+ authorizationList?: import('viem').AuthorizationList;
435
+ chain?: import('viem').Chain | null;
436
+ dataSuffix?: `0x${string}`;
437
+ gas?: bigint;
438
+ gasPrice?: bigint;
439
+ maxFeePerGas?: bigint;
440
+ maxPriorityFeePerGas?: bigint;
441
+ nonce?: number;
442
+ value?: bigint;
443
+ }): Promise<`0x${string}`>;
444
+ /**
445
+ * openTrading
446
+ * nonpayable
447
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
448
+ */
449
+ openTrading(options?: {
450
+ accessList?: import('viem').AccessList;
451
+ authorizationList?: import('viem').AuthorizationList;
452
+ chain?: import('viem').Chain | null;
453
+ dataSuffix?: `0x${string}`;
454
+ gas?: bigint;
455
+ gasPrice?: bigint;
456
+ maxFeePerGas?: bigint;
457
+ maxPriorityFeePerGas?: bigint;
458
+ nonce?: number;
459
+ value?: bigint;
460
+ }): Promise<`0x${string}`>;
461
+ /**
462
+ * removeLimits
463
+ * nonpayable
464
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
465
+ */
466
+ removeLimits(options?: {
467
+ accessList?: import('viem').AccessList;
468
+ authorizationList?: import('viem').AuthorizationList;
469
+ chain?: import('viem').Chain | null;
470
+ dataSuffix?: `0x${string}`;
471
+ gas?: bigint;
472
+ gasPrice?: bigint;
473
+ maxFeePerGas?: bigint;
474
+ maxPriorityFeePerGas?: bigint;
475
+ nonce?: number;
476
+ value?: bigint;
477
+ }): Promise<`0x${string}`>;
478
+ /**
479
+ * renounceOwnership
480
+ * nonpayable
481
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
482
+ */
483
+ renounceOwnership(options?: {
484
+ accessList?: import('viem').AccessList;
485
+ authorizationList?: import('viem').AuthorizationList;
486
+ chain?: import('viem').Chain | null;
487
+ dataSuffix?: `0x${string}`;
488
+ gas?: bigint;
489
+ gasPrice?: bigint;
490
+ maxFeePerGas?: bigint;
491
+ maxPriorityFeePerGas?: bigint;
492
+ nonce?: number;
493
+ value?: bigint;
494
+ }): Promise<`0x${string}`>;
495
+ /**
496
+ * transfer
497
+ * nonpayable
498
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
499
+ */
500
+ transfer(recipient: `0x${string}`, amount: bigint, options?: {
501
+ accessList?: import('viem').AccessList;
502
+ authorizationList?: import('viem').AuthorizationList;
503
+ chain?: import('viem').Chain | null;
504
+ dataSuffix?: `0x${string}`;
505
+ gas?: bigint;
506
+ gasPrice?: bigint;
507
+ maxFeePerGas?: bigint;
508
+ maxPriorityFeePerGas?: bigint;
509
+ nonce?: number;
510
+ value?: bigint;
511
+ }): Promise<`0x${string}`>;
512
+ /**
513
+ * transferFrom
514
+ * nonpayable
515
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
516
+ */
517
+ transferFrom(sender: `0x${string}`, recipient: `0x${string}`, amount: bigint, options?: {
518
+ accessList?: import('viem').AccessList;
519
+ authorizationList?: import('viem').AuthorizationList;
520
+ chain?: import('viem').Chain | null;
521
+ dataSuffix?: `0x${string}`;
522
+ gas?: bigint;
523
+ gasPrice?: bigint;
524
+ maxFeePerGas?: bigint;
525
+ maxPriorityFeePerGas?: bigint;
526
+ nonce?: number;
527
+ value?: bigint;
528
+ }): Promise<`0x${string}`>;
529
+ /**
530
+ * Simulate contract write operations (dry-run without sending transaction)
531
+ *
532
+ * @example
533
+ * const result = await contract.simulate.transfer('0x...', 1000n);
534
+ * console.log('Gas estimate:', result.request.gas);
535
+ * console.log('Would succeed:', result.result);
536
+ */
537
+ get simulate(): {
538
+ /**
539
+ * Simulate approve
540
+ * Returns gas estimate and result without sending transaction
541
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
542
+ */
543
+ approve(spender: `0x${string}`, amount: bigint, options?: {
544
+ accessList?: import("viem").AccessList;
545
+ authorizationList?: import("viem").AuthorizationList;
546
+ chain?: import("viem").Chain | null;
547
+ dataSuffix?: `0x${string}`;
548
+ gas?: bigint;
549
+ gasPrice?: bigint;
550
+ maxFeePerGas?: bigint;
551
+ maxPriorityFeePerGas?: bigint;
552
+ nonce?: number;
553
+ value?: bigint;
554
+ }): Promise<boolean>;
555
+ /**
556
+ * Simulate init
557
+ * Returns gas estimate and result without sending transaction
558
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
559
+ */
560
+ init(options?: {
561
+ accessList?: import("viem").AccessList;
562
+ authorizationList?: import("viem").AuthorizationList;
563
+ chain?: import("viem").Chain | null;
564
+ dataSuffix?: `0x${string}`;
565
+ gas?: bigint;
566
+ gasPrice?: bigint;
567
+ maxFeePerGas?: bigint;
568
+ maxPriorityFeePerGas?: bigint;
569
+ nonce?: number;
570
+ value?: bigint;
571
+ }): Promise<void>;
572
+ /**
573
+ * Simulate openTrading
574
+ * Returns gas estimate and result without sending transaction
575
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
576
+ */
577
+ openTrading(options?: {
578
+ accessList?: import("viem").AccessList;
579
+ authorizationList?: import("viem").AuthorizationList;
580
+ chain?: import("viem").Chain | null;
581
+ dataSuffix?: `0x${string}`;
582
+ gas?: bigint;
583
+ gasPrice?: bigint;
584
+ maxFeePerGas?: bigint;
585
+ maxPriorityFeePerGas?: bigint;
586
+ nonce?: number;
587
+ value?: bigint;
588
+ }): Promise<void>;
589
+ /**
590
+ * Simulate removeLimits
591
+ * Returns gas estimate and result without sending transaction
592
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
593
+ */
594
+ removeLimits(options?: {
595
+ accessList?: import("viem").AccessList;
596
+ authorizationList?: import("viem").AuthorizationList;
597
+ chain?: import("viem").Chain | null;
598
+ dataSuffix?: `0x${string}`;
599
+ gas?: bigint;
600
+ gasPrice?: bigint;
601
+ maxFeePerGas?: bigint;
602
+ maxPriorityFeePerGas?: bigint;
603
+ nonce?: number;
604
+ value?: bigint;
605
+ }): Promise<void>;
606
+ /**
607
+ * Simulate renounceOwnership
608
+ * Returns gas estimate and result without sending transaction
609
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
610
+ */
611
+ renounceOwnership(options?: {
612
+ accessList?: import("viem").AccessList;
613
+ authorizationList?: import("viem").AuthorizationList;
614
+ chain?: import("viem").Chain | null;
615
+ dataSuffix?: `0x${string}`;
616
+ gas?: bigint;
617
+ gasPrice?: bigint;
618
+ maxFeePerGas?: bigint;
619
+ maxPriorityFeePerGas?: bigint;
620
+ nonce?: number;
621
+ value?: bigint;
622
+ }): Promise<void>;
623
+ /**
624
+ * Simulate transfer
625
+ * Returns gas estimate and result without sending transaction
626
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
627
+ */
628
+ transfer(recipient: `0x${string}`, amount: bigint, options?: {
629
+ accessList?: import("viem").AccessList;
630
+ authorizationList?: import("viem").AuthorizationList;
631
+ chain?: import("viem").Chain | null;
632
+ dataSuffix?: `0x${string}`;
633
+ gas?: bigint;
634
+ gasPrice?: bigint;
635
+ maxFeePerGas?: bigint;
636
+ maxPriorityFeePerGas?: bigint;
637
+ nonce?: number;
638
+ value?: bigint;
639
+ }): Promise<boolean>;
640
+ /**
641
+ * Simulate transferFrom
642
+ * Returns gas estimate and result without sending transaction
643
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
644
+ */
645
+ transferFrom(sender: `0x${string}`, recipient: `0x${string}`, amount: bigint, options?: {
646
+ accessList?: import("viem").AccessList;
647
+ authorizationList?: import("viem").AuthorizationList;
648
+ chain?: import("viem").Chain | null;
649
+ dataSuffix?: `0x${string}`;
650
+ gas?: bigint;
651
+ gasPrice?: bigint;
652
+ maxFeePerGas?: bigint;
653
+ maxPriorityFeePerGas?: bigint;
654
+ nonce?: number;
655
+ value?: bigint;
656
+ }): Promise<boolean>;
657
+ };
658
+ /**
659
+ * Watch contract events
660
+ *
661
+ * @example
662
+ * // Watch all Transfer events
663
+ * const unwatch = contract.watch.Transfer((event) => {
664
+ * console.log('Transfer:', event);
665
+ * });
666
+ *
667
+ * // Stop watching
668
+ * unwatch();
669
+ */
670
+ get watch(): {
671
+ /**
672
+ * Watch Approval events
673
+ * @param callback Function to call when event is emitted
674
+ * @param filter Optional filter for indexed parameters
675
+ * @returns Unwatch function to stop listening
676
+ */
677
+ Approval: (callback: (event: {
678
+ owner: `0x${string}`;
679
+ spender: `0x${string}`;
680
+ value: bigint;
681
+ }) => void, filter?: {
682
+ owner: `0x${string}`;
683
+ spender: `0x${string}`;
684
+ }) => () => void;
685
+ /**
686
+ * Watch MaxTxAmountUpdated events
687
+ * @param callback Function to call when event is emitted
688
+ * @param filter Optional filter for indexed parameters
689
+ * @returns Unwatch function to stop listening
690
+ */
691
+ MaxTxAmountUpdated: (callback: (event: {
692
+ _maxTxAmount: bigint;
693
+ }) => void) => () => void;
694
+ /**
695
+ * Watch OwnershipTransferred events
696
+ * @param callback Function to call when event is emitted
697
+ * @param filter Optional filter for indexed parameters
698
+ * @returns Unwatch function to stop listening
699
+ */
700
+ OwnershipTransferred: (callback: (event: {
701
+ previousOwner: `0x${string}`;
702
+ newOwner: `0x${string}`;
703
+ }) => void, filter?: {
704
+ previousOwner: `0x${string}`;
705
+ newOwner: `0x${string}`;
706
+ }) => () => void;
707
+ /**
708
+ * Watch Transfer events
709
+ * @param callback Function to call when event is emitted
710
+ * @param filter Optional filter for indexed parameters
711
+ * @returns Unwatch function to stop listening
712
+ */
713
+ Transfer: (callback: (event: {
714
+ from: `0x${string}`;
715
+ to: `0x${string}`;
716
+ value: bigint;
717
+ }) => void, filter?: {
718
+ from: `0x${string}`;
719
+ to: `0x${string}`;
720
+ }) => () => void;
721
+ };
722
+ }