@gitmyabi/cc 1.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,1028 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * UltimateTokenOwnable_json ABI
4
+ *
5
+ * This ABI is typed using viem's type system for full type safety.
6
+ */
7
+ export declare const UltimateTokenOwnable_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: "uint8";
36
+ readonly name: "version";
37
+ readonly type: "uint8";
38
+ }];
39
+ readonly name: "Initialized";
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: false;
60
+ readonly internalType: "address";
61
+ readonly name: "account";
62
+ readonly type: "address";
63
+ }];
64
+ readonly name: "Paused";
65
+ readonly type: "event";
66
+ }, {
67
+ readonly anonymous: false;
68
+ readonly inputs: readonly [{
69
+ readonly indexed: true;
70
+ readonly internalType: "address";
71
+ readonly name: "from";
72
+ readonly type: "address";
73
+ }, {
74
+ readonly indexed: true;
75
+ readonly internalType: "address";
76
+ readonly name: "to";
77
+ readonly type: "address";
78
+ }, {
79
+ readonly indexed: false;
80
+ readonly internalType: "uint256";
81
+ readonly name: "value";
82
+ readonly type: "uint256";
83
+ }];
84
+ readonly name: "Transfer";
85
+ readonly type: "event";
86
+ }, {
87
+ readonly anonymous: false;
88
+ readonly inputs: readonly [{
89
+ readonly indexed: false;
90
+ readonly internalType: "address";
91
+ readonly name: "account";
92
+ readonly type: "address";
93
+ }];
94
+ readonly name: "Unpaused";
95
+ readonly type: "event";
96
+ }, {
97
+ readonly inputs: readonly [{
98
+ readonly internalType: "address";
99
+ readonly name: "owner";
100
+ readonly type: "address";
101
+ }, {
102
+ readonly internalType: "address";
103
+ readonly name: "spender";
104
+ readonly type: "address";
105
+ }];
106
+ readonly name: "allowance";
107
+ readonly outputs: readonly [{
108
+ readonly internalType: "uint256";
109
+ readonly name: "";
110
+ readonly type: "uint256";
111
+ }];
112
+ readonly stateMutability: "view";
113
+ readonly type: "function";
114
+ }, {
115
+ readonly inputs: readonly [{
116
+ readonly internalType: "address";
117
+ readonly name: "spender";
118
+ readonly type: "address";
119
+ }, {
120
+ readonly internalType: "uint256";
121
+ readonly name: "amount";
122
+ readonly type: "uint256";
123
+ }];
124
+ readonly name: "approve";
125
+ readonly outputs: readonly [{
126
+ readonly internalType: "bool";
127
+ readonly name: "";
128
+ readonly type: "bool";
129
+ }];
130
+ readonly stateMutability: "nonpayable";
131
+ readonly type: "function";
132
+ }, {
133
+ readonly inputs: readonly [{
134
+ readonly internalType: "address";
135
+ readonly name: "account";
136
+ readonly type: "address";
137
+ }];
138
+ readonly name: "balanceOf";
139
+ readonly outputs: readonly [{
140
+ readonly internalType: "uint256";
141
+ readonly name: "";
142
+ readonly type: "uint256";
143
+ }];
144
+ readonly stateMutability: "view";
145
+ readonly type: "function";
146
+ }, {
147
+ readonly inputs: readonly [{
148
+ readonly internalType: "uint256";
149
+ readonly name: "amount";
150
+ readonly type: "uint256";
151
+ }];
152
+ readonly name: "burn";
153
+ readonly outputs: readonly [];
154
+ readonly stateMutability: "nonpayable";
155
+ readonly type: "function";
156
+ }, {
157
+ readonly inputs: readonly [{
158
+ readonly internalType: "address";
159
+ readonly name: "account";
160
+ readonly type: "address";
161
+ }, {
162
+ readonly internalType: "uint256";
163
+ readonly name: "amount";
164
+ readonly type: "uint256";
165
+ }];
166
+ readonly name: "burnFrom";
167
+ readonly outputs: readonly [];
168
+ readonly stateMutability: "nonpayable";
169
+ readonly type: "function";
170
+ }, {
171
+ readonly inputs: readonly [];
172
+ readonly name: "decimals";
173
+ readonly outputs: readonly [{
174
+ readonly internalType: "uint8";
175
+ readonly name: "";
176
+ readonly type: "uint8";
177
+ }];
178
+ readonly stateMutability: "view";
179
+ readonly type: "function";
180
+ }, {
181
+ readonly inputs: readonly [{
182
+ readonly internalType: "address";
183
+ readonly name: "spender";
184
+ readonly type: "address";
185
+ }, {
186
+ readonly internalType: "uint256";
187
+ readonly name: "subtractedValue";
188
+ readonly type: "uint256";
189
+ }];
190
+ readonly name: "decreaseAllowance";
191
+ readonly outputs: readonly [{
192
+ readonly internalType: "bool";
193
+ readonly name: "";
194
+ readonly type: "bool";
195
+ }];
196
+ readonly stateMutability: "nonpayable";
197
+ readonly type: "function";
198
+ }, {
199
+ readonly inputs: readonly [{
200
+ readonly internalType: "address";
201
+ readonly name: "spender";
202
+ readonly type: "address";
203
+ }, {
204
+ readonly internalType: "uint256";
205
+ readonly name: "addedValue";
206
+ readonly type: "uint256";
207
+ }];
208
+ readonly name: "increaseAllowance";
209
+ readonly outputs: readonly [{
210
+ readonly internalType: "bool";
211
+ readonly name: "";
212
+ readonly type: "bool";
213
+ }];
214
+ readonly stateMutability: "nonpayable";
215
+ readonly type: "function";
216
+ }, {
217
+ readonly inputs: readonly [{
218
+ readonly internalType: "address";
219
+ readonly name: "_owner";
220
+ readonly type: "address";
221
+ }, {
222
+ readonly internalType: "address";
223
+ readonly name: "_mintTarget";
224
+ readonly type: "address";
225
+ }, {
226
+ readonly internalType: "string";
227
+ readonly name: "_name";
228
+ readonly type: "string";
229
+ }, {
230
+ readonly internalType: "string";
231
+ readonly name: "_symbol";
232
+ readonly type: "string";
233
+ }, {
234
+ readonly internalType: "uint8";
235
+ readonly name: "_decimals";
236
+ readonly type: "uint8";
237
+ }, {
238
+ readonly internalType: "uint256";
239
+ readonly name: "_initialSupply";
240
+ readonly type: "uint256";
241
+ }, {
242
+ readonly internalType: "uint256";
243
+ readonly name: "_maxSupply";
244
+ readonly type: "uint256";
245
+ }];
246
+ readonly name: "initialize";
247
+ readonly outputs: readonly [];
248
+ readonly stateMutability: "nonpayable";
249
+ readonly type: "function";
250
+ }, {
251
+ readonly inputs: readonly [];
252
+ readonly name: "maxSupply";
253
+ readonly outputs: readonly [{
254
+ readonly internalType: "uint256";
255
+ readonly name: "";
256
+ readonly type: "uint256";
257
+ }];
258
+ readonly stateMutability: "view";
259
+ readonly type: "function";
260
+ }, {
261
+ readonly inputs: readonly [{
262
+ readonly internalType: "address";
263
+ readonly name: "to";
264
+ readonly type: "address";
265
+ }, {
266
+ readonly internalType: "uint256";
267
+ readonly name: "amount";
268
+ readonly type: "uint256";
269
+ }];
270
+ readonly name: "mint";
271
+ readonly outputs: readonly [];
272
+ readonly stateMutability: "nonpayable";
273
+ readonly type: "function";
274
+ }, {
275
+ readonly inputs: readonly [];
276
+ readonly name: "name";
277
+ readonly outputs: readonly [{
278
+ readonly internalType: "string";
279
+ readonly name: "";
280
+ readonly type: "string";
281
+ }];
282
+ readonly stateMutability: "view";
283
+ readonly type: "function";
284
+ }, {
285
+ readonly inputs: readonly [];
286
+ readonly name: "owner";
287
+ readonly outputs: readonly [{
288
+ readonly internalType: "address";
289
+ readonly name: "";
290
+ readonly type: "address";
291
+ }];
292
+ readonly stateMutability: "view";
293
+ readonly type: "function";
294
+ }, {
295
+ readonly inputs: readonly [];
296
+ readonly name: "pause";
297
+ readonly outputs: readonly [];
298
+ readonly stateMutability: "nonpayable";
299
+ readonly type: "function";
300
+ }, {
301
+ readonly inputs: readonly [];
302
+ readonly name: "paused";
303
+ readonly outputs: readonly [{
304
+ readonly internalType: "bool";
305
+ readonly name: "";
306
+ readonly type: "bool";
307
+ }];
308
+ readonly stateMutability: "view";
309
+ readonly type: "function";
310
+ }, {
311
+ readonly inputs: readonly [];
312
+ readonly name: "renounceOwnership";
313
+ readonly outputs: readonly [];
314
+ readonly stateMutability: "nonpayable";
315
+ readonly type: "function";
316
+ }, {
317
+ readonly inputs: readonly [];
318
+ readonly name: "symbol";
319
+ readonly outputs: readonly [{
320
+ readonly internalType: "string";
321
+ readonly name: "";
322
+ readonly type: "string";
323
+ }];
324
+ readonly stateMutability: "view";
325
+ readonly type: "function";
326
+ }, {
327
+ readonly inputs: readonly [];
328
+ readonly name: "totalSupply";
329
+ readonly outputs: readonly [{
330
+ readonly internalType: "uint256";
331
+ readonly name: "";
332
+ readonly type: "uint256";
333
+ }];
334
+ readonly stateMutability: "view";
335
+ readonly type: "function";
336
+ }, {
337
+ readonly inputs: readonly [{
338
+ readonly internalType: "address";
339
+ readonly name: "to";
340
+ readonly type: "address";
341
+ }, {
342
+ readonly internalType: "uint256";
343
+ readonly name: "amount";
344
+ readonly type: "uint256";
345
+ }];
346
+ readonly name: "transfer";
347
+ readonly outputs: readonly [{
348
+ readonly internalType: "bool";
349
+ readonly name: "";
350
+ readonly type: "bool";
351
+ }];
352
+ readonly stateMutability: "nonpayable";
353
+ readonly type: "function";
354
+ }, {
355
+ readonly inputs: readonly [{
356
+ readonly internalType: "address";
357
+ readonly name: "from";
358
+ readonly type: "address";
359
+ }, {
360
+ readonly internalType: "address";
361
+ readonly name: "to";
362
+ readonly type: "address";
363
+ }, {
364
+ readonly internalType: "uint256";
365
+ readonly name: "amount";
366
+ readonly type: "uint256";
367
+ }];
368
+ readonly name: "transferFrom";
369
+ readonly outputs: readonly [{
370
+ readonly internalType: "bool";
371
+ readonly name: "";
372
+ readonly type: "bool";
373
+ }];
374
+ readonly stateMutability: "nonpayable";
375
+ readonly type: "function";
376
+ }, {
377
+ readonly inputs: readonly [{
378
+ readonly internalType: "address";
379
+ readonly name: "newOwner";
380
+ readonly type: "address";
381
+ }];
382
+ readonly name: "transferOwnership";
383
+ readonly outputs: readonly [];
384
+ readonly stateMutability: "nonpayable";
385
+ readonly type: "function";
386
+ }, {
387
+ readonly inputs: readonly [];
388
+ readonly name: "unpause";
389
+ readonly outputs: readonly [];
390
+ readonly stateMutability: "nonpayable";
391
+ readonly type: "function";
392
+ }];
393
+ /**
394
+ * Type-safe ABI for UltimateTokenOwnable_json
395
+ */
396
+ export type UltimateTokenOwnable_jsonAbi = typeof UltimateTokenOwnable_jsonAbi;
397
+ /**
398
+ * Contract instance type for UltimateTokenOwnable_json
399
+ */
400
+ export type UltimateTokenOwnable_jsonContract = any;
401
+ /**
402
+ * UltimateTokenOwnable_json Contract Class
403
+ *
404
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
405
+ *
406
+ * @example
407
+ * ```typescript
408
+ * import { createPublicClient, createWalletClient, http } from 'viem';
409
+ * import { mainnet } from 'viem/chains';
410
+ * import { UltimateTokenOwnable_json } from 'UltimateTokenOwnable_json';
411
+ *
412
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
413
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
414
+ *
415
+ * const contract = new UltimateTokenOwnable_json('0x...', { publicClient, walletClient });
416
+ *
417
+ * // Read functions
418
+ * const result = await contract.balanceOf('0x...');
419
+ *
420
+ * // Write functions
421
+ * const hash = await contract.transfer('0x...', 1000n);
422
+ *
423
+ * // Simulate transactions (dry-run)
424
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
425
+ * console.log('Gas estimate:', simulation.request.gas);
426
+ *
427
+ * // Watch events
428
+ * const unwatch = contract.watch.Transfer((event) => {
429
+ * console.log('Transfer event:', event);
430
+ * });
431
+ * ```
432
+ */
433
+ export declare class UltimateTokenOwnable_json {
434
+ private contract;
435
+ private contractAddress;
436
+ private publicClient;
437
+ constructor(address: Address, clients: {
438
+ publicClient: PublicClient;
439
+ walletClient?: WalletClient;
440
+ });
441
+ /**
442
+ * Get the contract address
443
+ */
444
+ get address(): Address;
445
+ /**
446
+ * Get the underlying viem contract instance
447
+ */
448
+ getContract(): UltimateTokenOwnable_jsonContract;
449
+ /**
450
+ * allowance
451
+ * view
452
+ */
453
+ allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
454
+ /**
455
+ * balanceOf
456
+ * view
457
+ */
458
+ balanceOf(account: `0x${string}`): Promise<bigint>;
459
+ /**
460
+ * decimals
461
+ * view
462
+ */
463
+ decimals(): Promise<bigint>;
464
+ /**
465
+ * maxSupply
466
+ * view
467
+ */
468
+ maxSupply(): Promise<bigint>;
469
+ /**
470
+ * name
471
+ * view
472
+ */
473
+ name(): Promise<string>;
474
+ /**
475
+ * owner
476
+ * view
477
+ */
478
+ owner(): Promise<`0x${string}`>;
479
+ /**
480
+ * paused
481
+ * view
482
+ */
483
+ paused(): Promise<boolean>;
484
+ /**
485
+ * symbol
486
+ * view
487
+ */
488
+ symbol(): Promise<string>;
489
+ /**
490
+ * totalSupply
491
+ * view
492
+ */
493
+ totalSupply(): Promise<bigint>;
494
+ /**
495
+ * approve
496
+ * nonpayable
497
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
498
+ */
499
+ approve(spender: `0x${string}`, amount: bigint, options?: {
500
+ accessList?: import('viem').AccessList;
501
+ authorizationList?: import('viem').AuthorizationList;
502
+ chain?: import('viem').Chain | null;
503
+ dataSuffix?: `0x${string}`;
504
+ gas?: bigint;
505
+ gasPrice?: bigint;
506
+ maxFeePerGas?: bigint;
507
+ maxPriorityFeePerGas?: bigint;
508
+ nonce?: number;
509
+ value?: bigint;
510
+ }): Promise<`0x${string}`>;
511
+ /**
512
+ * burn
513
+ * nonpayable
514
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
515
+ */
516
+ burn(amount: bigint, options?: {
517
+ accessList?: import('viem').AccessList;
518
+ authorizationList?: import('viem').AuthorizationList;
519
+ chain?: import('viem').Chain | null;
520
+ dataSuffix?: `0x${string}`;
521
+ gas?: bigint;
522
+ gasPrice?: bigint;
523
+ maxFeePerGas?: bigint;
524
+ maxPriorityFeePerGas?: bigint;
525
+ nonce?: number;
526
+ value?: bigint;
527
+ }): Promise<`0x${string}`>;
528
+ /**
529
+ * burnFrom
530
+ * nonpayable
531
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
532
+ */
533
+ burnFrom(account: `0x${string}`, amount: bigint, options?: {
534
+ accessList?: import('viem').AccessList;
535
+ authorizationList?: import('viem').AuthorizationList;
536
+ chain?: import('viem').Chain | null;
537
+ dataSuffix?: `0x${string}`;
538
+ gas?: bigint;
539
+ gasPrice?: bigint;
540
+ maxFeePerGas?: bigint;
541
+ maxPriorityFeePerGas?: bigint;
542
+ nonce?: number;
543
+ value?: bigint;
544
+ }): Promise<`0x${string}`>;
545
+ /**
546
+ * decreaseAllowance
547
+ * nonpayable
548
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
549
+ */
550
+ decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
551
+ accessList?: import('viem').AccessList;
552
+ authorizationList?: import('viem').AuthorizationList;
553
+ chain?: import('viem').Chain | null;
554
+ dataSuffix?: `0x${string}`;
555
+ gas?: bigint;
556
+ gasPrice?: bigint;
557
+ maxFeePerGas?: bigint;
558
+ maxPriorityFeePerGas?: bigint;
559
+ nonce?: number;
560
+ value?: bigint;
561
+ }): Promise<`0x${string}`>;
562
+ /**
563
+ * increaseAllowance
564
+ * nonpayable
565
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
566
+ */
567
+ increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
568
+ accessList?: import('viem').AccessList;
569
+ authorizationList?: import('viem').AuthorizationList;
570
+ chain?: import('viem').Chain | null;
571
+ dataSuffix?: `0x${string}`;
572
+ gas?: bigint;
573
+ gasPrice?: bigint;
574
+ maxFeePerGas?: bigint;
575
+ maxPriorityFeePerGas?: bigint;
576
+ nonce?: number;
577
+ value?: bigint;
578
+ }): Promise<`0x${string}`>;
579
+ /**
580
+ * initialize
581
+ * nonpayable
582
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
583
+ */
584
+ initialize(_owner: `0x${string}`, _mintTarget: `0x${string}`, _name: string, _symbol: string, _decimals: bigint, _initialSupply: bigint, _maxSupply: bigint, options?: {
585
+ accessList?: import('viem').AccessList;
586
+ authorizationList?: import('viem').AuthorizationList;
587
+ chain?: import('viem').Chain | null;
588
+ dataSuffix?: `0x${string}`;
589
+ gas?: bigint;
590
+ gasPrice?: bigint;
591
+ maxFeePerGas?: bigint;
592
+ maxPriorityFeePerGas?: bigint;
593
+ nonce?: number;
594
+ value?: bigint;
595
+ }): Promise<`0x${string}`>;
596
+ /**
597
+ * mint
598
+ * nonpayable
599
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
600
+ */
601
+ mint(to: `0x${string}`, amount: bigint, options?: {
602
+ accessList?: import('viem').AccessList;
603
+ authorizationList?: import('viem').AuthorizationList;
604
+ chain?: import('viem').Chain | null;
605
+ dataSuffix?: `0x${string}`;
606
+ gas?: bigint;
607
+ gasPrice?: bigint;
608
+ maxFeePerGas?: bigint;
609
+ maxPriorityFeePerGas?: bigint;
610
+ nonce?: number;
611
+ value?: bigint;
612
+ }): Promise<`0x${string}`>;
613
+ /**
614
+ * pause
615
+ * nonpayable
616
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
617
+ */
618
+ pause(options?: {
619
+ accessList?: import('viem').AccessList;
620
+ authorizationList?: import('viem').AuthorizationList;
621
+ chain?: import('viem').Chain | null;
622
+ dataSuffix?: `0x${string}`;
623
+ gas?: bigint;
624
+ gasPrice?: bigint;
625
+ maxFeePerGas?: bigint;
626
+ maxPriorityFeePerGas?: bigint;
627
+ nonce?: number;
628
+ value?: bigint;
629
+ }): Promise<`0x${string}`>;
630
+ /**
631
+ * renounceOwnership
632
+ * nonpayable
633
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
634
+ */
635
+ renounceOwnership(options?: {
636
+ accessList?: import('viem').AccessList;
637
+ authorizationList?: import('viem').AuthorizationList;
638
+ chain?: import('viem').Chain | null;
639
+ dataSuffix?: `0x${string}`;
640
+ gas?: bigint;
641
+ gasPrice?: bigint;
642
+ maxFeePerGas?: bigint;
643
+ maxPriorityFeePerGas?: bigint;
644
+ nonce?: number;
645
+ value?: bigint;
646
+ }): Promise<`0x${string}`>;
647
+ /**
648
+ * transfer
649
+ * nonpayable
650
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
651
+ */
652
+ transfer(to: `0x${string}`, amount: bigint, options?: {
653
+ accessList?: import('viem').AccessList;
654
+ authorizationList?: import('viem').AuthorizationList;
655
+ chain?: import('viem').Chain | null;
656
+ dataSuffix?: `0x${string}`;
657
+ gas?: bigint;
658
+ gasPrice?: bigint;
659
+ maxFeePerGas?: bigint;
660
+ maxPriorityFeePerGas?: bigint;
661
+ nonce?: number;
662
+ value?: bigint;
663
+ }): Promise<`0x${string}`>;
664
+ /**
665
+ * transferFrom
666
+ * nonpayable
667
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
668
+ */
669
+ transferFrom(from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
670
+ accessList?: import('viem').AccessList;
671
+ authorizationList?: import('viem').AuthorizationList;
672
+ chain?: import('viem').Chain | null;
673
+ dataSuffix?: `0x${string}`;
674
+ gas?: bigint;
675
+ gasPrice?: bigint;
676
+ maxFeePerGas?: bigint;
677
+ maxPriorityFeePerGas?: bigint;
678
+ nonce?: number;
679
+ value?: bigint;
680
+ }): Promise<`0x${string}`>;
681
+ /**
682
+ * transferOwnership
683
+ * nonpayable
684
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
685
+ */
686
+ transferOwnership(newOwner: `0x${string}`, options?: {
687
+ accessList?: import('viem').AccessList;
688
+ authorizationList?: import('viem').AuthorizationList;
689
+ chain?: import('viem').Chain | null;
690
+ dataSuffix?: `0x${string}`;
691
+ gas?: bigint;
692
+ gasPrice?: bigint;
693
+ maxFeePerGas?: bigint;
694
+ maxPriorityFeePerGas?: bigint;
695
+ nonce?: number;
696
+ value?: bigint;
697
+ }): Promise<`0x${string}`>;
698
+ /**
699
+ * unpause
700
+ * nonpayable
701
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
702
+ */
703
+ unpause(options?: {
704
+ accessList?: import('viem').AccessList;
705
+ authorizationList?: import('viem').AuthorizationList;
706
+ chain?: import('viem').Chain | null;
707
+ dataSuffix?: `0x${string}`;
708
+ gas?: bigint;
709
+ gasPrice?: bigint;
710
+ maxFeePerGas?: bigint;
711
+ maxPriorityFeePerGas?: bigint;
712
+ nonce?: number;
713
+ value?: bigint;
714
+ }): Promise<`0x${string}`>;
715
+ /**
716
+ * Simulate contract write operations (dry-run without sending transaction)
717
+ *
718
+ * @example
719
+ * const result = await contract.simulate.transfer('0x...', 1000n);
720
+ * console.log('Gas estimate:', result.request.gas);
721
+ * console.log('Would succeed:', result.result);
722
+ */
723
+ get simulate(): {
724
+ /**
725
+ * Simulate approve
726
+ * Returns gas estimate and result without sending transaction
727
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
728
+ */
729
+ approve(spender: `0x${string}`, amount: bigint, options?: {
730
+ accessList?: import("viem").AccessList;
731
+ authorizationList?: import("viem").AuthorizationList;
732
+ chain?: import("viem").Chain | null;
733
+ dataSuffix?: `0x${string}`;
734
+ gas?: bigint;
735
+ gasPrice?: bigint;
736
+ maxFeePerGas?: bigint;
737
+ maxPriorityFeePerGas?: bigint;
738
+ nonce?: number;
739
+ value?: bigint;
740
+ }): Promise<boolean>;
741
+ /**
742
+ * Simulate burn
743
+ * Returns gas estimate and result without sending transaction
744
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
745
+ */
746
+ burn(amount: bigint, options?: {
747
+ accessList?: import("viem").AccessList;
748
+ authorizationList?: import("viem").AuthorizationList;
749
+ chain?: import("viem").Chain | null;
750
+ dataSuffix?: `0x${string}`;
751
+ gas?: bigint;
752
+ gasPrice?: bigint;
753
+ maxFeePerGas?: bigint;
754
+ maxPriorityFeePerGas?: bigint;
755
+ nonce?: number;
756
+ value?: bigint;
757
+ }): Promise<void>;
758
+ /**
759
+ * Simulate burnFrom
760
+ * Returns gas estimate and result without sending transaction
761
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
762
+ */
763
+ burnFrom(account: `0x${string}`, amount: bigint, options?: {
764
+ accessList?: import("viem").AccessList;
765
+ authorizationList?: import("viem").AuthorizationList;
766
+ chain?: import("viem").Chain | null;
767
+ dataSuffix?: `0x${string}`;
768
+ gas?: bigint;
769
+ gasPrice?: bigint;
770
+ maxFeePerGas?: bigint;
771
+ maxPriorityFeePerGas?: bigint;
772
+ nonce?: number;
773
+ value?: bigint;
774
+ }): Promise<void>;
775
+ /**
776
+ * Simulate decreaseAllowance
777
+ * Returns gas estimate and result without sending transaction
778
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
779
+ */
780
+ decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
781
+ accessList?: import("viem").AccessList;
782
+ authorizationList?: import("viem").AuthorizationList;
783
+ chain?: import("viem").Chain | null;
784
+ dataSuffix?: `0x${string}`;
785
+ gas?: bigint;
786
+ gasPrice?: bigint;
787
+ maxFeePerGas?: bigint;
788
+ maxPriorityFeePerGas?: bigint;
789
+ nonce?: number;
790
+ value?: bigint;
791
+ }): Promise<boolean>;
792
+ /**
793
+ * Simulate increaseAllowance
794
+ * Returns gas estimate and result without sending transaction
795
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
796
+ */
797
+ increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
798
+ accessList?: import("viem").AccessList;
799
+ authorizationList?: import("viem").AuthorizationList;
800
+ chain?: import("viem").Chain | null;
801
+ dataSuffix?: `0x${string}`;
802
+ gas?: bigint;
803
+ gasPrice?: bigint;
804
+ maxFeePerGas?: bigint;
805
+ maxPriorityFeePerGas?: bigint;
806
+ nonce?: number;
807
+ value?: bigint;
808
+ }): Promise<boolean>;
809
+ /**
810
+ * Simulate initialize
811
+ * Returns gas estimate and result without sending transaction
812
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
813
+ */
814
+ initialize(_owner: `0x${string}`, _mintTarget: `0x${string}`, _name: string, _symbol: string, _decimals: bigint, _initialSupply: bigint, _maxSupply: bigint, options?: {
815
+ accessList?: import("viem").AccessList;
816
+ authorizationList?: import("viem").AuthorizationList;
817
+ chain?: import("viem").Chain | null;
818
+ dataSuffix?: `0x${string}`;
819
+ gas?: bigint;
820
+ gasPrice?: bigint;
821
+ maxFeePerGas?: bigint;
822
+ maxPriorityFeePerGas?: bigint;
823
+ nonce?: number;
824
+ value?: bigint;
825
+ }): Promise<void>;
826
+ /**
827
+ * Simulate mint
828
+ * Returns gas estimate and result without sending transaction
829
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
830
+ */
831
+ mint(to: `0x${string}`, amount: bigint, options?: {
832
+ accessList?: import("viem").AccessList;
833
+ authorizationList?: import("viem").AuthorizationList;
834
+ chain?: import("viem").Chain | null;
835
+ dataSuffix?: `0x${string}`;
836
+ gas?: bigint;
837
+ gasPrice?: bigint;
838
+ maxFeePerGas?: bigint;
839
+ maxPriorityFeePerGas?: bigint;
840
+ nonce?: number;
841
+ value?: bigint;
842
+ }): Promise<void>;
843
+ /**
844
+ * Simulate pause
845
+ * Returns gas estimate and result without sending transaction
846
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
847
+ */
848
+ pause(options?: {
849
+ accessList?: import("viem").AccessList;
850
+ authorizationList?: import("viem").AuthorizationList;
851
+ chain?: import("viem").Chain | null;
852
+ dataSuffix?: `0x${string}`;
853
+ gas?: bigint;
854
+ gasPrice?: bigint;
855
+ maxFeePerGas?: bigint;
856
+ maxPriorityFeePerGas?: bigint;
857
+ nonce?: number;
858
+ value?: bigint;
859
+ }): Promise<void>;
860
+ /**
861
+ * Simulate renounceOwnership
862
+ * Returns gas estimate and result without sending transaction
863
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
864
+ */
865
+ renounceOwnership(options?: {
866
+ accessList?: import("viem").AccessList;
867
+ authorizationList?: import("viem").AuthorizationList;
868
+ chain?: import("viem").Chain | null;
869
+ dataSuffix?: `0x${string}`;
870
+ gas?: bigint;
871
+ gasPrice?: bigint;
872
+ maxFeePerGas?: bigint;
873
+ maxPriorityFeePerGas?: bigint;
874
+ nonce?: number;
875
+ value?: bigint;
876
+ }): Promise<void>;
877
+ /**
878
+ * Simulate transfer
879
+ * Returns gas estimate and result without sending transaction
880
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
881
+ */
882
+ transfer(to: `0x${string}`, amount: bigint, options?: {
883
+ accessList?: import("viem").AccessList;
884
+ authorizationList?: import("viem").AuthorizationList;
885
+ chain?: import("viem").Chain | null;
886
+ dataSuffix?: `0x${string}`;
887
+ gas?: bigint;
888
+ gasPrice?: bigint;
889
+ maxFeePerGas?: bigint;
890
+ maxPriorityFeePerGas?: bigint;
891
+ nonce?: number;
892
+ value?: bigint;
893
+ }): Promise<boolean>;
894
+ /**
895
+ * Simulate transferFrom
896
+ * Returns gas estimate and result without sending transaction
897
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
898
+ */
899
+ transferFrom(from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
900
+ accessList?: import("viem").AccessList;
901
+ authorizationList?: import("viem").AuthorizationList;
902
+ chain?: import("viem").Chain | null;
903
+ dataSuffix?: `0x${string}`;
904
+ gas?: bigint;
905
+ gasPrice?: bigint;
906
+ maxFeePerGas?: bigint;
907
+ maxPriorityFeePerGas?: bigint;
908
+ nonce?: number;
909
+ value?: bigint;
910
+ }): Promise<boolean>;
911
+ /**
912
+ * Simulate transferOwnership
913
+ * Returns gas estimate and result without sending transaction
914
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
915
+ */
916
+ transferOwnership(newOwner: `0x${string}`, options?: {
917
+ accessList?: import("viem").AccessList;
918
+ authorizationList?: import("viem").AuthorizationList;
919
+ chain?: import("viem").Chain | null;
920
+ dataSuffix?: `0x${string}`;
921
+ gas?: bigint;
922
+ gasPrice?: bigint;
923
+ maxFeePerGas?: bigint;
924
+ maxPriorityFeePerGas?: bigint;
925
+ nonce?: number;
926
+ value?: bigint;
927
+ }): Promise<void>;
928
+ /**
929
+ * Simulate unpause
930
+ * Returns gas estimate and result without sending transaction
931
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
932
+ */
933
+ unpause(options?: {
934
+ accessList?: import("viem").AccessList;
935
+ authorizationList?: import("viem").AuthorizationList;
936
+ chain?: import("viem").Chain | null;
937
+ dataSuffix?: `0x${string}`;
938
+ gas?: bigint;
939
+ gasPrice?: bigint;
940
+ maxFeePerGas?: bigint;
941
+ maxPriorityFeePerGas?: bigint;
942
+ nonce?: number;
943
+ value?: bigint;
944
+ }): Promise<void>;
945
+ };
946
+ /**
947
+ * Watch contract events
948
+ *
949
+ * @example
950
+ * // Watch all Transfer events
951
+ * const unwatch = contract.watch.Transfer((event) => {
952
+ * console.log('Transfer:', event);
953
+ * });
954
+ *
955
+ * // Stop watching
956
+ * unwatch();
957
+ */
958
+ get watch(): {
959
+ /**
960
+ * Watch Approval events
961
+ * @param callback Function to call when event is emitted
962
+ * @param filter Optional filter for indexed parameters
963
+ * @returns Unwatch function to stop listening
964
+ */
965
+ Approval: (callback: (event: {
966
+ owner: `0x${string}`;
967
+ spender: `0x${string}`;
968
+ value: bigint;
969
+ }) => void, filter?: {
970
+ owner: `0x${string}`;
971
+ spender: `0x${string}`;
972
+ }) => () => void;
973
+ /**
974
+ * Watch Initialized events
975
+ * @param callback Function to call when event is emitted
976
+ * @param filter Optional filter for indexed parameters
977
+ * @returns Unwatch function to stop listening
978
+ */
979
+ Initialized: (callback: (event: {
980
+ version: bigint;
981
+ }) => void) => () => void;
982
+ /**
983
+ * Watch OwnershipTransferred events
984
+ * @param callback Function to call when event is emitted
985
+ * @param filter Optional filter for indexed parameters
986
+ * @returns Unwatch function to stop listening
987
+ */
988
+ OwnershipTransferred: (callback: (event: {
989
+ previousOwner: `0x${string}`;
990
+ newOwner: `0x${string}`;
991
+ }) => void, filter?: {
992
+ previousOwner: `0x${string}`;
993
+ newOwner: `0x${string}`;
994
+ }) => () => void;
995
+ /**
996
+ * Watch Paused events
997
+ * @param callback Function to call when event is emitted
998
+ * @param filter Optional filter for indexed parameters
999
+ * @returns Unwatch function to stop listening
1000
+ */
1001
+ Paused: (callback: (event: {
1002
+ account: `0x${string}`;
1003
+ }) => void) => () => void;
1004
+ /**
1005
+ * Watch Transfer events
1006
+ * @param callback Function to call when event is emitted
1007
+ * @param filter Optional filter for indexed parameters
1008
+ * @returns Unwatch function to stop listening
1009
+ */
1010
+ Transfer: (callback: (event: {
1011
+ from: `0x${string}`;
1012
+ to: `0x${string}`;
1013
+ value: bigint;
1014
+ }) => void, filter?: {
1015
+ from: `0x${string}`;
1016
+ to: `0x${string}`;
1017
+ }) => () => void;
1018
+ /**
1019
+ * Watch Unpaused events
1020
+ * @param callback Function to call when event is emitted
1021
+ * @param filter Optional filter for indexed parameters
1022
+ * @returns Unwatch function to stop listening
1023
+ */
1024
+ Unpaused: (callback: (event: {
1025
+ account: `0x${string}`;
1026
+ }) => void) => () => void;
1027
+ };
1028
+ }